Tomas Babej
|
d5cac0a785
|
Taskwiki: Add CurrentTask object
|
2015-03-20 13:12:28 +01:00 |
|
Tomas Babej
|
35d91e87fa
|
Taskwiki: Use module-level imports
|
2015-03-20 13:12:20 +01:00 |
|
Tomas Babej
|
4229a6a8de
|
VimwikiTask: SerializingObject needs TW instance now
|
2015-03-20 13:09:46 +01:00 |
|
Tomas Babej
|
c0c2b91f3f
|
VimwikiTask: Add method to create from current line
|
2015-03-20 13:08:24 +01:00 |
|
Tomas Babej
|
74dd281338
|
Util: Create utilit functions for creating a split window
|
2015-03-20 13:06:45 +01:00 |
|
Tomas Babej
|
5bc63cc542
|
VimwikiTask: Fix circular imports
|
2015-03-19 18:22:08 +01:00 |
|
Tomas Babej
|
2aadd840b2
|
VimwikiTask: Convert None priority to None
|
2015-03-19 18:21:41 +01:00 |
|
Tomas Babej
|
2b4d582e58
|
VimwikiTask: Update in buffer only if data has changed
|
2015-03-19 18:21:41 +01:00 |
|
Tomas Babej
|
677806fdcf
|
VimwikiTask: Find defaults in viewport located above
|
2015-03-19 18:21:40 +01:00 |
|
Tomas Babej
|
ee21d33655
|
ViewPort: Add ability to store defaults
|
2015-03-19 14:11:49 +01:00 |
|
Tomas Babej
|
90d079928e
|
Taskwiki: Update tasks and evaluate viewports on saving
|
2015-03-17 22:52:54 +01:00 |
|
Tomas Babej
|
11bd73d976
|
ViewPort: Do not deal with deleted tasks by default
|
2015-03-17 22:41:20 +01:00 |
|
Tomas Babej
|
513c16ddbc
|
ViewPort: Add missing tasks matching the filter properly and remove tasks that no longer match the filter
|
2015-03-17 14:24:41 +01:00 |
|
Tomas Babej
|
aae1577e9c
|
Cache: Provide capability to insert and remove lines into the buffer correctly
|
2015-03-17 14:24:26 +01:00 |
|
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 |
|