Commit Graph

16420 Commits

Author SHA1 Message Date
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
Leandro Melo
4261878a64 Tooltips: Fix for first paragraph without punctuation
Task-number: QTCREATORBUG-3464
2011-01-17 10:27:54 +01:00
hjk
61f708cfee debugger: slaveEngineStateChanged should and can now be private 2011-01-17 10:07:33 +01:00
hjk
331ebd5be1 debugger: simplify combined state handling 2011-01-17 10:07:33 +01:00
hjk
13caaabaff debugger: remove InferiorStopSpontaneous state again 2011-01-17 10:07:33 +01:00
hjk
8175f19fc8 qmldebugger: sanitize log message 2011-01-17 10:07:33 +01:00
hjk
bdfe2ed53b debugger: remove EngineRunOk state again 2011-01-17 10:07:33 +01:00
hjk
cdee3dc6cd debugger: some start up state consolidation 2011-01-17 10:07:33 +01:00
hjk
f245ee6fb5 debugger: finish combined shutdown properly 2011-01-17 10:07:32 +01:00
Friedemann Kleint
7bae5dd556 Debugger: Fix action to remove all watch items. 2011-01-17 09:12:37 +01:00
Friedemann Kleint
2f6a86d6a5 Debugger: Add some menu actions.
- Windows: Inspect a module by running depends.
- Clear all watches.
2011-01-14 17:28:37 +01:00
hjk
1aef962e5a debugger: first shot at combined cpp/qml stepping 2011-01-14 17:09:18 +01:00
hjk
349ff0f1c7 debugger: disable the display of the breakpoint 'extra' field
Too distracting for now.
2011-01-14 17:09:18 +01:00
Friedemann Kleint
3a87af8ada Debugger[New CDB]:Introduce watches infrastructure.
- Move the 'current module' into the Node
- Split symbol group hierarchy into LocalsSymbolGroup
  tied to frame/thread and a separate, scopeless
  WatchesSymbolGroup
- Add infrastructure for removing symbols from a SymbolGroup,
  doing the index bookkeeping.
- Add method to synchronize watches to  WatchesSymbolGroup
  (iname/name map).
- Introduce watches commands for adding and dumping.
- Extend locals command to get watches as well.
- Add a dummy 'ErrorSymbolGroupNode' to use in case
  insertion fails.
2011-01-14 16:53:05 +01:00
Leandro Melo
7968853f1a Snippets: Check for content change on apply
Cannot rely on the focus out event (on Mac) in the
situation where a snippet is added/edited and the
dialog is immediately confirmed.

Reviewed-by: con
Task-number: QTCREATORBUG-3464
2011-01-14 16:33:28 +01:00
Christian Kandeler
30b036502b Maemo: Don't use Q_WS_MAEMO_6.
This symbol does not exist.

Task-number: QTCREATORBUG-3485
2011-01-14 15:45:53 +01:00
Christian Kandeler
d17abda918 Maemo: Correctly initialize device configuration for new deploy step. 2011-01-14 14:57:52 +01:00
Christian Kandeler
f71d0c0ae9 Maemo: Fix device name update in deployment widget. 2011-01-14 14:57:52 +01:00
hjk
9ff17a8208 debugger: update state diagram 2011-01-14 14:41:01 +01:00
Friedemann Kleint
763eac5304 Symbian: Fix warnings. 2011-01-14 14:34:13 +01:00
hjk
9e0c8ba8b4 compile fix 2011-01-14 14:35:41 +01:00
hjk
7195c6b5ad debugger: re-do state transitions in combined C++/Qml engine
This still needs a lot of work and sanitizing.
2011-01-14 14:28:36 +01:00
hjk
adf74394bb debugger:compile fix for -no-stl'ed Qt 2011-01-14 14:28:36 +01:00
hjk
91b89dd6af fakevim: adjust standalone version to recent removal of fakvimsyntax.{h,cpp} 2011-01-14 14:28:36 +01:00
hjk
7205c84da2 qt4projectmanager: make it compile with -no-stl'd Qt. 2011-01-14 14:28:36 +01:00