Erik Verbruggen
05639e4688
Merge branch 'origin/2.0' (early part)
2010-06-15 11:30:51 +02:00
Thorbjørn Lindeijer
6875a50d27
Don't pass QChar as const & since it's just a unsigned short
...
Reviewed-by: ogoffart
2010-06-14 16:10:35 +02:00
Erik Verbruggen
e42ca194c5
Introduced token caching to prevent repetetive tokenizing.
...
Also removed TokenUnderCursor as it's functionality is in the token cache.
Reviewed-by: ckamm
2010-06-14 10:10:05 +02:00
Bill King
d074a0bfcc
Fix single bit value cannot be signed, change to match declarations elsewhere.
2010-06-11 13:37:24 +10:00
Roberto Raggi
cceaffca5b
Keep the Control around for as long needed.
2010-06-04 17:58:29 +02:00
Erik Verbruggen
a56fd7b9f4
Fixed the return type for objc_msg_send expressions.
2010-06-04 15:39:31 +02:00
Erik Verbruggen
424b9724d6
Revert "Introduced a token cache for the C++ editor."
...
This reverts commit c2393df023 .
2010-06-04 12:37:26 +02:00
Erik Verbruggen
66a3bbe3f9
Fixed possible null-pointer deref.
2010-06-04 11:15:38 +02:00
Erik Verbruggen
eed0241d97
Fixed a couple of null-checks/-returns.
2010-06-04 11:15:38 +02:00
Erik Verbruggen
10ed2c536e
Fixed hidden parameters.
2010-06-04 11:15:38 +02:00
Erik Verbruggen
c2393df023
Introduced a token cache for the C++ editor.
...
This should speed things up a bit, because before, the line was tokenized at
least 3 times.
2010-06-04 09:36:05 +02:00
Erik Verbruggen
414d9fe3e0
Fixed possible null-pointer crash.
2010-06-03 17:06:18 +02:00
Roberto Raggi
ed501b9bc3
Look at the injected class name.
2010-06-01 14:00:02 +02:00
Roberto Raggi
0dfe7b9b95
Fixed unqualified name lookup.
2010-06-01 12:22:07 +02:00
Roberto Raggi
f085dd2167
Some initial support for template parameters in our semantic highlighter.
2010-06-01 11:59:13 +02:00
Roberto Raggi
ecb951cab0
Compile.
2010-05-31 16:01:27 +02:00
Roberto Raggi
cca38a737e
Disable the cacheing of template instantiations.
2010-05-31 12:37:16 +02:00
Roberto Raggi
1c078ec2a3
Ensure we keep the context around for as long as it is needed.
2010-05-31 12:37:15 +02:00
Roberto Raggi
a31de2c37a
Fixed header protection.
2010-05-28 17:17:11 +02:00
Erik Verbruggen
344e0b9ca7
Removed debug line.
2010-05-28 17:03:15 +02:00
Erik Verbruggen
8390d165bd
Fixed missing include, and #undeffed debug code.
2010-05-28 17:02:32 +02:00
Erik Verbruggen
41bc5dac15
Added a utility method to search by line/column.
2010-05-28 16:29:53 +02:00
Erik Verbruggen
3eee397abd
Moved ASTPath to its own header/source files.
2010-05-28 16:29:53 +02:00
Oswald Buddenhagen
123937fb2a
Merge remote branch 'origin/2.0'
2010-05-28 12:45:41 +02:00
Erik Verbruggen
3082395c14
Disabled invalid ObjC++ discovery code.
...
Task-number: QTCREATORBUG-1501
Reviewed-by: Roberto Raggi
2010-05-28 12:15:54 +02:00
Roberto Raggi
e343b33342
Check for possible 0x0 accesses.
2010-05-28 11:15:08 +02:00
Roberto Raggi
64e9f652e0
Handle using declarations
2010-05-27 16:33:18 +02:00
Thorbjørn Lindeijer
ee6d7ae384
Fixed position of current argument highlight for constructors
...
It was broken due to a leading space which was trimmed off, breaking the
begin and end positions. Instead, don't trim, but just make sure not to
add a leading space when it is not necessary.
Done-with: Christian Kamm <christian.d.kamm@nokia.com >
Task-number: QTCREATORBUG-1398
2010-05-27 14:49:45 +02:00
Roberto Raggi
653ca110fe
Removed DeprecatedLookupContext.
2010-05-26 15:56:12 +02:00
Roberto Raggi
d2a62b07f0
Create bindings for anonymous typedefs.
2010-05-26 10:10:23 +02:00
Roberto Raggi
ce3a90fc78
Highlight namespaces.
2010-05-25 17:49:43 +02:00
Roberto Raggi
f335855ade
Warn about unexpected using declarations.
2010-05-25 17:15:23 +02:00
Roberto Raggi
405353ab23
Removed the CppBindings.
2010-05-25 17:15:23 +02:00
Roberto Raggi
b68a16f1b5
Highlight user defined types.
2010-05-25 17:15:22 +02:00
Roberto Raggi
2a0f901e16
Use the document in the snapshot when available.
2010-05-25 17:15:22 +02:00
Roberto Raggi
e6c377c75c
New implementation of CheckUndefinedSymbols.
2010-05-25 17:15:22 +02:00
Roberto Raggi
744d294f3b
Improved lookup of qualified names.
2010-05-25 17:15:21 +02:00
Roberto Raggi
0ce09d9d87
Added an optinal member `length' to Document::DiagnosticMessage.
2010-05-25 17:15:21 +02:00
Roberto Raggi
09bf431ab5
Fixed jump to the matching definition.
2010-05-21 11:35:37 +02:00
Roberto Raggi
8ecbb44183
Turn on C++0x support.
2010-05-21 10:51:48 +02:00
Erik Verbruggen
b9ac631b4a
Fixed expression resolving for ObjC message send expressions.
2010-05-20 18:37:12 +02:00
Erik Verbruggen
164aed22a5
Fixed scope discovery.
2010-05-20 16:07:33 +02:00
Roberto Raggi
3b113a2d74
Deprecate the old template instantiation.
2010-05-20 15:22:09 +02:00
Erik Verbruggen
8d5dde66c0
Fixed qualified name creation for ObjC classes and protocols.
...
Also fixed the tests for it.
2010-05-20 12:13:44 +02:00
Roberto Raggi
1e1d8e450f
Use the Control created by CPlusPlus::CreateBindings.
2010-05-18 09:24:14 +02:00
Roberto Raggi
35c50dcbfc
Use the context created by TypeOfExpression.
2010-05-18 09:24:11 +02:00
Roberto Raggi
5cb42c93ef
Instantiate the template functions.
2010-05-18 09:24:04 +02:00
Roberto Raggi
5058dd670a
Reuse TypeOfExpression.
2010-05-17 13:06:49 +02:00
Roberto Raggi
18490596f9
Renamed Document::findSymbolAt().
2010-05-17 13:01:56 +02:00
Roberto Raggi
e2297e4cbd
less verbose.
2010-05-14 15:34:39 +02:00