- 17 Jun, 2015 1 commit
-
-
Jarek Kobus authored
Init all class member pointers to NULL. This fixes possible crash on exit when dependent plugin was not loaded (e.g. TextEditor was missing). In this case plugin's constructor gets called, initialize() method is _not_ called and destructor gets called -> crash. Properly delete dependent plugins on a plugin which failed to initialize properly. Fix labels of deleted plugins inside an error dialog after pressing "Error Details" from "Installed Plugins" dialog. Change-Id: Iddc029a0f07dcba2501d734d142fb0e69e9383d3 Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
- 02 Apr, 2015 1 commit
-
-
Kai Koehne authored
This avoids unnecessary detaches of the Qt container data. The mismatches where detected by defining QT_STRICT_ITERATORS; however, this define violates the ODR (causing linker errors), and therefore is not added permanently. Change-Id: Idd336a9c8b394214a820437ef1b92d2101f6101c GPush-Base: 62b0848bReviewed-by:
Daniel Teske <daniel.teske@theqtcompany.com>
-
- 01 Apr, 2015 3 commits
-
-
Eike Ziller authored
Task-number: QTCREATORBUG-11826 Change-Id: Ia033c1f8c69bbb2c757a0d8284c56168ad88155c Reviewed-by:
Daniel Teske <daniel.teske@theqtcompany.com>
-
Eike Ziller authored
Instead of implicitly disabling plugins if their dependencies are disabled, implicitly enable plugins if some enabled plugin needs it. That will avoid issues if people disable plugins (e.g. QmlJSTools et al) and we later add one of these as a dependency to another plugin (e.g. make QmakeProjectManager depend on QmlJSTools), which resulted in the previously enabled plugin being implicitly disabled. Enabling a plugin in About Plugins now asks for all required dependencies to be enabled as well. Disabling a plugin in About Plugins now asks for disabling all plugins that require it. Using the -noload command line option now disables all plugins that require it in addition. Using the -load command line option now implicitly enables all plugins that are required. Multiple -noload and -load options are handled in the order given on the command line. Task-number: QTCREATORBUG-9131 Change-Id: I0956106105060a7898a8992e0629009d5ec3ea4d Reviewed-by:
Daniel Teske <daniel.teske@theqtcompany.com>
-
Eike Ziller authored
Prefer enabled state as a property as opposed to disabled state, and make setter correspond to getter. Also move setters into private. Change-Id: I5d002a12f4e540d5b38cc5865490d056ec75f296 Reviewed-by:
Daniel Teske <daniel.teske@theqtcompany.com>
-
- 24 Mar, 2015 1 commit
-
-
Orgad Shaneh authored
By default, a clean settings path is used for test environment. All the default plugins are loaded, although they're not needed. This change significantly improves loading time for tests. Change-Id: I24254f3e538e3f0e6d233d0989738dc1ce238209 Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
- 16 Mar, 2015 1 commit
-
-
Nikita Baryshnikov authored
Change-Id: I895d0ae48c36030e58aea1676873bd285680a661 Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
- 09 Mar, 2015 1 commit
-
-
Orgad Shaneh authored
Instead of transforming to absolute paths in the client, pass the working directory and leave it to the target. Change-Id: I4f8724c8857e89a7ee77116c78cf8b25c56795fa Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
- 06 Feb, 2015 1 commit
-
-
Orgad Shaneh authored
Mostly done using the following ruby script: Dir.glob('**/*.cpp').each { |file| next if file =~ %r{src/shared/qbs|/qmljs/} s = File.read(file) s.scan(/^using namespace (.*);$/) { ns = $1 t = s.gsub(/^(.*)\b#{ns}::((?!Const)[A-Z])/) { |m| before = $1 char = $2 if before =~ /"|\/\/|\\|using|SIGNAL|SLOT|Q_/ m else before + char end } if t != s puts file File.open(file, 'w').write(t) end } } Change-Id: I919da493d0629b719d328e5e71c96a29d230dfd1 Reviewed-by:
Christian Kandeler <christian.kandeler@theqtcompany.com> Reviewed-by:
hjk <hjk@theqtcompany.com>
-
- 05 Feb, 2015 1 commit
-
-
Nikolai Kosjar authored
If there is no plugin object, then the plugin was not loaded. Change-Id: I793825640174ed8e3d07bf9393afe69818e19db0 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
- 04 Feb, 2015 3 commits
-
-
Orgad Shaneh authored
Change-Id: I09c15c797d2cc95f944413a21a37c5a513eed227 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Orgad Shaneh authored
Change-Id: Ieb2ba37c0a31ebf89d5d60451022784043945cc4 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Nikolai Kosjar authored
So far tests running within Qt Creator could be implemented with a private slot in the plugin class starting with "test". Binding the test functions to the plugin object/class is fine for test functions without side effects. But as soon as side effects come into play we need proper initialization and cleanup as it's provided by init(), cleanup(), initTestCase() and cleanupTestCase(). However, implementing these functions in the plugin class is not appropriate since they would affect (potentially quite diverse) test functions. This patch enables us to provide 'ordinary' test classes in which we can handle initialization and clean up the usual way. In addition to the current test invocations, e.g.: # (1) Run all test functions of the plugin ./qtcreator -test CppTools # (2) Run selected test functions of the plugin by stating them ./qtcreator -test CppTools,test_completion,test_builtinsymbolsearcher # (3) Run selected test functions of the plugin by a wild card # expression ./qtcreator -test "CppTools,*pointerdeclaration*" # (4) Run a test function of the plugin with certain test data ./qtcreator -test CppTools,test_completion:template_1 it's now also possible to state the test class in order to execute all test functions of that class: # Run all test functions of a certain class: ./qtcreator -test CppTools,SomeClassWithTests As long as the test class does not start with "test", there should not be any problems. Further, an invocation like (1) now additionally execute all test functions of all test classes. For invocations of type (2), (3) and (4) all test functions of all test classes are considered, too. Change-Id: Ief08a6e9e451c599fd0109b8b8e57f92e3ee19f2 Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@theqtcompany.com>
-
- 16 Jan, 2015 2 commits
-
-
Eike Ziller authored
Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125 Reviewed-by:
Alessandro Portale <alessandro.portale@digia.com>
-
Christian Stenger authored
Issue was introduced with 273c3fa0 Change-Id: I09d3691c549cbca34d48725f092273e781af20ab Reviewed-by:
hjk <hjk@theqtcompany.com>
-
- 15 Jan, 2015 3 commits
-
-
hjk authored
Change-Id: Ifc18e9779b9841a2f08c48dcd8dad36627d6e537 Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
Nikolai Kosjar authored
Change-Id: I1f47f9542729fde338a11180ccaeed3d537a337d Reviewed-by:
Daniel Teske <daniel.teske@theqtcompany.com>
-
hjk authored
De-noise loops, use QVector for items bigger than a pointer. Change-Id: Idae68dc51a02cb6df9bdf2d920ae2de99c7bde6c Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
- 06 Jan, 2015 2 commits
-
-
Nikolai Kosjar authored
...as it's done in e.g. QTEST_MAIN. Change-Id: I7056f3204d0ed76d21f09e5c1f3dc79e83c6cd48 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
Nikolai Kosjar authored
* Remove unused testDataDirectory() * Move startTests() to PluginManagerPrivate Change-Id: I3ad582a7ea35c8f08d1455ea3536baed88ecb2ad Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
- 21 Nov, 2014 1 commit
-
-
Orgad Shaneh authored
Detected by valgrind Change-Id: Id8de8e8f5e3f4e691be818ff0224676345227156 Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
- 09 Oct, 2014 1 commit
-
-
Eike Ziller authored
Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082 Reviewed-by:
Alessandro Portale <alessandro.portale@digia.com>
-
- 08 Sep, 2014 1 commit
-
-
Christian Kandeler authored
Qt 5.3 is the minimum requirement these days. Remove all fallback code from sources and project files. Change-Id: If6188a471197acadda4d6baee71804ba1a8026c6 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- 02 Sep, 2014 1 commit
-
-
Eike Ziller authored
Change-Id: I2b2c704260c613985a4bda179658ec1f8879e70f Reviewed-by:
Christian Kandeler <christian.kandeler@digia.com> Reviewed-by:
Christian Stenger <christian.stenger@digia.com> Reviewed-by:
Daniel Teske <daniel.teske@digia.com> Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- 27 Aug, 2014 1 commit
-
-
Eike Ziller authored
Remove usage of the Q_EXPORT_PLUGIN macros, which do not exist in Qt 5. Change-Id: I678c3cf10b9c5d5c1b9f252b0ecd1c97dc810a47 Reviewed-by:
hjk <hjk121@nokiamail.com> Reviewed-by:
Christian Stenger <christian.stenger@digia.com>
-
- 25 Aug, 2014 1 commit
-
-
hjk authored
Less typing and less cycles than join(QString) where appropriate Change-Id: I6ebc0e17e4d7fd9845864dd95b7de4ba4dad6906 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- 12 Jul, 2014 1 commit
-
-
Christian Kandeler authored
Change-Id: I61bf9597a7532230a897e0f609ded37a105eb9a2 Reviewed-by:
Christian Kandeler <christian.kandeler@digia.com>
-
- 11 Jul, 2014 3 commits
-
-
Nikolai Kosjar authored
...otherwise it might happen that no test functions will be executed, which is highly confusing, especially since no error dialog will be shown. If there are errors, just print a warning and quit. If we do not quit, the error dialog will be shown which might block build machines. Change-Id: Ic347dfba8fefc0e0f375cf2363265008df56ee53 Reviewed-by:
Daniel Teske <daniel.teske@digia.com>
-
Eike Ziller authored
Change-Id: Ibb3c2be1401b3c09d38f0fd689658b409ff52f7b Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Eike Ziller authored
There is not even a guarantee that VERSION from os-release contains "Linux" anywhere. Prepend "Linux" or "Unix" and add the version details in parentheses instead. Also remove unnecessary (and wrong) /etc/issues fallback. Change-Id: I0457ad9e8cedeea35e0cad5ea8093652eb8428e1 Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
- 12 May, 2014 2 commits
-
-
Daniel Teske authored
Change-Id: I8a822d76a3dc358de48e96801e4e531f3bbb8669 Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by:
hjk <hjk121@nokiamail.com> Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
Daniel Teske authored
Since no one is using it and it's faster this way. Change-Id: Ib60d3a54aed98011b2fb4bb7d159e219abebfa7e Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- 08 Jan, 2014 1 commit
-
-
Robert Loehning authored
Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
- 14 Nov, 2013 1 commit
-
-
Eike Ziller authored
Change-Id: Id5f383f58125c44496a3d6936b27638bce48622d Reviewed-by:
Tim Jenssen <tim.jenssen@digia.com> Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
- 22 Oct, 2013 1 commit
-
-
Friedemann Kleint authored
They are a hassle for translators and reviewers alike. Change-Id: I07c1b61e8b6719e54fdc1f69cf63f573119a6776 Reviewed-by:
hjk <hjk121@nokiamail.com> Reviewed-by:
Robert Loehning <robert.loehning@digia.com> Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- 10 Oct, 2013 1 commit
-
-
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>
-
- 27 Sep, 2013 1 commit
-
-
hjk authored
Change-Id: If36658de6f68f552f93830ba4f1cfa9994a2e44c Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
- 09 Sep, 2013 1 commit
-
-
Leena Miettinen authored
Use standard wording and fix some and style issues. Change-Id: I6c226f8b8600833666f1da34f1f1e71cb333f30a Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
- 05 Sep, 2013 1 commit
-
-
Friedemann Kleint authored
The <platform> element may contain a regular expression matching the names of the platforms on which the plugin works. Task-number: QTCREATORBUG-9002 Change-Id: Ic816cfed69a5dd2c4112c976843b9106ba2cbd22 Reviewed-by:
Daniel Teske <daniel.teske@digia.com> Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- 04 Sep, 2013 1 commit
-
-
Nikolai Kosjar authored
...if no settings path is specified by the user. The default settins path for tests will be set to the system's temporary directory + "/qtc-${IDE_VERSION_LONG}-test-settings". Change-Id: Ibeaf8883c80169b4d6a3a97020a16f910292d67a Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Christian Stenger <christian.stenger@digia.com>
-