Sugar Learning Environment, Activity Toolkit, GTK 3.
Go to file
Martin Dengler 45fc0b6186 Throw MalformedBundleException on broken zip files
sugar.bundle.bundle.Bundle users (e.g.
jarabe.model.bundleregistry.BundleRegistry._add_bundle) only expect
MalformedBundleException to be thrown, not exceptions of zipfile.

This patch solves the most severe issue in #1876: filling up the
filesystem with temporary files that won't be deleted afterwards.

Before we can consider this bug completely fixed, we still need
to do something for the remaining issues:

 1) Unpacking shouldn't be attempted if there isn't a safety margin

 2) System becomes unresponsive during unpacking

 3) No progress indication for the operation, so users are tempted
    to click multiple times

 4) No error messages displayed for unpacking errors, which is a
    common Sugar nuisance.

http://bugs.sugarlabs.org/ticket/1876#comment:5 offers possible
strategies for (1) and (2).

Signed-off-by: Martin Dengler <martin@martindengler.com>
Signed-off-by: Bernie Innocenti <bernie@codewiz.org>
[style fixes, adjusted description]
Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
Reviewed-by: Aleksey Lim <alsroot@activitycentral.org>
2011-02-05 16:30:03 +01:00
examples style cleanup: prefer ' for strings 2010-11-23 17:14:34 +01:00
m4
po Commit from Sugar Labs: Translation System by user khaled.: 40 of 40 messages translated (0 fuzzy). 2011-01-24 00:26:02 +02:00
src Throw MalformedBundleException on broken zip files 2011-02-05 16:30:03 +01:00
tests style cleanup: prefer ' for strings 2010-11-23 17:14:34 +01:00
.gitignore
AUTHORS
autogen.sh
configure.ac
COPYING
Makefile.am
README

Sugar is the core of the OLPC Human Interface. The toolkit provides
a set of widgets to build HIG compliant applications and interfaces
to interact with system services like presence and the datastore.