[Sugar-devel] [PATCH 0/4] data store access timeout fixes

Sascha Silbe silbe at activitycentral.com
Sun Feb 19 09:44:39 EST 2012


I got bitten again by a couple of old bugs yesterday so I finally fixed them.
The patches are against mainline master. While I've only tested the (GTK2)
sugar-toolkit patch, the sugar-toolkit-gtk3 one is a clean forward-port and
I don't expect any issue as the relevant module (sugar.datastore.datastore)
hasn't been touched during the GTK3 porting effort.

While the sugar-toolkit patch changes API, I consider the change minor enough
to land this bug fix even though sugar-toolkit is maintenance mode and API
changes are discouraged.

Tested:
- showing the Home View (activities with existing sessions are highlighted)
- starting a new Calculate session
- resuming and stopping an existing Calculate session
- resuming the previously-resumed Calculate session
- showing the Details View for a large entry (both data store and external
  storage)
- resuming a large entry (data store backup) from the data store
- resuming a large entry (data store backup) from external storage (implicit
  copy to data store)
- deleting a large data store entry


Sascha Silbe (2):
  Actually use property filesize for showing file size in Journal
    Details View
  Journal: Increase timeout for data store operations (see SL#2319)

 src/jarabe/journal/expandedentry.py |    4 ++--
 src/jarabe/journal/model.py         |   31 ++++++++++++++++++++++---------
 2 files changed, 24 insertions(+), 11 deletions(-)


Sascha Silbe (1):
  Increase timeout for data store operations (see SL#1936)

 src/sugar/datastore/datastore.py |   55 +++++++++++++++++++++----------------
 1 files changed, 31 insertions(+), 24 deletions(-)


Sascha Silbe (1):
  Increase timeout for data store operations (see SL#1936)

 src/sugar3/datastore/datastore.py |   55 +++++++++++++++++++++----------------
 1 files changed, 31 insertions(+), 24 deletions(-)

--
1.7.9



More information about the Sugar-devel mailing list