summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Clang: fix clang static analyzer on WindowsIvan Donchevskii2017-09-075-5/+50
| | | | | | | | | | 1) mingw kit + qmake: do not add target includes not to override clang paths (for intrinsics and more) 2) msvc kit + qbs: remove target option from clang-cl arguments Change-Id: Ifb494ee61ae2d39e957cff31dbd647c66910be17 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* UnitTests: Disable related tests if suspend-patch is missingNikolai Kosjar2017-09-073-9/+17
| | | | | Change-Id: Ifdccf2e5842aff13528e52caa4dfd3288214d723 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
* Qnx: Fix debugginghjk2017-09-073-11/+8
| | | | | | | | | This apparently fell through the cracks in 89f02cba2. Task-number: QTCREATORBUG-18804 Change-Id: Ib00a5a074ec1df3292267a194e8e87a92d3c6dfc Reviewed-by: Dan Cape <dcape@qnx.com> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Register Qbs documentation (if available)Eike Ziller2017-09-071-0/+2
| | | | | | | Task-number: QTCREATORBUG-18441 Change-Id: I800fae056f7d1cfc60fab3b0c1964d3b9a2a99f7 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* Qnx: Give Slog2Info runner a display namehjk2017-09-061-0/+1
| | | | | | | ... for better debugging. Change-Id: I24d2c6d10d659287ae61fdb4db735e658e3a68ce Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Android: Fix search path for QML modulesBogDan Vatra2017-09-061-1/+1
| | | | | | | | QT_INSTALL_IMPORTS was used by Qt 4.x, Qt 5.x uses QT_INSTALL_QML Change-Id: I9c25ef005f3c5dc8cfc8d0b965426e22b542fb70 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
* Bump version to 4.4.1Orgad Shaneh2017-09-062-4/+4
| | | | | Change-Id: Ib65ad133f580fe0cca76ea31752134343b986dd6 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Welcome: Squish: Assign object name to fix Squish testsChristian Stenger2017-09-062-4/+3
| | | | | | | | | | Latest change of adding QScrollArea around Welcome's sidebar made the objects lookup fragile. Using the QScrollArea inside Squish tests helped for some but not all lookups. Simplify the lookup by assigning an object name. Change-Id: I5f37ee69bf20eaf02c9717cbaa5ba541d8ffbc17 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* TextEditor: Fix painting with frame turned onEike Ziller2017-09-051-1/+5
| | | | | | | | | | | | | | | When using our text editor in a normal panel, we want to turn on the frame again. Make sure that the extra text editor area does not overlap the frame, and also make sure that there is no extra area shown at all if all its features are turned off. This fixes the painting of the input fields in the Clang Query advanced search. Task-number: QTCREATORBUG-18815 Change-Id: Ie74f87ddc576c02cd5ea7650f2632fe91df143eb Reviewed-by: Marco Bubke <marco.bubke@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Welcome: Remove the big minimal height requirementAlessandro Portale2017-09-051-1/+7
| | | | | | | | | | The SideBar in the QtWidgets based Welcome mode had a high minimal height which cause whole Qt Creator not to fit on my HD(720) screen. This change wraps the SideBar into a vertical scroll area. Change-Id: I1d70ced1bbe803fb866159dd557a401c3ab6a9b2 Reviewed-by: hjk <hjk@qt.io>
* CppTools: set default -std=c++11 for Qt4Ivan Donchevskii2017-09-058-14/+29
| | | | | | | | | | | | qmake from Qt4 does not provide C++ standard and clang can't properly compile Qt4.8.6 and earlier with c++1z. Behavior in this commit mimics qmake from Qt5 which also provides c++11 as a default standard. Task-number: QTCREATORBUG-16441 Change-Id: I3d29891d6e47f2367f2b3b2bf4be4d86661924e9 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* GCC/Clang: Use sysroot from build system if kit doesn't set sysrootEike Ziller2017-09-051-4/+16
| | | | | | | | | | | | | | | If the kit has a sysroot set, we use that when determining the system header paths of the tool chain for the code model. But if the kit doesn't have a sysroot set, we should use the sysroot setting that we find in the CXX flags that we get from the build system. In the specific issue, we detect the Clang compiler from the Xcode installation on macOS, which actually needs to be passed a sysroot to return sensible system header paths. Task-number: QTCREATORBUG-18633 Change-Id: Ida401bee8c4b82bb4fa2e6f952b8cc174ea081c6 Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
* SCXML editor: allow eventless transitionsMarco Benelli2017-09-042-3/+1
| | | | | | | | | | | | | | | | | According to SCXML specification (https://www.w3.org/TR/scxml/), the 'event' attribute is not mandatory in 'transition' tags. Also, as specified in section 3.12.1, eventless transitions are handled differently, and will be taken whenever the 'cond' attribute evaluates to 'true'. This patch removes the automatic assignment of 'event' property in the tag constructors, but restore it when a new transition is done in the editor. In this way, the user can delete the unneeded events without them being restored when reloading the document. Task-number: QTCREATORBUG-18345 Change-Id: I96d6860ad3ed58ab49e83d3328e88ef984f40fa4 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Doc: Make Android SDK Tools requirements clearerLeena Miettinen2017-09-041-11/+35
| | | | | | | | | The Android SDK Tools packages have changed, so the tool for installing the required tools depends on the installed Tools version. Change-Id: Idcbda80c958a4f0d2d5be533481e9838fd95e71a Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
* Doc: Fix putArrayData() debugging helper documentationLeena Miettinen2017-09-041-2/+2
| | | | | | Task-number: QTCREATORBUG-18836 Change-Id: Iae037b4a45060b22ee36c94d19eeea940ebf1b95 Reviewed-by: hjk <hjk@qt.io>
* QmlProfiler: Increase test timeouts furtherUlf Hermann2017-09-041-6/+6
| | | | | | | | Test runs frequently fail because the timeouts are too low. the test library suggests around 12s, so we make it 20s to be safe. Change-Id: I746b141949620310371de71b0b2ec7538dc4b5ce Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Update qbs submoduleJoerg Bornemann2017-09-041-0/+0
| | | | | | | To HEAD of 1.9 branch. Change-Id: I379d20c9439e794888a4b269d0e9c55f3bc103a0 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* Wizards: Do not crash when adding files to existing projectv4.4.0Tobias Hunger2017-09-018-13/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | Do not crash when adding a file to an existing project that finishes parsing while the wizard is still open. Make sure the Node that is passed into the wizard is still valid after parsing. Provide more information to the wizard so that this can be checked -- and to find the similar node in the new project tree. Also avoid a crash when adding existing files. Do not crash when project parsing finishes while the wizard summary page is open. Do not crash when the project gets closed while the summary page is open. Do not have the ProjectTree send signals about subTreeChanges if the node that changed is not part of the ProjectTree. This avoids an infinite loop when updating the combobox on the summary page. Add a treeChanged signal to ProjectTree. Task-number: QTCREATORBUG-18651 Change-Id: Iaed3d0d1f079c09e54389821a11bda596139f35c Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Update qbs submoduleChristian Kandeler2017-09-011-0/+0
| | | | | | | To HEAD of 1.9 branch. Change-Id: I5ce399f9cbe9ee05720f7135676dfcd3ac6f88fc Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Doc: Add Getting Started with Qt for Device Creation to TutorialsLeena Miettinen2017-09-011-1/+4
| | | | | | Change-Id: Ie7c2ac11e8faf7a0ee7cde5a066395a8c63871a2 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
* Doc: Update docs for the iOS code signingLeena Miettinen2017-09-011-8/+13
| | | | | | Task-number: QTCREATORBUG-18785 Change-Id: Id3cb73236fc27ce8b23db55b1583474f68596619 Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
* Update qbs submoduleChristian Kandeler2017-09-011-0/+0
| | | | | | | | To HEAD of 1.9 branch. Change-Id: I4462e6e1c2089b602db01bcf073ed4d1ac5b29ca Reviewed-by: Jake Petroules <jake.petroules@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Squish: Store text of item as early as possibleRobert Loehning2017-09-011-1/+1
| | | | | | | | It seems that item.text can change after (not during!) the double-click. Storing it earlier to workaround this problem. Change-Id: I5da4ae7ea8e19b945e56349c2236940a9e5731cb Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* AutoTest: Add location info to all GTest resultsClaus Steuer2017-09-014-5/+99
| | | | | | | | | | | | Currently location information are only set for failed gtest results. One can't jump to the location of a successful test by doing a double click on the corresponding entry in the test result pane. Use the TestTreeModel to obtain the location information for successful tests in the GTestOutputReader. Change-Id: I3fad2d0540edb653ff186011cb92db220748b4f5 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Locator: Don't ask disabled filters for resultsEike Ziller2017-08-311-1/+2
| | | | | | | | | If they are disabled, behave is if they didn't exist (when looking for matches). This was no issue with our own filters so far, because these (by accident) also don't have anything to return if they are disabled. Change-Id: Ia5fe85039631c41f7488d78d9f54b6322dc72b32 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* QmlDesigner: Adjust margings for "move zone"Thomas Hartmann2017-08-311-2/+2
| | | | | | | | | | | | | I introduced a zone around the boarder of each item where it can always be dragged, instead of selection another overlapping item. The area is now a lot smaller, but the 4px seem enough for me when testing it. This zone is slightly to big. I keep the size of 20px at the top so the label/gizmo is always dragable. Change-Id: Ia1b8afb822b506f5322b952d5537eafc73b52ea2 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Resources: List .qrc files in projectTobias Hunger2017-08-311-0/+1
| | | | | | | | List .qrc files (and the files contained) in the project. Task-number: QTCREATORBUG-18790 Change-Id: If23ffd42900d67bcc8d8c9d2ecfb0e82daf8c986 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Clang: Add placeholder text to Clang QueryMarco Bubke2017-08-313-4/+33
| | | | | | Task-number: QTCREATORBUG-18815 Change-Id: Ie5d53f0b3f2464408bb09022483a3a6258e8173d Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* sdktool: Fix qbs build on macOSChristian Kandeler2017-08-311-0/+9
| | | | | Change-Id: Ia84f814b653b1b07c20d02c724a1951914c1e0b5 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* QmlDesigner: Allow WebEngine importThomas Hartmann2017-08-311-1/+0
| | | | | Change-Id: I26b6416bcfc00e9c04bbbb20ccb7d54f9fb298a5 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* QmlDesigner: Switch tooltips in the navigatorThomas Hartmann2017-08-311-4/+4
| | | | | | | | | During refactoring the tooltips have been switched. Task-number: QTCREATORBUG-18667 Change-Id: Iaacb333deebff46b0858ffff9dbd8f30954c7db8 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* PortGatherer: Add test for Mac's netstat output.hjk2017-08-301-0/+10
| | | | | | Change-Id: I6df357502e5621e858a848c567fe1590762d5fc1 Reviewed-by: Filipe Azevedo <filipe.azevedo@kdab.com> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Android: Search for gradle template in QT_DIR/src/3rdparty/gradleBogDan Vatra2017-08-301-4/+2
| | | | | | | | | | | | Qt 5.6.3 LTS adds gradle template but QtCreator failed to use it because it compares Qt versions instead to search for gradle templates in QT_DIR/src/3rdparty/gradle Task-number: QTCREATORBUG-18811 Change-Id: I97c817f143a1d76fe4e2544b138cad9f4914eeee Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
* Squish: Fix searching for filename in windowTitleRobert Loehning2017-08-305-7/+7
| | | | | | | | | Currently, only the end of a filename as actually compared since the title also contains "filename.h" when the title starts with "otherfilename.h" Change-Id: I60dd4dc1fd7c53fee2ddbc44953bcfe4d75c7530 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Implement port gatherer on macOSFilipe Azevedo2017-08-302-1/+32
| | | | | | | Change-Id: I054612716872cdb90f2a3fb5d31c20e19962ebaf Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: hjk <hjk@qt.io>
* Clang: Fix path for clang queryMarco Bubke2017-08-302-6/+7
| | | | | | Task-number: QTCREATORBUG-18814 Change-Id: I638fa4dd993e8efbabefc883622e1619b4e5d9cc Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* sdktool: Fix qbs buildChristian Kandeler2017-08-301-1/+4
| | | | | Change-Id: If024aed2ddf06236284881a51df6af4b96585dfa Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* ProjectExplorer: Parse another type of undefined reference errorOrgad Shaneh2017-08-302-1/+13
| | | | | | | obj/gtest-clang-printing.o:gtest-clang-printing.cpp:llvm::VerifyDisableABIBreakingChecks: error: undefined reference to 'llvm::DisableABIBreakingChecks' Change-Id: Ifca2670c088962f6b60b6de522eb9e19e472bdb4 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* QmlDesigner: initialize actions only at showTim Jenssen2017-08-293-3/+3
| | | | | Change-Id: Iff6438daf70840116f02fcc439a6327c9401c32c Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Squish: Add possible error and respective handlingChristian Stenger2017-08-291-6/+20
| | | | | | | | | When using pastebin there can be various errors. Add another one and try to handle it gracefully as this is a server side error we cannot influence ourselves. Change-Id: I2bcd5b7752bfbb98e2b3fd41cc8ebb9daf0ebf32 Reviewed-by: Robert Loehning <robert.loehning@qt.io>
* Android: Fix default JDK path discoveryVikas Pachdha2017-08-291-6/+17
| | | | | | | Task-number: QTCREATORBUG-18691 Change-Id: Ibd17e7edf1c2cfdcc54ff2b9f16a9125bb217a84 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: BogDan Vatra <bogdan@kdab.com>
* Bump minimum Qt version to 5.6.2Eike Ziller2017-08-293-4/+4
| | | | | | | | Starting to use macos qmake scope. 5.6.3 should be around soon so we can still regression test latest two patch levels. Change-Id: I14f67a26e26c50f6dd0fb8b621f13780b0b05f76 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* AutoTest auto tests: Fix license headerEike Ziller2017-08-292-2/+2
| | | | | Change-Id: Iee053367d5548af65c3f8e36e65377e7b8b0dd07 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Doc: Explain different usages of "Restrict to MIME types"Leena Miettinen2017-08-292-0/+9
| | | | | | | | | | Different MIME type restrictions can be specified for auto formatting and executing the menu command. Update the screenshot that shows Beautifier options. Change-Id: Ie6028bef252c6b13d87c6c4eed465eddae991408 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Fix build on Windows and macOS/QbsEike Ziller2017-08-292-2/+15
| | | | | | Task-number: QTCREATORBUG-18805 Change-Id: Ic178a2f8bf167a8e0c683e055b22211e52f18395 Reviewed-by: Robert Loehning <robert.loehning@qt.io>
* Reduce dependencies for sdktool to QtCoreEike Ziller2017-08-292-5/+42
| | | | | | | | | | | | Explicitly pull in the sources that are needed from utils, instead of linking against the library. Also generate another copy of app_version.h for sdktool, so it is not necessary to run qmake on src/app/ before building sdktool. For Qbs, it already depends on the separate app_version_header product. Change-Id: I102c3a928f88a6035640166035c1bca29b126068 Reviewed-by: Jake Petroules <jake.petroules@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Fix more copyright years in pluginsEike Ziller2017-08-2914-14/+14
| | | | | | Change-Id: I44845b3cc6f393e76a2f3ff5f166c6170c4eff56 Reviewed-by: Robert Loehning <robert.loehning@qt.io> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Fix application output of qtestlib projects when debugging with CDBJoerg Bornemann2017-08-291-4/+11
| | | | | | | | | | | Tell QTestLib to use OutputDebugString for logging when "Run in Terminal" is turned off. This way we are able to distinguish CDB's output from the debuggee's output. Task-number: QTCREATORBUG-16161 Change-Id: Ie5e6e4a0cbb853167766f782521101eff2e1963a Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* FileName::exists(): Check for empty files firstFriedemann Kleint2017-08-281-1/+1
| | | | | | | | | | | Fixes warnings "Empty filename passed to function" (introduced by qtbase 0dee566e98f5ff4f224e596de1c04de4f9685df4) emitted when running Qt Creator against 5.10. The warnings originate from Kit::icon(). Change-Id: I501914195b8e4d340fd02362b215ffc6e3dc99d4 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* CompileOutput: Flush other parsers on make error detectionOrgad Shaneh2017-08-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Fixes wrong linked lines when make terminates. The lines marked with ** are linked instead of the lines marked with &&. int main() { boo; } main.cpp: In function 'int main()': main.cpp:3:5: error: 'boo' was not declared in this scope boo; ^~~ && main.cpp:3:5: note: suggested alternative: 'bool' && boo; && ^~~ &&** bool ** mingw32-make[1]: *** [Makefile.Debug:98: debug/main.o] Error 1 ** mingw32-make: *** [Makefile:34: debug] Error 2 ** mingw32-make[1]: Leaving directory 'D:/Projects/test' Change-Id: I33b87d5b20e1e5ee21319986086c832a4aa77e07 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>