Roberto Raggi
599cdcfa06
More ObjC++
2009-01-09 16:55:51 +01:00
Roberto Raggi
b2ff63145b
Added objcEnabled()/setObjcEnabled() to SimpleLexer.
2009-01-08 12:56:07 +01:00
Roberto Raggi
f0ac751f4a
Completion for typedef of pointer to struct.
2008-12-31 10:57:27 +01:00
Roberto Raggi
c7b023c0e1
Renamed SymbolsForDotAccess to ResolveClass.
2008-12-30 12:03:49 +01:00
Roberto Raggi
7c3d1a0158
Improved typedef support.
2008-12-30 11:54:42 +01:00
Roberto Raggi
f02549dafe
Save/restore the black list so we can re-use instances of SymbolsForDotAccess.
2008-12-29 12:26:02 +01:00
Roberto Raggi
a985b59d40
Initial support for typedefs.
2008-12-29 11:53:40 +01:00
Roberto Raggi
0185a49a78
Removed LookupUtils.
2008-12-23 15:27:55 +01:00
Roberto Raggi
0422bcbbd5
Some more clean up in the preprocessor.
2008-12-22 14:10:47 +01:00
Roberto Raggi
e325aa38d9
Nicer implementation of CPlusPlus::Macro.
2008-12-22 13:55:42 +01:00
Roberto Raggi
1e0f06e4e8
Introduced expandNamespace(), expandClass(), expandBlock(), and expandFunction().
...
This should simplify the merging of the improved lookup context.
2008-12-22 13:27:01 +01:00
Roberto Raggi
753ddb7ce0
Some cleanup in the C++ preprocessor.
...
Introduced pp-scanner.cpp, renamed `pp' to `Preprocessor' and removed useless #includes.
2008-12-22 11:40:53 +01:00
Roberto Raggi
678c09c813
Made line and column unsigned ints.
2008-12-18 10:53:56 +01:00
Roberto Raggi
22f223e732
Added TypeOfExpression::preprocess(expression, document).
...
The method `preprocess' returns the preprocessed text for the given expression.
2008-12-18 10:53:55 +01:00
hjk
da3cb14483
chancge Nokia GPL exception version from 1.2 to 1.3
2008-12-16 17:20:00 +01:00
hjk
bc4f14e88c
do not reference removed empty file
2008-12-16 17:12:10 +01:00
hjk
77c8f0cc48
remove unneeded empty file
2008-12-16 17:09:36 +01:00
Roberto Raggi
bab60d14b3
Introduced CPlusPlus::Snapshot, it contains a snap shot of the indexer's current state.
...
This change removes a number of wrong usages of the CppModelManager::documents()/document().
2008-12-12 10:07:58 +01:00
Roberto Raggi
f149c17d17
Fixed possible crash when merging the evironments.
2008-12-11 14:44:52 +01:00
Roberto Raggi
4679f38a87
Fixed code completion when using macros in the expression's code (e.g. in qApp->).
2008-12-11 11:28:29 +01:00
Roberto Raggi
d454607264
Implemented tooltip and lookat for #include directives.
2008-12-10 17:21:28 +01:00
Roberto Raggi
fdfae53abb
Don't use QTC_ASSERT in the C++ front-end library. The engine does not
...
recover from invalid asserts, so it will crash anyway, but not in
a controlled environment.
2008-12-10 15:44:26 +01:00
Roberto Raggi
9c9308b91b
QByteArray::toLong() does not auto-detect the base and also fixed a typo in
...
the evaluator of bit-or expressions.
2008-12-10 10:47:26 +01:00
Roberto Raggi
9653f4b7e9
Fixed macro locations.
2008-12-09 16:20:21 +01:00
Roberto Raggi
b3f0f33b39
oops! fixed a typo
2008-12-09 15:42:48 +01:00
Roberto Raggi
20e36cc364
tooltip for macro definitions.
2008-12-09 15:24:26 +01:00
hjk
4a552ead9f
use QTC_ASSERT instead of Q_ASSERT
2008-12-09 15:25:01 +01:00
con
be9dfc8c91
Fixes: - Show <No Symbols> or <Select Symbol> in 'empty' method combo box
...
Task: - 234321
RevBy: - Bjoern
2008-12-08 17:50:46 +01:00
Thorbjørn Lindeijer
bf7486c011
Don't keep around references to old documents
...
The code completion was keeping around references to old documents after
the completion finished. This caused documents to stay in memory when
unloading projects, up until the next time you used the completion.
2008-12-08 13:05:44 +01:00
Roberto Raggi
310d50fd07
Use Macros.
2008-12-08 12:59:57 +01:00
Roberto Raggi
f6fbb274ae
Moved the preprocessor.
2008-12-08 12:24:40 +01:00
Thorbjørn Lindeijer
ecfb77d469
Separate scope in classes quickopen filter
...
The scope of the classes is now separated and displayed in the second
column, and not included in the search.
2008-12-05 13:23:04 +01:00
Roberto Raggi
5489c83d71
Visit the left child not of a binary expression.
2008-12-04 15:54:12 +01:00
Roberto Raggi
3d3802d50f
Added macro expanding events and some initial on the macro highlighting support.
2008-12-04 12:06:26 +01:00
Roberto Raggi
e02f818f84
Save the utf8 bytes in a QByteArray before invoking the parser.
2008-12-03 14:29:34 +01:00
Roberto Raggi
e2e4fcd95b
Added different parsing mode to TranslationUnit/CppDocument.
2008-12-03 14:01:58 +01:00
hjk
ab83dcd87c
off-by-one in headers
2008-12-02 14:20:25 +01:00
hjk
8a43d9b9f3
end-of-line whitespace correction of the new headers
2008-12-02 14:17:16 +01:00
hjk
f61e8672db
more cosmetic changes
2008-12-02 14:09:21 +01:00
con
05c35356ab
Initial import
2008-12-02 12:01:29 +01:00