Eike Ziller
9b81dc17a4
Merge remote-tracking branch 'origin/2.4'
2011-10-10 15:29:31 +02:00
Christian Kamm
1b0dc76564
QmlJS checks: Add warning about 'eval'.
...
Migrated from QtChecker.
Change-Id: I4b3e8993c7b9f697497d2199b24bf49379dbc1b4
Reviewed-on: http://codereview.qt-project.org/5860
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com >
2011-10-10 14:40:10 +02:00
Christian Kamm
be9d25ec64
QmlJS checks: Warn when using some builtin constructors.
...
Number, String, Array, Object, Function and Boolean should not
be used.
Migrated from QtChecker.
Change-Id: I8aee41f12389196ed49c44e26eb04d3fac040a2b
Reviewed-on: http://codereview.qt-project.org/5859
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com >
2011-10-10 14:40:03 +02:00
Christian Kamm
c82d53d4ae
QmlJS checks: Add confusing +/- check.
...
Migrated from QtChecker.
Change-Id: I06115152f979f9abfa9cbdf4a3e2e63a51ea7284
Reviewed-on: http://codereview.qt-project.org/5858
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com >
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com >
2011-10-10 14:39:56 +02:00
Christian Kamm
55713a1514
QmlJS checks: Add severity and unique id to messages.
...
Change-Id: I2cded26524c3f64152107e65d740658e3003ffac
Reviewed-on: http://codereview.qt-project.org/5790
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com >
2011-10-10 14:39:20 +02:00
Robert Loehning
dbf48009cc
Squish: Don't add temporary files to git
...
Change-Id: Ia076166a867c1c1a9031ea6515143876f4a73d34
Reviewed-on: http://codereview.qt-project.org/6263
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Christian Stenger <christian.stenger@nokia.com >
2011-10-10 13:17:39 +02:00
Robert Loehning
cc1a2d15d1
Squish: Merged variations of createNewQtQuickApplication()
...
Change-Id: I5c2f88e18630922a34dbb52894ce6ef26697c28b
Reviewed-on: http://codereview.qt-project.org/6180
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Christian Stenger <christian.stenger@nokia.com >
2011-10-07 15:17:38 +02:00
Robert Loehning
368726d6f2
Squish: Moved contents of mainwin.py to other files
...
Change-Id: I998b1304dc9ad8832990da5e90ab426c38eb329e
Reviewed-on: http://codereview.qt-project.org/6182
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Christian Stenger <christian.stenger@nokia.com >
2011-10-07 13:24:45 +02:00
Christian Stenger
457bc75a85
Squish: Changed bad naming and property issue
...
Change-Id: I797820642f9f7041801930155dad2fc708e90ea0
Reviewed-on: http://codereview.qt-project.org/6177
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Robert Löhning <robert.loehning@nokia.com >
2011-10-06 19:55:40 +02:00
Robert Loehning
97207cf28c
Squish: Improved function checkCompile()
...
Change-Id: Ib1b0dada442dc58f1e56343cf4ae602650291fcf
Reviewed-on: http://codereview.qt-project.org/6167
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Christian Stenger <christian.stenger@nokia.com >
2011-10-06 17:43:20 +02:00
Christian Stenger
72419360ed
Squish: Fixed a bug with paths containing '.'
...
Change-Id: I97c9331dc1caa525b527a8d11992c39cdaa07296
Reviewed-on: http://codereview.qt-project.org/6168
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Robert Löhning <robert.loehning@nokia.com >
2011-10-06 17:08:00 +02:00
Christian Stenger
8a857ecc29
Squish: Updated existing tests to run on Mac
...
Change-Id: Id4c3bd97f806e502fe64ca9bd4864938d918dc73
Reviewed-on: http://codereview.qt-project.org/6156
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Robert Löhning <robert.loehning@nokia.com >
2011-10-06 15:07:17 +02:00
Robert Loehning
dc5e5765d9
Squish: Button was renamed to "Issues"
...
(cherry picked from commit 2e968aa998 )
Change-Id: Ib0ce148edc46a663622d9437da3b7b977baad716
Reviewed-on: http://codereview.qt-project.org/6153
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Christian Stenger <christian.stenger@nokia.com >
2011-10-06 14:13:50 +02:00
Robert Loehning
61714ec4c9
Squish: Added test suite for debugger related tests
...
Change-Id: I11c114787cc3c2721147d55c86f87aaf31daec9e
Reviewed-on: http://codereview.qt-project.org/5644
Reviewed-by: Christian Stenger <christian.stenger@nokia.com >
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
2011-10-05 13:54:09 +02:00
Christian Kamm
71b2cbef9a
CDB breakpoints: Fix line adjustment in case statements.
...
Task-number: QTCREATORBUG-6207
Change-Id: I4df50a412dd960a0d53a824a6c4a93712bd743e8
Reviewed-on: http://codereview.qt-project.org/5964
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com >
2011-10-04 09:35:45 +02:00
Robert Loehning
860900aa99
Squish: Added wildcard for Next-button in cmake wizard
...
Change-Id: I3a31e744699ffdc0ff1e099faa0e32c33b54de68
Reviewed-on: http://codereview.qt-project.org/5750
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Christian Stenger <christian.stenger@nokia.com >
2011-09-29 16:43:39 +02:00
Robert Loehning
1a07c183d9
Squish: Do not hook into subprocesses
...
With hooking, qmake is not being executed correctly on Linux.
Change-Id: I4dfd633485256bc351f55263c563987aa5a503a3
Reviewed-on: http://codereview.qt-project.org/5751
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Christian Stenger <christian.stenger@nokia.com >
2011-09-29 12:45:23 +02:00
Robert Loehning
c3a294a1b0
Squish: Added constant defaultQtVersion
...
Change-Id: I72bf98000af9a46c8773d01233ba9e6006f527e6
Reviewed-on: http://codereview.qt-project.org/5643
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Bill King <bill.king@nokia.com >
Reviewed-by: Christian Stenger <christian.stenger@nokia.com >
2011-09-28 16:21:11 +02:00
Christian Stenger
92e4bec731
Squish: Remove also versioned .user files
...
Change-Id: Icf4325930f5e1bd908fef9cbd87658b4cc8fc110
Reviewed-on: http://codereview.qt-project.org/5601
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Robert Löhning <robert.loehning@nokia.com >
Reviewed-by: Bill King <bill.king@nokia.com >
2011-09-27 14:03:06 +02:00
Christian Stenger
49a5f8be1a
Squish: Some smaller refactorings
...
Change-Id: I5f8b5ec982e8a38d32ba15d81317c2308dc00106
Reviewed-on: http://codereview.qt-project.org/5544
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Bill King <bill.king@nokia.com >
Reviewed-by: Robert Löhning <robert.loehning@nokia.com >
2011-09-27 11:18:33 +02:00
Robert Loehning
692806bb8f
Squish: Starting test cases only if needed files are present
...
Change-Id: I41a73ce1a4f0d0578cf59af5c69fc19f9ec11dd9
Reviewed-on: http://codereview.qt-project.org/5555
Reviewed-by: Bill King <bill.king@nokia.com >
Reviewed-by: Christian Stenger <christian.stenger@nokia.com >
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
2011-09-27 11:15:29 +02:00
Robert Loehning
5daf6705ac
Squish: Using native directory separators on Windows
...
Change-Id: I8ecf6a8798526b9d9dd0909b9c7e4f61d00d530e
Reviewed-on: http://codereview.qt-project.org/5552
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Christian Stenger <christian.stenger@nokia.com >
2011-09-26 17:08:58 +02:00
Christian Stenger
6271661390
Improved testing of id renaming.
...
Change-Id: If1312fdbd9f8c934b8412289ede457032131fc42
Reviewed-on: http://codereview.qt-project.org/5533
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Robert Löhning <robert.loehning@nokia.com >
2011-09-26 13:50:23 +02:00
Robert Loehning
08dfd0d08a
Squish: Improved path constants
...
Renamed the old constant SDKPath to srcPath because this is where sources are.
Added new constant sdkPath for the root directory of the Qt SDK installation.
Change-Id: I1b1f346554f58629a9d1882f90250f21708e4d22
Reviewed-on: http://codereview.qt-project.org/5474
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Christian Stenger <christian.stenger@nokia.com >
2011-09-26 12:22:07 +02:00
con
9d8eb1f972
Fix extensionsystem auto test on windows.
...
Task-number: QTCREATORBUG-6006
Change-Id: I9e7caa83feba56561760b627b44de880bad6cab1
Reviewed-on: http://codereview.qt-project.org/5459
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Bill King <bill.king@nokia.com >
2011-09-23 16:27:25 +02:00
Christian Stenger
11f7dbda77
Added new qml test and continue refactoring
...
Refactoring of all helper functions to make it easier to
recognize them as such. All helper functions in global
shared scripts now follow the scheme __NAME__
Helper functions normally should not get called from outside.
Change-Id: I0d02028d3f9de1ad251af9226c0460655bd9c9bd
Reviewed-on: http://codereview.qt-project.org/5331
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Bill King <bill.king@nokia.com >
2011-09-22 16:31:34 +02:00
Bill King
b9772e5c81
Update versions to be more inline with latest SDK install.
...
Change-Id: I646d68208b0706664a3ffeb9c4f51547af9cc782
Reviewed-on: http://codereview.qt-project.org/5300
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Christian Stenger <christian.stenger@nokia.com >
2011-09-21 15:36:29 +02:00
Bill King
106473c4b5
Cleanup to use new waitForSignal function.
...
Change-Id: Id47c81fc3c2d4448f26dd2432b73286501be1e26
Reviewed-on: http://codereview.qt-project.org/5297
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Christian Stenger <christian.stenger@nokia.com >
2011-09-21 14:01:41 +02:00
Bill King
226a11db6f
More sensible options (with fallback)
...
Change-Id: I32afb2ed7e690d3dfc9b2ba47d2007d03d29d2cb
Reviewed-on: http://codereview.qt-project.org/5299
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Christian Stenger <christian.stenger@nokia.com >
2011-09-21 13:45:09 +02:00
Bill King
c42351beda
Shift temp dir into more findable location.
...
Change-Id: Idbf29e79d4a3dc7c4083a5b7cba78489db46366b
Reviewed-on: http://codereview.qt-project.org/5298
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Christian Stenger <christian.stenger@nokia.com >
2011-09-21 13:44:41 +02:00
hjk
93d77eef10
debugger: manual test, add QT += core-private for Qt 5
...
Change-Id: I938f926ed78c33c1feb74bcd2f6c850b31241e46
Reviewed-on: http://codereview.qt-project.org/5301
Reviewed-by: hjk <qthjk@ovi.com >
2011-09-21 11:43:15 +02:00
Alessandro Portale
768c4ef082
Consistent names for AbstractGeneratedFileInfo::FileType keys
...
Change-Id: I619873dac7fe67209f9cc2128945cda080e2e6a0
Reviewed-on: http://codereview.qt-project.org/4828
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Marco Bubke <marco.bubke@nokia.com >
2011-09-20 17:56:30 +02:00
hjk
483dfb0898
debugger: handle Qt version 5.0.0 in manual tests
...
Change-Id: I4027fb9723e7f3c33edc1b90b0e68c0e96ed92c3
Reviewed-on: http://codereview.qt-project.org/5237
Reviewed-by: hjk <qthjk@ovi.com >
2011-09-20 13:56:06 +02:00
Christian Kamm
a225f7a0af
QmlJS checks: Add tests and fix small bugs for 'unreachable'.
...
Change-Id: Iaf9febc841130fa913fcc071ed0bf28ff9e0b63b
Reviewed-on: http://codereview.qt-project.org/5149
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com >
2011-09-20 13:21:03 +02:00
hjk
4759d8cef4
debugger: fix a wrong sanity check in the dumpers
...
Change-Id: Ie2dce425cf1204f22bb752bd400bc98211b45a63
Reviewed-on: http://codereview.qt-project.org/5126
Reviewed-by: hjk <qthjk@ovi.com >
2011-09-19 11:39:24 +02:00
hjk
cda5af893b
debugger: show at least "elide" markers for thread ids
...
Task-number: QTCREATORBUG-6110
Change-Id: I439fc6463c42fce134646c620ac19a5c533217fe
Reviewed-on: http://codereview.qt-project.org/5123
Reviewed-by: hjk <qthjk@ovi.com >
2011-09-19 11:24:24 +02:00
hjk
54f7489ea1
debugger: add manual test for QVariantMap
...
Change-Id: I32341ddc529cc20f5c7d1f907d88a05f5e062cb0
Reviewed-on: http://codereview.qt-project.org/5072
Reviewed-by: hjk <qthjk@ovi.com >
2011-09-16 11:06:03 +02:00
hjk
26f163570b
debugger: work on manual test
...
Change-Id: I6a803c770e8adf27fb7f6227d0d71c20ed0dffcf
Reviewed-on: http://codereview.qt-project.org/4985
Reviewed-by: hjk <qthjk@ovi.com >
2011-09-15 13:34:23 +02:00
Christian Kamm
c0c9312495
QmlJS tests: Fix compile of 'check' test.
...
Change-Id: I6cccb55d4c49eb6cf77ac4d1378d3d7adac95a32
Reviewed-on: http://codereview.qt-project.org/4881
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-09-14 11:35:50 +02:00
Christian Kamm
57ab1cb249
QmlJS checks: Add tests.
...
Change-Id: I37852b7b4f1720c276fc3aea3b1892613028ec48
Reviewed-on: http://codereview.qt-project.org/4658
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-09-14 11:15:25 +02:00
Christian Kamm
367e27cde7
QmlJS checks: Correct the check for dangerous == and add tests.
...
Change-Id: Ie0f4062069bf241020868af34ce6d36146b4b0c7
Reviewed-on: http://codereview.qt-project.org/4646
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-09-14 11:13:59 +02:00
Christian Kamm
97ad582c28
QmlJS: Add infrastructure for tests of QML static checker.
...
Change-Id: Idf49bc0c29ad82456a5fe65e2acced6a4fb130fc
Reviewed-on: http://codereview.qt-project.org/4552
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-09-14 11:13:51 +02:00
Christian Kamm
f51efea40f
QmlJS tests: Make basic test pass again.
...
Change-Id: Iff7d36e7c7908b267fc02cd46e3f2a173ef5c7b9
Reviewed-on: http://codereview.qt-project.org/4547
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-09-14 11:03:46 +02:00
Christian Kamm
16b4a6fe73
QmlJS indenter: Fix labelled statements and break/continue with label.
...
Also do some cleanup to make handling of substatements nicer.
Change-Id: I78773fc81d9b0058fa97c5cef393cca34b7fd885
Reviewed-on: http://codereview.qt-project.org/4413
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-09-14 11:02:45 +02:00
Christian Stenger
c36e017d40
Added indentation test for Qml
...
Change-Id: I15751d93dccba232455e6e85c4ac0c30c74be3af
Reviewed-on: http://codereview.qt-project.org/4650
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Bill King <bill.king@nokia.com >
2011-09-12 12:44:59 +02:00
Christian Kamm
151475a0fe
C++: Fix function return type printing.
...
We used to print T * foo(), but our style suggests T *foo().
Change-Id: Ie3b0ce6b620785ec98aeb394f7955ce959440619
Reviewed-on: http://codereview.qt-project.org/4634
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com >
2011-09-12 11:16:39 +02:00
Bill King
509eb894dd
New waitForSignal function
...
...and real life test case.
Change-Id: Id22f4a7bf444e319651b54e1a3a230040b982e30
Reviewed-on: http://codereview.qt-project.org/4548
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Christian Stenger <christian.stenger@nokia.com >
2011-09-12 10:35:26 +02:00
Bill King
690ed9f7ec
More wait-for-project-refresh
...
Change-Id: Ic08c7e66edbcf300d6643ea0139cf9eea1720e31
Reviewed-on: http://codereview.qt-project.org/4519
Reviewed-by: Christian Stenger <christian.stenger@nokia.com >
2011-09-09 14:51:51 +02:00
Bill King
81689c9f56
Speed up this testcase
...
While qt is large, it also takes a fair amount of time to process.
This should still be a sufficient testcase for basic project opening.
Change-Id: I319d009d22ad1607926d2cd751953a6268266f35
Reviewed-on: http://codereview.qt-project.org/4523
Reviewed-by: Christian Stenger <christian.stenger@nokia.com >
2011-09-09 14:20:26 +02:00
Bill King
29838517ce
Wait for project refresh before building.
...
Change-Id: Ia5bbeec726168ecd0264ff351dd0eab9b9af31d2
Reviewed-on: http://codereview.qt-project.org/4512
Reviewed-by: Christian Stenger <christian.stenger@nokia.com >
2011-09-09 11:11:14 +02:00