Commit Graph

17 Commits

Author SHA1 Message Date
Michael Stone
a65c8d2148 Get activities launching with rainbow-0.8.x.
Future extensions:

a) we are now able to reliably detect when an activity's main process has
exited. We should take advantage of this to give better feedback on activity
crashes; e.g. by turning the frame's activity-icon into an error icon and by
inserting the activity's log into the datastore so that it appears in the
Journal.

b) in the future, I'd like rainbow to provide more narrow interfaces for
manipulating jails; e.g. for garbage-collecting them, nuking their contents, or
for reusing them. Please consider this an invitation to show me which interfaces
would work best for Sugar.

P.S. - Thanks to Sascha Silbe for testing and for improvements to this patch.
2009-02-27 16:42:47 -05:00
Tomeu Vizoso
e2696086e6 Switch to existing instance of an activity if it's already running #410 2009-02-24 10:34:22 +01:00
Marco Pesenti Gritti
b58182a970 Mark modules as STABLE/UNSTABLE/DEPRECATED. 2008-10-28 14:19:01 +01:00
Tomeu Vizoso
611bd9ccda Only absolutize the command when it doesnt contain already a slash 2008-10-21 17:07:03 +02:00
Tomeu Vizoso
0b7def1788 If the binary to launch is inside the bundle dir, use an absolute path. 2008-10-21 16:12:22 +02:00
Tomeu Vizoso
a13ca6d664 #8840 Add missing byte_arrays=True 2008-10-16 20:41:45 +02:00
Marco Pesenti Gritti
5c6c7ab1d1 The activity registry is now private to the shell.
Changed the activityfactory to take a bundle instead of a bundle_id
so that it doesn't depend on the registry.
2008-10-06 15:54:46 +02:00
Marco Pesenti Gritti
3f08644b32 Remove workaround for old dbus-python. 2008-10-01 00:24:37 +02:00
Tomeu Vizoso
afb63981fa Set the correct locale path for system activities 2008-09-25 20:19:05 +02:00
Marco Pesenti Gritti
7eafbe9ce9 Failure to close descriptor is actually expected. Don't bloat the logs. 2008-09-19 11:38:23 +02:00
Marco Pesenti Gritti
6a5d0c837b Another pylint fix. 2008-09-19 00:32:46 +02:00
Marco Pesenti Gritti
a151135e2e Fix a few pylint warnings. 2008-09-19 00:18:31 +02:00
C. Scott Ananian
28586edb2f Trac #8532: remove SIGCHLD handler, which interacts poorly with threads.
Threads and signals don't get along too well together.  Instead, use
gobject's spawn_async functionality which already has the necessary zombie-
reaping integrated into the gobject event loop.
2008-09-18 11:14:41 -04:00
Tomeu Vizoso
6c1eed78d8 s/print/logging.debug 2008-09-15 15:45:35 +02:00
Marco Pesenti Gritti
00c8a5897b Keep going even if the disk is full. Patch by cscott.
Fix #7587
2008-07-25 14:07:48 +02:00
Simon Schampijer
7d40d1d74d Adopt to name change of log activity
adopt to name change that log activity keeps on running outside of rainbow
2008-05-26 15:07:20 +02:00
Marco Pesenti Gritti
72c2a1d770 Use a src directory consistently with base and shell. 2008-04-29 14:58:34 +02:00