Commit graph

85 commits

Author SHA1 Message Date
Tomas Babej
7645ba6879 Cache: Make sure we evaluate all lines when loading ViewPorts 2015-03-17 14:24:24 +01:00
Tomas Babej
56f4cbdb64 VimwikiTask: Update vimwiki task in buffer only if it was updated 2015-03-17 14:24:23 +01:00
Tomas Babej
6a7a68fb71 Cache: Add __delitem__ method 2015-03-17 14:24:22 +01:00
Tomas Babej
2d7607a743 Cache: Remove unnecessarily variables from __setitem__ 2015-03-17 14:24:19 +01:00
Tomas Babej
d43fdbba06 VimwikiTask: Leverage cache when looking up parent task 2015-03-16 22:28:10 +01:00
Tomas Babej
67981bc9c3 ViewPort: Use direct filter specification instead of uuid hack 2015-03-16 20:53:32 +01:00
Tomas Babej
3e5564f596 ViewPort: Add initial implementation 2015-03-16 17:39:44 +01:00
Tomas Babej
4c78eed983 VimwikiTask: Update UUID too when updating from task 2015-03-16 17:39:42 +01:00
Tomas Babej
e0ab56ee0b VimwikiTask: Have sensible defaults for indent and completed_mark 2015-03-16 17:39:42 +01:00
Tomas Babej
c53443b78f TaskCache: Support setting Tasks/VimwikiTasks to cache directly using setitem 2015-03-16 17:39:40 +01:00
Tomas Babej
da5a17fda4 Cache: Select only tasks with existing uuids for updating 2015-03-16 17:39:39 +01:00
Tomas Babej
5cf17abc63 Cache: Update vimtasks from taskwarrior as a part of updating whole cache buffer 2015-03-16 17:39:39 +01:00
Tomas Babej
0d860e276c VimwikiTask: Save the task unconditionally if it has not been saved yet 2015-03-16 17:39:38 +01:00
Tomas Babej
2d24b288e4 VimwikiTask: Make constructors return references to the object itself 2015-03-16 17:39:37 +01:00
Tomas Babej
d87fa9536c Cache: Do not try to load empty set of tasks from TW 2015-03-16 17:39:36 +01:00
Tomas Babej
2447116ca5 Cache: Iterate over non-None values only 2015-03-16 17:39:35 +01:00
Tomas Babej
967a9539f6 Cache: Store vimwikitask in the cache upon loading 2015-03-16 17:39:35 +01:00
Tomas Babej
b9681834ca Cache: Make cache do higher-level abstraction tasks 2015-03-16 17:39:34 +01:00
Tomas Babej
36d7e6314d VimwikiTask: Fix syntax glitches 2015-03-16 17:39:33 +01:00
Tomas Babej
c1dcb46e95 Cache: Add VimwikiTask cache-ing 2015-03-16 17:39:31 +01:00
Tomas Babej
6a0a027d5f VimwikiTask: Make finding parent task work with new TaskCache 2015-03-16 06:41:47 +01:00
Tomas Babej
21d1de89e2 VimwikiTask: Use bulk update of data dict when loading from TW 2015-03-16 06:37:26 +01:00
Tomas Babej
6b4b6c7e09 VimwikiTask: Store data in a data dict 2015-03-16 06:36:59 +01:00
Tomas Babej
6f7f91e94f VimwikiTask: Use cache when loading the task reference 2015-03-15 22:45:55 +01:00
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