Commit Graph

6686 Commits

Author SHA1 Message Date
Friedemann Kleint
196d7b0cf4 VCS[git]: Handle stderr in SynchronousProcess::readDataFromProcess
Timeout handling cannot rely on bytesAvailable(), which applies to
stdout only in the normal case. For 'git pull', which output its
progress on stderr, stderr needs to be checked separately.

Task-number: QTCREATORBUG-777
2010-03-01 12:29:10 +01:00
hjk
73ef5e33ea debugger: properly display function pointers with python 2010-03-01 10:28:34 +01:00
Roberto Raggi
ca34e0c043 Compile with gcc -pedantic. 2010-02-25 12:39:39 +01:00
Kai Koehne
7856b196db QmlDesigner: Fix states.qml example file 2010-02-25 09:48:19 +01:00
Kai Koehne
fc57893921 QmlDesigner: Add a couple of example .qml files for manual testing 2010-02-24 16:50:21 +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
Friedemann Kleint
eb05d2ac0b CDB CoreEngine: Support break by address for testing purposes. 2010-02-19 11:58:54 +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
Friedemann Kleint
be6fd06e95 CDB: Set symbol options at initalization phase. 2010-02-17 10:21:25 +01:00
hjk
e3e6797fe5 debugger: fix display and editing of nested anonymous structures 2010-02-15 17:02:08 +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
hjk
47fa65be6c debugger: some basic support for 'catch catch' and 'catch throw'
Hidden in the Breakpoints context menu.
2010-02-11 17:46:05 +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
Friedemann Kleint
3efdb87682 S60/Trk: Make the port a property of TrkDevice.
Associate the port with the device instead of passing it to open
for better handling.
2010-02-08 14:10:51 +01:00
Kai Koehne
6c4b9ba227 Reapply unconnected changes from reverted commit
Only revert stuff that is linked to fast string concat.
2010-02-08 11:13:55 +01:00
Kai Koehne
999c73ad9d Revert "compile everything with QT_USE_FAST_CONCATENATION"
This reverts commit e70530c5ad. It
did break builds on older gcc versions (gcc 4.1.2 64 bit Linux,
gcc 4.0.1 on Mac OS X):

parser/qmljsgrammar_p.h: In static member function ???static int
QmlJSGrammar::nt_action(int, int)???:
parser/qmljsgrammar_p.h:188: error: ???QmlJSGrammar::<anonymous enum>???
is/uses anonymous type
parser/qmljsgrammar_p.h:188: error:   trying to instantiate
???template<class T> struct QConcatenable???
...
2010-02-08 10:56:50 +01:00
Erik Verbruggen
21488e8898 Added semantic checks for Q_ENUMS. 2010-02-07 10:49:03 +01:00
Oswald Buddenhagen
e70530c5ad compile everything with QT_USE_FAST_CONCATENATION 2010-02-05 15:20:25 +01:00
Oswald Buddenhagen
a2dbeecdec remove visitor pattern
it's overengineered for our purpose and would just get in the way of
planned optimizations.
2010-02-05 15:20:25 +01:00
Oswald Buddenhagen
699af2f46a fix typo 2010-02-05 15:20:25 +01:00
Friedemann Kleint
9c2676167a src/shared: Rename trk to symbianutils 2010-02-05 12:32:32 +01:00
Friedemann Kleint
f2b3e9f2df S60/Trk: Change trkutils to be a library of its own.
To be able to share TrkDevices between Debugger and Qt4ProjectManager.
2010-02-05 12:26:02 +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
Friedemann Kleint
fc972e44ef CDB: Extract SymbolGroupContext class into Core library.
Split for testing/scripting purposes.
2010-02-04 13:20:37 +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
a46a23835c Fix to reflect previous/older API change. 2010-02-02 15:39:42 +01: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