Commit Graph

338 Commits

Author SHA1 Message Date
Christian Kamm
59778cafd5 CPlusPlus: Fix several issues in the TypePrettyPrinter.
* Fix cv qualifiers being placed incorrectly.
* Fix nested pointer to array to pointer being printed incorrectly.
* Add autotest.

Task-number: QTCREATORBUG-1037
2010-04-19 09:55:35 +02:00
Kai Koehne
e7a9619c2f QmlDesigner: Bump version number from 4.6 to 4.7 in qml files
Reviewed-by: Thomas Hartmann
2010-04-13 15:15:15 +02:00
Kai Koehne
5650dbc55d Replace 'var' by 'variant' in all Qml files
45ca7aff2c04c in qt.git replaces 'var' with 'variant'

Reviewed-by: Thomas Hartmann
2010-04-13 15:15:15 +02:00
Kai Koehne
99cbb2f868 QmlDesigner: Cleaning up coretests
Removing tests that have been Skipped forever, and enabling others
again.
2010-04-13 15:15:15 +02:00
Kai Koehne
7796db0f08 QmlDesigner: Unify names of auto tests 2010-04-13 15:15:15 +02:00
Erik Verbruggen
e615cf82a5 Fixed regression when assigning an object binding to an array property. 2010-04-06 12:57:02 +02:00
Kai Koehne
746d73c328 QmlDesigner: Fix coretests for Mac OS X 2010-04-06 12:04:28 +02:00
Kai Koehne
639ae491c1 QmlDesigner: Store result of bauhaustests in $CREATORDIR/../bauhaustests 2010-04-06 10:51:19 +02:00
Kai Koehne
2cb9e2fff7 QmlDesigner: Add help script to run tst_bauhaus & store results in file 2010-04-05 22:18:58 +02:00
Kai Koehne
9095f77d71 Place tst_qmldesigner_core in local directory (again)
Also unify path handling somewhat
2010-04-01 12:11:25 +02:00
Thomas Hartmann
d445fcabdd QmlDesigner: fix plugin loading for auto tests 2010-03-31 18:49:06 +02:00
Marco Bubke
8faae5813d Fix test for parent to parentItem 2010-03-31 14:41:23 +02:00
Marco Bubke
65c2dfb7bc Fix rewriter test 2010-03-31 14:41:23 +02:00
Marco Bubke
b40bdf8a3d Change test from parent to parentItem 2010-03-31 12:59:05 +02:00
Thomas Hartmann
e37b101d22 QmlDesigner: new auto test TestCore::loadTestFiles 2010-03-31 11:05:27 +02:00
Kai Koehne
176115a0ad QmlDesigner: Fix compilation of core tests for non -nokia-developer builds
Use explicit DEFINE to enable additional API in node instances for testing,
not QT_BUILD_INTERNAL.
2010-03-31 10:54:39 +02:00
Kai Koehne
e45699d1f2 QmlDesigner: Fix compilation of core tests
Patch by Marco Bubke.
2010-03-30 14:41:55 +02:00
Marco Bubke
5d3e4bacc0 Improve performance of State property changes
This patch is eliminating the switch from the state the base state and back if a property is changed.
 For that it is updating the internal caching values in QDeclarativeState.

Reviewed-by: Thomas Hartmann
2010-03-30 14:41:53 +02:00
Thomas Hartmann
e499d7eb78 QmlDesigner.autoTests: added testMetaInfoEnums() 2010-03-30 12:01:29 +02:00
Thomas Hartmann
b5d66dca1b QmlDesigner: fixes autotest: testCopyModelRewriter1()
See: BAUHAUS-393
2010-03-29 16:49:53 +02:00
Erik Verbruggen
e934ae4a73 Fixed dynamic property default values. 2010-03-29 13:01:22 +02:00
Erik Verbruggen
6c1606a31b More testcase fixing. 2010-03-29 12:24:08 +02:00
Erik Verbruggen
94b519104d Fixed test case. 2010-03-29 11:47:47 +02:00
Kai Koehne
7bd7aaed75 QmlDesigner: Skip TestCore::testRewriterTransationRewriter
Task-number: QTCREATORBUG-964
2010-03-29 10:25:27 +02:00
Kai Koehne
5c28561368 QmlDesigner: Fix & extend test case for dynamic properties 2010-03-26 16:35:38 +01:00
Kai Koehne
3a15c8c3c5 QmlDesigner: Remove empty initTestCase/cleanupTestCase from bauhaustests 2010-03-25 14:21:19 +01:00
Kai Koehne
99524f65b3 QmlDesigner: Also try to load all .qml files in creator 2010-03-25 14:21:19 +01:00
Kai Koehne
ed1c6cb9ef QmlDesigner: Wait longer for creator to startup in bauhaus test
5 seconds is tight on slow platforms
2010-03-25 14:21:19 +01:00
Kai Koehne
05585c623e QmlDesigner: Beautify Bauhaus autotest
Use data based tests
2010-03-25 14:21:19 +01:00
Erik Verbruggen
66b87a1785 Changed certain error cases to throw exceptions, as the higher-levels expect. 2010-03-25 11:27:58 +01:00
Erik Verbruggen
a97e2f53d2 Fixed testcase. 2010-03-24 14:02:35 +01:00
Erik Verbruggen
a2cb7ceb72 More fixes to the autotests. 2010-03-24 12:23:42 +01:00
Erik Verbruggen
0cd098032c Fixed QmlJS interpreter metatype system initialization. 2010-03-24 11:09:00 +01:00
Kai Koehne
3984c057b8 QmlProject file format: Let filters recurse by default
E.g. "QmlFiles {}" now also monitors subdirectories by default, while
"QmlFiles { paths : ["bla.qml"] } does not.

Task-number: BAUHAUS-503
2010-03-22 10:21:18 +01:00
Kai Koehne
c722282cf3 QmlProjectManager: Rename 'libraryPaths' property to 'importPaths'
Suggested by Erik Verbruggen
2010-03-19 15:15:36 +01:00
Kai Koehne
90f9346ad3 QmlDesigner: Fix standalone test to use qtcreator 2010-03-18 14:57:37 +01:00
Kai Koehne
e72c892a52 QmlDesigner: Fix typo in autotest output 2010-03-18 14:57:37 +01:00
Kai Koehne
4ca5e42f06 QmlDesigner: Autotest cosmetics 2010-03-18 10:12:27 +01:00
Kai Koehne
434e51c6be QmlDesigner: Disable code referencing QGraphicsWidget from autotest
QGraphicsWidget has been moved to a qml runtime plugin.
2010-03-12 12:41:02 +01:00
Kai Koehne
884ba93bfc QmlProjectManager: Fix autotests 2010-03-12 12:41:02 +01:00
Kai Koehne
c19fe3d7e4 QmlDesigner: Fix autotest compilation 2010-03-12 12:41:02 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
Kai Koehne
f20c2095c4 Qml: MouseRegion got renamed to MouseArea
Reviewed-by: Christian Kamm
2010-03-05 10:47:53 +01:00
Kai Koehne
0abf659b36 Let bauhaus core tests compile again
The test case fixed was broken already before, so I couldn't
check whether the fix is actually correct.
2010-02-24 12:13:35 +01:00
Kai Koehne
dd632ee95d Remove qmleditor from list of qml autotests to be compiled
It's notoriously broken.

Reviewed-by: erikv
2010-02-24 12:13:34 +01:00
Erik Verbruggen
e609e9a701 Simplified ObjC selectors in the AST. 2010-02-23 17:43:52 +01:00
Kai Koehne
cf7f79483a Fix compilation of QmlDesigner PropertyEditor autotests 2010-02-22 16:37:38 +01:00
Kai Koehne
481d7cd6db QmlProject files: Make "paths" property an array
Instead of letting the list of files being a (comma separated) string
it's now a full JavaScript array. E.g.

  paths: ["file1", "file2"]

This unifies it with e.g. the libraryPaths property
2010-02-22 13:47:11 +01:00
Kai Koehne
43923748f6 Let Bauhaus testcore compile again
Also fixing bunch of failures, still some to go though ...
2010-02-18 12:41:32 +01:00
Erik Verbruggen
b2042b79a2 Added unittest for FindUsages in Q_PROPERTY declarations. 2010-02-17 16:01:41 +01:00