- Dec 03, 2013
-
-
Orgad Shaneh authored
Change-Id: I19fb785372291f66b756cf5be1fc941870c304c3 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Nov 27, 2013
-
-
Nikolai Kosjar authored
The MoveDeclarationOutOfIf quick fix modified a IfStatementAST in case there were several such ASTs in interface->path(). The resulting AST was invalid (else_statement was pointing to 'this' afterwards), thus the afterwards executed PointerDeclarationFormatter (an ASTVisitor) was not able to finish his visit. The actual problem was that op->pattern in the match() calls was not reset. Task-number: QTCREATORBUG-10919 Change-Id: Ifbcac73e75690321ef45b6d8c2dc32fcea236efa Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Nov 12, 2013
-
-
Nikolai Kosjar authored
For the quick fix InsertDefOperation ("Add Definition ...") the order of the offered operations is reversed to better support the typical use case of inserting the definition in the corresponding source file. Change-Id: I0cc502663c43fdeb4773a99d2cd5ae8ddf62f9f0 Reviewed-by:
Christian Kandeler <christian.kandeler@digia.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Oct 17, 2013
-
-
Nikolai Kosjar authored
Task-number: QTCREATORBUG-10366 Change-Id: I6d5af5e7a59f3867141c8d7f098128d3db532ee5 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Oct 10, 2013
-
-
Nikolai Kosjar authored
Only methods as programming functions are affected. Besides renaming some actions like "Switch Between Function Declaration/Definition" this mostly touches (api) code comments. This is a follow-up patch to commit 872bfb70. Change-Id: Icb65e8d73b59a022f8885b14df497169543a3b92 Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- Oct 07, 2013
-
-
Lorenz Haas authored
When a class was directly assigned to a variable the definition was misplaced right after the variable. Task-number: QTCREATORBUG-10303 Change-Id: I2cdfee784b085d856d7ff5ebe62bf791b9a6754e Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Oct 01, 2013
-
-
Joerg Bornemann authored
Task-number: QTCREATORBUG-9617 Change-Id: I6c6313746b837775bab665bb7019a2adf0b0f286 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Sep 30, 2013
-
-
Lorenz Haas authored
Rewrites post increment/decrement operators (++ and --) as pre increment/decrement operators and moves non string/numeric literals and non id expressions from loops condition to loops initializer. Change-Id: Id95334b6df6fcaa9af436cc1d2d0982d38bf8fe2 Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Sep 20, 2013
-
-
hjk authored
Change-Id: I4e6f573d893c0aa2bb4ca9812fc8db2961dac172 Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
- Sep 12, 2013
-
-
Joerg Bornemann authored
This function is generally useful when dealing with free functions. Change-Id: I52c0057b587d81c4b0eddac24e4d7659f80cf840 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Aug 22, 2013
-
-
Nikolai Kosjar authored
Change-Id: Ia36e7e7142dbc030a428369ed04e76e70e8eef0b Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Jul 25, 2013
-
-
Nikolai Kosjar authored
Change-Id: I216b74933f5e94c49be7f05f0b09ac01b3319d8c Reviewed-by:
Aurindam Jana <aurindam.jana@digia.com>
-
- Jul 18, 2013
-
-
Eike Ziller authored
This also fixes a bug with setting text cursor in InsertDefOperation in case of split editors (where the cursor could be set in a non-active editor on the target file). Change-Id: I1c011386537bc88a89d4d66bec79dfe06faac3c6 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com> Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Jul 17, 2013
-
-
Orgad Shaneh authored
Change-Id: I1309db70e98d678e150388c76ce665e988fdf081 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- Jul 16, 2013
-
-
Nikolai Kosjar authored
...in order to better tell apart the type related functions isScope()/asScope() and the functions dealing with enclosing scopes: * scope() --> enclosingScope() * setScope() --> setEnclosingScope() * resetScope() --> resetEnclosingScope() Change-Id: Id743a7d1b6a1a1a0ffcd8568cbd8ebbdfc16eaa1 Reviewed-by:
Fawzi Mohamed <fawzi.mohamed@digia.com>
-
- Jun 25, 2013
-
-
Nikolai Kosjar authored
* Affected quick fixes: InsertDefFromDecl, MoveFuncDefOutside * Fix also reformating pointer declaration of operator functions for qualified name ids Change-Id: I6a7578f496221557d103f5fdbb5dacc9540ee779 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Jun 24, 2013
-
-
Lorenz Haas authored
Now InsertDefFromDecl finds the right implementation file and the speed of match() is improved. Task-number: QTCREATORBUG-9627 Change-Id: Ibff824f52124e8cc10ccb6a97c133e11565473db Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Jun 20, 2013
-
-
Lorenz Haas authored
Consequent use of insertLocationForMethodDefinition respects the surrounding namespace when moving/inserting definitions. Task-number: QTCREATORBUG-2676 Task-number: QTCREATORBUG-9332 Change-Id: I6d83cf84d844dd4773900d03563581c88befa7b7 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Jun 18, 2013
-
-
Lorenz Haas authored
With this patch it is checked if the function/new-expression is used in a function call or return statement the whole AST down to the translation unit. Task-number: QTCREATORBUG-9525 Change-Id: I34b30ee64b9436c9c9d2586c28fd22f148bee892 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Nikolai Kosjar authored
Task-number: QTCREATORBUG-9570 Change-Id: I4bdc0f900bdf8e6e5fce8668a8c6b23bcd67abff Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com>
-
- Jun 17, 2013
-
-
Lorenz Haas authored
When triggering move or insert definition outside and no other class symbol is found in the file, the definition is moved or inserted right after the enclosing Class. Change-Id: I74ffa872015753ba7372e21b868d3cf7fa49e84a Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Nikolai Kosjar authored
For the quick fix AddIncludeForUndefinedIdentifier, if no class is found via the locator, check the "Qt include paths" for a header file with the same name as the class name. Task-number: QTCREATORBUG-9538 Change-Id: I13c86844c2ff653fa479dc91eb109af2a6d76fae Reviewed-by:
Lorenz Haas <lykurg@gmail.com> Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- Jun 13, 2013
-
-
Lorenz Haas authored
Task-number: QTCREATORBUG-9525 Change-Id: Ibe6c054c289f564a073a455f9b200bfffe5868eb Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Lorenz Haas authored
Change-Id: I15e54d8508ed4b958d8b21d12e4f45eed4f939f3 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Tobias Hunger authored
Change-Id: If9499ac3b63c9d045e9c3af4017028dc69c8655b Reviewed-by:
Lorenz Haas <lykurg@gmail.com> Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Jun 12, 2013
-
-
Lorenz Haas authored
Now definitions are inserted at the same position inside the implementation file for MoveFuncDefOutside and InsertDefFromDecl. Task-number: QTCREATORBUG-9389 Change-Id: If823ffd15ec39a7bc2edb53519380cb9cabb4c55 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Jun 11, 2013
-
-
Nikolai Kosjar authored
...to be consistent with inserting "Outside Class" and "in xxx.cpp". Change-Id: I32a43153d5d3bdec9fae0be731484a26b108c438 Reviewed-by:
Lorenz Haas <lykurg@gmail.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
...by detecting include groups (separated by new lines, include types and same dir prefix). Task-number: QTCREATORBUG-9317 Change-Id: I73e80fdc715104901cb2d4f5b15b4cab5d04d305 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
Change-Id: Id107b6c1f34f594c5a01502c156963c964235ed7 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Lorenz Haas authored
Do not trigger for functions inside a function call. Task-number: QTCREATORBUG-9510 Change-Id: I908483fe80ff3ac0f737b21061375e206c1b1d1d Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Jun 04, 2013
-
-
Nikolai Kosjar authored
* Move initializer lists completely * Respect whitespace as it is Task-number: QTCREATORBUG-9462 Task-number: QTCREATORBUG-9463 Change-Id: Id9c41394b4aa55b0a85957286ab42f2ce8966c08 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
Change-Id: I43f09042a525a798d95b3365873be24eafd423e9 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Erik Verbruggen authored
Also make sure that "Apply function signature change" gets to the top of the list. Task-number: QTCREATORBUG-9441 Change-Id: Iaf67f8ea9c99ddfc973e610f7e0f4c35b7967629 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- May 24, 2013
-
-
Lorenz Haas authored
By default virtual functions of QObject, QWidget and QPaintDevice are unchecked by default. Change-Id: I863c3f63ee92d2ddc6f533bd8a65740e87503165 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Lorenz Haas authored
Change-Id: Ife5f34d410781d3c1ae75a3bf1c412f7d76dca80 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Lorenz Haas authored
Change-Id: Ib0b110ac80d9519461a6ba6cf5b7c77925ed2ea5 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Lorenz Haas authored
Task-number: QTCREATORBUG-9321 Change-Id: I31ac75a480b30ef26f343557088c4bbe5e95c4c6 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- May 16, 2013
-
-
Robert Loehning authored
Change-Id: I82e891a73724cdfa0db8c84e9daeb72e00e87029 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- May 15, 2013
-
-
Lorenz Haas authored
"Add Definition Inside/Outside Class" was wrongly shown when there was already an definition outside the class. Change-Id: I6409080c6a1a3abdd4511f7db14ecb4f63458411 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- May 14, 2013
-
-
Leena Miettinen authored
Words longer than 5 characters are always capitalized when book-style caps are used. Change-Id: I61d34aab74eb2fa3028681ef36b553347a0c34b1 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-