con
ded5ed975a
Version bump
2010-03-31 18:06:02 +02:00
Thorbjørn Lindeijer
2d21060bc9
Added icons to options dialog categories
...
Some categories do not have icons yet, unfortunately.
2010-03-26 17:47:31 +01:00
Roberto Raggi
645cfb59ba
Ignore outdated parsing requests.
2010-03-24 15:54:13 +01:00
Thorbjørn Lindeijer
7f38b76083
Use a reference when possible
2010-03-18 16:16:51 +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
Friedemann Kleint
bbcacaf59f
Header cleaning spree in Core/Debugger and Symbian/Maemo-code of Qt4.
2010-03-18 10:59:06 +01:00
Roberto Raggi
bfaf247abd
Use Searching' instead of Sarching...'.
2010-03-17 14:37:55 +01:00
Erik Verbruggen
284b8d38e2
Put the DependencyTable calculation into the QFuture.
...
Done-with: Roberto Raggi
2010-03-17 14:20:17 +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
Roberto Raggi
c9e50605dd
Get rid of extra (non Creator-friendly) include paths.
2010-03-15 18:12:44 +01:00
Lasse Holmstedt
68c49a65e9
Plugin manager for enabling/disabling plugins
...
Go to About Plugins and enable/disable plugins from there.
Reviewed-by: mae
2010-03-12 16:02:42 +01:00
Christian Kamm
5a7858f5ec
Make sure the BackwardScanner has tokenized before asking for a string.
...
The problem was that for
Foo::Foo
(|)
when the user triggers completion at |, startOfLine() returns a token
that's not on the current line and not yet tokenized by that instance
of the BackwardScanner.
As a fix I explicitly ask the instance to tokenize up to the given
index.
Task-number: QTCREATORBUG-673
Reviewed-by: Roberto Raggi
2010-03-11 11:09:04 +01:00
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
Christian Kamm
9e75ff8ea2
Don't add the default arguments when completing function definitions.
...
Fixes QTCREATORBUG-787
Reviewed-by: Erik Verbruggen
2010-03-05 15:45:58 +01:00
hjk
9595504bda
Long live the king!
2010-03-05 11:28:13 +01:00
con
58703ba73d
Version bump.
2010-03-01 17:57:37 +01:00
dt
96e2fef626
Fix CppModelManager::parse broken in recent commit
...
Reviewed-by: Friedemann Kleint
2010-02-23 15:54:49 +01:00
Erik Verbruggen
2fee6b8a46
Fixed QTCREATORBUG-743
2010-02-22 17:34:06 +01:00
Friedemann Kleint
7d3d9cad32
Fix code model indexing crash on Mac.
...
Introduce multithread-locking to Core::MimeDatabase as it is
invoked from the indexer thread to sort apart headers and sources.
Add a convenience to operate on a sequence to avoid locking for each
file.
2010-02-22 16:00:47 +01:00
Erik Verbruggen
8de6ccc775
Revert "Split Objective-C keyword parsing to handle the '@' separately."
...
This reverts commit 2a59d2ae0c .
2010-02-15 12:24:31 +01:00
Erik Verbruggen
2a59d2ae0c
Split Objective-C keyword parsing to handle the '@' separately.
...
Because apparently, while designing the Objective-C language, somebody
thought it was a world-class idea to allow any white-space between the
'@' character and the subsequent keyword. With this fix, we now
correctly parse:
@ dynamic
and:
@
selector
and:
@"foo"
"bar"
@"mooze"
(This last one is 1 single string split over multiple lines.)
Wonderful, isn't it?
What we (and Clang) do not support, but what GCC supports is something
like:
@"foo"@@ "bar" @"mooze" @@
which is equivalent to @"foobarmooze".
2010-02-15 09:27:00 +01:00
Friedemann Kleint
674486a7fa
CppCodeModelSupport: functionAt: Prepend namespaces to name.
...
To improve CDB debugger tooltips which go via the function name.
2010-02-04 15:16:35 +01:00
Wolfgang Beck
e134e24919
Source update.
2010-02-03 13:21:08 +10:00
Friedemann Kleint
f672bff338
Fix some code scanning issues.
...
foreach()-Loops.
2010-02-01 14:00:07 +01:00
Friedemann Kleint
2fd8b2d7ff
Fix some code scanning issues.
...
QString: Use QChar where appropriate.
2010-02-01 12:43:56 +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
Roberto Raggi
1ba889a1bf
Generalized the filtering of completion items.
2010-01-26 11:44:45 +01:00
Thorbjørn Lindeijer
49d511502f
Fixed compile warning
2010-01-20 17:58:49 +01:00
Wolfgang Beck
4b33881729
Merge ichecker branch changes into the mainline. New project can be found under src/tools/ICheck
2010-01-19 15:26:08 +10:00
Thorbjørn Lindeijer
f3b738bb66
Reuse local snapshot reference
2010-01-14 11:54:11 +01:00
con
7199223a6e
Merge remote branch 'origin/1.3'
...
Conflicts:
doc/qtcreator.qdoc
doc/qtcreator.qdocconf
src/app/Info.plist
src/plugins/bineditor/BinEditor.pluginspec
src/plugins/bookmarks/Bookmarks.pluginspec
src/plugins/cmakeprojectmanager/CMakeProjectManager.pluginspec
src/plugins/coreplugin/Core.pluginspec
src/plugins/coreplugin/coreconstants.h
src/plugins/cpaster/CodePaster.pluginspec
src/plugins/cppeditor/CppEditor.pluginspec
src/plugins/cppeditor/cppeditor.cpp
src/plugins/cpptools/CppTools.pluginspec
src/plugins/cvs/CVS.pluginspec
src/plugins/debugger/Debugger.pluginspec
src/plugins/debugger/debuggeragents.cpp
src/plugins/debugger/gdb/gdbengine.cpp
src/plugins/designer/Designer.pluginspec
src/plugins/fakevim/FakeVim.pluginspec
src/plugins/find/Find.pluginspec
src/plugins/genericprojectmanager/GenericProjectManager.pluginspec
src/plugins/git/ScmGit.pluginspec
src/plugins/helloworld/HelloWorld.pluginspec
src/plugins/help/Help.pluginspec
src/plugins/locator/Locator.pluginspec
src/plugins/perforce/Perforce.pluginspec
src/plugins/projectexplorer/ProjectExplorer.pluginspec
src/plugins/qmleditor/QmlEditor.pluginspec
src/plugins/qmleditor/idcollector.cpp
src/plugins/qmleditor/idcollector.h
src/plugins/qmleditor/parser/qmljsglobal_p.h
src/plugins/qmleditor/qmlcodecompletion.cpp
src/plugins/qmleditor/qmlcodeformatter.cpp
src/plugins/qmleditor/qmlcodeformatter.h
src/plugins/qmleditor/qmlexpressionundercursor.cpp
src/plugins/qmleditor/qmllookupcontext.cpp
src/plugins/qmleditor/qmlresolveexpression.cpp
src/plugins/qmleditor/qmlsymbol.cpp
src/plugins/qmleditor/qmlsymbol.h
src/plugins/qmlprojectmanager/QmlProjectManager.pluginspec
src/plugins/qt4projectmanager/Qt4ProjectManager.pluginspec
src/plugins/qtscripteditor/QtScriptEditor.pluginspec
src/plugins/regexp/RegExp.pluginspec
src/plugins/resourceeditor/ResourceEditor.pluginspec
src/plugins/snippets/Snippets.pluginspec
src/plugins/subversion/Subversion.pluginspec
src/plugins/texteditor/TextEditor.pluginspec
src/plugins/vcsbase/VCSBase.pluginspec
src/plugins/welcome/Welcome.pluginspec
src/shared/qml/parser/qmljsast.cpp
src/shared/qml/parser/qmljsast_p.h
src/shared/qml/parser/qmljsastfwd_p.h
src/shared/qml/parser/qmljsastvisitor.cpp
src/shared/qml/parser/qmljsastvisitor_p.h
src/shared/qml/parser/qmljsengine_p.cpp
src/shared/qml/parser/qmljsengine_p.h
src/shared/qml/parser/qmljsgrammar.cpp
src/shared/qml/parser/qmljsgrammar_p.h
src/shared/qml/parser/qmljslexer.cpp
src/shared/qml/parser/qmljslexer_p.h
src/shared/qml/parser/qmljsmemorypool_p.h
src/shared/qml/parser/qmljsnodepool_p.h
src/shared/qml/parser/qmljsparser.cpp
src/shared/qml/parser/qmljsparser_p.h
2010-01-12 18:02:04 +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
Roberto Raggi
3ec38cbe5b
Keep the snapshot around when performing a global completion
2010-01-12 12:31:27 +01:00
con
a24738ffab
Fixes: Diff editors don't get correct name.
...
They were no longer showing e.g. the file name of the diffed file.
Also separate editor id and editor context a bit.
2010-01-11 16:54:30 +01:00
Roberto Raggi
421f5323f1
Split CppCodeCompletion::startCompletion().
2010-01-11 14:08:15 +01:00
Tobias Hunger
a6ad773722
Make method naming more consistent.
...
* Use id() for methods returning a string used to represent
some type of object.
* Use displayName() for strings that are meant to be user
visible.
* Quieten some warnings while touching the files anyway.
* Move Factories to their products in the plugins where that
was not done before.
Reviewed-by: dt
2010-01-07 18:17:24 +01:00
con
2e495e7075
Version bump.
2010-01-07 18:17:10 +01:00
Thorbjørn Lindeijer
aeaaa39225
Use the completion case sensitivity settings also for relevance
...
Avoids some annoyance for people using case-sensitive completion, when
unrelated completions items would get higher relevance because they
start with the typed string when matched case-insensitively.
In case-insensitive mode, a case-sensitive prefix match now does get a
higher relevance than a case-insensitive match.
Reviewed-by: con
2010-01-07 15:42:08 +01:00
ck
dedea5ea19
Move Q_DECLARE_OPERATORS_FOR_FLAGS out of namespaces.
...
If this macro is used inside a namespace, it hides global operators.
Reviewed-by: hjk
2010-01-07 13:53:48 +01:00
Christian Kamm
f90f9e4879
Find macro uses.
...
Reviewed-by: Erik Verbruggen
2009-12-21 14:57:05 +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
con
6c27faf0fc
Remove unused code.
2009-12-21 12:11:15 +01:00
con
1a95f6f205
Implement string based search & replace in multiple files.
...
This uses the same UI as "Rename Symbol".
Moves the actual rename implementation to a static method in
BaseFileFind and uses it for rename symbol and search & replace.
Moves the signal notification for the code model from VCSManager to
the more general FileManager.
Note that as for rename symbol, there's no undo yet.
Task-number: QTCREATORBUG-73
2009-12-21 11:08:52 +01:00
Daniel Molkentin
3cf861a8ce
Add windows definitions to make the code model happy.
...
__stdcall for all compilers (MSVC and MinGW, possibly others may use it)
__w64 is MSVC only, deprecated there, but still used in some places
Reviewed-By: Roberto Raggi
(cherry picked from commit 5832c6b584 )
2009-12-18 13:57:32 +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
Tobias Hunger
8fbe994053
Fix warning about use of uninitialized value
...
Reviewed-by: thorbjorn
2009-12-15 10:16:02 +01:00