- 19 Sep, 2017 1 commit
-
-
Tobias Hunger authored
Change-Id: Ib1d2bfca1b2faafd36c53f24c6649e73ee0af190 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 18 Sep, 2017 3 commits
-
-
Christian Stenger authored
Change-Id: Ic50efba6b7ff70d4811b7e790e7b9c1f89a1fe44 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
Tobias Hunger authored
This allows editing values with misidentified types in Project Mode. Change-Id: Ic74da2ca71cc9046cbbeb1202075976c9edd28b7 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
Christian Stenger authored
Let project managers store information whether a project part belongs to an executable or a library and use this information inside the AutoTest plugin. This information will help to determine which targets are relevant for the execution of tests. Change-Id: I93b42797bf55225425398dc83aecea3c99eea290 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@qt.io>
-
- 15 Sep, 2017 3 commits
-
-
Tobias Hunger authored
Do not lose the value when the key gets changed in the CMake configuration view in Project mode. Task-number: QTCREATORBUG-17926 Change-Id: I7c55f815bc918da0267eed57385c2d641568dc8c Reviewed-by:
hjk <hjk@qt.io>
-
Tobias Hunger authored
Makes renaming items feel more natural as they do no longer stick to the top (note that currently you can only rename newly added items!). Change-Id: I89d0dc7cb73e08d8b60900a96ffd2ab1c2b490c2 Reviewed-by:
hjk <hjk@qt.io>
-
Tobias Hunger authored
Only enable the button when items are actually editable. Change-Id: I54fd5430772a6db61c85b59d5c655d3bd4ebf8d7 Reviewed-by:
hjk <hjk@qt.io>
-
- 14 Sep, 2017 1 commit
-
-
Marco Bubke authored
The old code model expected the macros as C++ formatted text ("#define Foo 42) but newer targets like the Clang codemodel expect key value arguments like "-DFoo=42". So instead of parsing the text again and again we use an abstract data description. Task-number: QTCREATORBUG-17915 Change-Id: I0179fd13c48a581e91ee79bba9d42d501c26f19f Reviewed-by:
Tobias Hunger <tobias.hunger@qt.io>
-
- 13 Sep, 2017 1 commit
-
-
hjk authored
The idea is to massage the setup in a way to make implementation of new configurations less error prone by identifying recurring patterns and sharing repetitive code that tends to be forgotten (see Android cloning). The former two lines of constructors (owner-and-id, owner-and-source) are split into a simple, shared, constructor and new setId() and copyFrom() functions. The change is mostly mechanical, some multiple calls to fromMap have been removed, though, some consts added. Otherwise, to keep the patch small it temporarily introduces two helper templates in IRunConfigurationFactory. Also, setId() signatures have not been unified yet. These won't be needed in the final setup. Change-Id: I8c0734496caae744a9883fe6d92c1d8f8e0234ea Reviewed-by:
hjk <hjk@qt.io>
-
- 12 Sep, 2017 1 commit
-
-
Tobias Hunger authored
Change-Id: I6aa797f5ff49a5cc33dfbdf0b25dcd78abbff66e Reviewed-by:
hjk <hjk@qt.io>
-
- 08 Sep, 2017 5 commits
-
-
Tobias Hunger authored
The build dir might be contained in the source directory, but not the other way around. So this should be more reliable. Change-Id: I2459b249fcc1002aa7f7787231b5699444a4c6bd Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
Tobias Hunger authored
Change-Id: Ibb5a61ab100dbd3b32de385df230dd0862faf670 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
Tobias Hunger authored
Add a helper method to request a directory icon with an overlay icon for the project tree. Change-Id: Idea2ea9ec2ea6790bf8d087723700364fbcafec6 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
Daniel Trevitz authored
Fix nullpointer error. Occurs when no active project exists Task-number: QTCREATORBUG-18865 Change-Id: I826daac39c38ae1382d23cae20da9085dbcfe298 Reviewed-by:
Tobias Hunger <tobias.hunger@qt.io>
-
Ulf Hermann authored
Also, add context to connect() expressions where we are or were capturing "this". Change-Id: I6e006ba6f83d532478018550d148ee93eca59605 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io> Reviewed-by:
hjk <hjk@qt.io>
-
- 06 Sep, 2017 1 commit
-
-
Nikolai Kosjar authored
Change-Id: I2b6bd8bf10221dc3d08ada30701d5b39cc763251 Reviewed-by:
Eike Ziller <eike.ziller@qt.io>
-
- 05 Sep, 2017 2 commits
-
-
Tobias Hunger authored
Change-Id: I993f452c8d09cf89e9a2958fc8e36b7d2c17ee6f Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by:
Tobias Hunger <tobias.hunger@qt.io>
-
Ivan Donchevskii authored
qmake from Qt4 does not provide C++ standard and clang can't properly compile Qt4.8.6 and earlier with c++1z. Behavior in this commit mimics qmake from Qt5 which also provides c++11 as a default standard. Task-number: QTCREATORBUG-16441 Change-Id: I3d29891d6e47f2367f2b3b2bf4be4d86661924e9 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@qt.io>
-
- 24 Aug, 2017 1 commit
-
-
Eike Ziller authored
By using the new QTCREATOR_COPYRIGHT_YEAR variable Task-number: QTCREATORBUG-18612 Change-Id: I3bcf0319660d210436d3130c00f43325c460a66c Reviewed-by:
Kai Koehne <kai.koehne@qt.io>
-
- 04 Aug, 2017 1 commit
-
-
Tobias Hunger authored
Change-Id: Ifa4f813d577ab64351d25eb4be1dc7981687da23 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 02 Aug, 2017 2 commits
-
-
Tobias Hunger authored
Get rid of Project::buildDirectoryChanged signal as well as Target::buildDirectoryChanged (and the infrastructure). Change-Id: Ia749e62eec7e182e558d81115dc2a3d07b72b346 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
Tobias Hunger authored
Add a subscribeSignal method to targets and projects that will make sure all signals of all project configurations added during the lifetime of the project/target will get connected (if the type matches). Use this to connect to some signal in all BuildConfigurations of a project and get rid of code that keeps connecting to the current build configuration. Use Project::buildEnvironmentChanged as an example and convert its usages. Change-Id: I689bcebac4b191bf3f8a18765bf18eaac371c5fe Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 01 Aug, 2017 1 commit
-
-
Tobias Hunger authored
That should save some memory per node, and since creator has a lot of nodes (e.g. opening the LLVM project adds about 1 000 000 nodes) this should be noticeable:-) Calling update inside ProjectTree::currentNode() and rename it to findCurrentNode() to make sure it is an still existing pointer. Also, try to reduce the somehow more expensive currentNode() calls and sprinkle some const around that usage. Change-Id: I6a7c5db01a71d53d39544d3013cad557d5b96cdc Reviewed-by:
Tobias Hunger <tobias.hunger@qt.io>
-
- 31 Jul, 2017 1 commit
-
-
Christian Stenger authored
Base the selection of the run configuration on the executable we have gotten already from the BuildTargetInfo and take deployment information into account. This also reverts cce1e130 partially and avoids stuffing unrelated information into the buildsystemtarget. Change-Id: I3de6e910a5fd1092d428ec4afc33c4ca62daaa25 Reviewed-by:
Christian Kandeler <christian.kandeler@qt.io> Reviewed-by:
Tobias Hunger <tobias.hunger@qt.io>
-
- 28 Jul, 2017 3 commits
-
-
Tobias Hunger authored
Centralize handling of enabled state of RunConfiguration widgets. Remove code that does the same thing in all the different run configuration widgets. Change-Id: I175d7e19d031bd28a2b19cd825e0b6568da19bc3 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
Tobias Hunger authored
... and use this as a base for all RunConfigurations. Clean out code in the individual run configurations dealing with their enabled/disabled state. Change-Id: Icc2ea136b056f7aea7ce96480b4402459d7ac0ce Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
Tobias Hunger authored
Show which projects are currently parsing in the project tree. Change-Id: Ie69907a73ec7c3cf2ef40c37db620a0144178f95 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 27 Jul, 2017 1 commit
-
-
Tobias Hunger authored
I want to reuse the rendering of the progress indicator outside of a widget. Change-Id: Icaeeb798578ad838693b68556bf2193c4ba45cfa Reviewed-by:
Eike Ziller <eike.ziller@qt.io> Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 26 Jul, 2017 2 commits
-
-
Tobias Hunger authored
Change-Id: I50fdaed0d813b5004c1756e9c5a6efd3ce7a3318 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
Tobias Hunger authored
Get rid of duplicated code to do such signaling in derived Project types. Change-Id: I26914a1d751d72ee65c15a7943e0e7f34978f042 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 25 Jul, 2017 4 commits
-
-
Tobias Hunger authored
Task-number: QTCREATORBUG-18173 Change-Id: If512991873121151e18b56781729f6b841796549 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
Tobias Hunger authored
Change-Id: I287831a9151ba867eec443206235c7e07a6176e8 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
Tobias Hunger authored
Add unit test to make sure this stays fixed. Task-number: QTCREATORBUG-18624 Change-Id: Ieeb41982418481223d9ebf8f5c6ec4b3b78bfe00 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io> Reviewed-by:
Eike Ziller <eike.ziller@qt.io>
-
Eike Ziller authored
JSON officially does not support multiline strings, so we should use the same mechanism that we already use for the plugin description (i.e. additionally support arrays of strings which are interpreted as lines). This just happens to work because Qt's JSON parser eats it without choking. Change-Id: I25ef04600b209775c5a7af916c687fda4a8b1a4d Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by:
Christian Stenger <christian.stenger@qt.io>
-
- 21 Jul, 2017 1 commit
-
-
Tobias Hunger authored
Use the information to add a filenode below a target that takes you directly to the target definition. Change-Id: Ifcb8e2c4f085110033019ea3816c79f5b8630472 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 20 Jul, 2017 1 commit
-
-
Nikolai Kosjar authored
Change-Id: I3591ad94ca98979c2d47585d33800a489d87eeda Reviewed-by:
Ivan Donchevskii <ivan.donchevskii@qt.io> Reviewed-by:
David Schulz <david.schulz@qt.io>
-
- 19 Jul, 2017 4 commits
-
-
Claus Steuer authored
The dialog is shown when the cmake configuration changes. The user can either apply the changes or reject them. To determine the decision of the user the return value of the dialog is evaluated. This is wrong because the dialog uses custom buttons (see documentation of QMessageBox::exec). As a consequence the configuration is never applied. Use QMessageBox::clickedButton to determine the user decision. Additionally change the role of the apply button from AcceptRole to ApplyRole as this better matches its intention. Change-Id: I1d2d1fb7186dcc8d789c192c51bb34111eb84ee5 Task-number: QTCREATORBUG-18292 Reviewed-by:
Tobias Hunger <tobias.hunger@qt.io>
-
Claus Steuer authored
When the cmake configuration changes, BuildDirManager checks whether the new configuration differs from the current configuration. In case of differences a dialog is opened and the user must decide if the changes shall be applied or rejected. When the user changes the cmake configuration in the projects page the dialog will open as well. This is unencessary since the user already decided to apply the changes. Let BuildDirManager not check for changes if the configuration was changed by the user via the projects page. Change-Id: I736ee7f4dee99fe707f2931c73b287231b1daa1d Reviewed-by:
Tobias Hunger <tobias.hunger@qt.io>
-
Claus Steuer authored
Changes to the cmake configuration (via projects page) are not applied in tealeaf mode. The tealeafreader::parse method passes changed config parameters to cmake only if the .cpb file does not exist. Since that file always exists after project initialization the user can't change the cmake config anymore. Make tealeaf reader pass changed config parameters to cmake when a reparse is forced. This restores the behavior from 4.2.2 Change-Id: I31ffad32d176e6290064b55758e4df96d2ffe6bc Reviewed-by:
Tobias Hunger <tobias.hunger@qt.io>
-
Claus Steuer authored
The tealeafreader creates a RawProjectPart for each cmake build target. However, the location of the CMakeLists.txt is not set/added to RawProjectPart::projectFile and RawProjectPart::buildSystemTarget. Both properties are required by the AutoTest plugin to map run configurations to test configurations. Make tealeafreader use the same code as the servermodereader to determine the location of the CMakeLists.txt. Change-Id: Ia35444799bcd3c46f84ad897044cae56c1aa16ac Reviewed-by:
Tobias Hunger <tobias.hunger@qt.io>
-