summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Cppcheck: Replace another assertion with a conditionOrgad Shaneh2018-09-261-1/+2
| | | | | | | Missed in 3f4438e2ebc796fd5b2eab7018f270b6477f7d77. Change-Id: Ie0ddeb7aad5dc70aec788b9df1954e884684cba1 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* Clang: Rename member variables according to the code styleIvan Donchevskii2018-09-265-88/+88
| | | | | Change-Id: I2ca6127d04321cfb5ac933475b54c669fbee729d Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* Utils: Return a const list for FancyMainWindow::dockWidgetshjk2018-09-263-9/+9
| | | | | | | Makes s/foreach/for straight forward on the user code side. Change-Id: I78aa0d06f538ebda491cd238ce81cc155b8d0beb Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Merge remote-tracking branch 'origin/4.7' into 4.8Eike Ziller2018-09-268-14/+26
|\ | | | | | | Change-Id: Iaae859601ae4f529c1fa7ada3a5c569820abb0d6
| * Valgrind: Add target executable suffix to heob command lineHannes Domani2018-09-251-2/+3
| | | | | | | | | | | | | | | | | | | | The suffix is needed in case the executable name contains a dot, because then the .exe suffix is not added automatically by CreateProcess(). Change-Id: Ief2cfeaa8dd8ebbfb71f69575ee9574a4f2156d3 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
| * Fix conflicting LanguageVersion and value __cplusplus defineEike Ziller2018-09-241-3/+8
| | | | | | | | | | | | | | Task-number: QTCREATORBUG-20884 Change-Id: Ieddb277ed5a7c167d75f902275b8f98cc3fc8af4 Reviewed-by: Marco Bubke <marco.bubke@qt.io> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
| * SshDeviceProcess: Don't emit readyRead signals if no data availableJonathan Liu2018-09-211-2/+8
| | | | | | | | | | | | | | Task-number: QTCREATORBUG-19367 Change-Id: I477800b2e2060748c2b5f9fde3acc91d9f5ae176 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
| * Fix incorrect grammar in 'does not exists'Kai Koehne2018-09-214-6/+6
| | | | | | | | | | | | Change-Id: I790d9bbdfc170808ff66e70be0f81d1c292c0bcb Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Marco Bubke <marco.bubke@qt.io>
| * Clang: Remove version check for skipping inlude file warningsIvan Donchevskii2018-09-211-1/+1
| | | | | | | | | | | | | | | | The change is not upstreamed so the version number is not valid. Task-number: QTCREATORBUG-21139 Change-Id: I46fdb0a700780811b88083ae6ed55a241c705cb9 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* | Merge remote-tracking branch 'origin/master' into 4.8Eike Ziller2018-09-262-13/+19
|\ \ | | | | | | | | | Change-Id: Iaad349302545619f5299fbab26aff11790ca122e
| * | Get rid of macros by using std functionsEike Ziller2018-09-261-8/+10
| | | | | | | | | | | | | | | Change-Id: Ie342b781b912dabbc890777db87793b5953dbe18 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
| * | Clang: Fix compile commands generation for large projectsOrgad Shaneh2018-09-251-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | ...such as Qt Creator. Avoid storing the entire JSON in-memory. Instead, write as you go. Change-Id: Ie298af546b25d80813a75d8dc09f3244488b8658 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
* | | ProjectExplorer: Purge obsolete conditionOrgad Shaneh2018-09-261-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | We don't support Windows earlier than 7, and QSysInfo::WindowsVersion is deprecated. Change-Id: Ibd516c3526c88933f68ac730964fdb3405040358 Reviewed-by: David Schulz <david.schulz@qt.io>
* | | Core: Change IEditor::document() to constOrgad Shaneh2018-09-2615-15/+15
| | | | | | | | | | | | | | | | | | | | | All the implementations are const. Change-Id: Ib9753fe764dd482d4f4392eec70878d42edc737a Reviewed-by: hjk <hjk@qt.io>
* | | Debugger: Privatize GdbMi::m_childrenhjk2018-09-2611-62/+63
| | | | | | | | | | | | | | | Change-Id: I6e51290c4521be40f516a452f32bdc82a4c051e6 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | | iOS: Remove unused IosRunConfiguration::deployStephjk2018-09-262-10/+1
| | | | | | | | | | | | | | | Change-Id: I5e2ceacf02c0f19b605d134a0e7f0a13d5426fa2 Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
* | | iOS: Move towards more aspect usehjk2018-09-262-59/+54
| | | | | | | | | | | | | | | | | | | | | Put the remaining device related pieces into a new IosDeviceTypeAspect. Change-Id: Ia1ce2002edebedc2d409edc1144ade0ffe24a084 Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
* | | Debugger: Fix use of external debug info for installer-based QtChristian Stenger2018-09-262-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On macOS. This amends ada0e43c93. Fixes the default build directory on macOS as this is different compared to Linux. Beside this the patch passes the configured mappings of build dir and source locations to the lldb. Task-number: QTCREATORBUG-20693 Change-Id: I4258c09ec96fbdc1a713ae82df6bcab04129570c Reviewed-by: hjk <hjk@qt.io>
* | | Cppcheck: Replace assertion with a conditionOrgad Shaneh2018-09-251-1/+2
| | | | | | | | | | | | | | | | | | | | | There are several editor types without path. Change-Id: Ieb7f3453ae83d6b64488a5f9381b5e7927ff1ece Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* | | Theme: adjust to new theme color namesTim Jenssen2018-09-251-2/+2
| | | | | | | | | | | | | | | Change-Id: I6d99ff37ac419058729b248860a56eecc9fa0be3 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* | | QtSupport: Fix qbs buildNikolai Kosjar2018-09-251-0/+1
| | | | | | | | | | | | | | | Change-Id: Idf4dae85ac254fe151f2571d5139420336f8b122 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* | | Clang: Fix include paths for clangrefactoringbackend for qbsNikolai Kosjar2018-09-251-1/+3
| | | | | | | | | | | | | | | | | | Change-Id: I36b5e28a91999559644bce002085eb929e6e82ef Reviewed-by: Marco Bubke <marco.bubke@qt.io> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* | | ClangRefactoring: Use wildcard for pch manager qbs project fileMarco Bubke2018-09-251-19/+2
| | | | | | | | | | | | | | | | | | Change-Id: I2197bb6c1d65c8e04ac36ff21f1d604b9d35443e Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io> Reviewed-by: Marco Bubke <marco.bubke@qt.io>
* | | CppTools: Apply SkipBuiltIn also to toolchain definesOrgad Shaneh2018-09-252-11/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The only place where Yes is used is the compilation DB, which doesn't need these defines anyway. Also add -fPIC for Qt compatibility. This reduces the compile_commands.json file for Qt Creator from 180M to 33M. Change-Id: Idd3b363c3a143b1d79f97962c4ff9ee61d7767a4 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
* | | Merge remote-tracking branch 'origin/master' into 4.8Eike Ziller2018-09-2578-1799/+1564
|\ \ \ | |/ / | | | | | | Change-Id: Ic7fc44a9533d5d5abd384ff1185ec10811912314
| * | TextEditor: Cleanup text stylesMarco Bubke2018-09-253-29/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So far there were different settings for different mix-ins. There was no technical reason why we limit the user. So you can set now the color, the relative saturation and value, the font, underline, italic and bold. The relative saturation and value are disabled if the color is set. The settings are reordered too so the order reflects the semantic meaning much better. Change-Id: I440967d6729f720816d2bc028ff9fe8e8868074e Task-number: QTCREATORBUG-21105 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
| * | Clang: Reuse thread based pipeline for pch creationMarco Bubke2018-09-2474-1767/+1496
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The pch creation so far used signal and slots but there was no explicit pipeline. This patch is introducing the same architecture like the refactoring plugin. It is filtering out older project parts from the pipeline. Change-Id: Iaa6bd2ca1272231b97ebe1f5f7b2ce8e43bc590c Task-number: QTCREATORBUG-21111 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
| * | ClearCase: Pass dialogParent where neededOrgad Shaneh2018-09-221-3/+6
| | | | | | | | | | | | | | | Change-Id: I5f2de5191472fc0414fc5aa7074ad5e8e8251db1 Reviewed-by: André Hartmann <aha_1980@gmx.de>
* | | Tests: Remove use of deprecated QDateTime::toTime_tOrgad Shaneh2018-09-251-1/+3
| | | | | | | | | | | | | | | Change-Id: I7d9f4e13deb8f375840f9da0c84b165a1dd744ee Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | | ExtensionSystem: Relax platform regexp matchingOrgad Shaneh2018-09-252-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | Match anywhere, not only exact matches. Change-Id: I3f530e9ee796250252108f835f7435c57f8d516b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | | PluginManager: Replace getPlatformName with QSysInfo::prettyProductNameOrgad Shaneh2018-09-251-59/+7
| | | | | | | | | | | | | | | | | | | | | | | | QSysInfo::*Version is deprecated, and prettyProductName should provide better results anyway. Change-Id: I5de3369e583d8d51b894e74509363cd6be150010 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | | Tracing: Make sure the time display repeater's model is not negativeUlf Hermann2018-09-251-1/+2
| | | | | | | | | | | | | | | Change-Id: Iedc2f82194a48c426491d05ede8ff8b3341bc63b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* | | QtSupport: When populating file finder, map resource pathsUlf Hermann2018-09-252-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We know the exact mappings for all resources. If we pass those to the FileInProjectFinder, the path resolution becomes more accurate. Task-number: QTCREATORBUG-21107 Change-Id: I9230ffb68a49a281574990afde6f7099fb0bd9d3 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: hjk <hjk@qt.io>
* | | Fix fix for focus handling when leaving locatorEike Ziller2018-09-251-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | If accepting a filter entry already changes the focus, then we should not interfere by setting it somewhere else again. Task-number: QTCREATORBUG-21125 Change-Id: I9ff76b0bae9280b44c73d7078f25ca42b6b89821 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* | | Fix qbs build of clangformat pluginAlexandru Croitor2018-09-253-8/+33
| | | | | | | | | | | | | | | Change-Id: Ic23a34048c62ed39590ad422ea3e4f8fea9fc5a1 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | | Debugger: Honor Run in Terminal for Start and Debug External Applhjk2018-09-241-0/+1
| | | | | | | | | | | | | | | | | | | | | Again. Change-Id: I307e39045e97aaf418a915b1e9a968e7e4ab1ab5 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* | | Clang: Remove unused functionNikolai Kosjar2018-09-241-1/+0
| | | | | | | | | | | | | | | Change-Id: I78743489c6b5dc617c4a9966e83d3bf987707bc9 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
* | | Debugger: Fix use of external debug info for installer-based Qthjk2018-09-242-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | On Linux. Required installs are the gcc-built Qt libraries themselves, the "Sources" and "Qt Debug Information Files" components. Fixes: QTCREATORBUG-20693 Change-Id: I920efd641ce3ee4583741ea1db0bea18031adc51 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | | Debugger: Allow watching complex expression for QMLChristian Stenger2018-09-242-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Latest restructuring made the 'Add Expression Evaluator' action to a no-op when not debugging. Reflect this by disabling the action as long the user is not debugging and allow complex expressions to be evaluated for QML as well. Fixes: QTCREATORBUG-19050 Change-Id: I2d6421a121e2169981b992a617f4d2b7264a8091 Reviewed-by: hjk <hjk@qt.io>
* | | FileInProjectFinder: Report length of matched postfixUlf Hermann2018-09-242-51/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We want to know how exact the match is, so that we can reject results that don't fit our needs. We cannot pass an extra fuzzy/exact parameter to findFileOrDirectory, because we cache the results, and we need to be able to reuse results obtained from different searches. Task-number: QTCREATORBUG-21107 Change-Id: I870100f4c0acd0e9b007f076543340b34a25a447 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* | | Debugger: Ensure status message is printedChristian Stenger2018-09-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Activate the debugger engine before the status label is updated to avoid purging the status label content. Change-Id: I060cdaaf3d09e3636fbe206f65941ec56abb5eb7 Reviewed-by: hjk <hjk@qt.io>
* | | Tests: Fix compile for boost > 1.64Christian Stenger2018-09-241-0/+4
| | | | | | | | | | | | | | | Change-Id: Idf5d68e4528fd49023b21912a48a3cc109a1bbfa Reviewed-by: hjk <hjk@qt.io>
* | | Doc: Add troubleshooting information for QNX devicesLeena Miettinen2018-09-242-1/+19
| | | | | | | | | | | | | | | | | | Task-number: QTBUG-69762 Change-Id: I2fa6f62b95eddc901aa133e922934938d1ae208e Reviewed-by: hjk <hjk@qt.io>
* | | QmlDesigner: Do not store @NodeInstance data in persistent aux dataThomas Hartmann2018-09-241-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | These values are typically quite arbitrary like the current postion of the frame handle. There is no reason to safe this persistently. Change-Id: I2b09edf4842d3ec9956ced3a6a72ea4101395fbd Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | | Doc: Mark more doc source files creator-onlyLeena Miettinen2018-09-242-4/+0
| | | | | | | | | | | | | | | Change-Id: I3c7e6a374b7d9b70f79f8e3028277d416577d2e9 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* | | QmlDesigner: take only width and height as auxiliary valuesTim Jenssen2018-09-241-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | In case the user switched into a component to see what is wrong or right it is very confusing if the component takes some property which is set in the parent. Change-Id: Ib8310bf6b6af029e7aa392bd924c04aa3e982a4d Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* | | Help: Remove usage of deprecated APIEike Ziller2018-09-231-40/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | This follows the same outline as qttools 256bbc4f139036a780a63b80af8bb461a77d333a Change-Id: Iffe1f7a8d11ef9d20ec567fd222ee5279b56c765 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* | | Merge remote-tracking branch 'origin/master' into 4.8Orgad Shaneh2018-09-213-3/+4
|\ \ \ | |/ / | | | | | | Change-Id: I36b9fdcaf895b7aecabdfd9848fc0ba5e48ff88b
| * | QmlDesigner: fix unused warningTim Jenssen2018-09-211-1/+1
| | | | | | | | | | | | | | | Change-Id: I3799a7fa8bf5838d162a3088d95948756b3e9e35 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
| * | Fix macOS buildTim Jenssen2018-09-211-0/+2
| | | | | | | | | | | | | | | | | | | | | std::srand was not existing maybe an issue with older SDKs. Change-Id: Icd1af82d6e698da9f814ed0d96a839f46272c661 Reviewed-by: Orgad Shaneh <orgads@gmail.com>