Commit graph

61 commits

Author SHA1 Message Date
Tomas Babej
5fc82af7d9 VimwikiTask: Rename update_from_tw method to update_from_task 2015-03-15 22:45:33 +01:00
Tomas Babej
5d1d7e4c58 VimwikiTask: Add constructor from task 2015-03-15 22:45:05 +01:00
Tomas Babej
416a937ce0 VimwikiTask: Remove refresh option from update_from_tw 2015-03-15 22:08:40 +01:00
Tomas Babej
ed10783b15 VimwikiTask: Simplify date handling by leveraging SerializingObject 2015-03-15 20:56:05 +01:00
Tomas Babej
2a407b586d VimwikITask: Move most of the parsing code from __init__ to from_line 2015-03-14 21:12:42 +01:00
Tomas Babej
665206caeb Cache: Use uuid's as keys instead of line numbers 2015-03-14 21:06:10 +01:00
Tomas Babej
26c92ce3b7 VimwikiTask: Make task property use the cached attribute 2015-03-13 22:22:50 +01:00
Tomas Babej
c333f1a275 Fix incorrect imports 2015-03-13 22:22:05 +01:00
Tomas Babej
18081f30bd VimwikiTask: Do not set the task object reference as part of initialization 2015-03-13 01:21:00 +01:00
Tomas Babej
41b27191be Cache: Add initial implementation of the bulk updates 2015-03-13 01:20:26 +01:00
Tomas Babej
96e0f2621d Cache: Index tasks by uuid as well as line number 2015-03-13 01:19:57 +01:00
Tomas Babej
eae0fe45df Taskwiki: Remove redundant code 2015-03-12 23:47:00 +01:00
Tomas Babej
f987eda6d5 Split of TaskCache into separate module 2015-03-12 22:50:13 +01:00
Tomas Babej
7268a659b5 Move VimwikiTask into separate module 2015-03-12 22:50:05 +01:00
Tomas Babej
fb90391538 Restructure the whole plugin 2015-03-12 22:49:56 +01:00
Tomas Babej
17e7047565 VimwikiTask: Improve conversion to string 2015-01-11 19:18:09 +01:00
Tomas Babej
556f94a916 VimwikiTask: Do not update unsaved tasks from TW 2015-01-11 19:17:54 +01:00
Tomas Babej
bae56aa1c8 VimwikiTask: Refresh upon saving to accomodate changes done by hooks 2015-01-11 19:17:16 +01:00
Tomas Babej
6cfafdee5d VimwikiTask: Update for timezone aware timestamps 2015-01-11 19:16:43 +01:00
Tomas Babej
2544e9dbd2 VimwikiTask: Allow dates only for due times 2015-01-11 19:14:35 +01:00
Tomas Babej
574957ddde VimwikiTask: Fix error message if UUID not found 2015-01-11 14:01:55 +01:00
Tomas Babej
6448ad4a90 Rename project to taskwiki 2015-01-11 13:47:51 +01:00
Tomas Babej
e39d2b094f Vimwiki: Add project support 2015-01-02 11:27:05 +01:00
Tomas Babej
d5ae9732aa README: Update implemented features 2015-01-02 00:39:02 +01:00
Tomas Babej
212f22e080 VimwikiTask: Fix missing parenthesis in TEXT regexp 2015-01-02 00:21:27 +01:00
Tomas Babej
ad86d93b14 VimwikiTask: Add due support 2015-01-02 00:21:27 +01:00
Tomas Babej
6f4efc53bd VimwikiTask: Fix improper task to string conversion 2015-01-01 15:42:54 +01:00
Tomas Babej
5e294d54b3 Regexp: Remove uused regexps 2015-01-01 15:41:32 +01:00
Tomas Babej
2046ddc81c Regexps: Refactor TEXT regexp 2015-01-01 15:41:02 +01:00
Tomas Babej
995d3f6037 VimwikiTask: Add priority handling 2014-12-31 19:43:02 +01:00
Tomas Babej
ddf3afbfd4 Rename plugin to vimwiki-pytasks 2014-12-31 05:34:12 +01:00
Tomas Babej
019f566b67 Added README 2014-12-31 03:45:54 +01:00
Tomas Babej
9f91e49e4f Added LICENSE 2014-12-31 03:39:46 +01:00
Tomas Babej
9fe5e523e1 Syntax: Add concealment for UUIDs 2014-12-31 03:30:37 +01:00
Tomas Babej
0741cac677 Do not allow space as part of text 2014-12-31 03:29:45 +01:00
Tomas Babej
241e4c5fdc Vimwiki: Warn about stale UUIDs and replace them 2014-12-31 03:29:03 +01:00
Tomas Babej
832dfa40b7 vim: Execute update_to_tw upon file save 2014-12-31 03:28:34 +01:00
Tomas Babej
bd94f48bd6 update_to_tw: Add update_to_tw method 2014-12-29 10:45:36 +01:00
Tomas Babej
c28a468e1f update_from_tw: Use cache and GENERIC_TASK regexp 2014-12-29 10:45:11 +01:00
Tomas Babej
bbf6aa390a main: Rename load_update_incomplete_tasks to update_from_tw 2014-12-29 10:44:17 +01:00
Tomas Babej
cd05f83b49 VimwikiTask: Use GENERIC_TASK regex to look for the parent task 2014-12-29 10:43:40 +01:00
Tomas Babej
a8cbbb55df VimwikiTask: Add update_in_buffer method 2014-12-29 10:43:09 +01:00
Tomas Babej
3a3f466615 VimwikiTask: Refresh task when updating from TW only if forced to 2014-12-29 10:42:06 +01:00
Tomas Babej
e43c457d26 VimwikiTask: Mark as done upon saving only if not already marked done 2014-12-29 10:41:23 +01:00
Tomas Babej
9f23ec01d5 VimwikiTask: Do not refresh task when saving
It is not necessary, since task's UUID is refreshed upon saving
by tasklib.
2014-12-29 10:36:10 +01:00
Tomas Babej
837e4d87e7 VimwikiTask: Save task only if it differs from TW representation 2014-12-29 10:17:24 +01:00
Tomas Babej
24936aee5f VimwikiTask: Track dependency in a extra attribute, since Task object may not be saved yet 2014-12-29 10:02:16 +01:00
Tomas Babej
b32dc605f8 VimwikiTask: Create empty Task object in __init__, not at save time 2014-12-29 10:02:16 +01:00
Tomas Babej
a1fdd9f4d3 TaskCache: Add cache implementation so that tasks are not reloaded each time 2014-12-29 09:29:52 +01:00
Tomas Babej
62c853a0c2 Regexps: Pre-compile GENERIC_TASK 2014-12-29 09:29:20 +01:00