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 Add simple toolbars example 2009-07-10 04:07:10 +00:00
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 Add 'compile' to gitignore. 2008-06-25 15:29:23 +02:00
AUTHORS Add AUTHORS file 2007-09-25 15:49:52 +02:00
autogen.sh autogen.sh: pass --enable-maintainer-mode to configure 2010-03-10 09:51:56 +01:00
configure.ac Release 0.90.2 2010-10-14 19:17:22 +02:00
COPYING Make it distcheck. Fix license. 2008-02-06 16:43:10 +01:00
Makefile.am Use a src directory consistently with base and shell. 2008-04-29 14:58:34 +02:00
README Release 0.79.0 2008-02-06 17:03:51 +01:00

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.