Erik Verbruggen
284b8d38e2
Put the DependencyTable calculation into the QFuture.
...
Done-with: Roberto Raggi
2010-03-17 14:20:17 +01:00
Erik Verbruggen
1cc5e1fe01
Put the include depenency table into a separate class, and cache it when possible.
2010-03-17 14:20:17 +01:00
Erik Verbruggen
b4d72a78db
Added parser support for Q_INTERFACES.
2010-03-17 10:30:17 +01:00
Roberto Raggi
37c042703f
Take the branch when evaluating #ifndef QT_NO_XXX and QT_NO_XXX has been defined in a pro file.
2010-03-12 15:25:48 +01:00
Erik Verbruggen
48889e7574
Changed FindUsages to look into Q_PROPERTYs.
2010-03-12 11:32:43 +01:00
Erik Verbruggen
a2ded1e8ea
Added boundary check.
2010-03-12 11:32:43 +01:00
Erik Verbruggen
933ef8cff0
Added bounds check.
2010-03-12 11:32:42 +01:00
Roberto Raggi
1c8930737c
Fixed possible crash when asking for the icon of a top-level symbol (e.g. the global namespace).
2010-03-10 09:32:27 +01:00
Erik Verbruggen
417a1c9f28
Fixed QTCREATORBUG-745.
...
Fixed crash in FindUsages on a dirty file in a large project, which is saved
while the FindUsages is still running.
2010-03-09 17:38:02 +01:00
Christian Kamm
9e75ff8ea2
Don't add the default arguments when completing function definitions.
...
Fixes QTCREATORBUG-787
Reviewed-by: Erik Verbruggen
2010-03-05 15:45:58 +01:00
hjk
9595504bda
Long live the king!
2010-03-05 11:28:13 +01:00
Roberto Raggi
293f67580d
Fixed: Wrong usage highlighting if function's argument list contains comment.
...
Task-number: QTCREATORBUG-577
2010-03-03 14:11:45 +01:00
Erik Verbruggen
e609e9a701
Simplified ObjC selectors in the AST.
2010-02-23 17:43:52 +01:00
Erik Verbruggen
72c3ba791e
Fixed pre-processor handling for Q_PROPERTY, Q_ENUMS and Q_FLAGS.
2010-02-22 18:00:26 +01:00
mae
656de733ab
Fix code navigation when line wrapping is enabled
2010-02-19 18:49:46 +01:00
Kai Koehne
1f411118bf
Fix compilation error with gcc 4.4.3
...
call of overloaded ‘QString(int)’ is ambiguous
2010-02-17 09:17:54 +01:00
Erik Verbruggen
8de6ccc775
Revert "Split Objective-C keyword parsing to handle the '@' separately."
...
This reverts commit 2a59d2ae0c .
2010-02-15 12:24:31 +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
2a59d2ae0c
Split Objective-C keyword parsing to handle the '@' separately.
...
Because apparently, while designing the Objective-C language, somebody
thought it was a world-class idea to allow any white-space between the
'@' character and the subsequent keyword. With this fix, we now
correctly parse:
@ dynamic
and:
@
selector
and:
@"foo"
"bar"
@"mooze"
(This last one is 1 single string split over multiple lines.)
Wonderful, isn't it?
What we (and Clang) do not support, but what GCC supports is something
like:
@"foo"@@ "bar" @"mooze" @@
which is equivalent to @"foobarmooze".
2010-02-15 09:27:00 +01:00
Roberto Raggi
b7512a2dc7
Removed obsolete files.
2010-02-12 12:44:48 +01:00
Roberto Raggi
75229edcf9
Process the formal arguments of inline methods when searching the usages of a symbol.
2010-02-11 10:18:05 +01:00
Erik Verbruggen
1af05166d9
Removed Q_DECLARE_FLAGS parsing, leaving it to the CPP to expand it.
2010-02-08 15:41:18 +01:00
Erik Verbruggen
b58cb740e5
Changed ObjC message arguments to have SimpleName for the name part.
2010-02-08 09:34:51 +01:00
Erik Verbruggen
21488e8898
Added semantic checks for Q_ENUMS.
2010-02-07 10:49:03 +01:00
Erik Verbruggen
8d8b05da5a
Reworked parts of the QtPropertyDeclaration parsing and handling.
2010-02-07 10:49:03 +01:00
Erik Verbruggen
6ca5f5f5f8
Added semantic checks for compound expressions.
2010-02-07 10:49:02 +01:00
Erik Verbruggen
fd90c3503d
Added AST nodes for compound expressions (a GNU extension).
2010-02-07 10:49:02 +01:00
Thorbjørn Lindeijer
9b3dd396be
Merge branch '1.3'
...
Conflicts:
src/plugins/debugger/gdb/gdbengine.cpp
2010-02-04 15:09:05 +01:00
Erik Verbruggen
cdd8ac099d
Renamed method.
2010-02-04 10:59:23 +01:00
Roquette
32199de9d9
Added semicolon after } when creating unnamed enumeration
...
Task-number: QTCREATORBUG-643
Merge-request: 109
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com >
2010-02-01 15:07:18 +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
Erik Verbruggen
b7cbc9b0c1
Removed methods which always returned a constant (false).
2010-01-28 17:05:26 +01:00
Erik Verbruggen
0fdf02ab4d
Changed binary expression parsing to use precedence parsing.
2010-01-28 15:22:50 +01:00
Erik Verbruggen
ff910fd757
Added "@property" to the outline entries for ObjC properties.
2010-01-22 13:24:06 +01:00
Wolfgang Beck
4b33881729
Merge ichecker branch changes into the mainline. New project can be found under src/tools/ICheck
2010-01-19 15:26:08 +10:00
Erik Verbruggen
2dc221d76d
Prefer ObjC classes/protocols when searching for a canonical symbol.
2010-01-11 09:29:38 +01:00
Tobias Hunger
87b96a7520
Add missing include.
2010-01-08 16:12:40 +01:00
Tobias Hunger
df2a2dc118
Small inclusion fixes.
...
* Remove duplicate headers.
* Move own headers to the top.
Reviewed-by: Roberto Raggi
2010-01-08 15:48:32 +01:00
Roberto Raggi
bcfb9d2385
Removed stray & character.
2010-01-08 14:58:21 +01:00
Tobias Hunger
a22e64a093
Fix typo in comment.
2010-01-08 11:43:45 +01:00
Thorbjørn Lindeijer
97eabc2916
Merge branch '1.3'
2010-01-06 14:46:22 +01:00
Roberto Raggi
d510aaa029
Fixed problem with nested templates in function declaration completion
...
Wasn't using a space to separate the closing angular brackets.
Task-number: QTCREATORBUG-547
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com >
2010-01-06 14:29:51 +01:00
Roberto Raggi
0fdb3bebee
Fixed crash when completing symbols without a valid context.
...
Task-number: QTCREATORBUG-534
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com >
2010-01-06 12:32:29 +01:00
Christian Kamm
b3d3089955
Fix two small bugs in TypePrettyPrinter.
...
- unsigned* was printed as unsigned
- Type **name was printed as Type**name
2009-12-23 11:38:05 +01:00
Christian Kamm
c3cc7cf4d8
Enhance data stored for macros and macro uses.
...
In preparation for finding macro uses.
* Macro: add offset and length
* MacroUse: add line
* Document: add convenience functions for finding a macro definition, use
or undefined use at a given location.
Reviewed-by: Erik Verbruggen
2009-12-21 14:57:05 +01:00
Roberto Raggi
599d4aa355
Fixed line/column position of the tokens after multiline string literals.
2009-12-17 16:06:35 +01:00
Roberto Raggi
51de95c497
Use the text editor revision to ignore outdated parse results.
2009-12-15 15:52:55 +01:00
con
7081a3d415
Merge remote branch 'origin/1.3'
...
Conflicts:
src/plugins/projectexplorer/outputwindow.cpp
2009-12-14 11:47:39 +01:00