If the name for the test row consists of more than a single string
literal we only used the first part. In turn this test data could
not get executed explicitly.
Change-Id: I442c9058e036323cf1a21c21f200fcbfcf916fd8
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This reverts commit f1ccad12dc and adds the necessary code to make both
the local and the remote case work.
Task-number: QTCREATORBUG-16153
Change-Id: I233ec9d7b31ca6e076515dd03ae7400758ee0c34
Reviewed-by: hjk <hjk@theqtcompany.com>
Remember whether clang_parseTranslationUnit() or
clang_reparseTranslationUnit() failed the last time and do not trigger
parse/reparse again.
Also, check whether the main file exists before reparsing.
Task-number: QTCREATORBUG-16051
Task-number: QTCREATORBUG-16140
Change-Id: Ied39e66a18032854911229898573941fe2ada35b
Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
QRegExp is extremely ineffecient when capturing everything at the start,
but not matching the end of the expression (e.g. 200+ms when parsing for
signature change message in the relatively long xcodebuild compile
output line).
QRegularExpression is much faster with the same expression (40ms with
the same example), but just checking for "endsWith" and getting the
first part of the line manually is the fastest.
Change-Id: Id5f0378e38f0edeba24036c6e9519c8107e4a361
Task-number: QTCREATORBUG-15613
Reviewed-by: Vikas Pachdha <vikas.pachdha@theqtcompany.com>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This was accidentally broken in fdc552bda6 so that only changes to the
top-level project file would trigger re-parsing.
Change-Id: Iab2d6b0d3187f5875fec916fe4dccbef08b54669
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Use case to reproduce:
1. Open some bigger project, e.g. qtcreator.pro
2. As soon as "Parsing C/C++ files" is reported, add a character to
qmake's additional arguments in project mode (indexing should not be
finished at this point).
3. The indexing gets canceled.
==> ...but reindexing is not triggered.
Fix by checking whether the future was canceled.
Task-number: QTCREATORBUG-16134
Change-Id: I520c6a64a6adc1cb04cafb5e0aa56c8bf41d7b14
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Do not forget to build the current executable target when there is a change
of available build targets.
Task-number: QTCREATORBUG-16131
Change-Id: I7fb0dfcd06cdbe3d23dbd194ed27fd3825068c62
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
MaintenanceTool returns with exit status != 0 in case there are no updates,
so that is no indicator of failure.
Change-Id: Ibe94cc8b5ecbd7a04be5da41112a4eda0cd84153
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Checking for updates failed when MaintenanceTool printed out log
messages. MaintenanceTool is expected to print out only xml data. So,
parsing the output failed.
MaintenanceTool printed out warnings about SSL and Qt account.
Logging is now disabled when running MaintenanceTool.
Change-Id: Ib163dae81368c8fec7218e5961590e07c208a73e
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Arguments of typeid should not have side effects.
Change-Id: I197ee77e0757fcb961e62fa7bdff36e7d58da12a
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This leads to the "-x c++" arguments to libclang for these file types
and thus avoids crashes of libclang 3.6.
Task-number: QTCREATORBUG-16140
Change-Id: I6141615a1b0b7ad92d7151ad58c304eaf99fb4f3
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Technically this is still the same version: CMake decided to go from
2.8.x to 3.0.
Change-Id: Ia8b18dd40a87ebc7ba3169d738069d29e36ec25f
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
These actions are supposed to behave exactly like the ones in the menu,
so use these.
Change-Id: I21b4a170839ec009d6462d033329cd6fda6b516a
Reviewed-by: hjk <hjk@theqtcompany.com>
If had been triggered on the Breakpoints view everything was fine,
but triggering on the editor this did not update the Breakpoints view.
Change-Id: I7f8e672bdf0f7f00cdb11183dc5e8e0eea817884
Reviewed-by: hjk <hjk@theqtcompany.com>
In remote setups this is typically a local copy of the executable.
Change-Id: I2c4e38559245e7b2cb4a609b93d80fde2b999cec
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This reverts part of a1dd1e4c5b. We need
the dummy run configuration in order to be able to analyze C++ library
projects.
Change-Id: I927ba1a8944a1d9b437fb46e913ea235edcd3156
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Reviewed-by: hjk <hjk@theqtcompany.com>
The lower resolution(s) are needed in setups where attached Displays
have different scale factors and Qt Creator is dragged to the lower
resolution screens.
Task-number: QTCREATORBUG-16128
Change-Id: I20a2e67e4ac5929f3cffc9d7b25e340257be0cee
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Trying to serialize a void start using QVariant does assert.
Solution: Ignore properties of type void star.
This was triggered by TreeView.
Change-Id: Idca5646a472fdfce8761861f5bf889bb73300fff
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
- The path settings have been moved to a new tab
- Describe using Source Server for fetching source files
- Add screenshot.
Change-Id: I3884fbb3e0175b64956bc9cb71213d92709e130d
Task-number: QTCREATORBUG-15709
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
Reviewed-by: hjk <hjk@theqtcompany.com>
This essentially uses inferior.executable as the actually executed
binary (formerly remoteExecutable) and a new symbolFile as
source of debug info (formerly inferior.executable).
Change-Id: Ib129fa1dd4af2446129ab42eb5ba42154e92ab20
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>