Commit graph

683 commits

Author SHA1 Message Date
Bodo Graumann
895b36d4d4 Test: Only kill gvim instances with custom name
Vimrunner-python allows to set a custom server name, which is used with
the `--servername` parameter for `gvim`. This way we can restrict the
killing of gvim instances to those, that we have used. For that purpose
we use the standard linux `pkill` utility instead of `killall`.
2017-07-31 00:54:08 +02:00
Tomas Babej
7e9d34ab5e travis: Update upstream task repo git url 2017-07-05 23:46:38 +02:00
daizeng1984
75305ed33f Fixed bug that cursor reset when after TaskWikiBufferSave/Load 2017-06-23 11:29:16 +02:00
Philipp Weißmann
406041c868 Fix <CR> mapping (use nnoremap instead of nmap)
This fixes non-working <CR> key to follow vimwiki links / display task infos
2017-05-23 14:44:48 +02:00
Tomas Babej
c5d46e80f2 TaskWikiEdit: Use :terminal instead of :! in NEOVIM 2017-05-20 11:19:36 +02:00
Tomas Babej
6bcc93cfe6 plugin: Fix stupid copy-paste error 2017-03-17 17:11:35 +01:00
Tomas Babej
cf3789f074 plugin: Prefer python3 over python2 by default 2017-03-16 12:26:39 +01:00
Tomas Babej
40b4f2c28a Mappings: Fix wrong indentation
Thanks to BonarBeavis.
2017-02-06 16:04:27 +01:00
Bodo Graumann
0225b44e53 tests: Add regression test for multiple caches 2017-01-27 22:23:33 +01:00
Bodo Graumann
0c06e02a0e BufEnter: load cache of current buffer
This fixes issue #116.
2017-01-27 22:23:33 +01:00
Bodo Graumann
8f51f2f4c2 main: Use one cache object for each buffer 2017-01-27 22:23:33 +01:00
Bodo Graumann
d324265001 TaskCache: Allow passing buffer number on __init__ 2017-01-27 22:23:33 +01:00
Tomas Babej
6dab73a06e docs: Remove old-style date representation 2017-01-27 20:31:59 +01:00
Bodo Graumann
32a1c45685 VimwikiTask: Omit 00:00 time from due date 2017-01-27 20:24:34 +01:00
Tomas Babej
323f7e79e2 Mappings: Add missing return statements 2017-01-27 16:24:02 +01:00
canaaerus
ea99329448 README: Add guide for running tests (#127) 2017-01-27 14:53:44 +01:00
Tomas Babej
51e5810fa7 Mappings: Delegate to VimwikiFollowLink for link creation 2017-01-27 14:43:25 +01:00
Tomas Babej
0eedf6f3ef Revert "Mappings: Delegate to VimwikiFollowLink for link creation"
This reverts commit 0ac7da0fde.
The commit contained code that was included by mistake.
2017-01-27 14:43:25 +01:00
Bodo Graumann
7e70ba9935 tests: Test invalid parent-child task relation 2017-01-27 10:55:01 +01:00
Bodo Graumann
a22ad7e3cb tests: Allow running tests with en_GB locale 2017-01-27 10:55:01 +01:00
Bodo Graumann
ab4c7646a4 IntegrationTest: correctly retry start_client 2017-01-27 10:55:01 +01:00
Tomas Babej
0ac7da0fde Mappings: Delegate to VimwikiFollowLink for link creation 2017-01-27 10:29:34 +01:00
Bodo Graumann
a95efa91f2 VimwikiTask: dont remove recur from recur instance
If a task is an instance of a recurring task prototype, it will
currently not be marked as recurring with [R]. Thus its completed_mark
can be ' '. In that case taskwiki tried to set 'recur' to None, which is
equivalent to `task 42 modify recur:` and causes an error:
> You cannot remove the recurrence from a recurring task.

Setting the status of a parent recurring task to 'pending' will be
ignored as well, so the removed line was useless.
2017-01-25 22:00:45 +01:00
Bodo Graumann
99939b6b66 VimwikiTask: Stop parent search at smaller indent
Fix issue #120
2017-01-24 19:01:55 +01:00
Tomas Babej
4b55082413 tests: Test proper precise detection of vimwiki links 2017-01-11 11:17:39 +01:00
Tomas Babej
8a5306e4c2 main: Perform more precise wiki link detection 2017-01-11 11:17:17 +01:00
Tomas Babej
43213766a6 util: Add method to determine column number 2017-01-11 10:43:38 +01:00
Tomas Babej
1de1835eff tests: Extend coverage of the redo command 2017-01-11 10:22:40 +01:00
Tomas Babej
20e89cf77b SelectedTasks: Simplify the implementation of last action tracking 2017-01-11 09:58:55 +01:00
Tomas Babej
1dd6d45016 tests: Add initial test coverate for TaskWikiRedo 2017-01-11 09:53:27 +01:00
Tomas Babej
886b90df67 ftplugin: Add vim command and mappings for the redo method 2017-01-11 09:52:36 +01:00
Tomas Babej
e9601a8a55 SelectedTasks: Add redo method that re-executes last modification command 2017-01-11 09:50:08 +01:00
Tomas Babej
d759434d46 viewport: Remove unused import 2017-01-09 02:27:54 +01:00
Tomas Babej
3a38e595ce util: Remove unused variable 2017-01-09 02:27:05 +01:00
Tomas Babej
a3e0f47ad2 syntax: Allow wiki links inside task descriptions 2017-01-09 01:29:50 +01:00
Tomas Babej
dfc91101cb docs: Explicitly mention the NeoVim support 2017-01-09 01:21:30 +01:00
Tomas Babej
21b766134f coverage: Explicit coverage tracking no longer needed 2017-01-09 00:38:24 +01:00
Tomas Babej
1889ee5e1e travis: It is necessary to run directly in the plugin dir for coverage
The coverage plugin does not mark the lines in the files executed
directly by vim otherwise.
2017-01-09 00:34:15 +01:00
Tomas Babej
35bdae5a05 tests: test_util: Use MockVim from tests.base instead of redefining 2017-01-08 21:00:13 +01:00
Tomas Babej
4f15f8a8fc util: Allow specifying other than global var store for get_var 2017-01-08 19:11:59 +01:00
Tomas Babej
61d0d89be9 util: Implement and use get_var helper instead of manually decoding variables 2017-01-08 18:58:14 +01:00
Tomas Babej
bbdf73fe22 travis: Upgrade to trusty, support testing on Python 3 2017-01-08 18:21:08 +01:00
Tomas Babej
6ca9255a39 tests: Fix invalid expectation with regard to the viewport inspection output 2017-01-08 18:06:46 +01:00
Tomas Babej
048a1c8327 viewport: Make sure to strip unicode literal symbols from the inspection output 2017-01-08 18:06:28 +01:00
Tomas Babej
2e402bf721 tests: base: Allow more unicode characters in the description during uuid matching 2017-01-07 23:35:21 +01:00
Tomas Babej
9586549eed tests: Add more sanity checks for new unicode tests 2017-01-07 23:35:00 +01:00
Tomas Babej
207cf8e317 tests: Remove eluded debug statement 2017-01-07 23:19:17 +01:00
Tomas Babej
3ecb997f00 travis: Speed up and support testing with libshared-dependant builds 2017-01-07 23:13:52 +01:00
Tomas Babej
edaebb9fb4 tests: Add tests for selection of unicode projects and tags 2017-01-07 19:37:40 +01:00
Tomas Babej
5e601bcf97 main: Support unicode tag selection 2017-01-07 19:37:24 +01:00