Commit Graph

109 Commits

Author SHA1 Message Date
ck
cbf31293cb Maemo: Adapt to new deploy configuration approach.
Reviewed-by: Tobias Hunger
2010-08-02 16:01:53 +02:00
ck
dd6966b2f0 Maemo: Do the bind() for remote mounts on the device.
This makes us more independent of the developer PC's firewall setting.

Reviewed-by: kh1
2010-08-02 12:50:01 +02:00
ck
29c304bdf5 Maemo: Determine host address from device automatically.
Reviewed-by: kh1
2010-08-02 11:12:16 +02:00
ck
ca7f49071b Maemo: Complete support for debugging via remote gdb.
1) Make sources available on device.
2) Enable users to switch between gdb and gdbserver approach (users may not be able to use the former if they have no control over their firewall).

Reviewed-by: kh1
2010-07-30 16:48:40 +02:00
kh1
c3350a1675 Basic support for fetching and modifying device environment. 2010-07-28 14:28:04 +02:00
ck
5ff0d9b72f Maemo: Rename some classes.
All our classes should have the Maemo prefix because we don't have
a namespace of our own.
2010-07-28 09:36:30 +02:00
ck
f580db954f Maemo: Finish implementing "remote mount" feature.
Disabled on Windows for now due to utfs-server not working there.

Reviewed-by: kh1
2010-07-26 16:09:04 +02:00
ck
e139238d14 Maemo: Implement remote mount functionality.
Untested & unused.
2010-07-23 18:21:01 +02:00
ck
fca9ca4602 Maemo: Prepare "mount local directories on device" feature.
Not used yet.

Reviewed-by: kh1
2010-07-23 14:38:21 +02:00
ck
b96df669b1 Maemo: Make device configuration settable from deploy widget.
This is necessary in case there is no run configuration (e.g. for
library projects).
2010-07-16 17:11:26 +02:00
ck
032e7dc4c6 Maemo: Factor SSH operations out of run control classes.
Preparation for removing MaemoDebugRunControl.

Reviewed-by: kh1
2010-07-14 17:27:25 +02:00
dt
7862e31256 Refactor OutputFormatter
Move link handling code to outputwindow from OutputFormatter

Move createOutputFormatter to the RunConfiguration

That makes it easier for Qt4RunConfiguration et all.
This also fixes that each time a runcontrol was rerun a new
OutputFormatter was created without deleting the old one, thus
increasing the memory usage.
2010-07-14 13:01:43 +02:00
ck
8a3c1cc0d4 Maemo: Move INSTALLS information from package step to deploy step.
... because the files are installed even when packaging is disabled.

Reviewed-by: kh1
2010-07-14 12:22:30 +02:00
ck
9b30763e9d Maemo: Factor out redundant code. 2010-07-13 17:16:46 +02:00
ck
e17b99e7f3 Maemo: Introduce class for maemo-global functions. 2010-07-13 17:16:46 +02:00
ck
ce5e473438 Maemo: Move deploying to dedicated deploy step.
Reviewed-by: kh1
2010-07-13 16:27:50 +02:00
ck
c4e9559c44 Maemo: Remove native separators from where they don't belong. 2010-07-08 17:10:48 +02:00
ck
1430358d52 Maemo: Give meaningful names to run configurations.
Reviewed-by: kh1
2010-07-08 15:47:14 +02:00
ck
3c5ae375bc Maemo: Fix deployment.
This broke after the introduction of a deploy step type.
2010-07-07 11:15:18 +02:00
Tobias Hunger
8ccbd0ec6b Rename StepType to BuildStep::Type
* Move and rename the enum
 * Add Q_ENUMS macro

Reviewed-by: dt
2010-07-06 18:36:30 +02:00
con
af44136e22 Merge remote branch 'origin/2.0'
Conflicts:
	doc/qtcreator.qdoc
	src/plugins/help/helpplugin.cpp
	src/plugins/projectexplorer/projectexplorer.cpp
	src/plugins/projectexplorer/projectexplorer.h
	src/plugins/qt4projectmanager/qt-maemo/maemopackagecontents.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemopackagecontents.h
	src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationstep.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationwidget.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemoruncontrol.cpp
	src/tools/qml/qmldump/main.cpp
2010-06-24 11:40:22 +02:00
ck
dd666a3af4 Maemo: Add option to disable packaging.
Task-number: QTCREATORBUG-1636
Reviewed-by: kh1
2010-06-22 14:45:09 +02:00
kh1
83edceafe4 Fix missing update notification if a device config get's added/removed.
Task-number: QTCREATORBUG-1686
Reviewed-by: ck
2010-06-21 13:27:43 +02:00
ck
a793217c07 Maemo: Prepare unpackaged deployment.
Reviewed-by: kh1
2010-06-21 11:28:42 +02:00
kh1
01b7e7b99d Remove some leftovers.
Reviewed-by: ck
2010-05-20 16:46:11 +02:00
kh1
c6fef3ef63 Long overdue changes and refactoring for qemu handling.
Fixes: - react on build/ run configuration changes
       - now notices environment changes, like switching Qt versions
       - start button is now only shown if we have a valid qemu runtime
       - enabled/ disabled state works properly when loading a project

Task-number: QTCREATOR-210, QTCREATORBUG-1252, QTCREATORBUG-1082
Reviewed-by: ck
2010-05-20 16:05:23 +02:00
kh1
9109380570 Long overdue changes and refactoring for qemu handling.
Fixes: - react on build/ run configuration changes
       - now notices environment changes, like switching Qt versions
       - start button is now only shown if we have a valid qemu runtime
       - enabled/ disabled state works properly when loading a project

Task-number: QTCREATOR-210, QTCREATORBUG-1252, QTCREATORBUG-1082
Reviewed-by: ck
2010-05-20 15:59:29 +02:00
ck
60991499dd Maemo: Give more information to user about Qemu state.
Reviewed-by: kh1
2010-05-19 11:55:00 +02:00
ck
de7bc1d9cf Maemo: Give more information to user about Qemu state.
Reviewed-by: kh1
2010-05-19 11:00:43 +02:00
ck
08b719c992 Maemo: Remove debug output that annoyed someone. 2010-04-23 10:32:15 +02:00
kh1
4ca6422bd7 Do not add "on Maemo device" anymore, since we now have the targets.
Task-number: QTCREATOR-207
Reviewed-by: ck
2010-04-19 15:04:29 +02:00
Thorbjørn Lindeijer
2ab7d2eafc Some documentation comment formatting and a rename
Renamed RunConfiguration::configurationWidget to
createConfigurationWidget.

Reviewed-by: dt
2010-04-16 13:31:22 +02:00
ck
44a953e84c Maemo: Deploy and install packages instead of raw executables.
Reviewed-by: kh1
2010-04-15 14:47:01 +02:00
kh1
bb17a05f31 Remove maemo gdb settings page, since we now have a unified one.
Reviewed-by: ck
2010-04-09 16:52:54 +02:00
kh1
53158b4617 Remove double connect.
Reviewed-by: ck
2010-04-09 11:29:51 +02:00
ck
9cbafa9696 Maemo: Use first device configuration as default.
Reviewed-by: kh1
2010-04-01 15:46:36 +02:00
kh1
cef244bc3e Implement setting the maemo gdb debugger location using the prefs. 2010-03-31 18:34:08 +02:00
Tobias Hunger
1ca8cb2397 Introduce method to access the project directory
... use it.

Reviewed-by: dt
2010-03-25 14:21:43 +01:00
Friedemann Kleint
bbcacaf59f Header cleaning spree in Core/Debugger and Symbian/Maemo-code of Qt4. 2010-03-18 10:59:06 +01:00
dt
ab8fc52d0b Use exact and aysnc .pro file evaluate
This is a big change touching almost all of our .pro file parsing.
With this patch we only evaluate once exact for all needs and once
greedy for the filelist. That is the qt runconfigurations don't have own
evaluaters but reuse the project wide exact evaluation.

We reevaluate if the user changes the build directory, the qmake
buildconfiguration or the qmake arguments. That is if you open src.pro
(or projects.pro) of qt with a shadow build you still don't get all the
files, but after correcting the build directory, we reevaluate the .pro
files and find all files. So for a suitable definition of fixed, that
bug is now fixed.

We now get the exact defines of all .pro files instead of all defines for all
buildconfigurations. We still don't distinguish in which
.pro file a DEFINE is set. So the code model now knows about all the
defines set for the given configuration but not for which files it is
actually set. Also that includes all DEFINES set in .qmake.cache or the
mkspecs. This means all defines from .pro files should now work.

The intial loading is still synchronous. I haven't looked into it to
deeply, but it seems possible to make it also async.There are probably a
few issues which need to be solved fist.

Also due to the asynchronous nature of the code, the executable is
updated a few seconds after actually changing the build configuration
2010-03-10 17:02:24 +01:00
ck
22b5c74709 Maemo: First attempt at packaging. Disabled for now. 2010-03-09 14:01:59 +01:00
ck
2e25571edb Maemo: Make deployment timestamps per host.
Reviewed-by: kh1
2010-03-05 16:07:14 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
kh1
88d99c59a8 Avoid starting qemu if we are not the startup project.
Reviewed-by: ck
2010-03-01 17:07:49 +01:00
kh1
adefff60ad Fix broken enabled/ disabled emulator startbutton state.
Functionality depends entirely on the active start-up project, all other
projects should have the the button disabled if they have no Maemo run
config or the the run config is not the active on.

Reviewed-by: ck
2010-03-01 17:07:48 +01:00
kh1
fab70e72eb No need to have a function if we can call connect inside the class ctor. 2010-02-23 18:16:15 +01:00
kh1
69ebf668ba Return a reference to the object, changed from pointer.
Since we use addAutoReleasedObject we would rather unclean call the
class destructor.
2010-02-23 18:16:14 +01:00
kh1
399ad59faa Move the factories inside there own source files. 2010-02-23 18:16:12 +01:00
kh1
55dc4a9a92 Remove dumper class, wasn't heavily used anyways. 2010-02-23 18:16:11 +01:00
kh1
6d798a2b44 Fix wrong connect/ disconnect logic.
This makes the qemu run button appear/ disappear once we add a maemo
target to an existing project.

Reviewed-by: Tobias Hunger
2010-02-23 18:16:10 +01:00