Commit Graph

61 Commits

Author SHA1 Message Date
Leena Miettinen
cf233161fa Doc - UI - Fix UI text capitalization to follow the KDE Style Guide rules.
Reviewed-by: ossi
2010-05-14 15:53:56 +02:00
Daniel Molkentin
bf95a99c51 New texts for the wizard types in the new dialog
Reviewed-by: Leena Miettinen
2010-05-12 14:16:49 +02:00
con
ca14299790 Rename IPlugin::shutdown --> IPlugin::aboutToShutdown
Discussed-with: hjk
2010-04-28 17:32:01 +02:00
Daniel Molkentin
8d32f7f283 Fix translation of C++ category 2010-04-09 17:28:02 +02:00
Daniel Molkentin
8dc3b90e41 More clear naming for the C++ wizard categories.
Also introducing Constants::WIZARD_CATEGORY and
Constants::WIZARD_TR_CATEGORY for consistency with
other wizards
2010-04-09 17:20:09 +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
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
Friedemann Kleint
6771aafb9c FileIconProvider: Refactor class.
Streamline code, avoid functions and container.end() invocations,
introduce private, reduce #ifdefs, clarify code and add
comments about usage on various platforms.
Implement QFileIconProvider interface, making it usable for file system
models. Use in FolderNavigationWidget. On this occasion, add checkable
"Synchronize" action to FolderNavigationWidget.
Task-number: QTCREATORBUG-62
2010-01-28 15:47:58 +01:00
con
d4be77b48f Reorder the "new" wizard categories. 2010-01-15 11:07:50 +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
Friedemann Kleint
0e554fac91 Wizards: Sort
Introduce new QString id() const-API and sort wizards by
[untranslated] category and id. Introduce respective constants.
Rubber-stamped-by: con <qtc-committer@nokia.com>
2009-11-27 10:33:24 +01:00
hjk
218ac78ae9 cppeditor: fix book style capitalization 2009-11-25 13:46:33 +01:00
Roberto Raggi
bab8c94f13 Show the quickfixes in the context menu. 2009-11-23 16:55:25 +01:00
Roberto Raggi
8fd0777ab0 Ensure the document is updated before invoking a quickfix. 2009-11-18 15:15:00 +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
d6c37e1e13 Disable the find usage and symbol renaming while indexing is done.
Reviewed-by: Roberto Raggi
2009-11-04 16:08:42 +01:00
dt
ceaa92ecbb Set correct mime type for C++ files. 2009-10-13 17:18:23 +02:00
Roberto Raggi
91f8a2992b Use CTRL+SHIFT+U as shortcut for the `Find Usages of a symbol'.
Done with mae
2009-10-07 11:14:45 +02:00
Roberto Raggi
73320a43d1 Added `Find Usages' of a Symbol. 2009-10-05 15:17:48 +02:00
Roberto Raggi
6054f970d4 Removed the `Find References' action 2009-09-29 18:23:36 +02:00
Roberto Raggi
d42475fd90 Enable find references. 2009-09-29 14:41:43 +02:00
mae
600fc9b218 cpp editor actions
remove some standard actions from the cpp editor context menu,
and enhance the advanced menu instead.
2009-09-24 14:51:40 +02:00
Roberto Raggi
f8725cf9f3 Add `Find References' of a symbol to the context menu only when the environment variable QTCREATOR_REFERENCES is defined. 2009-09-23 16:52:42 +02:00
Roberto Raggi
8848be4caa Find references 2009-09-23 16:52:41 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
Roberto Raggi
90e7bac4d8 Made `Rename Symbol under Cursor' a command/action. 2009-08-04 13:44:54 +02:00
mae
4b24de2866 extend cpp editor's context menu with auto-indent and un-comment-selection
(user request)
2009-07-22 15:33:24 +02:00
Thorbjørn Lindeijer
8234858b46 Register C++ header and source file icons by mime type
Makes sure that all files recognized by the CppEditorFactory get the
proper icon.
2009-07-15 11:20:24 +02:00
Norwegian Rock Cat
c3de6ca4d0 Have the file tree use the native icons on Mac OS X.
Also synchronized suffixes to match what is in the xml file.
2009-07-14 16:37:26 +02:00
Jens Bache-Wiig
4d21936bb4 Fixes: Set icons for .hpp and .c files
Details:
Added one new purple icon for .c files and registered
the same icon for .hpp extensions.
2009-07-14 15:50:46 +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
132258753a More work on `Quick Fix'. 2009-06-09 13:52:52 +02:00
Thorbjørn Lindeijer
5b132339a7 Rely on lazy instantiation of text editor actions
The actions are already lazily instantiated in
TextEditorActionHandler::setupActions(), so there should be no need to
call initializeActions() in all plugins on startup. Only the main text
editor plugin will still initialize its actions, to make sure the menu
items are there.
2009-05-26 12:05:05 +02:00
Daniel Molkentin
83d451be32 Make strings consistant, part. descriptions in the 'New' wizard. 2009-05-25 13:45:12 +02:00
Thorbjørn Lindeijer
092d8ca964 Restored changes to the overview combo that accidentally got reverted
Accidentally reverted in commit 713105ad85.
Thanks to Christian Hönig for notifying.
2009-04-27 17:27:36 +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
0a48bd8731 Unduplicated the code that initializes editor settings
This stuff was all over the place, a relic from before the editor
settings were unified. Now the initialization is only done in
TextEditorSettings.

Fixes the .pro file editor and the generic project files editor, which
before only used the font settings.
2009-03-17 18:25:45 +01:00
Thorbjørn Lindeijer
a952a9bfa8 Rename CppPluginEditorFactory to CppEditorFactory
I couldn't find it since it was both hidden in the cppplugin.cpp file as
well as having an unnecessarily long name.
2009-03-17 18:25:45 +01:00
Thorbjørn Lindeijer
0694e3af3b Removed CPPEditorActionHandler
Didn't add anything to the TextEditorActionHandler.
2009-03-17 18:25:45 +01:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
Jens Bache-Wiig
629a4778a2 Fixes: Improved file icons
Details:
This patch makes use of system icons as a base
and draws overlay on top. This should blend a bit better
into the native icon theme.
2009-01-27 12:42:19 +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
897c05f57c replace Core::ICore::instance()->pluginManager() by ExtensionSystem::PluginManager::instance() 2009-01-20 15:31:33 +01:00
hjk
113b81e9db replace ExtensionSystem::PluginManager::instance()->getObject<Core::ICore>() by Core::ICore::instance() 2009-01-20 11:52:04 +01:00