- 11 Dec, 2013 2 commits
-
-
Nikolai Kosjar authored
Mostly reordering files alphabetically. Change-Id: Ibad1fa75559218fe488d1b31c7200ba4ff6131fe Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
...and rename it to FunctionUtils. Change-Id: If076ec01fd82e8ba728764bdeab7e87e8bc1ff3b Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- 10 Dec, 2013 2 commits
-
-
Erik Verbruggen authored
Change-Id: I12561ae0dc0e1912b3aefde92deff7b8da84e3be Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Nikolai Kosjar authored
...instead going the way over CppClass. This makes FunctionHelper::overrides independent of the cppeditor plugin. Change-Id: Ifaedb94da1f67b3876e06cce9e745aaf3c1050a7 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- 05 Dec, 2013 1 commit
-
-
David Schulz authored
Change-Id: I3c3ae623beab55259179aaf0613d2bc5aaad1c28 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- 04 Dec, 2013 3 commits
-
-
Orgad Shaneh authored
Change-Id: I2fdf1c72b3e5ffe25b5184c1161a803c4427945b Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Orgad Shaneh authored
Change-Id: I086076cc58c78430e025a78703a028610024ed23 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Orgad Shaneh authored
Required for correct resolving of first virtual appearance Change-Id: I2307027f769fb2f4c0942f4aa4e0d2b5327562b5 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- 03 Dec, 2013 2 commits
-
-
Orgad Shaneh authored
Change-Id: I19fb785372291f66b756cf5be1fc941870c304c3 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Nikolai Kosjar authored
This takes too much memory. For qtcreator.pro the numbers are as follows: Patch applied: ~ 1600MB (RES) Patch reverted: ~ 510MB (RES) This reverts commit 4c2daa90. Task-number: QTCREATORBUG-10973 Change-Id: I843bd7c1ea4a26a1ec55ddc14c2a34a98d040922 Reviewed-by:
hjk <hjk121@nokiamail.com> Reviewed-by:
Robert Loehning <robert.loehning@digia.com> Reviewed-by:
Eike Ziller <eike.ziller@digia.com> Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- 29 Nov, 2013 1 commit
-
-
Nikolai Kosjar authored
This adds definitions for the macros __FILE__, __LINE__, __DATE__ and __TIME__ on demand. As a side effect, this also introduces highlighting for the uses of these macros. Task-number: QTCREATORBUG-8036 Change-Id: Ib7546c7d45d2eecbc50c7883fc684e3497154405 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com> Reviewed-by:
Eike Ziller <eike.ziller@digia.com> Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- 28 Nov, 2013 4 commits
-
-
Orgad Shaneh authored
Change-Id: Iffb7e667098050ceb38eab40d4ed7850bf3bea94 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Orgad Shaneh authored
For easier diff Change-Id: I34effdc85c4bef51b80f5763e1522162c2b64b4e Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Orgad Shaneh authored
Step 1 Change-Id: I1416df4e152be231be386209ca1f360be31c58c6 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Orgad Shaneh authored
Needed for easier diff for upcoming refactoring... Change-Id: I779b25d09a03fc1ed54e2ba35946678a5e863265 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- 27 Nov, 2013 4 commits
-
-
Nikolai Kosjar authored
Task-number: QTCREATORBUG-20 Change-Id: If6349605e1f396e88c8e3e008328fc2cac8a4119 Reviewed-by:
hjk <hjk121@nokiamail.com> Reviewed-by:
Przemyslaw Gorszkowski <pgorszkowski@gmail.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
Change-Id: I6f6982b2e07bb1277d805ce48160afb25f33c7ae Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
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>
-
Nikolai Kosjar authored
Change-Id: I519428496c3139a0ff97ab28d291853eca19887d Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- 25 Nov, 2013 1 commit
-
-
Przemyslaw Gorszkowski authored
If the cursor is at the end of the virtual function name but before '(' then scope is a function. Task-number: QTCREATORBUG-10294 Change-Id: I83699d3fa33bc0f33d6524fa6d84cfc2b9e71f85 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- 22 Nov, 2013 1 commit
-
-
Nikolai Kosjar authored
The wrong LookupContext/Document was used to lookup the type. Task-number: QTCREATORBUG-10353 Change-Id: Iac501ca368543716b5f38b6d2bec474ab585e189 Reviewed-by:
David Schulz <david.schulz@digia.com>
-
- 21 Nov, 2013 3 commits
-
-
Erik Verbruggen authored
This was done to do a semantic re-highlight, but the CppEditorSupport now handles this by also listening for currentEditorChanged signals. Change-Id: Iaca6212f88c8d02203727f5d89d093c328b9e33c Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Nikolai Kosjar authored
...for c style multiline comments and doxygens "///" and "//!". Task-number: QTCREATORBUG-10856 Change-Id: I84a4f95ba9e676991484e45bb0f64be996ac3be9 Reviewed-by:
Ulf Hermann <ulf.hermann@digia.com> Reviewed-by:
David Schulz <david.schulz@digia.com>
-
Orgad Shaneh authored
Change-Id: I7b859a7304cb2a6e19eabf114345b31fe11d98b1 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- 20 Nov, 2013 1 commit
-
-
Przemyslaw Gorszkowski authored
For "includes" we should use snapshot from "SnapshotUpdater"(project specific snapshot, not global snapshot) instead of "global" snapshot. The snapshot of the editor's SnapshotUpdater contains the documents parsed with the appropriate include paths/defines etc. and should therefore be used for the include hierarchy. Change-Id: I6bbaf5040536b771d32697aad1db364758ff8382 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- 19 Nov, 2013 6 commits
-
-
Nikolai Kosjar authored
Change-Id: If4a680bdd00c566661232ffb63b1573d8826a493 Reviewed-by:
Orgad Shaneh <orgads@gmail.com>
-
Orgad Shaneh authored
When function has a different return type Change-Id: I1178e7e2c6b7e074a3737aaef597ebeff8d776dc Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Orgad Shaneh authored
Change-Id: Ia34c661364acda585c286bc1ef756b3554630657 Reviewed-by:
Orgad Shaneh <orgads@gmail.com>
-
Orgad Shaneh authored
Change-Id: I07dcb0fecd6d3927d49ff100228da88eb4601f8b Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Orgad Shaneh authored
Change-Id: If1214142a6ea3fe21bfac5f21f0781284aec922e Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Orgad Shaneh authored
* Use more data functions * Better use of QEXPECT_FAIL * Less noise when adding a test Change-Id: I0ebc4eaf2bf9f2bcff3be25bbe6c14e3087f8c56 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- 15 Nov, 2013 3 commits
-
-
Orgad Shaneh authored
When class has a virtual destructor Change-Id: Ifcc9a05ee1eb1144ed7e035b9f077846fcb96cf3 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Orgad Shaneh authored
Instead of building the hierarchy from the most basic class that implements the virtual function, start from the looked up class. Change-Id: Ia674fbb4a92dd45d4ca7bc621c54b411264cbe3d Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Przemyslaw Gorszkowski authored
Very simple tests for include hierarchy model: * test if checked file includes one file * test if checked file is included by one file * test if checked file includes one file and is included by one file Change-Id: I3688f9ddb86a569f780fc156bdfcf6b81a9fb0c1 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- 14 Nov, 2013 1 commit
-
-
Orgad Shaneh authored
Change-Id: I8413252c90a1487d291f15d92837c30ab697b245 Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- 12 Nov, 2013 4 commits
-
-
Nikolai Kosjar authored
...when searching the overrides for virtual functions. In case there is no override for the static type of a function call expression, make sure to: 1) include the last provided override (look up bases) 2) and all overrides whose classes are derived from that static type Task-number: QTCREATORBUG-10470 Change-Id: I2c01bfdc6cb35c5a01a000ebd81a2b322ce2b795 Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
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>
-
Nikolai Kosjar authored
Change-Id: Ifbc2adeff83cbef9841da872e15a5b9dd8379a3d Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Erik Verbruggen authored
- fix memory leak in find-usages - do not retain snapshot in search history - when an editor is invisible for more than 2 minutes, release the backing snapshot Retaining snapshots will retain their documents, and if done for too long, the memory consumption might grow. This is especially the case when switching to a different kit (Qt version): in that case, the new versions of headers will be indexed, while the old ones stay around. Task-number: QTCREATORBUG-5583 Task-number: QTCREATORBUG-7645 Task-number: QTCREATORBUG-9842 Change-Id: I045eda1565e0a3fa702baeffaab9c12662f90289 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com> Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- 31 Oct, 2013 1 commit
-
-
Nikolai Kosjar authored
- Moves the findMatchingClassDeclaration() call from FollowSymbolUnderCursor::findLink into VirtualFunctionsAssistProcessor since we already have a SymbolFinder there - Make canLookupVirtualFunctionOverrides a class member because we plan to add some methods - Better parameter names/order for FunctionHelper::overrides() Change-Id: I0a93ff5445352d47e808adad45485e520f06946e Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-