summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* QmakeProjectManager: Improve renaming functionalityChristian Kandeler2019-11-044-43/+76
| | | | | | | | | | This was implemented rather sloppily: The file was removed from all variables, but only added to one. Also, no care was taken to insert the new file name into the same block the old one was removed from. Fixes: QTCREATORBUG-19257 Change-Id: Ib309389ba7647189112d5c7dd7b3e784f921d2c3 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* ProjectExplorer: Remove unused Target::{is,set}Enabledhjk2019-11-042-24/+0
| | | | | Change-Id: Ie36af0b57fb77c4c1ddb92ca5a6d92746577ad11 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* BareMetal: Remove QLatin1Char and QLatin1String macrosDenis Shienkov2019-11-0410-229/+226
| | | | | | | | ... where it is possible, because it is unnecessary to use in QtC code. Besides, it simplifies a code bit. Change-Id: I8f547c952f3e2bfe046462957f175da7fc780171 Reviewed-by: hjk <hjk@qt.io>
* BareMetal: Minimize dependency from GDB engineDenis Shienkov2019-11-0432-753/+1021
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem is that this plugin was originally developed only for working with the GDB debugging engine. This hard dependency penetrates to all plugin logic, that excludes an easy addition of other types of a debugger engines. This patch tries to minimize the GDB dependency and improves code a bit in the following way: * A code that belongs to the GDB engine moved to the separate debugservers/gdb directory. * A classes having a common functionality are renamed with 'Debug' suffixes instead of 'Gdb' suffixes. * Introduced a new interface IDebugServerProvider{Factory|ConfigWidget} whih are used as a base for all derived debug servers providers (e.g. for the OpenOCD, STLink and etc). * The IDebugServerProvider interface has a new virtual engineType() method to show a supported debugger engine by a specific debugger server provider. This method is used in BareMetalDebugSupport class to detect a provider engine for an additional initialization (which depends on an used debugger engine). * The IDebugServerProvider interface has a new virtual hasProcess() method. E.g. this is required for a future debug server providers which has not a remote processes. In this case the BareMetalDevice::canCreateProcess() will report about that in a right way. Thus, this approach allowed us to preserve a previous behavior of an already implemented GDB providers. Also it makes possible to add a new providers in a future with a minimized costs. Change-Id: I1be84b9178d4aa78c3ef5108a9e6b381e245f36f Reviewed-by: hjk <hjk@qt.io>
* Merge remote-tracking branch 'origin/4.11'Eike Ziller2019-11-01170-524/+2590
|\ | | | | | | | | | | | | Conflicts: share/qtcreator/qml/qmlpuppet/qml2puppet/instances/quick3dnodeinstance.cpp Change-Id: I8ea57eba526ab830608fd928c28771c5441749f8
| * CppTools: Fix code model for Clang buildsCristian Adam2019-11-011-1/+6
| | | | | | | | | | | | | | | | If you build Qt Creator with CMake version 3.16, you will have precompile headers which will break code model. Change-Id: I679936faed39ecfedb9ebb5fb553449a9f5ea29d Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
| * Doc: Remove links to example filesLeena Miettinen2019-11-012-7/+6
| | | | | | | | | | | | | | This does not seem to work anymore in QDoc since 5.13. Change-Id: I4e99603a3e3fc9d1ef735fe1fa87526116a83b1e Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
| * Debugger: Fix timeout handlingChristian Stenger2019-11-011-1/+1
| | | | | | | | | | | | Task-number: QTCREATORBUG-21664 Change-Id: Ie6dec329443e9fa8e31e28f0fdd6d46a279804bb Reviewed-by: hjk <hjk@qt.io>
| * CppTools: SimplifyNikolai Kosjar2019-11-016-31/+18
| | | | | | | | | | Change-Id: Id10cbcf541d8105265c531e63a64e2fd34e27379 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| * Target setup page: Fix some glitchesChristian Kandeler2019-11-016-6/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | - Make sure the "Manage" button is always enabled. - Clear the list of possible build configs and collapse the details widget when a kit becomes unusable. - Do not collapse the details widget when it gets selected. - The "Details" button was sometimes grayed out when it shouldn't have been. Change-Id: Ibc0f44213b633aebddfa7542d7dbdd0244df23f9 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| * ProjectExplorer: SimplifyNikolai Kosjar2019-11-017-20/+5
| | | | | | | | | | | | | | | | bugprone-branch-clone readability-simplify-boolean-expr Change-Id: Iaaac21e96a3e9db6b9819d77fdae623ede373e59 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
| * CMake build: Fix false detection of mocable fileOrgad Shaneh2019-11-011-3/+4
| | | | | | | | | | | | | | Q_OBJECT appears in a comment. It's not used in the code. Change-Id: Ib3df3c4352fc07eddf8a626154b8fe8b753a9457 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
| * Debugger: Fix a bugprone-branch-cloneNikolai Kosjar2019-11-011-3/+0
| | | | | | | | | | | | Change-Id: I7b9a3e416fa547de344dd5c4e111939200a7b824 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: hjk <hjk@qt.io>
| * CppEditor: SimplifyNikolai Kosjar2019-11-014-30/+7
| | | | | | | | | | | | | | | | bugprone-branch-clone readability-simplify-boolean-expr Change-Id: Id30a155e224370713d23b4b534fb82f5e630f36c Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| * Doc: Update info about Easing Curve Editor and Curve EditorLeena Miettinen2019-11-014-14/+14
| | | | | | | | | | | | | | | | Check the terminology and update the screenshots. Change-Id: I60427ac822065c10eac5133dab7530d4ad885bed Reviewed-by: Brook Cronin <brook.cronin@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
| * Doc: Describe changes in editing keyframesLeena Miettinen2019-11-012-3/+6
| | | | | | | | | | | | | | | | | | | | | | The context menu item name is now just "Edit Keyframe" and the dialog contains a Frame field for setting the frame. A screenshot was added. Task-number: QDS-1072 Change-Id: Idbcfcdf2c278c1635bfcbf755d530cb5b2d3021f Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
| * CMake: SimplifyNikolai Kosjar2019-11-012-3/+1
| | | | | | | | | | Change-Id: I3e5fd3aebf8b11037d99ff367826ff8f8f436045 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
| * Utils: SimplifyNikolai Kosjar2019-11-016-38/+16
| | | | | | | | | | | | | | | | | | bugprone-branch-clone readability-simplify-boolean-expr Change-Id: I75ad6118275ad9231f21b578567c3c042414263b Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
| * Core: SimplifyNikolai Kosjar2019-11-012-12/+6
| | | | | | | | | | | | | | | | bugprone-branch-clone readability-simplify-boolean-expr Change-Id: I294133af65f68c3b9fc1f4c6fb0b93b9ff179a6e Reviewed-by: Eike Ziller <eike.ziller@qt.io>
| * Help: Fix a readability-simplify-boolean-exprNikolai Kosjar2019-11-011-6/+3
| | | | | | | | | | Change-Id: I06006091b0e3b1c6b38851907a9e69f1c3c2fc04 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
| * McuSupport: Detect GNU Toolchain for Arm a bit betterAlessandro Portale2019-11-011-6/+21
| | | | | | | | | | | | | | | | If there is exactly one subdir in the GNU Tools installation dir, pre- select it. Change-Id: I14cb2e46863884724d4eef2ecac83513c515ebee Reviewed-by: Aurindam Jana <aurindam.jana@qt.io>
| * Debugger: Fix conditional operator with identical true and false expressionshjk2019-11-011-9/+8
| | | | | | | | | | Change-Id: I1f85eed5355cd01590bc8cc0082f154e215a9ac3 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
| * QmlDesigner: MoveGizmo improvements in 3D edit viewMiikka Heikkinen2019-11-015-82/+237
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mouse press and release are now properly handled by MouseArea3D. This fixes various issues: - No need to move the mouse after release for release to register. - Drag is no longer limited to the 3D edit window, though it is still limited to the screen. - Drag arrows no longer register start of drag if you click outside the arrow and then move the cursor over the arrow while holding the mouse button down. Also added the missing center ball to the MoveGizmo to allow free dragging along the camera plane. Change-Id: Iab55ae79f8af024534510e5fd29379532ac74025 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
| * ClassView: Fix a readability-simplify-boolean-exprNikolai Kosjar2019-11-011-5/+1
| | | | | | | | | | Change-Id: I6ad8009551f90dc2d2ab01698cc2d972cf47a79b Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| * QmlDesigner: Fix usage of transactionThomas Hartmann2019-11-011-2/+3
| | | | | | | | | | | | | | | | | | | | We have to update the model _inside_ the transaction of course. Without this patch the last changes were done after the transaction was already closed. Task-number: QDS-1194 Change-Id: I1061990f8b713ee5c25737b8eb173866fb495511 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
| * QmlDesigner: Define explicit values for enum classThomas Hartmann2019-11-011-1/+1
| | | | | | | | | | Change-Id: Iba4dec251ac41c414c51757b2f3e6e94d1aa2ccd Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
| * Doc: View autotest errors and warnings in Issues output paneLeena Miettinen2019-11-011-0/+3
| | | | | | | | | | Change-Id: I4519f7bed6e1f4cc0b56677650565fde91c9975a Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| * ProjectExplorer: Fix a bugprone-argument-commentNikolai Kosjar2019-11-011-1/+1
| | | | | | | | | | | | | | | | | | gcctoolchain.cpp:667:35: warning: argument name 'target' in comment does not match parameter name 'originalTargetTriple' [bugprone-argument- comment] Change-Id: Ia486759521b274102d52df9276507a0d72e10e89 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
| * ProjectExplorer: Fix a bugprone-suspicious-missing-commaNikolai Kosjar2019-11-011-1/+1
| | | | | | | | | | Change-Id: I40f4eb235970ebb4aeb9ac004bd5ca1c5af7a4c3 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
| * PluginManager is not moc'ed automaticallyv4.11.0-beta2Michael Winkelmann2019-10-311-1/+3
| | | | | | | | | | | | | | | | | | | | This leads to a linker error in ExtensionManager because symbols generated by moc are missing. This caused by an issue with CMake 4.10 / AutoMoc and Q_OBJECT in a documentation comment. Instead, headers of PluginManager are moc'ed explicitly. Change-Id: I2dd655c48d0bf90e178e46655eaa0f2dc1ed8b0a Reviewed-by: Eike Ziller <eike.ziller@qt.io>
| * McuSupport: Add path to shipped clang to build environmentAlessandro Portale2019-10-311-0/+1
| | | | | | | | | | | | Task-number: UL-1109 Change-Id: I0a79c597c3d4d0377fc6b3da9a8362d70dee85d5 Reviewed-by: Aurindam Jana <aurindam.jana@qt.io>
| * McuSupport: Enable and preselect usage of the shipped JOM (on Windows)Alessandro Portale2019-10-312-4/+7
| | | | | | | | | | | | | | | | | | - Set CMake generator to "NMake Makefiles JOM" - Add ICore::libexecPath to environment path - Set the environment for the run configuration Change-Id: Ie7b2dc1513b366911b429d77cc4a1954be531075 Reviewed-by: Aurindam Jana <aurindam.jana@qt.io>
| * QmlDesigner Ignore design mode switchAleksei German2019-10-315-6/+21
| | | | | | | | | | | | | | | | | | Added combo box in settings that allows user to turn off automatic switch to design mode for .ui.qml. Change-Id: I83007494c0e7861e1dd2987393815b1321880c5c Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
| * ProjectExplorer: Correct updating targetsChristian Stenger2019-10-311-0/+4
| | | | | | | | | | | | | | | | | | A kit may get updated in a way that it now can be used or has more capabilities than before. (e.g. setting or changing the Qt version of a kit) Change-Id: Id4c65fa2d8c334b0ef7d819a70a8df4b6a349a6d Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
| * Doc: Describe creating Android App BundlesLeena Miettinen2019-10-3110-14/+47
| | | | | | | | | | Change-Id: I6c3e69511f2340753c9832e33e0e844e3690f7a5 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
| * ClangTools: Fix using correct run settingsNikolai Kosjar2019-10-311-0/+1
| | | | | | | | | | | | Change-Id: Ibf545719bb67857c3ecaaedf2435caa15d592e03 Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
| * ClangTools: Fix state of the "Apply Fixits" buttonNikolai Kosjar2019-10-313-7/+9
| | | | | | | | | | | | | | | | | | * Disable the button when (re-)running an analysis. * Ensure the button stays disabled when a file is saved. Change-Id: I1140dd3938de554ea83d33c5bb490be3468d7db0 Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
| * ClangTools: Fix uninitialized variableNikolai Kosjar2019-10-311-1/+1
| | | | | | | | | | | | Change-Id: I3d703aaea0fdb61cbfb7f681eda00ff14376f9f6 Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
| * ClangTools: Fix a bugprone-parent-virtual-callNikolai Kosjar2019-10-311-1/+1
| | | | | | | | | | | | | | | | | | | | clangtoolsdiagnosticview.cpp:286:16: warning: qualified name 'QObject::eventFilter' refers to a member overridden in subclass; did you mean 'QAbstractItemView'? Change-Id: Ifcff716b336324384d0164925b548f61cf460449 Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
| * Display the current frame in a dedicated controlKnud Dollereder2019-10-316-6/+31
| | | | | | | | | | | | | | | | | | Enable immediate dragging of the playhead after clicking into the time-scale Rename "Curve Picker" to "Easing Curve Editor" and "Curve Editor" to "Animation Curve Editor" Change-Id: I0085a26d0ea510286586d89c6cddb9bbe720e49e Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
| * Target setup page: Un-queue another connection to kit managerChristian Kandeler2019-10-311-2/+1
| | | | | | | | | | | | | | | | | | Amends 6fd29da2cb, which caused a regression in that a newly activated target was not selected anymore, so when switching to project mode, the build configuration was not shown without user intervention. Change-Id: If723fe886f3e478cbdbcd7a77cd7fb71eca69813 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| * McuSupport: Add Segger Jlink path to kit environmentAlessandro Portale2019-10-301-0/+1
| | | | | | | | | | | | | | SEGGER_JLINK_SOFTWARE_AND_DOCUMENTATION_PATH Change-Id: I29a1b4f011ce9f419b46e9571a930d14438bae20 Reviewed-by: Aurindam Jana <aurindam.jana@qt.io>
| * McuSupport: Rename "NXP EVKB-IMXRT1050 SDK" to "NXP i.MXRT SDK"Alessandro Portale2019-10-301-2/+2
| | | | | | | | | | | | | | The new name is more generic, and valid for more targets. Change-Id: I7efb3f1721ec1e88de073d5f43edff8b308f3f02 Reviewed-by: Aurindam Jana <aurindam.jana@qt.io>
| * McuSupport: Change "MCU board:" => "Target:" in options pageAlessandro Portale2019-10-301-1/+1
| | | | | | | | | | | | | | There is also a (Qt-based) target, which is not a board. Change-Id: Ib35b1e823a7a1c5e1f578face9fa4953b7a6d89e Reviewed-by: Aurindam Jana <aurindam.jana@qt.io>
| * QmlDesigner: Replace UrlChooser button iconHenning Gruendl2019-10-301-2/+2
| | | | | | | | | | Change-Id: I3cd84986ea77701a5d786bd7ee8115cda3df8185 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
| * Debugger: prefer cdb for msvc targetsDavid Schulz2019-10-302-0/+6
| | | | | | | | | | Change-Id: I4d305ae6f3b54d7f724f2cfbde6062663e3c0ad1 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| * Python: Check for changes before applyingChristian Stenger2019-10-302-0/+9
| | | | | | | | | | | | | | | | | | Storing the python settings seems to be rather costly and may take some time. Perform an early return if nothing has changed. Change-Id: I509e83f503d2af31a7464df893e0e4e69e99a277 Reviewed-by: David Schulz <david.schulz@qt.io>
| * Squish: Update QmlJSEditorWidgetRobert Loehning2019-10-301-1/+1
| | | | | | | | | | Change-Id: I783849086d59d51d51dfbc560e3d6c8e298ccd71 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| * QmlDesigner: Append forced nodes also if filter is inactiveThomas Hartmann2019-10-301-6/+7
| | | | | | | | | | | | Change-Id: Ie7575a4da5b5dee9a69fa7226d1b65dc5ce574ee Reviewed-by: Henning Gründl <henning.gruendl@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
| * QmlDesigner: Avoid reflection when setting values from puppetThomas Hartmann2019-10-3010-4/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When editing values in the puppet we did not take reflection into account. This means that any changes we did from the puppet for notified back from Qt Creator. Since those notifications are asynchronous this leads to various issues especially when more than one axis (property) was modified at once. This patch avoids reflection. The notifications are 'flagged' and then ignored in the Qt5InformationNodeInstanceServer. While a node is moved we ignore any changes to that specific node. Task-number: QDS-1191 Change-Id: Ic74e22ea71832ce12321f9085a7296c2a7d9893d Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>