summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer
Commit message (Collapse)AuthorAgeFilesLines
* License updateEike Ziller2014-10-09308-2151/+2458
| | | | | Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* Session: Fix compilationRobert Loehning2014-09-261-4/+4
| | | | | | | This was broken in fe8ed7f5a666629ae43f8fc0888484a8bfa3b210 Change-Id: Iff4dffa6ba6cfdeeb3664c026ce642b80e4deeeb Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* Session: Fix saving session data on shutdown from project modeDaniel Teske2014-09-261-3/+4
| | | | | | | | This was broken in d52ee686d1ae63090e066faf4e2b66b90620b774. Task-number: QTCREATORBUG-13098 Change-Id: Ia075e13fdd00e561b78058a3cab0cb02d2eb5fe6 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* SettingsAccessor: Fix discarding user sticky settings on 3.1->3.2 upgradeOrgad Shaneh2014-09-021-0/+5
| | | | | | | ... when both the shared and the user file are older than 3.2. Change-Id: I9e16d67c2b566c43060cb9e05f02ea3a5343065f Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* Abi: Fix detection of mips64elOrgad Shaneh2014-08-251-1/+5
| | | | | Change-Id: I3821a8817bbb7e76f95f53d058c2f1599320bff7 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* New File Dialog: Tweak default node on Projct PageDaniel Teske2014-08-151-2/+4
| | | | | | | | | | | | | | | | | | | The case from the bug report is: / --> project.pro --> src --> foo.qrc --> folder --> file added here Since the .qrc file is nearer then the .pro file, it was selected as the default node. This patch makes the priority for the .qrc node -1 if it's a unmatched mime type. That means a .qrc node will only be the default if it's either a image, a .qml or a .js file. Task-number: QTCREATORBUG-12793 Change-Id: I7328fd6359cc2e1959ab0bda831bd77de117baff Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* EditorConfiguration: Fix crash on unloading projectsDaniel Teske2014-08-132-11/+23
| | | | | | Task-number: QTCREATORBUG-12814 Change-Id: I84d2ae60b8362b6fef45283c36aef1b8a20dbd95 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* ProjectExplorer: Fix compilation with GCCOrgad Shaneh2014-08-051-1/+1
| | | | | Change-Id: I981df3a89dcd7aacd19f7c5eb8c15b027bdd16e4 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* ProjectExplorer: Improve detection of MIPS variantsOrgad Shaneh2014-08-041-2/+10
| | | | | | | Detect also "mips" and "mips64" as mips Change-Id: Ia2259bc4c1144834d20f6bd1c7c91f359e1a67d8 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* ProjectExplorer: Cleanup triplet testsOrgad Shaneh2014-08-041-38/+36
| | | | | | | | * Avoid duplication * Avoid unnecessary casting Change-Id: Idb1426e4a128044091fb52450b5662ff54012f59 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* CustomExecutableRunConfiguration: Remove nested event loopDaniel Teske2014-08-044-8/+41
| | | | | | | | | | | | Nested event loops are dangerous and in this case lead to a crash. So change the api of ensureConfigured to not use a nested event loop. The CustomExecutableRunConfiguration then has to manage the dialog more explicitly. Also this makes the dialog non modal, since it should then cope with every situation. Task-number: QTCREATORBUG-11416 Change-Id: I2af782915c148f8dff1b0df54fdb64aa83f684d2 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* RunControlFactories: No need to check for isConfiguredDaniel Teske2014-07-311-3/+1
| | | | | | | | | Checking if a runconfiguration is configured happens before searching for the right factory, thus the factory can assume that it always gets a configured runconfiguration. Change-Id: I171318dda22c4e89f3619418336865cb28a3dc5f Reviewed-by: hjk <hjk121@nokiamail.com>
* Fix debug to running applicationMarco Bubke2014-07-281-1/+2
| | | | | | | | If there was only one kit and no selection for the last kit saved you got no process list. Change-Id: Ie4b770cdb9b92860fb8154eed9a80e6d0d64335d Reviewed-by: hjk <hjk121@nokiamail.com>
* ProjectExplorer: Fix the download Url for jomAlessandro Portale2014-07-251-1/+1
| | | | | Change-Id: Id0405609f319472fc0eac9064ed9d14781217906 Reviewed-by: Robert Loehning <robert.loehning@digia.com>
* KitChooser: added focus proxyThomas Otto2014-07-251-0/+7
| | | | | | | | - focus proxy set to the combo box if it is populated with > 1 element, otherwise to the manage button Change-Id: I4e27b7bb3300d43bc146660221ab9f48386210b1 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* ProjectExplorer: Do not offer "Remove Project" unconditionally.Christian Kandeler2014-07-241-0/+5
| | | | | | | | Instead, check whether Node::supportedActions() contains RemoveSubProject, like it is done for the other actions. Change-Id: I84f9936cfda7300963e1dadb8425100f0ffd31a4 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* Abi: Remove endianness from ABITobias Hunger2014-07-242-15/+0
| | | | | | | | | | | The functionality is not implemented properly, remove it before someone thinks it was. Change-Id: I6e9c423a6b84a4a5fcf4d817e14df97fbdc901c5 Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Tim Sander <tim@krieglstein.org> Reviewed-by: Christian Kandeler <christian.kandeler@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* ProjectNodes: Fix line() methodTobias Hunger2014-07-221-1/+1
| | | | | | | Actually return the value of the m_line member varibale instead of -1. Change-Id: I23ee47638e9b35cafcedca827790b4c2e0a02462 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* ProjectExplorer: Ask for the name of the clone runconfigurationDaniel Teske2014-07-211-1/+6
| | | | | | Task-number: QTCREATORBUG-12447 Change-Id: Ib5c16d357c86cda4ceace0191727909dd032bf6c Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Doc: replace "user name" with "username"Leena Miettinen2014-07-181-1/+1
| | | | | | | | | | In the UI and docs, when in the context of authentication. Change-Id: I643b5c831ba1d63cf41e8ab31ec98735a2d07dc7 Reviewed-by: Daniel Teske <daniel.teske@digia.com> Reviewed-by: hjk <hjk121@nokiamail.com> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Session Manager: fix capitalization of UI textLeena Miettinen2014-07-161-4/+4
| | | | | Change-Id: Ic9b73f694ceeff7dbefc02126551124818e7a358 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Set parent for options dialog where appropriate.Eike Ziller2014-07-144-5/+10
| | | | | | | | | Otherwise the options dialog might appear behind the current "dialog" (for example the "new" wizards). Also, take ICore::dialogParent as default. Change-Id: I4578e269db5763842a942549a45ec8cdd6b28b5d Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* UI text: capitalize "Open With"Leena Miettinen2014-07-141-1/+1
| | | | | | | Because the preposition is the last word in the function or title. Change-Id: I3648f5723eaf63faef097ea80f30a4576136a4e8 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Fix a crash on session switchjkobus2014-07-032-7/+8
| | | | | | | | Done by Daniel Task-number: QTCREATORBUG-12613 Change-Id: I716c1b73cd7e0c934b8b2e3090af1de4d987a191 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* Unify read-only path choosers in Build & Run settingsOrgad Shaneh2014-07-031-1/+1
| | | | | Change-Id: I56725255380eed83de6dd1c0f07d4b6e63e48b75 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Fix crash with "Files in Any/Current Project" locator filtersEike Ziller2014-07-024-4/+16
| | | | | | | | They were calling thread-unsafe API from a non-GUI thread. Task-number: QTCREATORBUG-12592 Change-Id: I029eebae341643060ca1d1a685e2a5730f9cf964 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* Run "New ..." dialog as non-blocking, stay-on-top.Eike Ziller2014-07-021-2/+8
| | | | | | Task-number: QTCREATORBUG-6102 Change-Id: I384c37e5867ce1cbd6127e96c49cb7790298713c Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* ProjectExplorer: Fold in simple IDocumentFactory subclasseshjk2014-07-013-9/+38
| | | | | | Change-Id: Ibc2f0bc8080573f046835e348ed1c67196a4db71 Reviewed-by: Daniel Teske <daniel.teske@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Always pass Core::Id by value.Christian Kandeler2014-07-0134-87/+87
| | | | | | | | | | | Currently we pass in some places by value, elsewhere by const ref and for some weird reason also by const value in a lot of places. The latter is particularly annoying, as it is also used in interfaces and therefore forces all implementors to do the same, since leaving the "const" off is causing compiler warnings with MSVC. Change-Id: I65b87dc3cce0986b8a55ff6119cb752361027803 Reviewed-by: hjk <hjk121@nokiamail.com>
* ProjectExplorer: Fix compilation with MSVC 2010.Christian Kandeler2014-06-251-1/+1
| | | | | | | | | | | | | | Compiler error was: src\plugins\projectexplorer\projectexplorer.cpp(1054) : error C2065: '__this' : undeclared identifier src\plugins\projectexplorer\projectexplorer.cpp(1054) : error C2227: left of '->currentProject' must point to class/struct/union/generic type src\plugins\projectexplorer\projectexplorer.cpp(1054) : error C2232: '- has '' type, use '.' Change-Id: I0c87ed992607bfee3155d7dc3c89fced60cb2b1b Reviewed-by: hjk <hjk121@nokiamail.com> Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* Lambda cleanupOrgad Shaneh2014-06-251-11/+11
| | | | | Change-Id: Ia7f1d530e01d4ae3990713e23d672249d9489561 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* ProjectExplorer: Fix compileChristian Stenger2014-06-251-2/+2
| | | | | Change-Id: I578ac76029f52e3d7ca562034b263510f1d63e49 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* ProjectExplorer: Fix MSVC compilationOrgad Shaneh2014-06-241-1/+1
| | | | | Change-Id: I6062c1e9832bb9f50dd3439724706e1732c73720 Reviewed-by: hjk <hjk121@nokiamail.com>
* Variables: Use lambdas as callbacks to resolve variableshjk2014-06-244-88/+101
| | | | | | | | | Instead of broadcasting for each resolution we ask the code that knows about a specific variable directly. Change-Id: I2f0f4f2acceba85a236995d236980594a3166bd8 Reviewed-by: Eike Ziller <eike.ziller@digia.com> Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* Fix msvc2012 compilationThomas Hartmann2014-06-231-0/+1
| | | | | Change-Id: I533f720e83880d57e2f319b8c07b58c175dd2e84 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* TaskHandler: Add task handler that let's you jump into the configurationTobias Hunger2014-06-235-0/+134
| | | | | | | | ... wire it up so that "No compiler found in kit" gets you to the kits page. Change-Id: Ie7b34d285a6d2eef81ccd5fdc86d91bcd0254515 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Unify "missing compiler" and "missing build configuration" tasksTobias Hunger2014-06-234-0/+35
| | | | | | | | | | Everybody used to do their own thing... Also unify the "Configuration is faulty" message we write into the Application output window. Change-Id: I0e5c4ec68155d66aa1d0ea53134b98917869e5c6 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* IBuildConfigurationFactory: Partial revert of 5a30007e45eDaniel Teske2014-06-191-11/+21
| | | | | | | The find methods should not return a factory with a -1 priority. Change-Id: I05dab0c48b24b30f88cf40f49c2bc0e24bff46ec Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* Project: Do not save unconfigured projectsTobias Hunger2014-06-191-1/+2
| | | | | | | | This avoids having .user files when pressing cancel on the Project Mode's TargetSetupPage. Change-Id: I09fc8e78c929d6f09a50ee57ef4f59555491c649 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* Reinvent deprecated qSort as Utils::sortNikita Baryshnikov2014-06-1914-64/+56
| | | | | | | Change-Id: I4f6011cc2b6127037249aabc2426a88ad7108ebf Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Daniel Teske <daniel.teske@digia.com> Reviewed-by: hjk <hjk121@nokiamail.com>
* Centralize error/warning/info iconsAlessandro Portale2014-06-1711-19/+15
| | | | | | | | | There are multiple copies of these pngs in different plugins. Let's have one version in core, also as @2x variant. Change-Id: Iedff1a6190a72c1947dd202ae1ee46f59f9fb13c Reviewed-by: Kai Koehne <kai.koehne@digia.com> Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* CleanUp usage of QtAlgorithmsNikita Baryshnikov2014-06-171-1/+0
| | | | | | Change-Id: I61be20554014f90c2e1313167a3e3c869e26c35e Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: hjk <hjk121@nokiamail.com>
* ProjectExplorer: Fix comparing prioritiesDaniel Teske2014-06-161-2/+2
| | | | | | | | | | | | | | | | | | Makes test_modelmanager_extraeditorsupport_uiFiles pass again. Before, a "CMake Wizard" dialog blocked the auto test due to the wrong comparisons. The std::max_element function takes a less predicate. Thus the right way to find e.g. highest int in a vector is: std::max_element(..., std::less<>) or std::min_element(..., std::greater<>) Both variants are confussing to read. Instead of provinding Utils::maxElementOr provide a bestElementOr which leads to this code: bestElementOr(..., std::greater<>). Change-Id: Ic30f0d742c03170b28227f60d3a5ae00e40fdf5a Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* ProjectExplorer: Use more algorithmsDaniel Teske2014-06-165-55/+41
| | | | | | | | | Make heavy use of lambdas Change-Id: I53197d0ffb4ae8eec076f15335cc22b74e1def1d Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com> Reviewed-by: hjk <hjk121@nokiamail.com>
* Allow the user to restrict rc creation to certain .proDaniel Teske2014-06-162-6/+12
| | | | | | Task-number: QTCREATORBUG-10953 Change-Id: Iff1a31c007ac777bfa390d48237480ef56ffc0e4 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Merge remote-tracking branch 'origin/3.1'Eike Ziller2014-06-131-7/+5
|\ | | | | | | | | | | | | | | | | Conflicts: qtcreator.pri qtcreator.qbs src/shared/qbs Change-Id: Iba59e41db72e2afdf594f1f7003215d7d8d1e6d3
| * Prevent flicker on MiniProjectTargetSelector showMorten Johan Sørvig2014-06-031-7/+5
| | | | | | | | | | | | | | | | | | | | Reproducible on Mac OS X. Set position before changing the visible state. Change-Id: I8a7e73dae94ceb865ea8a7ef4cec4112220888de Reviewed-by: Daniel Teske <daniel.teske@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* | ProjectTreeView: Find all nodesDaniel Teske2014-06-121-1/+2
| | | | | | | | | | Change-Id: I5c28c7f05b8e4766a5e04e00d9c8cd7e48b8cd95 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* | Remove AppOutputPane::runControls()Daniel Teske2014-06-124-17/+0
| | | | | | | | | | | | | | The function is unused Change-Id: If12869fd51014a06d3feeb5f147e070f5f1ce463 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* | Make private class internalTobias Hunger2014-06-122-25/+31
| | | | | | | | | | | | | | Get rid of a couple of useless Internal:: namespace prefixes Change-Id: I99f44082a2ba0ec39b51d3f89db6697834414a99 Reviewed-by: Orgad Shaneh <orgads@gmail.com>