Changes

24 bytes removed ,  02:10, 11 March 2009
Line 60: Line 60:  
Sugar moved to use [http://projects.gnome.org/gconf/ GConf] as a back end to store the profile. This is another step into reducing diverts where not needed.
 
Sugar moved to use [http://projects.gnome.org/gconf/ GConf] as a back end to store the profile. This is another step into reducing diverts where not needed.
   −
To handle view source [http://git.sugarlabs.org/projects/sugar-toolkit/repos/mainline/blobs/master/src/sugar/activity/activityservice.py#line71 ''HandleViewSource'' and ''GetDocumentPath''] have been added to the activity service. The former will handle the content of the activity bundle, the latter is the source of the current activity instance, in the case of Browse this would be the source of the HTML page currently displayed. Activity authors need to implement ''get_document_path'' and return the path to the document the dialog should display.
+
To handle view source [http://git.sugarlabs.org/projects/sugar-toolkit/repos/mainline/blobs/master/src/sugar/activity/activityservice.py#line71 HandleViewSource and GetDocumentPath] have been added to the activity service. The former will handle the content of the activity bundle, the latter is the source of the current activity instance, in the case of Browse this would be the source of the HTML page currently displayed. Activity authors need to implement ''get_document_path'' and return the path to the document the dialog should display.
    
The method [http://git.sugarlabs.org/projects/sugar-toolkit/repos/mainline/blobs/master/src/sugar/activity/activity.py#line717 ''get_preview''] has been changed to be public. It does return an image representing the state of the activity. Generally this is what the user is seeing in this moment. Activities can override this method and provide their own preview data.
 
The method [http://git.sugarlabs.org/projects/sugar-toolkit/repos/mainline/blobs/master/src/sugar/activity/activity.py#line717 ''get_preview''] has been changed to be public. It does return an image representing the state of the activity. Generally this is what the user is seeing in this moment. Activities can override this method and provide their own preview data.
    
=== Dependencies ===
 
=== Dependencies ===
For performance reasons Sugar is using exclusively ''cjson'', a [http://www.json.org/ JSON] processing module written in ''C''. ''pyjson'' and ''simplejson'' have been dropped. All the Fructose activities that use JSON to serialize data have been changed to use ''cjson'' as well.
+
For performance reasons Sugar is using exclusively ''cjson'', a [http://www.json.org/ JSON] processing module written in C. Pyjson and Simplejson have been dropped. All the Fructose activities that use JSON to serialize data have been changed to use ''cjson'' as well.
    
=== Bundlebuilder===
 
=== Bundlebuilder===
[http://git.sugarlabs.org/projects/sugar-toolkit/repos/mainline/blobs/master/src/sugar/activity/bundlebuilder.py ''Bundlebuilder''] the module for packaging xo bundles, bundling source tarballs and installing activities on the system has been refactored, mainly to do a more standard system installation of activities. The install argument has a prefix option, ''mo'' files are installed in ''/usr/share/locale'' and ''po'' files are not installed. The ''release'' command has been dropped. For Glucose and Fructose components you can use the ''release'' script of the [http://git.sugarlabs.org/projects/sugar-tools/repos/mainline/blobs/master/release ''sugar-tools''] module instead.
+
[http://git.sugarlabs.org/projects/sugar-toolkit/repos/mainline/blobs/master/src/sugar/activity/bundlebuilder.py Bundlebuilder] the module for packaging xo bundles, bundling source tarballs and installing activities on the system has been refactored, mainly to do a more standard system installation of activities. The install argument has a prefix option, ''mo'' files are installed in ''/usr/share/locale'' and ''po'' files are not installed. The ''release'' command has been dropped. For Glucose and Fructose components you can use the ''release'' script of the [http://git.sugarlabs.org/projects/sugar-tools/repos/mainline/blobs/master/release ''sugar-tools''] module instead.
    
=== Extensions ===
 
=== Extensions ===
3,267

edits