Commit Graph

5770 Commits

Author SHA1 Message Date
dt a19f6e69eb Fix memory leaking a context per output window 2009-11-04 19:32:49 +01:00
dt 83016e47fe Fix leaking PropertiesPanels 2009-11-04 19:32:49 +01:00
Robert Loehning 876bce493f Fixed dereferencing NULL-pointer.
Reviewed-by: dt
2009-11-04 19:30:55 +01:00
dt 2a7439cde8 Fix compile for -no-webkit 2009-11-04 19:00:02 +01:00
con 9c0ed539cc Prevent global replace before search is done.
Also fix focusing issues of the replace line edit.

Reviewed-by: Roberto Raggi
2009-11-04 18:44:19 +01:00
hjk 239e0418ca revert the latest leak "fix". 2009-11-04 18:35:52 +01:00
hjk c91aca64e6 debugger: fix item count for QLists with more than 1000 elements
Reviewed-by: Oswald Buddenhagen
2009-11-04 18:31:27 +01:00
Roberto Raggi f2a0382910 Replace . with -> only when the base expression has type pointer to class.
Reviewed-by: Thorbjørn Lindeijer
2009-11-04 18:21:35 +01:00
hjk 4ceabf26d4 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
2009-11-04 17:48:00 +01:00
hjk 7cb1c08e36 debugger: don't leak... 2009-11-04 17:48:00 +01:00
Roberto Raggi 70bdb3726d Resolve fully qualified names. 2009-11-04 17:38:37 +01:00
dt a67e13942b Fix memory leak in welcome plugin and right hand side pane 2009-11-04 17:20:33 +01:00
dt 655b06b48d Fix memory leak in QtVersionManager 2009-11-04 17:20:25 +01:00
Friedemann Kleint f4943f3c2e Debugger/various plugins: Fix memory leaks.
Reviewed-by: hjk <qtc-committer@nokia.com>
Reviewed-by: dt <qtc-committer@nokia.com>
2009-11-04 17:11:35 +01:00
Roberto Raggi a7d0fb8014 Set the parent object of CppFindReferences. 2009-11-04 16:16:50 +01:00
con d6c37e1e13 Disable the find usage and symbol renaming while indexing is done.
Reviewed-by: Roberto Raggi
2009-11-04 16:08:42 +01:00
Friedemann Kleint 00298ab248 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>
2009-11-04 15:19:02 +01:00
hjk 2ea076377b debugger: all leaks must be fixed
Reviewed-by: dt
2009-11-04 14:39:48 +01:00
hjk 908b051973 debugger: work on dumper autotests. 2009-11-04 14:39:48 +01:00
hjk 7dea6766ed debugger: add manual test case for two-dimensional C array 2009-11-04 14:39:48 +01:00
hjk 256558d58e debugger: make switching between debuggers easier for testing purposes 2009-11-04 14:39:48 +01:00
Friedemann Kleint 0f139b27a1 Projectexplorer: Fix hang when launching external explorer for folder.
Task-number: QTCREATORBUG-221

Use QProcess::startDetached.
Reviewed-by: con <qtc-committer@nokia.com>
2009-11-04 14:12:56 +01:00
Roberto Raggi 64a08d15f3 Parse ASM specifiers after declarators.
Again, a gcc extension used in the OSX system headers.
2009-11-04 13:47:06 +01:00
Roberto Raggi 4a87d875f0 Accepts `$' as valid character when recognizing identifiers.
Added support for yet another gcc extension that is using in OSX 10.6 system headers.
2009-11-04 13:45:49 +01:00
Roberto Raggi 093a309dab Revert "This ordering for include directories is more correct"
This reverts commit 9891267a92.
2009-11-04 12:51:02 +01:00
Roberto Raggi 7cffef17aa Paranoia check. Skip the change if we have another change with the same offset. 2009-11-04 12:48:36 +01:00
mae 6043c639e3 fix redrawing issue with horizontal scrolling and line wrapping column
revby: Oswald Buddenhagen
2009-11-04 12:42:26 +01:00
Roberto Raggi 205e03684a Don't process already visited nodes. 2009-11-04 12:02:19 +01:00
Oswald Buddenhagen 46a7ac5fb9 fix attaching to core
InferiorUnrunnable is equivalent to InferiorStopped as far as NeedsStop
commands are concerned.

Reviewed-by: hjk
2009-11-04 10:46:58 +01:00
Oswald Buddenhagen 6769c13e6e do not create invalid help files
afaik, this was a bizarre hack to make the install target work, so fix
it properly instead.
2009-11-03 18:20:43 +01:00
Oswald Buddenhagen 0ae60ba412 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
2009-11-03 18:20:43 +01:00
Thorbjørn Lindeijer 2c115e934f 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
2009-11-03 17:52:37 +01:00
dt a4d1eb48c7 Initialize m_engine to zero.
Reviewed-by: hjk <qtc-committer@nokia.com>
2009-11-03 17:26:22 +01:00
dt dfcf87052d 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>
2009-11-03 17:26:22 +01:00
Friedemann Kleint a6d099a1ea Debugger: Fix LD_PRELOAD on Mac.
Reviewed-by: hjk <qtc-committer@nokia.com>
2009-11-03 16:02:16 +01:00
dt c8e7df16eb 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>
2009-11-03 14:37:34 +01:00
hjk 1775f5d887 fakevim: remove workaround for Qt <= 4.5. Creator needs 4.6 anyway 2009-11-03 14:25:25 +01:00
hjk 0bc1095b70 fakevim: fix undo() behaviour
This is the finalization of the change started with 3c0ca8c188.
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.
2009-11-03 14:15:24 +01:00
hjk 8a5540292d debugger: work on autotests 2009-11-03 14:15:24 +01:00
dt afa9da2a61 Also save before running if Project::hasNoBuildSettings
Fixes a QML bug
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2009-11-03 14:13:52 +01:00
Kai Koehne a44e33ac93 Let one 'reset' the qmlviewer path in the config page by
just emptying it.

Discussed with Nigel.
2009-11-03 14:12:10 +01:00
Friedemann Kleint 10e07e01c7 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>
2009-11-03 14:06:21 +01:00
Robert Loehning e68753b48b Fixed index out of range.
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2009-11-02 19:14:40 +01:00
Jure Repinc 674c2635b6 Added Slovenian translation
Merge-request: 1978
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2009-11-02 17:17:21 +01:00
Oswald Buddenhagen a4f2396323 fix shutdowns triggered while inferior is not stopped
Reviewed-by: hjk
2009-11-02 17:13:47 +01:00
Oswald Buddenhagen e2d468312c flush queued commands on non-fatal continuation failures
Reviewed-By: hjk
2009-11-02 17:13:46 +01:00
Oswald Buddenhagen bf280e215b synchronize temporary interruption with running-requests
Reviewed-by: hjk
2009-11-02 17:13:46 +01:00
Oswald Buddenhagen e60a7bc69a the process is already dead when hitting workaround 4
Reviewed-by: hjk
2009-11-02 17:13:46 +01:00
dt 9891267a92 This ordering for include directories is more correct
Though likely to be still wrong.
2009-11-02 16:57:44 +01:00
dt c542714707 Also fix the cmake documentation. 2009-11-02 16:17:30 +01:00