Commit Graph

2066 Commits

Author SHA1 Message Date
mario e98bc05cfc removed unused imports. functionality which required these imports has been moved to libimagtodo by matthiasbeyer 2016-08-06 12:46:04 +02:00
mario-kr 3a8988bf93 Merge pull request #18 from matthiasbeyer/imag-todo/add-example-hook-scripts
Imag todo/add example hook scripts
2016-08-06 12:44:02 +02:00
mario-kr d1adc125eb Merge pull request #17 from matthiasbeyer/libimagtodo/fixes
Libimagtodo/fixes
2016-08-06 12:43:36 +02:00
Matthias Beyer f967fc3d62 Add on-modify taskwarrior hook script 2016-08-06 12:02:54 +02:00
Matthias Beyer a860b8f25f Add on-add taskwarrior hook script 2016-08-06 12:02:42 +02:00
Matthias Beyer 2da3eadc1c Do not panic if there was no command passed 2016-08-06 11:54:20 +02:00
Matthias Beyer f915a7fa26 We must actually use println!() here 2016-08-06 11:50:50 +02:00
mario-kr 84d05a10c0 Merge pull request #16 from matthiasbeyer/libimagtodo/more-cleanup
Libimagtodo/more cleanup
2016-08-06 11:50:08 +02:00
Matthias Beyer 0fd8b3b286 Move deletion logic into lib 2016-08-06 11:39:31 +02:00
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