Commit Graph

5828 Commits

Author SHA1 Message Date
hjk
80a112f677 debugger: make QVariant dumper compile with QT_NO_SHORTCUT 2009-11-12 09:25:42 +01:00
hjk
2df118c1a7 debugger: add autotest for QSet dumper 2009-11-12 09:25:42 +01:00
hjk
79789d4feb debugger: let dumpers override reported inames 2009-11-12 09:25:41 +01:00
hjk
cfc525d73b debugger: add autotest involving a typedef 2009-11-12 09:25:41 +01:00
Daniel Molkentin
c27d5cc164 fix prl names, also include debug versions.
Reviewed-By: con
2009-11-11 17:31:40 +01:00
Friedemann Kleint
8335a06ed4 Code model: Update on changes from the versioning system.
Add changed signals to IVersionControl and
VCSManager and wire them to the update methods. Add a menu action for
manually updating. Improved version of reverted
7aa2411693.

Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2009-11-11 14:32:54 +01:00
Oswald Buddenhagen
4d45ad0003 always clear pending command queue before posting shutdown commands
this ensures that, among other things, we won't get into this scenario:
- process is running
- interrupt is requested by user
- termination is requested by user
- before interrupt takes effect, the process terminates
=> shutdown is called
=> exit is also queued, as there is already a queued kill
=> nothing happens, as there will never be a stop response

Reviewed-by: hjk
2009-11-11 12:41:06 +01:00
Oswald Buddenhagen
5bd5fa63bf be more lenient when matching the stops at _start
archer reports stops at tbreaks properly, so checking for an empty stop
reason is no particularly good idea. instead, we simply skip *all* stops
at the entry point, assuming the user will not really set a breakpoint
there anyway.

Reviewed-by: hjk
2009-11-11 11:42:12 +01:00
con
e4b1a25dd2 Revert "Code model: Update on changes from the versioning system."
This reverts commit 7aa2411693.
It breaks the code model updates completely. So reverting this change
until we have the right thing.

Reviewed-by: Roberto Raggi
2009-11-10 18:19:37 +01:00
Thorbjørn Lindeijer
3cd7f49e71 Fixed search results handling of font height
This patch makes sure that the rows that show the file and the rows that
show the results are the same height, to satisfy the uniform row heights
setting.

Also, a layout changed signal is now emitted when the font is changed.
This makes active search results update correctly when the text editor
font is changed.

Reviewed-by: con
2009-11-10 18:13:41 +01:00
Thorbjørn Lindeijer
6a9e7ab0f4 Fixed the direction in which include paths are traversed
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2009-11-10 18:13:41 +01:00
Daniel Molkentin
b71be596aa Adjust qtlibspatcher to new pathnames, change purpose of qpatch
qpatch should not try to rename debug symbols, but modify the prl
files instead. This purely replaces forward-slashed pathes. The
pathes in the debugging symbols use backslashes and are not touched.

Reviewed-By: con
2009-11-10 17:49:50 +01:00
mae
2fba3888dc Fix combobox tooltip and lock-button visibility for empty editor views
Reviewed-by: con
2009-11-10 17:13:44 +01:00
Jarek Kobus
4e4adc865a Provide disambiguations for "unknown" string 2009-11-10 16:22:40 +01:00
Tobias Hunger
5fa7d54ea4 Quote CDB_PATH.
When setting CDB_PATH via the environment.

Reviewed-By: ossi
(cherry picked from commit e288c4c4e7)
2009-11-10 14:46:41 +01:00
Oswald Buddenhagen
cb4b139148 track shared library events even on gdb < 7
this is to update breakpoint, source and module lists automatically.

also remove the now pointless -break-list on every stop.

Reviewed-by: hjk
2009-11-10 13:02:34 +01:00
Oswald Buddenhagen
de9438df0c clear pending stream outputs after handling stop response
any output will most definitely belong to later issued commands, so not
clearing it will only cost cpu or even confuse the evaluation.

Reviewed-by: hjk
2009-11-10 13:02:33 +01:00
Oswald Buddenhagen
5976b1ba43 actively try to obtain PID of non-pthread inferiors with gdb < 7 on linux
Reviewed-by: hjk
2009-11-10 13:02:33 +01:00
Oswald Buddenhagen
23e06304f8 further cleanups in less expected shutdown paths
Reviewed-by: hjk
2009-11-10 13:02:33 +01:00
Friedemann Kleint
97618ec493 L10n: Correct spelling in German translation
Run through spell checker.

Task-number: QTCREATORBUG-256
2009-11-10 12:50:51 +01:00
Friedemann Kleint
5acac101a6 Cdb: Fix step out.
Use debugger's 'gu' command instead of temporary breakpoint as a
workaround until it is properly supported by the
SetExecutionStatus() API.

Reviewed-by: hjk
Task-number: QTCREATORBUG-240
2009-11-10 10:40:24 +01:00
hjk
dcad2e249f fakevim: fix pasting in visual block mode 2009-11-10 10:07:36 +01:00
hjk
82c548285f fakevim: fix writing of full file in stand-alone mode 2009-11-10 09:25:51 +01:00
mae
4ef2caca3a Fix pasting of text that starts with a visually empty line
Creator only indents the first line, and reindents subsequent lines relative
to the indentation change of said first line. This fails when the first line
contains no non-space characters. Solution in this change: skip (visually) empty
lines.

Reviewed-by: thorbjorn
Task-number: QTCREATORBUG-227
2009-11-09 18:58:31 +01:00
con
f257f19b03 Some missing defines for Symbian tool chains.
Reviewed-by: dt
2009-11-09 18:35:14 +01:00
mae
3452b4214d implement the standard context menu also for the script editors
In addition, clean up the text editor action handling in the qtscript
plugin.

Rev-by: con
2009-11-09 17:36:18 +01:00
mae
a0bb57f27a remove run action in the scripteditor
the action is not needed and conflicts with Ctrl+R of the project
manager.
2009-11-09 17:36:17 +01:00
Robert Loehning
8ee769a3bc Disabling "Undo Project Changes" when not working in a Git repository.
Reviewed-by: Friedemann Kleint
2009-11-09 16:49:39 +01:00
hjk
fa2a115aa3 debugger: use 'set substitute-path' 2009-11-09 16:25:54 +01:00
Friedemann Kleint
b519a1132a Debugger: Activate code model scope checking, environment var for Trk verbosity.
Reviewed-by: hjk
2009-11-09 16:25:40 +01:00
mae
1e6a90bcb3 optimize extra area painting 2009-11-09 16:06:28 +01:00
mae
55dbc39ed0 Fix auto-indentation when pasting into a selection 2009-11-09 16:06:28 +01:00
Friedemann Kleint
7aa2411693 Code model: Update on changes from the versioning system.
Add state logic to CppCodeModelManagerInterface, making it aware whether
an indexer is running, protect the update methods from another
invocation while running. Add changed signals to IVersionControl and
VCSManager and wire them to the update methods. Add a menu action for
manually updating.

Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Reviewed-by: con <qtc-committer@nokia.com>
2009-11-09 15:57:56 +01:00
Kai Koehne
19fb0311ba Enable run configurations for projects that do not have a build step.
Reviewed-by: dt
2009-11-09 14:46:31 +01:00
con
d8b2598f4f Symbian SDK path should be editable for Qt in PATH.
Reviewed-by: Robert Loehning
2009-11-09 14:19:58 +01:00
Friedemann Kleint
d2bd092b47 Code model: Fix Windows issues (duplicate matches).
Ensure the code model receives file names with clean paths ('/')
and fix paths in the relevant places of the code model. Pass on clean
paths from Cpp reference find and display them correctly in the search
window tooltip.

Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2009-11-09 13:53:28 +01:00
Robert Loehning
6320b06b7c Typo fix in German translation
Reviewed-by: hjk
2009-11-09 13:06:46 +01:00
Friedemann Kleint
901239e1ea Library wizard: Create export symbol correctly.
...if the directory contains a '-'. Export a function to generate
identifier correctly and use that.

Reviewed-by: con <qtc-committer@nokia.com>
Task-number: QTCREATORBUG-248
2009-11-09 12:28:22 +01:00
hjk
9033749198 actually use pixmap cache for toolbar drawing if requested to do so 2009-11-09 11:59:50 +01:00
Christian Kamm
a253a69980 Do never offer signature autocompletion for constructor calls.
They should always use the function parameter tooltip.

This fixes a bug where you were offered completion for
C foo( -> C foo(int x)
if C had a constructor taking int x.

Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2009-11-09 10:13:17 +01:00
Friedemann Kleint
5e0e975873 Debugger/Windows: Register debugger properly if there is no default.
Some systems do not have a default debugger registered. Do not fail
on reading the missing key and disable "Default Debugger" in that case.

Initial-patch-by: Robert Loehning <robert.loehning@nokia.com>
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
2009-11-09 09:00:59 +01:00
hjk
72db7df3a2 fix some documentation glitches 2009-11-06 10:46:24 +01:00
hjk
06570d8d7c debugger: fix display of breakpoint markers in plugins 2009-11-06 10:15:19 +01:00
hjk
5eadf2bef7 debugger: simplify QList dumper 2009-11-06 10:15:19 +01:00
hjk
085f6b2c26 debugger: add autotest for QList<int *> dumper 2009-11-06 10:15:19 +01:00
Roberto Raggi
66a353067d Don't show the warning message (about the dangerous world of code refactoring) if the user pressed the "Yes, I know I am doing" button. 2009-11-05 16:52:56 +01:00
Friedemann Kleint
4ab3446ce0 Qt version tooltip: Display configuration correctly.
Reviewed-by: dt <qtc-committer@nokia.com>
2009-11-05 16:40:27 +01:00
Oswald Buddenhagen
e4e0cadb97 a process scheduled for kill can exit by itself as well ... 2009-11-05 16:20:47 +01:00
Roberto Raggi
61672e136f Fixed a few focus issues we had in the search result window (in replace mode).
Delayed the call to selectAll()
2009-11-05 15:47:33 +01:00
Friedemann Kleint
c489b8db7d i18n: Complete German translation and correct tips on Welcome Page.
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
2009-11-05 15:43:46 +01:00