- 05 Feb, 2015 5 commits
-
-
hjk authored
... and make it work with LLDB. Change-Id: Idaec029942dbcc726931781caff830173f7b126a Reviewed-by:
hjk <hjk@theqtcompany.com>
-
hjk authored
Change-Id: I68ee1b106e1cd6e8ad5ce99b226860c528698520 Reviewed-by:
hjk <hjk@theqtcompany.com>
-
Tim Sander authored
Change-Id: Iaefbebaed43afb73f8b0c7ade4de38c7e33719ff Reviewed-by:
Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by:
hjk <hjk@theqtcompany.com>
-
Orgad Shaneh authored
The action was triggered after the focused widget was reset. Change-Id: I093d827472fa608649f98ac1339e957532965c0d Reviewed-by:
hjk <hjk@theqtcompany.com>
-
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 35 commits
-
-
Lorenz Haas authored
Instead of using "arg" for the generated getter/setter/signal argument try to detect a proper name. Task-number: QTCREATORBUG-12656 Change-Id: Iddaeb1f1d490af003d172d515033d85d778c10df Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Orgad Shaneh authored
Change-Id: I09c15c797d2cc95f944413a21a37c5a513eed227 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Tobias Hunger authored
Task-number: QTCREATORBUG-13889 Change-Id: I8a21665ce03a19ea96c09e9a5ccea59af995570d Reviewed-by:
Richard J. Moore <rich@kde.org> Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
Ulf Hermann authored
Change-Id: I324a9a1733d1d0a38bf73c8178d5a97cd60c25c1 Reviewed-by:
Joerg Bornemann <joerg.bornemann@theqtcompany.com>
-
hjk authored
Change-Id: I58ee1b106e1cd6e8ad5ce99b226860c528698520 Reviewed-by:
hjk <hjk@theqtcompany.com>
-
hjk authored
Change-Id: I1b10b2f6a241c6061ac5ee77825aa8500cb7097f Reviewed-by:
hjk <hjk@theqtcompany.com>
-
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: I6fbe13ddc1485efe95c3156097bf41d90c0febac Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Orgad Shaneh authored
Change-Id: Ieb2ba37c0a31ebf89d5d60451022784043945cc4 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Tobias Hunger authored
This is more in line with what we do elsewhere. Change-Id: If5fb57a498c021c2c2f830d9aaa375bc13afeb19 Reviewed-by:
Orgad Shaneh <orgads@gmail.com>
-
Montel Laurent authored
Change-Id: I84834f37dd15108ed8c5fbf5353bcabc4e564f70 Reviewed-by:
hjk <hjk@theqtcompany.com> Reviewed-by:
Christian Kandeler <christian.kandeler@theqtcompany.com>
-
Tobias Hunger authored
Invalid positions should not happen, but handle them anyway if they do. There is one report about a crash in the task model that may be related to this. Task-number: QTCREATORBUG-13861 Change-Id: Iae1b25974220d3622ecc39bd1a073c299b843fea Reviewed-by:
Sandro Mani <manisandro@gmail.com> Reviewed-by:
Daniel Teske <daniel.teske@theqtcompany.com>
-
hjk authored
On Mac, don't ignore the 'attach' stop, as it causes trouble in the Terminal case. So a terminal start needs extra 'continues' but doesn't crash LLDB anymore. Change-Id: Iaa72e3f5cfc02d8cd1841fa57e0633109645da31 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
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: I41dd2d402b2f5e7c677ddd461a0eeb1c28d98c35 Reviewed-by:
hjk <hjk@theqtcompany.com>
-
hjk authored
Change-Id: Icce45f23abc026668531191e95c2e4d93d63fda7 Reviewed-by:
hjk <hjk@theqtcompany.com>
-
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: I061c7bdcade96961aed226a8348f8ab07ee95f5f Reviewed-by:
Tobias Hunger <tobias.hunger@theqtcompany.com>
-
Orgad Shaneh authored
Change-Id: I79a1c51fb52c66561d44acfb9c26c5ec24ca6e52 Reviewed-by:
André Hartmann <aha_1980@gmx.de> Reviewed-by:
Tobias Hunger <tobias.hunger@theqtcompany.com>
-
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: Id48e46fdfed83b82071551f4375fab3310ed1f6e Reviewed-by:
Christian Kandeler <christian.kandeler@theqtcompany.com>
-
hjk authored
Change-Id: I652755c09e99f9a5d9607b49850ea3350193d086 Reviewed-by:
hjk <hjk@theqtcompany.com>
-
Tobias Hunger authored
The interface is static and the only slot that one can connect to is private. Change-Id: Iebd3747fecd24e0250d02e663de405e3f9217acb Reviewed-by:
Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
-
Tobias Hunger authored
The guicontroller is managed by the diffeditor, which is the only one able to access these objects, so there is no need to ever return the pointer. Change-Id: I6388a78bcadae67dae669bf7e96298444983c3e8 Reviewed-by:
Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
-
Tobias Hunger authored
Not needed, we can just get the controller from the document at any time Change-Id: I4a4ad9e3e343a147096e46406b9175b3f52f31a6 Reviewed-by:
Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
-
Tobias Hunger authored
Do not bother to check after that assert. Change-Id: I4d8d8c8aa40420880824b7832005ab3f06df4aa7 Reviewed-by:
Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
-
hjk authored
Breakpoints are hit, stack frames are identified as JS or native. No further data yet. Change-Id: I84a02422fd36dc7645003114dd8519bedd913c06 Reviewed-by:
hjk <hjk@theqtcompany.com>
-
Przemyslaw Gorszkowski authored
Fix for auto completion in case of auto declaration inside if condition: struct Foo { int bar; }; void func() { if (auto s = new Foo) s->; // auto completion does not work } Task-number: QTCREATORBUG-13805 Change-Id: Ia1776e8cc04e6040a6bf5f43cf82cfd6ce6dde7a Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
hjk authored
Prepares reuse in LLDB. Change-Id: I2238a94937411b80a9ec84ab738aba2146bba50e Reviewed-by:
hjk <hjk@theqtcompany.com>
-
Orgad Shaneh authored
Change-Id: I923b856170f1c4ddd48da2434bf77d4b46da8d99 Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com>
-
Nikolai Kosjar authored
Change-Id: If27b4e11deafaefd95a5815466fc5fdac23ba30a Reviewed-by:
Erik Verbruggen <erik.verbruggen@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>
-
Nikolai Kosjar authored
...since by now we get the defines in the correct format from QMakeProject. See the change this one depends on. Tested with: Qbs: cpp.defines: [ 'PATH1="/some/path"', "PATH2=\"/some/path\"" ] QMake: DEFINES += PATH1=\\\"/some/path\\\" "PATH2=\\\"/some/path\\\"" CMake: add_definitions(-DPATH1="/some/path" "-DPATH2=\"/some/path\"") All these lines translate to #define PATH1 "/some/path" #define PATH2 "/some/path" for the code model. Change-Id: Ifc3d3acff3abab6897ccbd0c5fafd5c415dfb53c Reviewed-by:
Erik Verbruggen <erik.verbruggen@theqtcompany.com>
-
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: I78a70180927d085822e215ffb2b8ad256301e4a7 Reviewed-by:
hjk <hjk@theqtcompany.com>
-
Orgad Shaneh authored
Since valgrind only runs on POSIX systems, all the paths it produces are normalized. We have no mapping to local directory, so having a path like \home\user\project\file.cpp is confusing. Change-Id: Idff339729231ab662aa4fcb6bb732058c1a04f7c Reviewed-by:
hjk <hjk@theqtcompany.com>
-
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: I1aa1a2b6ccbafeb1a8f3053fffa39b3f96992591 Reviewed-by:
hjk <hjk@theqtcompany.com>
-
hjk authored
Change-Id: If32b1f421e45dc4ee446e193e03c959d7c700948 Reviewed-by:
hjk <hjk@theqtcompany.com>
-
Eike Ziller authored
The input can well be relative, and contain slashes at the end... Change-Id: Id4fd65474f2b9c23824f7a822c6e29cf443e1058 Reviewed-by:
Orgad Shaneh <orgads@gmail.com>
-
Orgad Shaneh authored
Change-Id: Id8851f31cf3a4005d7d4573bfb3dc9093932a4c2 Reviewed-by:
hjk <hjk@theqtcompany.com>
-