Commit Graph

25792 Commits

Author SHA1 Message Date
hjk
3a8658496a analyzer: improve wording for "wrong mode" message
Task-number: QTCREATORBUG-7747
Change-Id: I4a79e7d7047d6320f54824a019f98539d88a3c25
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
2012-08-22 15:45:07 +02:00
Friedemann Kleint
25776a3a69 LocalProcessList: Disable the Qt Creator process (Regression).
Prevent the user from shooting themselves in the foot.

Change-Id: I67344b02fea5c19aa7f3db5b1c2c611c58e8bbf8
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-22 15:03:57 +02:00
hjk
f5ce3a7f25 historycompleter: make key configurable
Make the dependency on it's "watchee's" object name configurable.

Change-Id: I461865e93f7971b3ddef83d7887cc1d551116d5e
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-22 14:16:32 +02:00
Leena Miettinen
d76bc64f96 Doc: fix the link to match the topic title
Change-Id: I9e08a308409e0a604a98ef069d8604e523be6f11
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
2012-08-22 13:59:46 +02:00
Leena Miettinen
01e9be006b Doc: update image of remove target icon
Change-Id: I0b6c1f5a150579d0e33dd9e2e0db5db919345fdc
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
2012-08-22 13:59:11 +02:00
Alessandro Portale
ae23d50576 Removal of Symbian support
Qt Creator's support for Symbian was at its peak in version
2.4.x. Nobody really verified it in Qt Creator 2.5 or 2.6.
It is most likely rotten. Let's remove it!

Also, the Symbian support code was spread throughout the whole
Qt Creator code base. The plugin interfaces evolved in the
meantime and target platforms like Android or QNX have 99% of
their code in separate plugins.

In case anyone wants to revive Symbian support in Qt Creator,
please create a plugin for it.

Change-Id: I56a758a3e2fd5b8c64d9aeb8f63d8e916c4883be
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
2012-08-22 13:42:42 +02:00
hjk
c107b10bae valgrind: improve resizing behaviour of costview columns
Change-Id: I372f840a78d220f66c91de229b8b7eef99bc92c6
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-22 13:00:54 +02:00
hjk
73d5f55de5 cmake: add history to arguments line edit
Change-Id: I0061124880ba21a408ac1f3221fdbc38d961a66d
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2012-08-22 12:34:11 +02:00
Tobias Nätterlund
74f24ca0fb Doc: Added separation between PlayBook and QNX Neutrino devices
Change-Id: I52d15555b65b71d10cc08974b7860957976080e1
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
2012-08-22 12:30:42 +02:00
Friedemann Kleint
2f51579fe4 Debugger: Fix string usages.
- Compile with QT_NO_CAST_FROM_ASCII.
- Remove single character string constants.

Change-Id: Icece98619b6c30e047d3fce00e6ae74bbcd53c67
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-22 12:24:24 +02:00
Alessandro Portale
0418e6dc64 Making the QmlApplicationViewer Qt5 compatible
This patch makes a "QmlApplicationViewer" based application from
the Qt Quick app wizard buildable and runnable with Qt5. Note,
that this is still QtQuick 1.1. We are still missing a QtQuick 2.0
based pendant of QmlApplicationViewer.

In addition (separate patch), we may want to tweak the wizard
flags in a way that the wizard allows to create a "Qt Quick 1"
application for a Qt5 target. (Or perhaps we explicitly do not
want that, because we want the developer to use QtQuick 2 with
Qt5?)

Change-Id: Ie3fc8a77a1ff4fba3244f2047d2685c570014356
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
2012-08-22 12:17:37 +02:00
Christian Kandeler
6cc7d1ffaa Provide build system independent deployment data.
Attach an object containing deployment information
to the target. The respective build system plugins are
responsible for setting up this information. The
Qt4ProjectManager already does that; others should
follow (which is expected to result in gradual
refinements of the design).
The immediate motivation here is to free the
RemoteLinux plugin from the requirement that
qmake must be used for building the projects,
which makes it much less generic than it could
and should be.

Change-Id: I9943787f4e352d014e721082016542b10c8cce90
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2012-08-22 12:15:31 +02:00
Friedemann Kleint
6887d28e09 Botan: Do not link against QtCore, QtGui.
Clear the QT variable and pass the include paths for QtCore
such that QtGlobal is still found.
This makes it possible to build Qt Creator in debug mode on
Windows since the .pro-file additionally specifies 'release',
which causes link errors (QtCore4.lib, QtGui4.lib not found
in debug builds).

Change-Id: I75bcd00cd6f7b598972dca5e3d969949d325e3f6
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2012-08-22 11:36:14 +02:00
hjk
4893dd39cd android: compile fix
Missing intermediate rootQt4ProjectNode()

Change-Id: I27ddf9850a700cdd77e0f1805f1721b93a6e1ee4
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-22 09:40:54 +02:00
Mathias Hasselmann
c3fad8abcb autotools: Properly filter .moc files
Change-Id: I2fc230868218313b9a3c5a005e0f72dac1d9f4d0
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-22 09:33:36 +02:00
Leena Miettinen
0d0121b033 Doc: switch links to point to qt-project.org
Change-Id: I136a28697c0b7aba03227387c5ce2e106c52708a
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
2012-08-22 08:56:20 +02:00
Leena Miettinen
fd7eeb75bf Doc: update automatically generated links to point to qt-project.org
Change-Id: I4a318e8f26253983431cc7789e6c0b5adf92f226
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
2012-08-22 08:55:51 +02:00
Friedemann Kleint
04ad4ba333 Debugger: Format addresses in tooltips.
Pad to 4 digit groups and insert colons for readability.

Change-Id: Icdda754e1d5ac26fd5bb90b5434b0cfa1f7a2f4e
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-22 08:48:12 +02:00
hjk
0e8ac9b663 android: simplify code, pull out common subexpressions
Change-Id: If3540328c0f2f0af375ccaba2e10c5417e8f1ed9
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-22 08:46:38 +02:00
hjk
90dae02528 android: remove unneeded enums, declarations and associated code
Change-Id: I8ec2b90ccfe1498f4188b50624f77436c1c1a492
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-22 08:45:27 +02:00
hjk
ab6330abe7 debugger: remove outdated inactive code
Change-Id: I167a04c3500d0cb4bea1b5390c8920b93fc72ad0
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-22 08:44:53 +02:00
hjk
0322817048 fakevim: de-noise
Change-Id: I6b47304f43138d6944a55b2a2047c4832ced16d9
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-22 08:44:27 +02:00
Lukas Holecek
3306cecd79 fakevim: Fix selectText() with invalid range
If invalid range is passed to selectText() it should return empty
string.

Change-Id: I42ec26fb3dad3f1b521370b1a9596f3d52b92a64
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-22 08:32:02 +02:00
Christian Stenger
2b0fb76f79 Squish: Fix for changed QmlApplicationViewer code
Change-Id: Ia8f1b69bdeff029ff5cb1513bab90c41c33b210e
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
2012-08-21 17:31:58 +02:00
Christian Stenger
f33d0179a7 Squish: Fix for UI change
Implementation of TargetSelector has changed - this patch adjusts the
click positions for build and run settings.

Change-Id: Id65a00d8dba66d6be158ca86969795ce1196e569
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
2012-08-21 17:24:01 +02:00
Kai Koehne
60277db164 Fix compilation with Qt 5 / nmake / shadow builds
qmake/qt4 included the source directory automatically for most plugins,
which got dropped in qt 5 (change 0f548b1744e2). Make sure it's
included again ...

Change-Id: Ief06cf9b3c7afd8432df7511df5f917023d477ef
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-08-21 16:56:20 +02:00
Robert Loehning
4e60a15256 Fixed capitalization in string
Change-Id: Idf343979726515b16bc822617ac3a9afae911680
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2012-08-21 16:44:19 +02:00
hjk
dd6604eef2 debugger: use *running instead of ^running as running notification.
This is closer to internal gdb state. There are still a few workarounds
for gdb < 7.0 which probably should be dropped as BFD 2.18.50.20080226
yields "assertion fail elf32-i386.c:366" on stock Ubuntu 12.04 gcc,
so stock gdb 6.8 cannot be used with that compiler anyways.

Change-Id: I22c4e0ce91f634cc171d65f0ad07d68d679af10c
Reviewed-by: David Schulz <david.schulz@nokia.com>
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-21 16:28:44 +02:00
Friedemann Kleint
5bbaef6b10 Debugger: Fix stack layout display.
Do not start at model root, since an additional layer
has been introduced. The check for root level in the recursion
is then no longer required.

Change-Id: I22c83b3eb4c07dacc3b5af45edeb340a02c01e3e
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-21 16:27:59 +02:00
hjk
7e884db7fb debugger: fix reporting of type size from python dumpers
Change-Id: I46ed81d3c0bf06e8c7b6a80266ea1b833120e90e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-08-21 16:11:18 +02:00
hjk
f671a58c79 debugger: add support for temporary breakpoints
Change-Id: I841c37d21932da0ef354dbbe2fd75cec2fae86d6
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-21 15:37:43 +02:00
hjk
c2b78b8fdf gcctoolchain: de-noise
using namespace Utils, drop unneeded namespace ProjectExplorer

Change-Id: I0e6149a006363497d4fc4c94f32e3670b84a8551
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-21 15:32:01 +02:00
Orgad Shaneh
7ffc4349f8 VCS: Allow use of base name for executable
Actual path is found on startup and when setting is changed

Change-Id: If2cb0735953b9fb64df7425230c98efb384d9287
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-08-21 15:31:51 +02:00
Orgad Shaneh
120b932db8 ClearCase: Unlock mutex after locking it
Change-Id: I63fe4afd8b40284ac6f93b746928e5320c8d3244
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-08-21 15:27:25 +02:00
Orgad Shaneh
69268b2aab ClearCase: Allow use of base name for executable
Change-Id: I329aaafd4dee10321c7342925262aadf539d0270
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-08-21 15:26:42 +02:00
Orgad Shaneh
f777930a30 ClearCase: Avoid running cleartool if it is not available
Also change isConfigured to use a plain QFileInfo like other VCS

Change-Id: I253d9a7d356a042dbc6c15236d77799b794f29d4
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-08-21 15:25:36 +02:00
Christian Kandeler
2e98952068 ProjectExplorer: Properly test device support.
Use Creator's test infrastructure instead of dumping the code
into tests/ where it will be forgotten.

Change-Id: I0db767ff68754e04d727671f4ecdd61fa9f75c1b
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-08-21 15:24:16 +02:00
Tobias Hunger
a973511351 Have tooltips on the profileconfigwidgets
Task-number: QTCREATORBUG-7571

Change-Id: I881c90ebffd33811893db39937a49a3614384d31
Reviewed-by: hjk <qthjk@ovi.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
2012-08-21 15:18:31 +02:00
Friedemann Kleint
a31e8b446e CDB: Pass referenced address in separate GDBMI field.
Use 'origaddr' as gdb does. Do not append address to watch value
if it is already contained in the value.
Fixes the currently grayed-out 'Open memory editor at referenced
address'.

Change-Id: I6f7cf5b7984f93606ad4bb0872348f51c73f9117
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-21 13:55:54 +02:00
Friedemann Kleint
128a3fb0b6 Fix Android icon.
Load / save the image using Gimp, removing the
embedded sRGB profile.
Fix libpng warning: "Duplicate iCCP chunk when loading"
which shows on opening the preferences dialog.

Change-Id: I5d77eb4bb723f579dad14b3fd1985cedd2bb97a4
Reviewed-by: BogDan Vatra <bog_dan_ro@yahoo.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-08-21 12:38:39 +02:00
Tobias Hunger
19bfcc83af Fix crash on exit
Fix crash happening when closing creator after the toolchain settings
were shown.

Change-Id: I4ed3b4cb0c3a2c303ba0d346d90fd275022457da
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2012-08-21 12:34:37 +02:00
hjk
7ec492f6ed debugger: allow state transitions stopped->stopped unconditionally
This is triggered by the cross-qml-c++ stepping machinery (and was
already allowed there) and get also triggered by a 'continue' in
commands attached to a breakpoint as there there is no intermediate
^running to which the state engine reacts. So this is a band aid.
Better solution would be to have the state following the *running,
and per-thread run/stop state.

Change-Id: If0f1c00e8010aa099ec5da214db95e93aa37279e
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-21 12:08:46 +02:00
hjk
12dd0587fc debugger: fix use of multi-line breakpoint commands.
A (slightly customized) textedit is more appropriate than
a line edit.

Change-Id: I53bd8a6a623c670579b0633359e5722ee8ceba3e
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-21 12:03:47 +02:00
Kai Koehne
5064933944 Avoid adding the same DEFINE multiple times to the command line
E.g. on MSVC, QT_CREATOR was passed 14 times ...

Change-Id: Ife39267b0d6f2def1706b823abfd0226325437ae
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2012-08-21 11:57:22 +02:00
Friedemann Kleint
20fe4725fb Compile with Qt 5.
Change-Id: If0e3eab81aa8c458fe47e2b5d16d1469286840b9
Reviewed-by: hjk <qthjk@ovi.com>
2012-08-21 11:42:24 +02:00
Kai Koehne
655962a2c3 ResourceEditor: Fix compiler warning about unused variable
iconProvider() is a static method.

Change-Id: I4c17a3890207ac4906a236894a6a032413b1e060
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-08-21 11:11:57 +02:00
Kai Koehne
7b5745c5cc Core: Fix compiler warning about unused variables
settings(), globalSettings() are nowadays static methods.

Change-Id: I7083d639ac2bb28c0319c8cb1f8459adc8e254b8
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2012-08-21 10:51:14 +02:00
Francois Ferrand
9c7b96c663 Fix display of templates in outline.
Change-Id: I8b099c8234fac55ef0de17b014c89fbe02534bf4
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
2012-08-21 08:58:52 +02:00
Tobias Hunger
a68352f013 Change configuration saving
* Save initial configuration after all the plugins are done with
  their delayed initialization

* Save configuration when the autosave timer triggers. The disks
  are in use at that time anyway and saving can be turned off
  completely

* Save settings when closing the options page dialog

Change-Id: Idcf9ad61e8f9b94899c580d5a855a883a62f8dc0
Reviewed-by: Majid Khan <mkhan3189@gmail.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2012-08-20 17:19:25 +02:00
Friedemann Kleint
e1ae73cf06 QNX/Android: Add missing plugin metadata specifications for Qt 5.
Reshuffle the pluginspec file such that the XSL transformation
generates a valid file.

Change-Id: I006eecf1efbb45a10c6dc414cb1d1b278b2cce5a
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-08-20 16:38:51 +02:00