OSDN Git Service
Christian Kamm [Thu, 20 Jan 2011 15:02:28 +0000 (16:02 +0100)]
qmldump: Produce an error message if module import fails.
Reviewed-by: Kai Koehne
Marco Bubke [Thu, 20 Jan 2011 19:35:32 +0000 (20:35 +0100)]
QmlDesigner.FormEditor: Fix repaint artefacts
Marco Bubke [Thu, 20 Jan 2011 18:13:32 +0000 (19:13 +0100)]
QmlDesigner.FormEditor: Fix crash for root type change
Marco Bubke [Thu, 20 Jan 2011 18:12:47 +0000 (19:12 +0100)]
QmlDesigner.Model: Call NodeInstanceView before other views for root type change
Marco Bubke [Thu, 20 Jan 2011 17:52:23 +0000 (18:52 +0100)]
QmlDesigner: Fix the formeditor background
Marco Bubke [Thu, 20 Jan 2011 16:50:24 +0000 (17:50 +0100)]
QmlDesigner: Add some more items from meego and symbian
Marco Bubke [Thu, 20 Jan 2011 16:49:40 +0000 (17:49 +0100)]
QmlDesigner.ItemLibrary: Fix crash for import change
Marco Bubke [Thu, 20 Jan 2011 16:45:25 +0000 (17:45 +0100)]
QmlDesigner: Restart qmlpuppet for root node change
con [Thu, 20 Jan 2011 14:28:34 +0000 (15:28 +0100)]
Make action containers aware of deleted commands.
They need to remove them from their internal structure.
con [Thu, 20 Jan 2011 13:24:44 +0000 (14:24 +0100)]
Refactor ActionContainer internals.
Make groups explicit instead of magic integer stuff.
That also makes group ordering explicit instead of magically working
(the way we happened to use it and the way unique id manager is
implemented).
Christiaan Janssen [Thu, 20 Jan 2011 14:38:21 +0000 (15:38 +0100)]
QmlJsInspector: added PropertyInspector files
Reviewed-by: Kai Koehne
Christiaan Janssen [Tue, 18 Jan 2011 16:17:17 +0000 (17:17 +0100)]
QmlJsInspector: implemented Property Inspector
Reviewed-by: Kai Koehne
Christiaan Janssen [Thu, 20 Jan 2011 11:02:40 +0000 (12:02 +0100)]
QmlJsLiveTextPreview: adjusted ast offsets for objectbindings
Reviewed-by: Kai Koehne
Erik Verbruggen [Thu, 20 Jan 2011 14:05:27 +0000 (15:05 +0100)]
Corrected fix to the FindUsages auto-tests.
Friedemann Kleint [Thu, 20 Jan 2011 13:43:06 +0000 (14:43 +0100)]
Tests: Fix compilation/plugin test.
Leena Miettinen [Thu, 20 Jan 2011 13:05:37 +0000 (14:05 +0100)]
Doc: context-menu commands in Modules and Source Files views
Reviewed-by: Friedemann Kleint
Reviewed-by: hjk
Leena Miettinen [Wed, 19 Jan 2011 14:02:27 +0000 (15:02 +0100)]
Doc: snippet editor
Reviewed-by: Leandro Melo
Friedemann Kleint [Thu, 20 Jan 2011 13:03:07 +0000 (14:03 +0100)]
Exported header cleanup.
Christian Kandeler [Thu, 20 Jan 2011 11:37:07 +0000 (12:37 +0100)]
Maemo: Adapt package names so that OVI store will accept them.
Task-number: QTCREATORBUG-3189
Christian Kamm [Thu, 20 Jan 2011 10:29:45 +0000 (11:29 +0100)]
QmlJS indenter: Fix object bindings with namespaces.
Task-number: QTCREATORBUG-3371
Reviewed-by: Roberto Raggi
Tobias Hunger [Thu, 20 Jan 2011 10:16:00 +0000 (11:16 +0100)]
Parser: Handle changed moc error reporting
Christian Kamm [Thu, 20 Jan 2011 10:03:23 +0000 (11:03 +0100)]
QmlJS: Be more efficient when looking for QML libraries.
Reviewed-by: Erik Verbruggen
Roberto Raggi [Thu, 20 Jan 2011 10:01:16 +0000 (11:01 +0100)]
Parse ambiguous postfix expressions.
Roberto Raggi [Thu, 20 Jan 2011 10:00:48 +0000 (11:00 +0100)]
Fixed unintialized variables.
Leandro Melo [Thu, 20 Jan 2011 09:42:19 +0000 (10:42 +0100)]
Temporary "feature" to allow user specific MIME types
We need a feature which allows a more flexible binding
of MIME types and editors. This is definetely not the
way to handle it, but a temporary workaround.
Reviewed-by: con
Marco Bubke [Wed, 19 Jan 2011 18:24:23 +0000 (19:24 +0100)]
QmlDesigner.FormEditor: The scene rectangle isn't set anymore
So the scene rectangle is the bounding rectangle of all items.
Marco Bubke [Wed, 19 Jan 2011 18:22:37 +0000 (19:22 +0100)]
QmlDesigner.NodeInstances: Filter duplicate nodes from list
Marco Bubke [Wed, 19 Jan 2011 14:54:06 +0000 (15:54 +0100)]
QmlDesigner: core test changes
hjk [Wed, 19 Jan 2011 18:28:16 +0000 (19:28 +0100)]
debugger: fix the handling of two stopped slaves
hjk [Wed, 19 Jan 2011 18:16:34 +0000 (19:16 +0100)]
debugger: don't show the <global> frame in qml stack
hjk [Wed, 19 Jan 2011 17:59:53 +0000 (18:59 +0100)]
debugger: make activateFrame() dispatch properly to the qml/cpp slaves
hjk [Wed, 19 Jan 2011 17:53:04 +0000 (18:53 +0100)]
debugger: in the qmldebugger, draw location marker _above_ breakpoints
Tobias Hunger [Wed, 19 Jan 2011 17:06:58 +0000 (18:06 +0100)]
P4: Do not complain about P4 when it is not installed
Remove warning message about P4 when that is not installed.
Task-number: QTCREATORBUG-3382
hjk [Wed, 19 Jan 2011 16:34:28 +0000 (17:34 +0100)]
debugger: show combined C++/QML stack
hjk [Wed, 19 Jan 2011 14:48:10 +0000 (15:48 +0100)]
debugger: remove dead code
Erik Verbruggen [Wed, 19 Jan 2011 16:19:03 +0000 (17:19 +0100)]
Fixed inconsistent highlighting of virtual destructor.
Task-number: QTCREATORBUG-3404
Tobias Hunger [Wed, 19 Jan 2011 15:51:18 +0000 (16:51 +0100)]
Symbian: Fix create package parser
Fix Parser to recognize errors in the form
(35) : error : Some message
Friedemann Kleint [Wed, 19 Jan 2011 15:50:03 +0000 (16:50 +0100)]
10n: Fix tr() issues.
Erik Verbruggen [Wed, 19 Jan 2011 15:39:28 +0000 (16:39 +0100)]
Fixed argument completion for destructors.
Task-number: QTCREATORBUG-2854
dt [Wed, 19 Jan 2011 14:46:01 +0000 (15:46 +0100)]
ProjectExplore: Introduce dis/enabling of buildconfigurations
The build actions are disabled if the buildconfiguration is disabled.
The deploy and run actions are disabled if deploying or running invokes
building automatically.
Qt4BuildConfigurations are disabled while parsing.
Task-Nr: QTCREATORBUG-2576
dt [Tue, 18 Jan 2011 16:10:48 +0000 (17:10 +0100)]
ProjectExplorer: Do not emit updateRunActions on target change
dt [Tue, 18 Jan 2011 14:51:21 +0000 (15:51 +0100)]
Session Manager: Simplfy code
hjk [Wed, 19 Jan 2011 13:34:25 +0000 (14:34 +0100)]
debugger: implement qml->c++ cross-stepping
hjk [Wed, 19 Jan 2011 13:10:50 +0000 (14:10 +0100)]
debugger: remove some debug output
Friedemann Kleint [Wed, 19 Jan 2011 13:45:25 +0000 (14:45 +0100)]
Debugger[CDB]: Fix autodetection of "Debugging Tools".
Always detected true since the existence of the file
was not checked after the last clause.
Erik Verbruggen [Wed, 19 Jan 2011 13:14:19 +0000 (14:14 +0100)]
Prevent preleminary flushes to prevent order mess-ups.
The semantic highlighter relies on the highlight ranges to be subsequent
and non-overlapping. A method body in a class nested in a method can
result in flushes before the semantic info for the enclosing method is
calculated, resulting in overlapping ranges.
Task-number: QTCREATORBUG-3364
Reviewed-by: Roberto Raggi
Friedemann Kleint [Wed, 19 Jan 2011 13:14:19 +0000 (14:14 +0100)]
CODA: Fix some messages.
hjk [Wed, 19 Jan 2011 09:48:39 +0000 (10:48 +0100)]
debugger: use 'maint print msymbols' to extract Qt's namespace
still racy
Friedemann Kleint [Wed, 19 Jan 2011 12:01:50 +0000 (13:01 +0100)]
Debugger[CDB]: Add setting for additional command line arguments.
to CDB, allowing for extensions, etc.
Christian Kandeler [Wed, 19 Jan 2011 11:41:52 +0000 (12:41 +0100)]
Maemo: Fix some qemu button behavior glitches.
Christian Kandeler [Wed, 19 Jan 2011 11:05:19 +0000 (12:05 +0100)]
Maemo: Fix initial Qemu button hiding.
Apparently, we have to hide the action /after/ creating the command.
Christian Kandeler [Wed, 19 Jan 2011 10:48:23 +0000 (11:48 +0100)]
Maemo: Fix compilation.
Friedemann Kleint [Wed, 19 Jan 2011 10:40:50 +0000 (11:40 +0100)]
Debugger[CDB]: Fixes for namespaced Qt.
Fix broken substringpredicate (temporary string reference),
fix Qt container template detection not to fall for
QMap<>::iterator (real inner class).
Christian Kandeler [Wed, 19 Jan 2011 10:06:43 +0000 (11:06 +0100)]
Maemo: Move more functionality into the new target classes.
Christian Kandeler [Wed, 19 Jan 2011 09:16:47 +0000 (10:16 +0100)]
Maemo: Make some stateless functions static.
Friedemann Kleint [Wed, 19 Jan 2011 09:25:32 +0000 (10:25 +0100)]
Debugger[CDB]: Use Qt Creator console stub instead of CDB console.
As the latter immediately closes after the debuggee quits.
Handle pressing Ctrl like DebugBreak(), switch to thread 0.
Marco Bubke [Tue, 18 Jan 2011 18:38:01 +0000 (19:38 +0100)]
QmlDesigner: Add instance test mode to test
For synchronisation to the puppet process.
Marco Bubke [Tue, 18 Jan 2011 18:36:46 +0000 (19:36 +0100)]
QmlDesigner: Fix linker error in core tests
Marco Bubke [Tue, 18 Jan 2011 17:23:28 +0000 (18:23 +0100)]
QmlDesigner.NodeInstances: Add synchronizing to instances
Marco Bubke [Tue, 18 Jan 2011 17:20:54 +0000 (18:20 +0100)]
QmlDesigner: Fix warning
Marco Bubke [Tue, 18 Jan 2011 14:01:41 +0000 (15:01 +0100)]
QmlDesigner: Test compiles again
But not linking
con [Tue, 18 Jan 2011 16:03:14 +0000 (17:03 +0100)]
Another little fix for delayed registering actions.
Make them be correctly updated regarding to current context.
Christian Kandeler [Tue, 18 Jan 2011 14:43:34 +0000 (15:43 +0100)]
Fix non-Linux compilation.
Friedemann Kleint [Tue, 18 Jan 2011 14:28:55 +0000 (15:28 +0100)]
Debugger[CDB]: Switch to thread 0 after DebugBreak().
Do not show artificial thread that is created by
DebugBreak() as it causes a switch to disassembly.
Forcibly discard the symbol group for each locals
update as the lazy creation mechanism does not trigger
on thread changes back and forth involving assembly,
which causes the symbol group to become stale.
Christian Kandeler [Tue, 18 Jan 2011 14:20:57 +0000 (15:20 +0100)]
Maemo: Introduce dedicated Fremantle and Harmattan targets.
Task-number: QTCREATORBUG-2770
Leena Miettinen [Tue, 18 Jan 2011 14:15:57 +0000 (15:15 +0100)]
Doc: starting external processes
Reviewed-by: Oswald Buddenhagen
Friedemann Kleint [Tue, 18 Jan 2011 12:48:57 +0000 (13:48 +0100)]
Debugger[CDB]: Dump QByteArray as array of unsigned chars.
Fix assignment to reference nodes (QByteArray field elements).
dt [Tue, 18 Jan 2011 12:25:42 +0000 (13:25 +0100)]
ActionManager: Fix CommandAttribute enum to actually use a bit per value
Task-Nr: QTCREATORBUG-3517
Reviewed-By: con
Jarek Kobus [Tue, 18 Jan 2011 11:18:08 +0000 (12:18 +0100)]
Include namespaces inside header guard
Task: QTCREATORBUG-2724
RevBy: Friedemann Kleint <qtc-committer@nokia.com>
Friedemann Kleint [Tue, 18 Jan 2011 10:40:45 +0000 (11:40 +0100)]
Debugger[New CDB]: Add support for "Select Widget to Watch".
in stopped state. Add helper for executing calls
to ExtensionContext including recording of output in
OutputCallback. Extend symbol resolution to return addresses
as well since QApplication::widgetAt() is ambiguous and needs
to be called by address. Add 'widgetat' extension command
to return the widget.
Nicolas Arnaud-Cormos [Tue, 18 Jan 2011 09:20:26 +0000 (10:20 +0100)]
Macros: add different shortcuts for mac.
Also change the default "Execute last macro" to a one sequence shortcut.
Merge-request: 234
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Task-number: QTCREATORBUG-3500
hjk [Tue, 18 Jan 2011 08:46:32 +0000 (09:46 +0100)]
debugger: fix crash on exit
Friedemann Kleint [Tue, 18 Jan 2011 07:23:07 +0000 (08:23 +0100)]
Maemo: Fix compilation.
Christian Kandeler [Mon, 17 Jan 2011 18:43:59 +0000 (19:43 +0100)]
Maemo: Make use of new Qt4MaemoTarget class.
This allows us to get rid of MaemoTemplatesManager, which was a bit of
a crutch from the beginning.
con [Mon, 17 Jan 2011 17:23:48 +0000 (18:23 +0100)]
Remove unused internal "CommandLocation".
Kai Koehne [Mon, 17 Jan 2011 14:30:38 +0000 (15:30 +0100)]
QmlProject: Fix issue where qmlviewer is launched with directory as argument
This happened when 'Current File' was set in the settings, but no .user.settings
existed.
Kai Koehne [Mon, 17 Jan 2011 14:06:16 +0000 (15:06 +0100)]
Qt4Project: Clean up DebugHelperBuildTask
Make sure that the QtVersion object isn't referenced any more in
the separate thread: It might be deleted / altered while the thread is
running. Also let QmlDump use the class, instead of relying on it's
own implementation.
Reviewed-by: ckamm
Kai Koehne [Mon, 17 Jan 2011 12:50:47 +0000 (13:50 +0100)]
Qt4Project: Move DebuggingHelperBuildTask into separate file
Leandro Melo [Mon, 17 Jan 2011 15:29:57 +0000 (16:29 +0100)]
C++ editor: Try to find a help item if there is a syntax error
Task-number: QTCREATORBUG-2674
Friedemann Kleint [Mon, 17 Jan 2011 15:33:31 +0000 (16:33 +0100)]
Debugger: Fix 'Select widget to watch' on Windows.
hjk [Mon, 17 Jan 2011 15:27:34 +0000 (16:27 +0100)]
debugger: use 'struct QWidget' to make gdb happy. Again.
hjk [Mon, 17 Jan 2011 14:52:44 +0000 (15:52 +0100)]
debugger: remove dead enum
Pawel Polanski [Mon, 17 Jan 2011 15:01:55 +0000 (16:01 +0100)]
Symbian: Disable device information while using CODA
dt [Mon, 17 Jan 2011 14:54:49 +0000 (15:54 +0100)]
Fix last commit
hjk [Mon, 17 Jan 2011 14:23:22 +0000 (15:23 +0100)]
debugger: fix the ShowQtNamespace option in the Locals & Watchers window
hjk [Mon, 17 Jan 2011 14:15:19 +0000 (15:15 +0100)]
debugger: code cosmetics
hjk [Mon, 17 Jan 2011 14:11:11 +0000 (15:11 +0100)]
debugger: extract qt namespace before running the inferior.
hjk [Mon, 17 Jan 2011 14:09:23 +0000 (15:09 +0100)]
debugger: make qt namespace retrieval more robust
hjk [Mon, 17 Jan 2011 13:41:27 +0000 (14:41 +0100)]
debugger: remove CDB specific bits that are not used anymore
dt [Mon, 17 Jan 2011 14:17:44 +0000 (15:17 +0100)]
Qt4ProjectManager: Do not loop endless if the defaöt mkspec is broken
Reported on irc.
Friedemann Kleint [Mon, 17 Jan 2011 14:18:13 +0000 (15:18 +0100)]
Debugger[New CDB]: Ignore only first WOW64 breakpoint.
Subsequent ones are caused by interrupts.
Friedemann Kleint [Mon, 17 Jan 2011 13:50:49 +0000 (14:50 +0100)]
Debugger[New CDB]: Qualify types in watch expressions by module.
... to make them faster. Check for watch expressions
of the form '*(Type *)0xaddr' and insert module for non-PODs.
Add testing command.
Erik Verbruggen [Mon, 17 Jan 2011 13:41:19 +0000 (14:41 +0100)]
Fixed the line retreival for find-usages.
Instead of using the pre-processed source, the original one is used.
This makes a difference when a macro is used in the line, where the pre-
processed source would have a "#gen true" token.
Task-number: QTCREATORBUG-3345
Pawel Polanski [Mon, 17 Jan 2011 13:41:00 +0000 (14:41 +0100)]
Symbian: Inform the user about Smart Installer's manual installation
dt [Mon, 17 Jan 2011 13:17:32 +0000 (14:17 +0100)]
Fix some style issues
dt [Fri, 14 Jan 2011 16:03:58 +0000 (17:03 +0100)]
Target Selector: paint en/disabled state of add remove button
dt [Fri, 10 Dec 2010 18:02:19 +0000 (19:02 +0100)]
Qt4projectManager: Refactor Qt4Target, split up in per target classes
Almost(*) all of the symbian and maemo specific code is now theoretically
moveable to a separate plugin. Thus making it possible to implement
new targets in a plugin.
(*) Noteable missing is the qtversion, which needs to be split up
per target too.
Also fixes
Task-Nr: QTCREATORBUG-2440
Reviewed-By: hunger
Reviewed-By: ck
dt [Mon, 13 Dec 2010 14:41:42 +0000 (15:41 +0100)]
Remove dead code
con [Mon, 17 Jan 2011 12:52:14 +0000 (13:52 +0100)]
Add "never ask again" option to dialog asking about killing applications
The option is used for the stop button in the application output.
Closing tabs will still ask unconditionally, also if applications would
be killed as a side-effect, e.g. of closing Qt Creator.
The Symbian controls also always ask, with a more descriptive text,
because killing applications might have negative effect on the device in
some cases.
Reviewed-by: Friedemann Kleint
Task-number: QTCREATORBUG-3119
Erik Verbruggen [Mon, 17 Jan 2011 12:39:41 +0000 (13:39 +0100)]
Fix find-usages in template classes.
The problem was that the scope of the class declaration in a template-class
declaration is the template, not the scope in which that template is defined.
The scope-check was not taking this into account.
Task-number: QTCREATORBUG-3183
Reviewed-by: Roberto Raggi