Commit graph

2058 commits

Author SHA1 Message Date
0fd8b3b286 Move deletion logic into lib 2016-08-06 11:39:31 +02:00
6222aac837 Add dependency: serde_json 2016-08-06 11:35:02 +02:00
6d14212042 Add dependency: log 2016-08-06 11:35:02 +02:00
mario
71bce41e0f change to task_hookrs 0.2.0 2016-08-06 11:23:52 +02:00
mario-kr
058f5efc65 Merge pull request #14 from matthiasbeyer/fixup-build
Fix comment which broke the build
2016-08-06 11:13:41 +02:00
mario-kr
3c41367f50 Merge pull request #15 from mario-kr/update-cargo-toml
change to task_hookrs 0.2.0
2016-08-06 11:13:17 +02:00
mario
819f026d48 change to task_hookrs 0.2.0 2016-08-06 11:11:40 +02:00
6567f3a879 Fix comment which broke the build 2016-08-06 11:08:57 +02:00
mario-kr
9bceef573b Merge pull request #13 from matthiasbeyer/libimagtodo/init
Cleanup patches for libimagtodo/imag-todo
2016-08-06 11:05:39 +02:00
57c4089d80 Remove outdated comment part 2016-08-06 10:51:16 +02:00
dc78b1553e Comments for listing subcommand 2016-08-06 10:17:26 +02:00
1a01a391f1 Add comment to task delete procedure 2016-08-06 10:14:01 +02:00
0d2cd16e94 Print the imported string before the information output 2016-08-06 10:11:42 +02:00
d0592d0029 Return the imported string as well 2016-08-06 10:11:22 +02:00
01ee30537e Add note why we stdin.lock() here 2016-08-06 10:07:26 +02:00
98a8356150 Reimplement list() 2016-07-21 17:14:13 +02:00
0da8df3c26 Remove unused imports 2016-07-21 17:14:13 +02:00
1f50301ffa Do not use "mut" here, we don't need it 2016-07-21 17:14:13 +02:00
8d89f7bf74 Use if() instead of match here, to have less noise 2016-07-21 17:14:13 +02:00
0cca04c6ac Use Iterator::enumerate() instead of mut variable 2016-07-21 17:14:12 +02:00
ca7a901269 Use the right macro here 2016-07-21 17:14:12 +02:00
3af6712d8b Fix indentation in ui definition 2016-07-21 17:14:12 +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
b918f4abbe Rewrite UI with Task::import() 2016-07-21 17:14:12 +02:00
0041a648c3 Add Task::import() 2016-07-21 17:14:12 +02:00
e63f17d51e Add dependency: libimagerror 2016-07-21 17:14:12 +02:00
f55f1e627e Rewrite error module 2016-07-21 17:14:12 +02:00
053c5c13e8 Use generate_runtime_setup() instead of doing it manually 2016-07-21 17:14:12 +02:00
b7f4b6317e Adapt for new interface of libimagtodo 2016-07-21 17:14:11 +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
0752058cf5 Format code 2016-07-21 17:14:11 +02:00
b2eb2de3fd We do not need to String::push() here twice 2016-07-21 17:14:11 +02:00
b78da80717 Do not hide the error here, yell it out! 2016-07-21 17:14:11 +02:00
84890bf8fc Rip out ui setup for "add" subcommand 2016-07-06 19:59:29 +02:00
247cda0352 Rip out exec() 2016-07-06 19:59:29 +02:00
aef80874da Remove the most ugly parts 2016-07-06 19:59:29 +02:00