aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Completion: Fix crash in CodeAssistantRobert Loehning2015-09-041-1/+1
| | | | | | Task-number: QTCREATORBUG-15020 Change-Id: I88f166250b89badde2162e14065adfca05573dc7 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Update qbs submodule.Christian Kandeler2015-09-041-0/+0
| | | | | | | To HEAD of 1.4 branch. Change-Id: I326ed630648ea6c4792c220412a63ccff1e51f14 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* CppEditor: Assign parent to "Extract Function" dialogRobert Loehning2015-09-041-1/+1
| | | | | Change-Id: I37bdafe640cca00211f1c558f2f2afc5d12d8357 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Clang: Check for libclang main header fileNikolai Kosjar2015-09-043-3/+5
| | | | | | | | Otherwise we will run into compile errors if the libclang dev package is not installed. Change-Id: I31c05d9d0e11154f1c3748e6736c143805d310e8 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* Squish: Reanimate tst_opencreator_qbsRobert Loehning2015-09-032-983/+2108
| | | | | Change-Id: I00d1d1baea71e5b63a1a6b7c11aaf47e74082a21 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* QbsProjectManager: Fix handling of cross-compilers on Windows.Christian Kandeler2015-09-031-7/+10
| | | | | | Task-number: QTCREATORBUG-15011 Change-Id: Iea84e1a545bc6f414a35602e1d0c8c903901e813 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Project: Fix possible crash with projects without build configurationTobias Hunger2015-09-031-1/+4
| | | | | | | | Do not allow to rename buildconfigurations if there are none. Change-Id: I3da2ea9568c2dabf555685c3b27192bea8dcc009 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com> Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
* Another try to fix that installer doesn't suggest start menu folder nameEike Ziller2015-09-033-2/+2
| | | | | | | Change-Id: I584fe0ef595472144302252005d78ef66d8e0f99 Task-number: QTCREATORBUG-14674 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Update three.js in Canvas3D project templateMiikka Heikkinen2015-09-031-7/+8
| | | | | | Change-Id: I33d97c830d5bb63e75e1e17d908756bbc664747e Reviewed-by: Pasi Keränen <pasi.keranen@digia.com> Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
* Squish: Update Creator's sources to v3.5.0Robert Loehning2015-09-033-2411/+2089
| | | | | Change-Id: Idc41db621470886920173f7d5caf366204408731 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Mercurial: Make commiter/commiter email work againTobias Hunger2015-09-032-3/+2
| | | | | | | | | | We tried to get the data from a settings object that was removed elsewhere:-/ Task-number: QTCREATORBUG-14945 Change-Id: Ib7c1b9ced0cae776f24f250ebda24bcf14d3a782 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* Debugger: Make watchers editable in coredumpOrgad Shaneh2015-09-031-1/+1
| | | | | | Task-number: QTCREATORBUG-15001 Change-Id: Icba8175e2f3ca0ed07815fb063dec660c722231d Reviewed-by: hjk <hjk@theqtcompany.com>
* QmlDesigner: Update for change in QDir::relativeFilePath()Robert Loehning2015-09-021-1/+1
| | | | | | Change-Id: If90cba32aeca2349921870e30bd62d45a4a55e45 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com> Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
* C++: Fix crash after triggering completion and closing editorNikolai Kosjar2015-09-0217-50/+49
| | | | | | | | | | | | | | | | | | | | | Fix use-after-free for the following case: 1. Open an editor 2. Trigger a long processing completion (e.g. simulate with QThread::msleep in CppCompletionAssistInterface::getCppSpecifics) 3. ...and immediately close the editor (e.g. with Ctrl+W) 4. Wait until it crashes. The completion thread relied on the BuiltinEditorDocumentParser object, which is deleted once the editor is closed. Fixed by sharing the ownership of that object between the *EditorDocumentProcessor and the completion assist interface. This case came up when doing tests for the bug report below. Task-number: QTCREATORBUG-14991 Change-Id: I0b009229e68fc6b7838740858cdc41a32403fe6f Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
* C++: Fix MSVC assert in std::isspace()Nikolai Kosjar2015-09-022-1/+22
| | | | | | | | | | ...when dealing with UTF8 bytes. std::isspace() expects unsigned char, not char. Change-Id: I3f9b5e347d79cf94015cc99f8797d5feab406151 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
* TextEditor: Destroy completion widget if editor is closedNikolai Kosjar2015-09-021-0/+1
| | | | | | Task-number: QTCREATORBUG-14991 Change-Id: I7a23d4bd3a9fd97838f21e964a17b091dc925175 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
* Clang: Tests: Tweak time out for writing fileNikolai Kosjar2015-09-021-1/+1
| | | | | Change-Id: Iaf1294776be19805934eb152a9e09f3c68b9d5f6 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* QMakeProjectManager: Update for change in QDir::relativeFilePath()Robert Loehning2015-09-021-0/+2
| | | | | Change-Id: I8526df516a514678f30583956a00fdd5a2e770c5 Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
* Doc: Bump LLDB version requirementhjk2015-09-022-5/+6
| | | | | | | | | | | Drop 179.x on OS X, as this barely works. Include 3.7 on Linux, at least a build from SVN revision 232800 is knwon to be good. Also change 'minimal supported version' to 'minimum supported version'. Change-Id: Ia491289500aa1d9680a3194cd50852aec65272d1 Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* Update Canvas3D project wizard templatesMiikka Heikkinen2015-09-023-6467/+6482
| | | | | | | | | | | | | | Added new version of three.js that supports Quick items as textures, and unified how three.js and non-three.js examples generated by the wizard look like. Both now display just a plain green cube. Change-Id: Iedc2498853aa078fe072083ab06a27d1ed04d982 Task-number: QTCREATORBUG-14824 Task-number: QTCREATORBUG-14825 Task-number: QTBUG-47961 Reviewed-by: Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by: Pasi Keränen <pasi.keranen@digia.com> Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
* QtQuickWizards: Fix compilationTasuku Suzuki2015-09-023-3/+3
| | | | | | | | compilation fails when "Use Qt module in #include directive" is enabled. Change-Id: If8d59e631fc58d4400bf0597e415e66c9fb5279d Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Fixed QT variable value in importscheck.pro .Marco Benelli2015-09-011-1/+1
| | | | | | | It now use the 'qml' feature instead of the deprecated 'script' Change-Id: Ie2e4148e586503be11d233b7f544cf4f3c040bdb Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
* CMake: Fix project tree displaying "." foldersRobert Loehning2015-09-011-0/+2
| | | | | | | Task-number: QTCREATORBUG-14994 Change-Id: Iea5a820083b8fc1974a749992f937965285370b6 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com> Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Squish: Verify shown filenames when adding C++ filesRobert Loehning2015-09-012-2/+6
| | | | | Change-Id: I1e6c944a70c4f44d4f1b3e5cb7b6b6c8421ba453 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Squish: Add test for creating new C++ classRobert Loehning2015-09-014-11/+112
| | | | | | Task-number: QTCREATORBUG-14949 Change-Id: Ie42471f174eaacab2810eec12c2af4201a9374fe Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Fix various context menu actions from project managersDaniel Teske2015-08-314-24/+18
| | | | | | | | | | | | | | | | | | | | | The correct pattern is this: The actions in the build menu are supposed to be for the startup project. They should use the global context and be manually hidden/shown if the startup project changes. This fixes a crash on assigning keyboard shortcut to the edit files context menu action. The slot connected assumed that the action could only be triggered via the context menu. By using ProjectTree;:currentProject() the code now works even if the project tree is not actually focused. It also fixes that the "Run CMake" action was shown even in the build menu, even though a non cmake project was the startup project. Change-Id: I0bb8086d8b1078b4c71c3b5ba9d7f8596757e724 Task-number: QTCREATORBUG-14728 Task-number: QTCREATORBUG-14768 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* Update qbs submodule.Christian Kandeler2015-08-312-3/+2
| | | | | | | | To HEAD of 1.4 branch. Also do the necessary adaptation in QbsProjectManager. Change-Id: I810502c5be14ff8e93c886dae931cd4bceb81d13 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* MiniTargetSelector: Sort build/deploy/run configurations case insensitivelyDaniel Teske2015-08-311-2/+2
| | | | | | Change-Id: Ifbb305808046ea85f1f250beef3a518842de8b01 Task-number: QTCREATORBUG-13963 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* GccToolChain: Support -D fooDaniel Teske2015-08-311-1/+2
| | | | | | Change-Id: I733e7d308720b23c1cf4226335cc96ad6d89feb9 Task-number: QTCREATORBUG-14792 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Cmake: Read the build.ninja file only onceDaniel Teske2015-08-312-27/+40
| | | | | | | | | | | | | | The first getCmakeCXXFlags that reads the build.ninja file stores the contents in the inout parameter cachedBuildNinja. Further calls to getCMakeCXXFlags just use this cached value. This prevents excessive locking of this file while constructing the code model information. Change-Id: I81e1431194bed6913c69abb2d954068c999a5c1b Task-number: QTCREATORBUG-14639 Reviewed-by: Tom Tanner Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* C++: Add testsNikolai Kosjar2015-08-313-0/+207
| | | | | | | | | | ...for two regressions that were introduced by commit e0594fc9b906a32f5c8ac70265490cf86044676f C++: Fix expensive lookup for boost Change-Id: I1fa01e626da480ca53e04b4709fec458378e7aef Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Dark theme: make application output error message text color readable.Mitch Curtis2015-08-291-1/+1
| | | | | | | | | It was a pure red, which is really hard to read against a dark background. This patch makes it a pastel red, closer to the fatal error text color. Change-Id: If4b402b2887149f040a00a9493f550afb296382b Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* PatchTool: Enable using git instead of patch.Friedemann Kleint2015-08-281-0/+6
| | | | | | | | | | | Git for Windows as of version 2.5 no longer ships patch.exe, which breaks Qt Creator's patching/reverting features. Enhance the PatchTool to be able to use git for this by automatically prepending the 'apply' argument. Change-Id: I5ce98ebc61e2459b855b93b7b33495575170ae99 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com> Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Utils: Remove unused classEike Ziller2015-08-284-112/+0
| | | | | Change-Id: I854ef4697eaee451dbe75fb7e488a5cfeab1ed83 Reviewed-by: hjk <hjk@theqtcompany.com>
* CppClassWizard: Do not add signal/slot to non-QObject classesTobias Hunger2015-08-271-1/+1
| | | | | | Task-number: QTCREATORBUG-14959 Change-Id: I95920a8cb48facf086fbceae3e029bab30c23821 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* BareMetal: Do not add a duplicate entry for GDB server providerOrgad Shaneh2015-08-273-7/+24
| | | | | | | | | | | In case the SDK settings contain some host which was imported, and the server provider was modified to a different host, it is re-imported on next execution of Creator. Also fix a potential memory leak when registration fails. Change-Id: I96d087ab35e0dc54975768c4bc697218080049ae Reviewed-by: hjk <hjk@theqtcompany.com>
* Qml2Puppet: Use helper functions from Qt 5.6Thomas Hartmann2015-08-262-1/+402
| | | | | | | | | | | | In Qt 5.6 we do not need to access the private API directly. QmlPrivateGate is forwarded to the helper functions in Qt. This removes direct dependencies to QML internals in qml2puppet. Change-Id: I274cb306815824c988b6d79966f007298f6d1e60 (cherry picked from commit d6d0bd60357a41cd6c83b511fd30ab12157ed95d) Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com> Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
* Doc: developing for embedded devicesLeena Miettinen2015-08-2616-19/+87
| | | | | | | | | | | Add information about Qt for Device Creation integration with Qt Creator. Add links to the Qt for Device Creation documentation where appropriate. Change-Id: Ie9be5a65697681590e2131407432f826a5ab4f2e Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com> Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* QmlInspector: Fix crash on engine ramp downhjk2015-08-262-2/+5
| | | | | | | Task-number: QTCREATORBUG-14972 Change-Id: Ia2a508fab872ac4496c2cb3fa932186e8e29278d Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com> Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* README.md: Fix instructions on deployment on Windows.Friedemann Kleint2015-08-261-1/+1
| | | | | | | | The option -quick needs to passed to windeployqt to actually scan the .qml files. Change-Id: Ifeb6eee4a5e16f25196721906632914eb4568081 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Set environment variable QT_AUTO_SCREEN_SCALE_FACTOR in Qt 5.6.Friedemann Kleint2015-08-261-0/+2
| | | | | | | | | Amends de3b2b6493c810380e961bb8b36b805a505b55b7 to set the variable. Change-Id: I305e0d911e42f76ee6f93406c012000a63bf7bc5 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com> Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com>
* Ukrainian translation update for 3.5Viktor Ostashevskyi2015-08-251-2114/+1954
| | | | | Change-Id: I14a5fb48668c4a7a02edc6887ef901a2e5c0e870 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* ProjectExplorer: Do not reject user file on target absenceOrgad Shaneh2015-08-251-1/+1
| | | | | | | | | | Use-case: pro.user has 5 targets, while pro.shared has 6. It is better to have only 5 targets than not opening the project at all. Change-Id: Ic169a2180aafd0b1ed60a7f6d8903b47e7f1c34e Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* SSH: Remove bogus compatibility check.Christian Kandeler2015-08-251-21/+1
| | | | | | | | | All host keys can be used with all HMACs. Change-Id: I71055d3085d13683e53491ac9a9d98734dd6e7e5 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com> (cherry picked from commit 0aadfbd4537e83bab7b65c3658aa323c003610c4) Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* Installer: Fix syntax for Python 3Orgad Shaneh2015-08-251-3/+3
| | | | | Change-Id: I09a08f032b2cb774c0cf7d7290b9ab7e886137a2 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* Fix size of fading indicatorEike Ziller2015-08-251-0/+2
| | | | | | | In some situations text could be cut off. Change-Id: Ib7499e679a9a9e048d217306c525b04eaf330967 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* qmlpuppet: Fix build against Qt 5.6Friedemann Kleint2015-08-251-2/+6
| | | | | Change-Id: Ia8417541888fa6a9b282db39f906024e83fee196 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* DiffEditor: Support mode change in Git diffOrgad Shaneh2015-08-252-1/+21
| | | | | | Task-number: QTCREATORBUG-14963 Change-Id: I5d26ae810add657a94fb40a5d4437e2d17a1625a Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* Debugger: Always disable wait indicator when switching engineshjk2015-08-241-0/+1
| | | | | | | | | | The spinning wait indicator in the Locals view could go on infinitely when the running debugger engine did not get a 'notifyUpdateFinished' signal (e.g. if the engine quits between beginning and ending an update cycle). Change-Id: Ib3d7a88d3b89ed423b2d41e85a632ff01f91c155 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* Unbreak user-installed plugin loading on non-LinuxEike Ziller2015-08-241-2/+4
| | | | | | | | | There is no "data" subdirectory on Windows and OS X. Broke in 1d5091e48f6df341dbd4436843c25afe25cbf4ce Change-Id: I1c5e5b60847028c9f3d734eeb6995e99013162b1 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>