Commit Graph

209 Commits

Author SHA1 Message Date
Friedemann Kleint
1ae9679c40 Debugger: Separate internal constants. 2011-04-21 15:52:51 +02:00
Friedemann Kleint
141f53cfee Run/Debug: Do not launch on a library project if user cancels
the executable dialog that pops up.

Reviewed-by: dt
2011-04-18 13:01:12 +02:00
Oswald Buddenhagen
dc3c156cac Merge branch '2.2'
Conflicts:
	src/plugins/debugger/gdb/pythongdbengine.cpp
	src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.cpp
	src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.h
	src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.cpp
	src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.h
	src/plugins/qt4projectmanager/qt-maemo/maemodeploystep.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemoglobal.cpp
	src/plugins/qt4projectmanager/qt-maemo/qt4maemotargetfactory.cpp
	src/plugins/qt4projectmanager/qt-s60/qt4symbiantargetfactory.cpp
	src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp
	src/plugins/qt4projectmanager/qt4target.cpp
	src/plugins/qt4projectmanager/qt4target.h
	src/plugins/qt4projectmanager/qtoptionspage.h
	src/plugins/qt4projectmanager/qtversionmanager.cpp
	src/plugins/welcome/welcomemode.cpp
2011-04-14 12:39:31 +02:00
hjk
8397663964 Update license. 2011-04-13 11:49:28 +02:00
dt
880813a3bc Fixing tons of application output
Master fixed a bug where a newline was almost always prepended to any
output. As a side effect of that a lot of messages which outputed no
newline broke. This commit fixes the obvious ones, probably missing a
few.
2011-04-12 19:42:25 +02:00
Friedemann Kleint
6cf2cf8605 Debugger: Fix warning, remove unused AttachTcf mode. 2011-04-08 16:04:53 +02:00
hjk
f5f8227be5 debugger: code cosmetics 2011-04-07 18:00:46 +02:00
con
1c2da511b9 Merge remote branch 'origin/2.2'
Conflicts:
	src/plugins/debugger/gdb/gdbengine.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemodeploystep.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemoglobal.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemoglobal.h
	src/plugins/qt4projectmanager/qt-maemo/qt4maemotargetfactory.cpp
	src/plugins/qt4projectmanager/qt-s60/rvcttoolchain.h
2011-04-01 09:53:09 +02:00
hjk
5ecb41afb5 debugger: remove 'Attach to TCF' start option
And TcfEngine etc.

Reviewed-by: Friedemann Kleint
2011-03-30 14:59:49 +02:00
dt
28cf277cc1 RunControl: Show correct icon in application output
Add a virtual icon() method to runcontrol.
Actually currently the icon only varies between modes of running.

Task-Nr: QTCREATORBUG-1232
2011-03-28 19:58:26 +02:00
Friedemann Kleint
0e89104b45 API Documentation: Fix warnings. 2011-03-28 14:58:12 +02:00
Friedemann Kleint
8ff480881a Debugger: Always add Qt install source mappings for gdb.
As it fails for MinGW.

Task-number: QTCREATORBUG-4132
Reviewed-by: hjk
2011-03-18 10:03:08 +01:00
Tobias Hunger
429ed63f5d Fix spelling of tool chain is user-visible strings and comments 2011-03-16 18:01:52 +01:00
Friedemann Kleint
9b82323ad1 Debugger: Show message box when preferred engine is not available.
Rewrite logic once again. Merge the previously separate
enabled/configured loops into one to simplify the code and
exclude LLDB from reporting as it is experimental, currently.
2011-03-14 17:34:27 +01:00
Friedemann Kleint
7d4284e5d9 Revert "Debugger: Message box when preferred debugger is not set up."
As it causes messages on Linux.

This reverts commit c75738f9ac.
2011-03-14 15:50:23 +01:00
Friedemann Kleint
c75738f9ac Debugger: Message box when preferred debugger is not set up.
Task-number: QTCREATORBUG-3990
2011-03-14 15:43:41 +01:00
Friedemann Kleint
f5ad4b609c Debugger: Output warnings when preferred debugger is not set up.
Reviewed-by: hjk
Task-number: QTCREATORBUG-3990
2011-03-08 12:39:35 +01:00
Friedemann Kleint
ad21b4859a L10n: tr()-Fixes. 2011-03-01 17:07:37 +01:00
Milian Wolff
09f89d52be enable adding custom config widgets from a run control factory
To achieve this there are two methods in IRunControlFactory you
need to implement:

1) createRunConfigurationAspect returns a IRunConfigurationAspect
which stores the settings specific to your plugin.
2) createConfigurationWidget returns a RunConfigWidget that will
be shown in the project settings

Merge-request: 258
Reviewed-by: hjk <qtc-committer@nokia.com>
2011-02-28 12:23:12 +01:00
Friedemann Kleint
ed8dd0b031 Debugger: Actually pass the debugger command from ToolChain.
Do not retrieve debugger command from ABI as that causes mismatches
when several toolchains of the same ABI are present.
Use indexes in the debugger dialogs.
Polish tooltip.
2011-02-25 16:03:22 +01:00
Friedemann Kleint
14d590590f Debugger: Use Startparameters.debuggerCommand for command.
Use in both engines preferred over ABI if it is compatible.
Report start parameters. Introduce gdb configuration check.
2011-02-25 13:43:06 +01:00
Friedemann Kleint
047ee5522c Debugger: Improve configuration error reporting.
- Make showWarningWithOptions actually show the details.
- Show errors from multiple engines as separate messages.
- Remove 'enabled' option from CDB (handled by toolchain config now).
- Show ABI as tooltip in debbugger toolchain chooser.
2011-02-25 09:34:31 +01:00
Friedemann Kleint
75f4b9cf25 Debugger: Add toolchain combos to start dialogs, refactor detection.
Add combo box listing toolchains with debuggers to start external,
attach and core.
Another attempt at streamlining engine detection:
Split in detection functions that first collect a list of
available engines by preference, then remove disabled and
wrongly configured engines and use the remaining best.
matching. checkconfiguration is now the central place where
engine detection and config check takes place.

Rubber-stamped-by: hjk
2011-02-24 16:50:15 +01:00
hjk
a8ae618d75 toolchain: fix enum naming style
Reviewed-By: Tobias Hunger
2011-02-23 17:56:33 +01:00
hjk
3331aea7da debugger: make qt source path configurable 2011-02-23 17:56:21 +01:00
Kai Koehne
1a3ed101cb QmlDebug: Parse application output to track debugees state
Setting up the debugger connection might fail for a couple of reasons.
Check the application output to show the user a more detailed error
message.

Reviewed-by: hjk
2011-02-23 17:02:34 +01:00
Friedemann Kleint
fa6fbcc83b Debugger: Choose right binary for CDB/gdb. 2011-02-23 16:56:14 +01:00
hjk
69b6846c9d debugger: reduce line noise 2011-02-22 18:12:10 +01:00
hjk
3fcf39a764 debugger: finish moving of binary setting 2011-02-22 13:23:37 +01:00
hjk
bd44fb1248 debugger: move gdb binary list to common options page (unfinished) 2011-02-22 12:59:12 +01:00
Tobias Hunger
8d0c477245 ToolChain: Refactor toolchain support
Refactor ToolChains in Qt Creator:

 * Allow for several toolchains of the same type
 * Be smarter wrt. guessing what kind of output a toolchain
   produces. This allows us to eventually handle e.g. embedded
   linux setups way better than before.
 * Be smarter wrt. guessing what kind of environment a Qt version
   needs.
 * Improve auto-detection of toolchains a bit
 * Decide on which debugger to use based on the kind of output
   produced by the compiler.
 * Add options page to configure toolchains
 * Remove toolchain related options from the Qt version dialog

Reviewed-by: dt
2011-02-21 18:33:23 +01:00
Friedemann Kleint
0ac879e39f Debugger: Make tooltips pinnable.
Replace old debugger tooltip by a new ToolTipManager which
has a list of AbstractDebuggerToolTipWidget with the functionality
to 'acquire' an engine (display its data) and 'release' it
(store engine data and display them as 'previous') and serialization
to XML session data.
DebuggerTreeViewToolTipWidget implements AbstractDebuggerToolTipWidget
for tree model acting as  a filter on watch models.

Rubber-stamped-by: hjk
2011-02-11 15:09:02 +01:00
Kai Koehne
50b6a98bd6 Debugger: Ensure breakpoints to simple JS expressions are hit
Prevent QDeclarativeEngine to handle simple bindings on their own by
setting the QML_DISABLE_OPTIMIZER environment variable. This ensures
that every binding is actually updated through the JavaScript engine,
and therefore checked for breakpoints.

Task-number: QTCREATORBUG-3595
2011-02-07 11:02:32 +01:00
Kai Koehne
211553768f Debugger: Make error warning a real sentence.
Separate the two warnings by a '. '.
2011-02-04 13:42:01 +01:00
Christian Kandeler
14cb9f91ad Make Meego target work.
- Package installation and running untested yet.
- User currently needs to adapt %files section in spec file manually.
  We expect this task to be automated by the build script in the future
  (see http://bugs.meego.com/show_bug.cgi?id=13148).
2011-02-01 14:08:12 +01:00
Friedemann Kleint
808408eeea 10n: Fix tr() issues. 2011-01-19 16:50:03 +01:00
Christian Kandeler
f0a54abf6b Maemo: Introduce dedicated Fremantle and Harmattan targets.
Task-number: QTCREATORBUG-2770
2011-01-18 15:22:12 +01:00
con
edd7224cd6 Add "never ask again" option to dialog asking about killing applications
The option is used for the stop button in the application output.
Closing tabs will still ask unconditionally, also if applications would
be killed as a side-effect, e.g. of closing Qt Creator.
The Symbian controls also always ask, with a more descriptive text,
because killing applications might have negative effect on the device in
some cases.

Reviewed-by: Friedemann Kleint
Task-number: QTCREATORBUG-3119
2011-01-17 13:52:33 +01:00
hjk
6dd55aa471 debugger: introduce generic master/slaves engine 2011-01-12 12:17:47 +01:00
con
d1023c7614 It's 2011 now.
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
Friedemann Kleint
46647f49d8 Debugger[New CDB]: Move from namespace Cdb to Internal. 2011-01-11 11:06:15 +01:00
Friedemann Kleint
11084153fa Debugger: Link (export checkconfiguration)
Remove factory class from exported header.
2011-01-10 10:36:23 +01:00
hjk
27e3a1ddf5 debugger: remove engine type parameter from runcontrol constructor 2011-01-10 10:18:46 +01:00
hjk
129c958a93 debugger: refactor debugger configuration check 2011-01-10 10:18:46 +01:00
hjk
1b1663a289 introduce a appendMessage overload not requiring the 'this' parameter 2011-01-10 10:18:45 +01:00
Friedemann Kleint
a7eccce733 Debugger: Header cleanup 2011-01-10 10:14:23 +01:00
hjk
ef806894e8 runcontrols: use ProjectExplorrer::OutputFormat for format selection 2011-01-07 16:26:56 +01:00
hjk
8fd480bd21 merge addToOutputWindow and addToOutputWindowInline 2011-01-07 16:26:55 +01:00
Friedemann Kleint
01d4c5a3d3 Debugger: R.I.P. old CDB engine. 2011-01-07 15:04:54 +01:00
hjk
0ee4011cfd debugger: compile fix, minor cleanup 2011-01-07 10:13:55 +01:00