summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* TextEditor: Allow explicitly passing the text format for tool tipsEike Ziller2019-11-066-11/+63
| | | | | Change-Id: I6e592a73fa6a3229cda9e76a4ab33f2c0ca330c5 Reviewed-by: David Schulz <david.schulz@qt.io>
* TextEditor: Do not change the text format for tool tipsEike Ziller2019-11-068-42/+98
| | | | | | | | | We should not force the tool tip text to HTML when help content is available or when adding the F1 icon. Instead add help content and F1 icon into the tool tip layout. Change-Id: Ibe2d4fa2fb81bcda4e5aeb0d7d86dbf63fcf3ce6 Reviewed-by: David Schulz <david.schulz@qt.io>
* QMakePM: Ensure output from cumulative parser is always properly markedChristian Kandeler2019-11-061-1/+2
| | | | | | | | | | - Tag the ProMessageHandler as "inexact" for the cumulative case. - Remove dubious-looking condition from message() function that prevented the "inexact" marker from being printed. Fixes: QTCREATORBUG-19665 Change-Id: I24d3168ad47a3251c12604586579ccf876941334 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* ProjectExplorer: Add new RL78 architectureDenis Shienkov2019-11-052-0/+11
| | | | | | | | | | | This architecture provided by Renesas: * https://en.wikipedia.org/wiki/RL78 ... and are used in the bare-metal programming. Change-Id: Iec56192e756aa475b1cdfce1aa1ff9c24feb00cd Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Baremetal: Fix compile for gcc 5.3Christian Stenger2019-11-051-3/+3
| | | | | | | Amends 4d4ca9f64599ad6a82b2668c3b745d8ba8c40a03. Change-Id: I6f5bde3917c1c1b7f072560b4a1c36dd9abe549a Reviewed-by: David Schulz <david.schulz@qt.io>
* Baremetal: Fix compile for gcc 5.3Christian Stenger2019-11-051-1/+1
| | | | | | Change-Id: I6ea72b878039229f9f6f00df7eedf997cae3a4a7 Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
* Utils: Fix detection of DLL or EXE file/product version on WindowsDenis Shienkov2019-11-051-2/+8
| | | | | | | | | | We need to handle not only the most significant bits of the file's binary version, but also the least significant bits. Otherwise a returning file/product version is not a complete. Change-Id: I2372731ed4e6740c09785fc74c80dad6ecfe9fbe Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Nim: Fix compileChristian Stenger2019-11-054-25/+18
| | | | | | Change-Id: I19753d929dc2ed9594f4d5f0e4daba18b12b868f Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Nim: Add support for the nimble build systemFilippo Cucchetto2019-11-0441-26/+2195
| | | | | | Change-Id: Id3bd977f14bc9d2ec3fa92e162238bbff0513de1 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: hjk <hjk@qt.io>
* Merge remote-tracking branch 'origin/4.11'Eike Ziller2019-11-0442-144/+199
|\ | | | | | | Change-Id: Ie951c531a5b2efd8e6b972c4d04b7f1c681c8ef9
| * Highlighter: clarify 'Update Definitions' actionDavid Schulz2019-11-045-10/+40
| | | | | | | | | | | | | | | | | | | | | | | | by renaming it to Download Definitions and adding a tooltip stating that it collects all definitions that are missing or were updated after the release and downloads it to the ksyntax highlighting user folder. Also adding a separate reload definitions button in the settings behind the user path. Change-Id: I059cc98e33147cae910fa4fdb35631d1dca81448 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
| * LanguageClient: Fix some bugprone-branch-cloneNikolai Kosjar2019-11-042-10/+10
| | | | | | | | | | Change-Id: If1eb43168db65190983049f30bf217f0628e78e4 Reviewed-by: David Schulz <david.schulz@qt.io>
| * Bump version -> 4.11.0-rc1Eike Ziller2019-11-043-9/+9
| | | | | | | | | | Change-Id: I495bd3961c718a2090ac1999f56c195e95cd53b1 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
| * Update litehtmlEike Ziller2019-11-042-62/+66
| | | | | | | | | | | | | | Change-Id: I110616a1272cf995880671532008c52a5c068a74 Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| * Simplify RPATHs for qmake buildEike Ziller2019-11-0413-25/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use central rpath.pri for setting RPATHs and qttestrpath.pri for tests. Simplify install names of plugins and libraries on macOS to be just @rpath/libName, which follows convention better and makes setting up RPATHs easier. Preparation for moving tools one directory level down on macOS, to be able to add a qt.conf for the tools generically. Task-number: QTCREATORBUG-23120 Change-Id: I16625d48904abd3a7f4c2ad7bbba5916cdc400cd Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
| * AutoTest: Correct states handling when parsing boost testsChristian Stenger2019-11-041-7/+13
| | | | | | | | | | | | | | | | | | | | Do not miss to reset the parser state after a macro for a test case or suite has been handled. In case of an early return (usually when having incomplete or incorrect code) the wrong state may be taken into account otherwise. Change-Id: I2a981db9166fc6a21c2590406768ecaeee2852f2 Reviewed-by: David Schulz <david.schulz@qt.io>
| * ProjectExplorer: Export findFileInSession()hjk2019-11-043-6/+8
| | | | | | | | | | | | | | Would be useful for https://github.com/JakeSays/QtCreatorTerminalPlugin/ Change-Id: I6629c95535b5ce7af8f9d486005f41598b8dff47 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
| * QtSupport: Do not pass empty file names to file system engineChristian Stenger2019-11-041-3/+3
| | | | | | | | | | | | | | | | Fixes the 'Empty filename passed to function' warnings when using registered self-built Qt without built documentation or examples. Change-Id: I401b56246b1db1ed397c6df11b0714cd90058f48 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
| * Python: remove reference to out of scope variableDavid Schulz2019-11-041-1/+1
| | | | | | | | | | Change-Id: Idd4dbab5ee01fda331452fefd27de71625afa5af Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
| * Python: cache the module path for executableDavid Schulz2019-11-041-3/+11
| | | | | | | | | | | | | | | | This reduces ui freezes when switching the interpreter for a python project. Change-Id: Iaa8ce8ed8d51666f8696eb96f504aaf8c4a11822 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
| * QmlDesigner: Fix warning for unused variableChristian Stenger2019-11-041-1/+1
| | | | | | | | | | | | | | Amends e2e18ff625c. Change-Id: I4cae1131a8b7b46c3c11779df0926786debc4e0b Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
| * PerfProfiler: Disable failing testsChristian Stenger2019-11-041-2/+2
| | | | | | | | | | | | | | | | Instead of rewriting the whole for each Qt version temporarily disable them. Change-Id: I33cf146a039c90d60f355ddf22274778255b9796 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
| * CMake Build: Do not add test qrc file in normal plugin buildCristian Adam2019-11-011-2/+2
| | | | | | | | | | | | | | If you build without tests, you'll get an error. Change-Id: Id4ce543da6f1a450f91c3f4fb2d862989339db7b Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
| * Doc: Update info about editing Qt resource filesLeena Miettinen2019-11-017-3/+3
| | | | | | | | | | | | | | Update the screenshots in the Creating Projects topic. Change-Id: I59ecb0429f6931808eeb0090a85ef10b4c43d78a Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* | 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>