Commit Graph

14413 Commits

Author SHA1 Message Date
Pawel Polanski
cbdf363709 Unable to change the value of a variable while debugging Symbian - issue fixed
Reviewed-by: hjk
2010-10-01 18:41:18 +02:00
hjk
d40007938c debugger: fix QObject property dumping on Windows
The problem of gdb finding QVector::malloc instead of the global malloc
appeared again. The workaorund is to use calloc which is not used by Qt.
However, for transfering string literal data to the inferior gdb uses
malloc internally outside our control, so we cannot use string literals
in inferior calls at all.

In the particular case of QObject property names we are lucky as the
data already exists in the inferior memory. This patch just uses it.

Reviewed-by: Leandro Melo

Task: QTCREATORBUG-2533
2010-10-01 17:47:52 +02:00
Kai Koehne
5a6faea21f QmlJsInspector: Remove unconditional qDebug 2010-10-01 17:42:13 +02:00
Kai Koehne
4cbbe9ca7b QmlInspector: Fix regression making the observer unusable
We've to wait with reloadEngines until the services are actually
enabled.
2010-10-01 17:34:06 +02:00
Kai Koehne
83e2a37850 QmlObserver: Disable UI when no server plugin exists
Reviewed-by: Christiaan Janssen
2010-10-01 17:34:01 +02:00
Kai Koehne
8a48ef7869 QmlJSInspector: Remove disconnect without a connect 2010-10-01 17:32:45 +02:00
hjk
1cd2791d23 debugger: fix disabling of breakpoints using the context menu
Reviewed-by: Robert Loehning
Task-number: QTCREATORBUG-2543, QTCREATORBUG-2544
2010-10-01 17:18:05 +02:00
Leena Miettinen
cb5f706352 UI text - fix capitalization in Qt Quick Application wizard
Reviewed-by: Christian Kandeler
2010-10-01 16:55:23 +02:00
Christian Kandeler
fad242c913 Maemo: Kill UTFS clients as well as UTFS servers in case of an error. 2010-10-01 16:20:18 +02:00
Christian Kandeler
97a56a627a Maemo: Fix UTFS timeout timer not being stopped in some cases. 2010-10-01 15:50:03 +02:00
Thomas Hartmann
f710584603 QmlDesigner: do not allow deprectaed Qt 4.7 imports for Bauhaus
Bauhaus does not support import Qt 4.7 anymore

Reviewed-by: Kai Koehne
2010-10-01 14:15:18 +02:00
Christian Kamm
c502c6e818 QmlJS: Fix an instance of relying on the Qt package name.
Reviewed-by: Thomas Hartmann
2010-10-01 13:52:55 +02:00
Kai Koehne
a03e75726a QmlDebugger: Buffer messages in QmlAdapter until client is ready
Don't 'loose' messages at startup because the client is not enabled
yet / sendMessage will silently fail.

Reviewed-by: Christiaan Janssen
2010-10-01 13:43:42 +02:00
Kai Koehne
226a82d3dc QmlDebugger: Log status of different services
Reviewed-by: Christiaan Janssen
2010-10-01 13:43:42 +02:00
Kai Koehne
8ad34357b8 QmlJSDebugger: Fix warning about JSAgent already connected
We now instantiate an extra JSDebugger object in the generated class.

Reviewed-by: aportale
2010-10-01 13:43:41 +02:00
Kai Koehne
3e080e082d QmlJSDebugger: Check for Qt 4.7.1 or newer before enabling qml debugging
Reviewed-by: Christiaan Janssen
2010-10-01 13:43:41 +02:00
Kai Koehne
6929d66ff2 QmlObserver: Prevent messages from being sent if there is no server side
Actually this is fixed in QDeclarativeService::sendMessage, too, but the
fix won't be part of 4.7.1, so better double-check.

Reviewed-by: Christiaan Janssen
2010-10-01 13:43:41 +02:00
Kai Koehne
eff5ceea64 QmlJsDebugger: Remove dependency to Qt private headers being installed
Copy over the private header files to creator source tree, along the
lines of the what the designer plugin does.

Reviewed-by: Christiaan Janssen
2010-10-01 13:43:40 +02:00
Kai Koehne
f343cc4bd4 QmlJSDebugger: Update API to changes in QDeclarativeEngine
Reviewed-by: Christiaan Janssen
2010-10-01 13:43:40 +02:00
Kai Koehne
141ca58827 QmlJSDebugClient: Update library to latest changes in qt
Protocol / classes changed with commit fd9771c29d

Reviewed-by: Christiaan Janssen
2010-10-01 13:43:39 +02:00
Thomas Hartmann
9a49ad003a QmlDesigner: using QtQuick 1.0 instead of Qt 4.7
huge renaming from Qt to QtQuick
propertyeditor qml files moved from Qt to QtQuick
auotests fixed
files used in tests fixed

autotests pass

Task-number: QTCREATORBUG-2556

Reviewed-by: Kai Koehne
2010-10-01 13:21:09 +02:00
Christian Kandeler
b4af592dc0 Maemo: Make states of remote mounter explicit.
Reviewed-by: kh1
2010-10-01 12:42:06 +02:00
Jarek Kobus
d856bdf002 Update Polish translations 2010-10-01 12:17:25 +02:00
Leandro Melo
922e8e7866 Help: All candidates (considering name qualification) are already in the list.
The C++ hover handler should just iterate over the list of candidates, since
it was created by the element evaluator considering all possible name qualifications
and in the right order.

Reviewed-by: kh1
2010-10-01 11:58:02 +02:00
Leandro Melo
3e104ce405 Tooltips: Do not show -qtnamespace (if any) in the tips.
This is basically for consistency with the docs and with the html
extraction mechanism.

Reviewed-by: Roberto Raggi
2010-10-01 11:58:02 +02:00
Christian Kamm
4c0814f7de QmlJS: Update qml type definitions for qmldump changes and QtQuick module
This adds the QtQuick 1.0 module to the code model.

Reviewed-by: TrustMe
2010-10-01 10:14:29 +02:00
Christian Kamm
6f1c1af833 QmlJS: Prepare qmldump for multiply exported C++ objects.
In the future, builtin objects are going to be exported in Qt 4.7 and
QtQuick 1.0.

Reviewed-by: Roberto Raggi
2010-10-01 10:14:29 +02:00
dt
2491038f57 Qt4ProjectManager: Fix wrong expannding
Reviewed-By: ossi
2010-09-30 20:13:39 +02:00
Christian Kamm
b58ebe7d29 QmlJS indenter: Fix incorrect indent after break/continue.
Make sure to push a transitory state before leave(true) so it only
finishes the statement - and not the surrounding statement!

Reviewed-by: trustme
2010-09-30 19:03:29 +02:00
Leandro Melo
4537a7eb38 Tooltips: Avoid showing too much content.
Reviewed-by: Tobias Hunger
2010-09-30 17:44:49 +02:00
Thomas Hartmann
4c185a9ac4 QmlDesigner.model: rename id is now a proper refactoring operation
I an id is now changed in the navaigator or property editor,
we now use the qmljseditor to properly refactor.

Also I changed dynamic_cast to qobject_cast

Reviewed-by: Erik Verbruggen
2010-09-30 17:43:19 +02:00
Thomas Hartmann
2d5049645c QmlDesigner: crashfix see QTCREATORBUG-2507
Task-number: QTCREATORBUG-2507

There might be files without an import for Qt
States require "Qt"
I also added try {} catch blocks to the state editor,
to avoid issues like this.

Reviewed-by: Kai Koehne
2010-09-30 17:43:18 +02:00
dt
4428d8c3cb Session Manager: Fix crashes after renaming
Some of the buttons weren't disabled.

Reviewed-By: Leandro Melo
2010-09-30 17:21:52 +02:00
Friedemann Kleint
ce3ad3bae3 Revert unintended side effect of 111c18e353. 2010-09-30 16:54:21 +02:00
Friedemann Kleint
111c18e353 Fix Wizard page not offering the right project to add to.
Symptom of file name slashification breakage.

Reviewed-by: dt
Task-number: QTCREATORBUG-2535
2010-09-30 16:50:59 +02:00
Erik Verbruggen
5e59605c1e QMLEditor: changed quickfix to only activate on the type id. 2010-09-30 16:12:54 +02:00
Christian Kandeler
dc73e7d1bc QML file wizard: Move to new category.
Task-number: QTCREATORBUG-2510
Reviewed-by: Kai Koehne
2010-09-30 15:45:12 +02:00
Christian Kandeler
d5d2d3ea3c Maemo: Remove unused function.
Reviewed-by: kh1
2010-09-30 15:45:12 +02:00
Friedemann Kleint
a02d60bb1d Gui app wizard: Open form source instead of Qt Designer form.
Reviewed-by: hjk
2010-09-30 15:17:58 +02:00
Christian Kamm
2a750aa398 QmlJS: Succeed on the QmlDumpTool::canBuild check if private header found
To make it work with 4.7.0 developer builds.

Reviewed-by: owolff
2010-09-30 15:10:33 +02:00
Christian Kamm
00a8d9c32b QmlJS: Try to build qmldump when opening a Qml project.
To make plugin dumping work without having to compile the debugging
helpers explicitly.

Reviewed-by: Kai Koehne
2010-09-30 15:10:33 +02:00
Leena Miettinen
bb543b32a3 Doc - update managing sessions section
Task-number: QTCREATORBUG-2430

Reviewed-by: hjk
2010-09-30 15:07:00 +02:00
Leena Miettinen
beb4af4bce Doc - Using SUBDIRS variable
Task-number: QTCREATORBUG-2430

Reviewed-by: hjk

Reviewed-by: Jarek Kobus
2010-09-30 15:06:59 +02:00
kh1
997e2e5348 Some properties are not being highlighted in context sensitive help.
This happens because the may have a different name (like it's frament)
which we now look for while parsing the html for the function name.

Task-number: QTCREATORBUG-2217
Reviewed-by: ck
2010-09-30 14:42:22 +02:00
Friedemann Kleint
ac80d924c7 Custom Wizards: No files generated.
Fix breakage introduced by 65e95c3aba,
introducing a writeAccess attribute not properly initialized
in the default CT. The GeneratedFile::CustomGeneratorAttribute
exists for that purpose.

Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Task-number: QTCREATORBUG-2518
2010-09-30 14:35:44 +02:00
Pawel Polanski
e0ec2ac82e Cleanup for SymbianOS 2010-09-30 14:15:50 +02:00
Pawel Polanski
67ff313ceb Added support for not signing packages for Symbian OS
Reviewed-by: Tobias Hunger
2010-09-30 14:13:00 +02:00
Leandro Melo
cb99adfb0d Help: Fix help ids for qt built with namespaces.
This is actually a general improvement that splits the qualified names
so more help ids candidates are considered when searching in the docs.

Reviewed-by: kh1
2010-09-30 14:08:54 +02:00
Thorbjørn Lindeijer
9248e2cf46 Fixed compile on case-sensitive file systems 2010-09-30 14:02:35 +02:00
Thorbjørn Lindeijer
a51025016f Mention the semantic highlighting as an addition 2010-09-30 13:47:44 +02:00