OSDN Git Service

qt-creator-jp/qt-creator-jp.git
13 years agoQmlDump: Do not use an assert on something that can regularly fail.
Christian Kamm [Thu, 14 Oct 2010 12:58:57 +0000 (14:58 +0200)]
QmlDump: Do not use an assert on something that can regularly fail.

Reviewed-by: Kai Koehne
13 years agoQmlJS: Fix plugin dumpers running all the time if dump fails.
Christian Kamm [Thu, 14 Oct 2010 12:44:50 +0000 (14:44 +0200)]
QmlJS: Fix plugin dumpers running all the time if dump fails.

Task-number: QTCREATORBUG-2733
Reviewed-by: Kai Koehne
13 years agoQmlJSDebugger: Don't crash when using wheel & no items selected
Kai Koehne [Thu, 14 Oct 2010 12:26:36 +0000 (14:26 +0200)]
QmlJSDebugger: Don't crash when using wheel & no items selected

Task-number: QTCREATORBUG-2739
Reviewed-by: Lasse Holmstedt
13 years agoQmlJSDebugger: Highlight items only if in Observer mode
Kai Koehne [Thu, 14 Oct 2010 12:14:56 +0000 (14:14 +0200)]
QmlJSDebugger: Highlight items only if in Observer mode

Task-number: QTCREATORBUG-2672
Reviewed-by: Lasse Holmstedt
13 years agoQmlJSDebugger: Disable Observer pane after debugging ends
Kai Koehne [Thu, 14 Oct 2010 11:27:41 +0000 (13:27 +0200)]
QmlJSDebugger: Disable Observer pane after debugging ends

At the time setupToolbar is called in the shutdown process the
connection still exists. Instead just use the parameter.

Task-number: QTCREATORBUG-2693
Reviewed-by: Christiaan Janssen
13 years agoMaemo: Show native separators in deployment view.
Christian Kandeler [Thu, 14 Oct 2010 12:05:59 +0000 (14:05 +0200)]
Maemo: Show native separators in deployment view.

Reviewed-by: kh1
13 years agoMaemo: Don't create a deployment widget per sub project.
Christian Kandeler [Thu, 14 Oct 2010 12:03:55 +0000 (14:03 +0200)]
Maemo: Don't create a deployment widget per sub project.

This makes use of a Maemo target perform acceptably for big projects.

Task-number: QTCREATORBUG-2703
Reviewed-by: kh1
13 years agodebugger: some polishing after fbe6f968694ffdaf1d47a7eaf2e1c4e8fe16dc86
hjk [Thu, 14 Oct 2010 08:44:36 +0000 (10:44 +0200)]
debugger: some polishing after fbe6f968694ffdaf1d47a7eaf2e1c4e8fe16dc86

Mac gdb does not like the idea.

Reviewed-by: Joerg Bornemann
13 years agodebugger: replace n breakpoint lists of which n-1 are invalid by a single one
hjk [Wed, 13 Oct 2010 15:43:53 +0000 (17:43 +0200)]
debugger: replace n breakpoint lists of which n-1 are invalid by a single one

13 years agodebugger: fix re-appearing zombie breakpoint markers
hjk [Wed, 13 Oct 2010 14:50:34 +0000 (16:50 +0200)]
debugger: fix re-appearing zombie breakpoint markers

Reviewed-by: con
13 years agodebugger: fix python dumping of QObject connections
hjk [Wed, 13 Oct 2010 14:19:02 +0000 (16:19 +0200)]
debugger: fix python dumping of QObject connections

13 years agodebugger: disable unfinished debugger console code for the 2.1 release
hjk [Wed, 13 Oct 2010 11:34:27 +0000 (13:34 +0200)]
debugger: disable unfinished debugger console code for the 2.1 release

Reviewed-by: Friedemann Kleint
13 years agoDoc - using Qt Quick Designer to create components
Leena Miettinen [Wed, 13 Oct 2010 15:08:10 +0000 (17:08 +0200)]
Doc - using Qt Quick Designer to create components

Task-number: QTCREATORBUG-2661

Reviewed-by: Thomas Hartmann
13 years agoDoc - update screen shot
Leena Miettinen [Wed, 13 Oct 2010 12:09:00 +0000 (14:09 +0200)]
Doc - update screen shot

13 years agoDoc - fix path to downloading Mad Developer
Leena Miettinen [Tue, 12 Oct 2010 09:02:50 +0000 (11:02 +0200)]
Doc - fix path to downloading Mad Developer

Reviewed-by: ck
13 years agoDoc - Maemo development is supported on Mac OS
Leena Miettinen [Tue, 12 Oct 2010 08:11:23 +0000 (10:11 +0200)]
Doc - Maemo development is supported on Mac OS

Reviewed-by: Maurice Kalinowski
13 years agoDoc - Ubuntu 8.04 now required
Leena Miettinen [Tue, 12 Oct 2010 08:10:57 +0000 (10:10 +0200)]
Doc - Ubuntu 8.04 now required

Reviewed-by: Thorbjorn Lindeijer
13 years agoDoc - restriction in downloading files from help browser
Leena Miettinen [Mon, 11 Oct 2010 12:32:26 +0000 (14:32 +0200)]
Doc - restriction in downloading files from help browser

Task-number: QTCREATORBUG-2701

Reviewed-by: Friedemann Kleint
13 years agoQmlApp: Only use QMLJSDEBUGGER define to activate qml debugging
Kai Koehne [Sat, 9 Oct 2010 19:20:15 +0000 (21:20 +0200)]
QmlApp: Only use QMLJSDEBUGGER define to activate qml debugging

Don't confuse users by two defines they have to comment in when
they just want to 'debug': Instead QMLJSDEBUGGER now activates
both the Js Debugger & and the QmlObserver services. Finetuning
can still be done by using the (undocumented) NO_JSDEBUGGER,
NO_QMLOBSERVER defines.

13 years agoQmlJSDebugger: Remove reference to JSDebugger in QDeclarativeViewObserver
Kai Koehne [Sat, 9 Oct 2010 19:17:25 +0000 (21:17 +0200)]
QmlJSDebugger: Remove reference to JSDebugger in QDeclarativeViewObserver

Make Observer and JSDebugger orthogonal.

13 years agoText editor: Fix potential crash in the plain text editor.
Leandro Melo [Wed, 13 Oct 2010 14:26:29 +0000 (16:26 +0200)]
Text editor: Fix potential crash in the plain text editor.

Example situation: The plain text editor is displaying in-memory content and
has not been explicitly "configured". If there's an attempt to indent the text
it crashes since the indenter is invalid. This can happen if one clicks on 'Show
View Contents in Editor' within a debug session and press enter in the editor.

Reviewed-by: con
13 years agoQt4Project: Avoid warnings from QFileSystemWatcher
dt [Wed, 13 Oct 2010 12:44:32 +0000 (14:44 +0200)]
Qt4Project: Avoid warnings from QFileSystemWatcher

Reviewed-By: Thorbjorn
13 years agoRssFetcher: Opt out of Bearer Management
dt [Wed, 13 Oct 2010 10:28:37 +0000 (12:28 +0200)]
RssFetcher: Opt out of Bearer Management

Since bearer mangement uses network manager, the bearer plugin has to
use dbus to get the network configuration. Due to a bug in dbus 1.3 this
can lead to creator beeing blocked for up to 30 seconds on startup.

Task-Nr: QTCREATORBUG-2718

Reviewed-By: con
13 years agoAdd precompiled headers to Qt Creator sources, to any library and plugin
Denis Mingulov [Wed, 13 Oct 2010 12:02:49 +0000 (14:02 +0200)]
Add precompiled headers to Qt Creator sources, to any library and plugin

Precompiled headers are a performance feature supported by some
compilers to reduce the (re-)compilation time substantially.
Usage in Qt: http://doc.qt.nokia.com/4.7/qmake-precompiledheaders.html

Due to the usage of precompiled headers Qt without demos/examples/webkit
etc might be compiled even faster than Qt Creator on some systems.
Despite of Qt, Qt Creator consist of mostly quite small subprojects
(plugins and libraries) where the effect would not be so noticeable
but still will be visible.

This patch adds default precompiled headers to any plugin and library
(i.e. by changes in src/qtcreatorplugin.pri and src/qtcreatorlibrary.pri
respectively). Almost the same headers are included to general
precompiled header (src/shared/qtcreator_pch.h) like used in QtCore,
just QPointer/QScopedPointer etc and QDebug are added, it is used almost
in any subproject. Also for plugins some QtGui related headers are added
(src/shared/qtcreator_gui_pch.h).

Default precompiled headers are enabled so:

isEmpty(PRECOMPILED_HEADER):PRECOMPILED_HEADER = $$PWD/shared/header.h

So it is possible to override this variable in any place in the project
file in case if it will be needed.

Such overriding is used for Botan (src/libs/3rdparty/botan) - it is
not a Qt project, just a pure C++. Most usable headers were used to
create special precompiled header for Botan. It is 3rd party component
so also src/libs/3rdparty/precompiled_headers folder was created -
to use for any future 3rd party components' precompiled headers.

To enable a usage of precompiled headers feature in Qt projects
'precompile_header' has to be added to CONFIG. It is done by default
for limited platforms only (e.g. not for Linux now), so to enable it on
any other platform - e.g. special qmake command has to be used:

qmake "CONFIG *= precompile_header" -r ../../qt-creator/

To disable a usage of precompiled headers (on platforms where it is
pre-enabled - otherwise it will be used automatically):

qmake "CONFIG -= precompile_header" -r ../../qt-creator/

To see on which platforms precompiled headers feature is enabled
by default - qt/mkspecs folder has to be checked.

Precompiled headers require an additional space on the disk, it looks
like for Qt Creator full size of the shadow build folder grows up to
2 times (e.g. 1.5 GB to 3 GB).

Test results:

Linux x64, gcc 4.4, T7500, 3 GB RAM: About 22.5 minutes are reduced
to about 14 minutes (almost 80% faster).

Windows x86, vs2008, P8400, 2 GB RAM: About 70 minutes are reduced
to about 20 minutes (amazing 250% faster).

Merge-request: 2182
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
13 years agoLocator filter: Fix qHash - allow including QHash also anywhere
Denis Mingulov [Wed, 13 Oct 2010 12:02:49 +0000 (14:02 +0200)]
Locator filter: Fix qHash - allow including QHash also anywhere

Merge-request: 2182
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
13 years agoQt4Project: Push the Qt version's QML import path to the code model.
Christian Kamm [Wed, 13 Oct 2010 11:05:36 +0000 (13:05 +0200)]
Qt4Project: Push the Qt version's QML import path to the code model.

Task-number: QTCREATORBUG-2639
Reviewed-by: dt
13 years agoQmlProject: Tell the code model about the target Qt's import path.
Christian Kamm [Wed, 13 Oct 2010 11:03:32 +0000 (13:03 +0200)]
QmlProject: Tell the code model about the target Qt's import path.

Task-number: QTCREATORBUG-2639
Reviewed-by: Thomas Hartmann
13 years agoQtVersionManager: Extract the default QML import path from qmake.
Christian Kamm [Wed, 13 Oct 2010 11:04:48 +0000 (13:04 +0200)]
QtVersionManager: Extract the default QML import path from qmake.

Task-number: QTCREATORBUG-2639
Reviewed-by: dt
13 years agoQmlProject: Refresh the project when the Qt version changes.
Christian Kamm [Wed, 13 Oct 2010 11:02:26 +0000 (13:02 +0200)]
QmlProject: Refresh the project when the Qt version changes.

Reviewed-by: Thomas Hartmann
13 years agoMobile wizards: Don't ignore user setting for Maemo icon.
Christian Kandeler [Wed, 13 Oct 2010 11:29:22 +0000 (13:29 +0200)]
Mobile wizards: Don't ignore user setting for Maemo icon.

Reviewed-by: kh1
13 years agoMaemo: Don't add debian files to project file.
Christian Kandeler [Wed, 13 Oct 2010 09:44:19 +0000 (11:44 +0200)]
Maemo: Don't add debian files to project file.

We should change the contents of existing files as little as possible.

Task-number: QTCREATORBUG-2647
Reviewed-by: kh1
13 years agoMaemo: Fix device environment reader's error reporting.
Christian Kandeler [Wed, 13 Oct 2010 09:04:24 +0000 (11:04 +0200)]
Maemo: Fix device environment reader's error reporting.

The error() signal was not connected anywhere.
Also, there was no way to interrupt a failing operation.

Reviewed-by: kh1
13 years agodebugger: fix QTextCursor python dumper for default-constructed objects
hjk [Wed, 13 Oct 2010 08:13:33 +0000 (10:13 +0200)]
debugger: fix QTextCursor python dumper for default-constructed objects

Reviewed-by: Friedemann Kleint
13 years agoQt Project Config Widget: Correctly dis/enable the Qt Version combobox
dt [Tue, 12 Oct 2010 16:10:25 +0000 (18:10 +0200)]
Qt Project Config Widget:  Correctly dis/enable the Qt Version combobox

Task-Nr: QTCREATORBUG-2722
Reviewed-By: kh
13 years agoFix potential crash and extra open page on initial help start.
kh1 [Tue, 12 Oct 2010 14:53:00 +0000 (16:53 +0200)]
Fix potential crash and extra open page on initial help start.

Reviewed-by: ck
13 years agoUpdate Polish translations
Jarek Kobus [Tue, 12 Oct 2010 15:13:48 +0000 (17:13 +0200)]
Update Polish translations

13 years agodebugger: Do not automatically kill gdb on internal errors.
hjk [Tue, 12 Oct 2010 14:05:38 +0000 (16:05 +0200)]
debugger: Do not automatically kill gdb on internal errors.

This improves overall debugging experience after some "mostly harmless" errors.

Reviewed-by: Friedemann Kleint
Task-number: QTCREATORBUG-2004

13 years agodebugger: add a gdb patch to our local patch list
hjk [Tue, 12 Oct 2010 13:11:17 +0000 (15:11 +0200)]
debugger: add a gdb patch to our local patch list

Task-number: QTCREATORBUG-2004

13 years agodebugger: fix debugger state when gdb stops faster than it acknowledges the order...
hjk [Tue, 12 Oct 2010 09:52:11 +0000 (11:52 +0200)]
debugger: fix debugger state when gdb stops faster than it acknowledges the order to run.

Reviewed-by: Friedemann Kleint
13 years agoGeneric highlighter: Apply format only if it's a configured one; Remove hard-coded...
Leandro Melo [Tue, 12 Oct 2010 11:09:29 +0000 (13:09 +0200)]
Generic highlighter: Apply format only if it's a configured one; Remove hard-coded colors.

Reviewed-by: con
13 years agodebugger: add explanation to "Type format" manual test
hjk [Tue, 12 Oct 2010 09:52:11 +0000 (11:52 +0200)]
debugger: add explanation to "Type format" manual test

Reviewed-by: Friedemann Kleint
13 years agodebugger: fix recently introduced off-by-one in gdbmi child parsing
hjk [Tue, 12 Oct 2010 09:30:34 +0000 (11:30 +0200)]
debugger: fix recently introduced off-by-one in gdbmi child parsing

Reviewed-by: Friedemann Kleint
13 years agoQuickToolbar: fix keyboard shortcut for OS X
Thomas Hartmann [Tue, 12 Oct 2010 09:19:01 +0000 (11:19 +0200)]
QuickToolbar: fix keyboard shortcut for OS X

Apple + Alt + Space is a reserved key at least on OS X 10.5.

Task-number: QTCREATORBUG-2628
Done-with:  Lasse Holmstedt
Reviewed-by: Lasse Holmstedt
13 years agodebugger: fix typos in complex watcher handling
hjk [Tue, 12 Oct 2010 08:47:07 +0000 (10:47 +0200)]
debugger: fix typos in complex watcher handling

Reviewed-by: Friedemann Kleint
13 years agoL10n: Update German translation for 2.1
Friedemann Kleint [Tue, 12 Oct 2010 08:56:00 +0000 (10:56 +0200)]
L10n: Update German translation for 2.1

Reviewed-b: hjk

13 years agoDebugger: Typo.
Friedemann Kleint [Tue, 12 Oct 2010 08:55:36 +0000 (10:55 +0200)]
Debugger: Typo.

Reviewed-by: hjk
13 years agoMaemo: Always deploy via SFTP upload.
Christian Kandeler [Mon, 11 Oct 2010 16:12:46 +0000 (18:12 +0200)]
Maemo: Always deploy via SFTP upload.

The UTFS stuff does not seem to be reliable enough at the moment.
Deploying is too important to take that risk.

Reviewed-by: kh1
Reviewed-by: Leena Miettinen
13 years agofix typo
Oswald Buddenhagen [Mon, 11 Oct 2010 15:12:53 +0000 (17:12 +0200)]
fix typo

13 years agodebugger: Fix loading core files with binary paths of more then 80 chars
hjk [Mon, 11 Oct 2010 14:55:18 +0000 (16:55 +0200)]
debugger: Fix loading core files with binary paths of more then 80 chars

Reviewed-by: Friedemann Kleint
Task-number: QTCREATORBUG-2669

13 years agoProjectExplorer: Fix connnect/disconnect RunConfiguration::isEnabled()
dt [Mon, 11 Oct 2010 14:35:09 +0000 (16:35 +0200)]
ProjectExplorer: Fix connnect/disconnect RunConfiguration::isEnabled()

Reviewed-By: ck
Task-Nr: QTCREATORBUG-2653

13 years agoQt4ProjectBuildConfiguration: Handle env vars in working dir correctly.
dt [Wed, 6 Oct 2010 11:47:01 +0000 (13:47 +0200)]
Qt4ProjectBuildConfiguration: Handle env vars in working dir correctly.

Task-Nr: QTCREATORBUG-2618

Reviewed-By: hunger
13 years agoPathChooser: Use QDir::cleanPath() in path()
dt [Wed, 6 Oct 2010 11:38:53 +0000 (13:38 +0200)]
PathChooser: Use QDir::cleanPath() in path()

Reviewed-By: hunger
13 years agoPathChooser: On changing environment emit changed() if the path changed.
dt [Wed, 6 Oct 2010 11:38:16 +0000 (13:38 +0200)]
PathChooser: On changing environment emit changed() if the path changed.

Reviewed-By: hunger
13 years agoMaemo: Fix possible crash due to removed project file node.
Christian Kandeler [Mon, 11 Oct 2010 14:43:28 +0000 (16:43 +0200)]
Maemo: Fix possible crash due to removed project file node.

We must not save a Qt4ProFileNode in our MaemoDeployableListModel,
since it might no longer exist when we use it again.

Reviewed-by: kh1
13 years agoDebugger: Fix CDB shutdown warnings.
Friedemann Kleint [Mon, 11 Oct 2010 14:37:19 +0000 (16:37 +0200)]
Debugger: Fix CDB shutdown warnings.

Protect endInferior() from repeated invocation.

Reviewed-by: hjk
Task-number: QTCREATORBUG-2681

13 years agofakevim: make autotests compile
hjk [Mon, 11 Oct 2010 13:24:51 +0000 (15:24 +0200)]
fakevim: make autotests compile

13 years agoSmall change in a library template for Symbian and Maemo
Pawel Polanski [Tue, 28 Sep 2010 11:47:40 +0000 (13:47 +0200)]
Small change in a library template for Symbian and Maemo
(cherry picked from commit 1bed93e0ea857757411b82dffb71143272036743)

13 years agodebugger: handle forced shutdown in "running" state gracefully
hjk [Mon, 11 Oct 2010 12:39:16 +0000 (14:39 +0200)]
debugger: handle forced shutdown in "running" state gracefully

Reviewed-by: Friedemann Kleint
Task-number: QTCREATORBUG-2681

13 years agoRemove double latin1 string, fix indention.
kh1 [Mon, 11 Oct 2010 14:15:17 +0000 (16:15 +0200)]
Remove double latin1 string, fix indention.

Reviewed-by: ck
13 years agoMaemo: Don't create desktop files, ask before updating project files.
Christian Kandeler [Mon, 11 Oct 2010 13:40:25 +0000 (15:40 +0200)]
Maemo: Don't create desktop files, ask before updating project files.

Also don't waste performance by repeatedly reacting to the same
project file change.
This is relevant for bigger projects to which a Maemo target might
have been added by mistake.

Task-number: QTCREATORBUG-2647
Reviewed-by: kh1
13 years agoSSH: Fix SshConnection::error signal connections.
Christian Kandeler [Mon, 11 Oct 2010 10:19:17 +0000 (12:19 +0200)]
SSH: Fix SshConnection::error signal connections.

I recently changed the signal argument, but forgot to update
some of the points of use.

Reviewed-by: kh1
13 years agoC++ editor: Fix performance problem when using the mouse to find links.
Christian Kamm [Mon, 11 Oct 2010 12:45:58 +0000 (14:45 +0200)]
C++ editor: Fix performance problem when using the mouse to find links.

It is unnecessary to try hard to resolve a class forward declaration
when all you want to know is whether it is a valid link or not.

Task-number: QTCREATORBUG-2688
Reviewed-by: Thorbjorn Lindeijer
13 years agoSmall fix in a text
Pawel Polanski [Mon, 11 Oct 2010 12:05:10 +0000 (14:05 +0200)]
Small fix in a text

Reviewed-by: Friedemann Kleint
13 years agoFix annoying message box while switching targets with invalid qt version.
kh1 [Mon, 11 Oct 2010 12:35:45 +0000 (14:35 +0200)]
Fix annoying message box while switching targets with invalid qt version.

Reviewed-by: ck
13 years agoSession manager: Enable clone/switch if there's an item currently selected.
Leandro Melo [Mon, 11 Oct 2010 11:55:42 +0000 (13:55 +0200)]
Session manager: Enable clone/switch if there's an item currently selected.

Reviewed-by: dt
13 years agoGeneric highlighter: Don't nag about the missing definition if info bar was once...
Leandro Melo [Mon, 11 Oct 2010 10:40:09 +0000 (12:40 +0200)]
Generic highlighter: Don't nag about the missing definition if info bar was once closed.

Reviewed-by: con
13 years agoSnippets: Escape characters for the tip preview.
Leandro Melo [Mon, 11 Oct 2010 10:38:37 +0000 (12:38 +0200)]
Snippets: Escape characters for the tip preview.

Reviewed-by: ckamm
13 years agoChangelog: Add generich highlighter and help tooltips.
Leandro Melo [Mon, 11 Oct 2010 09:58:47 +0000 (11:58 +0200)]
Changelog: Add generich highlighter and help tooltips.

13 years agoFix missing member initialization.
kh1 [Mon, 11 Oct 2010 11:01:01 +0000 (13:01 +0200)]
Fix missing member initialization.

Task-number: QTCREATORBUG-2694
Reviewed-by: ck
13 years agoDebugger[CDB]: Do not evaluate watch expressions at all.
Friedemann Kleint [Mon, 11 Oct 2010 10:59:49 +0000 (12:59 +0200)]
Debugger[CDB]: Do not evaluate watch expressions at all.

setError() on them instead (should there be any from
a session mixup). Give the session engine watcher
capabilities and ensure 'Remove watch item' is enabled
for the session engine by checking the debugger state.

Reviewed-by: hjk
13 years agodebugger: fix auto tests
hjk [Mon, 11 Oct 2010 10:34:34 +0000 (12:34 +0200)]
debugger: fix auto tests

Reviewed-by: Friedemann Kleint
13 years agofakevim: fix :wq complaint when writing to the current file.
hjk [Mon, 11 Oct 2010 09:52:49 +0000 (11:52 +0200)]
fakevim: fix :wq complaint when writing to the current file.

Reviewed-by: Kornelia Poenitz
13 years agodebugger: Fix state of breakpoint marker when disabling it using the breakpoint view
hjk [Mon, 11 Oct 2010 08:53:20 +0000 (10:53 +0200)]
debugger: Fix state of breakpoint marker when disabling it using the breakpoint view

There was not updated cached state within the marker object.

Reviewed-by: Friedemann Kleint
Task: QTCREATORBUG-2544

13 years agofakevim: fix 'Delete' in insert mode to delete exactly one char again
hjk [Mon, 11 Oct 2010 08:10:24 +0000 (10:10 +0200)]
fakevim: fix 'Delete' in insert mode to delete exactly one char again

Reviewed-by: Kornelia Poenitz
13 years agoFix broken env reader, it did not reread on device changes.
kh1 [Wed, 6 Oct 2010 13:11:46 +0000 (15:11 +0200)]
Fix broken env reader, it did not reread on device changes.

Reviewed-by: ck
13 years agoSpeedup project loading, we now parse only the targets runtime info.
kh1 [Wed, 6 Oct 2010 10:33:02 +0000 (12:33 +0200)]
Speedup project loading, we now parse only the targets runtime info.

Reviewed-by: ck
13 years agoDebugging/gdb: Fix RemotePlainGdbAdapter.
Christian Kandeler [Fri, 8 Oct 2010 16:32:13 +0000 (18:32 +0200)]
Debugging/gdb: Fix RemotePlainGdbAdapter.

Reviewed-by: hjk
13 years agodebugger: make "clever" behaviour on debugger exit optional
hjk [Fri, 8 Oct 2010 15:44:11 +0000 (17:44 +0200)]
debugger: make "clever" behaviour on debugger exit optional

It hurts me.

Reviewed-by: Alessandro Portale
Task-number: QTCREATORBUG-808

13 years agochanged window title from Log to Debugger Log
Tim Jenssen [Fri, 8 Oct 2010 14:50:42 +0000 (16:50 +0200)]
changed window title from Log to Debugger Log

13 years agoDoc - restructure Developing Application UI section
Leena Miettinen [Fri, 8 Oct 2010 13:59:05 +0000 (15:59 +0200)]
Doc - restructure Developing Application UI section

Reviewed-by: Carsten Owerfeldt
13 years agoDoc - edit Qt C++ application example
Leena Miettinen [Fri, 8 Oct 2010 11:46:56 +0000 (13:46 +0200)]
Doc - edit Qt C++ application example

Update screen shots

Reviewed-by: Friedemann Kleint
13 years agoDoc - update Battery Indicator example
Leena Miettinen [Fri, 8 Oct 2010 11:33:10 +0000 (13:33 +0200)]
Doc - update Battery Indicator example

Use the new mobile project wizard to create the application.
Update example files and screen shots.

Reviewed-by: ckamm
Reviewed-by: Niels Weber
13 years agoDoc - update Qt Quick example
Leena Miettinen [Fri, 8 Oct 2010 09:40:59 +0000 (11:40 +0200)]
Doc - update Qt Quick example

Reviewed-by: Kai Koehne
13 years agoDoc - changes to Qt Quick Project wizards
Leena Miettinen [Thu, 7 Oct 2010 15:02:20 +0000 (17:02 +0200)]
Doc - changes to Qt Quick Project wizards

Reviewed-by: Alessandro Portale
13 years agoDoc - refactoring actions aka quick fixes
Leena Miettinen [Wed, 6 Oct 2010 14:33:08 +0000 (16:33 +0200)]
Doc - refactoring actions aka quick fixes

Reviewed-by: Erik Verbruggen
13 years agoDoc - C++ code snippets
Leena Miettinen [Wed, 6 Oct 2010 12:34:01 +0000 (14:34 +0200)]
Doc - C++ code snippets

Reviewed-by: Leandro T. C. Melo
13 years agoDoc - Semantic highlighting
Leena Miettinen [Wed, 6 Oct 2010 09:54:13 +0000 (11:54 +0200)]
Doc - Semantic highlighting

Reviewed-by: Erik Verbruggen
13 years agoQmlInspector: Remove "Reload" button
Kai Koehne [Fri, 8 Oct 2010 09:05:06 +0000 (11:05 +0200)]
QmlInspector: Remove "Reload" button

It only works together with qmlobserver. Making it disabled for .pro
file based projects would require some infrastructure.

Reviewed-by: Christiaan Janssen
13 years agoQmlInspector: Rearrange icons in the QmlObserver toolbar
Kai Koehne [Fri, 8 Oct 2010 08:16:50 +0000 (10:16 +0200)]
QmlInspector: Rearrange icons in the QmlObserver toolbar

Separate QmlObserver button + submodes from the general Preview &
Reload functionality.

Task-number: QTCREATORBUG-2163
Reviewed-by: Christiaan Janssen
13 years agoQmlOutline: Don't allow drag&drop when outline is out of sync
Kai Koehne [Thu, 7 Oct 2010 13:25:05 +0000 (15:25 +0200)]
QmlOutline: Don't allow drag&drop when outline is out of sync

The Outline is only updated (with a delay) if the current text is syntactically valid.
Prevent the outline from changing the text underneath via drag&drop if
the outline model is 'behind'.

Reviewed-by: Christian Kamm
13 years agoQmlJSObserver: Fix crash when adding an element to some .qml files
Kai Koehne [Thu, 7 Oct 2010 11:13:05 +0000 (13:13 +0200)]
QmlJSObserver: Fix crash when adding an element to some .qml files

Make sure that the 'artifical' URL of the item created actually is
absolute (starts with a file:///). Otherwise an Assert will be hit
when the imports include e.g. a .js file, and the Engine tries to
load it.

Task-number: QTCREATORBUG-2644
Reviewed-by: Olivier Goffart
13 years agoQmlJsDelta: Guard qDebug output
Kai Koehne [Thu, 7 Oct 2010 09:00:14 +0000 (11:00 +0200)]
QmlJsDelta: Guard qDebug output

13 years agoQmlJSInspector: Guard qDebug output
Kai Koehne [Wed, 6 Oct 2010 15:24:39 +0000 (17:24 +0200)]
QmlJSInspector: Guard qDebug output

13 years agoQmlObserver: Fix QPainter warnings
Kai Koehne [Wed, 6 Oct 2010 15:12:06 +0000 (17:12 +0200)]
QmlObserver: Fix QPainter warnings

The specified images in the resources weren't part of the qmlobserver,
and therefore 'tinting' then resulted in QPainter errors.

Task-number: QTCREATORBUG-2562
Reviewed-by: Lasse Holmstedt
13 years agoQmlJSInspector: Fix disconnect() warnings on users app shutdown
Kai Koehne [Wed, 6 Oct 2010 14:32:47 +0000 (16:32 +0200)]
QmlJSInspector: Fix disconnect() warnings on users app shutdown

Don't try to disconnect from the proxy if you haven't been connected
before, e.g. because the QmlJSObserverService is missing.

Reviewed-by: Christiaan Janssen
13 years agoQmlJSInspector: Enable plugin by default
Kai Koehne [Wed, 6 Oct 2010 10:08:29 +0000 (12:08 +0200)]
QmlJSInspector: Enable plugin by default

We disabled it because it should be considered experimental ...
but this creates problems with the debugger setup (Observer pane
doesn't show up even if the plugin is activated).

Carsten Owerfeldt agreed with this.

13 years agoSession: Fix ignoring of temporary files
Tobias Hunger [Fri, 8 Oct 2010 13:47:30 +0000 (15:47 +0200)]
Session: Fix ignoring of temporary files

Fix ignoring temporary files when saving a session. This could crash
when opening a session and saving it again if not all open editors
were actually shown to the user.

13 years agoMaemo: Bugfix: Update state of run config when deploy settings change.
Christian Kandeler [Fri, 8 Oct 2010 13:14:23 +0000 (15:14 +0200)]
Maemo: Bugfix: Update state of run config when deploy settings change.

An added or removed deployment setting for an executable
can change whether it's runnable or not.

Reviewed-by: Tobias Hunger
13 years agoMaemo: Bugfix: Use TargetInformation::workingDir in all cases.
Christian Kandeler [Fri, 8 Oct 2010 13:10:26 +0000 (15:10 +0200)]
Maemo: Bugfix: Use TargetInformation::workingDir in all cases.

We currently use buildDir in one place and workingDir in another,
which breaks projects that have DESTDIR set.

Reviewed-by: Tobias Hunger
13 years agoMaemo: QML debugging is not possible on Fremantle ...
Christian Kandeler [Wed, 6 Oct 2010 14:26:19 +0000 (16:26 +0200)]
Maemo: QML debugging is not possible on Fremantle ...

... so disable the respective widgets if the active build
configuration has a Fremantle toolchain.

Reviewed-by: kh1