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
164aed22a5
Fixed scope discovery.
2010-05-20 16:07:33 +02:00
Roberto Raggi
18490596f9
Renamed Document::findSymbolAt().
2010-05-17 13:01:56 +02:00
Roberto Raggi
c739119c2a
Fixed Document::scopeAt() to always return a valid scope.
2010-05-14 13:55:21 +02:00
Roberto Raggi
60f76c96e8
Improved LookupItem and get rid of some deprecated code.
2010-05-14 13:55:21 +02:00
Roberto Raggi
c282da7d1e
Introduced Snapshot::findMatchingDefinition().
2010-05-11 14:15:07 +02:00
Roberto Raggi
7eae51507c
Removed deprecated method Snapshot::globalNamespaceBinding().
2010-05-11 14:15:06 +02:00
Thorbjørn Lindeijer
b9757a5eb3
Disable C++0x support for now
...
It introduced at least one new crash to do with recovering from parsing
errors.
Reviewed-by: Roberto Raggi
2010-03-25 19:32:45 +01:00
Roberto Raggi
8329d7db94
Recognize C++0x lambda expressions.
2010-03-24 13:49:02 +01:00
Roberto Raggi
61a504c427
Ensure that the memory pool can be reused after a rewind and get rid of the segmented array.
2010-03-18 15:23:13 +01:00
Erik Verbruggen
1cc5e1fe01
Put the include depenency table into a separate class, and cache it when possible.
2010-03-17 14:20:17 +01:00
hjk
9595504bda
Long live the king!
2010-03-05 11:28:13 +01:00
Christian Kamm
c3cc7cf4d8
Enhance data stored for macros and macro uses.
...
In preparation for finding macro uses.
* Macro: add offset and length
* MacroUse: add line
* Document: add convenience functions for finding a macro definition, use
or undefined use at a given location.
Reviewed-by: Erik Verbruggen
2009-12-21 14:57:05 +01:00
Roberto Raggi
51de95c497
Use the text editor revision to ignore outdated parse results.
2009-12-15 15:52:55 +01:00
Roberto Raggi
69c9a06342
Removed the call to QDir::cleanPath.
2009-12-07 11:20:16 +01:00
Roberto Raggi
60caec48d1
Store the documents in an hash.
2009-12-07 11:12:55 +01:00
Roberto Raggi
14376c3c32
Initial work on the new CPlusPlus::Snapshot.
...
Encapsulate the details.
2009-12-07 10:54:27 +01:00
Roberto Raggi
8741494f41
Rename dependsOn() in filesDepedingOn() and introduced Snapshot::dependencyTable().
2009-12-02 17:07:10 +01:00
Roberto Raggi
fade61a8a9
Use const literals.
2009-12-01 11:46:36 +01:00
Roberto Raggi
5d7def6d2a
Refactored the AST visitors.
...
Now, the ASTVisitor constructor takes a valid reference to a TranslationUnit.
2009-11-17 13:30:39 +01:00
con
43bccb41ed
Merge commit 'origin/1.3'
...
Conflicts:
src/plugins/debugger/debuggermanager.h
src/plugins/qmleditor/qmleditorplugin.cpp
src/plugins/qt4projectmanager/qt4runconfiguration.cpp
2009-11-11 16:14:29 +01:00
Roberto Raggi
0ae2d96a9b
Fixed the AST field names.
2009-11-10 16:47:16 +01:00
Roberto Raggi
36a0ea2bcb
Removed DeclarationListAST node.
...
Done with Erik Verbruggen
2009-11-10 16:20:09 +01:00
Friedemann Kleint
d2bd092b47
Code model: Fix Windows issues (duplicate matches).
...
Ensure the code model receives file names with clean paths ('/')
and fix paths in the relevant places of the code model. Pass on clean
paths from Cpp reference find and display them correctly in the search
window tooltip.
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com >
2009-11-09 13:53:28 +01:00
Roberto Raggi
eaa2c10a25
Introduced CppTools::CppModelManagerInterface::updateModifiedFiles().
...
updateModifiedFiles ckecks the timestamp and reparses all the modified files in the current snapshot.
2009-11-05 12:34:02 +01:00
Roberto Raggi
f829ef899c
Store in the document's macroUsages only the top-level macro expansions.
2009-10-15 16:25:10 +02:00
Roberto Raggi
8356d3360b
Delay the parsing of the document.
2009-09-30 16:13:43 +02:00
Christian Kamm
22ed0255b9
Track more macro uses.
...
In particular macros that are only checked for definition or are
expanded during the evaluation of an #if or #elif directive are now also
added to the list available through Document::macroUses().
The names of undefined macros that are interesting (because they're used
in an #ifdef or a defined(...)) are now available through
Document::undefinedMacroUses().
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com >
2009-09-25 16:08:01 +02:00
hjk
93cbef8724
long live the king
2009-08-14 09:30:56 +02:00
Roberto Raggi
1e7b406327
Added Snapshot::dependsOn().
...
Snapshot::dependsOn(fn) returns the files in the snapshot that depends on fn.
2009-07-29 10:18:07 +02:00
Roberto Raggi
37a146d05c
Introduced revisions in CPlusPlus::Document.
...
Reviewed by Thorbjørn Lindeijer
2009-07-14 14:24:02 +02:00
Roberto Raggi
fd4dbd7446
Introduced Snapshot::simplified(doc)
2009-07-10 12:42:55 +02:00
Roberto Raggi
fd8cd69a47
Introduced Document::CheckMode.
2009-06-26 09:11:14 +02:00
Roberto Raggi
0481176ea7
Highlight the locals.
2009-06-24 16:40:52 +02:00
Roberto Raggi
c222f2aa27
Some cleanup in the AST nodes.
2009-06-17 16:08:33 +02:00
Roberto Raggi
873838fe3a
Simplified TypeOf/ResolveExpression.
2009-06-17 11:19:43 +02:00
Jason McDonald
884b7af769
Update license headers and sales contact details.
...
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Roberto Raggi
e2a0a4d7c5
Keep the original encoded text around while preprocessing.
2009-06-15 15:39:20 +02:00
Roberto Raggi
dbba0ff8d7
Removed the filename literals.
2009-06-15 15:39:20 +02:00
Roberto Raggi
b18cb113da
Added Document::source()
2009-06-05 14:29:57 +02:00
Roberto Raggi
cd3022dc3e
Show all the warn messages.
2009-06-04 11:42:02 +02:00
Roberto Raggi
fd62025d63
Say hello to Snapshot::documentFromSource(), Snapshot::preprocessedCode() and Snapshot::globalNamespaceBinding().
2009-06-03 16:16:20 +02:00
Roberto Raggi
fde8ca4a16
Added Document::ParseDeclarator.
2009-03-30 15:08:21 +02:00
Roberto Raggi
e253f39360
Store the actual arguments of the macro expansions.
2009-03-04 11:47:30 +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
9539bb2b28
Less annoying syntax checker.
2009-02-10 23:33:40 +01:00
Roberto Raggi
56b48c2362
Fixes: Enable ObjC support.
2009-02-05 14:30:24 +01:00
Daniel Molkentin
59affcfffc
Bump year in licence header.
2009-01-13 19:22:14 +01:00