Commit graph

284 commits

Author SHA1 Message Date
Tomas Babej
91b8cc2286 TaskWikiMod: Update modified tasks in buffer 2015-03-21 22:54:11 +01:00
Tomas Babej
c1dfff89cd VimwikiTask: Do not keep reference to a Task object explicitly, always go through cache if the Task is saved 2015-03-21 21:28:08 +01:00
Tomas Babej
e5b505817a cache: Add update_vwtasks_from_tasks method 2015-03-21 20:40:44 +01:00
Tomas Babej
bb1ab2fd6a taskwiki: Rename update buffer to update vwtasks to better reflect the nature 2015-03-21 20:40:24 +01:00
Tomas Babej
4791026b6f taskwiki: Rename load buffer to load vwtasks to better reflect the nature 2015-03-21 20:37:41 +01:00
Tomas Babej
3bade5b00a taskwiki: Rename update tasks to load tasks to better reflect the nature 2015-03-21 20:36:16 +01:00
Tomas Babej
7e146b438b util: Implement safety measures around opening a buffer 2015-03-21 19:55:04 +01:00
Tomas Babej
8089c09101 viewport: Properly handle the situation when non-matching task is represented in the viewport in multiple instances 2015-03-21 18:42:43 +01:00
Tomas Babej
d794bfb13b taskwiki: Add TaskWikiBurndown command 2015-03-21 17:10:01 +01:00
Tomas Babej
ca895deea5 util: Add maxwidth and maxheight settings to splits that make them use whole window 2015-03-21 17:09:30 +01:00
Tomas Babej
b3b9705a4c util: Do not show numbers in splits 2015-03-21 17:08:54 +01:00
Tomas Babej
f22484f8d7 util: Add optional color support with AnsiEsc 2015-03-21 16:51:06 +01:00
Tomas Babej
2e2d19eaed util: Add configurable name for splits 2015-03-21 14:42:42 +01:00
Tomas Babej
a8884a6dea taskwiki: Add TaskWikiProjects command 2015-03-21 14:38:40 +01:00
Tomas Babej
7cbc7d1f0a util: Compute the size of the split properly for vertical splits 2015-03-21 14:38:22 +01:00
Tomas Babej
97698b2162 util: Allow vertical splits 2015-03-21 14:26:06 +01:00
Tomas Babej
5d32666cce taskwiki: Move methods that affect whole buffer into common namespace 2015-03-21 14:11:41 +01:00
Tomas Babej
0b02d85049 taskwiki: Prompt for modifications if not passed 2015-03-21 14:11:15 +01:00
Tomas Babej
4d6918458b taskwiki: Add TaskWikiMod command 2015-03-21 13:43:14 +01:00
Tomas Babej
6e2ed5df10 util: Split tw modstring parsing into two functions 2015-03-21 13:22:53 +01:00
Tomas Babej
02804772cb util: Do not put empty key into the defaults 2015-03-21 12:19:53 +01:00
Tomas Babej
97691df5bb taskwiki: Add TaskWikiDelete command 2015-03-21 09:38:52 +01:00
Tomas Babej
82223ed2df taskwiki: Make taskwiki commands work on ranges 2015-03-21 09:22:47 +01:00
Tomas Babej
cfde8cc5b8 pylint: Supress complaints about vim module 2015-03-21 07:59:44 +01:00
Tomas Babej
e71587ee26 vwtask: Supress protected member warnings 2015-03-21 07:53:38 +01:00
Tomas Babej
9ee55f1395 cache: Use module-level imports 2015-03-21 07:53:21 +01:00
Tomas Babej
8862963521 cache: Stress loading the line is the important part in load_buffer 2015-03-21 07:47:43 +01:00
Tomas Babej
cf61e9c001 Add missing re imports 2015-03-21 07:47:11 +01:00
Tomas Babej
18d0ebc40b vwtask: Rename module from task due to name conflicts 2015-03-21 07:45:16 +01:00
Tomas Babej
61af9c823b regexp: Do not use star imports 2015-03-21 07:42:42 +01:00
Tomas Babej
6e4c1051e4 Remove unused imports 2015-03-21 07:37:55 +01:00
Tomas Babej
cf87349c1a Viewport: Handle empty defaults properly 2015-03-20 16:29:14 +01:00
Tomas Babej
5e9f187bab commands: Implement the TaskWikiLink command 2015-03-20 13:57:08 +01:00
Tomas Babej
e263d24aaa Util: Make split easily closable 2015-03-20 13:18:39 +01:00
Tomas Babej
898ec47418 commands: Add TaskWikiInfo command 2015-03-20 13:12:32 +01:00
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