Commit Graph

60059 Commits

Author SHA1 Message Date
Thomas Hartmann
7393305b31 QmlDesigner: Do not use z-order for toFront/toBack
Task-number: QDS-370
Change-Id: I1cfff1b0f87e6dacb1f08c01a7b04d06eadb78e1
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2019-08-23 08:05:51 +00:00
Christian Stenger
33a4f8ab3c Revert "Autotest: Fix warning about type mismatch"
This reverts commit 501df95d57.
Accidently moved to the wrong branch.

Change-Id: I845103df2e6fb00a2bc27923caffde2622464eba
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-08-23 07:52:47 +00:00
Christian Kandeler
501df95d57 Autotest: Fix warning about type mismatch
Change-Id: I1bb518292da73861745646ae13f8f1feab541fe9
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-08-22 13:05:36 +00:00
Christian Stenger
8cd7a11926 AutoTest: Fix handling of unnamed QuickTests
..now that the parser understands multiple TestCase items
inside a single qml file.
As long a test function is located inside a different TestCase
it is considered as a different one, so treat test functions
even of unnamed test cases correct.

Change-Id: I5cbfe1f63f896317523d51bbf67ea59169481a71
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-08-22 06:50:05 +00:00
Friedemann Kleint
abe3dde5d6 ConsoleProcess: Build against 5.14/MSVC
Fix
consoleprocess_win.cpp(382): error C2668: 'QListSpecialMethods<QString>::join': ambiguous call to overloaded function
/src/corelib/text/qstringlist.h(243): note: could be 'QString QListSpecialMethods<QString>::join(QChar) const'
/src/corelib/text/qstringlist.h(233): note: or       'QString QListSpecialMethods<QString>::join(QStringView) const'
consoleprocess_win.cpp(382): note: while trying to match the argument list '(char)'

Change-Id: Ib1dae4e45c7a9d27f780245ac38952740562b4bf
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
2019-08-21 08:31:15 +00:00
Thomas Hartmann
8b2ac90bb3 QmlDesigner: Open dialog asynchronous
Change-Id: I4229ebb813d09680e6838f90469e7bb95b919f56
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2019-08-19 12:39:31 +00:00
Aleksei German
c51da3805d QmlDesigner Fix for GradientDialog selected item
Change-Id: Ie7f7a7ad79e3e9bcb796f0fedc3b7d5d9cd8b023
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-19 12:36:34 +00:00
Eike Ziller
a1d48830b1 CMake build: Make it possible to put plugins into Qt Creator build
In the super repository builds we want all plugins to end up
at a single place, so running the build result includes all plugins,
even without an explicit install.

With this patch we can set QTC_MERGE_BINARY_DIR in the super
CMakeLists.txt to achieve that.

Change-Id: I8b590e5a521a06aa5a8f00ef0e60f5c3b4349ee2
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-08-19 12:11:10 +00:00
Sergey Belyashov
093d8100b7 Update Russian translation
Change-Id: I064a68aed8963e9706f36c861e92b36ac0831096
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
2019-08-19 11:30:57 +00:00
Leena Miettinen
6ff6189cb5 Doc: Remove section on Checking JSON data structure
As the feature no longer seems to work.

Fixes: QTCREATORBUG-21024
Change-Id: I29cb03d70d5a5668b40066c9c6f75650dae65d44
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2019-08-19 07:48:42 +00:00
Henning Gruendl
8f9fa82880 QmlDesigner: Fix HelperWidgets ComboBox
Task-number: QDS-926
Change-Id: I77eafbf8c66b8a384dc8786726c74c89acad58ad
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-16 11:33:53 +00:00
Aleksei German
79576601db QmlDesigner Fix for Gradient Presets
Change-Id: I1d3d2f61f978c6bfb52ad4ea42f2c6756a2a0483
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-16 11:32:18 +00:00
Orgad Shaneh
eaf8ccf118 Git: Fix branch expansion on show before the diff display is done
The description is shown first (with the <Expand> placeholder), and the
diff parsing can be long. If <Expand> is clicked during parsing, it fails
because the base directory is not set yet.

Change-Id: Ib5e839b292c32091c726f24eb643d0fa5a142cb7
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2019-08-16 08:49:40 +00:00
Knud Dollereder
2b650f713a Update the curve editor when creating a new keyframe group
Change-Id: I944754811854dba5defca812f2da7f5c086a10dd
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-15 13:27:47 +00:00
Cristian Adam
e1809f94ef CMake build: Fix macOS build
Current brew cmake version is 3.12, which fails to compile.

Change-Id: I2d89f5716a97a4a4d8a8e8744902e75cc19c39c7
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-08-15 09:41:32 +00:00
Thomas Hartmann
34f58e0fa9 QmlDesigner: Fix regression in curve editor
Change-Id: I724eef30ca046c4a9147c447577a75b84ddd6d26
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2019-08-15 08:58:04 +00:00
Andre Hartmann
7a5f368d9b Locator: remove outdated documentation comment
There is no function called containsWildcard()
(anymore).

Change-Id: I493646ce9d84673ca0425c87b332be2545a58295
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-08-15 07:11:03 +00:00
Tim Jenssen
85cb981486 QmlDesigner: Fix potential crash
It is not crashing with 5.12.3 and 5.13.0

Task-number: QDS-916
Change-Id: I87bd83b90b1eb74c7825564ea789def52eaa8df0
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-14 15:37:54 +00:00
Cristian Adam
ab9aae4856 CMake build: Build with PCH
This commit enables building with upstream CMake PCH support.

Change-Id: Ib37745b00e7560e804483e7c2c2a3fa7cf6d663c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-08-14 13:40:48 +00:00
Knud Dollereder
7a39a3c9df Include handles when computing the scene extend
Change-Id: I6a6cd17d97c7d590b329315283acdb90ab9117f1
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-14 11:44:22 +00:00
Henning Gruendl
f136415e8c QmlDesigner: Update GradientPropertySpinBox
Fixes the referenced bug by replacing the SpinBox used in the
GradientPropertySpinBox with a RealSpinBox.

Task-number: QDS-914
Change-Id: Iaef165d622b14575713b090c0cc8a0bbac78cabb
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
qds/v1.3.0-beta1
2019-08-14 10:46:43 +00:00
Thomas Hartmann
85cebb3cba QmlDesigner: Block all mouse events in GradiantDialogPopup
Task-number: QDS-914
Change-Id: I08f9038caa947141ab202e2e5f3b00256abe8a21
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2019-08-14 09:58:38 +00:00
Knud Dollereder
ef2c3f4e30 Add newly created properties to the curve-editor
Change-Id: I6a8b6deca7d1f1d124e4b3e2ac845bab5802cbf7
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-14 09:33:03 +00:00
Henning Gruendl
fc86de5e5a QmlDesigner: Fix editable ComboBox
Change-Id: Ibf449a3dc34ffeedd70e46bffcb0670049bfb4fc
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-13 16:17:10 +00:00
Knud Dollereder
d877a39124 Set dark style
Change-Id: I194a7bb4f20dcecf3a4c3e783789a730a3ae89cc
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-13 15:30:15 +00:00
Thomas Hartmann
b7bc7c25f5 StudioWelcome: Always check for community edition
Change-Id: I9dc9bfc022c2611cb6bb9dc47820368e17d561e4
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2019-08-13 15:18:19 +00:00
Knud Dollereder
d9537a9a8a Improve scene to view fitting
Change-Id: Ib665c37db491d2af90f27a99f6b1c2d6f09b9df2
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-13 15:01:43 +00:00
Thomas Hartmann
b6070995e0 QmlDesigner: Add icons to curve editor
Change-Id: I77f9b28f8cfe04022571d9c0cc092b9206c4df60
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2019-08-13 14:01:43 +00:00
Christian Kandeler
3046c83f85 ProjectExplorer: Consider more compiler flags when collecting includes
The -nostdinc and -nostdinc++ options must not get filtered out when
constructing the compiler command line for collecting include paths.

Fixes: QTCREATORBUG-22760
Change-Id: I6bb10024f39869d5ef546968eb13d07d39c985ae
Reviewed-by: hjk <hjk@qt.io>
2019-08-13 13:55:39 +00:00
Christian Kandeler
1f4176275e RemoteLinux: Fix tar packaging for long file paths
Contrary to what we assumed, long file paths cannot be split up
arbitrarily, but only at separators.

Fixes: QTCREATORBUG-22815
Change-Id: Id13036f3d73cc5d6b272066c0f8a26d9748ce6b8
Reviewed-by: hjk <hjk@qt.io>
2019-08-13 11:44:58 +00:00
Thomas Hartmann
58ab977ad4 QmlDesigner: Use backspace on Mac instead of delete
This is what most users expect.

Task-number: QDS-823
Change-Id: I3955d1afcdc6686d8d0f0150e335f453bd253633
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Knud Dollereder <knud.dollereder@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-12 15:34:36 +00:00
Eike Ziller
821f799ff3 Android: Fix adding Java SDK to environment
33a9a03121 broke it by inverting the
condition.

Task-number: QTCREATORBUG-22504
Change-Id: Id0b66ec025281e6d6c52b7309f35a3bdfb8e7170
Reviewed-by: hjk <hjk@qt.io>
2019-08-12 14:52:39 +00:00
Knud Dollereder
31effafb60 Add context-menu to insert a keyframe for all visible curves
Change-Id: If86550bb9b8e73ff22fdbe3c2ffc579c35c505da
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-12 13:13:47 +00:00
Knud Dollereder
e0512f18a4 Catch alternative value type names
Fixes: QDS-892
Change-Id: I73577c56479ae42ff9f2aa82db31cb766a068537
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-12 12:37:04 +00:00
Knud Dollereder
d6095f9763 Do not clear selection when clicking on a selected keyframe
Change-Id: Ia2907a3687b70faf32bc32540bac8f381b507b73
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2019-08-12 12:22:15 +00:00
Christian Kandeler
df48ba5781 QmlDesigner: Fix qbs build
Change-Id: Iff06eaa50ae23f9ddcc82a2d2df9d35508ea9ad9
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-08-12 12:19:33 +00:00
Henning Gruendl
37585d3c55 QmlDesigner: Fix self-closing splash screen
Task-number: QDS-896
Change-Id: Ibc76c1e4668ba5a56ba7c45e68e698ed78bfb0e7
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2019-08-12 12:02:56 +00:00
Eike Ziller
68cbde187a CMake build: Add qtc-askpass
Fixes: QTCREATORBUG-22804
Change-Id: I749d0da495e77e45198ee67675c297ec68da1634
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2019-08-12 10:55:16 +00:00
Eike Ziller
d84a6c4988 Update change log for 4.10.0
Change-Id: I6cb272a08fb240caca98bc6286750006518470e1
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-08-12 09:55:11 +00:00
Eike Ziller
dcc47f2587 iOS: Share code for simulator display name
Change-Id: Iecfaa43aefc7ed783d4149dec008330ee5c124e9
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-08-12 08:37:12 +00:00
Christian Stenger
e47a01c3cb Debugger: Update breakpoint marker earlier
Since the distinction between global and engine
breakpoints we may not update the breakpoint marker
correctly which in turn appears as if the breakpoint
had been failed to set.
Fix this by updating the breakpoint marker already on
insertion request.

Change-Id: I7c4ed046c26667e6aa1efceb5071c12a6d1e6132
Reviewed-by: hjk <hjk@qt.io>
2019-08-12 07:52:42 +00:00
Thomas Hartmann
596e4b041a QmlDesigner: Add missing PGN
Change-Id: Ie846c18c498ac838969c9ef8bda1090746557a81
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-08-09 14:31:12 +00:00
Thomas Hartmann
b2cd629668 QmlDesigner: Use ICore::dialogParent() for EasingCurveDialog
Change-Id: Ibf02a4823cef4e613614f54da1d39648d144cf9a
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2019-08-09 14:26:16 +00:00
Eike Ziller
63c9c5124e Use common functions for handling ampersands/accelerators
Change-Id: I4c74a041a656ed547db0a7406f4306008a513879
Reviewed-by: hjk <hjk@qt.io>
2019-08-09 12:45:38 +00:00
Eike Ziller
16b8ab2461 Help: Fix handling of ampersands in open pages pane
E.g. for "Plug & Paint" example documentation. The list view may not
show double ampersands, but for the context menu they must be "quoted".

Change-Id: I773ac50f93b975504a5aff172336da77a703b52b
Reviewed-by: hjk <hjk@qt.io>
2019-08-09 12:45:20 +00:00
Eike Ziller
babbb0a9db iOS: Fix simulator listing with Xcode 11
Xcode 11 changes the output of simctl slightly. At some point it
introduced a bool "isAvailable" in addition to the string
"availability". Now the latter has been removed.

To avoid listing all devices as available, we need to adapt our simctl
output parsing.

This already takes effect when installing Xcode 11 Beta, even when not
actually using it, since all Xcode versions share the simulator
infrastructure.

Fixes: QTCREATORBUG-22757
Change-Id: I1ef416f6c544db53d9ee99ccc3b0a2e97dfcc870
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-08-09 11:08:26 +00:00
Eike Ziller
bc5e763961 Python: Remove unneeded dependency to QtSupport
Change-Id: I080c9316068eb1ac4738aaffae57c913ea63176f
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2019-08-09 09:29:36 +00:00
Thomas Hartmann
45c580b91a QmlDesigner: Add icon for curve editor
Change-Id: I36990c6a5a7b8fda8e8d7b99244dddafe8319665
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-09 08:56:23 +00:00
Eike Ziller
98d454d58b Fix CMake build
Change-Id: Ib0f90b9051c631751a1181dc30e58affd90feffb
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-08-09 07:42:11 +00:00
Christian Stenger
ca32a47122 Squish: Use parameters for mouseClick
Another partial revert for e8727fcae2.

Change-Id: Ieba9b7ea75421858698e0da0133278408e2b5ee1
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
2019-08-09 06:13:12 +00:00