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
Roberto Raggi
0be80466b8
Save/Restore the if-level.
2009-12-09 16:01:20 +01:00
Roberto Raggi
22d75c4c20
Fixed: Template argument marked as "not a type name" when defined as primitive type
...
Task-number: QTCREATORBUG-384
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com >
2009-12-08 13:06:17 +01:00
Roberto Raggi
02c7336795
Expand the template parameters.
2009-12-08 12:38:27 +01:00
Roberto Raggi
5a0b7f8ec8
Added initializers to the formal arguments.
2009-12-08 11:35:34 +01:00
Thorbjørn Lindeijer
d20cdc64e3
Merge remote branch 'origin/1.3'
2009-12-08 11:26:05 +01:00
Roberto Raggi
4bbb9219e9
Fixed completion when a typedef symbol is used as class name
...
For example std::string, which is a typedef of std::basic_string.
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com >
2009-12-08 11:09:11 +01:00
Thorbjørn Lindeijer
9839dea6bc
Fixed autoindent when using tabs instead of spaces
...
Several special cases that are handled by the CPPEditor did not take
into account code that was using tab characters.
Task-number: QTCREATORBUG-292
Reviewed-by: Roberto Raggi
2009-12-08 11:09:11 +01:00
Roberto Raggi
55175c149c
Fixed scope completion after a template-id. For example, when completing std::list<int>::i...
2009-12-07 15:33:08 +01:00