dt
90c1c8f54d
Cancel a previous update code model
2010-03-10 17:02:24 +01:00
Erik Verbruggen
417a1c9f28
Fixed QTCREATORBUG-745.
...
Fixed crash in FindUsages on a dirty file in a large project, which is saved
while the FindUsages is still running.
2010-03-09 17:38:02 +01:00
hjk
9595504bda
Long live the king!
2010-03-05 11:28:13 +01:00
Oswald Buddenhagen
75b42f18d8
Merge remote branch 'origin/1.3'
...
Trailing whitespace removal re-applied manually.
2010-01-29 22:50:23 +01:00
Oswald Buddenhagen
a6ca348636
remove trailing whitespace
...
doing it in 1.3 as well to avoid possible later conflicts
2010-01-29 21:33:57 +01:00
dt
60c8686ed8
Add the precompiled headers to the project info
...
QMake passes those headers directly to gcc, so the user doesn't need to
include themselves.
2010-01-12 13:19:15 +01:00
Christian Kamm
f90f9e4879
Find macro uses.
...
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
aa8a670669
Hide the implementation details of CppModelManagerInterface::WorkingCopy.
2009-12-15 15:26:40 +01:00
Roberto Raggi
b168eec2a1
Replaced the hardcoded QHash<QString, QString> with CppModelManagerInterface::WorkingCopy.
2009-12-15 15:16:46 +01:00
Roberto Raggi
bdb4e48ebf
Store the working list in a QHash.
2009-12-07 12:47:45 +01:00
Roberto Raggi
60caec48d1
Store the documents in an hash.
2009-12-07 11:12:55 +01:00
con
e4b1a25dd2
Revert "Code model: Update on changes from the versioning system."
...
This reverts commit 7aa2411693
.
It breaks the code model updates completely. So reverting this change
until we have the right thing.
Reviewed-by: Roberto Raggi
2009-11-10 18:19:37 +01:00
Friedemann Kleint
7aa2411693
Code model: Update on changes from the versioning system.
...
Add state logic to CppCodeModelManagerInterface, making it aware whether
an indexer is running, protect the update methods from another
invocation while running. Add changed signals to IVersionControl and
VCSManager and wire them to the update methods. Add a menu action for
manually updating.
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com >
Reviewed-by: con <qtc-committer@nokia.com >
2009-11-09 15:57:56 +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
420b09e8c2
Expose CppModelManagerInterface::workingCopy()
2009-10-12 10:38:00 +02:00
Roberto Raggi
73320a43d1
Added `Find Usages' of a Symbol.
2009-10-05 15:17:48 +02:00
Roberto Raggi
b5d6bf73d6
Ensure the user can stop a semantic search and added a method to get a pointer to the ModelManagerInterface.
2009-10-05 13:43:05 +02:00
Roberto Raggi
ace380ec28
Make the symbols used in the current editors.
2009-09-30 13:25:59 +02:00
Roberto Raggi
8848be4caa
Find references
2009-09-23 16:52:41 +02:00
Thorbjørn Lindeijer
51d2c831b9
Fix crash in include completion with non-canonical include paths
...
Use QFileInfo::fileName() to get the filename, since that also works
when the original path wasn't canonical.
2009-08-20 19:49:54 +02:00
hjk
93cbef8724
long live the king
2009-08-14 09:30:56 +02:00
Thorbjørn Lindeijer
00f7dd4586
Do the scanning for include files in the background
...
In order to speed up completion for include statements.
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com >
2009-07-24 12:52:42 +02:00
Friedemann Kleint
696cfa0432
Add a license template setting to the CppTools settings.
...
Acked-by: con <qtc-committer@nokia.com >
2009-06-22 16:22:15 +02:00
Jason McDonald
884b7af769
Update license headers and sales contact details.
...
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Friedemann Kleint
0e3aa47fcd
Added ToolTip support for CDB.
...
Make debugger tooltip API more general, have the engines check the
correct file type, figure out the expression and context from the text
editor.
Put common functionality in watchutils.cpp. In the CDB engine, check
whether a tooltip expression is a known variable within the stack frame
context. If so, retrieve via symbol group or dumpers. Cache by function
and expression.
Reviewed-by: hjk <qtc-committer@nokia.com >
2009-05-14 14:29:37 +02:00
dt
5c9916478f
First step towards dynamic ui completion. Add hooks in cppmodelmanager
...
This adds a way for plugins to tell the cppmodel that for certain files,
the actual contents come from it, instead of reading from the disk.
(For texteditors the cppmodel does that automatically.)
Reviewed-By: Roberto Raggi <roberto.raggi@nokia.com >
2009-05-12 14:44:57 +02:00
hjk
8ca887aae2
Fixes: change file license headers to include LGPL
2009-02-25 09:15:00 +01:00
hjk
113b81e9db
replace ExtensionSystem::PluginManager::instance()->getObject<Core::ICore>() by Core::ICore::instance()
2009-01-20 11:52:04 +01:00
Daniel Molkentin
59affcfffc
Bump year in licence header.
2009-01-13 19:22:14 +01:00
hjk
da3cb14483
chancge Nokia GPL exception version from 1.2 to 1.3
2008-12-16 17:20:00 +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
d74ddb76b6
Protected m_dirty and m_projects with a mutex.
2008-12-08 10:45:27 +01:00
hjk
df7aacd637
more file cosmetics
2008-12-02 15:08:31 +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
con
05c35356ab
Initial import
2008-12-02 12:01:29 +01:00