Commit Graph

32182 Commits

Author SHA1 Message Date
Leena Miettinen
1dfa61bf6f Doc: update screenshots of output panes
Change-Id: Ie4eeed456b7eeb28d14e8dc2ad5dba64a2c37e6f
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
2013-10-21 16:58:40 +02:00
Christian Kandeler
e2fa2d71fd QbsProjectManager: Clean up qbs::Preferences object.
Change-Id: I5921b97b42a94aaa9c06d47f8581538c12c4fcab
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-10-21 16:09:22 +02:00
El Mehdi Fekari
6cc396efed Qnx: Fix broken qmake environment
Fix the way we parse PATH and LD_LIBRARY_PATH.

Change-Id: I9928bf3573728580af6f361ce30101d8db142fc2
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-10-21 16:07:13 +02:00
hjk
fafc00da4a Debugger: Fix QVariantMap/QVariantHash dumper with Qt 5
Change-Id: I71358adc8c01dd1261627f35d0f35500e8b34989
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-21 15:02:40 +02:00
hjk
6f6999bee3 Debugger: Fix boost/time dumpers with Python 3
Change-Id: Ia93034641889603c4de57babf0117132eeb0c0cb
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-21 15:02:24 +02:00
hjk
bec053528e Debugger: Add a README on how to handle the dumper auto tests
Change-Id: Ic14ab793369fd5fb5649dac6518152bcbfa5ac29
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-21 14:43:01 +02:00
hjk
3eac8daba9 Debugger: Add a few 'unused' to auto tests
Spoils the optimizer's fun a bit.

Change-Id: I3321d6c1fb75a9ecc6e603422116636c3c6cc4c2
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-21 14:42:48 +02:00
Tobias Hunger
d558d077e2 Vcs: Do not leak parameter widgets
Executing a parameter widget command calls a diff() or log()
of VcsBaseClient. The editor already existed, but
parameter widget is always created (call to setConfigurationWidget()
will be ignored in this case) - and parameter widget gets leaked.

Change-Id: I25591d5a54b80fed25ff11ce26108882c421e9fc
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-10-21 14:42:47 +02:00
Tobias Hunger
5126f01fd6 Qbs: Do not throw away old project data if parsing failed
Change-Id: Icc54abcfcee1f8deea5247d46d8d13b75741feda
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-10-21 14:27:35 +02:00
hjk
8c02d6e0dd Debugger: Fix QChar dumper with Python 3
Change-Id: I7da412c9bdaf3a8f65484ac99f06fc31a5cdc1c3
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-21 14:15:56 +02:00
Leena Miettinen
59fd03abc3 Doc: fixing the table on the front page
The table broke when the Publishing section was removed.

Change-Id: If39dd5842a267500bc5c8ef0d39b397d06a101a2
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
2013-10-21 14:05:54 +02:00
hjk
11bf267604 Debugger: Offer base changes for all integral looking values.
If it talks like a duck, and walks like a duck...

Change-Id: I166a452a9d067285467b346a4ef5d4de646d3a31
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-21 14:05:22 +02:00
Eike Ziller
e11f9e55b5 Add binary compatibility policy to coding style document
Change-Id: Ib70216a555eea0c3bc88d0ab3177839bb11c879d
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-21 13:38:08 +02:00
Tobias Nätterlund
5fb7e6f1f7 QNX: Use slog2info on pure QNX devices for debug output
If available, slog2info should be used even for pure QNX devices
to get hold of the debug output.

Task-number: QTCREATORBUG-10442

Change-Id: If85855e94803a4b8648e84c0295bfdd2271e8d76
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
2013-10-21 12:51:12 +02:00
Eike Ziller
51a257637e LLDB: Set environment for debugged process
Task-number: QTCREATORBUG-10030

Change-Id: Ib487cee704ea30f52c52f6f025823637fa4199eb
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-21 12:25:49 +02:00
Tobias Hunger
e7c51ebd05 Abi: Add unit tests for MSVC2013 detection
Change-Id: I7ab801761d88c4dde45fe1fb9f6731b65ac3d0f0
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-10-21 12:00:40 +02:00
Yuchen Deng
67a7eba6fa Add MSVC2013 support
Change-Id: I956b5796a67792f826ddc72e7681609372a9c029
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-10-21 12:00:29 +02:00
Nikolai Kosjar
18cba4fcf9 CppEditor: Remove duplicate code in cppeditorplugin.cpp
Change-Id: Ifeff4455b1ce0a0a7299f009beaf6319e9abb523
Reviewed-by: David Schulz <david.schulz@digia.com>
2013-10-21 10:33:26 +02:00
Tobias Nätterlund
c35a6d610c QNX: Refactor BlackBerryLogProcessRunner
This change introduce a separate class for running the slog2info
process, in order to be able to use that for pure QNX (non-BlackBerry)
devices.

Also moved from using QSsh::SshRemoteProcessRunner to use
ProcessExplorer::SshDeviceProcess for the tail/slog2info processes
instead.

Change-Id: If917bd2a1099800f1a7333639d674c8d1b16de7b
Reviewed-by: Mehdi Fekari <mfekari@blackberry.com>
Reviewed-by: David Kaspar <dkaspar@blackberry.com>
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
2013-10-21 10:31:15 +02:00
David Kaspar
3d2ef178f6 Qnx: Fixing Bar Descriptor XML file editor to provide editor actions
BarDescriptorEditorWidget is using TextEditorActionHandler class
to provide editor actions e.g. Undo, Redo, Cut, Copy, Paste accessible
from main menu and using shortcuts.

TextEditorActionHandler.resolveTextEditorWidget() virtual function is
added to all resolving TextEditorWidget for an Editor. This allows
to have IEditor->widget() to have non-BaseTextEditorWidget instances too.

Task-number: QTCREATORBUG-10040
Change-Id: I6f433fc307c13ef2b2a20c48e6473826f2619544
Reviewed-by: David Kaspar <dkaspar@blackberry.com>
Reviewed-by: David Schulz <david.schulz@digia.com>
Reviewed-by: Tobias Nätterlund <tobias.naetterlund@kdab.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
2013-10-21 10:26:29 +02:00
Mehdi Fekari
ab4207acf2 Qnx: Use Utils::Environment for qnx environment
Change-Id: I499ca9be0abc15fc0c57847ff288e80612a536fe
Reviewed-by: Tobias Nätterlund <tobias.naetterlund@kdab.com>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-10-21 10:24:48 +02:00
Tobias Nätterlund
295c688469 QNX: Fixed killing processes on QNX and BlackBerry
The commands were mixed up in previous commit, we have to use
pidin on BlackBerry, at least the older ones.

Change-Id: Ibff1f386c6570814a4bccfef5404e60854222f24
Reviewed-by: Mehdi Fekari <mfekari@blackberry.com>
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
2013-10-21 10:02:36 +02:00
David Schulz
34ef3f244e CppEditor: Add action to open a preprocessor dialog
Change-Id: I5ed09f6b8a358652145012e137ab717729999aca
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
2013-10-21 08:27:51 +02:00
hjk
ffe50efa00 Debugger: Remove wrong check in boost::shared_pointer dumper
Task-Number: QTCREATORBUG-10441
Change-Id: I404fe9848444c2b03c086d027c0f3716f0bb3542
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-21 02:12:34 +02:00
hjk
daf8d9bcf5 Debugger: Fix QVariant dumpers of Gui types.
Ouch...

Change-Id: I5cf5b660b451c26f55663bd81ea7fab4404c2884
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-21 01:20:33 +02:00
hjk
49a2d45e59 Debugger: Fix encoding switch between Python 2 and Python 3
Change-Id: I29260139fa82f63c3e278913c5e3aa9f658d15d6
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2013-10-19 15:22:23 +02:00
Tobias Hunger
9816763b01 Debugger: Make ABI matching a bit more fuzzy
The debugger ABI might not be fully defined, so ignore any field
that is undefined in the debugger ABI.

Change-Id: Idf57b76efff12d4ab4c21f18721a02970efbf217
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-10-18 17:53:00 +02:00
Tobias Hunger
78dafd4f1f BaseQtVersion: Remove some useless calles to updateVersionInfo()
qmakeProperty and qtVersion call that implicitly already.

Change-Id: If4596740b9da02ef662b9831019f19c4d679cd39
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2013-10-18 17:52:08 +02:00
Tobias Hunger
66c52af89a Qbs: Do not copy build step and build step list
Those are owned by the DeployConfiguration and we should not copy those
settings since we may belong to a different DeployConfiguration.

Change-Id: Ibb80eb808c8e0f790b35e38bb3dfcf357cf579d2
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-10-18 17:51:57 +02:00
Tobias Hunger
ea6c60cd1b BaseCheckoutWizard: Add button to message box informing about failure
Add a "OK" button to the message box informing about a failure to find
any project file in the freshly checked out directory. That way the
user has a way to close the message box on Mac.

Task-number: QTCREATORBUG-10429
Change-Id: I9e1a4a2f368982dea2b0060f3f35dcb97d8936a3
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2013-10-18 15:17:21 +02:00
Christian Kandeler
33dbdcd430 Device support: Polish DeviceApplicationRunner.
Remove timeout check (part of DeviceProcess now), react to the
DeviceProcess' error() signal, remove unneeded members, improve
messages.
What's left is a light-weight wrapper around DeviceProcess suitable for
run controls. Removal would result in identical boiler-plate code in
several places.

Change-Id: Ib306369df8dbf72dddb8ca305d256870a121dd63
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2013-10-18 14:25:53 +02:00
Nikolai Kosjar
e58906a9ed C++: Limit typedef resolving depth
This reverts commit 5be56c0 except for its tests. While it fixed the
problem described in the bug report, it also introduced regressions.

For now, we use a hard limit.

Change-Id: I19a85be454e3d7969371707e3eb1c3d42a16ecee
Reviewed-by: Przemyslaw Gorszkowski <pgorszkowski@gmail.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
2013-10-18 14:07:00 +02:00
Christian Kandeler
c4c9b90b7f QbsProjectManager: Do not create a build graph when resolving a project.
People do not expect directories to be created as a side effect of
opening a project.

Task-number: QBS-304
Change-Id: I820a1311d534a4a76a4660588c4e9d71cc03f153
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-10-18 13:46:05 +02:00
Tobias Hunger
b2f27649a2 DebuggerKitInformation: Make setup() handle new kits
Those return a invalid QVariant, so handle that explicitly.

Change-Id: I50726552aeb76d21032c119c5ea2db48e6d88e8b
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-10-18 13:26:15 +02:00
Tobias Hunger
df83d1574d DebuggerKitInformation: Invalid ids are ok
Invalid Ids are used to for "No Debugger", so do not try to fix
those values.

Change-Id: I141f969524e1faffa66a22c2a08ef18ec4d7fc23
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-10-18 13:25:49 +02:00
Christian Kandeler
2c2a940ae2 BaseQtVersion: Make sure qmake variables are up to date.
Otherwise, qmake properties can be wrongly read as empty.

Change-Id: If63a306664758c01529b437fca30f5222b75f02f
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2013-10-18 13:22:24 +02:00
Tobias Hunger
844e9e6647 BaseQtVersion: Make qmakeProperty(versionInfo, name, ...) protected
This is a low level method which is not useful for normal usage.

Change-Id: I5fd1c019856a8a84299f5b11c159ea6b0f5131a9
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2013-10-18 13:22:17 +02:00
Friedemann Kleint
163f110096 Fixes in translated messages.
Change-Id: Ie1aa0547281d9a1ab31f00e44c4e09dd96c60543
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2013-10-18 13:14:14 +02:00
Daniel Teske
1df66a18d1 Android: Rework sdkTargets() to cache the output of adb
Also rename/change highestAvailablePlatform to highestAvailableSdk.
This fixes a bug reported on irc, where the lists for sdk and ndk
were different and the highestAvailablePlatform was not available
as in the sdk.

Change-Id: I17fec9e8ce1913e933ddcf8eaa21d6bb6e14c5be
Reviewed-by: BogDan Vatra <bogdan@kde.org>
2013-10-18 13:09:27 +02:00
Daniel Teske
723d4a973f Android: Distinguish between platforms in the ndk and the sdk
The available platforms in the ndk might not be the same as in the sdk.
This patch is renames everything using the ndk platform list to
ndkPlatforms, except the highestAvailablePlatform which wrongly uses
the ndk platform list.

Change-Id: I02d9b68bbc27b0c748281678fe654d5f4244578d
Reviewed-by: BogDan Vatra <bogdan@kde.org>
2013-10-18 13:09:22 +02:00
Daniel Teske
5e10114e76 Android: Remove bestMatch calls in fallback code in buildTargetSDK
besdtMatch finds a ndk version that is at most the targetApi passed into it.
Since we are passing in the fallback and lowest possible api level that qt
supports, the function would return at most the lowest supported version.
That's not very useful and cannot have worked, so simpy return the fallback
version directly.

Change-Id: I5e4757639099af4d207f928b0335d28efd75a02b
Reviewed-by: BogDan Vatra <bogdan@kde.org>
2013-10-18 13:09:18 +02:00
Eike Ziller
c30c290631 Avoid holding on lots of data with C++ Find Usages
The snapshots at the moment of search were held as long as the
corresponding search result panel was kept, to allow mapping of the old
symbol to the corresponding symbol in the new snapshot.
Now we just save the file name and ID of the old symbol.

Change-Id: Iaf3c9ca27ec2b788f142bd0dd6b86e34e66d5c8b
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
2013-10-18 13:05:46 +02:00
Tobias Hunger
155567a0b3 Target: Overwrite displayname we got from our file
... use the current kit name instead (in case it was renamed since
saving the project).

Task-number: QTCREATORBUG-10401
Change-Id: If329d3441eb27a4322cb346849e4b73296d5bf88
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2013-10-18 12:52:25 +02:00
Eike Ziller
c7761d8b2e Help: Only open 'internal' documentation links in Qt Creator
Open external webpages in external browser.

Task-number: QTCREATORBUG-8433
Change-Id: I760f6c5705046a6f8b7ebec3cd7b32253738e0df
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
2013-10-18 12:32:21 +02:00
David Schulz
a4ddbd5b2f CppEditor: Show scrollbar in preprocessor dialog as needed.
Change-Id: I88493d24a13b67b0768664db0504ce62d0a101aa
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
2013-10-18 12:26:13 +02:00
Nikolai Kosjar
3a701d0aa5 CppEditor: Sort project parts in CppPreProcessorDialog
Change-Id: I6184eaede3b89933d4ac54a18004319409e72347
Reviewed-by: David Schulz <david.schulz@digia.com>
2013-10-18 11:07:56 +02:00
hjk
0017ed24d6 Debugger: Keep more secondary dialogs on top of the main window
Change-Id: I1e4283a5727db976d999d4cf4c7e444de8592566
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
2013-10-18 09:17:23 +02:00
Eike Ziller
c9cf3d1464 TextEditors: Fix document changed indicator in case of splits
Since the changed signal was moved from the editor to the document, we
now need to set up all the connections in the setupDocumentSignals.
Otherwise split editors, which get a different document after creation,
do no longer set up the right connections.

Task-number: QTCREATORBUG-10301
Change-Id: Ifc7b426abf87ab73ea37379c1a55e5af2005fc43
Reviewed-by: David Schulz <david.schulz@digia.com>
2013-10-18 09:00:27 +02:00
hluk
be1736f95f FakeVim: Don't override "gm" with "m" command
Change-Id: I4e9d8c6780ce4241e6bcbcca6fd7f5b792fa03f1
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-17 18:18:21 +02:00
hjk
0e66cf578e Bookmarks: Disable context menu for disassembler view
This is a hack for now.

Task-number: QTCREATORBUG-10410
Change-Id: I1f6cdc31614231b81588b100a5a03a4308013774
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-10-17 17:52:37 +02:00