Commit graph

34 commits

Author SHA1 Message Date
5ed60f48cd Print errors (dbg) when import_task() failed 2016-09-06 12:03:27 +02:00
07d4c45b3f Refactor long line for more readability 2016-09-05 09:21:06 +02:00
fea24726c8 Fix libimagtodo::{error, task}::* for new StoreId interface 2016-08-28 18:41:57 +02:00
0fd8b3b286 Move deletion logic into lib 2016-08-06 11:39:31 +02:00
57c4089d80 Remove outdated comment part 2016-08-06 10:51:16 +02:00
d0592d0029 Return the imported string as well 2016-08-06 10:11:22 +02:00
8e4471cc07 Impl Task::retrieve_from_import() 2016-07-21 17:14:12 +02:00
077471f3da Impl Task::retrieve_from_string 2016-07-21 17:14:12 +02:00
58162d8d90 Impl Task::get_from_uuid() 2016-07-21 17:14:12 +02:00
302b46be5f Impl Task::get_from_string() 2016-07-21 17:14:12 +02:00
475a73ee5c Impl Task::get_from_import() 2016-07-21 17:14:12 +02:00
ab613426c6 Fix return types of getter functions 2016-07-21 17:14:12 +02:00
9ff26360e4 Remove the Task::update...() foo, as we do only store UUIDs which do not change 2016-07-21 17:14:12 +02:00
1ec11749f2 We can't actually retrieve() from a UUID, as we cannot implicitely create a task from a UUID 2016-07-21 17:14:12 +02:00
f3639d34eb Add more required functionality, not implemented yet 2016-07-21 17:14:12 +02:00
0041a648c3 Add Task::import() 2016-07-21 17:14:12 +02:00
a8bb444f1d Fix misleading function name 2016-07-21 17:14:11 +02:00
879fa3fb48 Provide more detailed access to the ids and tasks 2016-07-21 17:14:11 +02:00
c9be7a7483 Move read::* code to the place where it belongs 2016-07-21 17:14:11 +02:00
df5abef447 Move delete functionality to the place where it belongs 2016-07-21 17:14:11 +02:00
07ab966d37 Impl {Deref, DerefMut} for Task 2016-07-21 17:14:11 +02:00
f3dc1e90af The Task type can have a unnamed member 2016-07-21 17:14:11 +02:00
b12974043d Remove the most ugly parts from the lib 2016-07-21 17:14:11 +02:00
mario
bbb4866fa0 reduce warnings lib 2016-06-30 19:06:26 +02:00
mario
72e85399ff implemented list-featureo 2016-06-28 23:05:05 +02:00
mario
3a9128ec7b various fixes like indentation and function names.
also moved the Result type definition to an extra file/module.
2016-06-28 20:30:54 +02:00
mario
7de2577725 implemented add-hook 2016-06-28 20:13:11 +02:00
mario
2f999caeef implement the task struct, trait for task_hookrs::task::Task, and some minor error handling 2016-05-09 17:22:40 +02:00
mario
26ec9710cc introduce ConversionError in error.rs and add trait for task_hookrs::task::Task to convert it to a libimagtodo::task::Task 2016-05-09 12:11:13 +02:00
Mario Krehl
df6f41942b added uuid crate and type 2016-05-08 10:59:21 +02:00
mario
0f77c9d3d8 experiment with Store/FileLockEntry 2016-05-04 15:00:48 +02:00
mario
efd72d65a1 added dependency to libimagstore 2016-05-04 14:37:25 +02:00
mario
ff500d7d44 struct skeleton 2016-05-04 13:54:34 +02:00
mario
02c2613244 created files 2016-05-04 13:47:39 +02:00