This code is moved from the gcc toolchain into the ABI class
so that the debugger can reuse it.
Change-Id: I9932f41f69eff9ce5982cfb1f0a2e0add33b91c9
Reviewed-by: hjk <hjk121@nokiamail.com>
If escape is pressed within 400ms after invoking completion,
it is popped again
Change-Id: Ibf34af22def54bc9a18d804ac9ee471f075eae96
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
Otherwise it is passed on to other widgets (like the Find toolbar)
Task-number: QTCREATORBUG-5748
Change-Id: I3e7fe19327d2b3d15c9c9f84360b936dc4698dfd
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
a || (!a && b) === a || b
Change-Id: I3d3b602fa496a7d5a1f57a95ebedf30748429850
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Remove handling of parsers reporting fatal errors from the qmake based
makestep and add it to abstractprocessstep instead. This makes the
osparser work with all build systems.
Change-Id: I1044d0e6002d2157946e0342fe060991ffe37ffa
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
The only os specific issue handled at this time is windows not wanting
to overwrite binaries that are still running. Make that message trigger
a build issue and provide a hint how to handle it.
Task-number: QTCREATORBUG-9100
Change-Id: Id0b270202b67b0b7d555392cb35b0e2ebcbc8fad
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Also allow changes to the icon while at it.
Task-number: QTCREATORBUG-9787
Change-Id: Id2abbd11f12b7e0f577655932b5b2aac4d3bba7c
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* Fix the parser
* Add a unit test for this
Change-Id: I202f845e12c9b6203444f3bb12d7a9229c8a2887
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
The api_paste_name parameter actually is a description/title.
Introduce new PostUserNameCapability to enable user name control.
Task-number: QTCREATORBUG-9996
Change-Id: I4a40dd88b2a8844fb6f27ba01e47226e2a61a042
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
...otherwise they add up and subsequent tests checking for the error count will
fail:
FAIL! : tst_AST::objc_try_statement_1() Compared values are not the same
Actual (diag.errorCount): 5
Expected (0): 0
Loc: [/home/nikolai/dev/creator/qtcreator-master/tests/auto/cplusplus/ast/tst_ast.cpp(1400)]
...
Change-Id: I8b4356331e95dceb1e99bb26e6ebf4591d70a08c
Reviewed-by: David Schulz <david.schulz@digia.com>
So far candidates were prefix matched case sensitive which led to
an unfavorable results order.
With this patch, if the input is lower case, the prioritizing happens by
a case insensitive prefix match. Otherwise the match happens case
sensitive (just like before).
Example:
Search for e.g. "m cppmodelmanager"
Top result before: AbstractEditorSupport (match at parameter type)
Top result now: CppModelManager
Change-Id: Ic27042cfe717be812a2237a3437399597c98dd74
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: David Schulz <david.schulz@digia.com>
Add QGenericPlugin to Library-Wizard.
And change default to this.
Change-Id: Iad21e4c66ef9a47e7ac5e437ed11af7e50d91112
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
this will centralize some conditionals further down the line
Change-Id: I53b26cc29ac3fa098a583d6ac4d28924e5a1f2a3
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Utils::Function wraps std::function or std::tr1::function to give
polymorphic function wrappers, i.e. a way to accept function pointers
or functors as arguments as long as they have the correct signature.
Change-Id: I4032264cf6b84ef647f790c566543633b4d0653b
Reviewed-by: hjk <hjk121@nokiamail.com>
When we open project and do not open any file, then open 'Type Hierarchy'
(from combobox) we see "No type hierarchy available"(and this is ok). Then
if we open any file and we try to see 'Type Hierarchy'(Ctrl+Shift+T) then we
still see "No type hierarchy available"(and this is not ok).
It will also happens if we save a session with opened "Type Hierarchy".
This change fixes this. Additionally when we select something for which there
is no 'Type Hierarchy' then it displays "No type hierarchy available".
Task-number: QTCREATORBUG-9819
Change-Id: Ib6a152f481057098f3d8a4335bb2d4a31fc5e1ef
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
* When a dialog initiated by the locator is closed
* When the main window loses focus
Task-number: QTCREATORBUG-9953
Change-Id: Iff923320e7f1cc9a633d3a6a9bee1fa49b41bb68
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Example code:
float fun()
{
return 0;
}
Hovering in the area behind the function without args(but in the same line,
in above example after "float fun()") will bring up tooltip with returned
value of this function(in the above example it will be "float").
Fixed by checking this special case after gathering results for tooltip
and don't show confusing tooltip.
Task-number: QTCREATORBUG-4780
Change-Id: Iab2bacddf33a70d5ea941001a2dd317c824d9db5
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
Use the same syntax already used in the custom wizard to denote
variables that are modified to be lower-/title-/uppercase:
$tESt:u$ will become TEST
$tESt:c$ will become TESt
$tESt:l$ will become test
The snippet will be inserted without any name mangling happening.
Once the editing is done the name mangling is applied to all fields.
Change-Id: I7c1f5a1ad2bb5acf1b88b54de51bb39391c64763
Reviewed-by: David Schulz <david.schulz@digia.com>
* Move the code to parse snippets into the snippet class
* Allow to escape $ so that this character can be used in
snippets
* Add unit tests for the snippet parsing
Change-Id: I134f3c0de8290e1d7fcaf808577b31f5ac8fbc63
Reviewed-by: David Schulz <david.schulz@digia.com>