Commit Graph

40645 Commits

Author SHA1 Message Date
Orgad Shaneh
6c2bcb588b QmlJS: Mark some overridden functions
Change-Id: I5c85dda01a442e4b227c846d6fa5057e1fe82939
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2015-05-18 17:26:04 +00:00
Eike Ziller
182ae275cd More change log
Change-Id: Id98acf623a7d5aa55c98f4c3db6e0a5447f59b7d
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-05-18 13:49:22 +00:00
Ulf Hermann
f335088ce1 Doc: More troubleshooting hints for perf profiler
Apparently the chosen event type influences the stability of the
recording process and you can change the event type using the
additional arguments.

Change-Id: I0e1982d4d469e1e4d17e2aa01d3c5166ce8817a3
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
2015-05-18 13:01:57 +00:00
Jake Petroules
69d5fc1257 Run macdeployqt for the remaining auxiliary executables.
This fixes broken library paths for buildoutputparser and qbs
executables on OS X, making them unusable out of the box.

Task-number: QTCREATORBUG-14432
Change-Id: I81c64f962b0a1eee2800da04b5202f5fd9efb706
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-05-18 12:40:37 +00:00
Eike Ziller
c427650d62 Search results: Fix that auto-expand failed on first set of results
They were expanded but collapsed again when the model was reset in the
setShowReplaceUI(bool show) call. Avoid resetting the model by informing
about the data change individually.

Change-Id: I48a94f2aec5b5d31d11166a299a2463b757939fa
Task-number: QTCREATORBUG-14320
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2015-05-18 12:04:21 +00:00
Eike Ziller
76a4ed6b5f More change log
Change-Id: Iedc533079f0eaa7f0dd2cc241b012c3e07d935b0
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-05-18 11:46:26 +00:00
Eike Ziller
19dca2adc4 Help: Fix QDesktopServices url handler for qthelp urls
Change-Id: If55a35fcd0960bd7ac215493ccc7e4118a8c3187
Task-number: QTCREATORBUG-14459
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
2015-05-18 11:38:20 +00:00
hjk
9edbd01922 Debugger: Fix crash in breakpoint view
... when double-clicking on an entry for which debug information
but no corresponding sources were found.

Change-Id: I48f57794e072752d444d7c3ccd8bfe517c9db1dd
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
2015-05-18 10:08:35 +00:00
Joerg Bornemann
b448651877 TimeLine: remove strange selection lock magic
Let the user decide whether to select items on mouse over by pressing
the respective toggle button. The current magic is hard to grasp and
mostly just annoying.

Change-Id: Ied6bb36bd675bdc7ad237f841ecd345ad6c97e7a
Task-number: QTCREATORBUG-14415
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
2015-05-18 08:21:40 +00:00
Ulf Hermann
94b42da80a Timeline: Make 0-width events visible again.
Events with duration == 0 were erroneously filtered out by the items
render pass. Also, we have to give them a very small width in order for
the "stretching" mechanism in the vertex shader to work.

Change-Id: Icb76168f0831547a3ca55ab79df7161736ed4dc4
Task-number: QTCREATORBUG-14446
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2015-05-18 08:20:43 +00:00
BogDan Vatra
59da3a2bba Override text/x-csrc mimetype with QtCreator's own version
It is necessarye because fredesktop's version searches for /* and // magic
which is found in other files (e.g. .qml, .js, etc.)

Change-Id: I9cd3341167e5a0aa57d6046f4492bab241055c4b
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-05-15 13:30:26 +00:00
Eike Ziller
e2705d4ecb Version bump
Change-Id: Icba0aa76b9db40c46c026177637c5ea92593c4c0
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-05-15 07:30:03 +00:00
Nikolai Kosjar
1960503ae9 CppTools: Allow to limit the files to process by file size
...with the environment variable QTC_CPP_FILE_SIZE_LIMIT_MB.

Task-number: QTCREATORBUG-14390
Change-Id: Iaefaa1a3db023b58f9351b96e1b9e2139797e280
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
2015-05-13 08:26:52 +00:00
Nikolai Kosjar
f52170737e CppEditor: Lower reservation of parentheses per line
Change-Id: Ibefa62dd30cc35d4eb1997484e28d91f1ab0288f
Task-number: QTCREATORBUG-14390
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
2015-05-13 08:26:16 +00:00
Nikolai Kosjar
e69d20e10b C++: Limit parsing of initializer clauses
...to prevent out of memory crash for generated tables.

Change-Id: I8f9f51829fcce5bccfe0dba8852023f8dd7d6e37
Task-number: QTCREATORBUG-14390
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
2015-05-13 08:26:07 +00:00
Nikolai Kosjar
71a0d2ddf4 Clang: Fix providing clang directory with intrinsics for *.qbs
This was forgotten in e488f10c7f.

Change-Id: I2fec272c9f1e44b3a691b782dcf6bee2a1768371
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-05-13 08:20:51 +00:00
Eike Ziller
71922bfcd8 Add changes file for 3.4.1
Change-Id: Ic43e8d255ee36aa579c8a76da22e156346713dfa
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
2015-05-13 08:18:49 +00:00
Eike Ziller
9724cf6891 Help: Work around issue with Visual Studio < 2013
Visual Studio before 2013 had bugs in bool conversion of std::function,
leading to "true" in some cases where it shouldn't.

Task-number: QTCREATORBUG-14399
Change-Id: I8a1ad2f952247049355e11337ddf99f380ebde98
Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2015-05-12 05:08:18 +00:00
Christian Kandeler
19200258ae Update qbs submodule.
To HEAD of 1.4 branch.

Change-Id: Iaf125c6222efea1957dc5a68cbc100100e33095e
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2015-05-11 13:38:17 +00:00
Robert Loehning
82f536c24e Squish: Weaken test for git summary in first commit
Linux test machines count 1673 files instead of 1675.
If this is a bug at all, I don't expect it to be in Creator.

Change-Id: I8202aae88ceda6b8bf472d8b9a7506862ad2473c
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-05-11 08:29:22 +00:00
Eike Ziller
13a947d119 Debugger: Fix attaching to running debug server
For example when developing on Windows, cross compiling to Linux, the
result is not executable from the Windows perspective.
Reverts f2cfd3c01a which changed the code
to use ExistingCommand to get the automatic expansion of app bundles on
OS X, and do automatic expansion of app bundles also when using path
chooser of type File. Choosing an app bundle in a path chooser of type
File would previously lead to an invalid entry in the path chooser
anyhow, because the app bundle itself is not a file.

Change-Id: Ie710c47918d2b8735009e290301ed2683e354f2c
Task-number: QTCREATORBUG-14412
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: hjk <hjk@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-05-07 12:34:31 +00:00
Daniel Teske
d2bb73ffb2 ProjectExplorer: Fix to eager clearing of output window
The window was cleared even if the option to clear it wasn't
selected. Moving the cursor to the end, has the side effect of
clearing the selection, so do that always.

Change-Id: I6b61981f46394c61e61066aa8033c7e3391e6c07
Task-number: QTCREATORBUG-14410
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-05-07 12:29:50 +00:00
Christian Kandeler
d1ab9cdcbe QbsProjectManager: Fix deriving qbs profile names from kit attributes.
Turns out that using Id::uniqueIdentifier() is not deterministic across
invocations of Creator...

Change-Id: I8b78a5b36c2cd61e4b9c5d8cc8eb2c6083282c01
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-05-07 12:19:00 +00:00
Daniel Teske
e7d6ea6ad3 Fix Add Library for static libraries
Broke in 7481bff2b4 which split up
LibraryTemplate in SharedLibraryTemplate and StaticLibrary.

Change-Id: I797c007fff09ffd09b7744cf3543217b936dea12
Task-number: QTCREATORBUG-14382
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: BogDan Vatra <bogdan@kde.org>
2015-05-06 10:07:50 +00:00
David Schulz
f97069ebb2 CdbExt: Setting actively which nodes should be expanded.
Change-Id: I1470a67aa559e4d93a01cc70701fb160e873317d
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2015-05-06 07:16:33 +00:00
hjk
e855de4037 Debugger: Fix GDB hanging
This partially reverts commit e33da6a6b3.
GDB seems to hang while executing str(some_pointer) in some setups.

Task-number: QTCREATORBUG-14374
Change-Id: Ia678533b9122e505b21ef6659d404239995ddb81
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-05-06 06:19:00 +00:00
Christian Kandeler
74066f25b4 Device support: Only restore SSH options if we really saved them.
As the default-constructed value is not zero. This was not considered in
7aa8ae54ae.

Change-Id: I1f32b1c317e0de34b48dbe003c3968f66133a64d
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-05-05 16:10:15 +00:00
Christian Kandeler
c7b11e5990 Update qbs submodule.
To HEAD of 1.4 branch.

Change-Id: I675cd578608380dbc20f67bdab0dbb414d605e08
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2015-05-05 09:03:59 +00:00
Leena Miettinen
133f994589 Doc: update the Qt Quick application tutorial
To version 3.4, but still using the Qt Quick 2.1
component.

Task-number: QTCREATORBUG-14341
Change-Id: Ifd9638ea5b111554f2ea7838623104aab27963a3
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2015-05-04 15:11:22 +00:00
Tobias Hunger
b2e3f0262b Sdktool: Add switch to set environment for kits.
Use --env TEST=somevalue or --env TEST (to unset TEST) once per
environment variable you want to set/unset.

Task-number: QTCREATORBUG-14342
Change-Id: Ia968aeb55a9702d12bc0beb9a38bdd8309a18559
Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-05-04 13:50:34 +00:00
Tobias Hunger
5aba7fb095 Sdktool: Fix default kit handling
The default kit is addressed by its id, not its number for a long
time now. Update sdktool accordingly.

Change-Id: Iad0d0c6eda2aa824fa8add99871db7efebb30e75
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-05-04 13:49:19 +00:00
M. Moellney
3bbc83addc Add missing qmake functions to profile completer
A lot of qmake expand and test functions were missing from
the ProFileCompletionAssistProvider.

This patch brings the database on par with the listing in
the qmake build in functions from current qmakebuiltins.cpp.

Change-Id: I635776f6b449d62fd6a505969451e8630fb26ee8
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
2015-05-04 10:24:02 +00:00
Daniel Teske
9a811e96d1 Fix "Add new being disabled"
A connection was missing, so the actions weren't updated on
closing the new dialog.

Change-Id: I3ee8c4ed3d7fc4a81dcdd067897f42ac70118b77
Task-number: QTCREATORBUG-14377
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-05-04 08:28:16 +00:00
Orgad Shaneh
aeb0b54c26 Dist/GDB: Upgrade to 7.9
Change-Id: I2ec8c663830e547bdf852dc3dde2dd12ccef0763
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-04-30 09:49:23 +00:00
Robert Loehning
6d2fb84a8e Qbs: Compile fix
Change-Id: I583407e1952a1645f557154592aa022f3baa0a79
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
2015-04-29 15:17:37 +00:00
Robert Loehning
6febfc802e Squish: Test showing Creator's first commit
Change-Id: Ibbd7a2ed6ac7c54a304fec057a61357fed3b4274
Task-number: QTCREATORBUG-14322
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-04-29 12:31:26 +00:00
Jake Petroules
769d7450bb Qbs: fix equivalent command line for "show command lines" option.
Change-Id: I91de51de3ce2fb0acc20b87992324e9ec8a26bc2
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
2015-04-29 09:29:22 +00:00
Jake Petroules
5c75924d81 Qbs: display native separators for qbs.exe file path.
Change-Id: I979118e3552e75cd3a64c3b600a448e36214b646
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-04-29 07:33:04 +00:00
David Schulz
e75620c60d Editor: Limit size of generic proposal widget.
Task-number: QTCREATORBUG-14331
Change-Id: I3a120c82628e3cd43f9abc3c97021a3674300fbc
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-04-28 08:44:55 +00:00
David Schulz
e4e9983622 CDB: Unify handling of stopped debugger process.
Task-number: QTCREATORBUG-14344
Change-Id: Id05b16e649d39e354e6fda9ede9aa44984f3f429
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-04-28 07:00:52 +00:00
Orgad Shaneh
e2fd350f02 BareMetal: Support seamless 3.3 -> 3.4 upgrade
Change-Id: I49caf77ee5e9f08fdede9d6881a4da717c5da057
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-04-27 08:26:56 +00:00
David Schulz
f5ba484fbe Debugger: Fix Step into for unreachable frame source.
Hitting a frame without source code information when stepping inside
functions results in a step out. Same is now applied to frames with
unreachable source code.

Task-number: QTCREATORBUG-9677
Change-Id: If7f7b417d98e8ab058fc98cef3041cb616579619
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-04-27 08:04:30 +00:00
hjk
eea8e932f3 Debugger: Fix jump to file/line breakpoint from disassembler
Triggered by double-clicking a normal source file+line breakpoint
while looking at some disassembly: We want to jump to the original
source file in that case.

Change-Id: Ia6eddcaf27e4160c7a989ab757315f5314f65d1e
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-04-27 07:30:12 +00:00
Eike Ziller
f60780881b MimeDatabase: Avoid parsing the mime xml files multiple times
At the moment we need to throw the parsed information away and reparse
everything if we add another mime xml file (*), so make sure that we do
not use mime information (which triggers a first parse) before we added
all mime xml files.

(*) we do that because the data for a mime type is distributed through a
whole range of classes which do not easily allow to remove an already
registered mime type, but we must be able to overwrite mime types from
freedesktop.org.xml.

Change-Id: I5e532875cc750af1da3e0139397279d7be203c27
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2015-04-27 07:03:48 +00:00
Christian Kandeler
f765676171 Update qbs submodule.
To HEAD of 1.4 branch.

Change-Id: Id69fc79579068f3a940d467a2d800d5f091cf6df
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2015-04-24 14:54:19 +00:00
Viktor Ostashevskyi
3a25e53267 Ukrainian translation update for 3.4
Change-Id: I3c8b0af8f204cf7c31f1452cf43bea82788e7cb2
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Viktor Ostashevskyi <ostash@ostash.kiev.ua>
2015-04-24 11:23:43 +00:00
Eike Ziller
3b545319b7 About Plugins: Fix that disabling plugin could disable too many others
Only disable plugin rows with disabled *Required* plugin dependencies.

Change 044eeacde5 introduces another
dependency type "Test", which are actually not dependencies in a strict
sense and even can be cyclic, which makes this bug especially obvious.

Change-Id: Ie504b4dd52670d838b712e88ae2e42123975b1d5
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: hjk <hjk@theqtcompany.com>
2015-04-24 10:28:01 +00:00
Eike Ziller
681c5177f9 Fix that CSS files where opened in C++ editor
For some reason freedesktop.org claims that CSS files
are text/x-csrc, so we explicitly make plain text editor
the handler for text/css.

Change-Id: I9685706523fff450ab10d1d0eb1850090e55c51a
Task-number: QTCREATORBUG-14334
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2015-04-24 10:26:05 +00:00
Claus Steuer
81f64f85a0 CMakeProject: Fix CXX Flags parsing for ninja projects
For ninja projects the "build.ninja" file is parsed to extract the cxx
flags for each target. This file is located in the working directory
of the "all" target, however since commit "65c113bc" qtcreator searches
in the build directory of the current target. I have restored the
search behavior to the previous state and added some code to ensure
that the parsed flags really belong to the target

Change-Id: I7cc7f6dbd4f12aec698133206da889037131bb13
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
2015-04-24 09:36:52 +00:00
Nikolai Kosjar
d4bb5033b2 CppTools: Remove separate indexing revision
For indexing we used a custom revision that was updated on each
modelManager BuiltinIndexingSupport::refreshSourceFiles() call. This
could lead to rejection of updated documents triggered by refactoring
actions, like for the following case:

 1. Open a project containing a.h and a.cpp
 2. Open a.cpp, insert some new lines, save and close the document
 3. Open a.h and rename a function that is defined in a.cpp
    --> The refactoring action modifies a.h and a.cpp, so re-indexing
        of those is triggered. Since a.cpp has already a higher revision
        (step 2) than the updated document, the updated document is
        discarded. As a consequence find usages and follow symbol fails
        for the renamed function.

Now the document call back provided to CppSourceProcessor is responsible
for updating the document revision based on the latest revision in the
global snapshot.

Change-Id: I4dfa0a4d34991655acfa749109f00c47b0fbfdbe
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-04-24 08:35:13 +00:00