aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator
Commit message (Collapse)AuthorAgeFilesLines
* GDB: Handle 'pretty_printer.to_string()' returning NoneMichael Weghorn2019-10-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The documentation for the GDB pretty printer function 'pretty_printer.to_string' says [1]: > [...] > Finally, if this method returns None then no further > operations are peformed in this method and nothing is printed. > [...] Therefore, skip this part if the printer's 'to_string' method returns 'None' and only fall back to assuming LazyString otherwise. This e.g. fixes the std::pair pretty printer (for gcc-9 libstdc++6) for which "<not accessible>" was shown previously in the debugger's locals/expression view. Now it shows the object's address and allows expansion to see the values for the 'first' and 'second' members. [1] https://sourceware.org/gdb/onlinedocs/gdb/Pretty-Printing-API.html Change-Id: I33b1af82f731c347314af76c533b096b8a5afe21 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: hjk <hjk@qt.io>
* Corrects the project type supportedMariana Meireles2019-10-101-1/+1
| | | | | | Change-Id: I9434ed86d4d20e44abbe2cd07f9a7d838a53761a Reviewed-by: hjk <hjk@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
* Fix Russian translationSergey Belyashov2019-09-261-47/+118
| | | | | | | | | | 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>
* Debugger: Improve assignment to simple expressions with LLDBhjk2019-09-261-1/+1
| | | | | | Task-number: QTCREATORBUG-22696 Change-Id: Ifa084046ff83ba071c9e96a4221d7b4a09bfc22f Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Debugger: Use Python 3 prints also in pure LLDB bridge codehjk2019-09-251-5/+5
| | | | | | | | Task-number: QTCREATORBUG-22955 Change-Id: I762acd289c50fe5817b3e6e915f35c2388c74d44 Reviewed-by: Christian Stenger <christian.stenger@qt.io> (cherry picked from commit 7f29fa2030d62c6110f3869332e62672759b58e2) Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Debugger: Fix debugging with LLDB 1100.xChristian Stenger2019-09-251-8/+14
| | | | | | | | | | | 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>
* Wizards: Fix JSON file template for Qt Creator pluginChristian Kandeler2019-09-251-8/+8
| | | | | | | | | | 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>
* Debugger: Show FORTRAN stringshjk2019-09-231-2/+2
| | | | | | Fixes: QTCREATORBUG-22976 Change-Id: Ib435b2692301fe2e2d3378623e99bbcf16e27e46 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Debugger: Do not add spurios empty element to LLDB argshjk2019-09-231-1/+2
| | | | | | Fixes: QTCREATORBUG-22975 Change-Id: Ibd5db32af9adb90f5d191e4fdcd2be751bd2b412 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Debugger: add dumper for std::initializer_listDavid Schulz2019-09-091-0/+18
| | | | | Change-Id: I223182cecf1f04dbc9908dc993a8800c1633c48b Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* QmlDesigner: Add missing functionality to QtObjectPaneThomas Hartmann2019-09-051-3/+47
| | | | | | | | 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>
* QmlDesigner: Fix issue in loader resizingThomas Hartmann2019-09-051-2/+2
| | | | | | Change-Id: Ie37b11672fdc6a1f29e2077ff4989a2bdd89c130 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
* QmlDesigner: Add loader resize logic to QtObjectPaneThomas Hartmann2019-09-051-0/+26
| | | | | | Change-Id: I2eb82e075203f82aa90edfe2eb44abc026d45adc Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
* QmlDesigner: PropertyEditor cleanupHenning Gruendl2019-09-0311-50/+55
| | | | | | | | * Adapt SpinBox ranges and decimals * Add missing qsTr() to labels Change-Id: If85999a22778b6f61e30f7437905354884086596 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Fix RealSpinBox Slider issueHenning Gruendl2019-09-032-9/+2
| | | | | Change-Id: Ib5da6c699a94ba42b4e7cbb9913a9caaa570a731 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Fix SpinBox DragHandler issueHenning Gruendl2019-09-022-5/+10
| | | | | | | | | | 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>
* QmlDesigner: Open color dialog from property editorThomas Hartmann2019-08-304-11/+77
| | | | | | Task-number: QDS-601 Change-Id: I8ab2b286213174c19b330b1db4c27efd7af8792c Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* QmlDesigner: Fix SpinBoxIndicator ghost inputHenning Gruendl2019-08-281-4/+6
| | | | | | | | | * 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>
* QmlDesigner: Fix editable ComboBox focus issueHenning Gruendl2019-08-273-36/+43
| | | | | | | | | | | | | 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>
* QmlDesigner: Fix SpinBox focus issueHenning Gruendl2019-08-272-25/+46
| | | | | | | | | | | | | 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>
* Debugger: Fix mapping std::set in Locals window via gdbDmitry Nuzhdin2019-08-261-1/+1
| | | | | | | | | | 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>
* QmlDesigner: Resize LoaderThomas Hartmann2019-08-261-2/+8
| | | | | | | Task-number: QDS-745 Change-Id: Idf126f5ed00cce74921a320d9bf17ef620ccd511 Reviewed-by: Henning Gründl <henning.gruendl@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Fix UrlChooser reset behaviorHenning Gruendl2019-08-234-103/+46
| | | | | | | | | | * 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>
* QmlDesigner: Add AbstractButton wrapperHenning Gruendl2019-08-233-18/+59
| | | | | | | | Add AbstractButton wrapper to HelperWidgets this enables tooltips on Buttons again. Change-Id: If82bfcf3097f9e09d5cc19e4363b2428ad0ca872 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Set reasonable padding rangeHenning Gruendl2019-08-231-10/+10
| | | | | Change-Id: I84b9e0e2286aaf1574a7a8b68689540e0ca54bc5 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Swap unicode of alignment iconsHenning Gruendl2019-08-231-2/+2
| | | | | Change-Id: I1d40f2c25843d90c20569c349c586ad7393b2255 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Remove redundant backend value callHenning Gruendl2019-08-231-1/+0
| | | | | Change-Id: I9e0701da02a694d83ab4ce5ed391da96d41c2edf Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Add missing qsTr() to AnchorRow labelHenning Gruendl2019-08-231-1/+1
| | | | | Change-Id: I8c5c164c5d66548d6e574360bc38991ccdc750fd Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Layout and source cleanupHenning Gruendl2019-08-237-136/+102
| | | | | | | | | | | * 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>
* QmlDesigner: Cleanup FlickableSectionHenning Gruendl2019-08-232-33/+32
| | | | | | | | | | * 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>
* QmlDesigner Fix for GradientDialog selected itemAleksei German2019-08-192-2/+26
| | | | | | Change-Id: Ie7f7a7ad79e3e9bcb796f0fedc3b7d5d9cd8b023 Reviewed-by: Brook Cronin <brook.cronin@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Update Russian translationSergey Belyashov2019-08-191-1023/+2019
| | | | | | Change-Id: I064a68aed8963e9706f36c861e92b36ac0831096 Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
* QmlDesigner: Fix HelperWidgets ComboBoxHenning Gruendl2019-08-161-12/+9
| | | | | | Task-number: QDS-926 Change-Id: I77eafbf8c66b8a384dc8786726c74c89acad58ad Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner Fix for Gradient PresetsAleksei German2019-08-161-0/+8
| | | | | Change-Id: I1d3d2f61f978c6bfb52ad4ea42f2c6756a2a0483 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Update GradientPropertySpinBoxqds/v1.3.0-beta1Henning Gruendl2019-08-141-6/+7
| | | | | | | | | 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>
* QmlDesigner: Block all mouse events in GradiantDialogPopupThomas Hartmann2019-08-141-0/+2
| | | | | | | | 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>
* QmlDesigner: Fix editable ComboBoxHenning Gruendl2019-08-131-15/+33
| | | | | Change-Id: Ibf449a3dc34ffeedd70e46bffcb0670049bfb4fc Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: reduce enumeration to header onlyTim Jenssen2019-08-074-133/+65
| | | | | | | | | | | | | It is used in some other external qmldesigner plugin and these are built against current dev packages, which are not contain this cpp file. Different solution would be to add: r"^share/qtcreator/qml/qmlpuppet/types/enumeration.cpp$", to scripts/createDevPackage.py which feels not that clean. Change-Id: Ia1fb5c02f457d98474218689ebf6483706265dde Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Fix TextField context menu closingHenning Gruendl2019-08-071-0/+5
| | | | | Change-Id: I596e5cee2e3c058b1fe5b0f0f1f976a60784d88b Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Remove radius for consistencyThomas Hartmann2019-08-061-1/+0
| | | | | | Change-Id: I7868265706fff25a32700870841b512d3f3f8a44 Reviewed-by: Henning Gründl <henning.gruendl@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Hide action indicator backgroundThomas Hartmann2019-08-062-1/+3
| | | | | | | | | This is now a global option in the constants. Change-Id: I29c5a7bc78ca1256f4d4cb3ff3319498143d34be Reviewed-by: Brook Cronin <brook.cronin@qt.io> Reviewed-by: Henning Gründl <henning.gruendl@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Move labels to left in FontSectionThomas Hartmann2019-08-061-10/+12
| | | | | | | Change-Id: Id8bc92dcb8342c99e5c458cca0fe026b7ae61164 Reviewed-by: Brook Cronin <brook.cronin@qt.io> Reviewed-by: Henning Gründl <henning.gruendl@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Add slider button to alpha spin boxThomas Hartmann2019-08-061-4/+5
| | | | | | | Change-Id: I20deab5d884aa93a1bb541dab8f00c63fbf30954 Reviewed-by: Henning Gründl <henning.gruendl@qt.io> Reviewed-by: Brook Cronin <brook.cronin@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Add tooltips to item libraryThomas Hartmann2019-08-061-1/+4
| | | | | | | | Task-number: QDS-342 Change-Id: I75530d5a05111ed66129f87e3fb716715b564001 Reviewed-by: Brook Cronin <brook.cronin@qt.io> Reviewed-by: Henning Gründl <henning.gruendl@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Change CheckBox label positionHenning Gruendl2019-08-061-14/+11
| | | | | Change-Id: I491f32ff97ed540def95ea30ebdaa729b5d68c4f Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Debugger: Allow spaces in arguments with LLDBhjk2019-08-061-14/+2
| | | | | | Change-Id: Iebc6f7975e9a306805911ed18eb4689074abd891 Task-number: QTCREATORBUG-22811 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Lldb: Fix event handling for newer Xcode and faster machinesChristian Stenger2019-08-021-16/+13
| | | | | | | | | | | | | | | If the system or the running inferior produces output while fetching data the output did interfere with the state handling of the debugger engine which in turn lead to a complete inconsistent state of the debugger where the states of the debugger bridge and the debugger engine (QC internal) assumed complete different states. Circumvent by explicitly ignoring the state for inferior output on stdout or stderr. Change-Id: I81aa0bacd41de4266a9278c66fed908dd72c9d44 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* QmlDesigner: Explcitly set drag range for geometry propertiesv4.10.0-rc1Thomas Hartmann2019-08-012-0/+6
| | | | | | | | | The default drag range is based on the minimum and maximum, but sicne those are huge we overide the default. Change-Id: Ibad785b475adfd92a78e6c5ff21fed2af21d637a Reviewed-by: Henning Gründl <henning.gruendl@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Debugger: Disable QObject connection and signal displayhjk2019-07-312-4/+8
| | | | | | | | Besides the announced change to QObject guts in a5a859e72 there has been at least 6e0b5dadc and possibly more, so give up here. Change-Id: I84201cef9f2a7515f082f4c3310bdc96f7a4216d Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* QmlDesigner: Fix custom qml2puppet buildThomas Hartmann2019-07-315-14/+18
| | | | | | | | | The build of a custom qml2puppet was failing, because of utils/algorithm.h missing. We should minimize Qt Creator dependencies in the puppet. Change-Id: Iba8dd1a3979dbeeb1bfa860b50ba586bea20c7a7 Reviewed-by: Eike Ziller <eike.ziller@qt.io>