Commit Graph

72811 Commits

Author SHA1 Message Date
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
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
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
con
fa34847571 Merge commit 'origin/1.3'
Conflicts:
	src/plugins/debugger/gdb/gdbengine.cpp
	src/plugins/qt4projectmanager/qt4project.cpp
2009-11-03 18:08:01 +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
Alessandro Portale
e77e8e9a28 Fix the url in the .pluginspec
modified:   src/plugins/mercurial/Mercurial.pluginspec
2009-11-03 17:30:18 +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
db9a967f75 Mercurial: Compile with QT_NO_CAST_FROM_ASCII, const-correctness. 2009-11-03 16:38:39 +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
Friedemann Kleint
5e8d179a5d Mercurial: Compile windows, use common output window.
Polish: Canconical slots, const-correctness, some QLatin1Strings/tr,
2009-11-03 14:21:48 +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
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
dt
6575e44b39 Update dependencies 2009-11-02 19:54:56 +01:00
dt
cb5bc3ba16 Compile 2009-11-02 19:52:28 +01:00
dt
7411536173 Merge branch 'reviews/1516'
* reviews/1516:
  Adding License to mecurial plugin
  Mercurial plugin, merge request with suggested fixes.

Conflicts:
	src/plugins/plugins.pro
	src/plugins/vcsbase/basecheckoutwizardpage.ui
2009-11-02 19:21:32 +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
dt
9c5271470c Adding License to mecurial plugin 2009-11-02 18:50:06 +01:00
dt
f84a144e01 Make the display for qws mkspecs nicer. 2009-11-02 17:36:29 +01:00
dt
835d522ac2 Don't pass QtVersion::mkspec() to the building of debugging helpers.
Instead simply pass -mkspec default, which has the same effect.
Fixes a bug with qws mkspecs
2009-11-02 17:25:10 +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
Friedemann Kleint
e917392c27 Class wizard: Replace "inherits QObject" by type information combo.
Remove the setting from where it does not make sense (library/form class
wizard, etc).
Reviewed-by: con <qtc-committer@nokia.com>
2009-11-02 15:46:51 +01:00
Friedemann Kleint
d23324f419 Debugger: Protect against launching a 2nd session.
Reviewed-by: dt <qtc-committer@nokia.com>
2009-11-02 14:42:42 +01:00
con
dda9df2248 Update tool chains correctly when paths are changed in options.
The tool chains' "equals" methods where out of date.

Reviewed-by: dt
Reviewed-by: Robert Loehning
2009-11-02 14:30:58 +01:00