aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix warningThomas Hartmann2019-01-181-1/+1
| | | | | Change-Id: I646cf0d1c1e7dec7f44baf50a586ff22044cb7f0 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Doc: Remove the word "prototype"Leena Miettinen2019-01-173-13/+13
| | | | | | | | For reuse in Qt Design Studio, where the terms will be changed. Change-Id: Icbfec3759a3b677df2d166379404a58540d13012 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Bump version to 4.8.2Eike Ziller2019-01-172-4/+4
| | | | | Change-Id: I99f7baaab46a157f37e72619b71e968b37c330f4 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Clarify the effects of setting the compiler in the kitEike Ziller2019-01-171-1/+4
| | | | | | Task-number: QTCREATORBUG-21751 Change-Id: I52c5319e786827fda936e9521114623e0a843ed4 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* CPlusPlus: Block function-like macro name for arguments expansionIvan Donchevskii2019-01-173-11/+83
| | | | | | | | | | | | | | Arguments of funstion-like macro may contain the name of this macro. The attempt to expand it results into infinite recursion. Patch solves that by saving the macro name until the arguments are collected to determine that it should not be expanded. Fixes: QTCREATORBUG-21642 Change-Id: Iafb404ecd3959a2f1011c12c1c3f1c0c54ed3547 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
* QmlDesigner: Allow more JavaScript functionsThomas Hartmann2019-01-161-13/+17
| | | | | | Task-number: QDS-355 Change-Id: I0f330216b0120857f21b804236d2e3338c812749 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Doc: Describe converting Qt Quick UI Prototypes to ApplicationsLeena Miettinen2019-01-1613-6/+555
| | | | | | | | | | | | Qt Quick UI Prototype projects (.qmlproject) are used in Qt Design Studio, but they must be converted to Qt Quick Application projects for building and running them in Qt Creator. Add example files and quote code from them. Task-number: QDS-357 Change-Id: Ib0bf1b342ec54faeca108e5586389730a85b5116 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Tests: Swap order of findUnusedObjects' output to ease sortingRobert Loehning2019-01-161-4/+3
| | | | | Change-Id: I477ae2f6d5c57de158d1408330a76cf4e4ebdae9 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* QmlDesigner: Use proper canocial ordering for auxiliary datav4.8.1Thomas Hartmann2019-01-152-4/+48
| | | | | | | | When saving auxiliary data we haver to use a proper ordering of the node to generate an index. Change-Id: I54101c4770eec359de4fdaffbbe37308416a5714 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Add changes file for 4.8.1Eike Ziller2019-01-151-0/+100
| | | | | | | up to a111daf93ea954b86791581ea3ac53e15ea145d4 Change-Id: I9cdb254dc15a1c13fd27848bd3b3fcba5986d236 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Fix that debugger tooltips were overridden by editor tooltipsEike Ziller2019-01-141-1/+0
| | | | | | | | | | | | The debugger tells the editor if the tool tip was handled or not, but since that information is transferred through a reference parameter in a signal/slot connection, a second debugger engine overrode the value of a previous one. So never set it to 'false' so a previous 'true' is not overridden. Fixes: QTCREATORBUG-21825 Change-Id: Iec3d15485f224ab0ad14564656886a53fec62e71 Reviewed-by: hjk <hjk@qt.io>
* Clang: Fix parsing boost headersIvan Donchevskii2019-01-142-19/+28
| | | | | | | | | | | | | The fix for MSVC2013 undefined clang macros to fix some internal Qt stuff failing in Qt 5.7. Now we know exactly which MSVC version is used and can ignore this fix for newer versions. Fixes: QTCREATORBUG-16439 Fixes: QTCREATORBUG-21685 Change-Id: Ie2844428c39d72d212198ee2dd6841420a464974 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* Tests: Allow shared folders in findUnusedObjectsChristian Stenger2019-01-141-12/+34
| | | | | | | | | | | | | | Depending on the directory layout chosen for arranging the squish tests the findUnusedObjects script might not work as expected. This patch enhances the script by adding another option that lets you specify locations of shared folders beside the default assumed (beside/below the location of the objects.map) Change-Id: I52d6bef0fecbbb2959a82ee662a7c7beaf01e00d Reviewed-by: Robert Loehning <robert.loehning@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Debugger: Fix "Debugger font size follows main editor"hjk2019-01-101-1/+1
| | | | | | | | | ... for the ex-snapshot-now-engine-manager view. Task-number: QTCREATORBUG-21803 Change-Id: I0c0a6199fa1dabc5c045fe6d0740de458dc63cda Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Tim Blechmann <tim@klingt.org>
* QmlDesigner: Fix compile Qt 5.9 and 5.10Christian Stenger2019-01-101-1/+3
| | | | | | | Broke with 1e711d50dc. Change-Id: I6a4c192d4c924b9a63801b5802aeb17681b2608e Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* QmlDesigner: Fix notifier for navigatorThomas Hartmann2019-01-091-1/+1
| | | | | | | | | We have to update the complete row, since column 1 contains the alias indicator and column 2 contains the visibilty indicator. Task-number: QDS-274 Change-Id: Ib1688b5bceab144f9cd8ff3a784dc1efa6d4ea54 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Android: Find triple from predefined targetsVikas Pachdha2019-01-091-1/+5
| | | | | | Task-number: QTCREATORBUG-21780 Change-Id: Ic6e94a0ef94fc253f8a60383b2d060851b135d9f Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Respect the setting of the version code via the pro fileAndy Shaw2019-01-092-11/+7
| | | | | | | | | | | | As a pro file can now set the version name and code via the pro file, this enables support for the code part as it will default to a variable (similar to the version name). Therefore we need to use QLineEdit for this over QSpinBox so that it is kept intact. Done-with: Markus Maier <markus.maier@rosenberger.de> Change-Id: I0524a90dc94888c11365164c41259a934caffa1c Reviewed-by: Markus Maier <markus.maier@rosenberger.de> Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
* Clang: Stop going to F2 location if invocation context changedNikolai Kosjar2019-01-081-3/+10
| | | | | | | | | If follow symbol takes longer than expected and the user switched to another file or mode, abort processing the result in order to avoid confusion. Change-Id: I0106d49006d2cfd8c8dad0af66d97cee5e5c36de Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
* Clang: Set LC_NUMERIC to "C" for clangbackendNikolai Kosjar2019-01-081-0/+5
| | | | | | | | | | The tidy check SuspiciousMissingCommaCheck uses the locale dependent stod() when reading settings and might throw std::invalid_argument for a locale different than "C". Fixes: QTCREATORBUG-21605 Change-Id: I69bf719a8fd94e13ce67b46238f536c85ab2eaa3 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
* Debugger: Fix step into after switching operate by instructionDavid Schulz2019-01-081-1/+1
| | | | | | | | | Update m_lastOperateByInstruction by calling adjustOperateByInstruction before checking before checking the value. Change-Id: Ic58da417f83381d9a2300ac0e5fcd2c06f41fc34 Fixes: QTCREATORBUG-21708 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* QtOutputFormatter: Fix handling file:// links with following timestampsAndre Hartmann2019-01-071-0/+14
| | | | | | | | Especially on Windows, where drive letters are involved too. Fixes: QTCREATORBUG-20110 Change-Id: I172c8a39d59ce4c8ffadf210eb4c592ef2609f11 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* QtOutputFormatter: Handle Windows-style Qt Test failure linksAndre Hartmann2019-01-071-5/+26
| | | | | | | Fixes: QTCREATORBUG-21744 Change-Id: Iaae1d58df641a0ba72d88c1fba5dbb47412a978c Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* ProjectExplorer: Persist "Automatically create runconfigs" settinghjk2019-01-071-0/+4
| | | | | | Task-number: QTCREATORBUG-21796 Change-Id: I2875bf96c6028409235c6236321d6e2884967cca Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* ProjectExplorer: Handle promptToStopRunControl properly againhjk2019-01-071-0/+1
| | | | | | | | 7c547eba9b04 accidentally deleted an unrelated line. Change-Id: Ie4516d4fd92329ec50f972f0b119ca829787f40c Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* System settings: Don't let terminal drop down vanishEike Ziller2019-01-071-2/+7
| | | | | | | | It should shrink, but must have a minimum size to not vanish when the preferences dialog is made small. Change-Id: If71ae3acd5d1d92b35dc78e9bc5b57e5c118879e Reviewed-by: André Hartmann <aha_1980@gmx.de>
* qmljs: relax checks on Qbs importsMarco Benelli2019-01-071-7/+2
| | | | | | Task-number: QTCREATORBUG-21042 Change-Id: I07093c240abb2f0fafe1a97fb4e81fd223551d43 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* AutoTest: Allow redefinition of integrated QTest macrosAndre Hartmann2019-01-071-1/+1
| | | | | | | | | | | | | | | | | | | Undefining the macro could lead to a crash when evaluating the arguments; at least the test was not recognized (probably as the loop was exited at the first ocurrence of the macro name). Use case: #ifdef QTEST_APPLESS_MAIN # undef QTEST_APPLESS_MAIN # define QTEST_APPLESS_MAIN TF_TEST_MAIN #endif QTEST_APPLESS_MAIN(tst_MyClass) Task-number: QTCREATORBUG-19910 Change-Id: I9f935f82a30b9681398e5d93fccfe6d474765022 Reviewed-by: Robert Szefner <robertsz27@interia.pl> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Autotest: Fix displaying UTF-8 characters in text output paneAndre Hartmann2019-01-071-1/+1
| | | | | | Fixes: QTCREATORBUG-21782 Change-Id: I0533a1f616d0fee6b7d22ca9854dc992eb4622a4 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* FileInProjectFinder: Fix findFile() for nonexisting filesAndre Hartmann2019-01-041-1/+1
| | | | | | | | | | | | | | | | The comment above this function says: If all fails, it returns the original path from the file URL. That broke with 7b0b4c92cdd, which caused the auto tests in QtSupportPlugin::testQtOutputFormatter to fail. Fixes: QTCREATORBUG-21792 Change-Id: I9ed66c86e7a165fe198ee3fcf1bf8b72d850a2d5 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Clang: Fix highlighting lambda capturesNikolai Kosjar2019-01-032-1/+9
| | | | | | | | | | | This fixes the basic case, but e.g. captures with initializers, e.g. [foo=bar] are not properly reported by libclang and thus "bar" is still not highlighted for this case. Task-number: QTCREATORBUG-15271 Change-Id: I1a2d465f71b0ae1a0406ef9e77d88898e8637958 Reviewed-by: Marco Bubke <marco.bubke@qt.io> Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
* Fix crash when renaming file in file system viewEike Ziller2018-12-201-2/+2
| | | | | | | | | | | Do not actually rename while iterating through the folders, first test, rename later. Fix-up of 0c9c747d92b7f263b386ea89d82887dc59a24773 which looks like it actually tried to do that, but confused the two method calls. Fixes: QTCREATORBUG-21741 Change-Id: I779e526e76651b61ffc75be6b4dfce1765bb758b Reviewed-by: Robert Loehning <robert.loehning@qt.io>
* Doc: Add a note on disk space requirements for core dumpshjk2018-12-201-0/+5
| | | | | | Task-number: QTCREATORBUG-21724 Change-Id: I23605be42a53226417041fb24ff7bd90bb384f34 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Color scheme: Reduce minimum size and add scroll area to detailsEike Ziller2018-12-203-596/+647
| | | | | | | | | First thing that should happen when reducing the size of the preferences dialog is to add a vertical scroll bar to the color scheme details, not to the whole settings page. Change-Id: Ifaa6d21627f26ec1a6426cdae2477f6143454c57 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Toolchain options: Enable horizontal scrollbar for detailsEike Ziller2018-12-201-1/+0
| | | | | | | | | | | | The scroll area was introduced for the large vertical size of the custom tool chain configuration widget, but actually the ABI setting for the non-custom tool chains is pretty wide and can require horizontal scrolling. Show a horizontal scroll bar too, if needed. Change-Id: Ied926c4b9f2add4ae7164346a9b068b4055e777d Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Preferences: Add scroll area to external tool detailsEike Ziller2018-12-202-177/+232
| | | | | | | | That is nicer than scrolling the whole widget including the tools tree. Also make the field for standard input extend. Change-Id: Ia2690015b6014e595c3ba441cd3110389aac6dde Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* CppTools: Fix categorization of *.inl, *.tpp, and similarEike Ziller2018-12-191-5/+5
| | | | | | | | | | | | These are files that are included like headers, and not compiled themselves, so e.g. adding them to a project should not categorize them as source files. Fixes: QTCREATORBUG-21736 Change-Id: I7dafba02896d12160de5eed458b99144df0a5f37 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io> Reviewed-by: Marco Bubke <marco.bubke@qt.io> Reviewed-by: hjk <hjk@qt.io>
* Debugger: Update global breakpoint line and filehjk2018-12-191-0/+4
| | | | | | | | ... when a breakpoint in an active engine is moved due to code edits. Change-Id: Iac8102b7ac0149342ccb3fd6be6bf16172683036 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Kit Preferences: Avoid possibly huge horizontal detail widget sizeEike Ziller2018-12-184-0/+5
| | | | | | | | | | The preferred size of combo boxes can depend on the contents, so if there were large items in e.g. the tool chain or debugger drop downs, the horizontal size of the kit details was getting very big. So ignore the preferred size of combo boxes. Change-Id: Ic59afd6ce73c491e7df46d1159dfea58e978dad1 Reviewed-by: hjk <hjk@qt.io>
* UpdateInfo: Fix unneeded scroll bar in options pageEike Ziller2018-12-181-6/+0
| | | | | | | | | The vertical spacer at the bottom had a large minimum size, which made it require a scroll bar for something that is not even visibly doing anything. Change-Id: I66170ceaf0a05b71f103eea518084b6ec6e5f38f Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Do not force an artificially high minimum size on the options dialogEike Ziller2018-12-181-3/+9
| | | | | | | | | | | | | | | | We want it to have a reasonable first-use size, but we can just set that manually when opening it the first time. Afterwards the geometry is restored from the settings. All pages already have a vertical scrollbar available, but that also forced a relatively large minimum size. Reduce this. Fix-up of dba102ff618496b16c2f3b4772cea7a323946606 and 63be3a4024ff5e4755506295d9e861afd96a9ca6 Fixes: QTCREATORBUG-21678 Change-Id: Iff5810b6ebfe51e3fe4da528bc859598c8df2bb4 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* QmlDesigner: show zoom percentage as tooltipTim Jenssen2018-12-182-15/+12
| | | | | | | | | Because of wrong dpi behavior sometimes the combobox is not big enough to show the complete zoom value, with tooltip it can be made visible. Change-Id: Id3ef7b677ea8302e0a332ff9f118483b9bff8178 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: remove includesTim Jenssen2018-12-181-2/+0
| | | | | Change-Id: I1524ae49e935624c03296b5626fd524ec06aa2f7 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Set text editor to modified if auxiliaryData is changedThomas Hartmann2018-12-182-0/+13
| | | | | | | | | The auxiliaryData is stored in a meta comment when saving. Therefore the document is modified, once an auxiliaryData is changed. Change-Id: If27015b7904754bab4e5d4d50939d3d55469cc6b Reviewed-by: Knud Dollereder <knud.dollereder@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* QmlDesigner: Escape colorsThomas Hartmann2018-12-181-1/+6
| | | | | | Change-Id: I02b592f2f6f06eb5ab36dc2dc2eaa96f2ffd3b7d Reviewed-by: Knud Dollereder <knud.dollereder@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* QmlDesigner: Increase minimum width of property editorThomas Hartmann2018-12-181-1/+1
| | | | | | | This removes a few glitches. Change-Id: I30a4d4551d7061a8000d7f8be69e8166b2a95305 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Debugger: Add fallback when gdb.Value.cast() fails for typedefshjk2018-12-172-2/+25
| | | | | | Fixes: QTCREATORBUG-18450 Change-Id: I9239beb7e1879a284e28a30579129fe487eb2dd2 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* SaveFile: Fix error handling when moving file with new contents failsEike Ziller2018-12-171-1/+2
| | | | | | | | | | | | | | The original content is moved to a backup, then the new file is moved into its place. If that second step fails, we have to at least try to move the backup back into the original place, and definitely not remove the backup. This behavior changed in 0dafe5cb8c8135d365c8cb0d365eae5ce66d268e Task-number: QTCREATORBUG-21724 Change-Id: I996098576c0ceed59dd7359ac4f1b9d33f87d596 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
* Debuger: Fix enum dumper (again)David Schulz2018-12-171-4/+4
| | | | | | Fixes: QTCREATORBUG-21726 Change-Id: I25f4a84d88a915247456ac8e12877d503ae0d49a Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Android: Ensure the correct sysroot is passed to debuggerChristian Stenger2018-12-171-1/+2
| | | | | | | Change-Id: Iaa5e026eef658b7b729291beac30788f35c6489a Reviewed-by: BogDan Vatra <bogdan@kdab.com> Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>