Commit graph

861 commits

Author SHA1 Message Date
Tomas Babej
bda5df48a3
tests: Use pytest-cov 2018-07-30 23:51:45 -04:00
Tomas Babej
cb22fd53ba
coverage: Update paths for merging 2018-07-30 22:50:31 -04:00
Tomas Babej
49e87d1d68
meta: Add tasklib into requirements 2018-07-30 22:49:29 -04:00
Tomas Babej
f7ed50f632
travis: Add Dockerfile 2018-07-30 22:44:05 -04:00
Tomas Babej
111a32420b
travis: Use new docker-based build 2018-07-30 22:43:56 -04:00
Bodo Graumann
f35d1a29f4 Add documentation for preset headers 2018-07-17 21:53:18 -04:00
Bodo Graumann
5bf0c89ae8 Use preset header in vwtask and viewport 2018-07-17 21:53:18 -04:00
Bodo Graumann
4372d52298 Add new header type "Preset Header"
As first envisioned in #69, these preset headers allow us to have a
hierarchical structure of taskwarrior filters and defaults.
2018-07-17 21:53:18 -04:00
Bodo Graumann
489d00f24e Fix typos and improve wording; mainly in help file 2018-07-17 21:53:18 -04:00
Tomas Babej
dfc43e6416
travis: Temporarily disable testing of 2.6.0 branch 2018-07-15 22:43:19 -04:00
Tomas Babej
922e1a25fc
README: Announce deprecation of Python2 2018-07-15 18:59:34 -04:00
Tomas Babej
6f025c8254
travis: Soft drop Python 2 support 2018-07-15 18:57:27 -04:00
Tomas Babej
0da2ac6fe7
travis: Travis does not support Python 3.7 yet 2018-07-15 18:53:29 -04:00
Tomas Babej
7d9fe9d7b9
travis: Use g++ 6.0 2018-07-15 18:45:32 -04:00
Tomas Babej
bf9efa99db
travis: Test all newer Python versions 2018-07-15 18:45:18 -04:00
Tomas Babej
3e615c27e3
tests: Provide more helpful message when looking for scripts 2018-07-15 18:26:30 -04:00
Tomas Babej
dfc2aef502
tests: Update list of script paths 2018-07-15 18:26:19 -04:00
Tomas Babej
b5caafd302
vwtask: Use more reliable way of testing if due date does not have time component 2018-07-15 18:26:05 -04:00
beuerle
6174a28b02 fix wrong parent assignment
fixes #167

Previously, the correct parent assignment for tasks only worked if
expandtab was set in vim: if the task currently checked did not start
with the indentation of the new task, the current line was assigned as
the parent. taskwiki uses spaces for indentation, with a fixed length of
4 [0]. If vim is set to use tabs instead of spaces, the checked line
does not start with tabs and is assigned the parent, even if the
actually indentation is the same.

Especially hard-coding the number of spaces for the indentation should
maybe be fixed in the future.

[0]
0c964460e6/taskwiki/sort.py (L170)
2018-05-31 18:29:26 -04:00
Samuel Walladge
292fdcbb87 don't update the buffer if unchanged
avoids setting empty save points in vim because the buffer is updated but has
the same contents
2018-05-31 18:28:12 -04:00
Tomas Babej
ffe53db9cf
travis: Clone taskwarrior as task 2018-05-09 13:18:14 -04:00
Tomas Babej
f7a8ad7f0a
meta: Use new TW repo location 2018-05-08 11:51:31 -04:00
Matthieu Talbot
50c36beb06 Update README.md
Add nuance about the conditions where local TZ can't be detected.
2018-04-18 10:47:18 -04:00
Matthieu Ubuntu
b5fd60b49b Add mention about Timezone that needs to be set explicitly.
See #110
2018-04-18 10:47:18 -04:00
Igor Line
0c964460e6 Fixes filename and path in ftplugin to avoid conflict with vimwiki and
specific plugin managers
2017-10-10 01:03:01 -04:00
Tomas Babej
496bf34dfa tests: Add test for preservation of default+custom tags in a viewport generated task 2017-07-31 17:22:57 +02:00
Tomas Babej
d845155c77 VimwikiTask: Make sure tags are always appended, not overriden 2017-07-31 17:22:32 +02:00
Bodo Graumann
f8173211be Remove obsolete information from README 2017-07-31 00:54:08 +02:00
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