qt-creator:qt-creator-instrumentation.git
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 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 agoFrench translation: minor fixes
Pierre Rossi [Thu, 28 Oct 2010 16:37:16 +0000 (18:37 +0200)]
French translation: minor fixes

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 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 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 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 [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 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 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 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
7 years agoFix previous fakevim fix (make slot actually a slot)
con [Thu, 21 Oct 2010 07:59:45 +0000 (09:59 +0200)]
Fix previous fakevim fix (make slot actually a slot)

Reviewed-by: Friedemann Kleint
7 years agoWizards: Format UI-form class code correctly.
Friedemann Kleint [Thu, 21 Oct 2010 07:08:33 +0000 (09:08 +0200)]
Wizards: Format UI-form class code correctly.

Reviewed-by: Kai Köhne <kai.koehne@nokia.com>
Task-number: QTCREATORBUG-2779

7 years agoPrevent crash when closing Qt Creator while cdb session is running.
con [Wed, 20 Oct 2010 15:10:47 +0000 (17:10 +0200)]
Prevent crash when closing Qt Creator while cdb session is running.

The debugger plugin opens an editor in this case, leading to fakevim and
cppeditor crashing.
This commit doesn't fix the problem's source, but adds safeguards that
are sensible anyhow: FakeVim should not register with editors during
shutdown, and CppEditor should not unconditionally assume an existing
editor manager in the destructor.

Reviewed-by: Friedemann Kleint
7 years agoDon't crash while reporting a configuration error (S60 debugging)
con [Wed, 20 Oct 2010 13:37:22 +0000 (15:37 +0200)]
Don't crash while reporting a configuration error (S60 debugging)

Task-number: QTCREATORBUG-2828
Reviewed-by: Robert Loehning
Reviewed-by: Friedemann Kleint
7 years agoDebugger: Do not pass -client for Windows-post-mortem debugging.
Friedemann Kleint [Wed, 20 Oct 2010 13:17:19 +0000 (15:17 +0200)]
Debugger: Do not pass -client for Windows-post-mortem debugging.

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

7 years agoQmlJS: Fix a performance problem.
Christian Kamm [Wed, 20 Oct 2010 12:48:38 +0000 (14:48 +0200)]
QmlJS: Fix a performance problem.

In order to determine all components that instantiate a given component,
Bind::usesQmlPrototype was called on each document in the snapshot.
That, in turn, had to iterate over all object definitions inside the
document, resolving their prototype references.

All in all, it lead to a very large amount of fairly expensive lookups
that were slowing down Creator considerably.

Reviewed-by: Erik Verbruggen
7 years agoQmlOutline: Fix reordering of array elements
Kai Koehne [Wed, 20 Oct 2010 12:28:29 +0000 (14:28 +0200)]
QmlOutline: Fix reordering of array elements

Make sure that a comma is added when inserting array elements
into the array.

Task-number: QTCREATORBUG-2796
Reviewed-by: Erik Verbruggen
7 years agoDebuggerEngine: fixed race condition at qml engine startup
Christiaan Janssen [Fri, 8 Oct 2010 13:51:15 +0000 (15:51 +0200)]
DebuggerEngine:  fixed race condition at qml engine startup
Reviewed by: hjk

7 years agoQmlDesiger: fixed format for the easing parameters in the easing dialog
Christiaan Janssen [Fri, 8 Oct 2010 08:35:07 +0000 (10:35 +0200)]
QmlDesiger:  fixed format for the easing parameters in the easing dialog
Reviewed by: Thomas Hartmann

7 years agoMobile wizards: Add hint for Qt Mobility.
Christian Kandeler [Wed, 20 Oct 2010 10:40:21 +0000 (12:40 +0200)]
Mobile wizards: Add hint for Qt Mobility.

Reviewed-by: dt
7 years agoDebugger: Fix attaching via QtSingleApplication.
Friedemann Kleint [Wed, 20 Oct 2010 10:13:28 +0000 (12:13 +0200)]
Debugger: Fix attaching via QtSingleApplication.

In case qtcdebugger sends a command to an already running
instance of Qt Creator (Windows).

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

7 years agoQmlJS: Fix false-positive errors reported for ListElement, Connections.
Christian Kamm [Wed, 20 Oct 2010 09:05:21 +0000 (11:05 +0200)]
QmlJS: Fix false-positive errors reported for ListElement, Connections.

Task-number: QTCREATORBUG-2802
Reviewed-by: Roberto Raggi
7 years agoDebugger: Fix expanding objects for Symbian (gdb 6.8).
Friedemann Kleint [Wed, 20 Oct 2010 09:01:48 +0000 (11:01 +0200)]
Debugger: Fix expanding objects for Symbian (gdb 6.8).

Handle older Python bindings as well.

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

7 years agoC++ indenter: Add autotest for C++0x 'for' statement.
Christian Kamm [Wed, 20 Oct 2010 08:48:43 +0000 (10:48 +0200)]
C++ indenter: Add autotest for C++0x 'for' statement.

Reviewed-by: trustme
7 years agoDoc: Maemo development is supported on all dev envs
Leena Miettinen [Tue, 19 Oct 2010 15:46:37 +0000 (17:46 +0200)]
Doc: Maemo development is supported on all dev envs

Reviewed-by: Maurice Kalinowski
7 years agoDoc: update screenshots
Leena Miettinen [Tue, 19 Oct 2010 15:45:08 +0000 (17:45 +0200)]
Doc: update screenshots

Task-number: QTCREATORBUG-2771

7 years agoQmlJS: Fix crash in debugger tooltips
Kai Koehne [Tue, 19 Oct 2010 05:26:26 +0000 (07:26 +0200)]
QmlJS: Fix crash in debugger tooltips

Check that the node under cursor is indeed a UiObjectMember

Reviewed-by: Christiaan Janssen
Task-number: QTCREATORBUG-2760

7 years agoQmlJSDebugger: Show filename/line number also for enabled breakpoints
Kai Koehne [Tue, 19 Oct 2010 05:25:44 +0000 (07:25 +0200)]
QmlJSDebugger: Show filename/line number also for enabled breakpoints

Hitting a breakpoint automatically acknowledges it, and from then on
bpFileName, bpLineNumber are used in the Breakpoints pane instead of
fileName, lineNumber.

Task-number: QTCREATORBUG-2759
Reviewed-by: Christiaan Janssen
7 years agoFixed jumping internally-defined symbols ("<configuration>" file).
Erik Verbruggen [Tue, 19 Oct 2010 14:18:58 +0000 (16:18 +0200)]
Fixed jumping internally-defined symbols ("<configuration>" file).

Reviewed-by: Christian Kamm
7 years agoUpdated the QML/JS front-end.
Roberto Raggi [Tue, 19 Oct 2010 14:08:44 +0000 (16:08 +0200)]
Updated the QML/JS front-end.

Reviewed-by: Christian Kamm
7 years agoFixes: Wizard page that allows adding to pro file selected non-optimal file
con [Tue, 19 Oct 2010 11:59:02 +0000 (13:59 +0200)]
Fixes: Wizard page that allows adding to pro file selected non-optimal file

The heuristics depended on pro files appearing before pri files in the
list, but now the list is alphabetically sorted.
Leading to deployment.pri being selected by default for mobile projects.

Task-number: QTCREATORBUG-2792
Reviewed-by: Friedemann Kleint
7 years agoC++ indenter: Fix indentation after namespace aliases.
Christian Kamm [Tue, 19 Oct 2010 10:49:09 +0000 (12:49 +0200)]
C++ indenter: Fix indentation after namespace aliases.

Task-number: QTCREATORBUG-2574
Reviewed-by: Roberto Raggi
7 years agoOpen files from search result list with right encoding, even on Windows.
con [Tue, 19 Oct 2010 10:15:36 +0000 (12:15 +0200)]
Open files from search result list with right encoding, even on Windows.

Didn't work if a project specific encoding was set.

Task-number: QTCREATORBUG-65
Reviewed-by: Robert Loehning
7 years agoAdapt default debug shortcuts on Mac.
con [Tue, 19 Oct 2010 09:01:49 +0000 (11:01 +0200)]
Adapt default debug shortcuts on Mac.

Task-number: QTCREATORBUG-1956
Reviewed-by: Joerg Bornemann
7 years agoQmlJS: Fix newly parsed document not being added to the snapshot copy.
Christian Kamm [Tue, 19 Oct 2010 09:50:57 +0000 (11:50 +0200)]
QmlJS: Fix newly parsed document not being added to the snapshot copy.

This was the root cause of several issues with scoping and import
resolution. For instance, finding the components that instantiate a
component that's opened in the editor failed; leading to code
completion missing valid entries.

Reviewed-by: Erik Verbruggen
Reviewed-by: Roberto Raggi
7 years agoWizards: Correct tab stops of Test Wizard Page.
Friedemann Kleint [Tue, 19 Oct 2010 09:18:20 +0000 (11:18 +0200)]
Wizards: Correct tab stops of Test Wizard Page.

Reviewed-by: Joerg Bornemann <joerg.bornemann@trolltech.com>
Task-number: QTCREATORBUG-2776

7 years agoWizards: Remove settings buttons.
Friedemann Kleint [Tue, 19 Oct 2010 09:10:51 +0000 (11:10 +0200)]
Wizards: Remove settings buttons.

As they do not look nice in the layouts and several
options pages are involved in the case of the form
class wizard.

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

7 years agoQmlJS: Fix completion for enums on the global Qt object.
Christian Kamm [Tue, 19 Oct 2010 09:08:09 +0000 (11:08 +0200)]
QmlJS: Fix completion for enums on the global Qt object.

Reviewed-by: Erik Verbruggen
7 years agoAdd the path to the installed Qt Frameworks on Mac.
con [Mon, 18 Oct 2010 15:12:44 +0000 (17:12 +0200)]
Add the path to the installed Qt Frameworks on Mac.

Otherwise all the Qt headers might not be found at all.

Task-number: QTCREATORBUG-1377
Reviewed-by: Tobias Hunger
Reviewed-by: Erik Verbruggen