Commit Graph

290 Commits

Author SHA1 Message Date
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
Roberto Raggi
4ffed7a119 Fixes: Parsing of #import directives. 2009-02-05 14:30:25 +01:00
Roberto Raggi
56b48c2362 Fixes: Enable ObjC support. 2009-02-05 14:30:24 +01:00
hjk
fe0533de2a Fixes: move all files in shared/* to src/shared/* 2009-01-26 16:19:24 +01:00
Roberto Raggi
a90545126f Fixes: Lookup of qualified name ids. 2009-01-24 23:07:42 +01:00
Roberto Raggi
44ed62c181 Fixes: Expand the #elif's condition. 2009-01-20 11:29:54 +01:00
Daniel Molkentin
59affcfffc Bump year in licence header. 2009-01-13 19:22:14 +01:00
Roberto Raggi
6966d91c7a ResolveType for compound literals. 2009-01-13 16:04:34 +01:00
Thorbjørn Lindeijer
34cc807b36 Fixed crash in function argument widget
It didn't make sure its Function* stayed valid. Now it does, by keeping
a copy of the list of CppDocuments (the snapshot) around.
2009-01-13 13:18:26 +01:00
Roberto Raggi
9f1e7205e8 Ensure we had a valid class symbol. 2009-01-13 10:30:48 +01:00
Roberto Raggi
a2cd5db6ce Improved the lookup of qualified name ids. 2009-01-13 10:17:13 +01:00