Commit Graph

80529 Commits

Author SHA1 Message Date
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
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
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
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
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
dt
e5b4b65d56 Update docu of project pane. Missing the screenshots. 2009-11-02 15:42:17 +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
mae
c035290602 add standard cut/copy/paste actions (if available) to the cpp editor's context menu
at a later stage we will look into harmonizing context menu among different editors.
The cpp editor had the biggest need, because its context menu features all sorts of
extra refactoring operations, thus the standard Qt context menu became too large.
2009-11-02 14:03:38 +01:00
Friedemann Kleint
b8bd20dd42 Revert "Debugger: Disable "Start debugging" when attaching/starting remote"
This reverts commit c069cd588a.
2009-11-02 12:57:25 +01:00
Friedemann Kleint
c069cd588a Debugger: Disable "Start debugging" when attaching/starting remote
Directly enable project explorer actions.
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2009-11-02 12:47:47 +01:00
con
e3880e132f Show active run configuration name in "mismatching configuration" dialog
So the user better knows what he is actually choosing a new build
configuration for.

Reviewed-by: Robert Loehning
2009-11-02 11:47:34 +01:00
Oswald Buddenhagen
1520963cd6 filter out expected gdb stderr
Reviewed-By: hjk
2009-11-02 10:53:16 +01:00
Christian Kamm
ff4e559c46 Improve completion for function declarations.
Instead of just completing
void A::foo(|) -> void A::foo(int i|), we now complete
void A::foo(|) -> void A::foo(int i) const|
where | represents the place of the cursor.

Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2009-11-02 10:32:50 +01:00
Robert Loehning
47acdb5b28 Improved German translations for handling different Qt-versions
Reviewed-by: Oswald Buddenhagen
2009-10-30 21:29:56 +01:00
Sergey Belyashov
1c4db5e32c Updated Russian translation.
Merge-request: 1963
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2009-10-30 19:35:25 +01:00
dt
7dc399d678 Fixed the check for whether there already is a -spec parameter 2009-10-30 18:41:55 +01:00
con
98ded2e856 Merge commit 'origin/1.3' 2009-10-30 18:30:12 +01:00
con
cc7bd7d139 Minimal translation fix.
Reviewed-by: Friedemann Kleint
2009-10-30 17:59:40 +01:00
Oswald Buddenhagen
151b785d01 terminal adapter: make skipping of initial SIGSTOPs more reliable
first, _start being resolvable depends on libc-dbg being installed.
second, depending on the frame being in the dynloader makes it
a) work only for dynamic executables and b) fail on multi-target
systems (due to a hard-coded file name).
so instead just remember the entry point, as we are already there
anyway.

Reviewed-By: hjk
2009-10-30 17:47:51 +01:00
Oswald Buddenhagen
6d6ed26eae frames with debug info but without source cannot be navigated to
... - in the source view, that is. so grey them out in the stack view.

Reviewed-By: hjk
2009-10-30 17:47:51 +01:00
Oswald Buddenhagen
9d20a2abb4 make attaching adapters more robust
to make the behavior consistent across gdb versions, ignore the initial
*stopped which gdb7 delivers while attaching.

Reviewed-By: hjk
2009-10-30 17:47:51 +01:00
Oswald Buddenhagen
36a4fddaf0 less confusing: use the data type which was meant 2009-10-30 17:47:51 +01:00
Oswald Buddenhagen
2eade14143 remove superfluous casts 2009-10-30 17:47:51 +01:00
Oswald Buddenhagen
ff72733ccd fix assertions relating to stack frames without a fullname
d'oh, of course, such frames *do* exist.

Reviewed-By: hjk
2009-10-30 17:47:51 +01:00
Oswald Buddenhagen
e6be1526f1 make fullname parsing on windows less optimistic
seems like gdb 6.8 isn't any better than 6.4 wrt file name
normalization.

Reviewed-By: hjk
2009-10-30 17:47:51 +01:00
Friedemann Kleint
c17dff4268 Debugger: Make Message prompt a gui-app.
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2009-10-30 17:44:51 +01:00
Friedemann Kleint
ecf48086de Checkout wizard: Hangs on Windows when VCS binary is missing.
due to StartFailed being emitted from start(). Set state correctly,
improve error reporting.
Reviewed-by: con <qtc-commiter@nokia.com>
2009-10-30 17:40:33 +01:00