Commit Graph

866 Commits

Author SHA1 Message Date
Christian Kandeler
f15f5945c0 Maemo: Make deploy step widget extensible. 2011-04-26 13:34:44 +02:00
Christian Kandeler
0822c900da Maemo: Show the name of deploy steps in their associated widgets. 2011-04-26 13:34:43 +02:00
Christian Kandeler
b2ef0926e3 Maemo: Use devrootsh only on remote systems that have MAD developer. 2011-04-26 12:10:55 +02:00
con
2cf76ead26 Move OutputFormatter to Utils lib. 2011-04-26 10:45:21 +02:00
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
f0486a4bb2 Maemo: Make some public functions protected. 2011-04-21 17:02:58 +02:00
Friedemann Kleint
9b97f9a66e Compile fix. 2011-04-21 15:08:27 +02:00
Christian Kandeler
0ee99ff2b3 Maemo: Move OsVersion type from MaemoGlobal to MaemoDeviceConfig.
Also move freePorts() method from AbstractMaemoDeployStep
to MaemoGlobal.
2011-04-21 14:42:17 +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
8f921b954d Maemo: Remove outdated code.
This was left over from the time where there was only one kind
Target class for all Maemo-like target types.
2011-04-21 14:05:33 +02:00
Christian Kandeler
c4c7bb89dc Maemo: Fix file handling refactoring artifact.
Some content was written into the wrong files.
2011-04-21 14:05:33 +02:00
Christian Kandeler
e40a0ca990 Maemo: Fix directory deployment issues. 2011-04-21 11:11:14 +02:00
Christian Kandeler
2781453b94 Maemo: Fix issue with cached device configuration.
External functions need to access the real device config,
internal ones need the cached one during deployment.

Task-number: QTCREATORBUG-4514
2011-04-21 11:11:14 +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
e92988261e Merge remote branch 'origin/2.2' 2011-04-20 11:07:25 +02:00
Christian Kandeler
b8f7ee24f3 Maemo: Make "Copy to sysroot" widget a bit more flexible. 2011-04-20 10:23:02 +02:00
Christian Kandeler
a04997a630 Maemo: Replace manual copying to sysroot by "make install". 2011-04-20 09:41:27 +02:00
Friedemann Kleint
774fa49412 Fix more krazy warnings. 2011-04-19 15:43:53 +02:00
Christian Kandeler
3fcc88fc84 Maemo: Get rid of some Debian control file entries.
According to the Harmattan people, support for them has been dropped
and they are afraid users could get confused.
2011-04-19 15:39:19 +02:00
Oswald Buddenhagen
2be153ba37 unify i/o error reporting in the model
- use Utils::FileSaver
- as a side effect, don't rewrite the desktop file with the same content
  if it already exists
- pop up message boxes on errors - this is likely to be more visible
  than qWarning()s/nothing
  - this is implemented in a somewhat strange way with the model itself
    doing the gui interaction, but that seems to be the simplest
    solution given the qt class design
2011-04-18 14:10:15 +02:00
Oswald Buddenhagen
ff456bb4b6 replace in-place-rewriting of files with a read/modify/write cycle
easier to handle errors that way
2011-04-18 14:10:14 +02:00
Oswald Buddenhagen
45c9cf7a12 add/unify i/o error handling
lots of use of Utils::FileSaver and Utils::FileReader

Task-number: QTCREATORBUG-1619
2011-04-18 14:10:14 +02:00
Oswald Buddenhagen
fd97a4b8bc remove redundant error check
no point in checking for file's existence before opening it - the
errorString is verbose enough.
2011-04-18 14:10:12 +02:00
Oswald Buddenhagen
9beb7afbe8 GUI style fixes: spaces before ellipses and excess ellipses 2011-04-18 14:10:11 +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
62d052cb08 Maemo: Fix section name in Debian control file.
It's "user/other" for Harmattan, apparently...
2011-04-15 17:06:43 +02:00
Friedemann Kleint
f5cbf87965 Utils: Introduce FileSystemWatcher.
Remove duplicated classes ProjectExplorer::FileWatcher
and QmlProjectManager::FileSystemWatcher, create
Utils::FileSystemWatcher from them, merging the functionality.

Also use in HelpManager/Maemo, reducing the number
of QFileSystemWatcher instances (and thus, shutdown time).
2011-04-15 15:55:11 +02:00
Christian Kandeler
a471296780 Maemo: Detect unexpected gdbserver exit.
Task-number: QTCREATORBUG-4535
2011-04-15 14:20:27 +02:00
Christian Kandeler
2db5b26087 struct -> class
Reviewed-by: Tobias Hunger
2011-04-14 17:40:01 +02:00
Friedemann Kleint
aa2ea09496 Maemo: Create file watchers on demand.
As QFileSystemWatcher cause some shutdown time.

Rubber-stamped-by: Christian Kandeler <christian.kandeler@nokia.com>
2011-04-14 16:30:46 +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
Jarek Kobus
4d69c7455e Remove unused constants, fix lacking virtual destructor
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2011-04-14 12:08:47 +02:00
Christian Kandeler
941691140c Maemo: Fix Qemu button state.
Took inactive targets into account.
2011-04-13 16:23:34 +02:00
Christian Kandeler
486eae674b Maemo: Fix issue with cached device configuration.
External functions need to access the real device config,
internal ones need the cached one during deployment.

Task-number: QTCREATORBUG-4514
2011-04-13 16:06:31 +02:00
Christian Kandeler
4097591301 Maemo: Use ABI for determining the gdb architecture string.
Can't use MADDE, because it is outdated.

Reviewed-by: Tobias Hunger
Task-number: QTCREATORBUG-4299
2011-04-13 15:27:17 +02:00
Christian Kandeler
433f3d17f5 Maemo: Don't use "new" MADDE features.
The MADDE in the SDK is six months old...
2011-04-13 15:27:17 +02:00
dt
b9251a6626 Fix available QtVersion::availableToolchains
Do really disable the symbian emulator if there's no toolchain
supporting it.

Reviewed-By: hunger
2011-04-13 13:15:55 +02:00
hjk
8397663964 Update license. 2011-04-13 11:49:28 +02:00
Tobias Hunger
61790e54e8 Maemo: Use debugger set up by the SDK
Use the debugger set up by the Qt SDK instead of the one shipped
with Maemo/Meego.

Task-number: QTCREATORBUG-4299
Reviewed-by: Christian Kandeler
2011-04-13 11:42:52 +02:00
dt
e3c59a5800 TargetSetupPage: Disable editing build directory for symbian
Shadow building is not supported so editing the path has no purpose.

Reviewed-By: hunger
2011-04-12 19:07:40 +02:00
Christian Kandeler
e86b16cf0f Maemo: Add direct SFTP deployment method.
Not used yet.
2011-04-12 10:04:35 +02:00
Christian Kandeler
454f0cb11e Maemo: Fix compilation. 2011-04-12 09:19:54 +02:00
Christian Kandeler
048756a66d Maemo: Get rid of some Q_ASSERTs that limit forward compatibility. 2011-04-12 08:15:29 +02:00
Christian Kandeler
37fa34e269 Maemo: Fix deployment issues with disabled packaging. 2011-04-12 08:15:28 +02:00
Christian Kandeler
ddd4db6aaa Maemo: Device config improvements. 2011-04-11 11:50:40 +02:00
Christian Kandeler
3031eae8ab Maemo: Support copying directries to sysroot. 2011-04-07 17:26:19 +02:00
Christian Kandeler
a257596b90 Maemo: Manually create directories when deploying without packaging.
Task-number: QTCREATORBUG-4398
2011-04-07 17:02:30 +02:00
Christian Kandeler
d7dc745bca Maemo: Allow tarball deployment for non-Harmattan targets. 2011-04-07 16:34:48 +02:00
Christian Kandeler
4efcc46d10 Maemo: Fix tarball installation.
Busybox tar does not have --absolute-names.
2011-04-07 16:34:48 +02:00