Commit Graph

42065 Commits

Author SHA1 Message Date
hjk d98325f413 Debugger: Make Locals views entries selectable for core files
Task-number: QTCREATORBUG-14904
Change-Id: I3918979c5f7a5dd3e4fbe9e3c7444f622e26b3f3
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
2015-08-13 07:04:27 +00:00
Nikolai Kosjar 039d9309a9 Clang: Ignore include dirs matching lib/clang/x.y/include
On OS X the clang versioning is different.

This completes

    775661fafb
    Clang: Ignore clang include directories from the toolchain

Task-number: QTCREATORBUG-14856
Change-Id: Ib93ce9fcf18a3c8693f9f2af8075eeef8b93fa32
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
2015-08-12 15:59:51 +00:00
hjk f020edc287 Debugger: Fix QJsonDumper with LLDB
Change-Id: Ied299468a3f125540894278841114591cfecb02b
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-08-12 13:55:01 +00:00
Orgad Shaneh 786aa4a441 Git: Fix source repository resolution in Stashes dialog
Remove workaround done in Branches and store copies where they're needed.

Task-number: QTCREATORBUG-14850
Change-Id: I6a81fc5ac02fb11d444906af6cfbe768695c9965
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2015-08-12 11:32:20 +00:00
hjk d7c5ee7edd Debugger: Fix display selection of char arrays
... by re-using the logic we had for std::string already.

A plain char[] value did not react to Change Display Format,
Latin1 was used unconditionally.

Also rename putStdStringHelper to putCharArrayHelper.

Change-Id: I01fdf796ff49a4c99ead7b9b46274684e18e962b
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-08-12 08:07:08 +00:00
Eike Ziller 07e1f78ca8 Editors/Function hint: Guard against potential crashes
Change-Id: I285fe66a2ef9fd9543150dbbec5da6a83657ae73
Task-number: QTCREATORBUG-14875
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2015-08-12 07:16:43 +00:00
hjk 7a88612a8e Debugger: Don't add a new watcher item when editing one in-place
Task-number: QTCREATORBUG-14775
Task-number: QTCREATORBUG-14851
Change-Id: I06638ffc2d5a1723e87c1c5a651592e7e0bbad22
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2015-08-11 13:29:29 +00:00
Ulf Hermann f99e40602b Fix typos in CPU Usage Analyzer docs
Change-Id: Ie1f62224b62a148c0a6df1ff4afb55fa9aec89af
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-08-11 11:16:01 +00:00
hjk 472d584d5d Debugger: Adjust dumper test to changed dumper output
Change-Id: Ib183c960ff7e737636860e007a16972d5f1f232f
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-08-11 10:31:06 +00:00
hjk 1b5e5656f6 Debugger: Fix display of QByteArrays constructed from raw data
The sanity check on sizes introduced in 2ad602bb was too harsh,
marking the fromRawData() case (alloc == 0, size > 0) as invalid.

Change-Id: I9d7e0cedbc3f35024281829cfb1f6fa2e17a1573
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-08-11 10:31:00 +00:00
hjk 884be5128f Debugger: Show QDateTime also for non-default timezone
Task-number: QTCREATORBUG-14853
Change-Id: Iaf4501878df15bd55b49d4daab64ea280e14663b
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
2015-08-11 10:30:00 +00:00
Robert Loehning 6fe810f514 Squish: Compare sets directly instead of differences
Generates better output with less code.

Change-Id: I3a5fa02c5aca97561e20dc4ddf4153596a3a60ae
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-08-11 10:01:41 +00:00
hjk 3413130379 Debugger: Fix typo when reporting large containers
Regression since 9130cdfc05, leading to "<unavailable>"
instead of "<at least %1 items>"

Change-Id: I89166e50f27c568009ff7aeabb5adf622e303789
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-08-11 09:31:54 +00:00
hjk eaec337265 Debugger: Fix display of C-style wchar_t strings
The null delimiter was not reliably found due to iterating over the
wrong positions in the string.

Task-number: QTCREATORBUG-14826
Change-Id: I3a3f2fca84648b54b12fe5fae921ce6311d4f1b2
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
2015-08-10 14:28:44 +00:00
hjk 427c32ccb0 Debugger: Fix Jump To Address in LLDB disassembler on Linux
lldb.thread.RunToAddress does not seem to hit anything on Linux.
Fake it by setting a temporary breakpoint + continue.

Change-Id: I533c8fb42c9a3d1ac1e5cc23eae8162a3455fb9a
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-08-10 14:04:48 +00:00
Robert Loehning 5dab51ce9f Squish: Fix tst_default_settings for Ubuntu 15.04
Task-number: QTCREATORBUG-14697
Change-Id: Ia8e41325e61ce6a380dbe0c60cf78c11afc2e99c
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-08-10 13:15:24 +00:00
Eike Ziller a874dc2305 Preferences: Sort categories from providers into list of categories
Designer options were always coming last because that uses an options
provider instead of option pages directly.

Change-Id: I2c02ce7d2ff122beb5d563a9c9ac263bdc71f62b
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-08-10 11:55:44 +00:00
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