Commit Graph

59 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
ec69936c7c Support Doxygen comment style after members
Forms /**<, /*!<, ///< and //!<.

Done with Roberto Raggi.
2009-03-20 14:24:02 +01:00
Roberto Raggi
437bbd00e5 Don't insert `(' when completing ambiguous symbols. 2009-03-17 14:46:35 +01:00
Roberto Raggi
a744a73145 Check for ambigious function-declarators/cpp-initializers. 2009-03-17 14:27:28 +01:00
Roberto Raggi
e3baca2e9a Prefer C++ Initializer when parsing init-declarators. 2009-03-17 14:12:42 +01:00
Roberto Raggi
f9a3df1847 Visit the parameters, the cv qualifiers and exceptions 2009-03-17 14:12:42 +01:00
Roberto Raggi
66a3e71579 Added ASTVisitor::getTokenStartPosition() and ASTVisitor::getTokenEndPosition(). 2009-03-06 10:45:41 +01:00
Roberto Raggi
5e3921d2bd Added a fwd declaration for the class Token. 2009-03-06 10:45:41 +01:00
Roberto Raggi
942f5a708a Ignore the symbol's column for generated symbols (at least for now). 2009-03-04 15:45:38 +01:00
Roberto Raggi
4613da1c8b Mark the generated tokens in the token stream. 2009-03-04 14:36:47 +01:00
Roberto Raggi
3d6f7de909 Context-sensitive highlighting. 2009-03-03 13:57:08 +01:00
Roberto Raggi
ea1d5503a4 Added a bit to annotate the generated tokens. 2009-03-03 11:31:35 +01:00
Roberto Raggi
f96d8ff9e0 Fixed: Parsing of /**/ tokens. 2009-03-02 19:00:57 +01:00
Roberto Raggi
fd22788d9e Improved matching of qdox/doxygen comments. 2009-03-02 10:10:30 +01:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
Thorbjørn Lindeijer
c5d600b1d6 Fixed highlighting of comment closing element */
Was taking the wrong state, causing it to appear in Doxygen style
instead of as a normal comment.

Fix by Roberto Raggi
2009-02-20 16:34:48 +01:00
Roberto Raggi
4c5ff047f0 Initial support for doxygen comments. 2009-02-20 11:52:27 +01:00
Roberto Raggi
6178a44fc2 Warning for using-directive in class scope. 2009-02-19 13:52:05 +01:00
Roberto Raggi
7e10664e6a Instroduced TranslationUnit::spell(tokenIndex). 2009-02-19 13:01:01 +01:00
Roberto Raggi
f5b32ef7b0 Fixes: Export the pretty printer. 2009-02-18 16:02:01 +01:00
Roberto Raggi
c2f61a76e1 Merge branch '1.0.0' of git@scm.dev.nokia.troll.no:creator/mainline 2009-02-17 11:52:56 +01:00
Thorbjørn Lindeijer
7774977e5d Fixed handling of attribute specifiers in front of declaration
Done with Roberto Raggi
2009-02-17 11:28:18 +01:00
Roberto Raggi
f63b8e6693 --warnings 2009-02-16 18:56:35 +01:00
Roberto Raggi
01145fd552 Added Type::isForwardClassDeclaration(). 2009-02-16 18:20:47 +01:00
Roberto Raggi
ba78e075da Introduced support for forward class declarations. 2009-02-16 18:20:46 +01:00
Roberto Raggi
2788d77229 Fixes: Implementation of NewExpressionAST::lastToken() 2009-02-16 18:20:46 +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
Thorbjørn Lindeijer
146a534932 Fixed all crashes due to refencing undefined types
Introduced UndefinedType class to replace null pointer.

Done with Roberto Raggi
2009-02-10 17:22:16 +01:00
Roberto Raggi
2d80acbe76 Improved the implementation of new-expressions. 2009-02-10 14:44:03 +01:00
Thorbjørn Lindeijer
885d908ea3 Fixed two crashes with C++ engine handling
These checks are necessary cause of a recent change in the C++ engine.

Reviewed-by: Roberto Raggi
2009-02-10 13:56:13 +01:00
Roberto Raggi
fba8e1510c Fixes: Visiting of case statements. 2009-02-10 10:09:14 +01:00
Roberto Raggi
fb4ad59ddb Fixes: Possible crash when parsing qt methods. 2009-02-09 21:07:10 +01:00
Roberto Raggi
25de88fe61 Fixes: Removed dynamic_cast from Scope. 2009-02-09 21:00:03 +01:00
Roberto Raggi
c842957a8b Fixes: Possible crash in LookupContext. 2009-02-09 20:22:00 +01:00
Roberto Raggi
d01795d933 Reimplemented Type::as*Type() using virtual methods. 2009-02-09 17:49:12 +01:00
Roberto Raggi
17d047ced8 Reimplemented Name::as*() using virtual functions. 2009-02-09 16:32:56 +01:00
Roberto Raggi
2f90539211 Reimplemented Symbol::as*() methods using virtual functions. 2009-02-09 16:15:02 +01:00
Roberto Raggi
d782ce27fb Reimplemented the AST::as*AST() methods as virtual functions (as suggested by andre). 2009-02-09 15:55:01 +01:00
Roberto Raggi
cd9e752ae4 Introduced ASTVisitor::endVisit(ast node) 2009-02-09 14:58:13 +01:00
Roberto Raggi
208f26c9ce Annotate function declarators. 2009-02-09 12:47:58 +01:00
Roberto Raggi
ea981d5025 More annotations. 2009-02-09 12:19:17 +01:00
Roberto Raggi
3ac4e05e37 Annotated NamespaceAST nodes. 2009-02-09 12:00:06 +01:00
Roberto Raggi
0d314977f1 Annotated the NameAST nodes. 2009-02-09 11:56:21 +01:00
Roberto Raggi
6672f89ff5 Annotate the ClassSpecifierAST node with the class symbol. 2009-02-09 11:35:57 +01:00
Roberto Raggi
47a85d5a42 Accept T_COLON_COLON only for the first objc message arg. 2009-02-06 16:28:00 +01:00
Roberto Raggi
dd65867d17 Fixes: Parsing of objc selector expressions. 2009-02-06 15:51:17 +01:00
Roberto Raggi
7b2b182774 Fixes: Parsing of objc method definitions. 2009-02-06 15:13:12 +01:00
Roberto Raggi
8c0aa2d207 Fixes: Parsing of block declarations in an @implementation block. 2009-02-06 11:36:39 +01:00
Roberto Raggi
68552b8f4d Added fast lookup of objc type qualifiers. 2009-02-05 15:06:48 +01:00
Roberto Raggi
c00e30187c Fixes: Parsing objc method definitions. 2009-02-05 14:30:25 +01:00