summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Utils::ShellCommand: Add runSynchronous methodTobias Hunger2016-07-152-52/+65
| | | | | | | Add runSynchronous method and move code from runCommand there. Change-Id: Ic7c452d583fd88468fc6466a683159ecd8328b48 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* ShellCommand: Pass OutputProxy to runFullySynchronousTobias Hunger2016-07-152-3/+3
| | | | | | | No need to create a fresh one. Change-Id: I3c7b92319ab43030620428987dfa254be7ac03a7 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Utils::ShellCommand: Rename runSynchronous to runFullySynchronousTobias Hunger2016-07-152-9/+9
| | | | | | | | This name just got free, so use it for the method that actually is called if the process runs with the FullySynchronously flag set. Change-Id: Ic86bb291d578ad06b74db1ab89a22b1b8cb4f4bb Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Utils::Shellcommand: Remove runFullySynchronousTobias Hunger2016-07-154-56/+1
| | | | | | | Nobody uses that anymore. Change-Id: I24935ac8d25eb639eb253250749750993c740516 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* VCS: VcsBaseClient::vcsFullySynchronousExec returns a SynchronousProcessResponseTobias Hunger2016-07-157-341/+318
| | | | | Change-Id: Ic155da2ed1fd36f1f91327ac90f34a5cad3c210e Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* SynchronousProcess: Store raw bytes from stdout/stderr of the processTobias Hunger2016-07-1521-132/+148
| | | | | | | | | | | | | | | Only convert the raw output later in a stdOut() and stdErr() method of the SynchronousProcessResponse. This is necessary since we have processes that use different encodings for different sections of the file (I am looking at you, git). Also remove the signals for raw data on stdout/stderr, leaving only the signals returning buffered QString lines. This should be safe, even with UTF-16 output. Change-Id: Ida613fa86d1468cbd33bc6b3a1506a849c2d1c0a Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* IosTool: Use Qt5-style connectsOrgad Shaneh2016-07-153-31/+23
| | | | | | Change-Id: I5035b450c1f2c3498f356fc82bef8ea54bcfd61b Reviewed-by: Tobias Hunger <tobias.hunger@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* QNX: Prevent crash on failing attach to running processhjk2016-07-152-2/+7
| | | | | Change-Id: Ibe8c8e83f81e7111bdd782881eb9f44df71521fe Reviewed-by: Andy Shaw <andy.shaw@qt.io>
* QbsProjectManager: Have one qbs::Project per targetChristian Kandeler2016-07-152-2/+18
| | | | | | | | | | The class qbs::Project corresponds to a Qt Creator target, not to a Qt Creator project. It represents a project set up for a particular configuration. Task-number: QTCREATORBUG-16545 Change-Id: I9e4fa6a4bf763e49335f294609d7465545df4559 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Squish: Use examples from Qt 5 in suite_CCOMRobert Loehning2016-07-153-19/+20
| | | | | | Task-number: QTCREATORBUG-15469 Change-Id: I147c0ff6d402b97a1737a4bb57697c88ac7838be Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Core: Remove text shadow from progress labelAlessandro Portale2016-07-151-5/+1
| | | | | | | | | This removes the last occurrence of "Text with shadow". The progress label was not only inconsistent but also bad on light themes. Task-number: QTCREATORBUG-15999 Change-Id: I9c17402607d413fcfa0edcf342a50575d405dc1f Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
* Debugger: Add dumper for QMeta{Enum,Method,Property}hjk2016-07-155-586/+277
| | | | | | Task-number: QTCREATORBUG-16593 Change-Id: Iaa710660d8ef69459596f93831cf8467913f0468 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* AutoTest: Fix document update handling while code model indexingChristian Stenger2016-07-151-8/+3
| | | | | | | | | | | Avoid fetching all files for the startup project again and again while code model is indexing files. The indexing emits documentUpdated signals for all (relevant) processed files. If code model is indexing we perform a full parse anyhow after the indexing has finished. Change-Id: Ibfdb47f403da19d5bab3eb2295447ad451fca2b5 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* AutoTest: Fix detection of gtests inside namespacesChristian Stenger2016-07-154-2/+42
| | | | | | Task-number: QTCREATORBUG-16535 Change-Id: I3285d2545e2861607b6e1406ee24f950405c4367 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* AutoTest: Correctly release resourcesChristian Stenger2016-07-154-0/+15
| | | | | Change-Id: I8023c1468f9cf9cc0c549a466b298e19a6b40a15 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* AutoTest: Fix parsing for QuickTestsChristian Stenger2016-07-153-1/+40
| | | | | | | | | | | | | | | | If the scan for quick tests was triggered just by a change of a qml file (including indexing by the respective modelmanager) we might find tests that won't be able to execute. If we have already found quick tests we know their respective project files. If we cannot find the files to be scanned inside the already found ignore scan requests for such files. This patch is kind of a continuation of b570ee1b801da0906fdba9e0218e681b003a9857 (Fix initial parsing when loading session) Change-Id: Ic1228641f60abf127134acbd4232a0ddd30ef159 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* AutoTest: Add handling for system messagesChristian Stenger2016-07-153-1/+8
| | | | | | | QTest uses special type for critical and for special internal messages. Change-Id: I980b2ccd2913012be24183ea503247331eeb97e1 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* AutoTest: Cancel possible running tasks on shutdownChristian Stenger2016-07-156-4/+32
| | | | | | | | | If tasks are running while shutting down we might end up in a crash, so cancel all tasks and handle possible invalid accesses of the current running processing. Change-Id: I69f7cac5f44390e322fa301af6d6794270c95c2a Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* AutoTest: Allow run/debug without deploymentChristian Stenger2016-07-153-4/+29
| | | | | | | Task-number: QTCREATORBUG-16486 Change-Id: I7ef5887e065830152744a9bd7d7727058b4521d9 Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* Debugger: Disable QDateTime dumper for Qt >= 5.8hjk2016-07-152-3/+34
| | | | | | | Chicken out for now after latest internal structure changes. Change-Id: I66e283e52f9b51a51065520ecd3eb07b15e82fc2 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* QmlDesigner: Theming of property editor checkbox and "tr" buttonAlessandro Portale2016-07-1525-253/+83
| | | | | Change-Id: I599cd52c1b2b2e24952a9738f07eed0826802d4c Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
* Tweak solarized editor themesLorenz Haas2016-07-152-8/+8
| | | | | | | | Use solarized yellow and red for warnings and errors. Change-Id: I5164b1184e397eaaca68e06db74b43f6e59edfdd Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
* Tests: Provide qbs file for newly added testChristian Stenger2016-07-152-1/+17
| | | | | Change-Id: I0b6c41b8c8dbb3ef84bd106aa26357267f5de9a6 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Tests: Fix test when using shadow buildChristian Stenger2016-07-151-1/+1
| | | | | Change-Id: I82ebdbd63a221802f24b2ef17ca6c076151fba0c Reviewed-by: Marco Benelli <marco.benelli@qt.io>
* Adding Solarized editor themesThomas Hartmann2016-07-142-0/+138
| | | | | | | | | | These color schemes are based on the Solarized color schemes, originally created by Ethan Schoonover: http://ethanschoonover.com/solarized/ Change-Id: I75848608f59bbb32a78520e7b1a1a2554f2eca44 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* QmlDesigner: Remove triangle iconsThomas Hartmann2016-07-145-14/+5
| | | | | Change-Id: I32e0cb8a2d1b406c464ada33685def1149626a72 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* KitOptionsPage: Fix layout when showing/hiding kit detailsTobias Hunger2016-07-141-0/+3
| | | | | | Task-number: QTCREATORBUG-16261 Change-Id: Idf1beedfa427895a54498f1fb4658708ea5e4cc1 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
* Add wizard and mime type for SCXMLUlf Hermann2016-07-145-0/+79
| | | | | | | This allows us to easily add scxml files to a qmake project. Change-Id: I2b5b21683f3e76062e6858fb8d0bceaa699a5569 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Clang: Fix warning about unused functionNikolai Kosjar2016-07-141-0/+2
| | | | | | Change-Id: I6fe25ae507af5df0d555141b1e067e483592715b Reviewed-by: Marco Bubke <marco.bubke@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Clang: Increase timeout in testNikolai Kosjar2016-07-141-1/+1
| | | | | | | Might fix a fail on loaded test machines. Change-Id: Ieb9e8426f760e2257ececa0b53c564d68992c3fa Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Remove unused icons from qmleditorwidgetsThomas Hartmann2016-07-1381-81/+0
| | | | | Change-Id: I80160a6fe8e1ba76b93bf1b9660348d220310c84 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* QmlDesigner: Adding icons for property editor to icon providerThomas Hartmann2016-07-1316-40/+94
| | | | | Change-Id: I0869138783230fe3ff54e59e4d9094d23f5d42cc Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Debugger: Improve QMetaObject dumperhjk2016-07-132-122/+164
| | | | | | Change-Id: I690e95f5f4651331f6b2407636253770a9bb92a0 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: hjk <hjk@qt.io>
* QmlDesigner: Register icon provider for item libraryThomas Hartmann2016-07-131-0/+1
| | | | | Change-Id: If40369b88d42cbefffddc0d0d6d9d2d59c346175 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* QmlDesigner: Make the IconProvider available anywhereThomas Hartmann2016-07-139-13/+23
| | | | | | | Now the IconProvider can be used in the property editor. Change-Id: Iaaa2674e7dc0955d91f7699090340c4646e723a0 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* QmlDesigner: Remove outputpane-style.cssThomas Hartmann2016-07-133-62/+3
| | | | | | | | There is no need to style the ouputpane apart from the scrollbar. Change-Id: I3dcd98e403dace1de243c0254408c353ebcb3db2 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* ClangStaticAnalyzer: Fix analyzing qbs projects on macOSNikolai Kosjar2016-07-131-0/+16
| | | | | | | | | The system clang on macOS is aware of the header paths, but not our shipped clang. Task-number: QTCREATORBUG-15869 Change-Id: Iabb56d9443808be2822a21b48bb111a6a8a8c604 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* ProjectExplorer: Add option to stop applications from the same build directoryTobias Hunger2016-07-134-7/+38
| | | | | | | | | | | | | | Creator can stop running applications when a build starts. This prevents isssues on windows where the running application locks files in the build directory, which in turn will make the build fail. In addition to the current options to kill all applications or just those from the current project, add a new option to kill all applications of the current project that live in the same build directory. Task-number: QTCREATORBUG-16470 Change-Id: Ib4a74e2452055eaf5f9e384555be5ef14de1cd40 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
* QmlDesigner.Test: Adding test for implicit componentsThomas Hartmann2016-07-132-0/+90
| | | | | | | Implicit components like delegates have to be marked by the rewriter. Change-Id: I5b9c3e14f26c817e058f2db1e955333d43208719 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
* QmlDesigner: disable debug outputsTim Jenssen2016-07-131-7/+4
| | | | | | | + prettify code Change-Id: I1749ba5a92b5a1afb1c98bf621aec98cbc838405 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
* Squish: Update Creator's sources to v4.1.0-beta1Robert Loehning2016-07-134-4566/+12043
| | | | | Change-Id: I7176f77a55816bc35184b9689838b78b8d0baff7 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* QmlDesigner.Tests: Move test from Qt Quick 1 to Qt Quick 2Thomas Hartmann2016-07-131-48/+46
| | | | | Change-Id: I644d86fe77758bc94216db724c7c86bb2d9c205e Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
* Debugger: Robustify GDB attachinghjk2016-07-131-7/+9
| | | | | | | | | In some cases GDB output seem to get stuck/not flushed and there is no proper ^ response in time. Force a flush by running an extra dummy command afterwards. Change-Id: I2293dcea0877572a68f37253e60f2a99c03d443f Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* QmlDesigner.Tests: remove unnecessary processEventsThomas Hartmann2016-07-131-2/+0
| | | | | | | - it does not change anything nor behavior nor speed Change-Id: I9c2cc58eb07a9a432c3fe4fe45daca78e6f29cc0 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
* QmlDesigner.Tests: Fix loadGradient()Thomas Hartmann2016-07-131-1/+3
| | | | | | | | | | | | The order of nodes from directSubModelNodes() was not defined, since we collect the nodes from different properties ("default/data" and "gradient"). If we use the interface of NodeListProperty and explicitly use the default property, then the order is defined. Change-Id: I7982fa7749d1795ad39a7b76792ad794e49fa9ea Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
* Flat Light theme tweaksAlessandro Portale2016-07-131-8/+8
| | | | | Change-Id: I56a437c4f5ab7668124917731cd63fdd97b3b571 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Debugger: Remove 'nopass' on SIGSEGV GDB handlerhjk2016-07-131-11/+0
| | | | | | | | | | This has been used since the dawn of time but seems to cause problems with JVM code. Task-number: QTCREATORBUG-16565 Change-Id: Iae8a2949671d162f84b9dfe954c8dfbbd743a8de Reviewed-by: Sandro Mani <manisandro@gmail.com> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* QmlDesigner.Rewriter: Add QQmlComponent to isComponentType()Thomas Hartmann2016-07-121-1/+5
| | | | | | | The <cpp> prefix is not always there. Change-Id: Ibf8485c91dc98a02d9f750ac37b787c3eb9de711 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
* QmlDesigner.MetaInfo: Resolve properties using the CppComponentValueThomas Hartmann2016-07-121-0/+4
| | | | | | | | If the type is still "unknown" use the CppComponentValue to resolve the type. Change-Id: Ib404faa89a06d93f34189abfc7427122567ff25a Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
* QmlDesigner.MetaInfo: fix lazy initializationThomas Hartmann2016-07-121-0/+2
| | | | | | | The lazy initialization was missing for NodeMetaInfoPrivate::propertyType() Change-Id: Ic2251df30de2187aea44fe7a48df9e5e0d635ab8 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>