Commit Graph

2057 Commits

Author SHA1 Message Date
Matthias Beyer 6222aac837 Add dependency: serde_json 2016-08-06 11:35:02 +02:00
Matthias Beyer 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
Matthias Beyer 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
Matthias Beyer 57c4089d80 Remove outdated comment part 2016-08-06 10:51:16 +02:00
Matthias Beyer dc78b1553e Comments for listing subcommand 2016-08-06 10:17:26 +02:00
Matthias Beyer 1a01a391f1 Add comment to task delete procedure 2016-08-06 10:14:01 +02:00
Matthias Beyer 0d2cd16e94 Print the imported string before the information output 2016-08-06 10:11:42 +02:00
Matthias Beyer d0592d0029 Return the imported string as well 2016-08-06 10:11:22 +02:00
Matthias Beyer 01ee30537e Add note why we stdin.lock() here 2016-08-06 10:07:26 +02:00
Matthias Beyer 98a8356150 Reimplement list() 2016-07-21 17:14:13 +02:00
Matthias Beyer 0da8df3c26 Remove unused imports 2016-07-21 17:14:13 +02:00
Matthias Beyer 1f50301ffa Do not use "mut" here, we don't need it 2016-07-21 17:14:13 +02:00
Matthias Beyer 8d89f7bf74 Use if() instead of match here, to have less noise 2016-07-21 17:14:13 +02:00
Matthias Beyer 0cca04c6ac Use Iterator::enumerate() instead of mut variable 2016-07-21 17:14:12 +02:00
Matthias Beyer ca7a901269 Use the right macro here 2016-07-21 17:14:12 +02:00
Matthias Beyer 3af6712d8b Fix indentation in ui definition 2016-07-21 17:14:12 +02:00
Matthias Beyer 8e4471cc07 Impl Task::retrieve_from_import() 2016-07-21 17:14:12 +02:00
Matthias Beyer 077471f3da Impl Task::retrieve_from_string 2016-07-21 17:14:12 +02:00
Matthias Beyer 58162d8d90 Impl Task::get_from_uuid() 2016-07-21 17:14:12 +02:00
Matthias Beyer 302b46be5f Impl Task::get_from_string() 2016-07-21 17:14:12 +02:00
Matthias Beyer 475a73ee5c Impl Task::get_from_import() 2016-07-21 17:14:12 +02:00
Matthias Beyer ab613426c6 Fix return types of getter functions 2016-07-21 17:14:12 +02:00
Matthias Beyer 9ff26360e4 Remove the Task::update...() foo, as we do only store UUIDs which do not change 2016-07-21 17:14:12 +02:00
Matthias Beyer 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
Matthias Beyer f3639d34eb Add more required functionality, not implemented yet 2016-07-21 17:14:12 +02:00
Matthias Beyer b918f4abbe Rewrite UI with Task::import() 2016-07-21 17:14:12 +02:00
Matthias Beyer 0041a648c3 Add Task::import() 2016-07-21 17:14:12 +02:00
Matthias Beyer e63f17d51e Add dependency: libimagerror 2016-07-21 17:14:12 +02:00
Matthias Beyer f55f1e627e Rewrite error module 2016-07-21 17:14:12 +02:00
Matthias Beyer 053c5c13e8 Use generate_runtime_setup() instead of doing it manually 2016-07-21 17:14:12 +02:00
Matthias Beyer b7f4b6317e Adapt for new interface of libimagtodo 2016-07-21 17:14:11 +02:00
Matthias Beyer a8bb444f1d Fix misleading function name 2016-07-21 17:14:11 +02:00
Matthias Beyer 879fa3fb48 Provide more detailed access to the ids and tasks 2016-07-21 17:14:11 +02:00
Matthias Beyer c9be7a7483 Move read::* code to the place where it belongs 2016-07-21 17:14:11 +02:00
Matthias Beyer df5abef447 Move delete functionality to the place where it belongs 2016-07-21 17:14:11 +02:00
Matthias Beyer 07ab966d37 Impl {Deref, DerefMut} for Task 2016-07-21 17:14:11 +02:00
Matthias Beyer f3dc1e90af The Task type can have a unnamed member 2016-07-21 17:14:11 +02:00
Matthias Beyer b12974043d Remove the most ugly parts from the lib 2016-07-21 17:14:11 +02:00
Matthias Beyer 0752058cf5 Format code 2016-07-21 17:14:11 +02:00
Matthias Beyer b2eb2de3fd We do not need to String::push() here twice 2016-07-21 17:14:11 +02:00
Matthias Beyer b78da80717 Do not hide the error here, yell it out! 2016-07-21 17:14:11 +02:00
Matthias Beyer 84890bf8fc Rip out ui setup for "add" subcommand 2016-07-06 19:59:29 +02:00
Matthias Beyer 247cda0352 Rip out exec() 2016-07-06 19:59:29 +02:00
Matthias Beyer aef80874da Remove the most ugly parts 2016-07-06 19:59:29 +02:00
Matthias Beyer fadeae5214 Move functionality to own functions 2016-07-06 19:38:00 +02:00