Commit Graph

13662 Commits

Author SHA1 Message Date
Thiago Macieira
7e48b8e5be Remove one hack of the QTipLabel hack.
This code used two hacks: it created a class with
metaObject()->className() == "QTipLabel" to fool the code in Qt into
applying the style properly to this class.

But it did that by creating a class called QTipLabel. This works as
long as the class in Qt is hidden by symbol visibility. When symbol
visibility is disabled (for whatever reason), then Creator simply
crashes due to size mismatches and memory corruptions (virtual tables,
etc.)

This patch makes the class be called TextEditor::Internal::QTipLabel,
but fools moc into thinking it isn't.

A proper solution would be to simply override the meta object.

Signed-off-by: Leandro Melo <leandro.melo@nokia.com>
2010-08-31 19:16:47 +02:00
Leandro Melo
67d0ab3fac Remove option to extend tooltips. 2010-08-31 19:04:52 +02:00
Leandro Melo
ba12a3390e Refactor how base hover handler manipulates the help items (qt docs interaction). 2010-08-31 19:04:52 +02:00
Lasse Holmstedt
db7bf9a806 Debugger: Removed unused methods 2010-08-31 17:34:03 +02:00
Leena Miettinen
972929cf8e Doc - Add link to practical information and code examples on how to minimize power consumption of Qt apps. 2010-08-31 17:26:46 +02:00
Leena Miettinen
14202b3944 Doc - Add information about the Help mode, adding bookmarks, and detaching the help window. Add screen shots. 2010-08-31 17:01:04 +02:00
Lasse Holmstedt
7c1f9fba8b Debugger: Disable auto switching of debugger languages based on qmlfiles 2010-08-31 16:49:00 +02:00
Olivier Goffart
c685c87fd1 QmlDebugger: small polish the UI
Reorder the tab widgets so the inspector show up by default
when debugging QML
2010-08-31 15:39:41 +02:00
Christian Kandeler
133b8483c8 QML standalone wizard: Add support for Maemo5 application icon.
Reviewed-by: Alessandro Portale
2010-08-31 15:40:28 +02:00
Friedemann Kleint
1d45330153 Wizards: Fix custom wizards (fix up delayed creation).
Fixes e5f60a956f
2010-08-31 14:34:09 +02:00
Lasse Holmstedt
7607f2ffbe Debugger UI: Removed debug language detection on mode change
It did more harm than good. Now, the auto detection is only done on
run control change - this is something that Creator could also remember.
2010-08-31 14:05:33 +02:00
Lasse Holmstedt
5ac7825856 DebuggerUI: Language selection mutual exclusive if lang is deselected 2010-08-31 13:36:55 +02:00
Friedemann Kleint
439917e768 Debugger: Add a stage graph usable for GraphViz.
Rubber-stamped-by: hjk
2010-08-31 12:49:51 +02:00
Kai Koehne
1019d38944 QmlOutline: Fix QTC_ASSERTs
Initialize e.g. m_itemToNode before the view calls back to the model.
2010-08-31 10:58:08 +02:00
Christian Kamm
f3f3b96c85 QmlJS: Improve performance by avoiding two links in SemanticHighlighter.
Reviewed-by: Roberto Raggi
2010-08-31 10:39:07 +02:00
Christian Kamm
2e8ec2f9e6 QmlJS: Fix performance problem in Snapshot.
Don't use QMultiHash::values(key), it rebuilds the values list from
scratch for each lookup.

Reviewed-by: Roberto Raggi
2010-08-31 10:25:02 +02:00
Lasse Holmstedt
3499fcb18e QML Inspector: Remove check for files being in project
Did not work e.g. for projects where non-project files are loaded.
2010-08-31 10:11:12 +02:00
Christian Kamm
1862282bee C++ indenter: Fix nested array/struct initializers. 2010-08-31 09:45:01 +02:00
dt
16367a03ca Session Dialog: Fixes italic/bold after adding new/cloning sessions
Task-Nr: QTCREATORBUG-2069
2010-08-30 18:48:39 +02:00
Olivier Goffart
d8d46ed1d9 qmljsinspector: small code cleanup 2010-08-30 18:41:14 +02:00
Christian Kandeler
0fe26e80c5 Maemo: Add default icon name to desktop file. 2010-08-30 17:58:36 +02:00
Christian Kandeler
cb11e601d3 Maemo: Remove version specification from Debian Build-Depends field. 2010-08-30 17:58:36 +02:00
Christian Kandeler
18270ca432 Maemo: Add safety check.
Apparently, the sender can still be null even though it's deleted
via deleteLater().
2010-08-30 17:58:36 +02:00
Christian Kandeler
b74eb892c6 Maemo: Partly revert 8fe7ac8940.
This is needed for sourve packages, but interferes with binary ones.
2010-08-30 17:58:36 +02:00
Leena Miettinen
c466e841b5 Doc - Describe the new deployment options. Update screen shots.
Reviewed-by: Christian Kandeler
Reviewed-by: Tobias Hunger
2010-08-30 17:25:26 +02:00
dt
488e8334cd Sort names in mini target selector
Task-Nr: QTCREATORBUG-1935
2010-08-30 17:12:40 +02:00
dt
cce21d430d Don't run if the qmake arguments are just in a different order
The code is technically incorrect and easy to fool.
See the comment in the patch.
2010-08-30 16:47:34 +02:00
dt
82e137763e More optional debug output for import bc 2010-08-30 16:47:34 +02:00
dt
24f12ede99 The Minitargetselector shouldn't set a new startup project
Instead let the project explorer plugin handle that.

Reviewed-By: danimo
2010-08-30 16:47:34 +02:00
dt
b68a57b23e Don't import QMLINSPECTOR_PATH qmake settings.
Task-Nr: QTCREATORBUG-2209
2010-08-30 16:47:34 +02:00
Tobias Hunger
a1e103c28d Make configuration name more visible
* Make the name of the configuration about to be removed more visible.
2010-08-30 16:46:40 +02:00
hjk
df0c17b4aa debugger: partially rever Qml&C++ action enabling logic 2010-08-30 16:40:59 +02:00
hjk
e3cc2104af debugger: add a few comments describing caches used in dumper.py 2010-08-30 16:14:41 +02:00
hjk
3515f51f22 debugger: fix after mis-merge 2010-08-30 15:58:42 +02:00
Tobias Hunger
953be6fc07 Update Qt name when a qmake path is given
* Update the Qt name when entering the path to qmake via the text edit.
   Behaviour matches what used to happen when selecting qmake via
   the file browser now.

Task-number: QTCREATORBUG-2145
2010-08-30 15:12:00 +02:00
Tobias Hunger
76008cdaa3 Do not save unconfigured Qt versions
Do not save Qt versions without a qmake set. Makes no sense to keep
those.
2010-08-30 15:11:59 +02:00
Christian Kamm
8de03ac2dd QmlJS: Fix code completion when no semantic info is available. 2010-08-30 14:49:58 +02:00
Thiago Macieira
25fe059d0a Compile with Intel CC: GCC isn't the only compiler for Linux.
Reviewed-By: Trust Me
2010-08-30 14:35:34 +02:00
Olivier Goffart
437ec03a35 Qml Debugger: fix the fact that the selection rectangle is not updated.
This happened if the file is openned after the debugger has started
2010-08-30 14:10:27 +02:00
Christian Kamm
88601712c6 QmlJS: Make ScopeChain more const-correct.
We don't want people modifying the shared component chain on a
const Context *.
2010-08-30 14:12:06 +02:00
Christian Kamm
f49a85953b QmlJS: Compute link in SemanticHightlighter thread instead of lazily.
It's used very often, so lazy computation (potentially in the gui
thread) was too expensive.

Reviewed-by: Kai Koehne
2010-08-30 13:49:23 +02:00
Christian Kamm
32bb7bffc0 QmlJS: Add missing null checks before using scopeChain().qmlTypes. 2010-08-30 13:35:35 +02:00
Tobias Hunger
bfad59df64 Make cloning of BuildConfigurations work again
Task-number: QTCREATORBUG-2207
2010-08-30 12:26:27 +02:00
Olivier Goffart
d7fb215e2e qml debugger: Use a hash table to store the debugId
This should speed up the matching between the AST nodes and the debugIds
2010-08-30 12:21:27 +02:00
Christian Kamm
654d94a8c1 QmlJS: Fix uses of ids not being updated correctly.
updateUses() has to be called for cursor position changes.

Done-with: Kai Koehne
2010-08-30 12:11:22 +02:00
Tobias Hunger
fef32dff44 Ask the user before removing Build-/Deploy- and RunConfigurations
Task-number: QTCREATORBUG-2208
2010-08-30 12:06:47 +02:00
hjk
979adca16c debugger: fix display of children of 'bald' poiters
Task-number: QTCREATORBUG-2125
2010-08-30 11:59:09 +02:00
hjk
e62a2199df debugger: use early returns in putItemHelper to simplify code 2010-08-30 11:44:23 +02:00
Oswald Buddenhagen
0c5d6dbbc2 deconvolute project file conditionals 2010-08-30 11:37:29 +02:00
Tobias Hunger
7b7a974ee8 Fix output parser misinterpreting "At top level:" messages
* Fix the GCC output parser misinterpreting "At top level" messages
   as Errors instead of a simple message.
 * Add unit test to cover this

Task-number: QTCREATORBUG-2202
2010-08-30 11:23:30 +02:00