Commit Graph

52 Commits

Author SHA1 Message Date
con
ca14299790 Rename IPlugin::shutdown --> IPlugin::aboutToShutdown
Discussed-with: hjk
2010-04-28 17:32:01 +02:00
Alexey Semenko
793ca97016 Add "insert space after function name" option for GNU indenting
Reviewed-by: mae
Merge-request: 133
2010-04-08 17:06:23 +02:00
Friedemann Kleint
bbcacaf59f Header cleaning spree in Core/Debugger and Symbian/Maemo-code of Qt4. 2010-03-18 10:59:06 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +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
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
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
Thorbjørn Lindeijer
3f1b45b057 Implemented first-letter case-sensitive for completion as default
By default now only the first letter is case-sensitive. It is still
possible to choose full or no case-sensitivity as well.

Task-number: QTCREATORBUG-236
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2009-12-09 19:26:34 +01:00
Roberto Raggi
c13b8697d2 Introduced the quick fix engine 2009-11-13 16:14:38 +01:00
Friedemann Kleint
8335a06ed4 Code model: Update on changes from the versioning system.
Add changed signals to IVersionControl and
VCSManager and wire them to the update methods. Add a menu action for
manually updating. Improved version of reverted
7aa2411693.

Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2009-11-11 14:32:54 +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
con
17d9bd6b0a Rename QuickOpen namespace. 2009-10-16 11:30:46 +02:00
con
89d75814dd CppQuickOpenFilter --> CppLocatorFilter 2009-10-16 10:55:58 +02:00
Roberto Raggi
f820c1c776 Removed CppSemanticSearch & co. Find usages of a Symbol is way more powerful. 2009-10-09 11:13:59 +02:00
con
ddb7842761 Merge branch '1.3' of git@scm.dev.nokia.troll.no:creator/mainline into 1.3
Conflicts:
	src/plugins/cpptools/cppfindreferences.cpp
	src/plugins/cpptools/cpptoolsplugin.cpp
	src/plugins/texteditor/basefilefind.cpp
2009-10-05 17:26:13 +02:00
con
44e2704bc1 Refactor search result window for use of many items and checked state. 2009-10-05 16:01:50 +02:00
Friedemann Kleint
5948e284bb Rename namespace Core::Utils into Utils
Also move Designer::Internal::FormWindowEditor ->
Designer::FormWindowEditor.
2009-10-05 11:06:05 +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
Alessandro Portale
d3f9757916 Removing some unused semicolons after Q_UNUSED
There were both variants, with and without extra semicolon.
2009-07-13 17:35:17 +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
c44584b7ca Search the function calls 2009-06-09 15:56:45 +02:00
Roberto Raggi
132258753a More work on `Quick Fix'. 2009-06-09 13:52:52 +02:00
con
f6ff04a7be Integrate merge-request #567 into branch 'master'
Christian Hoenig (1):
      Implement CppCurrentDocumentFilter for symbols in current document

Request-url: http://gitorious.org/qt-creator/qt-creator/merge_requests/567
Reviewed-by: con <qtc-committer@nokia.com>
2009-06-04 14:46:21 +02:00
Roberto Raggi
c2a40ce9cf Introduced CppTools::Internal::SemanticSearch. 2009-06-03 10:50:33 +02:00
Roberto Raggi
381798ad69 Store the original C++ Document when searching. 2009-06-02 16:09:03 +02:00
Roberto Raggi
47b620e9fe Oops! use the right overload of QString::indexOf :-) 2009-06-02 15:32:45 +02:00
Roberto Raggi
7ee7055485 Initial support for semantic searches. 2009-06-02 14:56:30 +02:00
Christian Hoenig
575495b99b Implement CppCurrentDocumentFilter for symbols in current document 2009-05-30 10:43:07 +02:00
Thorbjørn Lindeijer
31dada8d92 Renamed braces to brackets
Since we're automatically inserting several kinds of brackets, but not
braces ({ }).
2009-05-26 12:05:05 +02:00
con
9ba5a81e9b Switch header source between .h and .mm files. 2009-05-04 17:11:10 +02:00
Friedemann Kleint
5740bd6410 Made cpp file suffixes take effect after restart.
In CppTools, keep cpp file settings in plugin and settings page
via shared pointer and apply to mime DB in
extensionsInitialized() (after CppEditor has loaded
and registered the mime types).

Task-number: 252299
2009-04-29 09:04:59 +02:00
Friedemann Kleint
bccf4a1fc3 Fixes: Introduce a cpp settingspage containing file naming conventions (lower case and suffixes). Reorder VCS settings pages.
Task: 241959, 248085

RevBy: Optics/Naming checked by con
Details: Give IOptionPage an id() to differentiate from trName(). Make showOptionsDialog return a bool (applied) and give it an optional parent. Change Cpp and form class wizards, give them a Configure... button to change those settings.
2009-03-18 16:43:01 +01:00
Thorbjørn Lindeijer
da4fcfbaf2 Fixed switching header/source with additional dots in the filename
For example when a file was called test.something.cpp, it would search
for test.h instead of test.something.h.
2009-03-16 11:27:45 +01:00
hjk
12018c89d6 Fixes: simplify ProjectExplorerPlugin::instance() access 2009-03-04 09:38:01 +01:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
hjk
1969b2ebc0 Fixes: some less caching of the ICore singleton pointer 2009-01-28 13:56:10 +01:00
Thorbjørn Lindeijer
6adecf3767 Avoid going through ICore when it's not necessary
Many singletons have their own instance() method, in which case there is
no need to use ICore::instance() to get access to them.
2009-01-21 15:55:33 +01:00
hjk
113b81e9db replace ExtensionSystem::PluginManager::instance()->getObject<Core::ICore>() by Core::ICore::instance() 2009-01-20 11:52:04 +01:00
hjk
cc5ff1ec74 Remove #include <extensionsystem/pluginmanager.h> from icore.h, a
forward declaration is sufficient.
2009-01-19 12:39:20 +01:00
con
fbfcc9a484 Fixes: - ICommand --> Command
Details:  - Naming convention
2009-01-14 13:18:25 +01:00
con
1e4c48a173 Fixes: - IActionContainer --> ActionContainer
Details:  - Conform to naming convention
2009-01-14 13:18:24 +01:00
Daniel Molkentin
59affcfffc Bump year in licence header. 2009-01-13 19:22:14 +01:00
con
c9889120c3 Fixes: - Rename ActionManagerInterface --> ActionManager
Details:  - To make it conform to naming convention.
2009-01-13 15:44:25 +01:00
con
123ef3db8e Fixes: - Switch Header/Source sometimes uses wrong file
Task:     - 237723
Details:  - Look in the same directory first, then go through project's
files.
2009-01-06 17:37:45 +01:00
dt
3ba192af7e Merge branch '0.9.1-beta' 2008-12-17 14:21:03 +01:00
Thorbjørn Lindeijer
9cf4074504 Added option to disable completion of common prefix
Some people don't like this.
2008-12-16 16:58:29 +01:00
Thorbjørn Lindeijer
1efe71992b Moved the CppHoverHandler to the CppEditor plugin
It used to be in CppTools, but since the hover handler only makes sense
in the context of the C++ editor, this is a better place.
2008-12-16 12:27:13 +01:00
Thorbjørn Lindeijer
011049dd40 Fixed saving of code completion settings
Save settings instead of crashing. Sorry about that!
2008-12-15 12:29:42 +01:00