Commit Graph

929 Commits

Author SHA1 Message Date
hjk
cc5ff1ec74 Remove #include <extensionsystem/pluginmanager.h> from icore.h, a
forward declaration is sufficient.
2009-01-19 12:39:20 +01:00
hjk
266ee2a468 remove ProjectExplorerInterface and ExtensionSystemInterfaces files 2009-01-14 15:08:46 +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
Roberto Raggi
df56b1069d Don't add the objc++ keywords to the completion box. 2009-01-14 12:35:55 +01:00
Daniel Molkentin
59affcfffc Bump year in licence header. 2009-01-13 19:22:14 +01:00
Friedemann Kleint
71ef39629c Windows compile warning 2009-01-13 17:55:02 +01:00
Thorbjørn Lindeijer
59c8b93309 Modified IOptionsPage interface for Apply button
The previous interface wasn't sufficient to properly support the Apply
button, since it didn't separate applying the changes from the cleanup
phase.

Designer settings pages still need some fixing.

Fixes Apply button causing problems for certain plugins, for example the
QuickOpen.
2009-01-13 16:03:55 +01:00
con
281c462d24 Fixes: - ProgressManagerInterface --> ProgressManager
Details:  - Conform to conventions.
2009-01-13 15:44:26 +01:00
con
5f3faaff19 Fixes: - ProgressManager --> ProgressManagerPrivate 2009-01-13 15:44:26 +01:00
con
c9889120c3 Fixes: - Rename ActionManagerInterface --> ActionManager
Details:  - To make it conform to naming convention.
2009-01-13 15:44:25 +01:00
Thorbjørn Lindeijer
34cc807b36 Fixed crash in function argument widget
It didn't make sure its Function* stayed valid. Now it does, by keeping
a copy of the list of CppDocuments (the snapshot) around.
2009-01-13 13:18:26 +01:00
Thorbjørn Lindeijer
171a3bb8d2 Fixed compilation problem with gcc 3.3
Reviewed-by: Roberto Raggi
2009-01-08 15:09:21 +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
Roberto Raggi
85babacb5a Replace a. with a[0]. when `a' has type array of T. 2009-01-05 15:25:44 +01:00
Roberto Raggi
f0ac751f4a Completion for typedef of pointer to struct. 2008-12-31 10:57:27 +01:00
Roberto Raggi
c7b023c0e1 Renamed SymbolsForDotAccess to ResolveClass. 2008-12-30 12:03:49 +01:00
Roberto Raggi
12ee869eda Simple typedef support for T_ARROW member access. 2008-12-30 11:45:41 +01:00
Roberto Raggi
f6f0c81021 Improved CppCodeCompletion::completeScope(). Added simple support for typedefs. 2008-12-30 11:35:30 +01:00
Roberto Raggi
a985b59d40 Initial support for typedefs. 2008-12-29 11:53:40 +01:00
Roberto Raggi
e325aa38d9 Nicer implementation of CPlusPlus::Macro. 2008-12-22 13:55:42 +01:00
Roberto Raggi
753ddb7ce0 Some cleanup in the C++ preprocessor.
Introduced pp-scanner.cpp, renamed `pp' to `Preprocessor' and removed useless #includes.
2008-12-22 11:40:53 +01:00
goro
a51b70b51c Bump version from 0.9.1 to 0.9.2 2008-12-18 12:51:08 +01:00
Thorbjørn Lindeijer
12e4f2b2ee Some code simplification in CompletionSettingsPage 2008-12-18 09:03:05 +01:00
dt
3ba192af7e Merge branch '0.9.1-beta' 2008-12-17 14:21:03 +01:00
dt
791217bad4 Merge branch '0.9.1-beta' of git@scm.dev.nokia.troll.no:creator/mainline into 0.9.1-beta 2008-12-16 17:25:17 +01:00
dt
29dfc72f1a Fixes: Nokia Technology Preview License -> Nokia Beta Version License
Details:  in all pluginspecs.
2008-12-16 17:24:14 +01:00
hjk
da3cb14483 chancge Nokia GPL exception version from 1.2 to 1.3 2008-12-16 17:20:00 +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
687e353b6f Moved dependency on QtHelp
Necessary because the CppHoverHandler uses QtHelp and moved from
CppTools to CppEditor.
2008-12-16 15:13:52 +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
Thorbjørn Lindeijer
78f1fca9aa Added configuration options for code completion
It is now possible to choose between case-sensitive or case-insensitive
completion. Also, you can now disable the automatic insertion of braces.
2008-12-15 11:42:43 +01:00
Thorbjørn Lindeijer
5c5167717f Renamed cpptools.cpp to cpptoolsplugin.cpp
To match the class name, CppToolsPlugin.
2008-12-15 11:42:43 +01:00
mae
5b8cff20fe Merge branch '0.9.1-beta' of git@scm.dev.nokia.troll.no:creator/mainline into 0.9.1-beta 2008-12-12 12:36:50 +01:00
mae
364a869e38 check for !doc 2008-12-12 12:08:02 +01:00
Roberto Raggi
0145a3dea9 Look at the signed/unsigned specifiers when checking function return types. 2008-12-12 10:40:25 +01:00
Roberto Raggi
aed481dec8 Don't hardode -O3 optimization level for cpptools. 2008-12-12 10:09:47 +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
4679f38a87 Fixed code completion when using macros in the expression's code (e.g. in qApp->). 2008-12-11 11:28:29 +01:00
Roberto Raggi
d454607264 Implemented tooltip and lookat for #include directives. 2008-12-10 17:21:28 +01:00
Thorbjørn Lindeijer
037a9bb579 Set the help id for macros to their name
Enables F1 for opening their help pages. Seems to work nicely.
2008-12-10 12:09:17 +01:00
Thorbjørn Lindeijer
a6c6b2c4ae Fixed macro tooltip overriding type information
The macro tooltip is supposed to be a fallback, since otherwise you
won't be able to see type information for macro parameters.

Reviewed-by: Roberto Raggi
2008-12-10 12:09:17 +01:00
Thorbjørn Lindeijer
1e8b9167ef Sort C++ QuickOpen with less than 1000 results
In this case it's fast enough and sorting the list makes it easier to
find what you're looking for.

Though because of the substring matching, what you're looking for might
still be way down the list.

Reviewed-by: con
2008-12-09 17:19:35 +01:00
Thorbjørn Lindeijer
5f544b4daf Added the CppFunctionsFilter to QuickOpen
In the GUI this is currently called "Methods" with the shortcut 'm'.
2008-12-09 17:19:35 +01:00
Thorbjørn Lindeijer
0e27bc5aa3 Exclude anonymous symbols from the QuickOpen
They're not overly useful to have in there, since they don't have a name
you could type to jump to them.

Reviewed-by: Roberto Raggi
2008-12-09 16:32:51 +01:00
Roberto Raggi
9653f4b7e9 Fixed macro locations. 2008-12-09 16:20:21 +01:00
Roberto Raggi
20e36cc364 tooltip for macro definitions. 2008-12-09 15:24:26 +01:00
hjk
4a552ead9f use QTC_ASSERT instead of Q_ASSERT 2008-12-09 15:25:01 +01:00
Roberto Raggi
02488eebe4 More cleanup in the CppPreprocessor. 2008-12-08 14:49:53 +01:00