- Jan 07, 2014
-
-
Nikolai Kosjar authored
Closing an editor might trigger a timer which leads to the invocation of the garbage collector. This is unfavourable for the plugin tests since a test function closing an editor might influence a subsequent test function (e.g. files get removed from the global snapshot although they were added shortly before). Change-Id: Ia80c11f99e2437fe145dc2d983b21962539b5181 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
QVERIFY/QCOMPARE are meant to be called in the test function so that on failure they just can "return" and thus skip subsequent code. Since we use reusable test code in the test functions (the *TestCase classes), we need to ensure that on failure no further test code is executed. This mostly inlines the run function of the test classes into the constructor. Change-Id: I320ee032bdde0174ddfe3fdf3f9e18e19abf1d7f Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
* Unify class names * Fix coding style Change-Id: I7498192ba9e6b9fc0e97d3d4f0dbb30f1853a0c9 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
Move common functionality of the 12 test classes into base classes. Change-Id: If64d3cec876807ac6f991151189860a99b8ff4ca Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Dec 12, 2013
-
-
Nikolai Kosjar authored
...when updating the code model. Change-Id: Ifc55b7d0bb795b9cfd72465990991bc2cc907846 Reviewed-by:
Christian Stenger <christian.stenger@digia.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Oct 08, 2013
-
-
Orgad Shaneh authored
Deleting an editor while currentEditorChanged is apparently not a good idea. Use a queued connection instead. This reverts commits 243a6259, 447c4ed3, d9602ca5 and 31034870. Change-Id: Iccbee25fb77714963faa6f7184d1f5f53ed348a6 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com> Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- Oct 02, 2013
-
-
Nikolai Kosjar authored
Regression introduced by commit 190fb448. Change-Id: Ibd47b6d316e5ae976fb448aad5062eb5887f10e6 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
Change-Id: I76d5e421258eda85907e56762a59894ce7f84f13 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Oct 01, 2013
-
-
Nikolai Kosjar authored
Change-Id: Ia641c70f8c72cf762cf571cdd505385d28492b7c Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Sep 13, 2013
-
-
Nikolai Kosjar authored
Change-Id: I23e88c8a04f82d51651038b38faf07057244fede Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
* Always display qualified ids in the ':' filter * Show correct qualified ids (for some symbols the namespace was shown twice) Task-number: QTCREATORBUG-10136 Change-Id: Id178cb4b8abcc316250fa16e5f3e5a8e72bc0c10 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Aug 30, 2013
-
-
Nikolai Kosjar authored
Until now the locator filters CppLocatorFilter, CppClassesFilter and CppFunctionsFilter used unnecessarily their own SearchSymbols instance. The results were also saved separately, which was unfavorable since e.g. the functions and classes data could be shared. Starting with this patch an instance of LocatorData will serve all mentioned filters. This saves about 20MB of memory after indexing the Qt Creator project. Change-Id: I8a34b67eb9fe0e5c68ba6e7c8f576389c78efc6f Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@digia.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
The left column of the locator filter displayed the fully qualified name, which is a bit too long... Regression introduced by commit 760aa0f8. Change-Id: I57fb44cd205c6e54158de22b6638e4a28014749c Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
hjk authored
Change-Id: I3255a0150cd9a730336456c5a9f986eb74fefbff Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
- Aug 26, 2013
-
-
Nikolai Kosjar authored
If the user input contains "::", match against the qualified symbol name. Otherwise, as before, match against the unqualified symbol name. This applies to the function and class filters and allows to narrow down the results by using a namespace prefix, e.g. "c core::*category". Change-Id: Id152f412740e27f2f2d001dc7008dba8a92a37ce Reviewed-by:
David Schulz <david.schulz@digia.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
This will make it easier to use a single SearchSymbols instance and a single run serving all locator filters. Change-Id: Idb6a3693ad356227d46d0b28fb4c3a5db62b4ac4 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Aug 22, 2013
-
-
Nikolai Kosjar authored
...in order to test more entries. Change-Id: I990f55dd3c9c2c7d079a4fb3dcc92467bf1d1568 Reviewed-by:
David Schulz <david.schulz@digia.com>
-
Nikolai Kosjar authored
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>
-
- Aug 20, 2013
-
-
Nikolai Kosjar authored
Change-Id: Ie290c07c07c13134a57f328e9ae876b2af6974db Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Aug 19, 2013
-
-
Nikolai Kosjar authored
Change-Id: Ie71aa8a39f4584a024a4f104841ad8e57947e489 Reviewed-by:
David Schulz <david.schulz@digia.com>
-