OSDN Git Service
Oswald Buddenhagen [Wed, 11 Nov 2009 11:41:06 +0000 (12:41 +0100)]
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
Oswald Buddenhagen [Wed, 11 Nov 2009 10:34:16 +0000 (11:34 +0100)]
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
con [Tue, 10 Nov 2009 17:02:42 +0000 (18:02 +0100)]
Revert "Code model: Update on changes from the versioning system."
This reverts commit
7aa24116935249a840e1350a6f8de73bc794fb09.
It breaks the code model updates completely. So reverting this change
until we have the right thing.
Reviewed-by: Roberto Raggi
Thorbjørn Lindeijer [Tue, 10 Nov 2009 17:12:36 +0000 (18:12 +0100)]
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
Thorbjørn Lindeijer [Tue, 10 Nov 2009 16:33:44 +0000 (17:33 +0100)]
Fixed the direction in which include paths are traversed
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Daniel Molkentin [Mon, 9 Nov 2009 16:25:59 +0000 (17:25 +0100)]
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
mae [Tue, 10 Nov 2009 16:10:39 +0000 (17:10 +0100)]
Fix combobox tooltip and lock-button visibility for empty editor views
Reviewed-by: con
Jarek Kobus [Tue, 10 Nov 2009 15:21:49 +0000 (16:21 +0100)]
Provide disambiguations for "unknown" string
Tobias Hunger [Mon, 9 Nov 2009 16:09:30 +0000 (17:09 +0100)]
Quote CDB_PATH.
When setting CDB_PATH via the environment.
Reviewed-By: ossi
(cherry picked from commit
e288c4c4e7ec3420f2afdd51f8ae3c37a85d57db)
Oswald Buddenhagen [Tue, 10 Nov 2009 11:40:23 +0000 (12:40 +0100)]
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
Oswald Buddenhagen [Mon, 9 Nov 2009 22:21:18 +0000 (23:21 +0100)]
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
Oswald Buddenhagen [Mon, 9 Nov 2009 21:11:56 +0000 (22:11 +0100)]
actively try to obtain PID of non-pthread inferiors with gdb < 7 on linux
Reviewed-by: hjk
Oswald Buddenhagen [Mon, 9 Nov 2009 21:07:56 +0000 (22:07 +0100)]
further cleanups in less expected shutdown paths
Reviewed-by: hjk
Friedemann Kleint [Tue, 10 Nov 2009 11:48:07 +0000 (12:48 +0100)]
L10n: Correct spelling in German translation
Run through spell checker.
Task-number: QTCREATORBUG-256
Friedemann Kleint [Tue, 10 Nov 2009 09:40:24 +0000 (10:40 +0100)]
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
hjk [Tue, 10 Nov 2009 09:07:36 +0000 (10:07 +0100)]
fakevim: fix pasting in visual block mode
hjk [Tue, 10 Nov 2009 08:25:22 +0000 (09:25 +0100)]
fakevim: fix writing of full file in stand-alone mode
mae [Mon, 9 Nov 2009 17:53:59 +0000 (18:53 +0100)]
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
con [Mon, 9 Nov 2009 17:34:38 +0000 (18:34 +0100)]
Some missing defines for Symbian tool chains.
Reviewed-by: dt
mae [Mon, 9 Nov 2009 16:35:20 +0000 (17:35 +0100)]
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
mae [Mon, 9 Nov 2009 15:47:48 +0000 (16:47 +0100)]
remove run action in the scripteditor
the action is not needed and conflicts with Ctrl+R of the project
manager.
Robert Loehning [Mon, 9 Nov 2009 15:03:32 +0000 (16:03 +0100)]
Disabling "Undo Project Changes" when not working in a Git repository.
Reviewed-by: Friedemann Kleint
hjk [Mon, 9 Nov 2009 15:25:24 +0000 (16:25 +0100)]
debugger: use 'set substitute-path'
Friedemann Kleint [Mon, 9 Nov 2009 15:25:40 +0000 (16:25 +0100)]
Debugger: Activate code model scope checking, environment var for Trk verbosity.
Reviewed-by: hjk
mae [Mon, 9 Nov 2009 14:59:48 +0000 (15:59 +0100)]
optimize extra area painting
mae [Mon, 9 Nov 2009 14:55:47 +0000 (15:55 +0100)]
Fix auto-indentation when pasting into a selection
Friedemann Kleint [Mon, 9 Nov 2009 14:57:56 +0000 (15:57 +0100)]
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>
Kai Koehne [Mon, 9 Nov 2009 13:44:47 +0000 (14:44 +0100)]
Enable run configurations for projects that do not have a build step.
Reviewed-by: dt
con [Wed, 4 Nov 2009 18:14:17 +0000 (19:14 +0100)]
Symbian SDK path should be editable for Qt in PATH.
Reviewed-by: Robert Loehning
Friedemann Kleint [Mon, 9 Nov 2009 12:53:28 +0000 (13:53 +0100)]
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>
Robert Loehning [Mon, 9 Nov 2009 12:04:28 +0000 (13:04 +0100)]
Typo fix in German translation
Reviewed-by: hjk
Friedemann Kleint [Mon, 9 Nov 2009 11:28:22 +0000 (12:28 +0100)]
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
hjk [Mon, 9 Nov 2009 10:47:05 +0000 (11:47 +0100)]
actually use pixmap cache for toolbar drawing if requested to do so
Christian Kamm [Mon, 9 Nov 2009 09:10:31 +0000 (10:10 +0100)]
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>
Friedemann Kleint [Mon, 9 Nov 2009 08:00:59 +0000 (09:00 +0100)]
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>
hjk [Fri, 6 Nov 2009 09:46:24 +0000 (10:46 +0100)]
fix some documentation glitches
hjk [Fri, 6 Nov 2009 09:14:28 +0000 (10:14 +0100)]
debugger: fix display of breakpoint markers in plugins
hjk [Thu, 5 Nov 2009 13:46:38 +0000 (14:46 +0100)]
debugger: simplify QList dumper
hjk [Thu, 5 Nov 2009 07:25:25 +0000 (08:25 +0100)]
debugger: add autotest for QList<int *> dumper
Roberto Raggi [Thu, 5 Nov 2009 15:50:24 +0000 (16:50 +0100)]
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.
Friedemann Kleint [Thu, 5 Nov 2009 15:40:27 +0000 (16:40 +0100)]
Qt version tooltip: Display configuration correctly.
Reviewed-by: dt <qtc-committer@nokia.com>
Oswald Buddenhagen [Thu, 5 Nov 2009 15:19:59 +0000 (16:19 +0100)]
a process scheduled for kill can exit by itself as well ...
Roberto Raggi [Thu, 5 Nov 2009 14:45:37 +0000 (15:45 +0100)]
Fixed a few focus issues we had in the search result window (in replace mode).
Delayed the call to selectAll()
Friedemann Kleint [Thu, 5 Nov 2009 14:43:46 +0000 (15:43 +0100)]
i18n: Complete German translation and correct tips on Welcome Page.
Reviewed-by: Robert Loehning <robert.loehning@nokia.com>
Daniel Molkentin [Thu, 5 Nov 2009 14:08:29 +0000 (15:08 +0100)]
Patch multimedia lib, remove version qualifier from qtcore on linux
Daniel Molkentin [Mon, 2 Nov 2009 17:27:39 +0000 (18:27 +0100)]
Known issues: installer does not prepare qtcreator.ini for every user
Reviewed-By: con
Robert Loehning [Thu, 5 Nov 2009 13:05:21 +0000 (14:05 +0100)]
Correct case for translations of "MinGW"
Reviewed-by: Oswald Buddenhagen
Roberto Raggi [Thu, 5 Nov 2009 11:34:02 +0000 (12:34 +0100)]
Introduced CppTools::CppModelManagerInterface::updateModifiedFiles().
updateModifiedFiles ckecks the timestamp and reparses all the modified files in the current snapshot.
ck [Wed, 28 Oct 2009 08:23:57 +0000 (09:23 +0100)]
Debugger: Fix dumper tests for 64-bit Linux.
Resolved padding issue for QMapNode.
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Friedemann Kleint [Thu, 5 Nov 2009 09:05:46 +0000 (10:05 +0100)]
Debugger autotests: Compile Windows/gcc 4.4.1, skip tst_gdb
when not applicable.
dt [Wed, 4 Nov 2009 18:41:37 +0000 (19:41 +0100)]
Fixes crashes
dt [Wed, 4 Nov 2009 18:26:35 +0000 (19:26 +0100)]
Revert "revert the latest leak "fix"."
That fix was correct.
This reverts commit
239e0418caeb7f97c217a7867f45970e07366401.
dt [Wed, 4 Nov 2009 17:59:31 +0000 (18:59 +0100)]
Fix memory leaking a context per output window
dt [Wed, 4 Nov 2009 17:50:37 +0000 (18:50 +0100)]
Fix leaking PropertiesPanels
Robert Loehning [Wed, 4 Nov 2009 18:30:27 +0000 (19:30 +0100)]
Fixed dereferencing NULL-pointer.
Reviewed-by: dt
dt [Wed, 4 Nov 2009 17:34:38 +0000 (18:34 +0100)]
Fix compile for -no-webkit
con [Wed, 4 Nov 2009 17:10:03 +0000 (18:10 +0100)]
Prevent global replace before search is done.
Also fix focusing issues of the replace line edit.
Reviewed-by: Roberto Raggi
hjk [Wed, 4 Nov 2009 17:35:52 +0000 (18:35 +0100)]
revert the latest leak "fix".
hjk [Wed, 4 Nov 2009 17:30:27 +0000 (18:30 +0100)]
debugger: fix item count for QLists with more than 1000 elements
Reviewed-by: Oswald Buddenhagen
Roberto Raggi [Wed, 4 Nov 2009 17:21:35 +0000 (18:21 +0100)]
Replace . with -> only when the base expression has type pointer to class.
Reviewed-by: Thorbjørn Lindeijer
hjk [Wed, 4 Nov 2009 16:44:11 +0000 (17:44 +0100)]
debugger: fix issue where child items oeverwrite parent items in the watch model.
The real problems is somewhere in the watch model. This patch does
only prevent the wrong (and unneeded) questions to be asked in the first
place. It does not fix the wrong handling of the answer in the watch model.
Reviewed-by: Oswald Buddenhagen
hjk [Wed, 4 Nov 2009 14:19:54 +0000 (15:19 +0100)]
debugger: don't leak...
Roberto Raggi [Wed, 4 Nov 2009 16:38:17 +0000 (17:38 +0100)]
Resolve fully qualified names.
dt [Wed, 4 Nov 2009 15:06:38 +0000 (16:06 +0100)]
Fix memory leak in welcome plugin and right hand side pane
dt [Wed, 4 Nov 2009 10:30:39 +0000 (11:30 +0100)]
Fix memory leak in QtVersionManager
Friedemann Kleint [Wed, 4 Nov 2009 16:11:35 +0000 (17:11 +0100)]
Debugger/various plugins: Fix memory leaks.
Reviewed-by: hjk <qtc-committer@nokia.com>
Reviewed-by: dt <qtc-committer@nokia.com>
Roberto Raggi [Wed, 4 Nov 2009 13:16:59 +0000 (14:16 +0100)]
Set the parent object of CppFindReferences.
con [Wed, 4 Nov 2009 15:07:42 +0000 (16:07 +0100)]
Disable the find usage and symbol renaming while indexing is done.
Reviewed-by: Roberto Raggi
Friedemann Kleint [Wed, 4 Nov 2009 14:19:02 +0000 (15:19 +0100)]
WinGuiProcess: Fix hang if binary cannot be found.
..occurring in conjunction with custom run configuration
and S60 emulator. Ensure all handles are closed even
if start attempt failed.
Reviewed-by: con <qtc-committer@nokia.com>
hjk [Wed, 4 Nov 2009 13:39:21 +0000 (14:39 +0100)]
debugger: all leaks must be fixed
Reviewed-by: dt
hjk [Wed, 4 Nov 2009 13:07:18 +0000 (14:07 +0100)]
debugger: work on dumper autotests.
hjk [Wed, 4 Nov 2009 08:21:49 +0000 (09:21 +0100)]
debugger: add manual test case for two-dimensional C array
hjk [Tue, 3 Nov 2009 15:10:03 +0000 (16:10 +0100)]
debugger: make switching between debuggers easier for testing purposes
Friedemann Kleint [Wed, 4 Nov 2009 13:12:56 +0000 (14:12 +0100)]
Projectexplorer: Fix hang when launching external explorer for folder.
Task-number: QTCREATORBUG-221
Use QProcess::startDetached.
Reviewed-by: con <qtc-committer@nokia.com>
Roberto Raggi [Wed, 4 Nov 2009 12:47:06 +0000 (13:47 +0100)]
Parse ASM specifiers after declarators.
Again, a gcc extension used in the OSX system headers.
Roberto Raggi [Wed, 4 Nov 2009 12:45:49 +0000 (13:45 +0100)]
Accepts `$' as valid character when recognizing identifiers.
Added support for yet another gcc extension that is using in OSX 10.6 system headers.
Roberto Raggi [Wed, 4 Nov 2009 11:51:02 +0000 (12:51 +0100)]
Revert "This ordering for include directories is more correct"
This reverts commit
9891267a92d5dc1f367556986ce8c279ec6a6dc8.
Roberto Raggi [Wed, 4 Nov 2009 11:02:19 +0000 (12:02 +0100)]
Paranoia check. Skip the change if we have another change with the same offset.
mae [Wed, 4 Nov 2009 11:41:41 +0000 (12:41 +0100)]
fix redrawing issue with horizontal scrolling and line wrapping column
revby: Oswald Buddenhagen
Roberto Raggi [Wed, 4 Nov 2009 11:02:19 +0000 (12:02 +0100)]
Don't process already visited nodes.
Oswald Buddenhagen [Wed, 4 Nov 2009 09:31:59 +0000 (10:31 +0100)]
fix attaching to core
InferiorUnrunnable is equivalent to InferiorStopped as far as NeedsStop
commands are concerned.
Reviewed-by: hjk
Oswald Buddenhagen [Mon, 2 Nov 2009 20:01:49 +0000 (21:01 +0100)]
do not create invalid help files
afaik, this was a bizarre hack to make the install target work, so fix
it properly instead.
Oswald Buddenhagen [Tue, 3 Nov 2009 13:56:27 +0000 (14:56 +0100)]
add timeout handling for gdb commands
sometimes, commands simply don't return ...
the debug message doesn't say anything which couldn't be found in the
log already, but that way it is more convenient.
and we kill gdb to get creator back to a defined state.
Reviewed-by: hjk
Thorbjørn Lindeijer [Tue, 3 Nov 2009 13:29:49 +0000 (14:29 +0100)]
Make accidentally activating the link navigation more difficult
Only checking Ctrl and link availability on mouse release was triggering
the navigation too easily.
Now you have to press and release the mouse on the same link, having
Ctrl pressed all the time. In addition, when changing the text selection
the link is also cleared.
Task-number: QTCREATORBUG-134
Reviewed-by: con
dt [Tue, 3 Nov 2009 16:00:18 +0000 (17:00 +0100)]
Initialize m_engine to zero.
Reviewed-by: hjk <qtc-committer@nokia.com>
dt [Tue, 3 Nov 2009 15:23:40 +0000 (16:23 +0100)]
Don't crash on adding a runconfiguration
The combobox now emits a currentIndexChanged(-1) signal if we reset the
base model.
Reviewed-by: con <qtc-committer@nokia.com>
Friedemann Kleint [Tue, 3 Nov 2009 15:02:16 +0000 (16:02 +0100)]
Debugger: Fix LD_PRELOAD on Mac.
Reviewed-by: hjk <qtc-committer@nokia.com>
dt [Tue, 3 Nov 2009 13:37:23 +0000 (14:37 +0100)]
Show a cancel button in the opening cmake projects wizard.
Allows the user to change his mind. :)
Reviewed-by: Friedemann Kleint <qtc-committer@nokia.com>
hjk [Tue, 3 Nov 2009 13:25:25 +0000 (14:25 +0100)]
fakevim: remove workaround for Qt <= 4.5. Creator needs 4.6 anyway
hjk [Tue, 3 Nov 2009 13:10:45 +0000 (14:10 +0100)]
fakevim: fix undo() behaviour
This is the finalization of the change started with
3c0ca8c18881.
Fakevim undo was broken due to behavioural changes in QTextDocument
in Qt 4.6. Now that QTextDocument has gotten new accessors to the
needed (and previously available) data we can use it.
hjk [Tue, 3 Nov 2009 13:05:57 +0000 (14:05 +0100)]
debugger: work on autotests
dt [Tue, 3 Nov 2009 13:12:15 +0000 (14:12 +0100)]
Also save before running if Project::hasNoBuildSettings
Fixes a QML bug
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Kai Koehne [Tue, 3 Nov 2009 11:07:41 +0000 (12:07 +0100)]
Let one 'reset' the qmlviewer path in the config page by
just emptying it.
Discussed with Nigel.
Friedemann Kleint [Tue, 3 Nov 2009 13:06:21 +0000 (14:06 +0100)]
Debugger: Use LD_PRELOAD to load debugging helper.
on UNIX. Either set the LD_PRELOAD environment variable
using a gdb command or have the TermGdbAdapter set the
variable for the debuggee. For the remote adapter,
switch on toolchain. dlopen() is a fallback for
platforms where it is not supported and attaching
to running processes. Fixes a crash with gdb 7.0
(and spurious gdb 6.8 crashes with dlopen()).
Reviewed-by: hjk <qtc-committer@nokia.com>
Robert Loehning [Mon, 2 Nov 2009 18:14:40 +0000 (19:14 +0100)]
Fixed index out of range.
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
Jure Repinc [Mon, 2 Nov 2009 16:16:14 +0000 (17:16 +0100)]
Added Slovenian translation
Merge-request: 1978
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Oswald Buddenhagen [Mon, 2 Nov 2009 15:59:57 +0000 (16:59 +0100)]
fix shutdowns triggered while inferior is not stopped
Reviewed-by: hjk
Oswald Buddenhagen [Mon, 2 Nov 2009 15:40:16 +0000 (16:40 +0100)]
flush queued commands on non-fatal continuation failures
Reviewed-By: hjk
Oswald Buddenhagen [Mon, 2 Nov 2009 13:40:54 +0000 (14:40 +0100)]
synchronize temporary interruption with running-requests
Reviewed-by: hjk
Oswald Buddenhagen [Mon, 2 Nov 2009 10:40:42 +0000 (11:40 +0100)]
the process is already dead when hitting workaround 4
Reviewed-by: hjk