Commit Graph

16444 Commits

Author SHA1 Message Date
Friedemann Kleint
3af8188784 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.
2011-01-19 10:25:32 +01:00
Marco Bubke
4bcd401092 QmlDesigner: Add instance test mode to test
For synchronisation to the puppet process.
2011-01-18 19:38:01 +01:00
Marco Bubke
272b86a8de QmlDesigner: Fix linker error in core tests 2011-01-18 19:36:46 +01:00
Marco Bubke
930cf34dc6 QmlDesigner.NodeInstances: Add synchronizing to instances 2011-01-18 18:23:43 +01:00
Marco Bubke
f5636f88e9 QmlDesigner: Fix warning 2011-01-18 18:23:43 +01:00
Marco Bubke
4dc17bc1bb QmlDesigner: Test compiles again
But not linking
2011-01-18 18:23:43 +01:00
con
0a8af1720d Another little fix for delayed registering actions.
Make them be correctly updated regarding to current context.
2011-01-18 17:03:33 +01:00
Christian Kandeler
bae2cefc45 Fix non-Linux compilation. 2011-01-18 15:44:13 +01:00
Friedemann Kleint
cd3b6c7b23 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.
2011-01-18 15:34:58 +01:00
Christian Kandeler
f0a54abf6b Maemo: Introduce dedicated Fremantle and Harmattan targets.
Task-number: QTCREATORBUG-2770
2011-01-18 15:22:12 +01:00
Leena Miettinen
45e69d2e2a Doc: starting external processes
Reviewed-by: Oswald Buddenhagen
2011-01-18 15:16:43 +01:00
Friedemann Kleint
786560b39e Debugger[CDB]: Dump QByteArray as array of unsigned chars.
Fix assignment to reference nodes (QByteArray field elements).
2011-01-18 13:49:39 +01:00
dt
bbb097c322 ActionManager: Fix CommandAttribute enum to actually use a bit per value
Task-Nr: QTCREATORBUG-3517
Reviewed-By: con
2011-01-18 13:26:00 +01:00
Jarek Kobus
0c60770fab Include namespaces inside header guard
Task: QTCREATORBUG-2724
RevBy: Friedemann Kleint <qtc-committer@nokia.com>
2011-01-18 12:20:00 +01:00
Friedemann Kleint
11c6ca71ac 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.
2011-01-18 11:40:45 +01:00
Nicolas Arnaud-Cormos
a471f54240 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
2011-01-18 10:20:31 +01:00
hjk
8a9debda94 debugger: fix crash on exit 2011-01-18 09:47:17 +01:00
Friedemann Kleint
636057b44b Maemo: Fix compilation. 2011-01-18 08:23:07 +01:00
Christian Kandeler
ce0da603e8 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.
2011-01-17 19:45:42 +01:00
con
684f8725e1 Remove unused internal "CommandLocation". 2011-01-17 18:24:11 +01:00
Kai Koehne
b94d100ebd 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.
2011-01-17 17:42:02 +01:00
Kai Koehne
0b74844474 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
2011-01-17 17:42:02 +01:00
Kai Koehne
5b90d82acc Qt4Project: Move DebuggingHelperBuildTask into separate file 2011-01-17 17:42:02 +01:00
Leandro Melo
bcaf20319d C++ editor: Try to find a help item if there is a syntax error
Task-number: QTCREATORBUG-2674
2011-01-17 16:35:04 +01:00
Friedemann Kleint
51c4740266 Debugger: Fix 'Select widget to watch' on Windows. 2011-01-17 16:33:31 +01:00
hjk
fb25e295ef debugger: use 'struct QWidget' to make gdb happy. Again. 2011-01-17 16:27:58 +01:00
hjk
75bc676c52 debugger: remove dead enum 2011-01-17 16:27:58 +01:00
Pawel Polanski
5f840cb7a2 Symbian: Disable device information while using CODA 2011-01-17 16:03:18 +01:00
dt
6422b1193f Fix last commit 2011-01-17 15:55:14 +01:00
hjk
199361834b debugger: fix the ShowQtNamespace option in the Locals & Watchers window 2011-01-17 15:38:01 +01:00
hjk
d4ee5af764 debugger: code cosmetics 2011-01-17 15:24:14 +01:00
hjk
72671f1463 debugger: extract qt namespace before running the inferior. 2011-01-17 15:24:14 +01:00
hjk
fa304b45e5 debugger: make qt namespace retrieval more robust 2011-01-17 15:24:14 +01:00
hjk
ad2be7e4dc debugger: remove CDB specific bits that are not used anymore 2011-01-17 15:24:14 +01:00
dt
56a1e1099b Qt4ProjectManager: Do not loop endless if the defaöt mkspec is broken
Reported on irc.
2011-01-17 15:19:30 +01:00
Friedemann Kleint
8108bb0c89 Debugger[New CDB]: Ignore only first WOW64 breakpoint.
Subsequent ones are caused by interrupts.
2011-01-17 15:18:13 +01:00
Friedemann Kleint
7d72445bc0 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.
2011-01-17 14:52:04 +01:00
Erik Verbruggen
dea74862d3 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
2011-01-17 14:47:20 +01:00
Pawel Polanski
673f9871ba Symbian: Inform the user about Smart Installer's manual installation 2011-01-17 14:42:00 +01:00
dt
5bc7652cf6 Fix some style issues 2011-01-17 14:17:32 +01:00
dt
dbf7a1f52d Target Selector: paint en/disabled state of add remove button 2011-01-17 14:13:58 +01:00
dt
67cfb7e078 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
2011-01-17 14:13:40 +01:00
dt
77bf0c17c5 Remove dead code 2011-01-17 14:12:40 +01:00
con
edd7224cd6 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
2011-01-17 13:52:33 +01:00
Erik Verbruggen
daafa533d6 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
2011-01-17 13:42:45 +01:00
Pawel Polanski
5ca2d6990a Symbian: CODA logging service has been enabled 2011-01-17 12:47:01 +01:00
hjk
5aebd173ad debugger: make 'watch widget-by-mouseclick' work again
This was the last feature that was only available in the compiled dumpers.
2011-01-17 12:28:34 +01:00
hjk
50ea7ab354 debugger: remove some debug output 2011-01-17 12:28:32 +01:00
Christian Kandeler
d2a9631206 Maemo: Fix deployment signal handling. 2011-01-17 12:07:07 +01:00
Friedemann Kleint
e601b3c7cb Debugger: Adapt graphviz graph. 2011-01-17 10:36:34 +01:00