Commit Graph

35 Commits

Author SHA1 Message Date
Reinier Heeres
d35c19b6aa Allow activity up- and downgrades #4906, also fix #5382 2007-12-18 13:43:34 +01:00
Marco Pesenti Gritti
3bc670e2df Patch by Reinier to correct create method handler
signature. Fix #5364.
2007-12-14 13:26:34 +01:00
Simon Schampijer
dc8809cdc6 Move get_activity_root to module part of #5221 2007-12-03 22:10:14 +01:00
Marco Pesenti Gritti
6046c8ed46 Reap only activity processes. Fix #5044 2007-11-28 16:10:27 +01:00
Reinier Heeres
6bb1131e9d Add unfullscreen button to Window, #4890 2007-11-26 13:14:53 +01:00
Marco Pesenti Gritti
43217b2ba2 Patch by unmadindu to remove the msgmerge part from bundlebuilder.py.
Fix #4995.
2007-11-23 20:02:25 +01:00
Tomeu Vizoso
2ddc1bec4c #5004 Fix race that caused multiple fake icons appear in the activity frame after installing a bundle with Browse. 2007-11-18 19:25:28 +01:00
Marco Pesenti Gritti
f022f98815 Alert when an activity cannot be saved. 2007-11-13 15:59:24 +01:00
Michael Stone
8bd8ec6216 Improve error-handling during activity log-file creation. 2007-11-09 13:11:19 -05:00
Tomeu Vizoso
670722bc49 Always checkin to the DS from a new file. 2007-11-09 15:43:54 +01:00
Marco Pesenti Gritti
be8669317d Fix typo 2007-11-09 00:11:53 +01:00
Marco Pesenti Gritti
2e9e0f8505 Add an hardcoded list of activities which are launched
outside rainbow containers.
2007-11-08 23:37:15 +01:00
Marco Pesenti Gritti
dae3ebe8d1 Create an instance dir and write journal files into it. 2007-11-07 12:13:17 +01:00
Marco Pesenti Gritti
306d32832f ctrl+s -> kee -> keepp 2007-11-06 15:14:18 +01:00
Michael Stone
0a9676171d Improve ActivityFactory utility functions and reduce code-path duplication.
* Remove a race in open_log_file()

  * Make open_log_file return a path as well as a file-object so that
    Rainbow-launched activities can log to the same path that sugar-launched
    ones do.

  * Change the call to Rainbow so that it writes to the log-file provided by
    open_log_file()

  * Define SUGAR_BUNDLE_ID env variable and change the location of the check
    for /etc/olpc-security so that Rainbow doesn't have to search for or parse
    the activity bundle.

  * Remove import statements marked as unnecessary by pylint.

  * Fix up some whitespace issues.
2007-11-05 17:40:05 -05:00
Marco Pesenti Gritti
9e4b78766b Make activity space creation a bit more solid 2007-11-05 21:54:02 +01:00
Marco Pesenti Gritti
108147a6b1 Hook up the new screenshot code 2007-11-04 17:00:48 +01:00
Marco Pesenti Gritti
5732433d3e Setup the activity root with a tmp and a data dir.
Save DS files in data (since tmp will be on tmpfs in rainbow)
2007-10-30 23:38:48 +01:00
Marco Pesenti Gritti
0e0ebf5701 Set SUGAR_ACTIVITY_ROOT 2007-10-30 15:03:27 +01:00
Marco Pesenti Gritti
4d5fd7243b Remove activity uploading since it's not useful with the new build system. 2007-10-29 16:46:00 +01:00
Pascal Scheffers
4d26d30710 #4358 pydoc strings for activity.py 2007-10-28 16:56:05 +01:00
Tomeu Vizoso
1c6abcf20f Use the tmp dir in the activity root dir instead of /tmp. 2007-10-24 18:57:53 +02:00
Marco Pesenti Gritti
880f1c637d Parse arguments rather than forking out a shell 2007-10-23 18:22:59 +02:00
Marco Pesenti Gritti
7fd05154d3 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-10-23 15:19:34 +02:00
Marco Pesenti Gritti
f300006b76 Move window management keybindings inside sugar.
Add a TakeScreenshot dbus method and have the shell
call it when the activity can safely take a screenshot
to use as a preview.
2007-10-23 15:19:17 +02:00
Morgan Collett
06ec3d2b22 #4357: Remove FIXME in activity share(), no longer needed. See ticket for details. 2007-10-22 13:14:22 +01:00
Marco Pesenti Gritti
57402cf309 Fix icon names 2007-10-21 00:27:54 +02:00
Simon McVittie
3227653cd3 Avoid misleading warning every time an activity starts (#4266) 2007-10-17 12:53:24 +01:00
Simon McVittie
48bc73d0c4 Try to make sugar.presence log messages less misleading (#4027) 2007-10-16 17:51:36 +01:00
Tomeu Vizoso
aed093dbc2 Fix warning. 2007-10-16 16:18:36 +02:00
Simon Schampijer
664e8a636d Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-10-16 15:52:05 +02:00
Simon Schampijer
91f55488eb Use double leading underscores for callback names to avoid name collisions
The double underscores invoke Python's name mangling algorithm
2007-10-16 15:51:48 +02:00
Marco Pesenti Gritti
34e2271833 Cast to string, looks like dbus strings confuse pygtk
type checking here.
2007-10-16 14:40:43 +02:00
Marco Pesenti Gritti
cb0cedbc40 Do not use prgname for the bundle id because xulrunner
is messing with it. Some activity launch fixes.
2007-10-16 14:29:38 +02:00
Marco Pesenti Gritti
6240c1cf6f Cleanup the source structure 2007-10-16 11:04:59 +02:00