Commit Graph

100 Commits

Author SHA1 Message Date
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
Roberto Raggi
ba78e075da Introduced support for forward class declarations. 2009-02-16 18:20:46 +01:00
Roberto Raggi
e801434799 Improved the type pretty printer. 2009-02-13 15:37:42 +01:00
Thorbjørn Lindeijer
a7cda431f0 Fixed crash in lookup context due to null-name
Return early in this case.

Reviewed-by: Roberto Raggi
2009-02-11 10:41:07 +01:00
Roberto Raggi
9539bb2b28 Less annoying syntax checker. 2009-02-10 23:33:40 +01:00
Thorbjørn Lindeijer
a33ae02927 Revert now unnecessary checks for null-types
This reverts commits:

c721304a47
885d908ea3
a0909989f7
fb4ad59ddb
0a9a67cf54
0d1624d4d1
d018cfd5cb
0504fdd00b
a2fd10fe19

Conflicts:

	src/plugins/cpptools/cppcodecompletion.cpp

Reviewed-by: Roberto Raggi
2009-02-10 17:41:04 +01:00
Roberto Raggi
a54fa5a546 Fixes: Compile. 2009-02-10 11:21:42 +01:00
Roberto Raggi
9d52a72534 Made it possible to compile libCPlusPlus without `gui'. 2009-02-10 10:48:19 +01:00
Roberto Raggi
a2fd10fe19 Fixes: Possible crash in OverviewModel. 2009-02-09 17:55:40 +01:00
Roberto Raggi
d01795d933 Reimplemented Type::as*Type() using virtual methods. 2009-02-09 17:49:12 +01:00
con
1dcabe5a3a Merge branch '1.0.0'
Conflicts:
	tests/auto/cplusplus/shared/shared.pri
	tests/auto/cplusplus/shared/shared.pro
2009-02-09 10:54:36 +01:00
Roberto Raggi
1f9bcd86e0 Added a simple auto test for the name lookup. 2009-02-09 10:21:29 +01:00
Thorbjørn Lindeijer
932845fc36 Don't use the name twice, though
We shouldn't append the name in cases where the text was not empty but
_name was.

Reviewed-by: Roberto
2009-02-06 14:50:58 +01:00
Thorbjørn Lindeijer
233502a795 Fixed tooltips for enumerators
The helpId was working but the tooltip text was empty.

Reviewed-by: Roberto
2009-02-06 14:43:13 +01:00