summaryrefslogtreecommitdiff
path: root/src/plugins
Commit message (Collapse)AuthorAgeFilesLines
* License updateEike Ziller2014-10-093567-24713/+28228
| | | | | Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* CMakeProjectManager: Fix crash on selecting make targetDaniel Teske2014-10-081-1/+1
| | | | | | Task-number: QTCREATORBUG-13129 Change-Id: Ie964e547809ee7626c526a6a3f5741f19b8a2f0f Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Update qbs submodule.Christian Kandeler2014-10-071-3/+2
| | | | | | | And do the required adaptation in QbsProjectManager. Change-Id: Ib383ebf99ceb638a545158d426769bf963086a1a Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Android: Be more careful in androidVirtualDevices()Daniel Teske2014-10-021-7/+24
| | | | | | | | | | The backtrace in QTCREATORBUG-13081 suggest that something with dev.serialNumber is wrong. The input (attached to the bug report) does not indicate why we would misparse it. So add checking code to all places where we index into line. Change-Id: Ic8e4afb763dc1c899e9a1d0503d6494e2aea1223 Reviewed-by: BogDan Vatra <bogdan@kde.org>
* Core: Revert function signature changeOrgad Shaneh2014-09-302-2/+2
| | | | | | | | | Breaks BC with MSVC2010. This partially reverts commit fe8ed7f5a666629ae43f8fc0888484a8bfa3b210. Change-Id: I36f995f992f3d12f16900c6dbe1dc94123c188bd Reviewed-by: hjk <hjk121@nokiamail.com>
* Re-add Label for action JumpToFileUnderCursorInNextSplit.marcel2014-09-291-1/+1
| | | | | | | The label got lost in f1eb9c4827670a56a5f772575d7f4a1d1f9cd26f Change-Id: Idedbc471a2ea6104e900d626ff7b424d51092624 Reviewed-by: David Schulz <david.schulz@digia.com>
* Generic Project: Fix adding wrong include directoriesAndre Hartmann2014-09-291-2/+2
| | | | | | | | Task-number: QTCREATORBUG-12727 Task-number: QTCREATORBUG-12873 Change-Id: I1dffad5af9ac254fa17f89291db7baf640ed1851 Reviewed-by: Daniel Teske <daniel.teske@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Perforce: Disable actions when outside a repository.David Schulz2014-09-291-14/+30
| | | | | | Task-number: QTCREATORBUG-13092 Change-Id: I3d059af748f0160ebfc97bebbd43de9210f17250 Reviewed-by: Christian Stenger <christian.stenger@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-263-5/+6
| | | | | | | | This was broken in d52ee686d1ae63090e066faf4e2b66b90620b774. Task-number: QTCREATORBUG-13098 Change-Id: Ia075e13fdd00e561b78058a3cab0cb02d2eb5fe6 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* TextEditor: Only disable block selection when we have one.David Schulz2014-09-241-1/+2
| | | | | | | | This reduces unnecessary calls to ensureCursorVisible. Task-number: QTCREATORBUG-12860 Change-Id: Iaf59642f3cee645f75d5319d3f6adc236b3f2ee2 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* Make compile with Qt 5.4Kevin Funk2014-09-222-5/+15
| | | | | | | | Partial backport of 5da75dba065df3a16d2c58fcd89027750b34f12f Change-Id: I5d0964818934a2a0fc57c97b229469fd5a6c8131 Reviewed-by: Daniel Teske <daniel.teske@digia.com> Reviewed-by: hjk <hjk121@nokiamail.com>
* Locator: Fix the fix of the deadlockEike Ziller2014-09-222-6/+14
| | | | | | | | | | | | | | | | | | The all/current project searches use metacalls on the UI thread to work around thread-unsafety of the Project::allFiles method, so we cannot jus t block the UI thread to wait for the old search to cancel. On the other hand, many of the ILocatorFilter::matchesFor implementation s do not work when they are run in multiple threads simultaneously (most implementations access unguarded member variables, help index filter tend s to crash), so we _do_ have to wait for the search to cancel before sta rting a new thread. Broke with 05c267673f43ecbb0ae4c44adc7d02a690435f8b and 6fc39f0c41c248be 00c5673ae80d03d115bf3739 Change-Id: I93c607c879e8ba6ef60f94719812edb3df43a154 Task-number: QTCREATORBUG-12875 Task-number: QTCREATORBUG-12592 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* CppEditor: Fix isValidAsciiIdentifierChar.David Schulz2014-09-221-1/+1
| | | | | | Task-number: QTCREATORBUG-13012 Change-Id: I70d45dcdc72408d46bea0b78746ab28c17f3b9e3 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
* CppTools: Fix compilation with recent gcc 4.9.2Orgad Shaneh2014-09-192-15/+21
| | | | | | | | | | | | | | | | | | See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62224 .obj/release-shared/cppcodemodelinspectordialog.o: In function `CppEditor::Internal::CppCodeModelInspectorDialog::refresh()': cppcodemodelinspectordialog.cpp:(.text+0x79fc): undefined reference to `CppTools::Internal::CppModelManager::ensureUpdated()' .obj/release-shared/cppcodemodelinspectordialog.o: In function `CppTools::Internal::CppModelManager::definedMacros()': cppcodemodelinspectordialog.cpp:+0x26): undefined reference to `CppTools::Internal::CppModelManager::ensureUpdated()' .obj/release-shared/cppcodemodelinspectordialog.o: In function `CppTools::Internal::CppModelManager::headerPaths()': cppcodemodelinspectordialog.cpp: +0x26): undefined reference to `CppTools::Internal::CppModelManager::ensureUpdated()' Change-Id: Ie0e01f7628668cbbe11b701a93caef98bb8e335f Reviewed-by: Adam Majer <adamm@zombino.com> Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com> (cherry picked from commit c023a1cac182b44baa8645e8955ef03ed0d31fd7) Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* ClearCase: Fix unreserved checkoutOrgad Shaneh2014-09-151-2/+4
| | | | | | Task-number: QTCREATORBUG-12847 Change-Id: I8b42631adf62cd9b6afea619a17bf01a725a2968 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* QbsProjectManager: Turn the timestamp check off by default.Christian Kandeler2014-09-151-1/+0
| | | | | | | One line was overlooked in a recent patch that intended to do this. Change-Id: I1c344c4e25d47b2c4cc89071c2a4e059b451c9fd Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* QbsProjectManager: Fix crash when calling QbsProject::files().Christian Kandeler2014-09-151-3/+3
| | | | | | | | We can't do that during parsing, as qbs::Project::buildSystemFiles() might run into a race condition. Change-Id: Iae3fd3000fdc71fec50c82d50fb3b4e3888351bc Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* QmlDesigner.PropertyEditor: Fix regression in SliderSpecificsThomas Hartmann2014-09-111-1/+1
| | | | | Change-Id: Id71d3ec192a030ead81bb7746681b18cb9d79e27 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
* QmlDesigner.Instances: Do not use Qt kit for fallback puppetThomas Hartmann2014-09-111-1/+2
| | | | | Change-Id: I825c7f2380a376b30cc647942aa7d252aa9d36df Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Doc: fix labels and tooltipsLeena Miettinen2014-09-112-14/+14
| | | | | | | | Fix capitalization, punctuation and typos, and remove unnecessary text. Change-Id: Iee39e465125d5d9eec099323fb7d75756c8d81df Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
* ClearCase: Initialize checkout dialog after sync has finishedOrgad Shaneh2014-09-101-5/+6
| | | | | | | | If it is initialized too early, activities combo is empty. Change-Id: I6ca34e7bcae5d9960b1f84cd3f95ce13ae45ccca Reviewed-by: Knut Petter Svendsen <knutpett@pvv.org> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* Only insert SideBarWidget for existing idThomas Hartmann2014-09-101-1/+2
| | | | | | | Task-number: QTCREATORBUG-12974 Change-Id: I69cacab32de0454a78c5a67edcc7dcbbdcb12784 Reviewed-by: Christian Stenger <christian.stenger@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* QmlJS: Add error message for invalid root item in the designerThomas Hartmann2014-09-101-0/+1
| | | | | | | | | Documents with those types do crash the qmlpuppet and confuse the users. With this patch we give a clear error message and such files are not supported anymore. Change-Id: Iba19def2751d4dc81d90684c0c63c0274fdf49cf Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
* QmlDesigner: Adding UI option for fallback puppet.Thomas Hartmann2014-09-103-27/+48
| | | | | | | | | This patch adds an option to configure the usage of qml(2)puppet. By default the qml(2)puppet that comes together with Qt Creator is used. Change-Id: Idada8457e81fa17d3290dc97ded303aab475a9f3 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* QmlDesigner.TextToModelMerger: Fixing comparison of QVariantThomas Hartmann2014-09-091-0/+2
| | | | | | | | | | | n the case of custom types, their equalness operators are not called. Instead the values' addresses are compared. This is not want we want. Instead we have to cast and compare our custom types manually. This fixed a couple of QTC_ASSERTS. Change-Id: I3a82b84744f9b8860b7efaeb203475bb9dba5d11 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* QmlDesigner: add more specificsTim Jenssen2014-09-097-62/+266
| | | | | | | Fix: QTCREATORBUG-12798 Change-Id: I8d36bb4ccae05cdb28833317d74a06e7628540a1 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
* QmlDesigner.Navigator: Fix reordering in case of invisble nodesThomas Hartmann2014-09-083-30/+7
| | | | | | | | | | If the model contains nodes that are invisible in the navigator (e.g. QtObject) updateItemRowOrder() does not work correctly. To avoid complexity we update the subtree in this case. Change-Id: Ia40ce061e9188ef9ad6ca54ce3444432b878ddf6 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* QmlDesigner.Navigator: Crash fixThomas Hartmann2014-09-081-1/+3
| | | | | | | | | Objects which are not an Item are not visible in the tree view. In this case model() is 0 and Qt Creator was crashing when detaching the navigator view. Change-Id: I144c940d76157defb27133673ed911d733d8b5ef Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* QmlDesigner: Fix regression for import pathsThomas Hartmann2014-09-0810-33/+22
| | | | | | | | | | | | | | The imports paths used by the sub component manger and meta info system were not correctly resolved. The main reason was that the textDocument in the text modifiers are just plain text buffers and do not containt any url for the document. This patch removes importPaths() from the TextModifier. The ViewerContext can be stored in the TextToModelMerger and does not have to be recreated when needed. Change-Id: I17281caee23ddd51f6e36d5346bc3bd7c53005e8 Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
* qmljs: highlight properties with inline qml componentsFawzi Mohamed2014-09-081-1/+6
| | | | | | Task-number: QTCREATORBUG-10892 Change-Id: Ifbf5675ab53de54f6f38c07726f5ad400f6ee9d6 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Fixed font deployment for winphone 8.0Oliver Wolff2014-09-051-3/+19
| | | | | Change-Id: I8d7a2debfec3bbd06780458a29f11031dd9b862c Reviewed-by: Andrew Knight <andrew.knight@digia.com>
* Fixed creation of mapping files for winphone 8.1Oliver Wolff2014-09-051-10/+21
| | | | | Change-Id: I42f97f8f629b6ffbf48a01409605853f60a9c02b Reviewed-by: Andrew Knight <andrew.knight@digia.com>
* Fix keyboard selection shortcuts on Qml/JS ConsoleKai Koehne2014-09-041-2/+6
| | | | | | | Change-Id: I804df07c711de62c6c8e34810aa17a7ed86f2011 Task-number: QTCREATORBUG-12956 Reviewed-by: Aurindam Jana <aurindam.jana@digia.com> Reviewed-by: Ulf Hermann <ulf.hermann@digia.com>
* Editor: Draw column wrap line after drawing ifdef blocksVicken Simonian2014-09-041-19/+20
| | | | | | Task-number: QTCREATORBUG-12940 Change-Id: I431176c1879236bc107a2c1db11890da5d75f750 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Do not build UpdateInfo pluginEike Ziller2014-09-031-5/+5
| | | | | | | | It is broken, and people should not even be able to manually enable it. Change-Id: I990922b1a514e43ed7e4b951ee230306e031f942 Task-number: QTCREATORBUG-11262 Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
* VariableManager: Hopefully fix crash with int variablesEike Ziller2014-09-031-1/+2
| | | | | | | | Capturing const references in lambdas is potentially dangerous. Change-Id: I4b4ddc8dcb1e839e4ed919caccdf0010ed8e6a34 Task-number: QTCREATORBUG-12948 Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
* QmlJS: Use canonical paths for matching of import directoriesKai Koehne2014-09-031-4/+4
| | | | | | | | | We rely on string comparison for detection of QML import paths. Therefore make sure that all paths are canonical. Change-Id: I416bc31915644a888c416d726049668b0e71f29a Task-number: QTCREATORBUG-12902 Reviewed-by: Fawzi Mohamed <fawzi.mohamed@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>
* RemoteLinux: Fix mixed debugging.Christian Kandeler2014-09-022-18/+25
| | | | | | | | | | The QML part was broken due to recent changes relating to gdbserver "multi" mode. Task-number: QTCREATORBUG-12928 Change-Id: Ia806f0cbfedd6961138f7cd89a0387bd851ff83e Reviewed-by: Robert Loehning <robert.loehning@digia.com> Reviewed-by: hjk <hjk121@nokiamail.com>
* Fix behavior of debugger run widget.Christian Kandeler2014-09-021-2/+6
| | | | | | | | | | | The logic checking the other check box if the only checked one is being unchecked was faulty, only updating the UI but not the actual state. As a result, both C++ and QML were switched off, resulting in interesting behavior when starting a debugging session. Change-Id: Ifd61f7080ad70f816fa80b416f8594f057c299d4 Reviewed-by: hjk <hjk121@nokiamail.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* QbsProjectManager: Fix crash when an install step is removed.Christian Kandeler2014-09-012-0/+14
| | | | | | | | The object has already been deleted when the stepRemoved() signal comes in, so we call disconnect() on a dangling pointer. Change-Id: Ife5192f9edbde3d42c96dbcae60d7eb03b051745 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* Debugger: Don't use document with AST from indexing snapshotNikolai Kosjar2014-08-291-4/+1
| | | | | | | ...since the AST will be released at some point from another thread. Change-Id: I71d20228ebec71e98dca3474452677ec63ffe4c6 Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
* C++: add env. var. to disable decl/def link tracking.Erik Verbruggen2014-08-291-0/+4
| | | | | | | | | | When the environment variable QTC_NO_FUNCTION_DECL_DEF_LINK_TRACKING is set, no method declaration/definition tracking is performed. This is to see if QTCREATORBUG-11262 is triggered due to the tracking. Task-number: QTCREATORBUG-11262 Change-Id: Id4cb1fabf9304f8bf42393cb65c402adf8818e2a Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
* C++: Fix possible use-after-free of AST.Erik Verbruggen2014-08-291-4/+0
| | | | | | | | | | | | | | | | | | The CppRefactoringChanges::fileNoEditor takes a Document from the snapshot it has. Although this snapshot is a safe copy, it might have been gotten right after it was updated by indexing. Such a document will still have its AST. If this AST is used by any refactoring action without retaining it, the pointers will be dangling after a short while (specifically: after the locator has extracted all the information). The fileNoEditor method is called by the declDefLinkFinder to search the target document. The snapshot is obtained before, and contains the document for the semantic info. However, the target document will not come from the semantic info, but from the indexer. Change-Id: I212ff41dde6910e94e80552b2c3e5911fe9496ae Task-number: QTCREATORBUG-11262 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
* C++: set the objectName of QTimers.Erik Verbruggen2014-08-297-6/+20
| | | | | | | | | This will hopefully help a bit in resolving the crashes that happen in QCoreApplication::notifyInternal. Change-Id: Ib3aa8c1a1f50778bd89938d7c529d8399ccf91ea Task-number: QTCREATORBUG-11262 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
* Painting fix when devicePixelRatio > 1Paul Olav Tvete2014-08-281-1/+2
| | | | | | | | | | | | | | Qt draws lines on half-pixel boundaries. Because of rounding, this is not visible with non-scaled aliased painting. However, on a high-DPI screen with scaling enabled, the line under the menu bar is drawn at a one pixel offset, which causes it to overlap the menubar items. This change draws the line at the mathematically correct position. Task-number: QTBUG-38858 Change-Id: I0a2260507d346b52a36258d479cde87064d991ef Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* qmljs: fixing used importsFawzi Mohamed2014-08-281-1/+1
| | | | | | Task-number: QTCREATORBUG-12782 Change-Id: I44808f10504991fb9fc621acedd43035698c6afb Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
* QmlDesigner.MetaInfo: Avoid duplicated propertiesThomas Hartmann2014-08-281-2/+4
| | | | | | | | | | | For some reason ApplicationWindow seems to be twice in the type hierarchy. This means all properties specific to ApplicationWindow were duplicated. This patch avoids adding a property twice. Task-number: QTCREATORBUG-12910 Change-Id: I8a06fa15778335be8c6977369ece94385b25487c Reviewed-by: Robert Loehning <robert.loehning@digia.com> Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
* Add qtquick 2.3 and qtquickcontrols 1.2 templatesjkobus2014-08-282-0/+8
| | | | | Change-Id: Id71a21b273d2d156cb55033ad6a9ae2bcf5565ca Reviewed-by: Kai Koehne <kai.koehne@digia.com>