Commit Graph

546 Commits

Author SHA1 Message Date
Erik Verbruggen
c33b55537d Extended operator precedence parsing.
It now includes comma expressions, conditionals and assignment
expressions.
2010-02-02 12:34:57 +01:00
Erik Verbruggen
0cf0becb2e Added AST building for __attribute__ constructs. 2010-02-02 12:03:37 +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
Oswald Buddenhagen
a6ca348636 remove trailing whitespace
doing it in 1.3 as well to avoid possible later conflicts
2010-01-29 21:33:57 +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
Wolfgang Beck
e7bf61cfb4 Add new unit test to check the icheck build. 2010-01-29 15:06:03 +10:00
Erik Verbruggen
3dd011fcb6 Changed binary expression parsing to use precedence parsing. 2010-01-28 15:22:50 +01:00
Erik Verbruggen
cf35a0249b Implemented the binding phase for QML.
Done-with: Christian Kamm
2010-01-26 15:20:18 +01:00
Oswald Buddenhagen
567d7ed397 add minimal test program for profileevaluator 2010-01-25 16:53:56 +01:00
Oswald Buddenhagen
6c7b2d1c87 actually edit pro files instead of rewriting them from the "AST"
that way the file formatting is better preserved.
2010-01-25 16:53:56 +01:00
Oswald Buddenhagen
aaf296ca21 remove forgotten proxmlreader test 2010-01-25 16:53:55 +01:00
Friedemann Kleint
d348e5099b Debugger/CDB: Split engine for testing/scripting purposes. 2010-01-22 17:15:33 +01:00
Martin Aumüller
4ef6f9fe01 fakevim: auto test deleting in visual mode
Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:31 +01:00
Martin Aumüller
de89f7d599 fakevim: fix test for 'r' and enable previously failing tests
Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:30 +01:00
Martin Aumüller
978fa5d03d fakevim: fix 'dw' at line-end
Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:30 +01:00
Martin Aumüller
2df1def883 fakevim: enable auto test which does not fail anymore
Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:30 +01:00
Martin Aumüller
2ce3483ba3 fakevim: enable additional tests for 'cj'
Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:29 +01:00
Martin Aumüller
acdc3a0d9e fakevim: adapted tests for new cursor position
mostly cursor positions have been changed

Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:29 +01:00
Martin Aumüller
eb413cad00 fakevim: auto test for 'x'
Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:29 +01:00
Martin Aumüller
0413724e5f fakevim: auto test for 'J' was wrong
Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:29 +01:00
Martin Aumüller
a4f3ade01a fakevim: auto test for 'ck' - enable one additional check which does not fail anymore
Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:27 +01:00
Martin Aumüller
de0f5ba023 fakevim: auto test for 'cj' was wrong
undoing still does not work correctly: cursor position is not correctly restored

Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:27 +01:00
Martin Aumüller
aeac605000 fakevim: some auto tests involving 'w' don't fail anymore
Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:26 +01:00
Martin Aumüller
9e73236a0e fakevim: auto test for 'w' did not take empty lines into account
Merge-request: 99
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-21 17:38:26 +01:00
hjk
4030706c04 debugger: add a manual test for namespace aliases 2010-01-21 17:19:07 +01:00
Friedemann Kleint
713be02ab7 S60: Handle TrkNotifyStopped (crash) when running.
Extract error message string from Trk, print proper message
when application crashes in run mode and terminate launcher.
Use same message in Debugger for consistency.
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>Reviewed-by: John Doe

Conflicts:

	src/plugins/qt4projectmanager/qt-s60/s60devicerunconfiguration.cpp
2010-01-21 15:51:33 +01:00
Friedemann Kleint
c516f350b2 S60: Handle TrkNotifyStopped (crash) when running.
Extract error message string from Trk, print proper message
when application crashes in run mode and terminate launcher.
Use same message in Debugger for consistency.
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>Reviewed-by: John Doe
2010-01-21 15:46:33 +01:00
Friedemann Kleint
7d24517097 Revert "S60: Handle TrkNotifyStopped (crash) when running."
This reverts commit 607e545218.
2010-01-21 15:43:47 +01:00
Friedemann Kleint
607e545218 S60: Handle TrkNotifyStopped (crash) when running.
Extract error message string from Trk, print proper message
when application crashes in run mode and terminate launcher.
Use same message in Debugger for consistency.
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
2010-01-21 15:27:05 +01:00
Friedemann Kleint
1044af5f82 S60: Support command line arguments when running on devices.
Add command line arguments to trklauncher. Add input field
to S60DeviceRunConfiguration and pass on to RunControl and debugger.
2010-01-21 12:36:39 +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
Kai Koehne
d3ed242d24 Compile qml autotests only if QtDeclarative module is available 2010-01-18 11:02:10 +01:00
Erik Verbruggen
96e31c2a0f Started merging the JS and QML editor plug-ins. 2010-01-15 17:20:19 +01:00
Erik Verbruggen
8e11f81d96 Gotten rid of dulplicate files, and fixed includes. 2010-01-15 13:39:54 +01:00
Christian Kamm
cbaa9b9fc0 Add lookup for members of builtin types to QmlLookupContext. 2010-01-15 12:23:33 +01:00
Kai Koehne
33ec15b9ab Prevent symbol clashes for qml classes
Fix namespace usage such that all classes in shared/qml live in the
Qml namespace, and classes in QmlDesigner plugin in the QmlDesigner
namespace.

This should prevent any symbol clashes until we can finally get rid
of the file dublicates (e.g. QmlDocument).
2010-01-14 16:32:22 +01:00
Christian Kamm
f82d95f413 Build correct scopes for the lookup test. 2010-01-13 15:40:17 +01:00
Christian Kamm
5e9af2b3e0 Take builtin properties into account for QML lookup tests. 2010-01-13 15:12:34 +01:00
Kai Koehne
85ab6eee45 Add autotest for ModelNode::isAncestorOf 2010-01-12 15:28:36 +01:00
Christian Kamm
06fb416ea7 Add local lookup tests for QmlLookupContext. 2010-01-12 15:01:17 +01:00
Kai Koehne
45f8895e93 Change signature of AbstractView::nodeSlidedToIndex in QmlDesigner
The usage of 'int newIndex' was ambiguous in the case of
oldIndex < newIndex. Solved by directly passing the ModelNode that was
moved around.

'nodeSlidedToIndex' was also renamed to 'nodeOrderChanged', since
'Slided' is no proper English.
2010-01-12 13:59:35 +01:00
Robert Loehning
830b563ceb Added library name for Q_OS_SYMBIAN. 2010-01-11 15:50:58 +01:00
Erik Verbruggen
518bdd3b5e Fixed testcase: setting an empty ID should remove the ID. 2010-01-11 14:35:47 +01:00