Commit Graph

22 Commits

Author SHA1 Message Date
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
Tomeu Vizoso 95c5b283c7 Add datastore.complete_indexing() func. 2007-08-29 19:56:43 +02:00
Dan Winship 26c5ad6ad0 Rewrite dbus_helpers to not make a dbus connection on import. #2773 2007-08-15 09:19:40 -04:00
Tomeu Vizoso 20d5eaf4bc Add timeout arg to sugar.datastore.Datastore. 2007-07-26 09:20:38 +02:00
Tomeu Vizoso c07e61509b Send dbus.Dictionary so dbus doesn't complain. 2007-07-20 20:45:00 +02:00
Tomeu Vizoso 2b50699d87 Take out _data_store.complete_indexing() calls. 2007-07-13 18:36:50 +02:00
Tomeu Vizoso 91f0eb52aa Adapt to datastore API changes. 2007-07-13 13:20:44 +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 060b740983 API change in the datastore. 2007-07-05 11:37:51 +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
Marco Pesenti Gritti 99e8077f59 Implement fix-copyright and fix some of them 2007-06-24 14:43:48 +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 8915657a08 Take out one try..except block. 2007-05-28 16:25:36 +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
Tomeu Vizoso 7314d5a8c8 Improve logging. 2007-05-16 17:01:59 +02:00
Dan Williams e659d15384 Make datastore find & update operations async 2007-05-16 00:41:45 -04:00
Tomeu f3289d2e59 Implement setting the journal entry title from the toolbar. 2007-05-13 18:21:35 +02:00
Tomeu Vizoso 30114f9545 Temporary try..excepts while we stabilize the new datastore. 2007-05-10 14:16:48 +02:00
Tomeu Vizoso 929dabd165 Use the new DataStore and remove the old one. 2007-05-10 11:01:32 +02:00