Commit Graph

5994 Commits

Author SHA1 Message Date
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
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
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