Commit graph

590 commits

Author SHA1 Message Date
Tomas Babej
edaa700f06 store: Avoid infinite loop when setting None in NoNoneStore 2016-01-04 04:53:06 +01:00
Tomas Babej
f54288272e Update licence 2016-01-03 01:03:37 +01:00
Tomas Babej
27d428cc07 coverage: Do not include coverage file itself in the coverage 2015-12-27 20:30:04 +01:00
Tomas Babej
7da15db25f tests Add test for loading task not present in TW 2015-12-27 18:41:59 +01:00
Tomas Babej
d3457479c0 vwtask: Mark the invalid tasks as resident on correct line numbers 2015-12-27 18:41:43 +01:00
Tomas Babej
f9dedc1dbc tests: Add a test case for flawed due date 2015-12-27 16:04:52 +01:00
Tomas Babej
947090ce52 vwtask: Properly handle invalid parseable due dates 2015-12-27 16:04:39 +01:00
Tomas Babej
bd1a073939 taskwiki: Remove redundant print output 2015-12-27 12:44:29 +01:00
Tomas Babej
7f094e96b7 travis: Cover current development version of Taskwarrior 2015-12-27 12:43:10 +01:00
Tomas Babej
f96c810ffb tests: Expand test coverage 2015-12-27 12:41:36 +01:00
Tomas Babej
38ae7730fa taskwiki: The errors module should be available outside exception handler 2015-12-27 12:40:58 +01:00
Tomas Babej
3e7275752e stores: Properly handle deletion in the LineCache, delete all types of rows 2015-12-27 12:40:36 +01:00
Tomas Babej
d2252e238b VimwikiTask: Remove unused method 2015-12-27 10:30:34 +01:00
Tomas Babej
0b91eab70b tests: Tags are now deserialized into sets 2015-12-27 02:56:59 +01:00
Tomas Babej
353c700815 LineStore: Actually swap the line content as well 2015-12-27 02:34:06 +01:00
Tomas Babej
cdd31e795c store: Work directly with underlying store when swapping to avoid unnecessary parsing 2015-12-27 02:33:48 +01:00
Tomas Babej
e8169aca2d store: Add deletion capabilities to stores 2015-12-26 23:05:12 +01:00
Tomas Babej
035c317ce6 store: Generalize swapping capabilities into Store instances 2015-12-26 22:58:41 +01:00
Tomas Babej
abda239f65 store: Get rid of need to rebuild cache with smart content shifts 2015-12-26 22:58:41 +01:00
Tomas Babej
dc32a9b62a store: Add shifting capabilities to stores 2015-12-26 22:00:17 +01:00
Tomas Babej
90202b3f9d tests: Expand the MockCache with the real LineStore implementation 2015-12-26 13:19:47 +01:00
Tomas Babej
875541f876 taskwiki: Add missing import in the exception handler 2015-12-26 13:19:14 +01:00
Tomas Babej
4f86aa53ca taskwiki: Remove redundant import for TaskWarrior 2015-12-26 13:18:50 +01:00
Tomas Babej
96f8a57bd1 store: Move global imports back to get_methods where they're used 2015-12-26 12:32:49 +01:00
Tomas Babej
a1835c137e viewport: Add missing import 2015-12-26 12:31:21 +01:00
Tomas Babej
5552623d2e CallbackSplitMixin: Clear LineStore before pickling, as SREMatch objects cannot be pickled 2015-12-26 12:30:57 +01:00
Tomas Babej
9d4df3bba2 store: Remove unused variable 2015-12-25 21:44:23 +01:00
Tomas Babej
e3f253ed36 util: Do not use relative import in a non-package 2015-12-25 21:40:00 +01:00
Tomas Babej
1e058ac349 cache: Move Store objects into a separate module 2015-12-25 21:39:45 +01:00
Tomas Babej
a968dd47ed errors: Move TaskWikiException to a separate module 2015-12-25 18:17:12 +01:00
Tomas Babej
7d18fe005e VimwikiTask: Optimize parent task lookups 2015-12-25 16:57:34 +01:00
Tomas Babej
56d4efae67 SelectedTasks: Search for relevant TW after resetting the cache 2015-12-25 16:56:32 +01:00
Tomas Babej
342359f482 parsing: Move regexp matching parts into separate classmethod 2015-12-25 02:22:21 +01:00
Tomas Babej
6be71fae0b VwtaskStore: Fix incorrect cache reference 2015-12-25 02:20:56 +01:00
Tomas Babej
7345550ba6 cache: Convert old-style store references 2015-12-24 15:06:18 +01:00
Tomas Babej
0a1cbfcb39 NoNoneStore: Fix incorrect attribute references 2015-12-24 15:03:55 +01:00
Tomas Babej
c812448c33 NoNoneStore: Contain reference to the Cache 2015-12-24 15:03:29 +01:00
Tomas Babej
7ff54f0c5b cache: Convert generic NoNoneStore class into several subclasses
Lambda functions are proving themselves as a problem when pickling
objects.
2015-12-24 15:02:16 +01:00
Tomas Babej
182b337a04 cache: Update cache usage to reflect internal cache split 2015-12-24 10:04:33 +01:00
Tomas Babej
7b8272f152 cache: Use NoNoneStore for internal caching 2015-12-24 10:04:33 +01:00
Tomas Babej
736c0c8c47 cache: Move caching into separate NoNoneStore 2015-12-24 10:04:33 +01:00
Philipp Hack
64a6852eac Added option to disable fold saving 2015-12-22 17:29:44 +01:00
Tomas Babej
65cd3d95c0 Vwtask: Remove existing dependencies within the viewport when saving 2015-12-21 02:03:58 +01:00
Tomas Babej
86e41e7cad Cache: Move Viewport loading into separate step 2015-12-21 02:03:47 +01:00
Tomas Babej
6edcd3d702 Vwtask: Remove redundant tainted property 2015-12-21 02:03:42 +01:00
Tomas Babej
f79734aed9 Cache: Add API for looking a viewport up by a task it contains 2015-12-21 02:03:39 +01:00
Tomas Babej
ac9c44d118 util: Provide a workaround for missing python API in Neovim 2015-12-21 02:03:34 +01:00
Tomas Babej
479b08acb2 Vwtask: Properly set dependnecies on the underlying task object when
saving
2015-12-21 02:03:16 +01:00
Tomas Babej
5c970b078b viewport: Fix some pep8 errors 2015-12-20 23:50:43 +01:00
Tomas Babej
3de1bba397 README: Add gitter badge 2015-10-31 23:45:51 +01:00