Erik Verbruggen
867bf3dae8
Fixes for scope range calculation.
2010-07-19 10:42:32 +02:00
Erik Verbruggen
13ff3e2961
Added comment.
2010-07-16 16:04:58 +02:00
Erik Verbruggen
f7a8c5f05d
Fixed lookup to skip over friend declarations.
2010-07-16 16:04:58 +02:00
Denis Mingulov
915ba478d3
CPlusPlus::Icons - modify to support icon's id additionally
...
Merge-request: 2167
Reviewed-by: Kai Koehne <kai.koehne@nokia.com >
2010-07-16 11:24:02 +02:00
Roberto Raggi
fff4203a46
Introduced helpers to rewrite types and names.
...
Done-with: Erik Verbruggen
2010-07-16 11:04:52 +02:00
Roberto Raggi
06c7cb9b88
Disable Create declaration from definition quickfix.
2010-07-12 15:10:00 +02:00
Roberto Raggi
adfdb51660
Recursive definition of CPlusPlus::QualifiedNameId.
...
Done-with: Erik Verbruggen
2010-07-12 15:10:00 +02:00
Erik Verbruggen
9135c8ccb1
Quickfix for adding a declaration to a class from a definition.
2010-07-12 09:53:58 +02:00
con
795ae72e0f
Quick fix for completing cases in enum based switch statements.
...
Reviewed-by: Roberto Raggi
2010-07-09 10:33:00 +02:00
Roberto Raggi
5751f4f1c5
Reenabled the old `deprecated' template instantiation.
...
I hate this commit, but unfortunately, I don't have time right now
to finish the new template instantion algorithm so I have to
enable the old way of doing instantiations.
2010-07-09 10:17:28 +02:00
Roberto Raggi
9d63e4a699
Try to resolve the type in the scope of the declaration.
2010-07-09 10:11:30 +02:00
Erik Verbruggen
9c321dc7c8
More completion fixes.
2010-07-06 13:11:27 +02:00
Erik Verbruggen
69a74abf26
Fixed completion for doxygen comments.
2010-07-06 10:57:56 +02:00
Erik Verbruggen
45e12ccb42
Fixed scope calculation in code completion.
2010-07-06 09:19:20 +02:00
Bill King
c9710052bb
Fix autotests so that they're compiling again.
2010-07-06 14:37:45 +10:00
Roberto Raggi
84ebb1048d
Moved CheckUndefinedSymbols to the cpptools plug-in.
2010-07-05 17:35:54 +02:00
Roberto Raggi
a1d3c63874
Fixed possible crash when computing the AST path.
2010-07-05 17:09:05 +02:00
Roberto Raggi
76ebb46479
Fixed: "Follow symbol" on constructor or destructor always jumps to class definition
...
Task-number: QTCREATORBUG-1776
2010-07-05 13:38:53 +02:00
Christian Kamm
837e7b5abd
C++: Remember joined state in SimpleLexer.
...
Done-with: Erik Verbruggen
2010-07-02 15:47:00 +02:00
Erik Verbruggen
8e4fb678fd
Removing SimpleToken
2010-07-02 11:18:51 +02:00
Erik Verbruggen
e3e8b1a5c0
Removed the TokenCache.
2010-07-02 11:18:51 +02:00
Roberto Raggi
0f2a24641b
Get rid of NumericLiteral::isChar/isWideChar().
2010-07-01 15:27:36 +02:00
Roberto Raggi
da817310c2
Get rid of PostfixExpressionAST and store the base expression together with the PostfixAST nodes.
2010-06-23 14:39:14 +02:00
Erik Verbruggen
e7088e9c42
Fixed autotests.
2010-06-23 12:45:22 +02:00
Erik Verbruggen
11dca3f1ce
Fixed compilation problem.
2010-06-23 12:27:35 +02:00
Erik Verbruggen
d00ece77d7
Fix compilation problem.
2010-06-23 11:01:05 +02:00
Erik Verbruggen
2ad794c54f
Fixed type resolving for ObjC ptr receiver types in objc_msg_send expressions.
2010-06-18 10:58:35 +02:00
Christian Kamm
eb2ac188f2
C++: Make 'follow symbol' for classes work in more cases.
...
Previously, it would still fail if a forward declaration and declaration
for a class were in the same file.
Task-number: QTCREATORBUG-20
2010-06-18 09:28:32 +02:00
Thorbjørn Lindeijer
a1a565b9c5
Two more columnNumber() calls that should be positionInBlock()
...
columnNumber() relies on text wrapping, and we're only interested in the
position of the cursor in the block.
2010-06-16 18:03:43 +02:00
Christian Kamm
e1a0f5abef
C++: Make 'follow symbol' work with forward declared classes.
...
If it encounters a forward declaration, it tries to find the class
declaration globally now.
Task-number: QTCREATORBUG-20
2010-06-16 15:37:39 +02:00
Thorbjørn Lindeijer
173cdff56c
Merge branch '2.0'
...
Conflicts:
src/plugins/cppeditor/cppquickfix.cpp
src/plugins/mercurial/mercurialjobrunner.cpp
src/plugins/subversion/subversionplugin.cpp
2010-06-15 13:22:33 +02:00
Thorbjørn Lindeijer
a6e5298591
Fixed handling of text wrapping and a text layout corner case
...
Due to using QTextCursor::columnNumber() instead of
QTextCursor::positionInBlock(), a lot of code would not work correctly
when used with wrapped lines.
In addition, there was an issue with columnNumber() returning 0 right
after inserting a character before the last character of a line.
Reviewed-by: mae
2010-06-15 12:25:01 +02:00
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