Commit Graph

21 Commits

Author SHA1 Message Date
Tomeu Vizoso
26e5fc5ca9 Use util.TempFilePath for icons extracted from zipped bundles 2009-01-03 19:11:36 +01:00
Daniel Drake
3f1509cd22 Simplify activity bundle installation
sugar-install-bundle is broken because ActivityBundle.install() gained a
required parameter. Please can we make it optional? This also fixes one
of the problems with the activity updater.
2008-12-05 21:55:34 +00:00
Marco Pesenti Gritti
b58182a970 Mark modules as STABLE/UNSTABLE/DEPRECATED. 2008-10-28 14:19:01 +01:00
Marco Pesenti Gritti
e2439a7e44 Turn bundle into a new style class 2008-10-20 17:31:58 +02:00
Tomeu Vizoso
f5d45d6acd Make sure that manifests in bundles are only called at install and deployment time, so it doesnt impact shell startup performance 2008-10-17 15:29:35 +02:00
Marco Pesenti Gritti
f5f26d59c4 Remove unused imports. 2008-10-06 16:38:25 +02:00
Marco Pesenti Gritti
5c6c7ab1d1 The activity registry is now private to the shell.
Changed the activityfactory to take a bundle instead of a bundle_id
so that it doesn't depend on the registry.
2008-10-06 15:54:46 +02:00
C. Scott Ananian
897428c794 Trac #8674: sanity-check bundle root; don't delete install_root on failure.
The software updater was deleting ~/Activities when it encountered a bad
bundle.  Two separate issues:  we didn't sanity check the bundle root to
ensure it wasn't '.' or '..' or something crazy like that, and our "clean
up on failure" code was deleting the install_root instead of the activity
root (!).  This was a regression introduced by the fix for #7733 in
commit db2d1c42e2481d6dbc15405840ac23e46eab7318 (0.82.2).
2008-09-28 14:24:46 -04:00
Marco Pesenti Gritti
938e2e9648 Do not try to list the mimetypes directory if it does not exist.
Fix #7837
2008-08-31 14:36:13 +02:00
C. Scott Ananian
1bd1b6c81e Trac #7733: fix severe performance regression when creating ActivityBundle. 2008-08-19 15:46:36 -04:00
Marco Pesenti Gritti
80190bf944 Several pylint fixes. 2008-08-11 00:50:29 +02:00
Jameson Quinn
48597a672f bug #7534: need_upgrade should always be True 2008-07-23 09:55:42 -06:00
Jameson Quinn
62af4ae9bb bug #7494 - uninstall from location, not future location 2008-07-23 07:09:49 -06:00
Daniel Drake
02d3799b54 #7532 install + open content bundles through journal 2008-07-21 09:01:23 -04:00
chema
756b9309e8 7205: bundlebuilder accepts old "dist" cmd, checks for po dir 2008-07-19 15:54:54 +02:00
Daniel Drake
cc8e682ab0 #7523 library regeneration fails as XDG_DATA_DIRS is unset
The XDG specs say that a default value should be used if it is not set
2008-07-16 10:36:09 -04:00
Daniel Drake
d17347cc19 #7523 fix content bundle installation 2008-07-15 11:42:56 -04:00
Tomeu Vizoso
73fe1e9837 #7046: Fix removal of activities 2008-07-03 12:27:28 +02:00
Marco Pesenti Gritti
cfdc17d6c9 Patch by Jameson Chema Quinn.
Readability cleanups and little fixes by me.

use MANIFEST. Deprecate bundle_name. fix_manifest().
bundlebuilder.config() cleanup.
2008-06-13 12:37:45 +02:00
Tomeu Vizoso
708a62c06f Move timestamp_to_elapsed_string to sugar.util and add ActivityBundle.installation_time 2008-05-24 18:07:51 +02:00
Marco Pesenti Gritti
72c2a1d770 Use a src directory consistently with base and shell. 2008-04-29 14:58:34 +02:00