Aleksey Lim
78d64031c3
Add is_user_activity() to ActivityBundle #701
2009-08-28 12:06:43 +00:00
Sascha Silbe
c9e63eb8ea
PEP8 white space and long line fixes
2009-08-25 21:12:40 +02:00
Sascha Silbe
ecdaf6b795
trim EOL (end-of-line) spaces on source files
2009-08-25 19:55:48 +02:00
Simon Schampijer
e1e8647de9
pylint fixes
2009-08-24 14:51:00 +02:00
Sascha Silbe
496090fe62
let the logger do the formatting
2009-08-24 12:54:02 +02:00
Tomeu Vizoso
d7e0e22f49
update mime type db when a new activity is copied to ~/Activities #955
2009-07-22 11:54:12 +02:00
Daniel Drake
5fc5b08599
Fix ContentBundle bundle_id
...
Most content bundles use global_name as the ID-style thing, as suggested
on the OLPC wiki. bundle_class seems undocumented and hence is not
present in any of the content bundles I have here.
Change get_bundle_id() to fall back on the global_name if no bundle_class
is set. This fixes a complete sugar crash when installing the standard
content bundles (it tried to send a None value over dbus).
2009-07-10 18:55:49 +01:00
Tomeu Vizoso
cd7debb52a
Add support for tags in activity bundles
2009-06-16 16:22:48 +02:00
Tomeu Vizoso
7c0efa11c0
Restore minimal .xol support #459
2009-03-03 11:12:05 +01:00
Tomeu Vizoso
d22b52434b
Don't recursively clean an activity if it's a symbolic link #444
2009-03-01 18:24:12 +01:00
Tomeu Vizoso
50a253b1b9
Add extension to temp icon file names #458
2009-03-01 10:36:42 +01:00
Simon Schampijer
97e6480be1
Fix uninstallling of activities that use symlinks #171
2009-01-05 11:58:45 +01:00
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