Commit Graph

263 Commits

Author SHA1 Message Date
Thorbjørn Lindeijer
6f3c9f7002 Revert "Do not expand the list of candidates when resolving fully qualified ids"
This reverts commit 84ba24ac71.

It might work now cause of the fix done in commit
f3767148c0.
2009-05-18 15:30:37 +02:00
Roberto Raggi
d46a1447f1 Fixed possible crash in std::isspace(ch) when ch is a unicode char. 2009-05-15 16:01:02 +02:00
Roberto Raggi
483449e420 There is no output stream so there's nothing to expand. 2009-05-13 18:16:28 +02:00
Roberto Raggi
caad98ec4c Refactored a bit the preprocessor so we can use it to generate file dependencies. 2009-05-13 15:29:59 +02:00
Alessandro Portale
97b3e71d08 Rename qworkbenchlibrary.pri to qtcreatorlibrary.pri 2009-05-08 16:42:48 +02:00
Thorbjørn Lindeijer
cb75dd05ea Prevent endless loop when no matching brace is found
Would show up when typing ")," where the closing brace doesn't have a
matching opening brace, for example.

Done with Roberto Raggi.
2009-04-09 11:16:24 +02:00
Roberto Raggi
f3767148c0 Fixed: Possible crash when resolving fully qualified name ids.
Task: 249227
2009-04-06 16:49:58 +02:00
Roberto Raggi
68d8d83093 Simplified the code that looks for the identifier under the cursor. 2009-03-30 15:33:14 +02:00
Roberto Raggi
fde8ca4a16 Added Document::ParseDeclarator. 2009-03-30 15:08:21 +02:00
Thorbjørn Lindeijer
222b4faba8 Don't try to jump to unresolved included files
It popped up an error saying the file couldn't be found. Better not show
a link at all.
2009-03-26 18:21:11 +01:00
Thorbjørn Lindeijer
86e400c9dc Trigger function argument widget on comma
Done with Roberto Raggi.
2009-03-26 13:01:39 +01:00
Thorbjørn Lindeijer
84ba24ac71 Do not expand the list of candidates when resolving fully qualified ids
Crashes, Roberto will fix properly later.
2009-03-26 11:18:09 +01:00
Roberto Raggi
249aaa0ab6 Fixed the lookup of qualified name ids. 2009-03-25 12:29:15 +01:00
Roberto Raggi
424dd77e18 Added support for Q_SIGNAL and Q_SLOT. 2009-03-25 11:50:17 +01:00
Thorbjørn Lindeijer
b789ffa91b Added and corrected copyright headers 2009-03-20 14:59:12 +01:00
dt
f7240bd665 Fixes: bin dir of msvc qt versions was not added to the path
The setting of msvc environments variables overwrote that. Fix that by running the script with the correct environment.
2009-03-19 18:30:11 +01:00
Roberto Raggi
4613da1c8b Mark the generated tokens in the token stream. 2009-03-04 14:36:47 +01:00
Roberto Raggi
064201ff85 Mark the generated regions of text. 2009-03-04 14:36:47 +01:00
Roberto Raggi
e253f39360 Store the actual arguments of the macro expansions. 2009-03-04 11:47:30 +01:00
Roberto Raggi
5bbb882b3d Introduced expandBuiltinMacro(). 2009-03-03 17:23:12 +01:00
Roberto Raggi
ca7cc122cb Simplified Preprocessor::preprocess() 2009-03-03 17:06:42 +01:00
Roberto Raggi
7327a8ea4d Introduced skipActualArguments(). 2009-03-03 16:59:55 +01:00
Roberto Raggi
1d75990667 Introduced processObjectLikeMacro(). 2009-03-03 16:56:55 +01:00
Roberto Raggi
b316939dff Introduced expandObjectLikeMacro(). 2009-03-03 16:46:21 +01:00
Roberto Raggi
55d0e4f860 Improved the way we expand function-like macros when we can't collect all the arguments. 2009-03-03 16:32:08 +01:00
Roberto Raggi
656d70fa74 Introduced expandFunctionLikeMacro(). 2009-03-03 16:19:03 +01:00
Roberto Raggi
3d6f7de909 Context-sensitive highlighting. 2009-03-03 13:57:08 +01:00
Roberto Raggi
63c012a242 Fixed: token separators. 2009-03-03 11:28:36 +01:00
Roberto Raggi
4c7e3ed836 Add the _right_ number of spaces. 2009-03-03 11:14:12 +01:00
Roberto Raggi
a0667d5952 Obsoleted code. 2009-03-03 10:49:14 +01:00
Roberto Raggi
454438e47d More cleanup. 2009-03-03 10:41:20 +01:00
Roberto Raggi
ae04679373 Introduced processNewline() and processSkippingBlocks(). 2009-03-03 10:27:02 +01:00
Roberto Raggi
c1ea5126dd Reserve some space. 2009-03-03 10:16:43 +01:00
Roberto Raggi
d7e86c22b6 Cleanup the function-like macro expansion. 2009-03-03 10:13:51 +01:00
Roberto Raggi
2a8327e57f Obsoleted code. 2009-03-03 09:58:54 +01:00
Roberto Raggi
ba200c7834 Some minor cleanup in processInclude(). 2009-03-03 09:52:50 +01:00
Roberto Raggi
ebe17889f4 Some refactoring of the preprocessor, it'll simplify my next commits. 2009-03-02 19:03:07 +01:00
Roberto Raggi
ed69c39906 More cleanup 2009-03-02 18:15:58 +01:00
Roberto Raggi
2553e25049 removed useless #include directives. 2009-03-02 18:09:40 +01:00
Roberto Raggi
6b5c9cc7cb Cleanup 2009-03-02 18:08:43 +01:00
Roberto Raggi
f4e875b9bb Initial testing of the preprocessor. 2009-03-02 11:30:43 +01:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
Roberto Raggi
bfe36575b7 Introduced a parallel indexer. It is ifdef-out atm. 2009-02-24 11:04:52 +01:00
Roberto Raggi
1c063f6953 Alternative implementation of the indexer. It is a little bit slower, but I'm going to make it faster.
Unfortunately the refactoring of the indexer is kind of necessary. I need to merge the new binding pass.
2009-02-23 12:49:56 +01:00
Roberto Raggi
a976385b44 Code completion of doxygen tags. 2009-02-20 12:55:18 +01:00
Roberto Raggi
4c5ff047f0 Initial support for doxygen comments. 2009-02-20 11:52:27 +01:00
hjk
9c80a46987 Fixes: save a few strlen calls 2009-02-19 12:02:47 +01:00
Roberto Raggi
c72c84d837 Fixes: Possible crash while resolving qualified name ids.
There is no need to "expand" again the scope we get from invoking `resolve'.
2009-02-18 16:02:01 +01:00
Roberto Raggi
f63b8e6693 --warnings 2009-02-16 18:56:35 +01:00
Roberto Raggi
fa216de41c Improved the C++ hover handler.
Done with: bjorn
2009-02-16 18:21:05 +01:00