summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix hiding file system view's bread crumbEike Ziller2018-08-152-3/+10
| | | | | | | | | | | When hiding the bread crumbs in the filter option dropdown, there was some spacing and the separator line left. With this patch, the spacing and line are hidden too, making the layout nicer and more similar to before the bread crumbs feature existed. Task-number: QTCREATORBUG-20733 Change-Id: I560b4414804c8cd25e88d645aa3042acb1b8e06c Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* qmljs: update some module versionsMarco Benelli2018-08-151-0/+8
| | | | | | | | Update module version for import completion. Task-number: QTCREATORBUG-20785 Change-Id: I11761854bd5c7c4ce832f39b815f7bbf710db5e8 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* TextEditor: Fix compile on macOSChristian Stenger2018-08-151-0/+2
| | | | | Change-Id: I78929b2d3f6e7803879e63ba5611e5210cc53f90 Reviewed-by: David Schulz <david.schulz@qt.io>
* Squish: Update Creator's sources to v4.7.0Robert Loehning2018-08-144-1908/+7554
| | | | | | Task-number: QTCREATORBUG-20344 Change-Id: I7664f2f1b9f9412b9564f192319f9ed832dc142a Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Valgrind: Fix heob check if executable existsHannes Domani2018-08-141-1/+2
| | | | | | | Task-number: QTCREATORBUG-20938 Change-Id: Id1c3cbf610b97a13209e6a767c5e881e9be18ac7 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* GenericHighlighter: check text color against backgroundDavid Schulz2018-08-141-1/+41
| | | | | | | | | | | | | The kate syntax highlighter format allows to directly assign a color for a specific item. This could result in a bad contrast ratio between text and background. Check the contrast ratio according to W3C Recommendation and apply if it exceeds the minimum contrast ratio for large text. (https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast- contrast) Task-number: QTCREATORBUG-20919 Change-Id: If5a5d09224446df72f31027cd30e50088179d6d7 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Fix Linux WMClass also for standalone desktop fileEike Ziller2018-08-141-0/+1
| | | | | | Task-number: QTCREATORBUG-14707 Change-Id: I55a208bc6af58a067029a02eb8f6d114af8dd007 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Fix Botan build on macOSEike Ziller2018-08-132-2/+6
| | | | | | | | | | | Since some Xcode version, running clang directly from the Toolchains directory requires explicitly passing the sysroot to use. If that is not done, inclusion of some standard headers like string.h fails. Change-Id: I640eca41d4132354f1091a7514586cb582e5d05c Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Botan: Fix compile if documentation tools are presentChristian Stenger2018-08-132-2/+3
| | | | | | Change-Id: If5adae5840cca75e3a1429922f48ea25b9903dc3 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Doc: Remove a note that is no longer applicableLeena Miettinen2018-08-101-3/+0
| | | | | | | | Compiling the library should not be necessary since the QML debugging library has been added to Qt. Change-Id: Id1d31cb40068fcfb7ff868ae80e3f3c9bc4b5de7 Reviewed-by: hjk <hjk@qt.io>
* Update qbs submoduleChristian Kandeler2018-08-101-0/+0
| | | | | | | To HEAD of 1.12 branch. Change-Id: Idfc6e54062cdc9f3cc5edebb9f7d2aab4c0db105 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Squish: Fix passing argument to helper functionChristian Stenger2018-08-101-2/+2
| | | | | | | | | | | | | | | The code of the helper function has changed and what worked before by pure coincidence now fell apart. Passing a list to a function that tries to use it as a key for a dict results in an exception as lists are not hashable. The code is likely to change by adding a newer kit. This patch just makes the current state work without crashing instead of adding functionality that is not yet used. Amends aed1616b351e909b870e5caccd544b66b16000bf. Change-Id: I6e8a6490988700de14596ba981b5e6900133a79d Reviewed-by: Robert Loehning <robert.loehning@qt.io>
* Squish: Remove old default target parametersRobert Loehning2018-08-103-28/+12
| | | | | Change-Id: I72153c535ae0670cb4bfa061f34659bc7faee001 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Doc: Add a note about debugger error on AndroidLeena Miettinen2018-08-101-1/+5
| | | | | | | | Qt Creator cannot debug applications on Android devices if Android Studio is running. Change-Id: I57de367ed0d4effe7b095fa66318408d868496d1 Reviewed-by: hjk <hjk@qt.io>
* SSH: Use Botan2Christian Kandeler2018-08-10501-65031/+75446
| | | | | | | | | | | | | | | | Botan 1.10 will be completely unsupported by the end of this year, so we now target API version 2 instead. Also upgrade our bundled Botan to the latest version 2.7. We no longer check in pre-processed files, but use the upstream sources directly (with unneeded parts removed), employing Botan's own configure script for building. This will make future upgrades much simpler. A script to automate this process is also provided. Task-number: QTCREATORBUG-18802 Task-number: QTCREATORBUG-8107 Change-Id: I5a5ea62cfd30d720b556217142e8b7e06bf49f7e Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Fix wrong color of line/column labelEike Ziller2018-08-091-1/+2
| | | | | | | | | | Fix up of a8aa4bbb312d163c1fffaa59102a49c77458404c. That introduced a non-QToolBar widget that should be styled like a tool bar, so use a StyledBar instead of plain widget. Task-number: QTCREATORBUG-20916 Change-Id: Ifd899fac136ef4e3310cd5d2b9cd9f0cd2de1376 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Debugger: Fix accessing member functionChristian Stenger2018-08-091-1/+1
| | | | | | | Amends 975f5886a6f09b48efc052bee5aae43613492e04. Change-Id: I0e8f5a9ab0ccf76fc095e0e05bfbdb838a7583d3 Reviewed-by: David Schulz <david.schulz@qt.io>
* Squish: Fix checking for Profile modeRobert Loehning2018-08-091-1/+2
| | | | | | | Amends 2a274728c2d1. Change-Id: Id686e031658ad737eaeeffabe857452cc8a0d7ac Reviewed-by: Robert Loehning <robert.loehning@qt.io>
* Squish: Simplify mapping between kits and their namesRobert Loehning2018-08-091-25/+11
| | | | | | Task-number: QTCREATORBUG-20861 Change-Id: I809036dc331b93f015ee5b10381229b106e27cbd Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* ProjectExplorer: reduce amount of concurrent running vcvars.bat scriptsDavid Schulz2018-08-091-2/+15
| | | | | | | | | | | | | The concurrent execution of multiple batch scripts seems to be suspicious behavior for some of the anti virus solutions out there. Task-number: QTCREATORBUG-20868 Task-number: QTCREATORBUG-20637 Task-number: QTCREATORBUG-20829 Task-number: QTCREATORBUG-20886 Change-Id: I2a05ccf937218bca09227bf34f56da38123ffbe7 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Debugger: fix cdb enum dumperDavid Schulz2018-08-091-3/+8
| | | | | Change-Id: Iac407d98afd8f024a45d0f6550c8b3c00df0a515 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Debugger: Fix parsing of server command line optionhjk2018-08-091-1/+1
| | | | | | Task-number: QTCREATORBUG-20928 Change-Id: Iaa23555353f5b234c550763cdbd04d115d4e0eda Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Clang: Fix resource directory pathIvan Donchevskii2018-08-082-10/+7
| | | | | | | | Effected clang tools in developer builds. Change-Id: I3ecbc38f37fa2a41f3777f402fd7fe5bf5ba7e94 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Marco Bubke <marco.bubke@qt.io>
* Clang: Fix the include paths order for libclangIvan Donchevskii2018-08-081-1/+1
| | | | | | | | | | | | Clang headers should always come first. After we removed '-isystem' from other paths it was still used for clang headers which put it in the end of list. This fix returns the paths their original order. Change-Id: I0a4ab450a5303e2536e60200f479cc19f6f55e99 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Marco Bubke <marco.bubke@qt.io>
* AutoTest: Fix and unify handling of group nodesChristian Stenger2018-08-079-9/+26
| | | | | | | | | | | | | QtTest had been forgotten to handle correctly as well. So, it was possible to have several levels of grouping which had not been handled correctly. By (current) definition we handle only one level of grouping, so prohibit more for QtTest tree items as well. Basically move the check into a separate function and use this beforehand instead of creating a nullptr. Change-Id: Icbf02eae67e89464f371eb349eecf2976636d05f Reviewed-by: David Schulz <david.schulz@qt.io>
* Squish: Also check for "Profile" config being checkedRobert Loehning2018-08-071-0/+1
| | | | | Change-Id: I9f6598144b81240c4a92abb7e71b7c4cbf6baa4a Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Squish: Move imports of "os", "re" and "sys" into shared classRobert Loehning2018-08-0710-17/+1
| | | | | Change-Id: I349cb255b8fa6f96e32d5dacb3c9b58ddeb76897 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* QbsProjectManager: Adapt to cpp.cxxLanguageVersion type changeChristian Kandeler2018-08-071-10/+16
| | | | | | Task-number: QTCREATORBUG-20909 Change-Id: Ic0c018b1a06e2d715d4ea6e301deeacc6aa7f480 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Squish: Fix warningsRobert Loehning2018-08-0627-44/+33
| | | | | | | Warnings from static code checks, that is, not test.warning() at runtime. Change-Id: I651d13491106583908059ecdb5f700f539b6d9c8 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* AutoTest: Disconnect signal after being processedChristian Stenger2018-08-062-2/+6
| | | | | | | | | | | When debugging a test the run control outlives the connection and the signal can be triggered again and again which results in warnings on the command line. Do not rely on run control handling things for us, instead disconnect the signal after it had been processed. Change-Id: I704fd110bce3b387ee419a3f83bf904f2687a435 Reviewed-by: David Schulz <david.schulz@qt.io>
* AutoTest: Avoid crash in illegal stateChristian Stenger2018-08-061-1/+6
| | | | | | | | | | While debugging tests we rely on some states of the debugger. If anything goes wrong we might end in an illegal state on our side as well. This would then result in a crash. Avoid nullptr access and try to recover from illegal state. Change-Id: If8ca396a6e456d2f37777eba86f320643fbcd275 Reviewed-by: David Schulz <david.schulz@qt.io>
* TextEditor: fix crash while request follow symbol and typing on macDavid Schulz2018-08-062-1/+2
| | | | | | | | Use a qobject_cast to prevent accessing a not available function. Task-number: QTCREATORBUG-20910 Change-Id: If2aa6b7b120379681e9590db80904c45a6d9bd55 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* GDB: Escape quotes on breakpoint commandsOrgad Shaneh2018-08-031-2/+6
| | | | | | | | The commands are wrapped in quotes, and if they contain quotes it gets messed up. Change-Id: I41cebd8cf4a57a8ea671e5f43a3295af1c73fd02 Reviewed-by: hjk <hjk@qt.io>
* Improve Russian translationSergey Belyashov2018-08-031-5/+5
| | | | | Change-Id: Ib632fb9f5efe97a1913f9a0c09512b6b99ef2b6e Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
* Update qbs submoduleChristian Kandeler2018-08-031-0/+0
| | | | | | | To HEAD of 1.12 branch. Change-Id: I44bf654eb81a30f44055b366c21dca10fded37c4 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Squish: Don't explicitly pass default to createNewQtQuickApplicationRobert Loehning2018-08-022-6/+2
| | | | | Change-Id: I006c6cad0e972006475ad488b9a71def09de0dbb Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Squish: Refactor selecting configured Kits in projectRobert Loehning2018-08-0221-223/+149
| | | | | | | | | | | | | The design of the Projects mode changed several times. We wrote lots of workarounds to keep even more old code alive because we never had the time for a proper refactoring. This time is now. Leads to more stable code with far less variables flying around. Task-number: QTCREATORBUG-20265 Change-Id: I29e5956ea3279cdb1d6da61bf5b461666de436bc Reviewed-by: Robert Loehning <robert.loehning@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Squish: Redo readFile()Christian Stenger2018-08-011-4/+2
| | | | | | Change-Id: Ife8f951aa8fc86403197318b55db725ed3259336 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Robert Loehning <robert.loehning@qt.io>
* Squish: Test pasting with pastebin.comRobert Loehning2018-07-311-3/+15
| | | | | | | | | Yes, there are only ten pastes per IP per day. But doesn't that mean that nobody can rely on it being availabe anyway? So it's better to use some of those ten pastes for testing instead of not testing pasting at all. Change-Id: I45362e5ab0c3eb43f1ddd18d4be39474e26c8460 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Squish: Use sections for services in tst_codepastingRobert Loehning2018-07-311-36/+37
| | | | | Change-Id: If97331e3a18f44ca82ad81c7609dc3162caf5254 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Squish: Fix handling of server issues in tst_codepastingRobert Loehning2018-07-301-19/+19
| | | | | Change-Id: I35d8dbeb11be104a1af2956125a29c4606c7e050 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Squish: Fix tests after revertChristian Stenger2018-07-271-4/+8
| | | | | | | | | The patch that removed Qt4 completely from the widget app wizard has been reverted. Adjusting the tests now. Change-Id: I0af1eb2102caa22022658d1189794c7757c7628f Reviewed-by: Robert Loehning <robert.loehning@qt.io>
* Squish: Forward qbs' warnings about deprecated featuresRobert Loehning2018-07-262-4/+11
| | | | | Change-Id: Ib99713b95d010acf4b49065ad7e20862e59476d1 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Revert "Wizards: Drop support for Qt4 for widgets application"hjk2018-07-262-3/+1
| | | | | | | | | | | | | | | This reverts commit 1a6522b47c7eb667d297c71a48751e22f7069c04 which leaves people wondering about their kit setups. Creating a project that possibly does not compile due to the use of C++11's nullptr in the generated code is lesser evil. Apart from that this potential mis-compilation does not happen in practice on e.g. Ubuntu 18.04 with system Qt 4 and system compiler. Change-Id: Iaa90f225d5317dc48428aa2d3fcf3ec051ef2018 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Coding Style: Update null pointer description to C++11Andre Hartmann2018-07-261-4/+3
| | | | | | | Task-number: QTCREATORBUG-20852 Change-Id: I150b8e815e137fee333b71d3b05c3a4d2a0038ba Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Environment: Do not leave stray ':' in LD_LIBRARY_PATHTobias Hunger2018-07-261-2/+4
| | | | | | | | | | | A empty path segment in LD_LIBRARY_PATH is *not* ignored and treated as '.' IIRC. So make sure to not leave a ':' in first place of LD_LIBRARY_PATH or set an empty LD_LIBRARY_PATH on Linux. Change-Id: I99ec2e333c6c0205334daf14ac6a2373c6e465ad Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Debugger: Do not start the mixed engine on Attach to QML Serverhjk2018-07-261-0/+1
| | | | | | Task-number: QTCREATORBUG-20168 Change-Id: I6af3bf7f0f9ed2316d1382383a7889f55a16dea1 Reviewed-by: David Schulz <david.schulz@qt.io>
* Update German translationRobert Loehning2018-07-251-1567/+1817
| | | | | Change-Id: I681c854023a6ccb338751844afda8b37aff36318 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* ProjectExplorer: fix msvc toolchain detection for Windows SDK 7.xDavid Schulz2018-07-251-8/+4
| | | | | | | | | | Cancel processing the environment diff only if the setenv scripts return a non zero exit code. Just checking the presence of standard error output seems to be a to aggressive error checking in this case. Task-number: QTCREATORBUG-18328 Change-Id: I9243932cd5721cfbfec5a980a2fab6e69f4c31c7 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Clang: Suppress "unreferenced formal parameter" warnings on MSVCOrgad Shaneh2018-07-251-0/+3
| | | | | | | | They are triggered a lot in Clang headers. Change-Id: I31f31a4f52e269d773cf1b41ad52f279ee368c2e Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>