english HowTo [ID# 78262] 

Development Team   ·   Join   ·   Contacts   ·   Resources   ·   FAQ   ·   Roadmap   ·   To Do   ·   Meetings

Please do not edit unless you are part of the Sugar Release Team. Comments are welcome on the Discussion page.

Sucrose 0.96 Release Notes

Introduction

Sugar 0.96 is the new version of the Sugar learning platform. It was released the 30th of April 2012 (see 0.96/Roadmap#Schedule for details).

The main changes in this cycle was the introduction of the new sugar-toolkit-gtk3 which is the sugar-toolkit ported to use GTK+ 3 and Pygobject3. Currently Browse, Read, the HellowWorld activity and Abacus have been ported to the new toolkit.

 

The Read activity has been ported to use the new toolkit.


 

Besides moving to the new toolkit Browse and related components have been switching to WebKit as its back-end technology.

What is new for users

Write to Journal anytime

 

 


This Feature has a long history and many thinking has been going into this for a few cycles. You can now edit the description of your current activity session from within the activity. The main goal is to be able to take notes within the activity context while the activity is still running. To take notes you can reveal the description palette from a button in the activity subtoolbar, it is the same description field that is used in the Journal detail section. You can edit the description in both places, as well from within the detail view while the activity is still running, the description will be updated accordingly.

The naming alert that prompted the learner for taking notes about the activity session when closing the activity has been removed.

Thanks to everyone involved in this great feature, the design team and especially to Walter Bender for his constant effort over several release cycles to make this happen.

Global Text to Speech

 


The global text to speech feature gives the learner the ability to let Sugar speak out any selected text in the user interface. It can be accessed by the speech frame device which has the start/pause and stop controls. There are options in this palette to adjust the pitch and rate as well which are restored over boots. For power users the "alt+shift+s" shortcut has been added to control the speak-back.

Thanks to Gonzalo Odiard for bringing this great Feature to us.

What's new for developers

The following changes are important for developers using the Sucrose 0.96 developer platform:

Activity Authors guidelines

The most important change is that the GTK+ 2 based sugar-toolkit has been deprecated. Newly written activities should use sugar-toolkit-gtk3, which is based on GTK+ 3 and Pygobject3, now. There will be only bug fixes being available in the future for the old toolkit no new features will be made available for it and it will probably go away at one point completely. Detailed guidelines for porting existing activities can be found at Features/GTK3/Porting.

Widgets

The Keep button has been removed completely from the API later; please adjust existing activities accordingly.

API

In sugar-toolkit-gtk3 API that has been deprecated for several development cycles have been removed:

  • Remove support for the old deprecated toolbar
    • removed deprecated imports from the activity module, use the widgets module instead
    • removed the ActivityToolbox class
    • removed the Stop button from the ActivityToolbar
    • removed set_toolbar/get_toolbar API from the window module
  • Datastore: remove deprecated API
  • ObjectChooser: remove deprecated parameters
    • The objectchooser had the 'title', 'flags' and 'buttons' parameters deprecated for a long time, remove them now completely. The only parameters allowed are now the 'parent' and the 'what_filter'.
  • Bundlebuilder: remove deprecated bundle_name argument
  • Activity: remove deprecated _shared_activity member
  • ActivityBundle: clean from deprecated code
    • removed deprecated mime type 'application/vnd.olpc-x-sugar'
    • activity.info file: removed deprecated field 'service_name' use 'bundle_id' instead
    • activity.info file: removed deprecated field 'class' use 'exec' instead

What's new for packagers

  • Sugar (the shell package) does depend on NetworkManager 0.9

Internationalization (i18n) and Localization (l10n)

Compatibility

There a no known compatibility issues, as of today.

Getting the sources

If you want to package Sugar for your favorite distribution or just want to examine Sugar's lovely code here are the released bundles. If you are interested in the full changelog you can use the Sugar git repositories.

Glucose modules

Fructose modules

How to contribute with testing

Sugar 0.96 has been released. We are still stabilizing the areas that have seen major changes like the new stugar-toolkit-gtk3 the new GTK+ 3 Sugar theme and the Browse activity that has been ported to use Webkit. It is very important to get feedback from and that you report the bugs you find. The order of stability depends among other things as well on you.

If you find bugs please report them into the Sugar Labs bug tracker indicating the 0.96.x version in the ticket version field. If you have hardware from OLPC you can use the 12.1.0 builds for the i686 architecture (XO 1 and XO 1.5) and the ARM architecture (XO 1.75). Those builds include the latest Sugar 0.96.x. Hardware specific bugs especially with the new 1.75 hardware please report at the OLPC bug tracker. The current development version is as well available in Fedora 17 and sugar-jhbuild (sugar* master branches).

Looking forward to 0.98

In the 0.98 development cycle the porting of the Shell to GTK+ 3 and pygobject3 is a major task. Furthermore the remaining bugs in the new sugar-toolkit-gtk3 should be fixed. We encourage activity developers to port their activity to the new toolkit and GTK+ 3 and pygobject3.