Jason McDonald
884b7af769
Update license headers and sales contact details.
...
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Roberto Raggi
d08b90b494
Merge branch '1.2' of git@scm.dev.nokia.troll.no:creator/mainline
2009-06-11 11:32:47 +02:00
Thorbjørn Lindeijer
0da4881c3e
Made case-insensitive code completion really case-insensitive
...
There was still some "smartness" that made uppercase characters match
case-sensitive, regardless of the case-sensitivity setting. This annoyed
or at least confused many people who prefer case-insensitivity.
Reviewed-by: con
2009-06-10 16:25:59 +02:00
Roberto Raggi
132258753a
More work on `Quick Fix'.
2009-06-09 13:52:52 +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
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
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
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
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
Thorbjørn Lindeijer
8912f4db98
Initial work on better function argument widget
...
Done with Roberto Raggi.
2009-03-26 11:18:09 +01:00
Roberto Raggi
437bbd00e5
Don't insert `(' when completing ambiguous symbols.
2009-03-17 14:46:35 +01:00
hjk
8ca887aae2
Fixes: change file license headers to include LGPL
2009-02-25 09:15:00 +01:00
Roberto Raggi
e2079e3269
Look at the char at the left of \ or @.
2009-02-23 17:54:08 +01:00
Roberto Raggi
5f7ab722b0
Use the std keyword icon for doxygen tags.
2009-02-20 12:57:16 +01:00
Roberto Raggi
a976385b44
Code completion of doxygen tags.
2009-02-20 12:55:18 +01:00
Roberto Raggi
4c5ff047f0
Initial support for doxygen comments.
2009-02-20 11:52:27 +01:00
Roberto Raggi
0ef213dfdd
Nicer implementation of ::completeScope()
2009-02-18 16:02:01 +01:00
hjk
f3141d99c4
Merge branch '1.0.0'
...
Conflicts:
src/plugins/coreplugin/editormanager/stackededitorgroup.cpp
src/plugins/debugger/gdbengine.cpp
2009-02-17 17:56:18 +01:00
Thorbjørn Lindeijer
b32198d736
Fix size problems on reusing function argument widget
...
We now hide the parent QFrame while updating the label to work around
the problem where the it wouldn't shrink the widget.
2009-02-17 15:11:56 +01:00
Roberto Raggi
7044809139
Cleanup
2009-02-17 12:12:14 +01:00
Roberto Raggi
c2f61a76e1
Merge branch '1.0.0' of git@scm.dev.nokia.troll.no:creator/mainline
2009-02-17 11:52:56 +01:00
Roberto Raggi
c020250556
Fixes: Constructor completion.
2009-02-17 11:50:56 +01:00
Thorbjørn Lindeijer
a26bef5ff4
Ignore undefined macros in macro completion
...
Done with Roberto Raggi
2009-02-17 11:25:58 +01:00
Thorbjørn Lindeijer
3230017eaf
Merge branch '1.0.0'
...
Conflicts:
src/libs/cplusplus/Overview.h
src/libs/cplusplus/TypePrettyPrinter.cpp
src/plugins/cpptools/cppcodecompletion.cpp
2009-02-16 18:42:22 +01:00
Thorbjørn Lindeijer
d94dd392cb
Reuse the function argument widget when possible
...
Now that we're showing this thing instantly, we can no longer rely on
the thing hiding cause of a focus change.
(cherry picked from commit 5a0a084c31 )
Conflicts:
src/plugins/cpptools/cppcodecompletion.cpp
2009-02-16 18:34:56 +01:00
Thorbjørn Lindeijer
100a6254f6
More intelligent function argument widget
...
Now it shows immediately when there is only a single signature of a
given method/constructor.
(cherry picked from commit 8b9dd766c8 )
Conflicts:
src/plugins/cpptools/cppcodecompletion.cpp
2009-02-16 15:15:43 +01:00
Thorbjørn Lindeijer
9aa86f9135
Completion for constructors used on initialization
...
Deals with cases like "QString s(", but for the moment doesn't handle
yet "QString const s(".
Done with Roberto Raggi.
(cherry picked from commit fca3ec1f32 )
2009-02-16 15:08:38 +01:00
Thorbjørn Lindeijer
e539a9375b
Avoid inserting characters that are already there
...
When completing, don't insert "();" characters when they're already
there. Skip them instead.
(cherry picked from commit 86427ecf62 )
Conflicts:
src/plugins/cpptools/cppcodecompletion.cpp
2009-02-16 14:54:41 +01:00
Thorbjørn Lindeijer
7c71b1bf38
Fixed crash on updating function argument widget
...
Crashed for example in the case of template instantiation. To make sure
the Function* stays valid, we need to not only keep around the Snapshot
but the whole LookupContext.
Done with Roberto Raggi.
2009-02-16 11:20:11 +01:00
Thorbjørn Lindeijer
5a0a084c31
Reuse the function argument widget when possible
...
Now that we're showing this thing instantly, we can no longer rely on
the thing hiding cause of a focus change.
2009-02-13 15:58:12 +01:00
Thorbjørn Lindeijer
8b9dd766c8
More intelligent function argument widget
...
Now it shows immediately when there is only a single signature of a
given method/constructor.
2009-02-12 12:06:32 +01:00
Thorbjørn Lindeijer
a33ae02927
Revert now unnecessary checks for null-types
...
This reverts commits:
c721304a47
885d908ea3
a0909989f7
fb4ad59ddb
0a9a67cf54
0d1624d4d1
d018cfd5cb
0504fdd00b
a2fd10fe19
Conflicts:
src/plugins/cpptools/cppcodecompletion.cpp
Reviewed-by: Roberto Raggi
2009-02-10 17:41:04 +01:00
Thorbjørn Lindeijer
c721304a47
Fix for crash when doing signal completion
2009-02-10 16:43:23 +01:00
Thorbjørn Lindeijer
86427ecf62
Avoid inserting characters that are already there
...
When completing, don't insert "();" characters when they're already
there. Skip them instead.
2009-02-10 13:01:19 +01:00
Roberto Raggi
a0909989f7
Fixes: Possible crash in completeMember.
2009-02-10 12:43:47 +01:00
Roberto Raggi
0a9a67cf54
Fixes: Possible crash when completing constructors.
2009-02-09 20:59:39 +01:00