Commit Graph

42048 Commits

Author SHA1 Message Date
Eike Ziller 8261b98d7e Preferences: Options pages need unique IDs
Since we are referring to them by ID without specifying the category in
addition.
This requirement was implicitly added by
592ffe7377

Task-number: QTCREATORBUG-14742
Change-Id: I7be539127b76de90c19b0282565d845fa42010ab
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-08-10 11:55:01 +00:00
Nikolai Kosjar 64d8ac4880 Clang: Fix showing signature tooltips for functions
...and others in the generic completion widget.

Task-number: QTCREATORBUG-14874
Change-Id: I75122eaf364d740b0a64ca514b31a26c5c8ea673
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
2015-08-10 09:35:01 +00:00
Leena Miettinen c4fe977e7c Doc: remove references to Qt WebKit
It has been deprecated and was only used as an example.

Change-Id: I4e483e2f86b32476e4b88c9c3eecb7eeffa42e72
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-08-10 07:39:19 +00:00
hjk a6fb90165a Utils: Fix lifetime of Aggregate lockers
The QReadLocker died before locking anything.

Change-Id: I8d50082bfcdd70c2e29cf637a6cfb327f106f2c3
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-08-10 06:39:16 +00:00
Orgad Shaneh 14419e3d1b Git: Fix typo in comment
Change-Id: I07a7905bed3a46f7fbd60fd0844e9c46d61fbc1f
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2015-08-09 19:09:16 +00:00
Eike Ziller 80766578a2 Version bump
Change-Id: Ibb3790fe4b4bfcbd808f611ce9fa2f0427022a4a
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
2015-08-07 14:19:12 +00:00
Eike Ziller 98b0a11dbd iOS: Keep iostool from stealing focus
This was triggered by fixing the iostool Info.plist in
339a8b619e

Define QT_MAC_DISABLE_FOREGROUND_APPLICATION_TRANSFORM, similar to how it
was done for qml(2)puppet in f6303e6784

Task-number: QTCREATORBUG-14837
Change-Id: Ia0dda338361900c519bbaaef225b6a613e928817
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
2015-08-07 10:02:56 +00:00
Robert Loehning 1992d0f230 Squish: Improve tst_CSUP02
Change-Id: I6ddafab93381a3ee82c581299175d18dcad55a1b
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-08-07 08:46:39 +00:00
Robert Loehning 630552f9e4 Squish: Add binary test file
Change-Id: I326812f4cd57f4f91197717ae54a18c675c514b4
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-08-07 08:46:09 +00:00
Leena Miettinen a4a27d4de7 Doc: fix writing Qt Creator as one word in a label
... in Tools > Options > Debugger > General.

Change-Id: Id9d68c47ef59179d5e66abd3a97ab597f7ac9364
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-08-07 08:37:21 +00:00
Nikolai Kosjar 1ecadd7d76 Clang: Filter out "#include_next in primary source file" warning for headers
Another diagnostic that can't be turned off.

Change-Id: I1e4452ccbb2f1864e1a68cf02a858d410cd0c162
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
2015-08-07 08:19:51 +00:00
Christian Kandeler 295b11d099 Update qbs submodule.
To HEAD of 1.4 branch.

Change-Id: I29b8da7c318a87ff6c5148edb93955826c7697d8
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
2015-08-07 07:59:10 +00:00
Leena Miettinen ff3925f3b0 Doc: fix function names in code pasting instructions
Change-Id: I59d1131c516ded36dc4f6967dc7cc1905f0c8922
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-08-06 14:27:02 +00:00
Leena Miettinen 3bb2b0c456 Doc: update screenshots for Linux and QNX devices
The deployment steps have changed. Removed the screenshot
that shows the default settings for running on Linux.

Change-Id: I64745026e4a79f32e62d575df4e0b408173cbddb
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
2015-08-06 14:02:33 +00:00
Orgad Shaneh 8c53ff79ab CppEditor: Delay mime initialization on startup
Plugins register their mime types on initialize().

If a plugin *reads* from the mime database on initialize(), and plugins that
follow it register new mime types, the next read forces reload of the database,
which is expensive.

Change-Id: Ifd5f1bfea17faf2be25846d954d66884b6fbb204
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-08-06 13:49:24 +00:00
Leena Miettinen 70b714d3ae Doc: JSLint documentation no longer available online
The tool now describes error messages depending on user
output. Also, there is no active development on the checks,
so removing hints about the future development.

Change-Id: I87c94febb95ae8247aa1061bcc7ac0801e64ee8a
Reviewed-by: Christian Kamm <kamm@incasoftware.de>
2015-08-06 13:40:47 +00:00
Robert Loehning c0484b992e CustomWizard: Update readme after removal of examples
Should have been done in
b5e3f2e57b

Change-Id: I1ca04d82a9717ce4649537fd4c80c81eca60f0d0
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-08-06 13:40:27 +00:00
Orgad Shaneh 6c13ce05af TextEditor: Fallback to last line when input line exceeds the document
Task-number: QTCREATORBUG-14782
Change-Id: I7ead94a132207ccaae661cb6aceff5387d11b818
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-08-06 13:38:04 +00:00
Nikolai Kosjar 93e0ffa942 Clang: Increase backend alive timeout
...the backend is not yet multithreaded and on very slow machines on
heavy load this can sum up.

Change-Id: Ia7f456e8558d60aacbe6a689e884342b466063fa
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
2015-08-06 12:43:36 +00:00
Nikolai Kosjar 6b99b1c7cb Doc: update information about Clang Code Model Plugin II
* Update the instructions on building clang.
* State the minimum version of clang that is necessary (3.6.2).
* Rearrange the "acquire clang entries", the least time-consuming method
  for acquiring clang comes first now.

Change-Id: Ie0a80fa507be20fd7c3f09930de03a88634cccce
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
2015-08-06 12:43:20 +00:00
Leena Miettinen fe09dee7c3 Doc: don't specify whether Gradle or Ant is used by default
Ant now seems to be the default. Link to the section about
selecting the tool to use.

Change-Id: I1c60c952726f407d5ad7e25118dba732a2fa50e5
Reviewed-by: BogDan Vatra <bogdan@kde.org>
2015-08-06 11:22:04 +00:00
Leena Miettinen 053b2b649f Doc: "Include by default" locator option
...has replaced the "Limit to prefix" option.

Change-Id: I23e2d7ea9e16933566edb992aa50f6f0c4df3d11
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-08-06 08:23:17 +00:00
Nikolai Kosjar 775661fafb Clang: Ignore clang include directories from the toolchain
Change-Id: I23a91f1511fad81de0abdd8c8d47dc23f0e0ae43
Task-number: QTCREATORBUG-14856
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
2015-08-06 08:05:24 +00:00
Nikolai Kosjar bde090ae9b Clang: Let clangcodemodel/README point to the corresponding *.qdoc
Change-Id: I5526ed6ea6840ccecd8890adf6ef454e45ba98f9
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-08-06 08:04:10 +00:00
Christian Kandeler 707d49d2fb QbsProjectManager: Un-break MSVC.
Commit aad5ca12c4 was over-eager, wrongly assuming the presence of
cpp.cxxCompilerName for MSVC and also not taking into account that
we don't set cpp.compilerVersion* from Qt Creator.

Task-number: QBS-846
Change-Id: Id6a88c18f2c460ef66f0339aeb999b7fc0321225
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
2015-08-06 07:49:04 +00:00
Leena Miettinen a269acbb9e Doc: fix UI text related to searching
- Regular Expressions > Use Regular Expressions
- "Highlight search results on the scrollbar" is in the Display tab

Change-Id: If3df17d9fd00f5fc0945ee979be81f9b62f78ac8
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-08-05 13:45:57 +00:00
Eike Ziller 658ab5c680 Locator: Fix wrong use of localized string in settings
It was accidentally overwriting the text of a label with the text
intended for the tool tip.

Change-Id: Ie6e52413660d7959399029c10b7fafb3197ee2f6
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-08-05 13:38:39 +00:00
Leena Miettinen cc9102369f Doc: update information about Clang Code Model Plugin
Change-Id: Iee70665c116604a8e3ea37d72cdbfccb53960187
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-08-05 13:14:32 +00:00
Leena Miettinen a7b9bcf480 Doc: fix a group name in "Indenting Text and Code"
"Typing" should be "Tabs and Indentation".

Change-Id: I27917375ae0004dc11a33f355941e948402af5ba
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-08-05 11:44:47 +00:00
Leena Miettinen ea4b2859e7 Doc: code completion does not consider case by default
"None" is now the default option.

Change-Id: I68ed2ca418efb4dc58ad7f3637a19fbfd81cbb5e
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-08-05 11:15:44 +00:00
Marco Bubke 8c3c882a8a Clang: Fix parsing of enable_if_t
Task-number: QTCREATORBUG-11864
Change-Id: Ifd0d3482bc4f4373394734d4b173304db32a6a2d
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-08-05 10:50:34 +00:00
Marco Bubke 66ba8fe6c5 Clang: Disable test CodeCompletionsExtractor.Constructor
It is caused by clang.

Change-Id: Iaf760f590289a2f2a344f25879141bc37fed6881
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-08-05 10:42:32 +00:00
Nikolai Kosjar 885e6dbac2 Clang: Add convenience script to check clang completions
This one is useful for inspecting the completions we get from clang
(e.g. for checking if the bug is in clang or in our code, or to compare
the completions of different clang versions).

Change-Id: If9dfe1b58a2b087ef6b92485e10ff272badf75c8
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
2015-08-05 10:14:38 +00:00
Christian Kandeler 414fa3c51d qbs build: Fix application install dir for OS X.
The "Qt Creator" executable was put into the root dir instead of "Qt
Creator.app/Contents/MacOS".

Change-Id: Id353812076e36928d650f5cc3e6968f60c68d64b
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2015-08-05 09:29:04 +00:00
Nikolai Kosjar adefa318ae Tests: Emit coreAboutToClose() before exiting
Now address sanitizer will not show false positives.

Change-Id: Ieeb4dc31697920ed1ca542f5647f4cb0b23a29ab
Task-number: QTCREATORBUG-14713
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-08-05 07:38:16 +00:00
Leena Miettinen eff1d9f21f Doc: fix tab name
Tools > C++ > Inspect C++ Code Model > Project Parts >
Include Paths is now "Header Paths".

Change-Id: I0ec53ec2988df2a563b2a5212a6cc31152146e51
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-08-05 06:57:59 +00:00
Marco Bubke 0fd213357e Clang: Tests for code completion
Reparsing in Clang is broken in master. We need to test what is working
in which version.

Change-Id: I620acd4a0a5adc951951e0fc3c0a4096ac9844fe
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
v3.5.0-rc1
2015-08-04 16:16:45 +00:00
Leena Miettinen 2afdfeeb38 Doc: update paths to Qt Designer plugins
Change-Id: I6f07633322ec87c7358e1afc70670f295491722a
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-08-04 14:56:53 +00:00
Leena Miettinen 818d90e0ae Doc: fix a changed check box label
Tools > Options > Text Editor > Display > Always Open Links in Next Split
changed to "Always open links in another split".

Change-Id: If363b6c14868a730641370098432cb9c0d45fe59
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-08-04 14:56:42 +00:00
Christian Kandeler 7b970a3a04 QbsProjectManager: Support an equivalent of QML_IMPORT_PATH.
Task-number: QTCREATORBUG-14849
Change-Id: I26f69b5c6c421b5eb965c96d75df15d16e960237
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2015-08-04 14:43:15 +00:00
Eike Ziller aa8998cfb3 iOS: Fix kit creation with Xcode 7
Xcode 7's platform plist does not specify a concrete version
for the SDK in the SDK name anymore.
So, if we do not find an SDK with the same name, look for an SDK
with a version that matches the platform's 'Version' setting.

Trying to figure out from the settings looks inherently fragile
to me though, and we might be better off just using
xcrun -sdk <sdk> --show-sdk-path

Change-Id: Ief45f03aa7cd5193f6c24b087eb635d3f5ba5298
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
2015-08-04 11:09:10 +00:00
Eike Ziller dcab956dc8 iOS: Do not drag unused QSettings objects around.
Change-Id: I5f641ba713e11c7a5376f94babf745f35ccbdba2
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
2015-08-04 11:09:03 +00:00
Orgad Shaneh ba9787a009 C++: Initialize memory after allocating symbol pointers
Change-Id: Ife1d3f963ef6781f96031f41ae3858b2c278145e
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-08-04 09:58:32 +00:00
Nikolai Kosjar 5abfef609a Clang: Check for required mininum LLVM/Clang version
...otherwise, if the compilation fails, the user is left without any
hint.

Change-Id: I753aefac0c9fbd24b148235e792fe3b3a2aea21b
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
2015-08-04 09:25:53 +00:00
Leena Miettinen ad332762df Doc: update info about QML export scripts
- Switch the download links to Gerrit
- Describe how to edit the scripts to create files that are
  compatible with Qt Quick Designer
- Remove notes about adding Python support for Windows, because
  that now seems to work out of the box

Change-Id: I88f822e1d72658818b140208c264af24ab671b28
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2015-08-04 08:12:54 +00:00
Nikolai Kosjar 8ac76922d2 Clang: Filter out "#pragma once in main file" warning for headers
This is a libclang bug and unfortunately there is no option to disable
this warning.

Change-Id: I12cdaa0155e7d94a70b8fccd8c9290835704e06b
Task-number: QTCREATORBUG-12067
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
2015-08-04 07:16:35 +00:00
Nikolai Kosjar 9f2b5eac2d CppTools: Update language standard option for clang
Tested with clang 3.6.

Change-Id: Icd2383bd03b91837b3129045e9ab78a1620efd02
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
2015-08-03 13:52:16 +00:00
Robert Loehning fb6baf9188 Squish: Run tst_CSUP02 on Clang code model, too
Task-number: QTCREATORBUG-11591
Change-Id: I8b4a77d6a1184e225bcf3a9a496e1bdb7cb0d81c
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-08-03 12:41:28 +00:00
Leena Miettinen 9ec331d6e6 Doc: excluding files from scanning in To-Do Settings
Change-Id: I05923ab532fdfd7bf00f1b277116edba38bf7334
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-08-03 12:11:28 +00:00
Orgad Shaneh 866310d56f CMake: Initialize kit priority
Detected by memcheck

Change-Id: I27bb03ce4b4b63ae596bd3a788b6a95cd0944454
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
2015-08-03 09:35:31 +00:00