Difference between revisions of "0.84/Platform"

From Sugar Labs
Jump to navigation Jump to search
Line 45: Line 45:
 
* Figure out a compatibility strategy. We can't just break API because a lot of activities out there are using it. But we also can't stick with the current one because... it sucks too badly. We can either deprecate gradually or support parallel installation of two different versions. Several trade offs to consider and discuss. '''(marco)'''
 
* Figure out a compatibility strategy. We can't just break API because a lot of activities out there are using it. But we also can't stick with the current one because... it sucks too badly. We can either deprecate gradually or support parallel installation of two different versions. Several trade offs to consider and discuss. '''(marco)'''
 
* Full review of all the modules. '''(marco)'''
 
* Full review of all the modules. '''(marco)'''
* Complete the API documentation and provide an introduction/tutorial.
 
* Refactor the generic part of the Browse activity code into hulahop (creating a web based activity should be as simple as subclassing hulahop.WebActivity and setting a few properties)
 
  
 
=== Ideas ===
 
=== Ideas ===
  
 +
* Complete the API documentation and provide an introduction/tutorial.
 +
* Refactor the generic part of the Browse activity code into hulahop (creating a web based activity should be as simple as subclassing hulahop.WebActivity and setting a few properties)
 
* sugar. Make env activity specify, move the path helpers from sugar.activity in here, probably move it inside sugar.activity. Move network inside sugar.network, assuming it's still useful. Drop profile, use whatever configuration system we adopt instead. Drop wm. Move util in sugar base, drop stuff which is not generally useful, split up the module. Ship libsexy python bindings instead of our own copy of the entry.
 
* sugar. Make env activity specify, move the path helpers from sugar.activity in here, probably move it inside sugar.activity. Move network inside sugar.network, assuming it's still useful. Drop profile, use whatever configuration system we adopt instead. Drop wm. Move util in sugar base, drop stuff which is not generally useful, split up the module. Ship libsexy python bindings instead of our own copy of the entry.
 
* sugar.activity. Factor out the helper classes from the activity module. Review activityhandle and try to rationalize and clarify the identifiers story. Drop the registry, keep the related functionalities exposed as a shell service. Factor out bundlebuilder to its own git module.
 
* sugar.activity. Factor out the helper classes from the activity module. Review activityhandle and try to rationalize and clarify the identifiers story. Drop the registry, keep the related functionalities exposed as a shell service. Factor out bundlebuilder to its own git module.

Revision as of 09:42, 20 September 2008

Shell refactoring

People

Owner: Marco Pesenti Gritti

Peers

  • Simon Schampijer
  • Hemant Goyal

Actions

  • Every major UI component like the frame the home view and the control panel, should reside in his own model and be self contained. We will need a way to share a bit of code between modules likely. (marco)
  • Cleanup window management. The requirements changed a lot since the code was written and we didn't do enough refactoring. The UI design is now pretty solid. We should document our window management strategy and then refactor the code to simplify and make it more solid. (marco)
  • Refactor session management, it's scattered around several components right now. (marco)
  • Use gconf as a backend to store the profile. (erikos)

Ideas

Status

  • Modularization is being figured out and discussed.

Stable activities API

People

Owner: Marco Pesenti Gritti

Peers:

  • Simon Schampijer

Actions

  • Figure out an ABI break policy that we can actually sustain. (marco)
  • Figure out a compatibility strategy. We can't just break API because a lot of activities out there are using it. But we also can't stick with the current one because... it sucks too badly. We can either deprecate gradually or support parallel installation of two different versions. Several trade offs to consider and discuss. (marco)
  • Full review of all the modules. (marco)

Ideas

  • Complete the API documentation and provide an introduction/tutorial.
  • Refactor the generic part of the Browse activity code into hulahop (creating a web based activity should be as simple as subclassing hulahop.WebActivity and setting a few properties)
  • sugar. Make env activity specify, move the path helpers from sugar.activity in here, probably move it inside sugar.activity. Move network inside sugar.network, assuming it's still useful. Drop profile, use whatever configuration system we adopt instead. Drop wm. Move util in sugar base, drop stuff which is not generally useful, split up the module. Ship libsexy python bindings instead of our own copy of the entry.
  • sugar.activity. Factor out the helper classes from the activity module. Review activityhandle and try to rationalize and clarify the identifiers story. Drop the registry, keep the related functionalities exposed as a shell service. Factor out bundlebuilder to its own git module.
  • sugar.graphics. Use gobject like API consistently, in particular gobject properties instead of constructor parameters. Extend the interfaces to match the full UI requirements. Do not subclass gtk widgets when not strictly necessary, instead work upstream whenever it's possible.
  • sugar.presence. Degobjectify and provide asyncronous interfaces. Expose wrappers over the DBus service *only* for functionalities which are frequently needed by the activities and which are better exposed through a python API. Probably rename to sugar.network.
  • sugar.clipboard. Make it private to the shell.
  • sugar.datastore. Degobectify, factor out the bundle specific bits. Make asyncronous where necessary. Expose only the functionalities which are relevant for activities and which are better suited by a python API.
  • sugar.bundle. Make most of it private to the shell/journal (once they are merged in the same process). Move the activity relevant bits in sugar.activity.
  • sugar._sugarext. What should we do with this? It contains several functionalities used only by the shell.
  • Toolbar redesign.

Status

  • General goals defined, concrete discussion and work can start.

Compatibility with desktop applications

People

Owner: Sayamindu Dasgupta

Peers

  • Marco Pesenti Gritti
  • Scott Ananian

Actions

Window manager

  • Make the frame a set of panel windows. We will have to keep the current hinting as an option until we decide to drop matchbox.
  • Support the standard application icon hints. We should evaluate if it's practical and possible to use it also for activities, my current feeling is that it isn't.
  • Figure out a good semantic to be able to fullscreen activities in a standard window manager like metacity. The fullscreen hint is apparently not good enough. See WindowManagement.
  • Support standard .desktop files in the home screen ring.

Datastore

  • Expose a posix interface to read and write from the datastore, a la Olpcfs.

Status

  • Wrote down some general goals. There might be more that I'm forgetting.
  • Sayamindu is drafting a proposal to send to the metacity mailing list to provide an hint for our fullscreen-but-not-really-so activity windows.