Commit Graph

58 Commits

Author SHA1 Message Date
Marco Pesenti Gritti
488402df7d Split sugar-toolkit out of sugar shell. 2008-02-06 10:20:33 +01:00
Marco Pesenti Gritti
6240c1cf6f Cleanup the source structure 2007-10-16 11:04:59 +02:00
Marco Pesenti Gritti
68ff71a0cb Split part of the sugar library to sugar-base 2007-10-15 15:39:07 +02:00
Marco Pesenti Gritti
b03cf6c5e8 More service_name -> bundle_id renaming 2007-10-09 17:03:00 +02:00
Marco Pesenti Gritti
6073a396b3 Rename activity service_name to bundle_id 2007-10-09 13:15:06 +02:00
Marco Pesenti Gritti
c74013db1f Timeout of 120 seconds for mount to work around jffs2 issues. 2007-10-06 11:15:36 +02:00
Tomeu Vizoso
fab9ac8972 Add DSMetadata.get() method. 2007-10-03 21:33:34 +02:00
Simon Schampijer
03e6db4393 Add support for 'keys' and 'in' method in datastore metadata 2007-10-02 23:40:39 +02:00
Dan Winship
f377d6e519 Redo activity bundles in terms of sugar.bundle.bundle 2007-09-20 12:20:21 -04:00
Marco Pesenti Gritti
0f2a58d737 Human readable file names when copying on usb...
Conflicts:

	NEWS
2007-09-20 12:25:12 +02:00
Marco Pesenti Gritti
3ccd79e3ca Don't crash when entering the detailed view if the
activity which created the entry is no more installed.
2007-09-18 23:34:04 +02:00
Marco Pesenti Gritti
0a666e23cf When starting an activity with activity_id but no object_id
try to figure out from the journal which object it was
associated to.
2007-09-14 16:16:54 +02:00
Marco Pesenti Gritti
8b784a6223 Add default mime type handlers 2007-09-11 21:53:26 +02:00
Tomeu Vizoso
79237f3114 Add a parameter to datastore.find() for filtering out unwanted metadata properties. 2007-09-10 18:03:40 +02:00
Tomeu Vizoso
99059f02a3 Set timestamp property. 2007-09-10 14:04:43 +02:00
Tomeu Vizoso
547df751a7 Fixed some issues with text objects in the clipboard. 2007-09-09 15:04:26 +02:00
Tomeu Vizoso
f73132de91 Don't try to resume a DSObject if no activity can open it. 2007-09-08 18:41:59 +02:00
Dan Williams
9e2a9c4c02 Support moving of files to datastore when using write_file()
Using the transfer_ownership argument, activities using the default activity
datastore integration methods (namely write_file) will now tell the datastore
that it can move the files by default.  This reduces the copies required, which
is slow on flash.  For activities not using the standard APIs (Record, etc),
the datastore bindings allow the activity to specify when ownership should
transfer.
2007-09-07 21:53:32 -04:00
Dan Winship
7b760686a7 Add support for content bundles 2007-09-07 13:31:45 -04:00
Tomeu Vizoso
95c5b283c7 Add datastore.complete_indexing() func. 2007-08-29 19:56:43 +02:00
Tomeu Vizoso
1430fdc24f Add a copy method to the datastore wrapper. 2007-08-27 19:44:49 +02:00
Tomeu Vizoso
544a400afc Updated to use application/vnd.olpc-sugar instead of application/vnd.olpc-x-sugar. 2007-08-21 16:59:32 +02:00
Tomeu Vizoso
c54fb84b28 #2543: Offer multiple activities for opening clipboard objects. 2007-08-15 12:19:29 +02:00
Tomeu Vizoso
040c94d181 Removed debug messages. 2007-08-13 21:14:44 +02:00
Tomeu Vizoso
a197097164 Do a dict.copy() so we don't overwrite the original. 2007-08-01 16:31:33 +02:00
Tomeu Vizoso
f06404ca8e #2475 Retrieve correctly the file path for files in removable devices. 2007-07-30 16:21:42 +02:00
Tomeu Vizoso
5b73d0dfce Allow specifying a concrete activity when resuming a journal object. 2007-07-28 20:57:47 +02:00
Tomeu Vizoso
20d5eaf4bc Add timeout arg to sugar.datastore.Datastore. 2007-07-26 09:20:38 +02:00
Tomeu Vizoso
557f3d6ea7 Fix one more temp file leak. 2007-07-23 13:20:24 +02:00
Marco Pesenti Gritti
8ae99aaa87 Fix resuming objects with no activity associated for real. 2007-07-20 21:40:41 +02:00
Marco Pesenti Gritti
21f8027810 Fix resume of objects with no activity_id 2007-07-20 21:25:39 +02:00
Tomeu Vizoso
cb6d459815 Fix some temp file leaks. 2007-07-20 19:50:49 +02:00
Marco Pesenti Gritti
19c8532d09 Ensure activity uniquness in the shell 2007-07-20 13:15:11 +02:00
Tomeu Vizoso
a5338e054e Give the option of not updating mtime. 2007-07-16 14:57:07 +02:00
Tomeu Vizoso
5933941553 Adapt to datastore API changes. 2007-07-16 13:01:35 +02:00
Tomeu Vizoso
91f0eb52aa Adapt to datastore API changes. 2007-07-13 13:20:44 +02:00
Tomeu Vizoso
bb71cd61cf #1888 Fix opening items from the clipboard. 2007-07-11 11:39:40 +02:00
Tomeu Vizoso
a4f4d969fe Popdown when the toplevel of the parent item loses focus. 2007-07-09 14:26:41 +02:00
Tomeu Vizoso
13885e621b Add get_unique_values() func to the datastore. 2007-07-03 17:07:48 +02:00
Tomeu Vizoso
2ccf9c0b16 Added umount method to datastore.py. 2007-06-28 10:43:38 +02:00
Tomeu Vizoso
e894bb54a6 Added mount() and mounts() methods to datastore. 2007-06-27 11:36:05 +02:00
Tomeu Vizoso
4c24cde923 Added/corrected some license headers. 2007-06-24 13:10:53 +02:00
Tomeu Vizoso
f9d03b698f Add delete method to the datastore wrapper. 2007-06-22 17:01:13 +02:00
Tomeu Vizoso
99369114cb Set title on change. Fixes #1715. 2007-06-18 20:38:20 +02:00
Tomeu Vizoso
f0e18ba785 Support for previews in the journal. 2007-06-15 18:03:17 +02:00
Tomeu Vizoso
22689ed1da Several fixes for the object type registry and the activity registry. 2007-06-12 21:57:49 +02:00
Tomeu Vizoso
c35db7acf8 Some refactoring of the DataStore API. 2007-05-29 15:53:58 +02:00
Tomeu Vizoso
1dc104126d Adapt to new DataStore API. 2007-05-22 14:03:31 +02:00
Tomeu Vizoso
11c89d86c9 Put dates to work correctly on the journal, create a new journal entry when resuming a past entry. 2007-05-20 12:38:08 +02:00
Dan Williams
e659d15384 Make datastore find & update operations async 2007-05-16 00:41:45 -04:00