Commit Graph

7732 Commits

Author SHA1 Message Date
hjk
c937161c5e debugger: remove accidental enabling of endless loop test in manual test
This reverts part of b439999.

Change-Id: I7d9696188a4f1a59b64817b08edd70047633c461
Reviewed-by: hjk <qthjk@ovi.com>
2012-04-17 16:14:23 +02:00
hjk
b439999f1d debugger: try quicker start when no breakpoints are set
This prevents initial reading of debug information when no
breakpoints are set. The debug information will be read on
first stop instead, e.g. when the user interrupts.

Change-Id: I6156347bf108e9ed89f54ca67021f37c02fa5116
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
2012-04-17 12:35:24 +02:00
hjk
b79f13df6a fakevim: make sure pending input is only processed once
Change-Id: I0c6141eff49413f66cfee9a1f117279cdfcd4f36
Reviewed-by: hjk <qthjk@ovi.com>
2012-04-17 11:20:37 +02:00
hjk
37e3853090 preprocessor tests: compile fix
Change-Id: Iab9fb8ecbad94e08d39b6fad60caaf98a85d5980
Reviewed-by: hjk <qthjk@ovi.com>
2012-04-17 09:40:34 +02:00
Christian Stenger
13b8e587a6 Squish: New helper functions for debug test
Change-Id: I606bc1c98d807548a481a69f8bdc25577a0e54d8
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-04-17 09:22:22 +02:00
Oswald Buddenhagen
6b8167c663 Merge remote-tracking branch 'origin/2.5' 2012-04-16 10:03:48 +02:00
Daniel Teske
53553165ba Debugger simple test: Clarify description of multiple breakpoints
Change-Id: I470d326bd872f2904893c8b7eb17a0a9c88f1e0e
Reviewed-by: hjk <qthjk@ovi.com>
2012-04-15 20:36:10 +02:00
Daniel Teske
9589e8dd7c Debugger simple test case: Move BREAK_HERE
The manual tests can't be followed otherwise

Change-Id: I09f0b99a63bd5189dcd0dc74c53e310d78f0b083
Reviewed-by: hjk <qthjk@ovi.com>
2012-04-15 20:34:06 +02:00
Daniel Teske
766d19aba9 Fix Debugger simple test testStdVector4
Change-Id: I5ce7cb163bcb70171f6c6e7ae2b06b4522dd7a13
Reviewed-by: hjk <qthjk@ovi.com>
2012-04-15 20:31:49 +02:00
Daniel Teske
aa1d7b25e1 Debugger simple test case testQDateTime
Make the changes in the L&W more apparent and also add a comment to step

Change-Id: I17fca560558fc266f8030c52f87fc81661f9fd02
Reviewed-by: hjk <qthjk@ovi.com>
2012-04-13 14:57:27 +02:00
Daniel Teske
49ab5e51fd Fix debugger simple test case test13393
Change-Id: I51e1576febed91e9c8c4c264f76094c152627032
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
Reviewed-by: hjk <qthjk@ovi.com>
2012-04-13 14:56:26 +02:00
Jan Kerekes
9d263a1b34 Added new test cases/suite for c support
initial commit

Change-Id: I8eb36efa0e7e577597708d97a2efe52c07801f02
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-04-13 11:10:58 +02:00
Robert Loehning
5f1e7642ed debugger: Removed redundant checks in self-test
Change-Id: Iee8cfe736ff84eb9bcf82b1f1cda01eec38f19c2
Reviewed-by: hjk <qthjk@ovi.com>
2012-04-12 14:03:10 +02:00
Joerg Bornemann
96a7fbe3ae qbs files: use Qt5 module dependencies
Renamed gui -> widgets.
Renamed declarative -> quick1.

With qbs the usage of qt.widgets and qt.quick1 with Qt4 is supported.

Change-Id: I6cadaf34527f1f880d74ced7d2d18dd9801b7de1
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
2012-04-10 18:02:39 +02:00
Christian Stenger
146b1672d2 Squish: Handle None in __cropAndLog__()
Change-Id: Ie2bbcfde7684f0d25ed8ff7e7da2897a9f1a0873
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-04-10 14:58:18 +02:00
Christian Stenger
88eec5ae47 Squish: Use sorted filenames also for Console
Change-Id: I8ac973e772b3d1856e5307319c75fb4d150cf818
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-04-10 13:54:43 +02:00
Christian Stenger
c4e5dcb770 Squish: Change temporarily(?) to Console
Change-Id: Ib31780a5cc4a159afb4f3eeef4165d30f09e2ba7
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-04-05 20:13:00 +02:00
Christian Stenger
fb85d0a0f2 Squish: Handle Update Generated Files on Mac
Change-Id: I390ba57266ab983335a5d76d38a025b4306c5b74
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-04-05 20:05:54 +02:00
Christian Stenger
158dfffe7d Squish: Add try/except to continue anyway
Change-Id: I24a51142988841da3aa156f6a5e6e239a6bd1914
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-04-05 19:51:59 +02:00
Eike Ziller
9ec6e9f7e0 Merge remote-tracking branch 'origin/2.5' 2012-04-05 18:24:26 +02:00
Robert Loehning
f521c9f062 Squish: Always use the same function for preparing templates
Change-Id: I90dac33dde4c0c3d39c8e8038371dfbb3403dce3
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-04-05 17:22:06 +02:00
Eike Ziller
c814538d95 Merge remote-tracking branch 'origin/2.5' 2012-04-04 16:20:10 +02:00
Robert Loehning
791a196f1d Squish: Always using menu to close Creator
Change-Id: I9f8019a23ad96baa865c74721fb8712d612adb81
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-04-04 13:14:43 +02:00
Jan Kerekes
2ece74469c Added new test cases/suite for complex project compilation
initial commit

Change-Id: Iefa2e05b4dcd70d599bbf4c7de1ae230cd8f0450
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-04-04 10:28:23 +02:00
Eike Ziller
078d570721 Merge remote-tracking branch 'origin/2.5'
Conflicts:
	share/share.qbs

Change-Id: Ia64573d1a69b9063fee32496a3f0a00926a3dadd
2012-04-03 10:03:52 +02:00
Orgad Shaneh
8d5d1f2f66 Dumper test: Add member to Derived
Change-Id: I324d31f9bfe98689136bb9e9ed40dfe46fa9ca81
Reviewed-by: hjk <qthjk@ovi.com>
2012-04-03 09:25:14 +02:00
Christian Stenger
a96cbcf335 Squish: Small fixes for utils.py
* invokeMenuItem(): changed order and additional
  waitFor to be more error-proof on Mac
* logApplicationOutput(): added try/except block
  for cases where no former run/debug could be found

Change-Id: I0d434fbb964e3d85e5ccb2a4c336e14e956f44ce
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-04-02 18:10:46 +02:00
Francois Ferrand
68471c2100 Preprocessor: fix macro definition line.
The line corresponding to the macro definition is simply the token's
line. This caused errors in the macro definitions, since there were
multiple macros defined on the same line of the same file.

Task-number: QTCREATORBUG-7217
Change-Id: I56d17eeba677ac51f9eed283c0e964019bdfe4b7
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2012-04-02 17:01:52 +02:00
Jan Kerekes
5254e3e547 Added new test cases/suite for simple project compilation
initial commit

Change-Id: I06d211ba9878852839cd4774b930efd8cde244ae
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-04-02 15:38:21 +02:00
Christian Stenger
7e4e06796e Squish: Small fixes for runAndCloseApp()
Change-Id: I74136202c2d5e482a18a56ea2c0ba11d9d958574
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-04-02 15:30:03 +02:00
Francois Ferrand
1a10bcdaad Add test case to preprocessor.
- This enables some tests which had been unexpectedly disabled in
earlier test.
- Tests to show issue QTCREATORBUG-7225.
- Tests which validates somehow behavior of preprocessor for
QTCREATORBUG-7217: the test passes, so the problem is likely not in the
startExpandingMacro() notification.

Change-Id: Ib7c1433e4dcdd8c1d19fa117371f94c1645ec3fb
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2012-04-02 15:16:25 +02:00
Francois Ferrand
332072019a Preprocessor: Fix client notification.
- Notify end of macro if function expansion is skipped.
- Do not notify client of generated macros expansion.

Change-Id: Ic027fc13ee391425a5ebadc8e84b9305912dbcf0
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2012-04-02 13:49:00 +02:00
Christian Kandeler
62280a219b SSH: Update tests.
- Adapt to recent API change.
- Take into account that some shells don't report the "killed" signal.
- Take into account that cat and sleep are built-ins in some shells.

Change-Id: Ib33d89c65641340d704f88114834085b4c9b0e8b
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2012-03-31 11:43:19 +02:00
Christian Stenger
f3fd47f601 Squish: Introduce new helper function
Change-Id: I6ef3022e7053c1e4993cc4276ccd2502de196754
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-03-30 18:20:04 +02:00
Robert Loehning
042dae0e5e Squish: Waiting for enabled button
Change-Id: If06bb6360c7837e773e2eb0b6be8143e588b771e
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-03-30 14:55:03 +02:00
Erik Verbruggen
ff0a465403 [C++] Always output a #line as first line of the pp output.
Change-Id: I60d25109ae8fe3628b1899078a21010263787c33
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2012-03-30 13:24:36 +02:00
Erik Verbruggen
2a74097b54 Fix #include MACRO_NAME.
Change-Id: Id1c4046d028ad26d17b28feb53a832f3b48363f1
Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com>
2012-03-29 17:17:00 +02:00
Erik Verbruggen
60db573660 [C++] Rewrite of the preprocessor.
This rewrite fixes a couple of issues with the pre-processor. It now
supports:
- macros in macro bodies
- stringification of parameters [cpp.stringize]
- the concatenation operator [cpp.concat]
- #include MACRO_HERE
- defined() inside macro bodies used in pp-conditions.

Change-Id: Ifdb78041fb6afadf44f939a4bd66ce2832b8601f
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2012-03-29 14:28:17 +02:00
Eike Ziller
8f6d915948 Merge remote-tracking branch 'origin/2.5' 2012-03-28 16:31:29 +02:00
Christian Stenger
857261f99d Squish: Improve openQmakeProject()
Change-Id: I847604f81d1bdb10a56360af3d0969e451b3344c
Reviewed-by: Bill King <bill.king@nokia.com>
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-03-28 15:27:38 +02:00
Erik Verbruggen
275e207d26 Fix invalid decltype error recovery which resulted in crashes.
Task-number: QTCREATORBUG-7174

Change-Id: I653db71adc45586cd8518ffd96118425fd3763be
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2012-03-28 13:41:48 +02:00
hjk
66cf82a457 debugger: add test code for multi-process debugging
Change-Id: I10a419a5dc538d4d42bab7f3f2070430db388eed
Reviewed-by: hjk <qthjk@ovi.com>
2012-03-28 09:32:00 +02:00
Robert Loehning
f3bb330ea0 Squish: Further improvement of switchViewTo()
Change-Id: I25f857f05120882427a8ba7569a4c1b66c474f5e
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-03-27 16:28:19 +02:00
Christian Stenger
5ce804b53b Squish: Add Qt4.8 to qtversions.xml
This is just a preparation for the next patch.

Change-Id: Icac8584029b4119ebbc70f2cb5766768a61e21a8
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
2012-03-27 14:04:34 +02:00
Robert Loehning
ae070f3277 Squish: Fixed issues in switchViewTo()
Change-Id: I693ad1bf30c8644f07bd4188178cb96d374a3ea1
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-03-26 18:37:37 +02:00
Oswald Buddenhagen
51988bb5e0 Merge remote-tracking branch 'origin/2.5' 2012-03-23 17:50:29 +01:00
Christian Stenger
cd4ce50a3b Squish: Fix changed values
These values have changed (see src/plugins/projectexplorer/taskmodel.h)

Change-Id: I7b351cfae2bceca782ea022b855d86926e942d53
Reviewed-by: Bill King <bill.king@nokia.com>
2012-03-23 16:53:10 +01:00
Oswald Buddenhagen
dbcaadd8af Merge remote-tracking branch 'origin/2.5'
Conflicts:
	src/plugins/debugger/qml/qmlengine.cpp
	src/plugins/qtsupport/gettingstartedwelcomepage.cpp

Change-Id: I9157b9b9c05564ddeb3c72cec6b59523b8165d76
2012-03-22 15:09:50 +01:00
Robert Loehning
39cb4e954d debugger: Removed unneeded failing test
Change-Id: I330d43bfdbba5304bf559e136aa1bc07b5498c4a
Reviewed-by: hjk <qthjk@ovi.com>
2012-03-21 18:08:13 +01:00
Robert Loehning
9bdb8955e1 debugger: Updated self-test
Change-Id: I065de900e79ee4a73f3056ed764391ef45adde19
Reviewed-by: hjk <qthjk@ovi.com>
2012-03-21 10:19:28 +01:00