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
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
Kai Koehne
b5646d35da
Don't show error message if file added to qmlproject is picked up
...
Check for the case that a new file to be added to a .qmlproject
is also automatically covered e.g. by a wildcard filter. In this
case we don't have to do anything.
2010-02-17 11:22:37 +01:00
Marco Bubke
f6a06085e0
Change changeNodeType in changeRootNodeType
2010-02-10 13:03:03 +01:00
Bea Lam
e8ec38c1a4
Fix ids that start with uppercase letters that were missed
...
previously.
2010-02-05 15:42:31 +10:00
Marco Bubke
14a5e068dd
Change addChildNode form a methode to a function.
2010-02-04 17:34:54 +01:00
Kai Koehne
8577347446
Add libraryPaths array to Project element (.qmlproject format)
...
Will be passed to qmlviewer with the "-L" option. Storing this in
the .qmlproject file format itself (and not in the .user file) is useful
in case the libraries are relative/part of the checkout that is shared
between users/computers.
2010-02-03 09:13:53 +01:00
Oswald Buddenhagen
75b42f18d8
Merge remote branch 'origin/1.3'
...
Trailing whitespace removal re-applied manually.
2010-01-29 22:50:23 +01:00
Kai Koehne
bafe4468aa
Add support for JavaScriptFiles and ImageFiles elements to .qmlproject
2010-01-29 12:15:47 +01:00
Kai Koehne
269506c99c
Add new JavaScriptFiles & ImageFiles element to .qmlproject file format
2010-01-29 12:15:47 +01:00
Kai Koehne
10dc30fa13
Add support for 'paths' property in QmlFiles element
2010-01-29 12:13:12 +01:00
Kai Koehne
fc4d82d29d
Extend test case to include "." as directory
2010-01-29 12:13:12 +01:00
Kai Koehne
2181a93a1b
Let QmlProjectItem return always absolute paths
...
We're converting the path to absolute ones in QmlProject anyway ...
2010-01-29 12:13:11 +01:00
Kai Koehne
47155f8518
New qml based .qmproject file format
2010-01-29 12:13:11 +01:00
Erik Verbruggen
cf35a0249b
Implemented the binding phase for QML.
...
Done-with: Christian Kamm
2010-01-26 15:20:18 +01:00
Thomas Hartmann
a67718cc40
QmlDesigner.tests: Adding test for RewritingException
2010-01-20 13:14:46 +01:00
Roberto Raggi
c943d8e4f1
Renamed classes and files to use the QmlJS prefix.
2010-01-18 16:59:20 +01:00
Erik Verbruggen
e86f2e6041
Fixed tests and tools to use the qmljs dll/so.
2010-01-18 14:12:44 +01:00
Erik Verbruggen
96e31c2a0f
Started merging the JS and QML editor plug-ins.
2010-01-15 17:20:19 +01:00