Commit Graph

295 Commits

Author SHA1 Message Date
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
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
Erik Verbruggen
a0071f1ce9 Revert "Added Objective-C @try block parsing."
This reverts commit f4163b8ba0.
2010-02-15 12:24:31 +01:00
Erik Verbruggen
f4163b8ba0 Added Objective-C @try block parsing. 2010-02-15 09:27:01 +01:00
Erik Verbruggen
6162279630 Added test for selector names. 2010-02-11 10:02:01 +01:00
Erik Verbruggen
ee16a1e885 Added testcase for find usages of inline method parameters. 2010-02-11 10:02:00 +01:00
Erik Verbruggen
d7994a886f Added tests for FindUsages in Objective-C code. 2010-02-11 10:02:00 +01:00
Marco Bubke
f6a06085e0 Change changeNodeType in changeRootNodeType 2010-02-10 13:03:03 +01:00
Erik Verbruggen
9806b1e165 Fixed pre-precessor bug.
When a PP line ended with a \ (join line) and the next line was empty
(ending th joining), the following token would be incorrectly marked as
joined.

Done-with: Roberto Raggi
2010-02-10 11:07:18 +01:00
Erik Verbruggen
21488e8898 Added semantic checks for Q_ENUMS. 2010-02-07 10:49: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
Wolfgang Beck
e134e24919 Source update. 2010-02-03 13:21:08 +10:00
Erik Verbruggen
a3d0406d31 Fixed throw expression parsing. 2010-02-02 15:39:42 +01:00
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
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
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
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