Re: [sugar] Autosave in 8.2.0?
Am 17.07.2008 um 07:37 schrieb Bert Freudenberg: > Am 17.07.2008 um 00:10 schrieb Tomeu Vizoso: > >> Marco has added a session manager to Sugar (in 8.2.0) that takes care >> of telling activities to save their work because the system is being >> shut down. Haven't verified if this is complete and working. Have >> you, >> Marco? If so, this would also take care of the case where kids shut >> down before closing all running activities first. > > > How does this work from an activity's pov? > > - Bert - Thanks for not answering, and not updating the API doc, and me having to dig through Sugar patches to find out how this works. I updated the doc: http://wiki.laptop.org/go/Low-level_Activity_API#D-Bus_Methods === org.laptop.Activity.SyncData() Called when the laptop is about to shutdown, reboot, or suspend. The activity must save its state in the datastore. === Apparently this does not send a reason for having to sync - IMHO suspend is not as severe a reason as impending shutdown/reboot so an activity might want to choose to not save on suspend if suspends are as frequent as we anticipate. - Bert - ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar
Re: [sugar] Autosave in 8.2.0?
On Sun, Jul 20, 2008 at 5:44 PM, Bert Freudenberg <[EMAIL PROTECTED]> wrote: > Thanks for not answering, Hmm? Both Tomeu and me answered. http://lists.laptop.org/pipermail/devel/2008-July/016914.html http://lists.laptop.org/pipermail/devel/2008-July/016951.html > and not updating the API doc, The time I can devote to OLPC is *very* limited these days and I had no time until today to even check this API was working properly... I just finished up the python Activity bits and I have a patch up for review. I will try to update the doc on monday. > and me having > to dig through Sugar patches to find out how this works. > > I updated the doc: > http://wiki.laptop.org/go/Low-level_Activity_API#D-Bus_Methods > === >org.laptop.Activity.SyncData() >Called when the laptop is about to shutdown, reboot, or suspend. The > activity must save its state in the datastore. > === > Apparently this does not send a reason for having to sync - IMHO > suspend is not as severe a reason as impending shutdown/reboot so an > activity might want to choose to not save on suspend if suspends are > as frequent as we anticipate. This code never went in actually... See the mails I referenced. Marco ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar
Re: [sugar] Autosave in 8.2.0?
On Sun, Jul 20, 2008 at 5:44 PM, Bert Freudenberg <[EMAIL PROTECTED]> wrote: > Am 17.07.2008 um 07:37 schrieb Bert Freudenberg: > >> Am 17.07.2008 um 00:10 schrieb Tomeu Vizoso: >> >>> Marco has added a session manager to Sugar (in 8.2.0) that takes care >>> of telling activities to save their work because the system is being >>> shut down. Haven't verified if this is complete and working. Have >>> you, >>> Marco? If so, this would also take care of the case where kids shut >>> down before closing all running activities first. >> >> >> How does this work from an activity's pov? >> >> - Bert - > > > Thanks for not answering, and not updating the API doc, and me having > to dig through Sugar patches to find out how this works. Bert, you should know better than others how things are here. We cannot manage to do the things we know that must be done, much less we can do those properly. If I was in any regular job, I would limit myself to do what I can, and do it right. Here we just cannot behave like that. You are right to be frustrated by this situation, but please don't ask us to do more than what is in our hands. If you know anyone who would like to join us in this craziness, please point them to http://www.laptop.org/en/jobs.shtml . Regards, Tomeu ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar
Re: [sugar] Autosave in 8.2.0?
Am 20.07.2008 um 12:27 schrieb Tomeu Vizoso: > On Sun, Jul 20, 2008 at 5:44 PM, Bert Freudenberg <[EMAIL PROTECTED] > > wrote: >> Am 17.07.2008 um 07:37 schrieb Bert Freudenberg: >> >>> Am 17.07.2008 um 00:10 schrieb Tomeu Vizoso: >>> Marco has added a session manager to Sugar (in 8.2.0) that takes care of telling activities to save their work because the system is being shut down. Haven't verified if this is complete and working. Have you, Marco? If so, this would also take care of the case where kids shut down before closing all running activities first. >>> >>> >>> How does this work from an activity's pov? >>> >>> - Bert - >> >> >> Thanks for not answering, and not updating the API doc, and me having >> to dig through Sugar patches to find out how this works. > > Bert, you should know better than others how things are here. We > cannot manage to do the things we know that must be done, much less we > can do those properly. If I was in any regular job, I would limit > myself to do what I can, and do it right. Here we just cannot behave > like that. > > You are right to be frustrated by this situation, but please don't ask > us to do more than what is in our hands. If you know anyone who would > like to join us in this craziness, please point them to > http://www.laptop.org/en/jobs.shtml . I apologize, I was particularly frustrated when I sent this. - Bert - ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar
Re: [sugar] Autosave in 8.2.0?
Am 20.07.2008 um 08:59 schrieb Marco Pesenti Gritti: > On Sun, Jul 20, 2008 at 5:44 PM, Bert Freudenberg <[EMAIL PROTECTED] > > wrote: >> Thanks for not answering, > > Hmm? Both Tomeu and me answered. > > http://lists.laptop.org/pipermail/devel/2008-July/016914.html > http://lists.laptop.org/pipermail/devel/2008-July/016951.html I see. Thanks - I have to check my email setup :/ >> and not updating the API doc, > > The time I can devote to OLPC is *very* limited these days and I had > no time until today to even check this API was working properly... I > just finished up the python Activity bits and I have a patch up for > review. I will try to update the doc on monday. > >> and me having >> to dig through Sugar patches to find out how this works. >> >> I updated the doc: >> http://wiki.laptop.org/go/Low-level_Activity_API#D-Bus_Methods >> === >> org.laptop.Activity.SyncData() >> Called when the laptop is about to shutdown, reboot, or >> suspend. The >> activity must save its state in the datastore. >> === >> Apparently this does not send a reason for having to sync - IMHO >> suspend is not as severe a reason as impending shutdown/reboot so an >> activity might want to choose to not save on suspend if suspends are >> as frequent as we anticipate. > > This code never went in actually... See the mails I referenced. Okay. Thanks and apologies. - Bert - ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar