Commit Graph

3613 Commits

Author SHA1 Message Date
Friedemann Kleint
005b0a9a68 Fix exit crash when having context help open.
Add a shutdown()-notification to MainWindow and
reset the context in it.

Task-number: 256386
Reviewed-by: con <qtc-committer@nokia.com>
2009-06-23 14:59:01 +02:00
Friedemann Kleint
cc58713361 Add a fake dereferencing item '*' to CDB for dumping QString*, etc.
Simplify the symbol group recursion to oblivion and make
it parametrizable with predicates to control recursion and
further processing. Most importantly, insert a parent item
BEFORE its child item (ignoring for now the fact that child recursion
might fail), making it possible to check and do magic on the parent,
disabling further handling by the symbol context. Dumper handling
can then kick in and handle pointed-to dumpeable items by inserting
fake dereferencing items.
Remove logic to detect already expanded items, just re-insert the
children if the handler asks for it.
2009-06-23 13:43:23 +02:00
Oswald Buddenhagen
34197e361b make the bounds check in BreakpointHandler::at() an assert 2009-06-23 11:44:52 +02:00
Oswald Buddenhagen
d131e2014c remove reentrancy guard from attemptBreakpointSynchronization()
there is no way it could happen
2009-06-23 11:44:52 +02:00
Oswald Buddenhagen
283ceee01b reset all variables in resetBreakpoints() 2009-06-23 11:44:52 +02:00
Oswald Buddenhagen
3402c1114f consolidate identical #ifdef branches 2009-06-23 11:44:52 +02:00
dt
a2e7d101ef Some further reodering in the build menu.
Details: I want to have a way to run individual build steps stand alone.
This is partly in preparation for that.
2009-06-23 11:17:06 +02:00
dt
eef9f27bae Remove "Go to Task Window" from the build menu
This looks like a relict from a much earlier version.
2009-06-23 11:16:43 +02:00
dt
daaf652fcd Add a way to configure what cleaning does.
Task-Nr: 235965
2009-06-23 11:16:43 +02:00
Erik Verbruggen
4b6130fe39 Fixed compile problem on MacOS. 2009-06-23 11:03:13 +02:00
hjk
f790d9ce29 debugger: fix <shadowed> variable display 2009-06-23 10:43:17 +02:00
hjk
69f58777c2 debugger: also simplify diplayed type of nested std::containers 2009-06-23 10:25:06 +02:00
con
3a851daf2c Activating Locator when already in the locator window didn't work.
For example when you typed Ctrl+l and find that you don't want to use
the goto line filter after all.
2009-06-22 18:13:33 +02:00
Friedemann Kleint
2f7b3e1257 Fix overwriting of new license header template. 2009-06-22 16:27:06 +02:00
Friedemann Kleint
696cfa0432 Add a license template setting to the CppTools settings.
Acked-by: con <qtc-committer@nokia.com>
2009-06-22 16:22:15 +02:00
Thorbjørn Lindeijer
1b168b686d Fixed colors of function argument hint with some palettes
Bad idea to hardcode the background color. Now using the style directly
to draw a fake tooltip as background for the function argument hint.

Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
2009-06-22 14:14:05 +02:00
Friedemann Kleint
f63b4a68a4 Move toolchain detecting code to its proper place. 2009-06-22 12:59:27 +02:00
dt
e2972a74a6 Fix bug in Toolchain::equals(), removing unecessary toolchain creations
This will result in a speedup.
2009-06-22 12:45:13 +02:00
Friedemann Kleint
bdfd71661c Replace int WatchData::childCount by bool ...hasChildren in Debugger.
...making engine implementations easier.
Acked-by: hjk <qtc-committer@nokia.com>
2009-06-22 11:35:08 +02:00
con
75709964ab Use QMetaObject::invokeMethod instead of signal-slot hack. 2009-06-20 07:10:31 +02:00
Friedemann Kleint
2508fa03a0 Make the "prompt to submit" setting a per-plugin one.
Provide a checkable message box to be able to turn
prompting off when asked.
2009-06-19 16:34:38 +02:00
hjk
e05505613a debugger: sort alphebetically in watch view (again...) 2009-06-19 15:53:46 +02:00
hjk
a4d2666b8d debugger: fix dumper for QList<T*> 2009-06-19 15:13:26 +02:00
Roberto Raggi
298b6ac520 Oops, restore the value of blockErrors() 2009-06-19 14:48:07 +02:00
hjk
920880eb96 debugger: fix crash on "recheck debugging helper" when not debugging 2009-06-19 13:11:08 +02:00
Friedemann Kleint
a360c65e4d Made CDB use colored output and add LogWarning. 2009-06-19 12:47:23 +02:00
Roberto Raggi
cf2125e045 Added a few more defines 2009-06-19 12:44:32 +02:00
Roberto Raggi
20545fd4b1 Fixed more template-id vs expressions ambiguites. 2009-06-19 12:39:32 +02:00
hjk
3545c822c9 debugger: put some color into the outputpane 2009-06-19 12:05:23 +02:00
Roberto Raggi
0c03c1b9f9 Fixed template-id vs binary expression followed by a C-cast expression ambiguity. 2009-06-19 11:59:26 +02:00
Roberto Raggi
b4a27f6995 Added test tst_AST::condition_1() 2009-06-19 11:23:30 +02:00
Roberto Raggi
e6d0f2ca0c Fixed the auto tests. 2009-06-19 11:19:56 +02:00
Friedemann Kleint
aed9367960 Prevent CDB engine from being started several times. 2009-06-19 11:07:38 +02:00
con
d7dbb27f0d Merge commit 'origin/1.2' 2009-06-19 10:19:05 +02:00
hjk
fba1d8d8f3 debugger: slightly more correct wording of the debugger helper explanation 2009-06-19 09:31:21 +02:00
dt
f5407fb81e Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-06-18 18:09:21 +02:00
dt
ac5736e558 Add a copy full path to clipboard to open edtiors combobox
As requested on irc, and another common IDE has it at the same place. I
wonder whether we should have more options in that context menu. I
mainly put this in, because we don't have a good way to copy that full
path and I don't see a particular nice way to add it. Though I dislike
that it is only available in the context menu.
2009-06-18 18:09:08 +02:00
con
0a803f5ef5 Lazy updating of file list in CurrentProjectFilter. 2009-06-18 18:04:54 +02:00
con
b5edc14b09 Do lazy updating of the file list in AllProjectsFilter. 2009-06-18 18:04:53 +02:00
Roberto Raggi
9c038180d8 Improved compatibility with the gcc extensions. 2009-06-18 17:49:17 +02:00
dt
1589fcf6ad Add a context menu to the open editors widget in the navigation pane
In it: Close Editor, Close Other Editors except me, Close All Editors.

Task-Nr: 256275
2009-06-18 16:30:44 +02:00
mae
c3c98cca78 make zoom-in store the new size permanently in the settings. 2009-06-18 16:13:20 +02:00
Friedemann Kleint
12ac317d0a Obtain the toolchain type and choose debugger engine accordingly. 2009-06-18 15:16:18 +02:00
dt
f55632fccc If we can't figure out the mimetype, fall back to text/plain.
We are after all a text editor on steroids. That is people might want to
edit text files that don't have a ending we know.
2009-06-18 14:57:52 +02:00
dt
10868e107e Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-06-18 14:30:27 +02:00
dt
4637d56284 Don't ask to reload the file, if the user uses git/undo or git/revert.
Simply do it.

Task-Nr: 254558
2009-06-18 14:30:04 +02:00
Roberto Raggi
9a8e724f15 Don't search for undefined symbols in ambiguous typeof expressions. 2009-06-18 14:22:06 +02:00
Roberto Raggi
44aa96fcf5 Disable the undefined-type check for all the C-cast expressions. 2009-06-18 14:14:17 +02:00
Daniel Molkentin
f29f2c551a Adding a note at the end of the tutorial and removed unused statements in docs. 2009-06-18 13:55:17 +02:00
hjk
d8b589ceff debugger: remove QtGui dependency from debugging helpers
It was only used for the watch-QImage-while-it-is-being-drawn-on feature,
which does not seem overly useful.
2009-06-18 13:39:19 +02:00