Commit Graph

5724 Commits

Author SHA1 Message Date
Sergey Belyashov
9be1caf05f Fix Russian translation
Fixes: QTCREATORBUG-22978
Fixes: QTCREATORBUG-22996
Change-Id: I93e8426c6efc46b8c749f12d729070052fb4af88
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Viacheslav Tertychnyi
Reviewed-by: Anton Kudryavtsev <antkudr@mail.ru>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
2019-09-26 19:18:01 +00:00
Eike Ziller
8263f73a4a Merge remote-tracking branch 'origin/4.10' into 4.11
Change-Id: Iad66b08f8d6d7f14319674ae6bb26cdba43b3bfa
2019-09-26 14:59:33 +02:00
hjk
08149a7c34 Debugger: Improve assignment to simple expressions with LLDB
Task-number: QTCREATORBUG-22696
Change-Id: Ifa084046ff83ba071c9e96a4221d7b4a09bfc22f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-09-26 08:48:54 +00:00
hjk
4013f0cdf0 Debugger: Use Python 3 prints also in pure LLDB bridge code
Task-number: QTCREATORBUG-22955
Change-Id: I762acd289c50fe5817b3e6e915f35c2388c74d44
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
(cherry picked from commit 7f29fa2030)
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-09-25 13:18:06 +00:00
Christian Stenger
9a5826d19c Debugger: Fix debugging with LLDB 1100.x
Tweak handling for LLDB provided by Xcode 11 slightly,
as the state handling of the process went astray when
using the debugger Python 3 based.

Task-number: QTCREATORBUG-22955
Change-Id: Ie070049d210a570993507ed940d141237aab89ce
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-09-25 13:17:53 +00:00
Christian Kandeler
ca1cee0956 Wizards: Fix JSON file template for Qt Creator plugin
As of commit aaa8beab88, template files for XML wizards go through
Utils::TemplateEngine::processText and thus need to have their
backlashes escaped.

Fixes: QTCREATORBUG-22945
Change-Id: I33aaa73b66be065f0ba3ed9b45cb8c9558f70d31
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-09-25 08:31:25 +00:00
Christian Kandeler
4702faba06 Wizards: Add the ability to remember user choices
Wizard authors can now provide a persistence key to values where that
makes sense.
For now, we make use of it for the build system type in all wizards and
the minimum Qt version as well as the virtual keyboard settings in the
QtQuick wizards.

Fixes: QTCREATORBUG-16657
Change-Id: I179930665bd163b1cf198467ab8b43bc72f8ec4a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-09-23 12:48:56 +00:00
Eike Ziller
0491c1c06c Merge remote-tracking branch 'origin/4.10'
Change-Id: I4a22cdf4d7d5aab2083d5f9f7baaa38e510f83fd
2019-09-23 12:31:58 +02:00
hjk
89a36c7232 Debugger: Show FORTRAN strings
Fixes: QTCREATORBUG-22976
Change-Id: Ib435b2692301fe2e2d3378623e99bbcf16e27e46
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-09-23 08:50:17 +00:00
hjk
54e3d06c5e Debugger: Do not add spurios empty element to LLDB args
Fixes: QTCREATORBUG-22975
Change-Id: Ibd5db32af9adb90f5d191e4fdcd2be751bd2b412
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-09-23 08:02:19 +00:00
Aleksei German
1273081224 QmlDesigner Gradient Preset Dialog UX improvements
Tooltip, custom preset renaming improvements.

Change-Id: I9c8acf4542bb732c2912796946cc9548c9be7d0e
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-09-20 10:27:06 +00:00
Tobias Hunger
c3f31b6332 CMake: Handle translations
(Optionally) re-generate .ts files from CMake by running lupdate and
run lrelease to generate .qm files.

Changes to qmake:

* src/libs/3rdparty/syntax-highlighting/src/cli/kate-syntax-highlighter.cpp
  is no longer translated: It's a command line tool that is not used by creator
* src/libs/aggregation/examples/text/main.cpp is no longer included in ts files
* src/libs/qt-breakpad/qtcrashhandler/* is no longer included in ts files:
  It is not built right now

Change-Id: Iec018da86a111a68ec983a880cef2961b48ccdf9
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-09-17 12:37:14 +00:00
Tobias Hunger
dac42e9e28 Wizards: Fix JSON of qtquick2-extension wizard
"\." is an invalid backslash escape sequence in JSON. QJSON accepts
this though and silently "fixes" the string by removing the stray
'\' character. This is QTBUG-78443 now, as a conforming JSON parser
should reject invalid data.

The string as "fixed" by QJSON is also not what we wanted in the
first place.

Change-Id: I070999957c6a0c3d0f1753d907ac460e9e341fc1
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2019-09-17 09:30:55 +00:00
Tobias Hunger
2751f30c72 Wizards: Use valid Json only
The original version is not valid JSON, even though the QJSON parser
will accept it:-/

Change-Id: Id408e4b83a62bca358191cf6fe4b3a7ce7d7c59e
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2019-09-17 09:30:46 +00:00
hjk
7f29fa2030 Debugger: Use Python 3 prints also in pure LLDB bridge code
Task-number: QTCREATORBUG-22955
Change-Id: I762acd289c50fe5817b3e6e915f35c2388c74d44
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-09-17 07:26:17 +00:00
BogDan Vatra
6b31f9cf23 Android multi arch support
[ChangeLog][Android] Android multi arch support for qmake

Change-Id: Ib8b1874604a3392130c96fbc00b26713b3d788ae
Reviewed-by: hjk <hjk@qt.io>
2019-09-16 07:34:54 +00:00
hjk
db4cc731bb Debugger: Allow timestamp reporting on a sub-item level
Task-number: QTCREATORBUG-22896
Change-Id: I41252868e14f1e4d5dddc0d1c17c097cba6f5fe5
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-09-13 09:07:18 +00:00
hjk
c485b24011 Debugger: Save a few cycles in the QPointer dumper
Task-number: QTCREATORBUG-22896
Change-Id: If91e2b8a0869052ae07eb4c9f0df015874a5f992
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-09-12 15:27:42 +00:00
Christian Stenger
90189ec3d1 AutoTest: Wizard: Soften condition for gtest repository
Make the need for the googletest repository optional. The user
may have gtest installed inside the system instead.

Change-Id: I4959878fa893d6b8ed53fd612934d7cd4504a6b7
Reviewed-by: David Schulz <david.schulz@qt.io>
2019-09-12 08:50:36 +00:00
Eike Ziller
8df0653bf8 Merge remote-tracking branch 'origin/4.10'
Conflicts:
	cmake/QtCreatorIDEBranding.cmake
	qbs/modules/qtc/qtc.qbs
	qtcreator_ide_branding.pri
	src/plugins/projectexplorer/gcctoolchain.cpp
	src/plugins/qmldesigner/components/stateseditor/stateseditormodel.cpp

Change-Id: Iffdf48e782a734107ea170ebb3812e997cea0e7b
2019-09-12 09:08:04 +02:00
David Schulz
d72632acd6 Debugger: add dumper for std::initializer_list
Change-Id: I223182cecf1f04dbc9908dc993a8800c1633c48b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-09-09 11:35:24 +00:00
Thomas Hartmann
9ca9a7e4a6 QmlDesigner: Add missing functionality to QtObjectPane
It should be also possible to change types for non items.

Change-Id: Ia44a8b4fda97c5fb25e513c6b3c3eed15abb1c1d
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-09-05 15:03:17 +00:00
Thomas Hartmann
898bdf12c0 QmlDesigner: Fix issue in loader resizing
Change-Id: Ie37b11672fdc6a1f29e2077ff4989a2bdd89c130
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2019-09-05 15:00:47 +00:00
Thomas Hartmann
a88fc5fa38 QmlDesigner: Add loader resize logic to QtObjectPane
Change-Id: I2eb82e075203f82aa90edfe2eb44abc026d45adc
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
2019-09-05 15:00:36 +00:00
Eike Ziller
4b1987ba1f Merge remote-tracking branch 'origin/4.10'
Change-Id: Ida1659af5c9c72b67b01645c88aea4ea60e09b7f
2019-09-05 09:53:33 +02:00
Henning Gruendl
428d8f0307 QmlDesigner: PropertyEditor cleanup
* Adapt SpinBox ranges and decimals
 * Add missing qsTr() to labels

Change-Id: If85999a22778b6f61e30f7437905354884086596
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-09-03 09:12:29 +00:00
Henning Gruendl
489c9b2e58 QmlDesigner: Fix RealSpinBox Slider issue
Change-Id: Ib5da6c699a94ba42b4e7cbb9913a9caaa570a731
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-09-03 09:01:50 +00:00
Henning Gruendl
9af2563a69 QmlDesigner: Fix SpinBox DragHandler issue
Fixes an issue of the RealSpinBox DragHandler where the value
compression timer, which is responsible to trigger a write to the
backend, wasn't triggered anymore, because the SpinBox had no focus
after ending the drag operation.

Change-Id: Ibdf02856c96b997db20c3019438f9645fa853e75
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-09-02 07:36:36 +00:00
Thomas Hartmann
6f774ff10e QmlDesigner: Open color dialog from property editor
Task-number: QDS-601
Change-Id: I8ab2b286213174c19b330b1db4c27efd7af8792c
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2019-08-30 15:01:20 +00:00
Eike Ziller
0f8aa10df1 CMake build: Add missing script
Change-Id: Id22c29368adec84854a2d9d67fee36417e59e43b
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2019-08-30 11:27:42 +00:00
Christian Kandeler
8b4344f2a2 ProjectExplorer: When running in the terminal on macOS, make it close
... after the application has finished and the user pressed the return
key as requested.

Fixes: QTCREATORBUG-15138
Change-Id: Id5b9fce553eb96b10aa76ccbd87fb66f02218110
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2019-08-30 08:55:38 +00:00
Tim Jenssen
8463ade7e0 Merge remote-tracking branch 'origin/4.10'
Change-Id: I82fe9d3d37081cfca2c3408984279ed944ffe807
2019-08-29 10:06:26 +02:00
Eike Ziller
6c9f75ff4a Transform Qt Quick 2 Extension Plugin wizard to JSON
Change-Id: I0e59219adeb5b3aa08a99da7c0bb657d793ba2e1
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-08-28 16:38:23 +00:00
Henning Gruendl
217f0c0305 QmlDesigner: Fix SpinBoxIndicator ghost input
* Fix SpinBoxIndicator not properly setting the pressedAndHeld flag
 * Rename sync function

Task-number: QDS-885
Change-Id: I9b8aae051fc6c8b802bb6ab90d63faa0d985f962
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-28 13:32:47 +00:00
Henning Gruendl
1d319876c8 QmlDesigner: Fix editable ComboBox focus issue
This patch fixes an issue were a temporary value wasn't properly
written to the backend, when another item was selected in the form
view.

 * Add a dirty flag to track user modifications
 * Utilize onEditingFinished and onTextEdited from internal TextInput
 * Add full qualification to a few property and function usages

Change-Id: I9afcc17018a03549504b8d38b83fac221145794e
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-27 08:11:11 +00:00
Henning Gruendl
e5bfbbd1fc QmlDesigner: Fix SpinBox focus issue
This patch fixes an issue were a temporary value wasn't properly
written to the backend, when another item was selected in the form
view.

 * Add a dirty flag to track user modifications
 * Utilize onEditingFinished and onTextEdited from internal TextInput
 * Add full qualification to a few property and function usages

Change-Id: Ib595d32bbc7f4caf92fbef5829aead50958fd830
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-27 08:10:35 +00:00
Eike Ziller
38feea7e25 Merge remote-tracking branch 'origin/4.10'
Change-Id: Idfe86eb91c7a9a16f15d528a2a03beecca1cb208
2019-08-27 09:47:14 +02:00
Dmitry Nuzhdin
309e345818 Debugger: Fix mapping std::set in Locals window via gdb
Currently QtCreator incorrectly shows content of a std::set.
For example set {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}
is shown as {0, 1, 2, 1, 2, 1, 2, 1, 2}.

Change-Id: Idaff66451827657ef129aa3d27895c43938e6fdc
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: hjk <hjk@qt.io>
2019-08-26 16:11:23 +00:00
Thomas Hartmann
8751d0c7d9 QmlDesigner: Resize Loader
Task-number: QDS-745
Change-Id: Idf126f5ed00cce74921a320d9bf17ef620ccd511
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-26 14:30:50 +00:00
Eike Ziller
89f3b32104 Merge remote-tracking branch 'origin/4.10'
Change-Id: I0d4655b195d0615719d5d391aa69e682f8c6f78f
2019-08-26 09:45:01 +02:00
Henning Gruendl
b4d8e67e0d QmlDesigner: Fix UrlChooser reset behavior
* Cleanup ColorLogic (imports and source)
 * Shifting a value from Constants.js to Values.qml
 * Add a property alias on AbstractButton to allow changing the font
   family

Change-Id: I51542f69f8f2190030a97164167d71d277147391
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-23 14:30:16 +00:00
Henning Gruendl
9f7fe2fb82 QmlDesigner: Add AbstractButton wrapper
Add AbstractButton wrapper to HelperWidgets this enables tooltips
on Buttons again.

Change-Id: If82bfcf3097f9e09d5cc19e4363b2428ad0ca872
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-23 13:37:03 +00:00
Henning Gruendl
995f09d6dc QmlDesigner: Set reasonable padding range
Change-Id: I84b9e0e2286aaf1574a7a8b68689540e0ca54bc5
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-23 13:36:47 +00:00
Henning Gruendl
4ff0ee4ab1 QmlDesigner: Swap unicode of alignment icons
Change-Id: I1d40f2c25843d90c20569c349c586ad7393b2255
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-23 13:36:35 +00:00
Henning Gruendl
e817b95b8a QmlDesigner: Remove redundant backend value call
Change-Id: I9e0701da02a694d83ab4ce5ed391da96d41c2edf
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-23 13:35:23 +00:00
Henning Gruendl
fd160f7523 QmlDesigner: Add missing qsTr() to AnchorRow label
Change-Id: I8c5c164c5d66548d6e574360bc38991ccdc750fd
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2019-08-23 13:34:09 +00:00
hjk
04eb17d57e Debugger: Display 'string' instread of 'NimStringDesc' for Nim strings
Change-Id: I2ecf09eb0b3d01c22b670a8dc642cf07eee2cede
Reviewed-by: Filippo Cucchetto <filippocucchetto@gmail.com>
Reviewed-by: hjk <hjk@qt.io>
2019-08-23 08:39:58 +00:00
Henning Gruendl
4cd3b10069 QmlDesigner: Layout and source cleanup
* Cleanup positioner specifics, mostly by adding ExpandingSpacer
 * Fix GridViewSpecifics SpinBox Label distance
 * Remove some semicolons
 * Add missing label (true/false) to CheckBoxes
 * Fix a few indentions

Change-Id: I2b86dde58ddfc1aa78ed3e11c41b0f4eedfc412b
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2019-08-23 08:06:56 +00:00
Henning Gruendl
49cde7aca0 QmlDesigner: Cleanup FlickableSection
* Add true/false label to CheckBoxes
 * Move and add missing tooltip
 * Remove redundancy by wrapping ExpandingSpacer from StudioControls

Change-Id: I6ec5d534ea9d71bda54a9f16359479d02d057511
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2019-08-23 08:06:46 +00:00
Eike Ziller
30143478f3 Merge remote-tracking branch 'origin/4.10'
Conflicts:
	src/libs/utils/consoleprocess_win.cpp

Change-Id: Ibdc265eed2f7080726e11ff6f2931c8559943af2
2019-08-22 09:53:37 +02:00