con
57cd26548e
Version bump also in master.
2009-06-04 11:00:28 +02:00
con
49f8a55533
Merge commit 'origin/1.2'
2009-06-04 10:59:01 +02:00
Oswald Buddenhagen
d2a8449bea
ifdef Q_?S_* cleanup
...
- clear up some Q_OS_LINUX vs. Q_OS_UNIX
- clear up Q_WS_* vs. Q_OS_* (relatively theoretical exercise)
- use proper #if-#else cascades instead of free-standing #ifs
2009-06-03 20:54:59 +02:00
Roberto Raggi
bb9ae8aa4f
Check for missing Q_OBJECT macro.
2009-06-03 16:53:18 +02:00
Roberto Raggi
4bc6256942
cleanup
2009-06-03 16:29:49 +02:00
Roberto Raggi
d18b0195e5
Introduced CPlusPlus::FastPreprocessor.
2009-06-03 15:51:37 +02:00
Roberto Raggi
5134206e78
We need a valid name to resolve namespace symbols.
2009-06-03 15:46:36 +02:00
Roberto Raggi
a1c6efbd43
cleanup
2009-06-03 14:55:56 +02:00
Roberto Raggi
b78200221b
Warn for undefined namespaces in using namespace directives.
2009-06-03 14:16:13 +02:00
Roberto Raggi
7b44f1749a
Run the binding pass
2009-06-03 12:13:22 +02:00
con
2ac1f797ad
Merge commit 'origin/1.2'
...
Conflicts:
src/plugins/coreplugin/welcomemode.ui
2009-06-03 11:36:49 +02:00
Roberto Raggi
c2a40ce9cf
Introduced CppTools::Internal::SemanticSearch.
2009-06-03 10:50:33 +02:00
Roberto Raggi
4081f1c7e7
Warning for undefined base classes.
2009-06-02 16:50:43 +02:00
Roberto Raggi
381798ad69
Store the original C++ Document when searching.
2009-06-02 16:09:03 +02:00
con
e9b2613dc0
Version bump.
2009-06-02 15:34:58 +02:00
Roberto Raggi
47b620e9fe
Oops! use the right overload of QString::indexOf :-)
2009-06-02 15:32:45 +02:00
Roberto Raggi
e8ba82f1f4
Protected modelmanager's snapshot.
2009-06-02 15:28:16 +02:00
Roberto Raggi
7ee7055485
Initial support for semantic searches.
2009-06-02 14:56:30 +02:00
Thorbjørn Lindeijer
653757e781
Fixed HTML escaping issues in the function argument widget
...
HTML escaping was moved out of the TypePrettyPrinter since it interferes
with other logic there. Instead, the region to mark is now available
from the Overview and used by the FunctionArgumentWidget to put the
current argument in bold.
2009-05-28 11:00:33 +02:00
Thorbjørn Lindeijer
6b178a6402
Still trigger completion for signals and slots
...
Was missing in commit efc0b20859 .
Reviewed-by: Roberto Raggi
2009-05-27 13:12:00 +02:00
Thorbjørn Lindeijer
efc0b20859
Made typing parenthesis even faster
...
Only attempt to activate the completion when there is a function id on
the left of the parenthesis.
Reviewed-by: Roberto Raggi
2009-05-27 11:38:57 +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
Roberto Raggi
33b11f23d3
Fixed prettyprint of template types.
2009-05-19 12:33:55 +02:00
Roberto Raggi
339cb43454
Removed hidden function declarations from the overloaded function set.
2009-05-19 12:17:51 +02:00
Alessandro Portale
0c9e8b23a0
Polishing Settings Ui:
...
Putting Cpp file settings into a GroupBox
2009-05-18 11:35:59 +02: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
Christian Hoenig
c11d24ada0
Use up/down arrows for function completion widget.
...
As this is how it is navigated by keyboard.
Reviewed-by: con <qtc-committer@nokia.com >
2009-05-13 11:06:44 +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
Enrico Ros
bca4d9698d
Remove unneeded strings from translation.
2009-05-11 18:29:49 +02:00
Alessandro Portale
6fa838ab1b
Rename "Workbench" to "Qt Creator"
2009-05-08 16:43:16 +02:00
Alessandro Portale
2be7226215
Rename qworkbenchplugin.pri to qtcreatorplugin.pri
2009-05-08 16:42:48 +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
dt
8f738dfcc8
Add the *.pluginspec to OTHER_FILES so that we can use Locator for them
...
Hopefully i didn't miss a plugin.
2009-04-22 15:06:58 +02:00
Oswald Buddenhagen
c5df15003b
add some missing Q_OBJECTs
2009-04-20 16:51:10 +02:00
Oswald Buddenhagen
6d5eeb7afb
add missing tr()s, etc., add some //: comments
2009-04-20 16:51:10 +02:00
con
423744e4e1
Version bump.
2009-04-08 11:47:14 +02:00
con
de6a0cfea9
Version bump.
2009-04-08 11:45:30 +02:00
con
2e1ecb5c1b
Function argument widget was closing too early.
...
In case the completion shortcut contained the escape key (Mac xcode-like
shortcut settings).
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com >
2009-04-08 10:29:59 +02:00
Thorbjørn Lindeijer
6d0f973f75
Better name for method to pick the completion collector
...
isValid -> supportsEditor
2009-04-07 16:02:51 +02:00
Thorbjørn Lindeijer
3c91cd8b38
Fix position of function argument hint with multiple screens
...
Was always on the first screen since the screen number was determined
incorrectly. Thanks to Christian Hönig for reporting the issue.
Reviewed-by: Daniel Molkentin
2009-04-06 17:51:55 +02:00
Roberto Raggi
6635ddbde5
Introduced ICompletionCollector::isValid(editor).
2009-04-02 10:41:37 +02:00
hjk
a01c9c961b
cpptool: sort entry that start with a given string towards the top of
...
the quickopenfilter
Reviewed-by: Roberto Raggi
2009-03-31 15:56:09 +02:00
Thorbjørn Lindeijer
5d8ee0d742
Moved some complicated checks into convenience functions
2009-03-26 16:54:20 +01:00
Thorbjørn Lindeijer
0a99fef5a3
Avoid automatically inserting unwanted closing parentheses
...
This is for the case of function overloads where one overload takes no
parameters. Solved by keeping track of the duplicate count.
Done with Roberto Raggi.
2009-03-26 15:40:53 +01:00
Thorbjørn Lindeijer
ece7c9afd7
Keep the function argument widget on the screen
...
Done with Roberto Raggi.
2009-03-26 15:13:48 +01:00
Thorbjørn Lindeijer
760126c9b5
Fixed invoking global completion as function parameter
...
Done with Roberto Raggi.
2009-03-26 15:13:48 +01:00
Thorbjørn Lindeijer
9cd0895601
Improved function argument widget
...
Done with Roberto Raggi.
2009-03-26 15:13:47 +01:00
Thorbjørn Lindeijer
86e400c9dc
Trigger function argument widget on comma
...
Done with Roberto Raggi.
2009-03-26 13:01:39 +01:00
Thorbjørn Lindeijer
208adbaaca
Improved check for "scope token"
...
For example, don't keep triggering scope completion on bunch of colons.
Done with Roberto Raggi.
2009-03-26 13:01:39 +01:00