qt-creator:qt-creator-instrumentation.git
7 years agoSource package creation script needs to differentiate branch vs version. 2.1
con [Tue, 2 Nov 2010 10:35:47 +0000 (11:35 +0100)]
Source package creation script needs to differentiate branch vs version.

7 years agoQmlDesigner: fixes crash
Thomas Hartmann [Tue, 2 Nov 2010 10:17:59 +0000 (11:17 +0100)]
QmlDesigner: fixes crash

Deleting an items might have a side effect that turns
the qml code invalid. (e. g. alias properties)

We catch this an show a proper error message.

Task-number: QTCREATORBUG-2973
Reviewed-by: Kai Koehne
7 years agoVersion bump.
con [Tue, 2 Nov 2010 10:15:12 +0000 (11:15 +0100)]
Version bump.

7 years agoMerge remote branch 'origin/2.1.0' into 2.1
con [Tue, 2 Nov 2010 10:10:09 +0000 (11:10 +0100)]
Merge remote branch 'origin/2.1.0' into 2.1

7 years agodebugger: work around gdb 7.2 quirk in QFlag dumper
hjk [Tue, 2 Nov 2010 09:59:52 +0000 (10:59 +0100)]
debugger: work around gdb 7.2 quirk in QFlag dumper

Reviewed-By: Friedemann Kleint
7 years agodebugger: make QFile and QFileInfo visible without top-level inferior call
hjk [Mon, 1 Nov 2010 18:10:44 +0000 (19:10 +0100)]
debugger: make QFile and QFileInfo visible without top-level inferior call

Reviewed-by: Oswald Buddenhagen
7 years agodebugger: fix dumping of reference targets
hjk [Mon, 1 Nov 2010 17:39:35 +0000 (18:39 +0100)]
debugger: fix dumping of reference targets

Reviewed-by: Alessandro Portale
7 years agoRemove compile warning on Symbian.
Alessandro Portale [Mon, 1 Nov 2010 18:25:19 +0000 (19:25 +0100)]
Remove compile warning on Symbian.

Reviewed-By: TrustMe
7 years agoMove hide implementation of conditional show()
Alessandro Portale [Mon, 1 Nov 2010 18:19:32 +0000 (19:19 +0100)]
Move hide implementation of conditional show()

...and do not call it show(), because that is the signature of
a non-virtual base class function. showExpanded() sucks as name,
and hjk, who reviewed this is not convinced.
But showExpanded() is still better than show().

Task-Number: QTCREATORBUG-2979
Reviewed-By: hjk
7 years agoChanging template/qmljsdbg-lib as suggested in QTCREATORBUG-2885
Alessandro Portale [Mon, 1 Nov 2010 16:03:46 +0000 (17:03 +0100)]
Changing template/qmljsdbg-lib as suggested in QTCREATORBUG-2885

- Renaming the screen orientation enum and keys
- Explicit constructors
- Virtual destructors
- Renamed some occurences of 'Qml' in comments to 'QML'
- Adding descriptive comments to all generated files which should
  not be touched by the user.
- Adding missing license headers to the qmljsdebugger sources

Task-Number: QTCREATORBUG-2885
Reviewed-by: Friedemann Kleint
Reviewed-by: dt
7 years agoupdate chinese translation for 2.1 2.1.0 v2.1.0-beta2
Oswald Buddenhagen [Mon, 1 Nov 2010 09:49:49 +0000 (10:49 +0100)]
update chinese translation for 2.1

this is a team work by the following people:
  Beaver Xu <xtfllbl@hotmail.com>
  cch123 <cao1988228@163.com>
  shiroki <shiroki@cuteqt.com>
  Rei <chloerei@gmail.com>

Merge-request: 210

7 years agoinclude region-qualified languages into the list
Oswald Buddenhagen [Mon, 1 Nov 2010 11:26:17 +0000 (12:26 +0100)]
include region-qualified languages into the list

7 years agodebugger: avoid one inferior call in QDir dumper
hjk [Mon, 1 Nov 2010 10:53:33 +0000 (11:53 +0100)]
debugger: avoid one inferior call in QDir dumper

Reviewed-by: Friedemann Kleint
7 years agoQmlDesigner.propertyEditor: show that anchors are disabled in states
Thomas Hartmann [Mon, 1 Nov 2010 09:33:46 +0000 (10:33 +0100)]
QmlDesigner.propertyEditor: show that anchors are disabled in states

I also added a tooltip.

Reviewed-by: Lasse Holmstedt
7 years agoQmlDesigner.formEditor: fixes memory leak
Thomas Hartmann [Thu, 28 Oct 2010 16:09:52 +0000 (18:09 +0200)]
QmlDesigner.formEditor: fixes memory leak

Also fixes the memory leak in resize code.
cleanup

Reviewed-by: Marco Bubke
7 years agoRetranslated word "plugin"
Sergey Belyashov [Mon, 1 Nov 2010 09:10:46 +0000 (10:10 +0100)]
Retranslated word "plugin"

Merge-request: 211
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
7 years agoDebugger: Fix compilation with MS VC 2005.
Friedemann Kleint [Mon, 1 Nov 2010 08:02:18 +0000 (09:02 +0100)]
Debugger: Fix compilation with MS VC 2005.

Reviewed-by: Maurice Kalinowski <maurice.kalinowski@nokia.com>
7 years agoRemoving ToolBar and StatusBar from mobile app ui template
Alessandro Portale [Fri, 29 Oct 2010 14:17:24 +0000 (16:17 +0200)]
Removing ToolBar and StatusBar from mobile app ui template

These are useseless place eaters. If needed, they can easily
be added by the user in Qt Designer.

Reviewed-By: ck
7 years agoDisable "Insert space after function name" when autobrackets are off
Thorbjørn Lindeijer [Fri, 29 Oct 2010 12:21:21 +0000 (14:21 +0200)]
Disable "Insert space after function name" when autobrackets are off

Reviewed-by: Jarek Kobus
Acked-by: dt
7 years agoDebugger: Avoid warnings from debugger when using -client.
Friedemann Kleint [Fri, 29 Oct 2010 11:48:14 +0000 (13:48 +0200)]
Debugger: Avoid warnings from debugger when using -client.

Do not parse options if empty (when a file was passed to
the core).

Reviewed-by: Thorbjørn <thorbjorn.lindeijer@nokia.com>
7 years agoFrench translation: minor fixes
Pierre Rossi [Thu, 28 Oct 2010 16:37:16 +0000 (18:37 +0200)]
French translation: minor fixes

7 years agoMerge remote branch 'origin/2.1.0' into 2.1
con [Thu, 28 Oct 2010 15:47:04 +0000 (17:47 +0200)]
Merge remote branch 'origin/2.1.0' into 2.1

Conflicts:
share/qtcreator/translations/qtcreator_pl.ts

7 years agoadd polish translation to release list
Oswald Buddenhagen [Thu, 28 Oct 2010 12:57:48 +0000 (14:57 +0200)]
add polish translation to release list

ok, i'm cheating ... it's only 97% complete :D

7 years agoupdate polish translations
Pawel Polanski [Thu, 28 Oct 2010 12:03:12 +0000 (14:03 +0200)]
update polish translations

(cherry picked from commit 37fd61896cbc3873477191355b8a82d5e620681a)
plus manual fix for "CDB debug engine does not support ...".

7 years agofix error message and source in the TS files
Oswald Buddenhagen [Thu, 28 Oct 2010 12:28:25 +0000 (14:28 +0200)]
fix error message and source in the TS files

7 years agoupdate polish translations
Pawel Polanski [Thu, 28 Oct 2010 12:03:12 +0000 (14:03 +0200)]
update polish translations

7 years agoMaemo: Fix logic deciding on package rebuilding.
Christian Kandeler [Thu, 28 Oct 2010 08:45:01 +0000 (10:45 +0200)]
Maemo: Fix logic deciding on package rebuilding.

The time stamp check must descend into directories.

Task-number: QTCREATORBUG-2920
Reviewed-by: con
7 years agoPrefer Qt version to show examples from
Daniel Molkentin [Mon, 25 Oct 2010 17:33:35 +0000 (19:33 +0200)]
Prefer Qt version to show examples from

Reviewed-by: Niels Weber
7 years agoFix regression: WelcomeMode has no RightPanePlaceHolder, switch to Edit
Daniel Molkentin [Wed, 27 Oct 2010 15:44:41 +0000 (17:44 +0200)]
Fix regression: WelcomeMode has no RightPanePlaceHolder, switch to Edit

Reviewed-by: con
7 years agoModify RSS to show new (and only) featured example
Daniel Molkentin [Wed, 27 Oct 2010 13:06:34 +0000 (15:06 +0200)]
Modify RSS to show new (and only) featured example

Also center images, don't scale, and be less jumpy on startup

Reviewed-By: con
7 years agoQmlJS: Fix completion for 'anchors.' and similar properties.
Christian Kamm [Wed, 27 Oct 2010 14:51:55 +0000 (16:51 +0200)]
QmlJS: Fix completion for 'anchors.' and similar properties.

The detection of whether a type or one of its children is exported was
broken when we fixed the type information for the QtQuick module.

Reviewed-by: Erik Verbruggen
7 years agodebugger: remove a two more cases of the RVO bug
hjk [Wed, 27 Oct 2010 15:52:04 +0000 (17:52 +0200)]
debugger: remove a two more cases of the RVO bug

Reviewed-by: dt
Task-number: QTCREATORBUG-2921

7 years agoDoc: replaced Qt Quick application tutorial
Leena Miettinen [Wed, 27 Oct 2010 14:24:17 +0000 (16:24 +0200)]
Doc: replaced Qt Quick application tutorial

Task-number: QTCREATORBUG-2661

Reviewed-by: Carsten Owerfeldt
7 years agoDebugger: Fix current line in assembly listing
Friedemann Kleint [Wed, 27 Oct 2010 14:27:12 +0000 (16:27 +0200)]
Debugger: Fix current line in assembly listing

Reviewed-by: con
7 years agoDebugger[gdb/Mac]: Show location marker in Mac OS disassembly.
Friedemann Kleint [Wed, 27 Oct 2010 13:39:42 +0000 (15:39 +0200)]
Debugger[gdb/Mac]: Show location marker in Mac OS disassembly.

Account for "0x0000000100002682sub    $0x68,%rsp", convert
hex address correctly to match the location.

Reviewed-by: hjk
7 years agoDebugger [CDB]: Release COM interfaces on RunControl finished.
hjk [Tue, 26 Oct 2010 15:08:12 +0000 (17:08 +0200)]
Debugger [CDB]: Release COM interfaces on RunControl finished.

Ensure that at most one instance of the CDBEngine is alive.
Prevent inconsistent debugger states if several sessions are started.
Squashed cherry-picked commits from master correcting the
plugin state handling (2efdeb5cd00ca012642d3b6944b04a04326c3f00,
57f7616286f4a98e3af2b6908211f47416270992).

Reviewed-by: hjk
Task-number: QTCREATORBUG-2894
(cherry picked from commit 5a5ba58dc9bcabbfbc098d57fe33fb3805230b5b)

7 years agodebugger: call shutdownEngine, not shutdownInferior on EngineRunFailed
hjk [Tue, 26 Oct 2010 14:49:29 +0000 (16:49 +0200)]
debugger: call shutdownEngine, not shutdownInferior on EngineRunFailed
(cherry picked from commit 57f7616286f4a98e3af2b6908211f47416270992)

7 years agodebugger: fix EngineSetupFailed path
hjk [Tue, 26 Oct 2010 15:08:12 +0000 (17:08 +0200)]
debugger: fix EngineSetupFailed path

Task-number: QTCREATORBUG-2837
(cherry picked from commit 2efdeb5cd00ca012642d3b6944b04a04326c3f00)

7 years agoQmlJS: Fix member completion at the end of a nested object definition.
Christian Kamm [Wed, 27 Oct 2010 09:11:36 +0000 (11:11 +0200)]
QmlJS: Fix member completion at the end of a nested object definition.

The parser's error recovery generates three nested object definitions
for code like
Item { Item { font } }
where the innermost definition corresponds to 'font }' and has an empty
lbrace token.

If we create a Range for this recovered definition, code completion will
fail for 'font.'.

Task-number: QTCREATORBUG-2767
Reviewed-by: Roberto Raggi
7 years agoDebugger [CDB]: Release COM interfaces on RunControl finished.
hjk [Tue, 26 Oct 2010 15:08:12 +0000 (17:08 +0200)]
Debugger [CDB]: Release COM interfaces on RunControl finished.

Ensure that at most one instance of the CDBEngine is alive.
Prevent inconsistent debugger states if several sessions are started.
Squashed cherry-picked commits from master correcting the
plugin state handling (2efdeb5cd00ca012642d3b6944b04a04326c3f00,
57f7616286f4a98e3af2b6908211f47416270992).

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

7 years agoqmldump: Ensure path and environment are taken from the same Qt version.
Christian Kamm [Tue, 26 Oct 2010 14:29:46 +0000 (16:29 +0200)]
qmldump: Ensure path and environment are taken from the same Qt version.

Fixes f1fb0bddb11d69355784953a6cc0364f9fa25d3e.

Reviewed-by: Kai Koehne
(cherry picked from commit 528999d54972306238e1623cfbc4887ca635c253)

7 years agoDebugger/JS Code model: Set environment for QML tools correctly.
Friedemann Kleint [Tue, 26 Oct 2010 13:39:37 +0000 (15:39 +0200)]
Debugger/JS Code model: Set environment for QML tools correctly.

Set complete build environment (MinGW).

Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Task-number: QTCREATORBUG-2883
(cherry picked from commit f1fb0bddb11d69355784953a6cc0364f9fa25d3e)

7 years agoqmldump: Ensure path and environment are taken from the same Qt version.
Christian Kamm [Tue, 26 Oct 2010 14:29:46 +0000 (16:29 +0200)]
qmldump: Ensure path and environment are taken from the same Qt version.

Fixes f1fb0bddb11d69355784953a6cc0364f9fa25d3e.

Reviewed-by: Kai Koehne
7 years agoFix Creator crash on SSH connection loss.
Christian Kandeler [Tue, 26 Oct 2010 14:29:27 +0000 (16:29 +0200)]
Fix Creator crash on SSH connection loss.

QTCREATORBUG-2890

Reviewed-by: dt
7 years agoDebugger/JS Code model: Set environment for QML tools correctly.
Friedemann Kleint [Tue, 26 Oct 2010 13:39:37 +0000 (15:39 +0200)]
Debugger/JS Code model: Set environment for QML tools correctly.

Set complete build environment (MinGW).

Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Task-number: QTCREATORBUG-2883

7 years agoQmlDesigner.formEditor: fix memory leak
Thomas Hartmann [Tue, 26 Oct 2010 13:29:04 +0000 (15:29 +0200)]
QmlDesigner.formEditor: fix memory leak

Reviewed-by: Marco Bubke
7 years agoQmlDesigner.rewriter: fixing memory leak
Thomas Hartmann [Tue, 26 Oct 2010 13:22:04 +0000 (15:22 +0200)]
QmlDesigner.rewriter: fixing memory leak

The destructor has to be virtual to avoid
a memory leak.

Reviewed-by: Roberto Raggi
7 years agoUpdated the QML/JS front-end.
Roberto Raggi [Tue, 26 Oct 2010 11:50:17 +0000 (13:50 +0200)]
Updated the QML/JS front-end.

7 years agoUpdate Japanese 2.1 translations.
axasia [Tue, 26 Oct 2010 09:25:22 +0000 (11:25 +0200)]
Update Japanese 2.1 translations.

Merge-request: 207
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
7 years agoUpdated Russian translation
Sergey Belyashov [Tue, 26 Oct 2010 09:23:49 +0000 (11:23 +0200)]
Updated Russian translation

Merge-request: 208
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
7 years agoremove execute bit ... again
Oswald Buddenhagen [Mon, 25 Oct 2010 17:23:43 +0000 (19:23 +0200)]
remove execute bit ... again

7 years agoupdate list of up-to-date translations
Oswald Buddenhagen [Mon, 25 Oct 2010 17:20:12 +0000 (19:20 +0200)]
update list of up-to-date translations

7 years agoupdate german translation
Oswald Buddenhagen [Mon, 25 Oct 2010 15:52:23 +0000 (17:52 +0200)]
update german translation

7 years agosimplify #include statement
Oswald Buddenhagen [Mon, 25 Oct 2010 17:03:50 +0000 (19:03 +0200)]
simplify #include statement

helps lupdate

7 years agoexclude dead/irrelevant sources from string collection
Oswald Buddenhagen [Mon, 25 Oct 2010 15:51:27 +0000 (17:51 +0200)]
exclude dead/irrelevant sources from string collection

7 years agokill dead source string
Oswald Buddenhagen [Mon, 25 Oct 2010 15:50:56 +0000 (17:50 +0200)]
kill dead source string

7 years agoFixed double word in message
Sergey Belyashov [Mon, 25 Oct 2010 14:43:08 +0000 (16:43 +0200)]
Fixed double word in message

Adjusting the source in all affected translations as well.

Merge-request: 192
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
7 years agoUpdated Russian translation
Sergey Belyashov [Mon, 25 Oct 2010 13:47:14 +0000 (15:47 +0200)]
Updated Russian translation

Merge-request: 184
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
7 years agoDebugger: Suppress inconsistencies in gdb binary settings.
Friedemann Kleint [Mon, 25 Oct 2010 13:21:36 +0000 (15:21 +0200)]
Debugger: Suppress inconsistencies in gdb binary settings.

caused by the merging of global settings.
Terminate list of binaries by an empty element to prevent
accidental reading of consecutive keys.
Add Linux-ICC to list of toolchains for gdb.

Acked-by: hjk
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
Task-number: QTCREATORBUG-2848

7 years agoL10N: Update Japanese 2.1 translation.
axasia [Mon, 25 Oct 2010 13:14:29 +0000 (15:14 +0200)]
L10N: Update Japanese 2.1 translation.

Merge-request: 194
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
7 years agoUkrainian translation updated
Victor Ostashevsky [Mon, 25 Oct 2010 12:27:48 +0000 (14:27 +0200)]
Ukrainian translation updated

Merge-request: 205
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
7 years agoDebugHelpers: Remove incorrect warning about qmldump requiring 4.7.1
Kai Koehne [Mon, 25 Oct 2010 11:58:30 +0000 (13:58 +0200)]
DebugHelpers: Remove incorrect warning about qmldump requiring 4.7.1

qmldump works fine with 4.7.0 (as long as private headers are available).

Reviewed-by: ckamm
7 years agoDebugHelpers: Always update icons after recompile
Kai Koehne [Mon, 25 Oct 2010 11:13:06 +0000 (13:13 +0200)]
DebugHelpers: Always update icons after recompile

The information about a Qt version (including the debugging helper paths)
is cached. Invalidate the cache after all the debugging helpers have
been built, such that the following icon updates actually get the latest
information.

We do invalidate the cache already before the compilation of
the debugging helpers have started, but QmlDumperTool::canBuild
then triggers a refill of the cache, at a time where the qmldump
executable has not yet been created.

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

7 years agoFix double listing of files
dt [Mon, 25 Oct 2010 11:57:45 +0000 (13:57 +0200)]
Fix double listing of files

Reviewed-By: con
Task-Nr: QTCREATORBUG-2729

7 years agoQt4ProjectManager: Compress the folderChanged via a small timer
dt [Wed, 13 Oct 2010 13:33:51 +0000 (15:33 +0200)]
Qt4ProjectManager: Compress the folderChanged via a small timer

Reviewed-By: hunger
7 years agoOptimize which folders we recursively enumerate
dt [Wed, 13 Oct 2010 13:22:52 +0000 (15:22 +0200)]
Optimize which folders we recursively enumerate

Reviewed-By: hunger
7 years agoFrench translation updated for Creator 2.1
Pierre Rossi [Mon, 25 Oct 2010 11:55:46 +0000 (13:55 +0200)]
French translation updated for Creator 2.1

Contributed by the team at developpez.com.

This is the squashed result of a team effort. Authors are:

Guillaume Belz <guillaume.belz@free.fr>
Cédric Bonnier <myzu69@gmail.com>
Jonathan Courtois <jonathan.courtois@gmail.com>
Thibaut Cuvelier <dourouc05@gmail.com>
Pierre-Nicolas Rigal <qt-contrib@p-n-r.com>

For full history, checkout the team's repo:
http://qt.gitorious.org/+developpez-dot-com/qt-creator/qt-creator-fr

See also: http://qt.developpez.com/

Merge-request: 206
Reviewed-by: Pierre Rossi <pierre.rossi@nokia.com>
Reviewed-by: ossi
7 years agoC++ indenter: Ensure indent and padding are non-negative.
Christian Kamm [Mon, 25 Oct 2010 11:29:50 +0000 (13:29 +0200)]
C++ indenter: Ensure indent and padding are non-negative.

Reviewed-by: Roberto Raggi
7 years agoQmlDesigner.model: crash fix
Thomas Hartmann [Mon, 25 Oct 2010 11:28:35 +0000 (13:28 +0200)]
QmlDesigner.model: crash fix

Check if the node is really a PropertyChange

Reviewed-by: Marco Bubke
7 years agoQmlDesigner.NodeInstances: crash fix
Thomas Hartmann [Mon, 25 Oct 2010 11:27:35 +0000 (13:27 +0200)]
QmlDesigner.NodeInstances: crash fix

This patch avoids a recursion.

Reviewed-by: Marco Bubke
7 years agoQmlDesigner: delete Row/Column and Grid specifics
Thomas Hartmann [Fri, 22 Oct 2010 07:44:50 +0000 (09:44 +0200)]
QmlDesigner: delete Row/Column and Grid specifics

The default panes  are good enough and work fine

Reviewed-by: Kai Koehne
7 years agoAnother shortcut conflict less on Mac OS.
con [Mon, 25 Oct 2010 11:18:44 +0000 (13:18 +0200)]
Another shortcut conflict less on Mac OS.

Reviewed-by: Joerg Bornemann
7 years agoDoc - update screen shot
Leena Miettinen [Mon, 25 Oct 2010 10:09:05 +0000 (12:09 +0200)]
Doc - update screen shot

Task-number: QTCREATORBUG-2530

7 years agofix external doc references
Oswald Buddenhagen [Mon, 25 Oct 2010 09:18:06 +0000 (11:18 +0200)]
fix external doc references

7 years agoDoc - Qt Quick Designer UI in more detail
Leena Miettinen [Mon, 25 Oct 2010 09:00:25 +0000 (11:00 +0200)]
Doc - Qt Quick Designer UI in more detail

Reviewed-by: Carsten Owerfeldt
7 years agoDebugger: Fix compilation with VS2005.
Friedemann Kleint [Fri, 22 Oct 2010 15:20:19 +0000 (17:20 +0200)]
Debugger: Fix compilation with VS2005.

Reviewed-by: Maurice Kalinowski <maurice.kalinowski@nokia.com>
7 years agoAdd our own description file to show all possible QML examples.
Daniel Molkentin [Thu, 21 Oct 2010 17:15:55 +0000 (19:15 +0200)]
Add our own description file to show all possible QML examples.

Reviewed-By: con
7 years agoDebugger/Windows: Do not attach to process being debugged.
Friedemann Kleint [Fri, 22 Oct 2010 12:03:25 +0000 (14:03 +0200)]
Debugger/Windows: Do not attach to process being debugged.

Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
Task-number: QTCREATORBUG-2086

7 years agoQmlOutline: Don't use LookupContext due to performance issues
Kai Koehne [Fri, 22 Oct 2010 11:38:20 +0000 (13:38 +0200)]
QmlOutline: Don't use LookupContext due to performance issues

Creating a LookupContext can be sloooow for large projects. We create
one instance for every update in the Outline to get the right icons.

Take a shortcut here and just use the element name directly, ignoring
packages names etc.

This is a hot fix for 2.1, a following patch will change the Icon
retrieval API accordingly.

Reviewed-by: Roberto Raggi
Task-number: QTCREATORBUG-2859

7 years agoDebugger: Avoid opening of editor in shutdown phase.
Friedemann Kleint [Fri, 22 Oct 2010 10:26:13 +0000 (12:26 +0200)]
Debugger: Avoid opening of editor in shutdown phase.

Remove duplicate code. Introduce ScopedPointer for
location mark. Check shutdown phase when opening editors.

Reviewed-by: con
Task-number: QTCREATORBUG-2833

7 years agoDebugger: Suppress Auto-Dereferencing of pointers for char* types.
Friedemann Kleint [Fri, 22 Oct 2010 10:06:30 +0000 (12:06 +0200)]
Debugger: Suppress Auto-Dereferencing of pointers for char* types.

Sequence of processing changed since 2.0.1.

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

7 years agoDebugger: Disable gdb post-mortem debugging on Windows.
Friedemann Kleint [Fri, 22 Oct 2010 09:31:33 +0000 (11:31 +0200)]
Debugger: Disable gdb post-mortem debugging on Windows.

As it is not able to do the event-handshake required.

Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Task-number: QTCREATORBUG-2086

7 years agoDebugger: Avoid crashes when no C++-engine is available.
Friedemann Kleint [Fri, 22 Oct 2010 09:27:45 +0000 (11:27 +0200)]
Debugger: Avoid crashes when no C++-engine is available.

Check for valid runcontrols in various places and initialize
m_engine correcly. In the case of QML-Debugging, handle
NoEngineType.

Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Task-number: QTCREATORBUG-2086

7 years agoupdate qt help index to 4.7.1
Oswald Buddenhagen [Thu, 21 Oct 2010 18:33:49 +0000 (20:33 +0200)]
update qt help index to 4.7.1

the file is "only" one meg after compression, so it isn't as bad as it
looks. and it is sorted now, so further updates should be somewhat less
wasteful.

Reviewed-by: danimo
7 years agofix one more raw data leak
Oswald Buddenhagen [Thu, 21 Oct 2010 17:53:29 +0000 (19:53 +0200)]
fix one more raw data leak

again, qregexp was putting our raw string into its cache - this time
hidden behind a qdir::entrylist().

Reviewed-by: dt
Task-number: QTCREATORBUG-2758

7 years agoupdate changelog
Daniel Molkentin [Thu, 21 Oct 2010 16:27:47 +0000 (18:27 +0200)]
update changelog

7 years agouse http_proxy variable for proxy detection on linux
Daniel Molkentin [Thu, 21 Oct 2010 16:05:15 +0000 (18:05 +0200)]
use http_proxy variable for proxy detection on linux

Reviewed-by: con
7 years agoStop navigationwidget from going haywire
Tobias Hunger [Thu, 21 Oct 2010 09:54:11 +0000 (11:54 +0200)]
Stop navigationwidget from going haywire

Stop navigationwidget from going haywire when faced with old
configuration data. This issue could lead to different effects:
 * A crash
 * Creator not being able to exit anymore
 * The sidebar being messed up

Task-number: QTCREATORBUG-2780
Reviewed-by: con
7 years agofix warnings
Thomas Hartmann [Thu, 21 Oct 2010 15:11:43 +0000 (17:11 +0200)]
fix warnings

Reviewed-by: Marco Bubke
7 years agoDebugger: Catch exception if thread name cannot be determined.
Friedemann Kleint [Thu, 21 Oct 2010 14:29:37 +0000 (16:29 +0200)]
Debugger: Catch exception if thread name cannot be determined.

As reported on mailing list.

Reviewed-by: hjk
Reviewed-by: Arvid Ephraim Picciani <arvid.picciani@nokia.com>
7 years agoQmlJsEditor: fixes warning
Thomas Hartmann [Thu, 21 Oct 2010 14:12:57 +0000 (16:12 +0200)]
QmlJsEditor: fixes warning

Reviewed-by: Lasse Holmstedt
7 years agoQuickToolBar: reduce usage of lookup context
Thomas Hartmann [Thu, 21 Oct 2010 13:41:58 +0000 (15:41 +0200)]
QuickToolBar: reduce usage of lookup context

Getting the lookup context is expensive. So it is now done only
on user interaction.

Reviewed-by: Roberto Raggi
7 years agoQuickToolBar: do not show QuickToolBar as tooltip anymore.
Thomas Hartmann [Thu, 21 Oct 2010 13:10:48 +0000 (15:10 +0200)]
QuickToolBar: do not show QuickToolBar as tooltip anymore.

Most users perceived this as a bug and found it annoying in
practice. So this feature gets removed.

Reviewed-by: Roberto Raggi
7 years agoQmlDesigner: support for QtQuick 1.0
Thomas Hartmann [Thu, 21 Oct 2010 13:08:50 +0000 (15:08 +0200)]
QmlDesigner: support for QtQuick 1.0

This add preliminary support for import QtQuick 1.0
The RewriterView does type conversion from QtQuick to Qt
so Bauhaus does not have to deal with ambiguities.

Reviewed-by: Marco Bubke
7 years agoL10n: Final German 2.1 translation.
Friedemann Kleint [Thu, 21 Oct 2010 13:31:00 +0000 (15:31 +0200)]
L10n: Final German 2.1 translation.

7 years agoexpand working directory before looking for a command in it
Oswald Buddenhagen [Mon, 18 Oct 2010 16:36:43 +0000 (18:36 +0200)]
expand working directory before looking for a command in it

Reviewed-by: hunger
7 years agoFix potential crash when closing settings dialog.
con [Thu, 21 Oct 2010 12:10:31 +0000 (14:10 +0200)]
Fix potential crash when closing settings dialog.

We accessed the m_applied member after the dialog already was deleted.

Task-number: QTCREATORBUG-2844
Reviewed-by: Friedemann Kleint
7 years agoValgrind fix of leak in MaemoSettingsWidget.
Friedemann Kleint [Thu, 21 Oct 2010 12:10:02 +0000 (14:10 +0200)]
Valgrind fix of leak in MaemoSettingsWidget.

Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
7 years agoValgrind fixes.
Friedemann Kleint [Thu, 21 Oct 2010 10:36:19 +0000 (12:36 +0200)]
Valgrind fixes.

In Debugger and WelcomePageWidget.

Reviewed-by: Daniel Molkentin <daniel.molkentin@trolltech.com>
7 years agoMaemo: Fix debugger race condition.
Christian Kandeler [Thu, 21 Oct 2010 09:35:18 +0000 (11:35 +0200)]
Maemo: Fix debugger race condition.

"gdbserver started" does not necessarily mean "gdbserver has opened its port".

Reviewed-by: Tobias Hunger