James Cameron
f8ef93bd21
Removes the use of O_SYNC on logs #1656
...
With O_SYNC on open of log files, on systems with slow filesystem random
write performance, there is random activity startup time.
2010-03-09 22:23:55 +01:00
Simon Schampijer
e1d4afe13e
Add signal listener functionality to the DS #1197 (silbe)
2010-01-24 17:53:32 +01:00
Sascha Silbe
9c77febcf1
locate rainbow using PATH instead of hardcoding the location ( #1436 )
2010-01-11 17:01:37 +00:00
Sascha Silbe
1d8b1b98cb
don't use rainbow if it has been uninstalled, but the config file remains ( #1317 )
...
Some distros retain config files after removing packages, so /etc/olpc-security
might exist even if rainbow is not installed.
Signed-off-by: Sascha Silbe <sascha@silbe.org>
2010-01-11 16:51:15 +00:00
Sascha Silbe
c9e63eb8ea
PEP8 white space and long line fixes
2009-08-25 21:12:40 +02:00
Sascha Silbe
ecdaf6b795
trim EOL (end-of-line) spaces on source files
2009-08-25 19:55:48 +02:00
Aleksey Lim
9a65089978
Fix typos in 0342a24e2d
2009-08-25 17:21:55 +00:00
Aleksey Lim
0342a24e2d
Sugar crashing when saving a journal entry upon closing an activity #1123
2009-08-25 15:40:23 +00:00
Sascha Silbe
0a8b1261eb
don't hardcode Rainbow activity permissions
2009-08-24 20:40:11 +02:00
Sascha Silbe
496090fe62
let the logger do the formatting
2009-08-24 12:54:02 +02:00
Tomeu Vizoso
10e84fe8fa
Remove list of Rainbow exemptions
2009-08-01 19:36:23 +02:00
Tomeu Vizoso
43167172b9
style fixes
2009-08-01 19:24:21 +02:00
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