Commit Graph

55 Commits

Author SHA1 Message Date
Christian Kandeler
253f183df3 Maemo: Introduce abstract base class for deploy steps targeting devices.
This will make it possible for a MaemoRunConfiguration to work
with deploy steps that do not use Utils::SshConnection, but still
want to make use of our device configurations.
2011-04-21 17:02:58 +02:00
Christian Kandeler
ed5216560f Maemo: Remove C++ dumper support.
They haven't been maintained for a while now, so no need to
try to support them.
2011-04-21 14:05:33 +02:00
Christian Kandeler
4c65bac230 Maemo: Make QML debugging engine aware of early inferior exit. 2011-04-21 11:11:14 +02:00
Christian Kandeler
92cc93db15 Maemo: Fix misleading error message. 2011-04-21 11:11:14 +02:00
con
5b02bf94a8 Merge remote branch 'origin/2.2'
Conflicts:
	qtcreator.pri
	src/plugins/debugger/breakhandler.cpp
	src/plugins/qt4projectmanager/qtversionmanager.cpp
2011-04-18 13:57:07 +02:00
Christian Kandeler
a471296780 Maemo: Detect unexpected gdbserver exit.
Task-number: QTCREATORBUG-4535
2011-04-15 14:20:27 +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
Christian Kandeler
fa56e98cbb Maemo: Use devrootsh only when not connected as root. 2011-04-05 17:04:16 +02:00
Bill King
5e372a165f Merge branch '2.2'
Conflicts:
	src/plugins/qt4projectmanager/qt-maemo/maemodeploystep.cpp
	src/plugins/qt4projectmanager/qt-maemo/qt4maemotarget.cpp
	src/plugins/qt4projectmanager/qt-maemo/qt4maemotarget.h
2011-04-05 16:43:24 +02:00
Christian Kandeler
ec34a9044e Maemo: Fix newlines in application output window. 2011-04-01 10:24:20 +02:00
Christian Kandeler
b32cddad48 Maemo: Set DISPLAY for non-Maemo systems. 2011-04-01 08:54:56 +02:00
Christian Kandeler
439b45618e Start making the Maemo support more generic.
This includes:
    - decoupling deploy configurations from targets (Reviewed-by: dt)
    - adding a "Generic Linux" device type
    - splitting up the Maemo deployment step into small pieces that
      can be combined in different ways (and much more easily maintained)
    - adding a new version handler for pro.user files
      (Reviewed-by: Tobias Hunger)

Also:
  - Add and use an SSH manager class for easier connection sharing.
  - Make the SSH connection parameters a fixed attribute of the connection.
2011-03-09 13:10:19 +01:00
con
2ca77dfe1e Merge remote branch 'origin/2.1'
Conflicts:
	src/plugins/debugger/qml/qmlengine.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationstep.cpp
2011-03-02 11:49:52 +01:00
Friedemann Kleint
562265d58c Toolchains: Header cleanup. 2011-02-28 16:50:14 +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
Christian Kandeler
22a49fd4a8 SSH: Choose better names for public types and variables. 2011-02-15 13:35:17 +01:00
Milian Wolff
94548a1e1f move src/plugins/coreplugin/ssh to src/lib/utils/ssh
Merge-request: 253
Reviewed-by: hjk <qtc-committer@nokia.com>
2011-02-14 16:34:17 +01:00
Christian Kandeler
f08e42f9ec Maemo: Fix QML debugging.
In general, at least. Does not actually stop at breakpoints yet.
2011-02-11 16:03:34 +01:00
Christian Kandeler
ac26a8edaa Maemo: Inform debugger engine about connection loss.
Task-number: QTCREATORBUG-3783
2011-02-11 14:21:05 +01:00
Christian Kandeler
8ef69343b8 Maemo: Show project name in application output window when debugging.
The tab is widget title is currently empty, so users might not know
what is running there.

Task-number: QTCREATORBUG-3775
Reviewed-by: hjk
2011-02-11 11:29:12 +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
Christian Kandeler
f0a54abf6b Maemo: Introduce dedicated Fremantle and Harmattan targets.
Task-number: QTCREATORBUG-2770
2011-01-18 15:22:12 +01:00
Christian Kandeler
164cc4ff2c Maemo: Refactor device configurations list. 2011-01-13 15:03:58 +01:00
con
54f4fba003 It's 2011 now. 2011-01-12 15:34:06 +01:00
con
d1023c7614 It's 2011 now.
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
Christian Kandeler
85d6f4bd61 Maemo: Switch to command-line based QML debugging parameters.
Used to be an environment variable.
2011-01-10 17:23:24 +01:00
Friedemann Kleint
a7eccce733 Debugger: Header cleanup 2011-01-10 10:14:23 +01:00
hjk
b9fb6f4b60 maemo: refactor debugger interaction 2011-01-06 19:41:09 +01:00
hjk
b0a9d61d43 maemo: access the debugger engine instead of the runcontrol 2011-01-06 19:33:59 +01:00
hjk
747451dcc5 maemo: use less direct accesses to debugger plugin code 2011-01-06 19:26:57 +01:00
hjk
77e3bfe845 debugger: structural cleanup remote debugging
Use virtual function instead of if/qobject_cast cascades.
2010-12-10 12:42:40 +01:00
hjk
688f5d5941 debugger: more interface cleanup
Looks like DebuggerPlugin::mainWindow() was used after all.
2010-12-06 08:51:46 +01:00
Oswald Buddenhagen
1e362b0f8b overhaul process argument handling
get away from argument stringlists. instead, use native shell command
lines which support quoting/splitting, environment variable expansion
and redirections with well-understood semantics.

Task-number: QTCREATORBUG-542
Task-number: QTCREATORBUG-1564
2010-11-17 13:19:07 +01:00
Christian Kandeler
397869c971 Maemo: Don't hold a reference to a run config in a run control.
Save all relevant information at run control creation time, so we can
re-run even without a project.

Task-number: https://projects.maemo.org/bugzilla/show_bug.cgi?id=203698
2010-11-11 12:10:36 +01:00
Christian Kandeler
220a3d1a37 Maemo: Remove remaining barriers for concurrent debugging.
Pipes and mount points for debugging with on-device gdb now have
unique names.
Also give mount point for deploying via UTFS per-project file name.

Task-number: QTCREATORBUG-2702
2010-11-02 15:08:30 +01:00
Christian Kandeler
548df9385b Maemo: Use dynamic port list.
Check whether the ports we need are actually available on the device.
As a side effect, this makes it possible to debug more than one
application at the same time on Maemo.

Task-number: QTCREATORBUG-2702
2010-11-02 14:27:18 +01:00
Friedemann Kleint
6510a749b7 ProjectExplorer: Move ToolChainType enumeration into separate Header.
Acked-By: dt
2010-11-01 14:25:24 +01:00
Christian Kandeler
aa1456dbe8 Maemo: Introduce states to debug support class.
Task-number: QTCREATORBUG-2705
2010-10-29 16:21:02 +02:00
Christian Kandeler
0bea245745 Debugger/Remote Debugging: Add "GNU target" start parameter.
This is needed for multi-architecture gdb.

Reviewed-by: hjk
2010-10-29 14:14:06 +02:00
Christian Kandeler
a4501441cb Maemo: Fix debugger race condition.
"gdbserver started" does not necessarily mean "gdbserver has opened its port".

Reviewed-by: Tobias Hunger
2010-10-21 11:36:54 +02:00
Christian Kandeler
803206d5b5 Maemo: QML debugging is not possible on Fremantle ...
... so disable the respective widgets if the active build
configuration has a Fremantle toolchain.

Reviewed-by: kh1
2010-10-08 15:38:38 +02:00
Tobias Hunger
f5c044fe48 Move ProjectExplorer::Environment to Utils::Environment
Reviewed-by: dt
2010-09-23 13:40:26 +02:00
Lasse Holmstedt
b580a0c357 QmlDebugging: Use -qmljsdebugger command line argument
Adapt to latest changes in qt.git (commit
a9e5329168c)

Reviewed-by: kkoehne
2010-09-20 12:18:59 +02:00
Christian Kandeler
9c56f4ffe6 Debugger/gdb: Global setting should override start parameters.
On-device gdb is an exception, because the local installation
does not know about it.
2010-09-17 13:47:15 +02:00
Christian Kandeler
ae4c35bd86 Maemo: Support QML-only debugging.
Reviewed-by: kh1
2010-09-16 17:08:58 +02:00
Friedemann Kleint
342ab57db2 Debugger: Un-export GdbAdapters.
Reviewed-by: hjk
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2010-09-13 11:08:08 +02:00
Christian Kandeler
e69588597d Maemo: Support QML debugging.
Could not be tested with actual QML project yet.

Reviewed-by: kh1
2010-09-08 17:54:02 +02:00
Christian Kandeler
7544e75360 Maemo: Fix remote debugging via gdbserver.
Also document remote gdbserver adapter's signal.
2010-09-08 10:10:33 +02:00
ck
378ad4de3d Maemo: Device configurations now have a list of free ports.
The device configuration widget is now the only place the user
ever has to specify ports.
2010-08-13 16:19:21 +02:00