Tomas Babej
2f47226f91
cmake: Prevent nested tarballs (or other archives) in the release
...
This happened dring the release of the version 2.5.2.
2021-01-04 00:20:08 -05:00
Tomas Babej
d26f79a458
docs: Update copyright
2021-01-03 22:58:02 -05:00
Tomas Babej
ce6ff451b0
cmake: Update list of ignored source files
2021-01-03 22:52:50 -05:00
Tomas Babej
5466f19441
README: Update build status badge prior to the release
2021-01-03 22:52:02 -05:00
Tomas Babej
0db0ab1b3c
ci: Pass CONTAINER variable to the test execution step
2021-01-03 22:48:56 -05:00
Tomas Babej
fd34737330
ci: Remove rednudant declaration of runs-on
2021-01-03 22:48:44 -05:00
Tomas Babej
f48f89fbd9
ci: Remove integration with Travis
2021-01-03 22:48:37 -05:00
Tomas Babej
7de0a3afa4
ci: Add Github-workflow based CI pipeline
2021-01-03 22:47:08 -05:00
Tomas Babej
c5aba94233
NEWS: Update tested configurations
2021-01-03 22:35:21 -05:00
Tomas Babej
b7500776fe
docs: Document TW #2375
2021-01-03 22:34:54 -05:00
Tomas Babej
d29ddec34f
NEWS: Fix URL for issue submission
2020-12-08 00:44:33 -05:00
Tomas Babej
83f71520d2
tests: Make faketime tests less susceptible to race conditions
...
The duration can be 10:01 if the original task call happened a split
second before the faketime fixation of +10 minutes.
Use more relaxed regular expresison to check.
2020-12-06 12:00:38 -05:00
Tomas Babej
ee15bfa1db
tests: Skip the diagnostics test on Ubuntu 16.04
...
This is a byproduct of recent bump to C++17 compliant compilers. Ubuntu
16.04 does not have C++17 compliant compiler, but it's still useful to
for us to test 2.5.3 there as the branch does not actually use any of
the C++17 features not available on gcc on Ubuntu.
2020-12-06 11:48:41 -05:00
Tomas Babej
f2abee3606
travis: Preserve Ubuntu 16.04
2020-12-06 10:11:03 -05:00
Tomas Babej
c6ec416e30
ci: Rename Arch container to make it clear we're testing on rolling base
2020-12-06 10:09:53 -05:00
Tomas Babej
9a193e26ec
ci: Add support for CentOS 8
2020-12-06 10:09:46 -05:00
Tomas Babej
2657880ff3
ci: Replace F28 and F29 with F31, F32 and F33
2020-12-06 10:09:39 -05:00
Tomas Babej
497262d23c
ci: Add Ubuntu 20.04
2020-12-06 10:09:31 -05:00
Tomas Babej
1b745bc505
ci: Properly setup en_US.UTF-8 locale for Ubuntu containers
2020-12-06 10:09:20 -05:00
Max Rossmannek
2620714b43
Fix Arch docker image
2020-12-06 10:01:54 -05:00
Max Rossmannek
4ebf611b91
Fix faketime packages
2020-12-06 10:01:45 -05:00
Max Rossmannek
862ae0b969
Replace libfaketime with faketime in debianstable
...
I verified locally that this avoids skipping all of the
faketime-dependent unittests. The Travis CI logs will have to be
investigated for all of the other docker images on which distros we may
need to apply a similar fix.
2020-12-06 10:01:30 -05:00
Max Rossmannek
b634dea7ab
Attempt greedy docker config update
...
This is an attempt at updating all docker configurations by simply
replacing the `python` packages with `python3`. The Travis CI will let
us know if this works.
2020-12-06 10:01:19 -05:00
Max Rossmannek
2931be613b
Enforce Python 3 in test_hooks/wrapper
...
This change was not included in the previous commit because the sed
command I used included the `/usr/bin/env` path to ensure I don't
replace any occurences of the word `python` which I did not wish to
replace.
2020-12-06 10:01:09 -05:00
Max Rossmannek
6d2ecaa15c
Enforce Python 3 for unittests
...
This commit updates all tests to enforce the Python3 executable. This is
necessary because the `assertRegex` function we use was renamed to this
name only in Python 3.2 [1]
For reference:
s;/usr/bin/env python;/usr/bin/env python3;g
[1]: https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertRegex
2020-12-06 10:00:59 -05:00
Tomas Babej
a8c215774b
tests: Implement mechanism for expected failures in C++ tests
...
Implements detection of unexpected successes and expected failures. Both
classes are represented in the TAP output as 'not ok', unexpected
successes with '# FIXED' metadata and expected failures as '# TODO'.
This brings C++ tests to feature parity with Python-based ones when it
comes to expected failures and unexpected successes.
2020-12-06 09:56:37 -05:00
Max Rossmannek
0ae2f2a5fd
Revert "Poor implementation of linewrap restored to task"
...
This reverts commit 64243e6ec1 .
2020-12-06 09:45:30 -05:00
Tomas Babej
9f5a38df60
NEWS: Remove 2.5.2 content, put placeholders for 2.5.3
2020-12-05 18:19:24 -05:00
Tomas Babej
5e30a65689
CMake: Bump version number to 2.5.3
2020-12-05 18:16:58 -05:00
Tomas Babej
c1de01d594
ChangeLog: Update the current release
2020-12-05 17:48:45 -05:00
Tomas Babej
2dd21de678
Merge branch '2.5.2' into master
2020-12-05 17:46:20 -05:00
Tomas Babej
b0c17d1163
holidays: Update holidays using newest holidata.net data
...
Remove outdated holiday files that could not be updated.
2020-12-05 17:11:36 -05:00
Tomas Babej
36d13508d4
CMake: Also ignore .travis for the tarball build
2020-12-05 16:59:14 -05:00
Tomas Babej
fdc290c546
CMake: Exclude .github directory
2020-12-05 16:51:54 -05:00
Tomas Babej
cd1d42bc9d
tests: Mark failing corner case tests as expected for 2.5.2
2020-12-05 16:40:28 -05:00
Leo
643166a337
Uncoditionally include errno.h instead of guessing
...
POSIX tells us that it is errno.h, musl fails to build with -Werror
because it redirects sys/errno.h->errno.h and uses #warning
(cherry picked from commit 041248e7cc )
2020-11-30 00:53:20 -05:00
John Nguyen
4c714e10a3
Fix typo in man page
...
The example for _unique has typo, should be using attribute for project.
Fixes #2277
(cherry picked from commit cf45f28cc0 )
2020-11-30 00:53:20 -05:00
Tomas Janousek
b6910b9428
Add missing "QUARTER" to feedback_reserved_tags
...
A while ago I noticed that 630a1530e0 only
added the QUARTER virtual tag to src/Task.cpp, and when I checked that
again today, it was still missing from src/feedback.cpp, so I'm fixing
that.
2020-11-24 18:46:53 -05:00
mrossinek
4f14b8923f
Fix variant_subtract test case after PR #2095
2020-11-24 08:12:39 -05:00
Tomas Babej
1417be626f
TW-1511: Interpret string subtraction as concanetation with a dash
...
Fixes #1537 (previously known as TW-1511).
2020-11-24 08:12:39 -05:00
Max Rossmannek
cad9a4f834
Update diag.t to correct C++ version
...
The default C++ version was updated in 4729876 and this commit reflects
this change in the test.
2020-11-24 08:12:39 -05:00
mrossinek
ca1e2a5a6b
Mark project.t 1455 as expected failure
2020-11-24 08:12:39 -05:00
Tomas Babej
79e076c3c0
tests: Use updated unittest method
2020-11-24 08:12:39 -05:00
mrossinek
7d567c3ac9
Fix wait.t to correct expected output
2020-11-24 08:12:39 -05:00
Tomas Babej
351965a87b
Update copyright to 2020
2020-11-21 12:43:40 -05:00
Tomas Babej
d1b867f7b5
tests: Do not require line buffering
...
Test runner complains about it not being supported with binary files and
it does not look like it affects any tests in the first place anyway.
2020-11-21 12:41:18 -05:00
Tomas Babej
52c49169b4
tests: Use updated unittest methods
2020-11-21 12:39:03 -05:00
Tomas Babej
720c561b75
tests: Use updated Thread object API
...
Replace isAlive with is_alive as the former is no longer supported in
Python 3.9.
2020-11-21 12:38:14 -05:00
Leo
041248e7cc
Uncoditionally include errno.h instead of guessing
...
POSIX tells us that it is errno.h, musl fails to build with -Werror
because it redirects sys/errno.h->errno.h and uses #warning
2020-11-21 12:27:29 -05:00
Tomas Babej
3855ba9136
travis: Disable testing on gentoo
...
We would love to test on gentoo, but this currently breaks CI. Open to
community contributions to improve our coverage of this distrubition.
2020-11-21 00:59:35 -05:00
Paul Beckingham
4729876714
Updated build to use C++17 by default
2020-11-20 17:47:13 -05:00
Paul Beckingham
4ae73ba871
Updated libshared for bug fix
2020-11-20 17:36:01 -05:00
Tomas Babej
10b64adb58
CmdAdd: Make sure a UUID is printed if ID does not exist
...
This fixes a regression was introduced in
4e80d5d5fd .
Currently, if a user (with default configuration) adds a completed or
deleted task, they do not get a confirmation message ("Created task
..."). This is due to the fact that:
a) new-uuid is not set by default
b) new-id is set by default, but only prints message if the added task
is in pending or waiting state
Make sure to print a message containing UUID reference if the newly
added task is in completed or deleted state.
2020-09-18 00:24:50 -04:00
John Nguyen
cf45f28cc0
Fix typo in man page
...
The example for _unique has typo, should be using attribute for project.
Fixes #2277
2020-05-17 09:48:24 +02:00
0xACE
64243e6ec1
Poor implementation of linewrap restored to task
...
This addresses #2023
For many years linewrap has been broken in taskwarrior, rendering the
application basically useless in terminals with short widths and tasks
containing URLs in them... This janky line wrap patch sort of works but
introduces other minor graphical glitches.
But seeing as no one took the time to fix it over the years, here some a
small salvation to those who suffer as much as me.
One problem of this patch is, when a line is wrapped, it may be 1 column
smaller than the terminal width, resulting in each line not fully
utilizing the terminal width.
This patch is not polished and could probably need to be tended by
someone who cares more.
2020-03-12 10:40:24 -04:00
Paul Beckingham
e186d375dc
Issue 2091: duration of task is set to a wrong and extremely big value
...
- Thanks to Wray Zheng.
2019-08-11 19:57:52 -04:00
Paul Beckingham
04bc1a7998
- Thanks to Adrien Lemaire.
2019-08-11 14:01:22 -04:00
Doron Behar
82ed5d35b7
Truely remove priority from hardcoded attrributes
2019-05-20 09:43:24 -04:00
Doron Behar
e1998346e1
Complete attributes dynamically incl UDAs
...
This is the major refinement of the completion: Most of it just moved
the global variables from up above to inside _task_filter so every array
of attributes will be calculated dynamically there.
2019-05-20 09:43:24 -04:00
Doron Behar
f04d66e10b
Fix small TODO and move main function to bottom
2019-05-20 09:43:24 -04:00
Doron Behar
da49dbdd84
Add TODOs to make zsh completion awesome
2019-05-20 09:43:24 -04:00
Paul Beckingham
ac97523275
libshared: Upgraded to 4178b49db1c5fed5006a4ab6aa2df3f9937f770b
2019-04-26 20:54:16 -04:00
Paul Beckingham
fb97883bef
Build: Do not set CMP0037 on CMake 3.11.0 and above
...
- This policy is no longer necessary because CMake issue #16062 , which caused
incorrect warnings to be shown, has been resolved in 3.11.0.
- Thanks to Janik Rabe
2019-04-26 20:45:46 -04:00
Paul Beckingham
415ce36861
Updated AUTHOR and Changelog
2019-04-14 19:47:52 -04:00
Paul Beckingham
18395a8dc0
- Thanks to Chad Phillips
2019-04-14 19:47:41 -04:00
Chad Phillips
2ac1787dae
JSON encode/decode string UDAs
...
Previously, multiline string UDAs were not preserved when editing
a task via 'task X edit'. String UDAs are now JSON encoded/decoded
during the edit cycle to allow preservation of multiline
2019-04-14 19:45:58 -04:00
Lionel Miller
62944f3c7d
Workaround for alias grep=rg in fish
2019-04-14 19:45:54 -04:00
mrossinek
f06eb12d10
Add unit test
2019-04-14 19:45:13 -04:00
mrossinek
0e58226f3b
Fix #1999
2019-04-14 19:45:11 -04:00
mrossinek
2821c5ac44
Add missing newline
2019-04-14 19:45:04 -04:00
mrossinek
b0c9bf6c8d
Fix #2002
2019-04-14 19:44:35 -04:00
Paul Beckingham
b87703eb39
Tests: REmoved check for absence of a segfault
...
- Testing for the absence of a segfault is not a good test.
2019-03-03 10:50:49 -05:00
Paul Beckingham
863038905c
Tests: Version test removed
...
- Veriying that the diag command emits the correct commit SHA1 creates
sporadic failures when CMake has not been run against the current
commit, and this is not a good test.
2019-03-03 10:34:09 -05:00
Paul Beckingham
2eb488359d
Certs: Updated test certs
2019-03-03 10:03:42 -05:00
Paul Beckingham
9030d90894
Docs: Updated to add Lionel and remove dev comment
2019-03-03 09:57:36 -05:00
Paul Beckingham
473eb628bc
Revert "Workaround for alias grep=rg in fish"
...
This reverts commit 672611435a .
2019-03-02 19:48:09 -05:00
Lionel Miller
672611435a
Workaround for alias grep=rg in fish
2019-03-02 19:45:21 -05:00
Paul Beckingham
3c73af7964
Updated Copyright
2019-03-02 14:33:04 -05:00
Paul Beckingham
e8f183b403
libshared: Upgraded to aa4471478a88ad53ee8f087700726341a8a80157
2019-03-02 14:21:00 -05:00
Paul Beckingham
3313e1f6cc
Updated copyright
2019-03-02 14:13:31 -05:00
Paul Beckingham
9fd12498ed
CmdVersion: Updated YYYY
2019-03-02 14:06:39 -05:00
Paul Beckingham
49a5937ace
Test: Updated diag test expectation
2019-03-02 14:03:34 -05:00
Paul Beckingham
bf8fa9a504
libshared: Upgraded to 4c0d722188a5362695064e443df505d23c524170
2019-03-02 14:01:12 -05:00
Tomas Babej
a6405e8935
README: Make the build badge point to 2.5.2 branch
2019-02-07 08:37:59 -05:00
Tomas Babej
d457bca59a
tests: Add CentOS7 CI testing support
2019-02-07 08:37:59 -05:00
Tomas Babej
8f8a04fdb5
tests: Install libfaketime in all containers
2019-02-07 08:37:59 -05:00
Tomas Babej
a4ce40add4
tests: Improve bytes python3 compatibility
2019-02-07 08:37:59 -05:00
Tomas Babej
b8347821c4
tests: due:yesterday does not match current year on 1st of January
2019-02-07 08:37:59 -05:00
Tomas Babej
3f97a034c7
tests: mkstemp_exec needs argument in bytes
2019-02-07 08:37:59 -05:00
Tomas Babej
74949bb049
tests: Fix incorrect assert method
2019-02-07 08:37:59 -05:00
Tomas Babej
9e7f259d03
tests: Do not use filter objects
...
The filter objects are not well handled by the unittest framework, pass
a concrete number of occurences instead.
2019-02-07 08:37:59 -05:00
Tomas Babej
b8b06e6680
tests: Encode input data for the subprocess
...
Needed for Python2/3 compatibility.
2019-02-07 08:37:59 -05:00
Tomas Babej
928befeea2
tests: Use verbose output when running the tests
2019-02-07 08:37:59 -05:00
Tomas Babej
e171c0aa9b
travis: Reorder platform entries, move Gentoo to the top
...
Since the Gentoo build takes the longest, it makes sense to start
executing it as first.
2019-02-07 08:37:59 -05:00
Tomas Babej
2140298af2
tests: Do not explicitly require Python 2.7
2019-02-07 08:37:59 -05:00
Tomas Babej
adece30891
tests: Add Archlinux 2018 platform
2019-02-07 08:37:59 -05:00
Tomas Babej
012430cfb6
tests: Add OpenSUSE platform
2019-02-07 08:37:59 -05:00
Tomas Babej
0b20a7eef8
tests: Add Debian Testing as a platform
2019-02-07 08:37:59 -05:00
Tomas Babej
82102f59ba
tests: Add gentoo platform
2019-02-07 08:37:59 -05:00
Tomas Babej
539dae2148
travis: Be explicit about Mac OS X version
2019-02-07 08:37:59 -05:00
Tomas Babej
d3d7055103
travis: Use docker run instead of docker up
2019-02-07 08:37:59 -05:00
Tomas Babej
ea2c4d96b4
tests: Add support for Fedora 29
2019-02-07 08:37:59 -05:00
Tomas Babej
9518cdc1e9
tests: Add testing support for Ubuntu 18.04
2019-02-07 08:37:59 -05:00
Tomas Babej
290fb4380c
travis: Use travis_terminate instead of exit
2019-02-07 08:37:59 -05:00
Tomas Babej
420892d7a9
travis: Make sure error codes propagate outside of the if clause
2019-02-07 08:37:59 -05:00
Tomas Babej
7153a03a5f
tests: Properly set the xtrace flag
2019-02-07 08:37:59 -05:00
Tomas Babej
53b5e5c8ee
travis: Execute tests instead of rebuilding the container again in the script phase
2019-02-07 08:37:59 -05:00
Tomas Babej
d748650691
tests: Add OS X test sript
2019-02-07 08:37:59 -05:00
Tomas Babej
e850823809
travis: Set generic language to avoid Ruby default
2019-02-07 08:37:59 -05:00
Tomas Babej
d19b3aa837
travis: Remove syntax errors
2019-02-07 08:37:59 -05:00
Tomas Babej
534303795a
travis: Remove language
2019-02-07 08:37:59 -05:00
Tomas Babej
d543b4c625
travis: Fix bash syntax error
2019-02-07 08:37:59 -05:00
Tomas Babej
4fdb042ad4
travis: Specify test matrix explicitly and add OS X
2019-02-07 08:37:59 -05:00
Tomas Babej
276039cf35
README: Move badges below the heading
2019-02-07 08:37:59 -05:00
Tomas Babej
0ef837bc19
README: Add travis badge
2019-02-07 08:37:59 -05:00
Tomas Babej
f6e7ac2e5e
tests: Add intial version of the Travis CI file
2019-02-07 08:37:59 -05:00
Tomas Babej
cf9f6e958c
tests: Add test container for Debian Stable
2019-02-07 08:37:59 -05:00
Tomas Babej
c2e1a9216d
tests: Rename docker-compose service to keep naming consistent
2019-02-07 08:37:59 -05:00
Tomas Babej
a1b3cfece4
tests: Add docker-compose file
2019-02-07 08:37:59 -05:00
Tomas Babej
b5cf4ca56e
tests: Change default command of the test containers to end with ./problems
...
This makes sure that non-zero return code is propagated out of the
container.
2019-02-07 08:37:59 -05:00
Tomas Babej
a071694324
test: Workaround the cyclic dependencies between the libraries
2019-02-07 08:37:59 -05:00
Tomas Babej
3c4b27608e
test: Add fedora28 and ubuntu1604 dockerfiles
...
These dockerfiles can be used to run taskwarrior's test suite on the
respective platforms using the following commands:
$ cd taskwarrior.git
$ docker build -t test-tw-fedora28 -f test/docker/fedora28 .
$ docker run test-tw-fedora28
For ubuntu, replace fedora28 with ubuntu1604.
2019-02-07 08:37:59 -05:00
Paul Beckingham
493bbadb18
Create index.html
2018-11-21 12:14:15 -05:00
Simon Désaulniers
df70bb0173
doc/man: ready tasks sorted with started tasks 1st
2018-08-19 09:24:07 -04:00
Alexandre Provencio
78033ea2d3
Updates vim's ftdetect
...
As described on issue #2032 .
2018-08-19 09:21:27 -04:00
Vladimir Shulyak
08d985f40c
Display task ID when unwaiting task
2018-06-03 14:16:35 -04:00
Paul Beckingham
376d336525
libshared: Upgraded to 230c63bd385b2a5a6ee5eb431df54b0c5c229b4d
2018-05-26 10:00:05 -04:00
Paul Beckingham
edfa8ed4ea
Cleanup: Removed file that was accidentally cherry-picked
2018-05-26 09:50:50 -04:00
Paul Beckingham
09f9b9e625
Build: Fixed missed context reference
2018-05-14 01:12:19 -04:00
Paul Beckingham
27055ea1b9
TW #2020 : reserved.lines is not affecting the burndown height
...
- Thanks to ad₋si.
2018-05-14 01:04:59 -04:00
Paul Beckingham
9fefe4a378
Docs: Removed incorrect URL
2018-05-14 01:04:45 -04:00
Simon Ruderich
c5ac2e2d00
Docs: mention "urgency" as possible attribute for filters
2018-05-14 01:04:35 -04:00
Paul Beckingham
75ad38f244
TW #1922 : Can't find export scripts
...
- Thanks to tom-doerr
2018-05-14 01:04:26 -04:00
Paul Beckingham
1133f02df7
TW #1986 : [Nit] Update DEVELOPER.md after migration to Github
...
- Thanks to Kirill Bobyrev
2018-05-14 01:04:15 -04:00
Paul Beckingham
ce924349c1
Code cleanup: used auto
2018-05-14 01:04:02 -04:00
Paul Beckingham
24a68b2ad8
TW #1973 : Don't nag when no tasks are READY
...
- Thanks to Martin F. Krafft
2018-05-14 01:03:54 -04:00
Kirill Bobyrev
06521a1b55
Update notes regarding C++14 support
...
4a929197ae introduced C++14 support.
The build will now terminate unless the compiler supports C++14
dialect. The documentation does not reflect that: this commit updates
few reference files to actually say that the building process requires
a C++14-compliant compiler.
2018-05-14 01:03:31 -04:00
Paul Beckingham
3594e1886f
libshared: Upgraded to 999c824cf1139d208e884042eddef87a1d76fb7e
2018-05-14 01:03:17 -04:00
Paul Beckingham
aacf75d414
Updated AUTHORS
2018-05-14 01:03:08 -04:00
Kirill Bobyrev
511a235215
Use nullptr instead lf C-styled NULL
2018-05-14 01:02:57 -04:00
Simon Ruderich
6f19a3fbae
Docs: remove duplication in task-color.5
...
In the example there are more than the three listed wildcard patterns.
Instead of listing them all, list just one. This is enough to describe
the idea.
2018-05-14 01:02:24 -04:00
Simon Ruderich
c6267c526d
Docs: fix incorrect value in task-color.5
2018-05-14 01:02:16 -04:00
Simon Ruderich
90cc2a441d
Context: remove duplicate default value for rule.precedence.color
2018-05-14 01:02:07 -04:00
Simon Ruderich
286fca3935
Docs: fix outdated link in task-sync.5
2018-05-14 01:01:51 -04:00
Paul Beckingham
9bfc8c2ff6
Docs: Updated AUTHORS
2018-05-14 01:01:42 -04:00
Paul Beckingham
e3dab66ad1
Update task-sync.5.in
...
Downgraded 'Always secure' to 'Secure communication', for accuracy.
2018-05-14 01:01:32 -04:00
Simon Ruderich
eabda340ef
Docs: remove instructions which are already default in task-color.5
...
The text even mentions, that it might not be necessary. So just remove
this section.
2018-05-14 01:01:22 -04:00
Simon Ruderich
d0bbe2a0e8
Docs: don't mark cloud provides as "always secure" in task-sync.5
...
The data is stored remotely and possibly (depending on the provider) not
transfered securely.
2018-05-14 01:01:14 -04:00
Simon Ruderich
7441e6cf74
Docs: remove insecure CA configuration from task-sync.5
...
The option taskd.trust is documented in taskrc.5 if the user really
needs it. But we shouldn't suggest an insecure configuration in the
default setup instructions.
2018-05-14 01:01:06 -04:00
Simon Ruderich
a87dfe62ad
Docs: sync "SEE ALSO" sections of task-color.5 and task-sync.5
2018-05-14 01:00:56 -04:00
Simon Ruderich
02470c5647
Docs: always use https:// link for taskwarrior.org
2018-05-14 01:00:44 -04:00
Simon Ruderich
c7edf914e1
Always use https:// link for opensource.org
...
It was already used in a few places, make this consistent.
2018-05-14 01:00:23 -04:00
Simon Ruderich
f98084bbd3
Docs: always use <> tags for placeholders in man pages
2018-05-14 00:57:53 -04:00
Simon Ruderich
ef538ef9da
Docs: use unabbreviated "task colors" command in taskrc.5
2018-05-14 00:57:45 -04:00
Simon Ruderich
f492d423dd
Docs: quote values for calendar.details in taskrc.5
2018-05-14 00:57:33 -04:00
Simon Ruderich
abc00ab6ca
Docs: try to clarify what falls under header/footnote verbose settings
2018-05-14 00:57:00 -04:00
Simon Ruderich
243f613444
Docs: "recur" also implies "footnote"
2018-05-14 00:56:49 -04:00
Simon Ruderich
8fdd18f897
Docs: fix typos in taskrc man page
2018-05-14 00:56:33 -04:00
Paul Beckingham
822909d046
Docs: Added Tiago
2018-05-14 00:56:25 -04:00
Tiago Matias
95becc4f6f
typo -> very simply syntax -> very simple syntax
2018-05-14 00:56:08 -04:00
Federico Hernandez
11a281b862
Changed to a more generic URL for testing
2018-05-14 00:55:57 -04:00
Federico Hernandez
b97e1400e6
Updated URL references
2018-05-14 00:55:45 -04:00
Federico Hernandez
a8c0646d18
Updated URLs and copyright year
2018-05-14 00:55:30 -04:00
Federico Hernandez
98175bac4b
Udated URL in .gitmodules to point to GH
2018-05-14 00:54:42 -04:00
Paul Beckingham
81e65b43bf
Docs: Updated Changelog with pull request info
2018-05-14 00:54:33 -04:00
Jakub Wilk
23d63ccb44
Tests: Don't hardcode errno constants
...
The values of ENOENT and ESRCH are architecture-dependent, so don't
assume they're always 2 and 3.
2018-05-14 00:54:10 -04:00
Paul Beckingham
59342bc10f
TW-54/#115: Reduce output for timesheet
...
- Thanks to Aikido guy.
2018-05-14 00:53:49 -04:00
Paul Beckingham
ea81976ee9
TW-1917/#1930: "above" does a string comparison, even when the value is numeric
...
- Thanks to Dirk Deimeke.
2018-05-14 00:53:40 -04:00
Paul Beckingham
53088dae65
Build: C++14 support added
2018-05-14 00:53:32 -04:00
Paul Beckingham
2623d101e7
- Thanks to php-coder
2018-05-14 00:53:09 -04:00
Paul Beckingham
4f7ca3f2d1
TW-1906/#1919: sync sub-command is missing from task(1) manual page
...
- Thanks to rjc.
2018-05-14 00:52:45 -04:00
Dirk Deimeke
0411fd1ddc
README.md
...
- Added instructions for failing clone of libshared.git
2018-05-14 00:52:07 -04:00
Paul Beckingham
eed9664173
Docs: Updated URLs
2018-05-14 00:51:53 -04:00
Paul Beckingham
7410b01cad
Docs: Fixed md
2018-05-14 00:51:00 -04:00
Paul Beckingham
a9a60c4f9c
Docs: Fixed md
2018-05-14 00:50:49 -04:00
Paul Beckingham
3a79bd908a
Docs: Updated README.md
...
- Thanks to Thomas Lauf
2018-05-14 00:50:25 -04:00
Paul Beckingham
573ad560b6
Templates: Combined two sentences for readability
2018-05-14 00:50:10 -04:00
Federico Hernandez
e09699a029
Reformatting
2018-05-14 00:49:59 -04:00
Federico Hernandez
a6833c62f8
Made the question a checkbox
...
To be checked off by the submitter.
2018-05-14 00:49:47 -04:00
Dirk Deimeke
3585d21a41
Added Link to "How to request a feature"
2018-05-14 00:49:32 -04:00
Paul Beckingham
f34b2e23cb
Github: typo
2018-05-14 00:45:06 -04:00
Paul Beckingham
0e38cdc4a9
Github: Added pull request template
2018-05-14 00:44:57 -04:00
Paul Beckingham
683141d14a
Issues: /Updated template for feature requests
2018-05-14 00:44:48 -04:00
Paul Beckingham
36fac4efe1
Docs: Updated URLs
2018-05-14 00:44:34 -04:00
Paul Beckingham
ea4a23654f
Issues: Create issue-template.md
2018-05-14 00:43:32 -04:00
Lynoure Braakman
cf42496970
Update and rename DEVELOPER to DEVELOPER.md
...
Rough markdownification, no content changes
2018-05-14 00:43:16 -04:00
buhtz
6db06524b1
URL formating
2018-05-14 00:42:04 -04:00
Paul Beckingham
a4c72238d0
Docs: Updated man page discussing rc.recurrence
2018-05-14 00:41:54 -04:00
Paul Beckingham
ae27a1b343
Eval: Eliminated string def
2018-05-14 00:41:45 -04:00
Mark Scannell
c7f2739dda
Portability: Updated to make main re-entrant()
...
- New INSTALL instructions to emscripten, and AUTHORS for contribution.
2018-05-14 00:40:59 -04:00
Paul Beckingham
3d7c681ed0
Lexer: Migrated to unicodeLatinDigit
2018-05-14 00:36:16 -04:00
Paul Beckingham
0086a51311
Lexer: Migrated to unicodeLatinAlpha
2018-05-14 00:35:38 -04:00
Paul Beckingham
ea26369f80
Lexer: Migrated to unicodeHexDigit
2018-05-14 00:35:27 -04:00
Paul Beckingham
49dedfbc86
Lexer: Migrated to unicodeWhitespace
2018-05-14 00:35:17 -04:00
Paul Beckingham
2c89688b46
TW-1947: "urgency.over" filter seems to not work correct
...
- Thanks to Marc Richter.
2018-05-14 00:34:46 -04:00
Paul Beckingham
d5a0b616e1
Lexer: Fixed DOM missing lookahead
2018-05-14 00:34:32 -04:00
Paul Beckingham
e0dbf4b691
Tests: Fixed broken color merge tests
2018-05-14 00:34:22 -04:00
Paul Beckingham
41491843de
Tests: Fixed brokend color.footnote test
2018-05-14 00:34:10 -04:00
Paul Beckingham
34c5a68635
I18N: Removed language build settings
2018-05-14 00:34:00 -04:00
Paul Beckingham
7be5b86618
l10n: Eliminated i18n.h
2018-05-14 00:33:43 -04:00
Paul Beckingham
1ea9721e90
l10n: Eliminated some column labels
2018-05-14 00:33:20 -04:00
Paul Beckingham
0ffadafe3c
l10n: Eliminated some column labels
2018-05-14 00:33:08 -04:00
Paul Beckingham
a9adf06d98
l10n: Eliminated some column labels
2018-05-14 00:32:54 -04:00
Paul Beckingham
540484f92f
l10n: Eliminated some column labels
2018-05-14 00:32:44 -04:00
Paul Beckingham
238f81f621
l10n: Eliminated some column labels
2018-05-14 00:32:34 -04:00
Paul Beckingham
20508c45f2
l10n: Eliminated some column labels
2018-05-14 00:32:07 -04:00
Paul Beckingham
ef58767834
l10n: Eliminated some column labels
2018-05-14 00:31:43 -04:00
Paul Beckingham
0ef1166b0b
DOM: No more I18N
2018-05-14 00:30:10 -04:00
Paul Beckingham
6e3c556d0b
l10n: Eliminated some column labels
2018-05-14 00:30:01 -04:00
Paul Beckingham
02f786694e
l10n: Eliminated some column labels
2018-05-14 00:29:47 -04:00
Paul Beckingham
4b485ad570
l10n: Eliminated some column labels
2018-05-14 00:29:34 -04:00
Paul Beckingham
3df06e6482
l10n: Eliminated some column labels
2018-05-14 00:29:16 -04:00
Paul Beckingham
c94f481f2a
l10n: Eliminated some column labels
2018-05-14 00:28:45 -04:00
Paul Beckingham
41f2133693
l10n: Eliminated some column labels
2018-05-14 00:26:40 -04:00
Paul Beckingham
2872b44b45
l10n: Eliminated some column labels
2018-05-14 00:22:16 -04:00
Paul Beckingham
5c9d96d5a8
l10n: Eliminated some column labels
2018-05-14 00:20:44 -04:00
Paul Beckingham
3d8be2119e
l10n: Eliminated some column labels
2018-05-14 00:20:32 -04:00
Paul Beckingham
569522b007
l10n: Eliminated some column labels
2018-05-14 00:20:20 -04:00
Paul Beckingham
dccb8081bc
l10n: Eliminated some column labels
2018-05-14 00:20:06 -04:00
Paul Beckingham
df5cf4ff9c
l10n: Eliminated some column labels
2018-05-14 00:19:56 -04:00
Paul Beckingham
03ede837e4
l10n: Eliminated some column labels
2018-05-14 00:19:42 -04:00
Paul Beckingham
e6fd4efd08
l10n: Eliminated some column labels
2018-05-14 00:19:22 -04:00
Paul Beckingham
1cd810f8f6
l10n: Eliminated some column labels
2018-05-14 00:19:10 -04:00
Paul Beckingham
ce1c98ec52
l10n: Eliminated some column labels
2018-05-14 00:18:58 -04:00
Paul Beckingham
42a9352f48
l10n: Eliminated some column labels
2018-05-14 00:18:41 -04:00
Paul Beckingham
a7b915299a
l10n: Eliminated STRING_COLUMN_LABEL_ADDED, STRING_COLUMN_LABEL_AGE
2018-05-14 00:18:27 -04:00
Paul Beckingham
4819584714
l10n: Eliminated STRING_COLUMN_LABEL_ACTIVE, STRING_COLUMN_LABEL_STARTED
2018-05-14 00:18:16 -04:00
Paul Beckingham
d58184efa1
l10n: Eliminated STRING_COLUMN_EXAMPLES_*
2018-05-14 00:18:04 -04:00
Paul Beckingham
1f833dcae2
l10n: Eliminated STRING_COLUMN_LABEL_DESC
2018-05-14 00:17:54 -04:00
Paul Beckingham
c66e8917c8
l10n: Eliminated some STRING_COLUMN_EXAMPLES_*
2018-05-14 00:17:41 -04:00
Paul Beckingham
247355f15b
l10n: Eliminated STRING_CMD_UNDO_*
2018-05-14 00:17:31 -04:00
Paul Beckingham
5112479372
l10n: Eliminated STRING_CMD_UDAS_*
2018-05-14 00:17:17 -04:00
Paul Beckingham
5dd5de0d76
l10n: Eliminated STRING_CMD_COMTAGS_USAGE
2018-05-14 00:17:01 -04:00
Paul Beckingham
0339feecda
l10n: Eliminated STRING_CMD_*IDS_*
2018-05-14 00:16:48 -04:00
Paul Beckingham
2098b0166f
l10n: Eliminated STRING_CMD_CUSTOM_*
2018-05-14 00:16:35 -04:00
Paul Beckingham
28d60d8b10
l10n: Eliminated STRING_CMD_ZSHATTS_USAGE
2018-05-14 00:16:21 -04:00
Paul Beckingham
a730a482c3
l10n: Eliminated STRING_CMD_*COMMANDS_*
2018-05-14 00:16:09 -04:00
Paul Beckingham
bd836d763c
l10n: Eliminated STRING_CMD_EXEC_*
2018-05-14 00:15:51 -04:00
Paul Beckingham
a7d75c9071
l10n: Eliminated STRING_CMD_URGENCY_*
2018-05-14 00:15:37 -04:00
Paul Beckingham
fdc045a230
l10n: Eliminated STRING_CMD_TAGS_*
2018-05-14 00:15:20 -04:00
Paul Beckingham
faf6ecceda
l10n: Eliminated STRING_CMD_CAL_*
2018-05-14 00:14:59 -04:00
Paul Beckingham
3a2b5df05d
l10n: Eliminated STRING_CMD_ALIASES_*
2018-05-14 00:14:38 -04:00
Paul Beckingham
6c4e861eac
l10n: Eliminated STRING_CMD_INFO_*
2018-05-14 00:14:11 -04:00
Paul Beckingham
a21a523896
l10n: Eliminated STRING_CMD_REPORTS_*
2018-05-14 00:13:52 -04:00
Paul Beckingham
4b77ee5c25
Code cleanup: Removed unnecessary include
2018-05-14 00:13:34 -04:00
Paul Beckingham
8badebca26
l10n: Eliminated STRING_CMD_IMPORT_*
2018-05-14 00:13:27 -04:00
Paul Beckingham
b5388cb3a4
Code cleanup: Removed unnecessary include
2018-05-14 00:13:13 -04:00
Paul Beckingham
4b75865e47
l10n: Eliminated STRING_CMD_ADD_*
2018-05-14 00:13:04 -04:00
Paul Beckingham
9640f5a02b
Code cleanup: Removed unnecessary include
2018-05-14 00:12:47 -04:00
Paul Beckingham
881c38e301
L10N: Normalized files
2018-05-14 00:10:55 -04:00
Paul Beckingham
20b9ead82a
l10n: Eliminated STRING_CMD_UNIQUE_*
2018-05-14 00:07:43 -04:00
Paul Beckingham
fb62263871
Code cleanup: Removed unnecessary include
2018-05-14 00:07:29 -04:00
Paul Beckingham
c5f24f6481
l10n: Eliminated STRING_CMD_LOG_*
2018-05-14 00:07:17 -04:00
Paul Beckingham
c2fad1fa90
L10N: Eliminated check_translations.sh
2018-05-14 00:06:55 -04:00
Paul Beckingham
02f3ce74d7
l10n: Eliminated STRING_CMD_{G,}HISTORY_*
2018-05-14 00:06:36 -04:00
Paul Beckingham
489515968c
l10n: Eliminated STRING_CMD_CALC_*
2018-05-14 00:06:16 -04:00
Paul Beckingham
76b7dc3820
Code cleanup: Removed unnecessary include
2018-05-14 00:06:03 -04:00
Paul Beckingham
7f23fe3f64
l10n: Eliminated STRING_CMD_VERSION_*
2018-05-14 00:05:53 -04:00
Paul Beckingham
e269626982
CmdVersion: Uses libshared osName
2018-05-14 00:05:41 -04:00
Paul Beckingham
92adb55c7a
l10n: Eliminated STRING_CMD_PREPEND_*
2018-05-14 00:05:30 -04:00
Paul Beckingham
8e01baa49a
l10n: Eliminated STRING_CMD_TIMESHEET_*
2018-05-14 00:05:17 -04:00
Paul Beckingham
375294a56c
l10n: Eliminated STRING_CMD_CONFIG_*
2018-05-14 00:04:55 -04:00
Paul Beckingham
765c12a2d1
l10n: Eliminated STRING_CMD_CONTEXT_*
2018-05-14 00:04:44 -04:00
Paul Beckingham
5d08b64c23
l10n: Eliminated STRING_CMD_COLOR_*
2018-05-14 00:04:24 -04:00
Paul Beckingham
86f260672b
l10n: Eliminated STRING_FEEDBACK_NO_TASKS_SP
2018-05-14 00:04:12 -04:00
Paul Beckingham
98f02b62b2
l10n: Eliminated STRING_CMD_APPEND_*
2018-05-14 00:03:46 -04:00
Paul Beckingham
44a94b0b50
l10n: Eliminated STRING_CMD_PURGE_*
2018-05-14 00:03:34 -04:00
Paul Beckingham
12171e3318
l10n: Eliminated STRING_CMD_PROJECTS_*
2018-05-14 00:03:18 -04:00
Paul Beckingham
cafe1478e6
l10n: Eliminated STRING_CMD_DENO_*
2018-05-14 00:03:07 -04:00
Paul Beckingham
bbc9c0bb47
l10n: Eliminated STRING_CMD_ANNO_*
2018-05-14 00:02:53 -04:00
Paul Beckingham
df7967c6f8
l10n: Eliminated STRING_CMD_COUNT_*
2018-05-14 00:02:40 -04:00
Paul Beckingham
7c5dca0553
l10n: Eliminated STRING_CMD_STATS_*
2018-05-14 00:02:25 -04:00
Paul Beckingham
b3aa531f4a
l10n: Eliminated STRING_CMD_SUMMARY_*
2018-05-14 00:02:12 -04:00
Paul Beckingham
e830176d13
l10n: Eliminated STRING_CMD_BURN_*
2018-05-14 00:01:55 -04:00
Paul Beckingham
23cc9b23e3
l10n: Eliminated STRING_CMD_GET_*
2018-05-14 00:01:29 -04:00
Paul Beckingham
dbf76874b9
l10n: Eliminated STRING_CMD_SHOW*
2018-05-14 00:01:15 -04:00
Paul Beckingham
cf1395afd8
l10n: Eliminated STRING_CMD_DELETE_*
2018-05-14 00:01:00 -04:00
Paul Beckingham
7b2e45692e
l10n: Eliminated STRING_CMD_UDAS_*
2018-05-14 00:00:48 -04:00
Paul Beckingham
0e2cb5866c
l10n: Eliminated STRING_COLUMN_LABEL_DEP*
2018-05-14 00:00:34 -04:00
Paul Beckingham
c44a6433fd
calc: Fixed string param
2018-05-14 00:00:21 -04:00
Paul Beckingham
a66fe6de73
l10n: Eliminated STRING_CMD_DUPLICATE_*
2018-05-13 23:59:48 -04:00
Paul Beckingham
026ac59326
l10n: Eliminated STRING_CMD_MODIFY_*
2018-05-13 23:59:30 -04:00
Paul Beckingham
4e9267eed2
l10n: Eliminated STRING_CMD_SYNC_*
2018-05-13 23:59:15 -04:00
Paul Beckingham
0daaf05782
l10n: Eliminated STRING_CMD_DIAG_*
2018-05-13 23:58:59 -04:00
Paul Beckingham
9244828618
l10n: Eliminated STRING_CMD_DONE_*
2018-05-13 23:58:25 -04:00
Paul Beckingham
3d1a430b62
l10n: Eliminated STRING_CMD_STOP_*
2018-05-13 23:58:00 -04:00
Paul Beckingham
4f08212415
l10n: Eliminated STRING_CMD_LOGO_*
2018-05-13 23:57:42 -04:00
Paul Beckingham
58ff0e74f4
l10n: Eliminated STRING_CMD_START_*
2018-05-13 23:57:29 -04:00
Paul Beckingham
61a377cc29
l10n: Eliminated STRING_TASK_VALID_DESC
2018-05-13 23:57:09 -04:00
Paul Beckingham
a3bf98deff
l10n: Eliminated STRING_COLUMN_LABEL_ID
2018-05-13 23:56:54 -04:00
Paul Beckingham
083efc265b
l10n: Eliminated STRING_COLUMN_LABEL_TASKS
2018-05-13 23:56:36 -04:00
Paul Beckingham
bbb00ac7ef
l10n: Eliminated STRING_COLUMN_BAD_FORMAT
2018-05-13 23:56:22 -04:00
Paul Beckingham
78c2c1c2da
l10n: Eliminated STRING_COLUMN_BAD_NAME
2018-05-13 23:56:10 -04:00
Paul Beckingham
7123784734
l10n: Eliminated STRING_ERROR_NO_FILTER
2018-05-13 23:55:46 -04:00
Paul Beckingham
47ef45ee38
l10n: Eliminated STRING_ERROR_DETAILS
2018-05-13 23:55:30 -04:00
Paul Beckingham
ead5322340
l10n: Eliminated STRING_INVALID_MOD
2018-05-13 23:55:17 -04:00
Paul Beckingham
67c5bc97ce
l10n: Eliminated STRING_UDA_COLLISION
2018-05-13 23:55:02 -04:00
Paul Beckingham
5301e98942
l10n: Eliminated STRING_LOCALIZATION_*
2018-05-13 23:54:51 -04:00
Paul Beckingham
cece9201bb
l10n: Eliminated STRING_UDA_TYPE
2018-05-13 23:54:36 -04:00
Paul Beckingham
1857882d9e
l10n: Eliminated STRING_CMD_COLUMNS_*
2018-05-13 23:54:23 -04:00
Paul Beckingham
e1fda18164
l10n: Eliminated STRING_HELPER_PROJECT_*
2018-05-13 23:54:06 -04:00
Paul Beckingham
977e2a3c35
l10n: Eliminated STRING_ERROR_BAD_STATUS
2018-05-13 23:53:50 -04:00
Paul Beckingham
92ecc4d7fd
l10n: Eliminated STRING_INFINITE_LOOP
2018-05-13 23:53:37 -04:00
Paul Beckingham
a432cec468
l10n: Eliminated STRING_TRIVIAL_INPUT
2018-05-13 23:53:23 -04:00
Paul Beckingham
f27ddea013
l10n: Eliminated STRING_ERROR_PREFIX
2018-05-13 23:53:11 -04:00
Paul Beckingham
e2ffcbd3d6
l10n: Eliminated STRING_PARSER_*
2018-05-13 23:52:59 -04:00
Paul Beckingham
e65f1ecffe
l10n: Eliminated STRING_EDIT_*
2018-05-13 23:52:43 -04:00
Paul Beckingham
51241c5a95
l10n: Eliminated STRING_RECORD_*
2018-05-13 23:52:11 -04:00
Paul Beckingham
9925b4e3a9
l10n: Eliminated STRING_COLOR_UNRECOGNIZED
2018-05-13 23:51:57 -04:00
Paul Beckingham
cdb1326219
l10n: Eliminated STRING_EDIT_TABLE_HEADER
2018-05-13 23:51:44 -04:00
Paul Beckingham
d8bd32aee8
l10n: Eliminated STRING_DEPEND_*
2018-05-13 23:51:31 -04:00
Paul Beckingham
7b3d2e5cd6
l10n: Eliminated STRING_CONFIG_*
2018-05-13 23:51:14 -04:00
Paul Beckingham
58dce57b7e
l10n: Eliminated STRING_CONFIG_DEPRECATED_COL
2018-05-13 23:50:57 -04:00
Paul Beckingham
c0281b21f0
l10n: Eliminated STRING_CONFIG_DEPRECATED_VAR
2018-05-13 23:50:46 -04:00
Paul Beckingham
a43ec0189a
l10n: Eliminated STRING_DATE_BAD_WEEKSTART
2018-05-13 23:50:32 -04:00
Paul Beckingham
f6d2fe6093
l10n: Eliminated STRING_DATE_INVALID_FORMAT
2018-05-13 23:50:18 -04:00
Paul Beckingham
d56487e509
l10n: Eliminated STRING_DATE_<month>
2018-05-13 23:50:04 -04:00
Paul Beckingham
4763b1da6e
l10n: Eliminated STRING_DATE_*DAY
2018-05-13 23:49:41 -04:00
Paul Beckingham
8eec5c82c2
l10n: Eliminated STRING_CMD_CONFIG_NO_CHANGE
2018-05-13 23:49:27 -04:00
Paul Beckingham
2854aba5e3
l10n: Eliminated STRING_TDB2_*
2018-05-13 23:49:05 -04:00
Paul Beckingham
b1a593d27e
l10n: Eliminated STRING_VIEW_TOO_SMALL
2018-05-13 23:48:41 -04:00
Paul Beckingham
61d4cb2a6e
l10n: Eliminated STRING_RECUR_CREATE
2018-05-13 23:48:27 -04:00
Paul Beckingham
72383a7d7f
l10n: Eliminated STRING_TASK_VALID_RECUR
2018-05-13 23:48:06 -04:00
Paul Beckingham
1fc7dc3951
l10n: Eliminated STRING_CMD_EXPORT_USAGE
2018-05-13 23:46:42 -04:00
Paul Beckingham
8e87f3f969
l10n: Eliminated STRING_LEGACY_PRIORITY
2018-05-13 23:46:28 -04:00
Paul Beckingham
bc90b9a4e1
l10n: Eliminated STRING_UTIL_CONFIRM_*
2018-05-13 23:46:17 -04:00
Paul Beckingham
ff02cf8613
l10n: Eliminated STRING_ERROR_CONFIRM_SIGINT
2018-05-13 23:45:58 -04:00
Paul Beckingham
7361431799
l10n: Eliminated STRING_DOM_UNREC
2018-05-13 23:42:42 -04:00
Paul Beckingham
bd41582b97
l10n: Eliminated STRING_EVAL_*
2018-05-13 23:42:20 -04:00
Paul Beckingham
d4edf577eb
l10n: Eliminated translation instructions
2018-05-13 23:42:00 -04:00
Paul Beckingham
12865e3b85
l10n: Eliminated STRING_CMD_VERSION_*
2018-05-13 23:41:37 -04:00
Paul Beckingham
f2e725b3c9
l10n: Eliminated STRING_HOOKS_*
2018-05-13 23:41:18 -04:00
Paul Beckingham
f1049b4a7a
l10n: Eliminated STRING_TASK_INVALID_DUR
2018-05-13 23:41:00 -04:00
Paul Beckingham
fe93e72f0b
l10n: Eliminated STRING_COLUMN_LABEL_PARENT
2018-05-13 23:40:41 -04:00
Paul Beckingham
8d1f66cd41
Utils: Removed l10n utility
2018-05-13 23:38:24 -04:00
Paul Beckingham
06734487ee
Docs: Added note about translations no longer being supported
2018-05-13 23:38:01 -04:00
Paul Beckingham
aefe06b296
l10n: Eliminated STRING_CMD_HELP_USAGE_LABEL
2018-05-13 23:37:20 -04:00
Paul Beckingham
3576e8f784
l10n: Eliminated STRING_CMD_HELP_USAGE_DESC
2018-05-13 23:37:05 -04:00
Paul Beckingham
5cf7c12dc9
l10n: Eliminated STRING_CMD_HELP_ALIASED
2018-05-13 23:36:53 -04:00
Paul Beckingham
fc418d1195
l10n: Eliminated STRING_CMD_HELP_TEXT
2018-05-13 23:36:41 -04:00
Paul Beckingham
b942cae98e
l10n: Eliminated STRING_CMD_HELP_TEXT
2018-05-13 23:36:24 -04:00
Paul Beckingham
3987828294
l10n: Eliminated STRING_CONTEXT_CREATE_RC
2018-05-13 23:35:42 -04:00
Paul Beckingham
e25a64af9b
l10n: Eliminated STRING_CONTEXT_DATA_OVERRIDE
2018-05-13 23:35:27 -04:00
Paul Beckingham
4ce0113395
l10n: Eliminated STRING_CONTEXT_RC_OVERRIDE
2018-05-13 23:35:11 -04:00
Paul Beckingham
efff69bc49
l10n: Eliminated STRING_CONTEXT_NEED_RC
2018-05-13 23:34:56 -04:00
Paul Beckingham
487d504486
l10n: Eliminated STRING_CONFIG_BAD_WRITE
2018-05-13 23:34:38 -04:00
Paul Beckingham
47e9aa9abb
l10n: Eliminated STRING_ASSUME_INFO
2018-05-13 23:34:26 -04:00
Paul Beckingham
4ad3c48f2d
l10n: Eliminated STRING_DATE_SUNDAY
2018-05-13 23:34:12 -04:00
Paul Beckingham
bfcb3eac49
l10n: Eliminated STRING_INVALID_SORT_COL
2018-05-13 23:33:59 -04:00
Paul Beckingham
b30e19b23c
l10n removal of STRING_COLUMN_LABEL_MASK, STRING_COLUMN_LABEL_MASK_IDX
2018-05-13 23:33:39 -04:00
Paul Beckingham
3f14491e31
l10n removal of STRING_UDA_NUMERIC
2018-05-13 23:31:28 -04:00
Paul Beckingham
798cd5b658
l10n removal of STRING_UNKNOWN_ERROR
2018-05-13 23:31:15 -04:00
Paul Beckingham
f24ea5e56c
libshared: Updated to 1fa5dcbf53a280857e35436aef6beb6a37266e33
2018-05-13 23:30:53 -04:00
Paul Beckingham
216d4d63bc
Copyright 2018
2018-05-13 23:30:21 -04:00
Paul Beckingham
018770e894
TI-91: Timewarrior does not compile on DragonFly
...
- Thanks to Michael Neumann.
2018-05-13 23:27:51 -04:00
Paul Beckingham
2e2bdb0d0d
Docs: Updated ChangeLog
2018-05-13 23:27:36 -04:00
Paul Beckingham
3ad683a370
Test: Improved C+ Core Guidelines compliance
2018-05-13 23:27:25 -04:00
Paul Beckingham
ad21e86f06
TW-1938: Adjust behaviour of new-uuid and new-id verbosity levels
...
- Thanks to Paul J. Fenwick.
2018-05-13 23:27:03 -04:00
Paul Fenwick
4e80d5d5fd
[TW-1938] Resolve conflicts between new-id and new-uuid
...
- new-uuid is *not* set by default
- new-uuid overrides new-id when set
The reasoning is that new-uuid is mostly used by code (eg: Python's
taskw module), whereas new-id is mostly used by humans.
By making new-uuid not set by default, calling code can set it to
receive UUIDs (preserving 2.5.x behaviour), but humans can continue to
use integer task IDs.
2018-05-13 23:26:48 -04:00
Paul Beckingham
f7dc21d24d
TW-1930: Typo in help
...
- Thanks to Kai HTML.
2018-05-13 23:26:28 -04:00
Paul Beckingham
5e93134ea4
TW-1935: Separate verbosity category for rc overrides
...
- Thanks to Paul J. Fenwick.
2018-05-13 23:26:11 -04:00
Paul Fenwick
8baf544040
CLI2/Context: Add vim hints
...
No need for vim to guess indent style with these handy vim hints!
2018-05-13 23:26:02 -04:00
Paul Fenwick
ec31b93447
CLI2,Config: Add 'override' verbosity option
...
This allows for 'override' messages to be silenced without requiring
footnotes be completely disabled.
The 'override' verbosity implies 'footnotes'.
2018-05-13 23:25:52 -04:00
Paul Fenwick
aefe16a6e2
Docs/CLI2: Additional dev docs for applyOverrides
2018-05-13 23:25:32 -04:00
Paul Beckingham
9d26327ae4
TW-1936: Tweak tests to have fuller TAP compliance
...
- Thanks to Paul J. Fenwick.
2018-05-13 23:25:20 -04:00
Paul Fenwick
f767ef2f19
test/problems: Updated to handle TAP spec output
2018-05-13 23:25:11 -04:00
Paul Fenwick
3b46553f47
Improve TAP compliance in test suite
...
This allows tools like `prove` to operate on our test-suite, allowing us
to do things like run recently-failing tests first, randomising test
order, and fancier reporting options.
Changes made:
- TAP output always goes to STDOUT, never to STDERR
- Skipped tests signaled as `ok 1 # skip` as per standard
- Expected failures signaled as `not ok 1 # TODO` as per standard
- `.prove` added to .gitignore
2018-05-13 23:24:57 -04:00
Paul Beckingham
b3192b94b4
Docs: Removed obsolete URL
2018-05-13 23:24:36 -04:00
Paul Beckingham
878256306c
Error: Changed (1) error format
2018-05-13 23:24:26 -04:00
Tomas Babej
87bcbeda37
DEVELOPER: Update git repo url
2018-05-13 23:24:10 -04:00
Tomas Babej
7465410c5a
context: Do not allow show, list or none as new context names
...
- Thanks to silviof.
2018-05-13 23:23:53 -04:00
Paul Beckingham
d987c9f5cd
Scripts: Updated URLs
2018-05-13 23:22:41 -04:00
Tomas Babej
bb8092a5e4
tests: Add tests for complex and-or queries
2018-05-13 23:22:15 -04:00
Tomas Babej
f10d1432f3
tests: Add tests for complex and-or queries
2018-05-13 23:21:34 -04:00
Paul Beckingham
1f8eae0071
Reapplying include removal without libshared update
2018-05-13 23:21:22 -04:00
Paul Beckingham
9c5e3750c4
Revert "TLSClient: Remove double include"
...
This reverts commit 2321c17d8d .
2018-05-13 23:21:13 -04:00
Tomas Babej
3c1157fe5d
TLSClient: Remove double include
2018-05-13 23:20:56 -04:00
Tomas Babej
de0b54cfb6
Update AUTHORS and ChangeLog file
2018-05-13 23:20:47 -04:00
Tomas Babej
7fc6d7c5bf
TW-1910: Remove unreachable statement
...
- Thanks to Martin Strunz.
2018-05-13 23:20:35 -04:00
Paul Beckingham
bbd764d249
Tests: Added dom tests
2018-05-13 23:20:14 -04:00
Paul Beckingham
4c53da5be1
DOM: Implemented DOM::Node object
2018-05-13 23:19:59 -04:00
Paul Beckingham
eba68ac2ff
DOM: Added dtor that delegate to DOM::Node
2018-05-13 23:19:20 -04:00
Paul Beckingham
0742e5fbbd
Tests: Added tw.version DOM test
2018-05-13 23:18:59 -04:00
Paul Beckingham
8bbc35560f
DOM: New reference tw.version.
2018-05-13 23:18:49 -04:00
Paul Beckingham
0ea3215e7a
DOM: Fixed ::count bug
2018-05-13 23:18:30 -04:00
Paul Beckingham
d5a7769b4f
Tests: Added first DOM test
2018-05-13 23:18:17 -04:00
Paul Beckingham
ba372e106f
Tests: Renamed dom.t to make way for new DOM object tests
2018-05-13 23:18:00 -04:00
Paul Beckingham
f6566838f6
DOM: Added framework
2018-05-13 23:17:50 -04:00
Paul Beckingham
ee3e8c46dc
DOM: Stubbed DOM tree
2018-05-13 23:17:26 -04:00
Paul Beckingham
4afe912f84
Docs: Added to AUTHORS file
2018-05-13 23:16:06 -04:00
Øyvind A. Holm
ac392561c1
Docs: Typo fix in task.1.in
2018-05-13 23:15:53 -04:00
Paul Beckingham
a1bdb8f99d
Docs: Updated platform list
2018-05-13 23:15:41 -04:00
Tomas Babej
5e52acf63a
INSTALL: Use https link for cmake.org
2018-05-13 23:13:39 -04:00
Tomas Babej
d6930e89ef
LICENSE: Use https link instead of http
2018-05-13 23:13:29 -04:00
Paul Beckingham
be594918a9
libshared: Updated URL
2018-05-13 23:12:59 -04:00
Paul Beckingham
d81fb1d17f
Recurrence: Relocate nag function out of the way
2018-05-13 23:11:39 -04:00
Paul Beckingham
66e3dc8218
TW-1903: grammar error -- There are 1 local changes.
...
- Thanks to Eric Hymowitz.
2018-05-13 23:10:59 -04:00
Paul Beckingham
5a1b069b73
CmdHistory: Corrected date label justification
2018-05-13 23:10:24 -04:00
Paul Beckingham
71ca9e8c4c
Tests: Added WAITING tests
2018-05-13 23:10:06 -04:00
Paul Beckingham
9078ce5976
Tests: Added UNTIL tests
2018-05-13 23:09:05 -04:00
Paul Beckingham
91b45925e9
Tests: Added SCHEDULED tests
2018-05-13 23:08:10 -04:00
Paul Beckingham
45dda0c9fd
Tests: Added READY tests
2018-05-13 23:08:02 -04:00
Paul Beckingham
79fc4f2d47
Tests: Made history tests independent of TZ
2018-05-13 23:07:53 -04:00
Paul Beckingham
0d6fee4053
Tests: Fixed bad regexes
2018-05-13 23:07:40 -04:00
Paul Beckingham
1bb34cb165
Tests: Fixed bad duplicate class/method name
2018-05-13 23:07:29 -04:00
Paul Beckingham
fdc37c037f
CmdHistory: Formatting
2018-05-13 23:07:19 -04:00
Paul Beckingham
7490663d9e
CmdHistory: Fixed bug where all strategies were rendered in the wrong width
2018-05-13 23:07:01 -04:00
Paul Beckingham
0b4fa9472d
Tests: Fixed spaing issue in history test
2018-05-13 23:06:49 -04:00
Paul Beckingham
203ee9f1c2
CmdHistory: Set no-wrap for ghistory output
2018-05-13 23:06:39 -04:00
Paul Beckingham
3b97209663
CmdHistory: Removed table header coloring which is handled elsewhere
2018-05-13 23:06:30 -04:00
Paul Beckingham
2929c46d68
CmdHistory: Formatting
2018-05-13 23:06:19 -04:00
Paul Beckingham
f640dbb34e
CmdHistory: Formatting
2018-05-13 23:06:06 -04:00
Paul Beckingham
315c455314
CmdSummary: Set no-wrap for progress bar column
2018-05-13 23:05:58 -04:00
Paul Beckingham
9295fa49e4
libshared: Updated to f1a3cd6bfabfb083fe3c26f580a15c0d60a92ee9
2018-05-13 23:05:43 -04:00
Paul Beckingham
8f2059a4c4
util: Removed unused strippedLength() function
2018-05-13 23:05:35 -04:00
Paul Beckingham
129fea0a76
Tests: Removed strippedLength() tests
2018-05-13 23:05:22 -04:00
Tomas Babej
dd1633f453
Remove unused auxiliary script task_functions.sh
...
The definitions contained in this file were used only by the already
removed 'context' bash script, see: fc6507803b
2018-05-13 23:05:09 -04:00
Paul Beckingham
a9ff077046
calc: Uses same configuration setting for Datetime/Duration as task
2018-05-13 23:04:57 -04:00
Paul Beckingham
2949a7e86a
Tests: Removed taskd group features from test framework
2018-05-13 23:04:47 -04:00
Paul Beckingham
b9699bb93e
CmdUDAs: Table headers consistent
2018-05-13 23:04:30 -04:00
Paul Beckingham
1f9bd897a7
CmdTimesheet: Table headers consistent
2018-05-13 23:04:19 -04:00
Paul Beckingham
c1445b3859
CmdTags: Table headers consistent
2018-05-13 23:04:10 -04:00
Paul Beckingham
44b3082234
CmdSummary: Table headers consistent
2018-05-13 23:04:02 -04:00
Paul Beckingham
3442e17f83
CmdStats: Table headers consistent
2018-05-13 23:03:46 -04:00
Paul Beckingham
5d3f97819b
CmdShow: Table headers consistent
2018-05-13 23:03:36 -04:00
Paul Beckingham
9218462477
CmdReports: Table headers consistent
2018-05-13 23:03:27 -04:00
Paul Beckingham
4c802a6ff7
CmdProjects: Table headers consistent
2018-05-13 23:03:19 -04:00
Paul Beckingham
35f4681929
CmdInfo: Table headers consistent
2018-05-13 23:03:10 -04:00
Paul Beckingham
943b73b287
CmdHistory: Formatting
2018-05-13 23:02:56 -04:00
Paul Beckingham
15da5fc702
CmdHistory: Table headers consistent
2018-05-13 23:02:45 -04:00
Paul Beckingham
717e8c3be5
CmdContext: Table headers consistent
2018-05-13 23:02:36 -04:00
Paul Beckingham
d6b989c837
CmdCommands: Table headers consistent
2018-05-13 23:02:29 -04:00
Paul Beckingham
6703992cf3
CmdColumns: Table headers consistent
2018-05-13 23:02:16 -04:00
Paul Beckingham
412e804b93
CmdCalendar: Table headers consistent
2018-05-13 23:02:07 -04:00
Paul Beckingham
b162748e26
TDB2: Table headers consistent
2018-05-13 23:01:57 -04:00
Paul Beckingham
b6d65a434b
util: Added helper function to properly manage table header color/underline
2018-05-13 23:01:45 -04:00
Paul Beckingham
78922d8433
Tests: Disabled ambiguous test (matching libshared)
2018-05-13 23:01:25 -04:00
Paul Beckingham
14474170f0
CmdInfo: Fixed header underline problem
2018-05-13 23:01:16 -04:00
Paul Beckingham
23c6950692
Tests: Syntax error in Python that went unnoticed
2018-05-13 23:01:00 -04:00
Paul Beckingham
55ba3b11cb
libshared: Updated to 9a05fb5040008aa5f2c95e7ad060aa249367fe92
2018-05-13 23:00:40 -04:00
Paul Beckingham
67dc65a67d
Tests: Lexer tests now stable with Datetime/duration features disabled
2018-05-13 23:00:30 -04:00
Paul Beckingham
70ce4eef7e
Context: Selects Datetime/Duration features to match expectations
2018-05-13 23:00:19 -04:00
Paul Beckingham
82935c585a
libshared: Updated to f2ac7ef9cc9f33f634f9aacd65ca9c1f828f50e3
2018-05-13 23:00:08 -04:00
Paul Beckingham
60fc24ce2b
Cleanup: Formatting
2018-05-13 23:00:00 -04:00
Paul Beckingham
b3c1d94e75
libshared: Updated to b1686ad3e14c766faa3bdec3d5afe7152ace5e71
2018-05-13 22:59:47 -04:00
Paul Beckingham
2dba81e460
libshared: Updated to 6f0900d86743405f24d52f9eafe6c8e941d40ec3
2018-05-13 22:59:39 -04:00
Paul Beckingham
99f92beac9
libshared: Updated to 320f65961505019d276e5b36316bd11bdd0025b1
2018-05-13 22:59:31 -04:00
Paul Beckingham
f06ca50df9
Task: Uses named dates for YEAR virtual tag
2018-05-13 22:59:24 -04:00
Paul Beckingham
2485efa5f3
Task: Uses named dates for QUARTER virtual tag
2018-05-13 22:59:18 -04:00
Paul Beckingham
2e1e295ba4
Task: Uses named dates for MONTH virtual tag
2018-05-13 22:59:00 -04:00
Paul Beckingham
ec3e14c8f6
Task: Uses named dates to WEEK virtual tag
2018-05-13 22:58:51 -04:00
Paul Beckingham
9841ce1107
libshared: Updated to cbe3fd84a8950a42ed271a0dd8e7c4e1564b1333
2018-05-13 22:58:42 -04:00
Paul Beckingham
5c56f9008c
libshared: Updated to 5bd493494fe2b1f0ab208e1edb4854316eeb5423
2018-05-13 22:58:31 -04:00
Paul Beckingham
6009e20aa4
Tests: Named date tests migrated to libshared
2018-05-13 22:58:25 -04:00
Paul Beckingham
850ef84b0b
CMake: Eliminated Dates.cpp
2018-05-13 22:58:06 -04:00
Paul Beckingham
0143ced07c
Task: Eliminated namedDates
2018-05-13 22:57:43 -04:00
Paul Beckingham
ce7f2e799e
Tests: Eliminated old-style EOD math
2018-05-13 22:57:31 -04:00
Paul Beckingham
f030333766
Tests: Corrected lexer data type for newly-supported date types
2018-05-13 22:57:22 -04:00
Paul Beckingham
1039320a9c
Tests: Eliminated namedDates
2018-05-13 22:57:12 -04:00
Paul Beckingham
d8526a388d
CmdCalc: Eliminated namedDates
2018-05-13 22:56:53 -04:00
Paul Beckingham
06a78e1aff
ColTypeString: Eliminated namedDates
2018-05-13 22:56:42 -04:00
Paul Beckingham
d6bbdb90b9
ColTypeNumeric: Eliminated namedDates
2018-05-13 22:56:31 -04:00
Paul Beckingham
2e34d9ffd4
ColTypeDuration: Eliminated namedDates
2018-05-13 22:56:22 -04:00
Paul Beckingham
8269a3a235
ColTypeDate: Eliminated namedDates
2018-05-13 22:56:11 -04:00
Paul Beckingham
c4b41734a9
ColTags: Eliminated namedDates
2018-05-13 22:56:02 -04:00
Paul Beckingham
23569ad5e7
ColRecur: Eliminated namedDates
2018-05-13 22:55:53 -04:00
Paul Beckingham
d390b02be5
ColProject: Eliminated namedDates
2018-05-13 22:55:45 -04:00
Paul Beckingham
fa71f846ae
calc: Eliminated namedDates
2018-05-13 22:55:36 -04:00
Paul Beckingham
8f3d6c575d
Filter: Eliminated namedDates
2018-05-13 22:55:27 -04:00
Paul Beckingham
d424a885bd
Nibbler: Elimnated, migrated to Pig
2018-05-13 22:55:17 -04:00
Paul Beckingham
f2483538d2
Tests: Removed unused Nibbler tests
2018-05-13 22:54:58 -04:00
Paul Beckingham
15ceb61d96
ISO8601: Migrated all to Datetime/Duration
2018-05-13 22:54:39 -04:00
Paul Beckingham
c5f5b4a1f0
Tests: Eliminated ISO8601d tests
2018-05-13 22:53:10 -04:00
Paul Beckingham
c488e1d45c
Tests: Eliminated ISO8601p tests
2018-05-13 22:52:31 -04:00
Paul Beckingham
6f727d3a39
Context: Eliminated ISO8601
2018-05-13 22:52:07 -04:00
Paul Beckingham
dfde9ba4b8
Variant: Migraded from ISO8601d to Datetime
2018-05-13 22:51:51 -04:00
Paul Beckingham
1571981b57
Lexer: Migrated from ISO8601p to Duration
2018-05-13 22:51:30 -04:00
Paul Beckingham
e20fb95a43
Lexer: Migrated from ISO8601d to Datetime
2018-05-13 22:51:18 -04:00
Paul Beckingham
3421f5bc18
libshared: Updated to 0dbe6c2818d4dc99f5d0089d6afb1559ed05ebf7
2018-05-13 22:51:08 -04:00
Paul Beckingham
88968af20b
dependency: CPP Core Guidlines compliance
2018-05-13 22:51:02 -04:00
Paul Beckingham
42e0c17de7
sort: Greater use of auto
2018-05-13 22:50:51 -04:00
Paul Beckingham
4cbbaec833
CmdEdit: Properly captures an unmodified errno
2018-05-13 22:50:33 -04:00
Paul Beckingham
180e018a36
util: Removed unused header
2018-05-13 22:50:21 -04:00
Paul Beckingham
113358fa50
Docs: Typo
2018-05-13 22:50:11 -04:00
Paul Beckingham
37d65a6296
Docs: Typo
2018-05-13 22:50:02 -04:00
Paul Beckingham
ecd0646f41
Docs: Typo
2018-05-13 22:49:22 -04:00
Paul Beckingham
eb6cc1fa77
Docs: Typo
2018-05-13 22:47:42 -04:00
Paul Beckingham
6dffdaa471
Docs: Typo
2018-05-13 22:47:35 -04:00
Paul Beckingham
4dab89f7e6
Docs: Typo
2018-05-13 22:47:26 -04:00
Paul Beckingham
16ac2c70ab
Docs: Updated build parallelism
2018-05-13 22:46:41 -04:00
Paul Beckingham
e7d9aaec4e
Docs: Updated requirements
2018-05-13 22:46:28 -04:00
Paul Beckingham
2297b2d3a1
Feedback: Sync message now indicates how many local changes will be synced
2018-05-13 22:45:55 -04:00
Paul Beckingham
de8d9d88ff
Lexer: Typo
2018-05-13 22:45:38 -04:00
Paul Beckingham
e2e9725812
Variant: Reduced dependence on ISO8601
2018-05-13 22:45:30 -04:00
Paul Beckingham
60e5c488ac
DOM: tw.syncneeded should be 0/1, not false/true
2018-05-13 22:45:18 -04:00
Paul Beckingham
146a72b331
DOM: Partial DOM match is no longer an error
2018-05-13 22:45:07 -04:00
Paul Beckingham
65c351f50e
Docs: Updated dev file
2018-05-13 22:44:47 -04:00
Paul Beckingham
18c8b41f3f
Config: Eliminated
2018-05-13 22:44:21 -04:00
Paul Beckingham
f28b68661d
Docs: Removed references to $TERM, which is irrelevant anyway
2018-05-13 22:43:58 -04:00
Paul Beckingham
1751bbaea6
Context: Added local config load timing
2018-05-13 22:43:45 -04:00
Paul Beckingham
b57a734625
Config: Migrated to libshared Configuration
2018-05-13 22:43:33 -04:00
Paul Beckingham
00bbca275c
Config: Separated configuration from defaults
2018-05-13 22:43:06 -04:00
Paul Beckingham
e2271f9a03
Docs: Updated man page for DOM ref changes
2018-05-13 22:42:17 -04:00
Paul Beckingham
3eff3d2704
Config: Removed unused ::clear method
...
- This was used back when shadow file support needed to reset CLI parsing.
2018-05-13 22:42:05 -04:00
Paul Beckingham
bc517cecf3
libshared: Updated to d009b1de631c576510841593c85b257e96371b40
2018-05-13 22:41:55 -04:00
Paul Beckingham
2210528581
Docs: Updated test platform list
2018-05-13 22:41:46 -04:00
Paul Beckingham
e458c17f4f
Tests: Added new DOM reference tests
2018-05-13 22:41:38 -04:00
Paul Beckingham
3a69609ffd
DOM: New references: tw.syncneeded, tw.program, tw.args, tw.width, tw.height
...
- And deprecating context.program, context.args, context.width, context.height
2018-05-13 22:41:19 -04:00
Paul Beckingham
6641ca13a1
DOM: Typo
2018-05-13 22:40:10 -04:00
Paul Beckingham
6d1857c253
Docs: Typo
2018-05-13 22:39:55 -04:00
Paul Beckingham
29ec7d6bf3
Docs: Typo
2018-05-13 22:39:47 -04:00
Paul Beckingham
fd45b7f93f
Docs: Typo
2018-05-13 22:39:40 -04:00
Paul Beckingham
3fb591714a
Docs: Typo
2018-05-13 22:39:29 -04:00
Paul Beckingham
c5e0577aee
Docs: Typo
2018-05-13 22:39:16 -04:00
Paul Beckingham
95ca400826
Docs: Typo
2018-05-13 22:38:34 -04:00
Paul Beckingham
5125bb840d
Docs: Typo
2018-05-13 22:38:11 -04:00
Paul Beckingham
89fffbb4da
Docs: Typo
2018-05-13 22:36:51 -04:00
Paul Beckingham
a190fb447d
Docs: Typo
2018-05-13 22:36:42 -04:00
Paul Beckingham
06f91ed4b9
Docs: Typo
2018-05-13 22:36:33 -04:00
Paul Beckingham
187ae4b938
Docs: Update for testing flod2
2018-05-13 22:36:20 -04:00
Paul Beckingham
a1abc46138
TW-1885: Task Sync does not send TLS SNI headers
...
- Thanks to Dan Callahan.
2018-05-13 22:36:10 -04:00
Tomas Babej
5c243b6c4c
TLSClient: Improve diagnostics
...
Task now correctly distinguishes the situation where CA file is present,
but not valid in some sense (empty file, not valid PEM, ..). In this
case the gnutls_certificate_set_x509_trust_file returns 0, as the number
of certificates detected in the file.
The method returns negative numbers for other errors, such as the CA
file itself missing.
Also clarify that when validating client cert/key pair, each of them can
be the source of the problem, not only the cliet certificate file.
2018-05-13 22:35:42 -04:00
Tomas Babej
4f28f26626
TLSClient: Respect 'allow all' and 'ignore hostname' trust settings
2018-05-13 22:35:18 -04:00
Tomas Babej
0907fbf906
style: Remove doubled spaces in the error message
2018-05-13 22:35:04 -04:00
Tomas Babej
4a27ba8bce
TLSClient: Free error data after extracting error message
2018-05-13 22:34:53 -04:00
Tomas Babej
f2177e1254
docs: Update the build toolchain requirements
2018-05-13 22:34:41 -04:00
Tomas Babej
be4ca80842
build: Fix linking problem on non-OS-X platforms
2018-05-13 22:34:23 -04:00
Federico Hernandez
18001a9d2d
Mentioned cmake handling of submodule in DEVELOPER file
2018-05-13 22:34:02 -04:00
Federico Hernandez
7d2ce304c4
Mentioned cmake handling of submodule in DEVELOPER file
2018-05-13 22:33:08 -04:00
Federico Hernandez
24538da200
Handling of git submodule in cmake
2018-05-13 22:31:40 -04:00
Paul Beckingham
0a2f6caba0
TLS: Now uses SNI
2018-05-13 22:31:27 -04:00
Paul Beckingham
eb6af955c3
libshared: Updated to 6aa2b315c476bac3fdb7bf2bc259af55eee89f83
2018-05-13 22:31:15 -04:00
Paul Beckingham
dbfab0a535
Docs: Updated docs with new history/ghistory commands.
2018-05-13 22:31:02 -04:00
Lukas Barth
d2a1b9f18e
Add localized strings
2018-05-13 22:30:45 -04:00
Lukas Barth
80a3f74852
Add unit tests for new history commands
2018-05-13 22:30:28 -04:00
Lukas Barth
e934065cf8
Update manpage for history commands
2018-05-13 22:30:18 -04:00
Lukas Barth
7ef0287467
Adding weekly/daily history commands
2018-05-13 22:30:09 -04:00
Paul Beckingham
5b42cb37c7
libshared: Updated to 09ddc067c8db2d19472283d037ff38d76d63eff8
2018-05-13 22:29:47 -04:00
Paul Beckingham
a5d7f1093e
CmdTimesheet: Rewrote the command
...
- Updated the 'timesheet' command with a more compact report that accepts a
filter, and has a default filter showing the last four weeks of completed and
started tasks.
2018-05-13 22:29:36 -04:00
Paul Beckingham
01c095cac7
Tests: Improved documenation in template
2018-05-13 22:28:56 -04:00
Paul Beckingham
fa654473c9
TLSClient: Removed test code
2018-05-13 22:28:46 -04:00
Paul Beckingham
1f0df70ac3
TLSClient: Typo
2018-05-13 22:28:38 -04:00
Paul Beckingham
c5024ddea4
Doc: Test change
2018-05-13 22:28:30 -04:00
Paul Beckingham
2e0c7418e4
calc: Fixed Dirk
2018-05-13 22:28:17 -04:00
Paul Beckingham
a598dc4d3f
CmdCalc: 'auto infix{true}' doesn't compile
2018-05-13 22:28:04 -04:00
Paul Beckingham
77077fb5f4
Doc: Test change
2018-05-13 22:27:56 -04:00
Paul Beckingham
84f371ca51
Doc: Test change
2018-05-13 22:27:47 -04:00
Paul Beckingham
dd92f7004d
Doc: Test change
2018-05-13 22:27:38 -04:00
Paul Beckingham
adea891229
Doc: Test change
2018-05-13 22:27:28 -04:00
Lukas Barth
c4f060413e
Move strategies to cpp file
2018-05-13 22:26:51 -04:00
Paul Beckingham
29f2bce64d
CmdModify: Code cleanup
2018-05-13 22:26:25 -04:00
Paul Beckingham
5915d3834d
CmdInfo: Code cleanup
2018-05-13 22:26:01 -04:00
Paul Beckingham
8f7ec80666
CmdImport: Code cleanup
2018-05-13 22:25:46 -04:00
Paul Beckingham
0a6d606342
CmdIDs: Code cleanup
2018-05-13 22:25:32 -04:00
Paul Beckingham
24882e4ce5
CmdHistory: Code cleanup
2018-05-13 22:25:21 -04:00
Paul Beckingham
595fcef9bb
CmdHelp: Code cleanup
2018-05-13 22:25:08 -04:00
Paul Beckingham
98fd46549c
CmdEdit: Code cleanup
2018-05-13 22:25:00 -04:00
Paul Beckingham
45ecb72c16
CmdDuplicate: Code cleanup
2018-05-13 22:24:43 -04:00
Paul Beckingham
b5aadd0899
CmdDone: Code cleanup
2018-05-13 22:24:29 -04:00
Paul Beckingham
acd61f14fd
CmdDiagnostics: Code cleanup
2018-05-13 22:24:11 -04:00
Paul Beckingham
613911dc10
CmdDenotate: Code cleanup
2018-05-13 22:23:56 -04:00
Paul Beckingham
24d5be3e14
CmdDelete: Code cleanup
2018-05-13 22:23:40 -04:00
Paul Beckingham
cd4e406dc9
CmdCustom: Code cleanup
2018-05-13 22:23:22 -04:00
Paul Beckingham
6671861e54
CmdCount: Code cleanup
2018-05-13 22:22:42 -04:00
Paul Beckingham
bc2b8cca52
CmdConfig: Code cleanup
2018-05-13 22:22:42 -04:00
Paul Beckingham
0aa7b4c3e3
CmdCommands: Code cleanup
2018-05-13 22:22:42 -04:00
Paul Beckingham
9e28c62730
CmdCalendar: Code cleanup
2018-05-13 22:22:42 -04:00
Paul Beckingham
5806cddfd3
CmdColumns: Code cleanup
2018-05-13 22:22:42 -04:00
Paul Beckingham
6828ce30f5
CmdColor: Code cleanup
2018-05-13 22:22:42 -04:00
Paul Beckingham
8ea7a88281
CmdCalc: Code cleanup
2018-05-13 22:22:42 -04:00
Paul Beckingham
a206d9405b
CmdBurndown: Code cleanup
2018-05-13 22:22:42 -04:00
Paul Beckingham
4a0c6995ed
CmdAttributes: Code cleanup
2018-05-13 22:22:42 -04:00
Paul Beckingham
396e923f22
CmdAppend: Code cleanup
2018-05-13 22:22:42 -04:00
Paul Beckingham
cefc287986
CmdAnnotate: Code cleanup
2018-05-13 22:22:42 -04:00
Paul Beckingham
fe24e078a4
CmdUnique: Code cleanup
2018-05-13 22:22:42 -04:00
Paul Beckingham
b2beb34e9a
CmdAliases: Code cleanup
2018-05-13 22:22:42 -04:00
Paul Beckingham
087cee5425
CmdLogo: Code cleanup
2018-05-13 22:22:42 -04:00
Paul Beckingham
91132a42c8
CmdHistory: Code Cleanup
...
- Fixed formatting inconsistencies.
- Added Lukas to AUTHORS.
2018-05-13 22:22:42 -04:00
Lukas Barth
9bf0bf7a39
Also refactor ghistory
2018-05-13 22:22:42 -04:00
Lukas Barth
4f6c3afa3e
Refactor history.monthly and history.annual
2018-05-13 22:22:42 -04:00
Paul Beckingham
f337bb6458
recur: Code cleanup
2018-05-13 22:22:42 -04:00
Paul Beckingham
e99786e726
recur: Code cleanup
2018-05-13 22:22:42 -04:00
Paul Beckingham
819dbc5285
recur: Code cleanup
2018-05-13 22:22:42 -04:00
Paul Beckingham
02efddca75
recur: Code cleanup
2018-05-13 22:22:42 -04:00
Paul Beckingham
809a1ff357
recur: Code cleanup
2018-05-13 22:22:42 -04:00
Paul Beckingham
952a299914
recur: Code cleanup
2018-05-13 22:22:42 -04:00
Paul Beckingham
67af4137af
main: Code cleanup
2018-05-13 22:22:42 -04:00
Paul Beckingham
9a88084edc
legacy: Code cleanup
2018-05-13 22:22:42 -04:00
Paul Beckingham
95bac8b612
Calc: Code cleanup
2018-05-13 22:22:42 -04:00
Paul Beckingham
7894e16e43
Calc: Code cleanup
2018-05-13 22:22:42 -04:00
Paul Beckingham
0c19c3cde1
Calc: Code cleanup
2018-05-13 22:22:42 -04:00
Paul Beckingham
b2188abb5d
Context: Code cleanup
2018-05-13 22:22:42 -04:00
Paul Beckingham
8ace57bbef
Context: Code cleanup
2018-05-13 22:22:41 -04:00
Paul Beckingham
8b766894b7
Context: Code cleanup
2018-05-13 22:22:41 -04:00
Paul Beckingham
5ecb00fe0e
Context: Code cleanup
2018-05-13 22:22:41 -04:00
Paul Beckingham
04453f5f24
Context: Code cleanup
2018-05-13 22:22:41 -04:00
Paul Beckingham
dd54c26f9a
Context: Code cleanup
2018-05-13 22:22:41 -04:00
Paul Beckingham
fa3abfad2e
Dependency: Code cleanup
2018-05-13 22:22:41 -04:00
Paul Beckingham
28948fc7b2
Dependency: Code cleanup
2018-05-13 22:22:41 -04:00
Paul Beckingham
792a4e1445
Themes: Updated readme
2018-05-13 22:22:41 -04:00
Paul Beckingham
dc7efab0ab
Docs: Updated man page
2018-05-13 22:22:41 -04:00
Paul Beckingham
899547dcc8
Docs: Updated exposition
2018-05-13 22:22:41 -04:00
Paul Beckingham
728390b6e5
Color: Now uses libshared
2018-05-13 22:22:41 -04:00
Paul Beckingham
ffb7f94e2a
Docs: Updated compiler version
2018-05-13 22:22:41 -04:00
Paul Beckingham
e8517e748d
Docs: Removed untested platform
2018-05-13 22:22:23 -04:00
Paul Beckingham
02fde10c12
Variant: Removed uneeded header
2018-05-13 22:22:23 -04:00
Paul Beckingham
b0c60f1c08
Variant: Relocate strings
2018-05-13 22:22:23 -04:00
Paul Beckingham
9ccb83be57
PKI: Updated test_client
2018-05-13 22:22:23 -04:00
Paul Beckingham
424592b873
PKI: Updated CRL
2018-05-13 22:22:23 -04:00
Paul Beckingham
d772eb6add
PKI: Updated server
2018-05-13 22:22:23 -04:00
Paul Beckingham
a9651883cd
PKI: Updated client
2018-05-13 22:22:23 -04:00
Paul Beckingham
ff67f8c791
PKI: Updated CA
2018-05-13 22:22:23 -04:00
Paul Beckingham
c690a3d58d
TW-1869 segmentation fault (on unusual installation)
...
- Thanks to Eric Hymowitz.
2018-05-13 22:22:23 -04:00
Paul Beckingham
3e7958619a
TW-1877: task done, task edit, task is now pending
...
- Thanks to Eric Hymowitz.
2018-05-13 22:22:23 -04:00
Paul Beckingham
54c1ca0786
Docs: Updated NEWS
2018-05-13 22:22:23 -04:00
Paul Beckingham
241fbe0581
TW-1881: Missing last character(s) in Description field
...
- Thanks to Hubert Toullec.
2018-05-13 22:22:04 -04:00
Paul Beckingham
5ff5a5c1ae
TW-1881: default.scheduled seems not to work
...
- Thanks to Onion.
2018-05-13 22:22:04 -04:00
Paul Beckingham
a60c373caf
TW-1861: Truncated description when adding annotation
...
- Thanks to eezewaek.
2018-05-13 22:22:04 -04:00
Paul Beckingham
8dcf0d0c72
TW-1823: Incorrect unicode text wrapping / justifying.
...
- Thanks to Sergey Trofimov.
2018-05-13 22:22:04 -04:00
Paul Beckingham
ce97fd5901
TW-1827: Extract annotations from a task
...
- Thanks to Ryan.
2018-05-13 22:22:04 -04:00
Paul Beckingham
e71be41e72
Tests: Added debug info, which makes it look like TW-1837 it working
2018-05-13 22:22:04 -04:00
Paul Beckingham
ee49ce3165
Tests: Added TW-1837 test
2018-05-13 22:22:04 -04:00
Paul Beckingham
b21e0baa47
TW-1667: hooks: upon failure indicate which hook failed
...
- Thanks to Daniel Shahaf.
2018-05-13 22:22:04 -04:00
Paul Beckingham
444e16fdd2
TW-1572: Alternative approach to urgency inheritance
...
- Thanks to Jens Erat, Wim Schuermann.
2018-05-13 22:22:03 -04:00
Paul Beckingham
5e98ac943b
TW-213: Align countdown column on boundary between number and text.
...
- Thanks to Eric Fluger.
2018-05-13 22:22:03 -04:00
Paul Beckingham
116d192584
libshared: Updated to 2daeeb7e6e0716ce42f7a3d0e4400aee71531d6e
2018-05-13 22:22:03 -04:00
Paul Beckingham
3ec14a8844
Docs: Updated NEWS
2018-05-13 22:22:03 -04:00
Antonio Huete Jimenez
bdd5bc90c4
task: Fix build in SunOS-like environments.
...
Tested in:
- OpenIndiana 2816291
- OmniOS bed3013
- SmartOS 20161129T003638Z
2018-05-13 22:21:16 -04:00
Paul Beckingham
e096462005
Docs: Added Antonion to AUTHORS
2018-05-13 22:21:16 -04:00
Antonio Huete Jimenez
24ae19b8e5
Add missing cast to double
2018-05-13 22:21:16 -04:00
Paul Beckingham
61685714c6
TLS: Aligned source with Taskserver
2018-05-13 22:21:16 -04:00
Paul Beckingham
53310d1ea0
CmdDiagnostics: Uses libshared cppCompliance call
2018-05-13 22:21:16 -04:00
Paul Beckingham
12e30bf969
libshared: Updated to bfb0e90e0c94918b86dd16d8b0e05a74bab8fb75
2018-05-13 22:21:16 -04:00
Paul Beckingham
264cc7e2fe
Tests: Combined two almost identical tests into one
2018-05-13 22:21:16 -04:00
Paul Beckingham
14e047e7c4
util: Migrated osName to libshared
2018-05-13 22:21:16 -04:00
Paul Beckingham
f5bcec66e5
libshared: Updated to aff911bd080a05e5e12a240e13adb27f435b5bb2
2018-05-13 22:21:16 -04:00
Paul Beckingham
9dd2365485
docs: Add missing submodule init step to the DEVELOPER file
2018-05-13 22:21:16 -04:00
Paul Beckingham
bb45ed3fce
Columns: Removed redundant format checking
2018-05-13 22:20:50 -04:00
Paul Beckingham
a951332367
Columns: Attribute objects properly delegate to Column::setStyle to validate formats
2018-05-13 22:20:50 -04:00
Paul Beckingham
f8578ecc28
Columns: Consistency
2018-05-13 22:20:50 -04:00
Paul Beckingham
8c0bfb030a
Task: Improved method signature
2018-05-13 22:20:50 -04:00
Paul Beckingham
04043d267f
Task: Improved method signature
2018-05-13 22:20:50 -04:00
Paul Beckingham
7e629ef30a
Task: Improved method signature
2018-05-13 22:20:50 -04:00
Paul Beckingham
fab2979b87
Task: Improved method signature
2018-05-13 22:20:50 -04:00
Paul Beckingham
6c9660aee8
Task: Renamed ::getUDAOrphans to ::getUDAOrphanUUIDs
2018-05-13 22:20:50 -04:00
Paul Beckingham
fdcb084df6
ColString: Removed obsolete column for ViewText
2018-05-13 22:20:50 -04:00
Paul Beckingham
5fb7b24011
CmdCommands: Removed obsolete include
2018-05-13 22:20:50 -04:00
Paul Beckingham
1fa467aa9f
ColUDA: Removed redundant code
2018-05-13 22:20:50 -04:00
Paul Beckingham
0fc6b46c4c
ColTags: Removed redundant code
2018-05-13 22:20:50 -04:00
Paul Beckingham
e18b4b2063
ColRecur: Removed redundant code
2018-05-13 22:20:50 -04:00
Paul Beckingham
f4b2589149
ColID: Documented ID 0 case
2018-05-13 22:20:50 -04:00
Paul Beckingham
d99eb3c970
ColDepends: Removed redundant code
2018-05-13 22:20:50 -04:00
Paul Beckingham
3fa0e7c1ad
ColTags: Corrected use of _name
2018-05-13 22:20:50 -04:00
Paul Beckingham
92e289cb3d
ColStart: Removed redundant code
2018-05-13 22:20:50 -04:00
Paul Beckingham
0e4f11afc5
ColRecur: Corrected use of _name
2018-05-13 22:20:50 -04:00
Paul Beckingham
49d5a16db3
ColRecur: Added _modifiable
2018-05-13 22:20:50 -04:00
Paul Beckingham
33d7ea6569
ColMask: Corrected use of _name
2018-05-13 22:20:50 -04:00
Paul Beckingham
b55ef724f6
ColIMask: Corrected use of _name
2018-05-13 22:20:50 -04:00
Paul Beckingham
6057ecc83a
ColEntry: Added _modifiable
2018-05-13 22:20:50 -04:00
Paul Beckingham
0150df0b05
ColDue: Added _modifiable
2018-05-13 22:20:50 -04:00
Paul Beckingham
df8e951324
ColDescription: Added _modifiable
2018-05-13 22:20:50 -04:00
Paul Beckingham
e2d9ae379b
ColUDA: Removed redundant code
2018-05-13 22:20:50 -04:00
Paul Beckingham
a2684a6a12
ColUDA: Added _modifiable
2018-05-13 22:20:50 -04:00
Paul Beckingham
b8641d7d5e
ColUUID: Removed unnecessary header
2018-05-13 22:20:50 -04:00
Paul Beckingham
14b632f1a5
ColUrgency: Marked column as unmodifiable
2018-05-13 22:20:50 -04:00
Paul Beckingham
7470af24a9
ColWait: Formatting cleanup
2018-05-13 22:20:50 -04:00
Paul Beckingham
b45e226db9
ColDepends: Corrected use of _name
2018-05-13 22:20:50 -04:00
Paul Beckingham
e1e21f30fe
ColUntil: Formatting cleanup
2018-05-13 22:20:50 -04:00
Paul Beckingham
29e4b21a8b
ColScheduled: Fixed bug where the wrong column label was used
2018-05-13 22:20:50 -04:00
Paul Beckingham
19e5ed6313
ColScheduled: Formatting cleanup
2018-05-13 22:20:50 -04:00
Paul Beckingham
a91cd72829
ColType*: Push the ::validate and ::modify methods down from Column
2018-05-13 22:20:50 -04:00
Paul Beckingham
56530a1f24
Improved certificate validation diagnostics
...
- Thanks to Jelle van der Waa.
2018-05-13 22:20:50 -04:00
Paul Beckingham
daabfcaf91
Tests: Fixed test harness for Python 3.x.
...
- Thanks to jrabbit.
2018-05-13 22:19:56 -04:00
Paul Beckingham
97400df68d
Config: Changed to 0/1 boolean values for the defaults.
...
- Deprecated use of alternate Boolean configuration settings. Use values "0" for
off, and "1" for on. Avoid used of "on", "off", "true", "t", "false", "f",
"yes", "y", "no", "n".
2018-05-13 22:19:33 -04:00
Paul Beckingham
79ffa53ace
Docs: Added Ran Benita
2018-05-13 22:18:18 -04:00
Paul Beckingham
25e326c55c
Docs: Added QUARTER virtual tag
2018-05-13 22:18:03 -04:00
Paul Beckingham
5dfc367420
Task: Corrected false-positive warning about relative dates
2018-05-13 22:17:46 -04:00
Tomas Babej
e1deef327f
NEWS: Deprecate new-uuid verbosity option
2018-05-13 22:17:46 -04:00
Paul Beckingham
7747cf07e7
L10N: Fixed ambiguity in the esp-ESP localization
...
- Thanks to Fidel Mato.
2018-05-13 22:17:23 -04:00
Paul Beckingham
5fc5fbc8e7
Task: Deprecated the 'DUETODAY' virtual tag, which is a synonym for the 'TODAY'
...
virtual tag.
- Thanks to Tomas Babej
2018-05-13 22:15:37 -04:00
Lynoure Braakman
8470763c31
juhannus as an alternative name for midsommarafton
2018-05-13 22:15:12 -04:00
Tomas Babej
546357662f
TW-1788: Closing a reopened task does not update the end time
...
- Thanks to Ralph Bean.
2018-05-13 22:14:50 -04:00
Tomas Babej
5f8de9fd2c
TW-1772: Implementation of circular dependency detection is inefficient
...
- Thanks to Michael Meier.
2018-05-13 22:14:50 -04:00
Tomas Babej
1264ffa4b4
docs: Update ChangeLog and NEWS
2018-05-13 22:14:24 -04:00
Paul Beckingham
35421403cf
TD-64: sync conflict deleted all annotations of the task
...
- Thanks to Markus Beppler, Konstantin Vorobyev.
2018-05-13 22:14:24 -04:00
Paul Beckingham
13b8283666
Cleanup: Removed deprecated 'alias._query' setting
2018-05-13 22:13:55 -04:00
Federico Hernandez
1016dd4a40
Bumped documentation to 2.6.0
2018-05-13 22:10:48 -04:00
Paul Beckingham
88516acdaa
Copyright update
2018-05-13 20:50:26 -04:00
Paul Beckingham
ea0fa20579
TW-1878: uuids subcommand produces a space-delimited list, not comma-delimited
...
- Thanks to Scott Kostyshak.
2018-05-13 20:48:31 -04:00
Paul Beckingham
778d2af36e
Config: 'debug.tls' was missing from 'show' command
2018-05-13 20:48:19 -04:00
Paul Beckingham
934f6aeada
TW-1855: "Well-known" CA certificates not properly auto-loaded
...
- Thanks to Flavio Poletti.
2018-05-13 20:48:09 -04:00
Paul Beckingham
72463f414c
Improved certificate validation diagnostics
...
- Thanks to Jelle van der Waa.
2018-05-13 20:47:57 -04:00
Paul Beckingham
a67ce9db0e
TLSClient: Added GnuTLS 3.4.6 API support
...
- This greatly simplifies cert validation.
2018-05-13 20:47:44 -04:00
Paul Beckingham
55854907a2
TLSClient: Corrected version number for API call
2018-05-13 20:47:24 -04:00
Paul Beckingham
304a6f7a33
TLSClient: Added handshake timeout
2018-05-13 20:47:13 -04:00
Paul Beckingham
41234c4f97
TLSClient: Commented possible need for version protection
2018-05-13 20:47:00 -04:00
Paul Beckingham
40b8aab7d4
TLSClient: Labelled GnuTLS calls with version numbers
2018-05-13 20:46:50 -04:00
Paul Beckingham
44522b11bc
TW-1873: Specify different path to extensions/hooks directory
...
- Thanks to Eli.
2018-05-13 20:46:27 -04:00
Paul Beckingham
3c879e868a
Docs: Updated dev docs
2018-05-13 20:46:08 -04:00
Paul Beckingham
c64e019f29
recur: Migrated from ISO8601d to Datetime
2018-05-13 20:45:52 -04:00
Paul Beckingham
afe6bdbfb3
Context: Migrated from ISO8601d to Datetime
2018-05-13 20:45:33 -04:00
Paul Beckingham
73e373527f
Task: Migrated from ISO8601d to Datetime
2018-05-13 20:45:24 -04:00
Paul Beckingham
d8d5b14e66
CmdHistory: Migrated from ISO8601d to Datetime
2018-05-13 20:45:02 -04:00
Paul Beckingham
70ad78d234
CmdCalendar: Migrated from ISO8601d to Datetime
2018-05-13 20:44:45 -04:00
Paul Beckingham
57f6e0c1a5
CmdBurndown: Migrated from ISO8601d to Datetime
2018-05-13 20:44:28 -04:00
Paul Beckingham
d455d2b9bf
Dates: Migrated from ISO8601d to Datetime
2018-05-13 20:44:11 -04:00
Paul Beckingham
af4222d7d2
CmdTimesheet: Migrated from ISO8601d to Datetime
2018-05-13 20:43:51 -04:00
Paul Beckingham
e15bf5105c
ColDescription: Migrated from ISO8601d to Datetime
2018-05-13 20:43:35 -04:00
Paul Beckingham
c3d47f02d3
rules: Migrated from ISO8601d to Datetime
2018-05-13 20:43:25 -04:00
Paul Beckingham
4c8456a86d
TDB2: Migrated from ISO8601d to Datetime
2018-05-13 20:43:17 -04:00
Paul Beckingham
29300ea9e1
Config: Migrated form ISO8601d to Datetime
2018-05-13 20:43:02 -04:00
Paul Beckingham
cdac253556
ViewText: Eliminated
2018-05-13 20:42:52 -04:00
Paul Beckingham
7001e38c30
CmdSummary: Migrated from ViewText to Table
2018-05-13 20:42:15 -04:00
Paul Beckingham
6c90de1974
TDB2: Migrated from ViewText to Table
2018-05-13 20:42:00 -04:00
Paul Beckingham
17fc9e5a91
CmdHistory: Migrated from ViewText to Table
2018-05-13 20:41:39 -04:00
Paul Beckingham
cc438b4411
CmdCalendar: Migrated from ViewText to Table
2018-05-13 20:41:23 -04:00
Paul Beckingham
d8d5a15321
Tests: Broke one tests into eight, so it is clear which one fails
2018-05-13 20:41:12 -04:00
Paul Beckingham
9be1494357
CmdInfo: Added Table::forceColor
2018-05-13 20:41:02 -04:00
Paul Beckingham
2c07858bd3
CmdInfo: Migrated from ViewText to Table
2018-05-13 20:40:47 -04:00
Paul Beckingham
74e50359b5
util: Migrated obfuscateText calls to libshared
2018-05-13 20:40:34 -04:00
Paul Beckingham
31eb477a0e
libshared: Updated to 6d35bef52da4b881fcfb9946dddb01f603e225c8
2018-05-13 20:40:21 -04:00
Paul Beckingham
142d097ef0
libshared: Updated to 1aa5c92f925a1eeec16639766994f2e6f70bcf8f
2018-05-13 20:40:13 -04:00
Paul Beckingham
c69dfba6bb
CmdProjects: Migrated from ViewText to Table
2018-05-13 20:40:04 -04:00
Paul Beckingham
c1d4cea638
CmdCommands: Migrated from ViewText to Table
2018-05-13 20:39:54 -04:00
Paul Beckingham
245b0c58c6
CmdColumns: Migrated from ViewText to Table
2018-05-13 20:39:45 -04:00
Paul Beckingham
9042477415
CmdShow: Migrated from ViewText to Table
2018-05-13 20:39:34 -04:00
Paul Beckingham
d551dff4cf
CmdTimesheet: Migrated from ViewText to Table
2018-05-13 20:39:21 -04:00
Paul Beckingham
2ec89e68ba
CmdColor: Conencted rc.color to Table::forceColor
2018-05-13 20:39:10 -04:00
Paul Beckingham
ff6dcee84c
CmdColor: Migrated from ViewText to Table
2018-05-13 20:39:01 -04:00
Paul Beckingham
8db15d143b
CmdStats: Migrated from ViewText to Table
2018-05-13 20:38:52 -04:00
Paul Beckingham
a4c2ec0440
CmdReports: Migrated from ViewText to Table
2018-05-13 20:38:41 -04:00
Paul Beckingham
cd2fe40a59
CmdHelp: Migrated from ViewText to Table
2018-05-13 20:38:29 -04:00
Paul Beckingham
7a0707342b
CmdTags: Migrated from ViewText to Table
2018-05-13 20:38:20 -04:00
Paul Beckingham
624ccd12fc
CmdVersion: Migrated from ViewText to Table
2018-05-13 20:38:05 -04:00
Paul Beckingham
a79e1d65a7
libshared: Updated to c3f1919945bd370b397314dc1ec245960a401820
2018-05-13 20:37:56 -04:00
Paul Beckingham
0721aae353
L10N: Removed unused strings
2018-05-13 20:37:45 -04:00
Paul Beckingham
abac5bdf48
util: Added missing include
2018-05-13 20:37:08 -04:00
Paul Beckingham
b463c56c93
Context: Removed unused class global
2018-05-13 20:36:56 -04:00
Paul Beckingham
2fb589b131
CmdStats: Converted from ISO8601 to Datetime/Duration
2018-05-13 20:36:46 -04:00
Paul Beckingham
b53a585756
CmdSummary: Converted from ISO8601 to Duration
2018-05-13 20:36:19 -04:00
Paul Beckingham
6b55c54af9
CmdBurndown: Converted from ISO8601 to Duration
2018-05-13 20:36:04 -04:00
Paul Beckingham
86d3ec5cee
CmdInfo: Converted from ISO8601 to Datetime/Duration
2018-05-13 20:35:54 -04:00
Paul Beckingham
d26fa9b04b
ColUDA: Converted from ISO8601 to Datetime/Duration
2018-05-13 20:35:34 -04:00
Paul Beckingham
0467637500
ColRecur: Converted from ISO8601 to Duration
2018-05-13 20:35:24 -04:00
Paul Beckingham
1a4db03d5e
CmdEdit: Converted from ISO8601 to Datetime/Duration
2018-05-13 20:35:12 -04:00
Paul Beckingham
28bcb7e491
ColTypeDate: Converted fomr ISO8601 to Datetime/Duration
2018-05-13 20:34:53 -04:00
Paul Beckingham
c0c476e53d
DOM: Converted from ISO8601 to Datetime/Duration
...
- In addition fixed the week number of 2011-09-01 to 35, therefore the
tests change also.
2018-05-13 20:34:39 -04:00
Paul Beckingham
26aa2761c0
feedback: Migrated from ISO8601 to Datetime/Duration
2018-05-13 20:34:24 -04:00
Paul Beckingham
cf4bd29d44
recur: Converted from ISO8601p to Duration
2018-05-13 20:34:05 -04:00
Paul Beckingham
12459e8c8b
Task: Converted from ISO8601p to Duration
2018-05-13 20:33:53 -04:00
Paul Beckingham
43d49d17d0
sort: Converted from ISO8601p to Duration
2018-05-13 20:33:34 -04:00
Paul Beckingham
b344f95e97
Variant: Converted from ISO8601p to Duration
2018-05-13 20:33:21 -04:00
Paul Beckingham
6bfb3fab3c
DOM: Migrated from Nibbler to Lexer
2018-05-13 20:33:08 -04:00
Paul Beckingham
c571f6b4fb
Msg: Migrated to use libshared
2018-05-13 20:32:56 -04:00
Paul Beckingham
f684e821d4
Task: Migrated from Nibbler to Pig
2018-05-13 20:32:29 -04:00
Paul Beckingham
06f177534d
libshared: Updated to 9685a22c90ca6f832748f8c71bae3cfad352bc64
2018-05-13 20:32:16 -04:00
Paul Beckingham
a6c8303839
text: Eliminated module
2018-05-13 20:32:05 -04:00
Paul Beckingham
ec84d0f372
util: Migrated optionalBlankLine from text
2018-05-13 20:31:47 -04:00
Paul Beckingham
026a8aa9a1
Tests: Eliminated empty text.t test
2018-05-13 20:31:26 -04:00
Paul Beckingham
b4e4727887
util: Migrated strippedLength from text
2018-05-13 20:31:11 -04:00
Paul Beckingham
14e3038571
util: Migrated nontrivial from text
2018-05-13 20:30:51 -04:00
Paul Beckingham
9ae171f57c
util: Migrated obfuscateText from text
2018-05-13 20:30:34 -04:00
Paul Beckingham
b9f55997ae
Context: GC timing correction not always needed
2018-05-13 20:30:15 -04:00
Paul Beckingham
ecd0ae1b16
libshared: Updated to dfb31a41ced0fe48d98efa2b55689201d8e19667
2018-05-13 20:29:58 -04:00
Paul Beckingham
98278eff2a
Task: Corrected str_replace calls
2018-05-13 20:29:49 -04:00
Paul Beckingham
f0988b52d0
CLI2: Corrected str_replace calls
2018-05-13 20:29:38 -04:00
Paul Beckingham
4232f1a599
Task: Migrated unquoteText to Lexer::dequote
2018-05-13 20:29:26 -04:00
Paul Beckingham
8462120c0a
Tests: Removed migrated autoComplete tests
2018-05-13 20:29:14 -04:00
Paul Beckingham
a79d4cb803
Tests: Removed migrated text tests
2018-05-13 20:29:00 -04:00
Paul Beckingham
8c35f0a4ce
Tests: Removed migrated util tests
2018-05-13 20:28:39 -04:00
Paul Beckingham
232d266fb5
text: Removed local join/split implementation
2018-05-13 20:28:24 -04:00
Paul Beckingham
db0f8d33e1
util: Removed confirm
2018-05-13 20:27:57 -04:00
Paul Beckingham
f99fc16e14
util: Removed execute
2018-05-13 20:27:42 -04:00
Paul Beckingham
4bbb5fadb3
util: Removed formatBytes
2018-05-13 20:27:23 -04:00
Paul Beckingham
488673ea9a
text: Removed replace_positional
2018-05-13 20:27:10 -04:00
Paul Beckingham
060787a5db
calc: Migration to libshared
2018-05-13 20:26:57 -04:00
Paul Beckingham
8a43f4902d
libhsared: migrating from local to libshared
2018-05-13 20:26:34 -04:00
Paul Beckingham
0e56abd0f9
libshared: Updated to 2af7d037559f84450fffa812829fc553498a7ae4
2018-05-13 20:25:05 -04:00
Paul Beckingham
2e06bb6561
libshared: Updated to 9473050234dd3a90bff5400a081ee54881b6b0f5
2018-05-13 20:24:56 -04:00
Paul Beckingham
3d3ad553a6
Docs: Typos in ref PDF
...
- Thanks to eldios.
2018-05-13 20:24:39 -04:00
Paul Beckingham
a821c886b3
Tests: Set sys.stdout as utf8
2018-05-13 20:23:05 -04:00
Paul Beckingham
b323069419
Tests: Fixed test harness for Python 3.x.
...
- Thanks to jrabbit.
2018-05-13 20:22:52 -04:00
Paul Beckingham
992b41b82a
TLSClient: Improved C++ core guidelines
2018-05-13 20:22:37 -04:00
Paul Beckingham
3be7803d30
libshared: Updated to ce5c3414de56a2d1390893bbdc46e7116c38cd90
2018-05-13 20:22:24 -04:00
Paul Beckingham
80ea2bb51d
TDB2: Made sure file exists before checking readability
2018-05-13 20:22:04 -04:00
Paul Beckingham
764ada3a17
CmdDiagnostics: Made sure file existence is checked before readability
2018-05-13 20:21:52 -04:00
Paul Beckingham
570cd3d810
Context: Eliminated load timer
2018-05-13 20:21:36 -04:00
Paul Beckingham
197f130593
Context: Eliminated render timer
2018-05-13 20:21:22 -04:00
Paul Beckingham
e3d006f867
Context: Eliminated hooks timer
2018-05-13 20:21:07 -04:00
Paul Beckingham
ae128f587d
Context: Eliminated sort timer
2018-05-13 20:20:49 -04:00
Paul Beckingham
ff36a87551
Context: Eliminated commit timer
2018-05-13 20:20:35 -04:00
Paul Beckingham
14f1002680
Context: Eliminated filter timer
2018-05-13 20:20:22 -04:00
Paul Beckingham
89b8c9f198
Context: Eliminated gc timer
2018-05-13 20:20:06 -04:00
Paul Beckingham
c7cb2f26ff
Context: Uses inline member initialization
2018-05-13 20:19:49 -04:00
Paul Beckingham
0849501ef5
Context: Migrated to libshared Timer
2018-05-13 20:19:35 -04:00
Paul Beckingham
ced7490df6
TDB2: Migrated to libshared Timer
2018-05-13 20:19:22 -04:00
Paul Beckingham
d5cb31922e
Hooks: Migrated to libshared Timer
2018-05-13 20:19:09 -04:00
Paul Beckingham
d9c72e8f58
Config: Migrated to libshared Timer
2018-05-13 20:18:56 -04:00
Paul Beckingham
a50dc97332
Context: Added ::debugTiming to wrap Timer formatting
2018-05-13 20:18:45 -04:00
Paul Beckingham
c4909ac657
libshared: Updated to 200f8c699b3011dbe49483e6343affad86e0ac96
2018-05-13 20:18:31 -04:00
Paul Beckingham
e1adf6766b
Test: Removed binary output from test
2018-05-13 20:18:21 -04:00
Paul Beckingham
772c68ff62
Test: Removed binary output from test
2018-05-13 20:18:08 -04:00
Paul Beckingham
952171337c
Tests: Fixed unit test that emitted unicode, that 'run_all' dislikes
2018-05-13 20:17:55 -04:00
Paul Beckingham
660cd61da7
Test: Fixed bad typo in test framework
2018-05-13 20:17:40 -04:00
Paul Beckingham
cf66c2a191
TLSClient: Improved C+ Core Guidelines compliance
2018-05-13 20:17:27 -04:00
Paul Beckingham
9a85c45bf7
TLSClient: No longer calls gnutls_global_{de,}init for 3.3.0+
2018-05-13 20:17:12 -04:00
Tomas Babej
7ab0e9c722
l10n: Make safete valve message more explicit about completed/deleted tasks
2018-05-13 20:17:00 -04:00
Paul Beckingham
4079fb2326
Tests: Removed unnecessary imports
2018-05-13 20:16:33 -04:00
Paul Beckingham
6bf05083bd
Timer: Migrated to libshared
2018-05-13 20:16:18 -04:00
Paul Beckingham
a9061dc299
ViewTask: Removed unused include
2018-05-13 20:15:54 -04:00
Paul Beckingham
161ebc1166
CmdEdit: Migrated from Nibbler to Pig
2018-05-13 20:15:41 -04:00
Paul Beckingham
6345b0c7de
CmdUDAs: Migrated from ViewText to Table
2018-05-13 20:15:25 -04:00
Paul Beckingham
6ad736346f
CmdContext: Migrated from ViewText to Table
2018-05-13 20:15:07 -04:00
Paul Beckingham
4792bc8c3a
Dependency: Don't use string literals when character literals are needed
2018-05-13 20:14:54 -04:00
Paul Beckingham
6c62617fd0
Docs: Updated regarding TW-1857
2018-05-13 20:14:36 -04:00
inbinder
67feb5bab7
Src: rules.cpp changed Task::get to Task::has in colorizeProjectNone function
2018-05-13 20:14:23 -04:00
Paul Beckingham
814d7d69fa
Cleanup: Don't use string literals when character literals are needed
2018-05-13 20:14:11 -04:00
Paul Beckingham
35e518cbc2
Cleanup: Don't use string literals when character literals are needed
2018-05-13 20:11:49 -04:00
Paul Beckingham
99a7cfceac
libshared: Updated to d84d1bc70b14c85af771bb5cc7299c290d5372b5
2018-05-13 20:09:37 -04:00
Paul Beckingham
1ebf75e7d0
ColScheduled: Removed unused includes
2018-05-13 20:09:29 -04:00
Paul Beckingham
b3fe15dc41
ColParent: Removed unused includes
2018-05-13 20:09:20 -04:00
Paul Beckingham
67d4510e9b
ColMask: Removed unused includes
2018-05-13 20:09:09 -04:00
Paul Beckingham
7ad546504c
ColIMask: Removed unused includes
2018-05-13 20:08:53 -04:00
Paul Beckingham
d9b528351c
ColDue: Removed unused includes
2018-05-13 20:08:42 -04:00
Paul Beckingham
4f003cdb60
ColDescription: Don't use string literals when character literals are needed
2018-05-13 20:08:29 -04:00
Paul Beckingham
f04cc0c9e6
Build: Eliminated compiler warning
2018-05-13 20:08:05 -04:00
Paul Beckingham
1fad357f26
Docs: Removed old reference to support forums
2018-05-13 20:07:56 -04:00
Paul Beckingham
43e1a2c991
Tests: Updated to non-deprecated Boolean values
2018-05-13 20:07:43 -04:00
Paul Beckingham
2e11c3c104
Config: Changed to 0/1 boolean values for the defaults.
...
- Deprecated use of alternate Boolean configuration settings. Use values "0" for
off, and "1" for on. Avoid used of "on", "off", "true", "t", "false", "f",
"yes", "y", "no", "n".
2018-05-13 20:07:01 -04:00
Paul Beckingham
b7e71a1c3c
Docs: Updated dev build instructions
2018-05-13 20:06:12 -04:00
Paul Beckingham
c5d32c58f9
TW-1778: Unicode strings are truncated in task description
...
- Thanks to Andrew, bjonnh, OKOMPer, Vladimir.
2018-05-13 20:06:00 -04:00
Paul Beckingham
98611888af
L10N: Updated error message to not refer to only pending tasks
2018-05-13 20:05:45 -04:00
Paul Beckingham
e0aea4a5f5
Docs: Added Ran Benita
2018-05-13 20:05:33 -04:00
Ran Benita
1f2c5bfed7
Scripts: Quoted regular expression to avoid bash glob expansion
...
The quote is needed, otherwise it is treated as a bash glob first, which
causes trouble if there actually happens to be matching files, and
fails entirely if `shopt -s failglob` is set.
2018-05-13 20:05:19 -04:00
Paul Beckingham
04c068e514
Docs: ChangeLog had wrong bug id
2018-05-13 20:05:08 -04:00
Paul Beckingham
555dc98f5b
Tests: Removed redundant FS tests
2018-05-13 20:04:55 -04:00
Paul Beckingham
61763f278f
libshared: Integrated FS
2018-05-13 20:04:25 -04:00
Paul Beckingham
b6ef010595
DOM: Eiminated Nibbler
2018-05-13 20:03:17 -04:00
Paul Beckingham
5de313272f
libshared: Added Table
2018-05-13 20:03:06 -04:00
Paul Beckingham
d0251642bc
Tests: Removed redundant utf8 tests
2018-05-13 20:02:56 -04:00
Paul Beckingham
1ca91b9e0c
libshared: Integrated utf8, wcwidth
2018-05-13 20:02:39 -04:00
Paul Beckingham
9a63bd5d6f
Tests: Removed redundant listt tests
2018-05-13 20:02:03 -04:00
Paul Beckingham
a7900205e5
Tests: Removed redundant format tests
2018-05-13 20:01:45 -04:00
Paul Beckingham
dbb22f506d
Tests: Removed JSON tests
2018-05-13 20:01:27 -04:00
Paul Beckingham
3cf4f337e7
Git: Now ignores liblibshared.a
2018-05-13 20:00:14 -04:00
Paul Beckingham
22baaecd14
libshared: Integrated JSON
2018-05-13 19:59:53 -04:00
Paul Beckingham
db182f4612
Tests: Removed RX tests
2018-05-13 19:59:09 -04:00
Paul Beckingham
d33a62ffa6
libshared: Integrated the submodule
...
- Integrated RX.
2018-05-13 19:58:52 -04:00
Paul Beckingham
83ddb3f99f
libshared: Added libshared
2018-05-13 19:58:05 -04:00
Paul Beckingham
35ab335cb2
Docs: Removed one suggestion for reporting bugs
2018-05-13 19:57:40 -04:00
Paul Beckingham
395329fb6c
TW-1820: Install with -DLANGUAGE=2 flag not work.
...
- Thanks to E. Manuel Cerr'on Angeles
2018-05-13 19:57:25 -04:00
Paul Beckingham
1efeea3884
L10N: Removed unused strings
2018-05-13 19:57:10 -04:00
Tomas Babej
54aaac9964
TW-61: Extract only tasks with annotations
...
- Thanks to Aikido Guy.
- Note: This is just bookkeeping commit, the solution (+ANNOTATED
virtual tag) is present since 2.3.0.
2018-05-13 19:56:42 -04:00
Paul Beckingham
071adeeba4
TW-1813: Range filter doesn't work
...
- Thanks to george js.
2018-05-13 19:56:11 -04:00
Paul Beckingham
6358b22289
Docs: Added QUARTER virtual tag
2018-05-13 19:55:52 -04:00
Paul Beckingham
edeac7e6a2
Task: Made better use of ::sameN methods
2018-05-13 19:55:06 -04:00
Paul Beckingham
62944cdf6f
Task: Added QUARTER virtual tag
2018-05-13 19:54:52 -04:00
Paul Beckingham
8e8e0201f0
Tests: Added ::sameQuarter tests
2018-05-13 19:54:39 -04:00
Paul Beckingham
0820549b4c
ISO8601: Added ::sameQuarter
2018-05-13 19:54:22 -04:00
Paul Beckingham
c99754391f
Tests: Added 'w' dateformat test
2018-05-13 19:54:06 -04:00
Paul Beckingham
271d55506a
TW-1807: dateformat lacks a flag to display day of week
...
- Thanks to Ellington Santos.
2018-05-13 19:53:53 -04:00
Paul Beckingham
bac71c7670
TW-1806: project:ide is not allowed
...
- Thanks to Slaven ʙanovic.
2018-05-13 19:53:33 -04:00
Paul Beckingham
0683e14777
Cleanup: Removed debug output
2018-05-13 19:53:03 -04:00
Paul Beckingham
7d2d06dbcd
Task: Corrected false-positive warning about relative dates
2018-05-13 19:48:00 -04:00
Paul Beckingham
038126d59c
ColTypeDate: Fixed countdown format only showing values in the past
2018-05-13 19:47:45 -04:00
Paul Beckingham
f29583d81d
util: Corrected comment
2018-05-13 19:47:17 -04:00
Tomas Babej
a7153a082f
NEWS: Deprecate new-uuid verbosity option
2018-05-13 19:47:04 -04:00
Paul Beckingham
079e2f3008
L10N: Fixed ambiguity in the esp-ESP localization
...
- Thanks to Fidel Mato.
2018-05-13 19:46:50 -04:00
Paul Beckingham
c6e190118f
Tests: Removed broken test
...
- It was not only broken between easter and midsommarafton, but just performing
an additional comparison. Not needed.
2018-05-13 19:46:28 -04:00
Paul Beckingham
ea2faa0607
TW-1795: Calendar underline on Day padding
...
- Thanks to Renato Alves.
2018-05-13 19:44:59 -04:00
Paul Beckingham
4395818e72
CMake: Added snotty comment about CMake bullshit
2018-05-13 19:44:41 -04:00
Paul Beckingham
dde7e6781d
Tests: Wrong test count causes unexpected 'green' in test results
2018-05-13 19:44:19 -04:00
Paul Beckingham
300e7e125e
cmake: Use the CXXSniffer
2018-05-13 19:43:55 -04:00
Tomas Babej
8dfd71ccc6
TW-1792: The info command uses '0' to reference dependencies on non-pending tasks
...
- Thanks to Paul Beckingham for providing screenshots capturing the bug.
2018-05-13 19:42:41 -04:00
Tomas Babej
084383a644
feedback: Use task identifiers instead of IDs
...
During construction of a feedback string for a dependency change,
a list of IDs of the dependencies was used. However, if the tasks
being referred to are already deleted / completed, their respective
IDs are all 0s.
Use shortened UUIDs in such case.
2018-05-13 19:32:53 -04:00
Paul Beckingham
1ebc8034b4
TW-1791: taskrc(5) manpage: spurious "pri." in rule.precedence.color
...
- Thanks to Sebastien Badia.
2018-05-13 19:32:30 -04:00
Paul Beckingham
81ac8e2be9
Tests: Updated test harness
2018-05-13 19:31:31 -04:00
Paul Beckingham
c44900bf8f
Task: Deprecated the 'DUETODAY' virtual tag, which is a synonym for the 'TODAY'
...
virtual tag.
- Thanks to Tomas Babej
2018-05-13 19:31:14 -04:00
Lynoure Braakman
ea8a499769
juhannus as an alternative name for midsommarafton
2018-05-13 19:30:52 -04:00
Paul Beckingham
7f91e014a0
Tests: Typo in test
2018-05-13 19:30:28 -04:00
Tom Sydney Kerckhove
6d6bdebb57
Docs: fixed inconsistency in the spelling of CMake
2018-05-13 19:30:12 -04:00
Tomas Babej
1980df89c0
TW-1788: Closing a reopened task does not update the end time
...
- Thanks to Ralph Bean.
2018-05-13 19:29:54 -04:00
Tomas Babej
c42a73d572
tests: Add test for TW-1788
2018-05-13 19:29:41 -04:00
Tomas Babej
8a50d8b6a9
validate: Pending tasks cannot have end attribute set
2018-05-13 19:29:12 -04:00
Tomas Babej
75403c0ec1
TW-1772: Implementation of circular dependency detection is inefficient
...
- Thanks to Michael Meier.
2018-05-13 19:28:57 -04:00
Tomas Babej
726c31f8de
dependencyIsCircular: Do not visit one node multiple times
2018-05-13 19:28:43 -04:00
Tomas Babej
dbec3ad33f
l10n: Propagate the purge-related strings into language files
2018-05-13 19:26:54 -04:00
Tomas Babej
3cb974de49
Docs: Update ChangeLog and NEWS
2018-05-13 19:26:31 -04:00
Tomas Babej
75b220dbc4
docs: Document new purge command
2018-05-13 19:25:38 -04:00
Tomas Babej
cae0f15245
tests: Expand test cases for purge command
2018-05-13 19:25:26 -04:00
Tomas Babej
46a36a10a5
tests: The purge command now requires confirmation
2018-05-13 19:25:08 -04:00
Tomas Babej
2467200a3b
CmdPurge: Handle child tasks of recurrence templates
2018-05-13 19:24:53 -04:00
Tomas Babej
181f098958
TDB2: Fix wrong comment
2018-05-13 19:24:32 -04:00
Tomas Babej
3e65c3af5e
CmdPurge: Simplify implementation
2018-05-13 19:24:21 -04:00
Tomas Babej
c04bdc48aa
CmdPurge: Move dependency handling into separate method
2018-05-13 19:23:59 -04:00
Tomas Babej
894eb3ab79
CmdPurge: Prompt before purging a task
2018-05-13 19:23:40 -04:00
Paul Beckingham
58cee899b0
L10N: Propagated new strings to all LANGS
2018-05-13 19:23:14 -04:00
Paul Beckingham
1091cc23af
Docs: Added MAKEFLAGS example
2018-05-13 19:22:50 -04:00
Tomas Babej
233d8e3ebf
tests: Add coverage for purge command
2018-05-13 19:22:40 -04:00
Tomas Babej
ec1a7b4b40
DEVELOPER: Use multiple jobs during make
2018-05-13 19:22:17 -04:00
Tomas Babej
ffce61da4b
CmdPurge: Require GC run prior to execution
...
Since TDB2::purge method allows purging of the tasks only
on competed.data file, we need to make sure that all the tasks
that were supposed to be moved to completed.data have been
moved - in other words, we need to run GC.
This allows for diract usage of purge after delete, that is:
$ task <filter> delete
$ task <filter> purge
working as expected.
2018-05-13 19:21:56 -04:00
Tomas Babej
909b2e2713
CmdPurge: Remove purged tasks from dependencies
2018-05-13 19:21:34 -04:00
Tomas Babej
70a0e256b0
CmdPurge: Add initial implementation
2018-05-13 19:21:14 -04:00
Tomas Babej
f10a3d6232
TDB2: Add capability to purge tasks out of data files
2018-05-13 19:20:42 -04:00
Paul Beckingham
cbdd04e506
CmdDiagnostics: Typo
2018-05-13 19:19:52 -04:00
Paul Beckingham
bf4b08efd2
TW-1741: Warning "ignoring return value of ‘int ftruncate" while doing make on xubuntu15.10
...
- Thanks to Sunil Joshi.
2018-05-13 19:13:20 -04:00
Paul Beckingham
2980f5d3ce
TD-64: sync conflict deleted all annotations of the task
...
- Thanks to Markus Beppler, Konstantin Vorobyev.
2018-05-13 19:12:48 -04:00
Paul Beckingham
677c2e87b5
calc: Uses osName() to reduce string literals
2018-05-13 19:12:07 -04:00
Paul Beckingham
48167f53eb
Cleanup: Converted all sprintf to snprintf
2018-05-13 19:11:52 -04:00
Paul Beckingham
9e5a0f0e61
Rules: Improved use of 'const' and 'auto'
2018-05-13 19:10:32 -04:00
Paul Beckingham
abefdd506c
Cleanup: Removed redundant processing of OS name
2018-05-13 19:10:06 -04:00
Paul Beckingham
88bd2fc9e2
Context: Combined interactive.cpp and Context.cpp
2018-05-13 19:09:34 -04:00
Paul Beckingham
aa0db81300
Cleanup: Removed deprecated alias._query setting
2018-05-13 19:01:45 -04:00
Paul Beckingham
a12fb177e2
Bumped ref page to 2.5.2
2018-05-13 18:58:27 -04:00
Paul Beckingham
2d77ad8aab
Build: Bumped version to 2.5.2
2018-05-13 18:55:24 -04:00
Paul Beckingham
9486eb2fde
Docs: Updated for 2.5.2
2018-05-13 18:48:42 -04:00
Federico Hernandez
8f09a35ad2
Added SHA1 of tagged release commit
2016-02-24 23:38:18 +01:00
Federico Hernandez
8b4ae3b54b
Version number and release date for 2.5.1
2016-02-24 23:17:29 +01:00
Paul Beckingham
716936acaa
Text: Fixed extractLines where hyphenation is off
2016-02-23 22:15:00 -05:00
Paul Beckingham
db3cfc939d
ColTags: Added missing calculation for tag max width
2016-02-23 21:56:23 -05:00
Paul Beckingham
c6a6f04697
ColProject: Use of const
2016-02-23 21:43:44 -05:00
Paul Beckingham
f2863c50b4
ColDepends: Use of const
2016-02-23 21:41:57 -05:00
Paul Beckingham
7c82c44759
TW-1773: one task eaten all my RAM
...
- Thanks to Yaroslav Molochko.
2016-02-23 21:16:01 -05:00
Paul Beckingham
7efbfe29e4
Tests: Added extractLine tests
2016-02-23 21:11:22 -05:00
Paul Beckingham
f1785c6da9
Text: Justification auto-truncates
2016-02-23 21:10:41 -05:00
Paul Beckingham
029f3af578
TW-1709: Parsing bug when doing "task undo"
...
- Thanks to Scott Kostyshak.
2016-02-23 21:05:53 -05:00
Paul Beckingham
31f0804207
ColDescription: Minimized use of wrapText
...
- This is a high-use measure/render method pair, and needs to be quick.
2016-02-23 20:55:45 -05:00
Paul Beckingham
fa035c3fde
ColTags: Reduced total work
...
- When there is only a single tag, there is no need to split, sort and word wrap.
2016-02-23 08:39:03 -05:00
Paul Beckingham
0a0793b2ca
dependency: No point scanning for circularity on 'add'
2016-02-22 22:52:11 -05:00
Paul Beckingham
774cf3e2d9
Tests: Fixed import/export tests that assumed a default value
...
- Instead of settting the value.
2016-02-21 11:16:19 -05:00
Paul Beckingham
140accc3d7
FS: Modified so that newlines are no longer added
...
- Now consistent with Taskserver and Common, and actually what we started
with.
2016-02-21 11:04:13 -05:00
Paul Beckingham
29a7837fda
TD-104: Unrecognized taskwarrior file format
...
- Thanks to Jeremy John Reeder, Reg.
2016-02-21 10:13:21 -05:00
Paul Beckingham
6ceca1d424
FS: Inherited fixes from Taskserver
2016-02-20 23:44:20 -05:00
Paul Beckingham
5666feaab9
CFS, Msg, ViewText: Code cleanup
2016-02-20 23:10:23 -05:00
Paul Beckingham
a1dbb0c294
Perofrmance: Removed redundant parsing in ISO8601d
2016-02-13 11:49:03 -05:00
Fidel Mato
3a9e128c4a
L10N
...
- Corrections and newly translated strings from eng-USA to esp-ESP.
2016-02-11 15:11:30 -05:00
Paul Beckingham
28810447d1
TW-1768: Task sync failed: "Either your credentials are incorrect, or your account doesn't exist on the Taskserver."
...
- Thanks to Konstantin.
2016-02-08 22:54:41 -05:00
Tomas Babej
72f8fec136
CmdAdd: Display a specific feedback message for recurrence template tasks
2016-02-06 12:24:45 -05:00
Paul Beckingham
724a4a02a0
Code formatting
2016-02-06 12:13:19 -05:00
Paul Beckingham
cfd997111b
Tests: The 'run_all' script was not correctly using exit code 0 when all tests pass
...
- Thanks to Gordon Ball.
2016-02-06 12:08:31 -05:00
Paul Beckingham
9b5c0c81a3
Build: Included 'problems' script in build dir
...
- Thanks to Gordon Ball.
2016-02-06 12:08:31 -05:00
Federico Hernandez
2ca3fd5f3c
Taskwarrior 2.5.1 Beta 1
2016-02-05 23:18:02 +01:00
Paul Beckingham
5e4d387d83
Diagnostics: Added missing \n characters
2016-02-04 15:46:59 -05:00
Paul Beckingham
820cc4b2e5
DOM: Demoted from class to functions
...
- The DOM object contains no members, and only two (effectively) const methods.
Demoting DOM to function calls reduces coupling with Context.
2016-02-03 21:54:37 -05:00
Paul Beckingham
ec4e6af00d
CLI2: C++11
2016-02-03 21:44:28 -05:00
Paul Beckingham
3b82be9c16
Filter: C++11
2016-02-03 21:12:18 -05:00
Paul Beckingham
cdd1c4681d
Hooks: C++11
2016-02-03 21:06:49 -05:00
Paul Beckingham
c25f312477
ColTypeString: Removed obsolete code
2016-02-03 20:41:19 -05:00
Paul Beckingham
8be1c53d92
ColTypeNumeric: Removed obsolete code
2016-02-03 20:40:59 -05:00
Paul Beckingham
1fced1b8a9
ColTypeDuration: Removed obsolete code
2016-02-03 20:40:34 -05:00
Paul Beckingham
197b440cc2
Eval: C++11
2016-02-03 20:30:57 -05:00
Paul Beckingham
96f04ffc25
Variant: C++11
2016-02-03 20:22:30 -05:00
Paul Beckingham
f59e15185f
Timer: C++11
2016-02-03 20:14:17 -05:00
Paul Beckingham
8577449960
FS: C++11
2016-02-03 19:58:22 -05:00
Paul Beckingham
9720e7dab4
Msg: C++11
2016-02-03 19:47:34 -05:00
Paul Beckingham
1579705fec
Color: C++11
2016-02-03 19:39:38 -05:00
Paul Beckingham
4d2c97f2c3
RX: C++11
2016-02-03 19:26:52 -05:00
Paul Beckingham
073ff9032d
TW-1754: '\' at end of description in 'task edit' merges task with following task
...
- Thanks to Scott Kostyshak.
2016-02-02 23:35:30 -05:00
Paul Beckingham
b61471ca0e
TW-1710: Setting wait date on status:completed / status:deleted
...
- Thanks to Daniel Shahaf.
2016-02-02 23:24:06 -05:00
Paul Beckingham
8275181022
Task: ::getStatus no longer autovivifies
2016-02-02 23:23:14 -05:00
Paul Beckingham
f2abdfd562
Tests: Added Lexer::Type::pair test
2016-02-02 22:39:53 -05:00
Paul Beckingham
a8ed0e7d55
Test: Fixed test that still assumed Cygwin & FreeBSD has 16-color default themes
2016-02-02 01:39:36 -05:00
Paul Beckingham
f6a7a8720e
TW-1697: Inconsistent failure mode on invalid task id
...
- Thanks to Daniel Shahaf.
2016-02-02 01:29:22 -05:00
Paul Beckingham
ea82d88816
Tests: Added test for TW-1763
2016-02-02 01:07:47 -05:00
Paul Beckingham
1187ad16cc
CmdModify: Code cleanup
2016-02-02 01:04:40 -05:00
Paul Beckingham
63bbe857c8
Config: No longer autovivifies
2016-02-02 01:04:22 -05:00
Paul Beckingham
23ac9895ab
TW-1763: Removing the due date of a task with no due date modifies the task
...
- Thanks to Scott Kostyshak.
2016-02-02 01:03:19 -05:00
Paul Beckingham
4b37fea21f
ColTypeString: Added validate() in ::modify
2016-02-01 23:59:18 -05:00
Paul Beckingham
db7ebf9029
Column: Made ::validate const
2016-02-01 23:56:39 -05:00
Paul Beckingham
575433542f
ColProject: Special ::modify handling for 'project'
2016-02-01 23:38:32 -05:00
Paul Beckingham
7ae5e4657d
Column: Only fail when an invalid UDA type is found
...
- Previously it was failing for a missing type, so that if a UDA was not
completely defined, there was an unexpected error. This is because the
setting uda.foo.label was enough to make Column extract 'foo', but then
fail to extract uda.foo.type.
2016-02-01 18:43:47 -05:00
Paul Beckingham
309ee57783
Column: Only store UDA column objects that instantiate
2016-02-01 18:43:10 -05:00
Paul Beckingham
11b7d2edbf
Column: Uses const loop iterators
2016-02-01 18:42:25 -05:00
Paul Beckingham
4f7805d005
Column: Uses non-auto-vivifying Config::has
2016-02-01 18:41:36 -05:00
Paul Beckingham
a356d14f0c
ColUDA: Removed hyphenation from types that don't hyphenate
2016-02-01 18:40:30 -05:00
Paul Beckingham
cf473863d9
Tests: Added specific error wording
...
- Also removed uppercase attribute names.
2016-02-01 18:38:57 -05:00
Paul Beckingham
32cf553d4e
TW-188: short help text
...
- Thanks to David Patrick.
2016-02-01 18:38:14 -05:00
Paul Beckingham
ba957344ef
Task: Specialized modification code replaced by Column::modify delegate
2016-02-01 01:11:21 -05:00
Paul Beckingham
6f4f468d0d
ColUDA: Split ColUDA into ColUDA{String,Numeric,Date,Duration} to make use of ColType*::modify
2016-02-01 01:10:11 -05:00
Paul Beckingham
73d789c593
ColTypeNumeric: Code cleanup
2016-02-01 00:40:28 -05:00
Paul Beckingham
c167fa665e
Column: Reduced ::modify to a minimal implementation
2016-02-01 00:33:22 -05:00
Paul Beckingham
264fd264e9
Tests: Code cleanup
2016-02-01 00:31:06 -05:00
Paul Beckingham
6a0960174f
TW-1756: The columns.t unit test fails two tests after 2300 local
2016-01-31 23:48:02 -05:00
Paul Beckingham
3957c3567a
ColTypeString: Migrated part of Task::modify to ::modify
2016-01-31 20:09:10 -05:00
Paul Beckingham
7525d4a921
ColTypeNumeric: Migrated part of Task::modify to ::modify
2016-01-31 20:08:51 -05:00
Paul Beckingham
b7a72c5252
ColTypeDuration: Migrated part of Task::modify to ::modify
2016-01-31 20:08:32 -05:00
Paul Beckingham
82b5c27fe8
ColTypeDate: Migrated part of Task::modify to ::modify
2016-01-31 20:06:30 -05:00
Paul Beckingham
99aaa4cc80
Task: Prepared Task::modify for switch to delegated Column::modify
2016-01-31 20:05:28 -05:00
Paul Beckingham
7c8b3c9699
Task: Removed dead code, fixed comments
2016-01-31 19:40:13 -05:00
Paul Beckingham
6e56849bce
Task: Migrated part of ::modify to ColRecur
2016-01-31 19:28:23 -05:00
Paul Beckingham
fec65a0f24
ColRecur: Added ::modify
2016-01-31 19:27:54 -05:00
Paul Beckingham
f0b9ceb17b
Task: Migrated part of ::modify to ColTags
2016-01-31 17:23:19 -05:00
Paul Beckingham
c6f9d2c4b2
Task: Renamed modCount to mods, we don't need to count them
2016-01-31 17:22:19 -05:00
Paul Beckingham
25d4392edf
Task: Migrated part of ::modify to ColDepends
2016-01-31 17:04:45 -05:00
Paul Beckingham
974841883b
ColTypeString: Implemented default ::modify
2016-01-31 16:40:39 -05:00
Paul Beckingham
6752695fce
ColTypeNumeric: Implemented default ::modify
2016-01-31 16:40:15 -05:00
Paul Beckingham
0043a2fc9e
ColTypeDuration: Implemented default ::modify
2016-01-31 16:39:57 -05:00
Paul Beckingham
31e1333c2a
ColTypeDate: Implemented default ::modify
2016-01-31 16:39:30 -05:00
Paul Beckingham
5d566ddcbd
Column: Added base ::modify method
2016-01-31 16:29:23 -05:00
Paul Beckingham
6ef490a093
Task: Code cleanup
2016-01-31 16:28:13 -05:00
Paul Beckingham
15373daf85
Task: Improved CppCoreGuideline compliance
2016-01-31 16:05:00 -05:00
Paul Beckingham
08b7b5b800
Code Cleanup: Formatting
2016-01-31 16:04:22 -05:00
Paul Beckingham
39cc00ce9d
Docs: Fixed man page bugs
...
- Thanks to pawprint.
2016-01-27 13:39:45 -05:00
Paul Beckingham
dbb0998f9d
Tests: All the test certs expired 4 days ago
2016-01-23 15:22:54 -05:00
Paul Beckingham
406f77efe2
Bug: Fixed bug where 'rc.allow.empty.filter' was not behaving properly
...
- Thanks to Scott Kostyshak.
2016-01-23 15:22:25 -05:00
Paul Beckingham
c023e3e721
Sync: 'init' now uploads pending + completed/deleted tasks
2016-01-23 14:36:02 -05:00
Kent R. Spillner
8337f78efe
CMakeLists.txt: find uuid functions on OpenBSD
...
OpenBSD also includes uuid functions directly in its libc, same as
FreeBSD.
Signed-off-by: Kent R. Spillner <kspillner@acm.org >
2016-01-20 08:00:24 -05:00
Paul Beckingham
097a87a371
Docs: Fixed bad link in docs
2016-01-18 23:40:21 -05:00
Paul Beckingham
2fc1d83b55
C++11: Proper includes
2016-01-16 12:06:20 -05:00
Federico Hernandez
b87a9225eb
Build: Added missing include
...
- Thanks to Ed Rankin
2016-01-16 17:05:22 +01:00
Kent R. Spillner
933b2d8ebe
OpenBSD also provides uuid support directly in its libc, same as FreeBSD.
2016-01-15 12:35:10 -05:00
Paul Beckingham
e361c2c751
TW-1719: Description cannot contain improper ordinals
...
- Thanks to Ben Boeckel.
2016-01-12 00:04:48 -05:00
Paul Beckingham
156357285c
Dependency: Consistency
...
- Modified the ::getBlockingTasks and ::getBlockedTasks to match the code that
performs the dependency scan. While this doesn't change functionality, it
does align the logic.
2016-01-11 23:46:22 -05:00
Paul Beckingham
7f3db8f201
TW-1714: Starting recurring task starts all recurrences
...
- Thanks to Robin Green.
2016-01-11 23:20:33 -05:00
Paul Beckingham
d564aac978
TW-1734: calendar gives an error when context is set
...
- Thanks to Simon Michael.
2016-01-11 22:44:47 -05:00
Paul Beckingham
60667dbcaa
TW-1705: Directories in .task/hooks should not be reported as invalid hooks
...
- Thanks to Tomas Babej.
2016-01-11 22:30:35 -05:00
Paul Beckingham
19f57ffead
TW-1736: Error on detection of BOM in files.
2016-01-11 21:54:57 -05:00
Paul Beckingham
92f22149c0
TW-1735: context with no subcommand should do something
...
- Thanks to Simon Michael.
2016-01-11 21:05:33 -05:00
Paul Beckingham
3ed7fe265e
TW-1752: cleanup of diag output
...
- Thanks to David Patrick.
2016-01-11 16:27:15 -05:00
Paul Beckingham
df45c84266
TW-1741: Warning "ignoring return value of ‘int ftruncate" while doing make on xubuntu15.10
...
- Thanks to Sunil Joshi.
2016-01-11 15:26:15 -05:00
Paul Beckingham
3a3cfef0c3
TW-1748: CMakeLists shouldn't hardcode libc++ on Darwin
...
- Thanks to Misty De Meo.
2016-01-11 14:37:55 -05:00
Paul Beckingham
08233c438a
Revert "Column: Removed obsolete method"
...
This reverts commit 07027abf99 .
2016-01-10 00:07:31 -05:00
Paul Beckingham
fb13483cec
Revert "Command: Removed obsolete method"
...
This reverts commit 796ec14c31 .
2016-01-10 00:07:07 -05:00
Paul Beckingham
f6ecc08b51
CmdCount: Removed obsolete method
2016-01-09 23:47:05 -05:00
Paul Beckingham
796ec14c31
Command: Removed obsolete method
2016-01-09 23:46:46 -05:00
Paul Beckingham
8a94602eb8
ColWait: Removed obsolete code
2016-01-09 23:26:01 -05:00
Paul Beckingham
8c74495b11
ColUrgency: Removed obsolete code
2016-01-09 23:25:40 -05:00
Paul Beckingham
51badfa4ee
ColUntil: Removed obsolete code
2016-01-09 23:21:35 -05:00
Paul Beckingham
08066b694c
ColUUID: Removed obsolete code
2016-01-09 23:21:18 -05:00
Paul Beckingham
f89c35f736
ColUDA: Removed obsolete code
2016-01-09 23:20:18 -05:00
Paul Beckingham
3380cac00e
ColTypeString: Removed obsolete code
2016-01-09 23:19:48 -05:00
Paul Beckingham
c448dc5b60
ColTypeNumeric: Removed obsolete code
2016-01-09 23:19:28 -05:00
Paul Beckingham
08bc64aeb9
ColTypeDuration: Removed obsolete code
2016-01-09 23:18:35 -05:00
Paul Beckingham
825860488e
ColTypeDate: Removed obsolete code
2016-01-09 23:18:15 -05:00
Paul Beckingham
87916eb546
ColTags: Removed obsolete code
2016-01-09 23:17:05 -05:00
Paul Beckingham
b9fe3673fb
ColString: Removed obsolete code
2016-01-09 23:16:37 -05:00
Paul Beckingham
1a7adea217
ColStatus: Removed obsolete code
2016-01-09 23:16:02 -05:00
Paul Beckingham
38b04f4632
ColStart: Removed obsolete code
2016-01-09 23:10:06 -05:00
Paul Beckingham
93e80462a1
ColScheduled: Removed obsolete code
2016-01-09 23:09:39 -05:00
Paul Beckingham
80ac338b8d
ColRecur: Removed obsolete code
2016-01-09 23:05:16 -05:00
Paul Beckingham
a41839b242
ColProject: Removed obsolete code
2016-01-09 23:04:47 -05:00
Paul Beckingham
926f85ea7c
ColParent: Removed obsolete code
2016-01-09 23:04:14 -05:00
Paul Beckingham
383d596516
ColModified: Removed obsolete code
2016-01-09 23:03:02 -05:00
Paul Beckingham
639cd27ef0
ColMask: Removed obsolete code
2016-01-09 23:02:22 -05:00
Paul Beckingham
1b368d5ff9
ColIMask: Removed obsolete code
2016-01-09 22:59:32 -05:00
Paul Beckingham
a084aac4ca
ColID: Removed obsolete code
2016-01-09 22:58:24 -05:00
Paul Beckingham
dc2f5425fa
ColEntry: Removed obsolete code
2016-01-09 22:56:01 -05:00
Paul Beckingham
bf038b37ac
ColEnd: Removed obsolete code
2016-01-09 22:55:24 -05:00
Paul Beckingham
886c030452
ColDue: Removed obsolete code
2016-01-09 22:54:45 -05:00
Paul Beckingham
f011f6e23f
ColDescription: Removed obsolete method
2016-01-09 22:53:30 -05:00
Paul Beckingham
a5c4f35e06
ColDepends: Removed obsolete method
2016-01-09 22:52:10 -05:00
Paul Beckingham
07027abf99
Column: Removed obsolete method
2016-01-09 22:41:42 -05:00
Paul Beckingham
08d5db0b49
Hooks: Removed obsolete methods
2016-01-09 22:38:18 -05:00
Paul Beckingham
54fac39f85
Eval: Removed obsolete method
2016-01-09 22:36:13 -05:00
Paul Beckingham
7c5ddee4e5
Filter: Removed obsolete method
2016-01-09 22:34:54 -05:00
Paul Beckingham
88ed4d0035
TDB2: Removed obsolete method
2016-01-09 22:33:06 -05:00
Paul Beckingham
15e96eb02f
Color: Removed obsolete methods
2016-01-09 22:29:07 -05:00
Paul Beckingham
da96962b00
Variant: Removed obsolete method
2016-01-09 22:26:58 -05:00
Paul Beckingham
83701168a4
DOM: Remove obsolete methods
2016-01-09 22:24:55 -05:00
Tomas Babej
844cda943a
man: Fix invalid context command example
2016-01-08 08:57:41 -05:00
Misty De Meo
33988c2c90
CMakeLists: don't hardcode libc++ on Darwin
...
Some Darwin users (for example, users on pre-OS X 10.7 systems) use
FSF GCC releases instead of Clang; hardcoding the -stdlib=libc++ flag
causes the build to fail for them. Instead, pass this whenever Clang
is used.
2015-12-31 17:22:05 -05:00
Paul Beckingham
f0c8c7d1b1
TW-1750: REG_ENHANCED, used in RX.cpp, isn't defined in all versions of Darwin
...
- Thanks to Misty De Meo.
2015-12-31 17:20:22 -05:00
Misty De Meo
3215e3d78e
RX: test for presence of REG_ENHANCED
...
Instead of checking for Darwin, check whether REG_ENHANCED is defined,
since that's the only difference between the two options.
This fixes compiling on older versions of OS X, where REG_ENHANCED is
not defined.
2015-12-31 17:18:08 -05:00
Paul Beckingham
ae47fb7265
TW-1749: PATH_MAX isn't defined in FS.cpp in some versions of OS X
...
- Thanks to Misty De Meo.
2015-12-31 17:10:35 -05:00
Misty De Meo
be35dde6f0
FS: include sys/syslimits.h on OS X
...
This fixes an issue where PATH_MAX isn't defined on some versions of
OS X.
2015-12-31 17:06:54 -05:00
Paul Beckingham
641d232dea
Copyright: Updated to 2016
2015-12-31 15:06:43 -05:00
Paul Beckingham
f1951f83dc
Test: Removed incorrect assumption about 'eow' relative to 'eoy'
2015-12-31 15:04:02 -05:00
Jakub Wilk
5877a54b89
Documentation typo fixes
2015-12-29 20:53:19 -05:00
Paul Beckingham
a5566da07a
Docs: Updated NEWS
2015-12-29 11:09:51 -05:00
Tomas Babej
8dcdeeac8b
tests: Add test for relative date formatting
2015-12-29 11:03:15 -05:00
Tomas Babej
c25a7ff085
Config: Replace due.remaining with due.relative in defaults
2015-12-29 11:03:11 -05:00
Tomas Babej
cd95282c10
ColTypeDate: Add relative formatter
2015-12-29 11:03:05 -05:00
Paul Beckingham
7d6a7266d3
Config: Removed unused 'dom' configuration settings.
2015-12-27 09:29:37 -05:00
Tomas Babej
510d2e6377
Config: Remove redundant configuration variable shell.prompt
2015-12-26 13:26:08 -05:00
Paul Beckingham
a629b17fec
TW-1742: Indian Holiday Calendar (Master HolidayFile)
...
- Thanks to Sunil Joshi.
2015-12-26 13:18:13 -05:00
Paul Beckingham
a5616fd195
Build: Updated default build instructions
2015-12-26 12:02:43 -05:00
Paul Beckingham
aafb33287d
TW-1733: taskwarrior 2.5.0 can not compile FreeBSD 10.1
...
- Thanks to ribbon.
2015-12-23 08:09:40 -05:00
Paul Beckingham
78047b71a0
TW-1738: add defined languages JAPANESE
...
- Thanks to ribbon.
2015-12-22 11:42:37 -05:00
Paul Beckingham
22979bb13d
Build: Added missing include
2015-12-22 11:07:38 -05:00
Paul Beckingham
7b15ab8c22
List: Refactored listDiff
2015-12-22 08:58:46 -05:00
Paul Beckingham
f12df9cec9
Fish: Removed task.fish arguments until TW-1404 is fixed
...
- Thanks to Roman Inflianskas
2015-12-20 10:44:24 -05:00
Paul Beckingham
900ad3c26b
UDA: indicator column did not properly default to 'U'
...
- Thanks to JDufault.
2015-12-16 14:57:58 -05:00
Paul Beckingham
c7b792bf47
Build:
...
- License was not installed.
2015-12-16 14:56:28 -05:00
Paul Beckingham
0344448b3a
TW-1729: zsh completion: zregexparse:4: not enough regex argument
...
- Thanks to Daniel Shahaf.
2015-11-25 07:54:29 -05:00
Paul Beckingham
fc55a5521f
Context: Removed parentheses for readability
2015-11-24 07:54:23 -05:00
Paul Beckingham
f92219e5cd
CmdInfo: Switched to use indices to make fewer string copies
2015-11-24 07:53:32 -05:00
Daniel Shahaf
5db328f95c
TW-1729: zsh completion: Fix edge case with empty database
2015-11-24 07:47:40 -05:00
Daniel Shahaf
ce03d38c7d
zsh completion: Remove unused variable.
2015-11-24 07:47:16 -05:00
Wilhelm Schuermann
e5916d0feb
JSON: Slightly improve json::encode() performance
...
More efficient string concatenation combined with a lookup table for
JSON encodings leads to 2% improvement for "export" performance test,
3% improvement for "import" performance test.
2015-11-22 16:09:08 +01:00
Paul Beckingham
d6d867c1cf
TW-1658: rc override to non-existent alternate rc quietly uses default
...
- Thanks to David Patrick.
- The 'rc:' argument now means 'use all defaults', which assumes
'data.location=~/.task', so this will not work for anyone using a different
location.
2015-11-18 08:25:49 -05:00
Wilhelm Schuermann
01b5d0a66b
Test: Fix mangled "run_all --verbose" output
...
For lack of being able to reproduce the problem, this is a "fix by
guessing at the root cause" commit. Don't do this at home.
FreeBSD was showing a 100.04% test suite run because the output of
"test/problems --summary" was intertwined with TAP output.
The only somewhat sane way for this to happen that does not involve
magic is that Python's sys.stdout buffer is not flushed before calling
subprocess.call(), which uses the raw file descriptors.
A quick check of the sources seems to support this theory.
2015-11-17 21:54:14 +01:00
Paul Beckingham
f7d0f500fc
TW-1481: Unable to assign a completed task as dependency
...
- Thanks to Tomas Babej.
2015-11-17 13:56:40 -05:00
Paul Beckingham
253fd35dc7
TW-1425: The 'age' format rounds in odd ways
...
- While duration formats are still not configurable, the break points for
formatting units is shifted to be a little more predictable.
- Thanks to Black Ops testing.
2015-11-17 07:47:20 -05:00
Paul Beckingham
ba098d790f
TW-1500: Dates formatted as ".age", ".remaining", or ".countdown" often give blank results
...
- The 'age' column regained the ability to show negative durations.
- The 'countdown' and 'remaining' continue to show only positive values, by
design.
- Thanks to Jeremy John Reeder.
2015-11-16 07:41:41 -05:00
Paul Beckingham
f71630a416
Themes: 'color.warning' was missing from some themes
2015-11-15 14:45:31 -05:00
Paul Beckingham
67315bf77f
Docs: The 'color.warning' setting was not mentioned
2015-11-15 14:44:38 -05:00
Paul Beckingham
9e67ae0132
TW-1724: some commands show color codes when redirected
...
- Thanks to Alan Young.
2015-11-15 14:43:53 -05:00
Paul Beckingham
a6f8d93fe1
CmdVersion: Color only used for tty
2015-11-15 14:40:37 -05:00
Paul Beckingham
ec779bb0e8
CmdTimesheet: Color only used for tty
2015-11-15 14:39:08 -05:00
Paul Beckingham
271e28f609
CmdSync: Color only used for tty
2015-11-15 14:35:28 -05:00
Paul Beckingham
d8124d1aad
CmdHistory: Color only used for tty
2015-11-15 14:31:55 -05:00
Paul Beckingham
116e5adaf2
CmdContext: Color only used for tty
2015-11-15 14:29:09 -05:00
Paul Beckingham
30a2ab8ea8
CmdShow: Color only used for tty
2015-11-15 14:24:31 -05:00
Paul Beckingham
c4f7e1a869
CmdTags: Color only used for tty
2015-11-15 14:22:18 -05:00
Paul Beckingham
9442df8342
CmdSummary: Color only used for tty
2015-11-15 14:21:55 -05:00
Paul Beckingham
802ff9df05
CmdUDAs: Color only used for tty
2015-11-15 14:21:38 -05:00
Paul Beckingham
7dc035d9ff
CmdProjects: Color only used for tty
2015-11-15 14:20:43 -05:00
Paul Beckingham
9e2c6f8d47
CmdReports: Color only used for tty
2015-11-15 14:20:17 -05:00
Paul Beckingham
a863abf2b0
CmdStats: Color only used for tty
2015-11-15 14:19:12 -05:00
Paul Beckingham
79189c448c
TW-1723: task info causes segfault
...
- Thanks to Roman Golovin.
- Calls like 'context.columns[name]' autovivify the key 'name' with a default
ctor value, which ends up polluting the context.columns map with every unique
attribute name, which is a lot of 'annotation_nnnnnnnnnn' attributes.
2015-11-15 12:57:26 -05:00
Wilhelm Schuermann
fdda485032
Test: Fix clerical error
...
240 - 6 != 236
2015-11-12 17:52:53 +01:00
Wilhelm Schuermann
77283241a9
Nibbler: Improve getQuoted() performance
...
Improves "load" time for all performance tests that load data by ~20%.
- "next" down 15% total
- "list" down 7% total
- "all" down 3% total
- "add" down 15% total
- "export" down 8% total
- "import" down 6% total
2015-11-12 16:24:22 +01:00
Wilhelm Schuermann
96ca7eb5f2
Nibbler: Remove unused function argument
2015-11-12 13:36:23 +01:00
Wilhelm Schuermann
0961a011f4
Test: Make sorting.t test timing independent
2015-11-11 09:51:31 +01:00
Wilhelm Schuermann
ad81810fd3
FS: Fix performance on high latency systems
...
fseek() in File::append() was invalidating the file buffer for each call
to append(). Better handling improves "import" performance test by 9%,
45% in "commit", on a system with a spinning disk.
This performance problem affects all operations where
{pending,completed}.data are rewritten. During normal operation a
garbage collection can be enough to trigger it. On storage with high
latency, e.g. networked, this previously took 20 seconds and more.
2015-11-11 08:48:51 +01:00
Paul Beckingham
e6f142be17
ISO8601: Moved ::parse_epoch to occur first
2015-11-10 17:41:12 -05:00
Wilhelm Schuermann
4424c5e450
TDB2: Further gc() cleanup
2015-11-10 17:10:03 +01:00
Wilhelm Schuermann
ca9cd46f1c
TW-1582: Wrong urgency for first report after reviving task
...
Fixed as a by-product of 6dc30a9a1a
2015-11-10 16:48:17 +01:00
Wilhelm Schuermann
5ac1b1c6dd
TDB2: Remove unnecessary code
...
- ID assignment is now handled in TF2::load_task(), the removed code
duplicated that effort. Barely noticeable performance impact.
2015-11-10 16:39:37 +01:00
Wilhelm Schuermann
6dc30a9a1a
TDB2: Move gc() processing to TF2::load_tasks()
...
Reduce the amount of copies necessary for TDB2::gc() by moving the GC
processing to the Task object source - TF2::load_tasks().
This entangles TDB2 and TF2 more than previously, but leads to huge
performance benefits:
- "next" performance test down 21%
- "list" performance test down 11%
- "all" performance test down 4%
- "export" performance test down 9%
The "gc" measurement is down 96% for all performance tests. This is a
result of moving the actual processing into TF2::load_gc() and not
measuring the time taken by that function as "gc" time.
2015-11-09 19:20:57 +01:00
Paul Beckingham
7b8df7a439
Test: Conditional compilation allows Taskserver to reuse code
2015-11-08 17:05:30 -05:00
Paul Beckingham
f15e93ccc8
Test: Updated template with more resilient test from Taskserver
2015-11-08 17:04:45 -05:00
Paul Beckingham
1407e0410e
TLSClient: Added more diagnostics in debug mode
2015-11-08 17:03:35 -05:00
Paul Beckingham
9415f62482
Task: Conditional compilation allows Taskserver to reuse code
2015-11-08 17:03:05 -05:00
Paul Beckingham
0141d10d56
ISO8601: Conditional compilation allows Taskserver to reuse code
2015-11-08 17:02:02 -05:00
Paul Beckingham
560bf53f42
Performance: Script now allows overrides, for comparison
2015-11-07 20:27:09 -05:00
Paul Beckingham
53431da5d9
Docs: Updated ChangeLog
2015-11-07 17:46:40 -05:00
Daniel Shahaf
823e3d51d0
Test: Make 'make test' exit non-zero if tests failed
2015-11-07 17:45:55 -05:00
Paul Beckingham
8e778712ea
TW-1313: some recurring intervals reset due time to midnight
...
- Thanks to James Dietrich.
2015-11-07 17:12:25 -05:00
Paul Beckingham
072acdbb18
TW-1446: Difference in how relative dates are specified in report filters since 2.3.0
...
- Thanks to atomicules.
2015-11-07 16:50:23 -05:00
Paul Beckingham
d506e19d93
TW-38: Dates in the far future give bad estimates in burndown
...
- Thanks to Ben Boeckel.
2015-11-07 15:56:36 -05:00
Paul Beckingham
743baf00cf
TW-311: Estimated completion in burndown.daily shows impossible results
...
- Thanks to Michele Santullo.
- Although TW-311 references impossible results, there are two problems.
First there is the algorithm that determines estimateѕ completion, and
second there is the reference to wait dates. The algorithm has been replaced
by something better, but wait dates have nothing to do with estimation.
- The 'burndown.bias' configuration setting is removed.
- The estimated completion is based on the net completion rate since the
high water mark of total pending tasks, measured on a daily basis, regardless
of the type of chart produced.
- Vim syntax updated.
- Docs updated.
2015-11-07 15:35:21 -05:00
Paul Beckingham
0b3d38b0e6
FS: Removed unnecessary include
2015-11-06 18:22:45 -05:00
Paul Beckingham
940c7a793f
Portability: Fixed broken build for Cygwin and older GCC
...
- Thanks to Richard Boß.
2015-11-06 18:22:05 -05:00
Wilhelm Schuermann
8f8ad813cd
Task: Remove std::map inheritance, clean up interface
...
- Make the Task object's interface more explicit by removing the
std::map inheritance.
- Using this more explicit interface, remove unneeded ctors in order to
allow the compiler to "Do The Right Thing"(tm).
This leads to a performance improvement of 12% in the "add"
performance test, and 7% for "import".
2015-11-04 20:33:52 +01:00
Paul Beckingham
c248a32cab
Task: Removed unnecessary 'this->'
2015-11-04 07:00:52 -05:00
Wilhelm Schuermann
41843d77b0
TDB2: Use efficient data structures for lookup
...
- Leads to 1-3% improvement across all performance tests.
- _I2U could very likely be further optimized by using a sparse vector,
or handling the edge cases of this approach ourselves.
2015-11-04 07:52:19 +01:00
Wilhelm Schuermann
80b5a584b7
Task: Reduce temporaries in composeFF4()
...
- Reducing temporaries leads to 3% performance increase in "import"
performance test - 6% in "commit", 2% in "other".
2015-11-03 21:35:47 +01:00
Paul Beckingham
a2bd6d8342
Revert "Variant: Converted from sprintf to std::to_string"
...
This reverts commit f339672b89 .
2015-11-02 18:46:36 -05:00
Paul Beckingham
2c0bb1663d
Revert "Recurrence: Converted from sprintf to std::to_string"
...
This reverts commit b4035d6ff5 .
2015-11-02 18:46:19 -05:00
Paul Beckingham
def0223afa
Revert "Task: Converted to use to_string where appropriate"
...
This reverts commit 136f849aa8 .
2015-11-02 18:45:55 -05:00
Paul Beckingham
13b6bf3312
Revert "Docs: Added gcc requirement for Cygwin"
...
This reverts commit abc988476d .
2015-11-02 18:44:48 -05:00
Paul Beckingham
b4b41215a2
Revert "C++11: Migrated from strtod to std::stod"
...
This reverts commit db49efd72f .
2015-11-02 18:44:29 -05:00
Paul Beckingham
ee40f89804
Revert "C++11: Converted from strtoimax to std::stoi"
...
This reverts commit 36ad7ead41 .
2015-11-02 18:42:35 -05:00
Paul Beckingham
5a01fe003d
Revert "Col*: Missing paren"
...
This reverts commit e3ea548de0 .
2015-11-02 18:42:16 -05:00
Paul Beckingham
d23d0fafb7
Revert "TDB2: Converted from strtoul to std::stoul"
...
This reverts commit bdfd22ad88 .
2015-11-02 18:41:57 -05:00
Paul Beckingham
ef3e072436
Revert "Variant: Converted from strtol/substr to std::stoi/std::compare"
...
This reverts commit 6df55c9156 .
2015-11-02 18:41:44 -05:00
Paul Beckingham
3169490219
Revert "Context: Converted from strtol to std::stoi"
...
This reverts commit 8e214d1b14 .
2015-11-02 18:41:33 -05:00
Paul Beckingham
a3736f6363
Revert "Dates: Converted from strtol to std::stoi"
...
This reverts commit d295755bb7 .
2015-11-02 18:41:22 -05:00
Paul Beckingham
7d4ccb652e
Revert "DOM: Concerted from strtol to std::stoul/stoi"
...
This reverts commit c903185481 .
2015-11-02 18:41:08 -05:00
Paul Beckingham
204c95993b
Revert "CLI2: Converted from strtol to std::stoi"
...
This reverts commit 91afa9b567 .
2015-11-02 18:40:49 -05:00
Paul Beckingham
1bdede371e
Revert "ISO8601: Converted from strtol to std::stoi/stoul"
...
This reverts commit 8205fd2446 .
2015-11-02 18:40:34 -05:00
Paul Beckingham
261b062369
Revert "Task: Converted from strto* to std::sto*"
...
This reverts commit d9cf0fb923 .
2015-11-02 18:40:20 -05:00
Paul Beckingham
9a33aa2997
Revert "sort: Converted from strtof to std::stof"
...
This reverts commit 8db04b8ec1 .
2015-11-02 18:40:06 -05:00
Paul Beckingham
993b94c701
Revert "Recurrence: Converted from strtol to std::stoi"
...
This reverts commit 368df43583 .
2015-11-02 18:39:55 -05:00
Paul Beckingham
5f1edbfce1
Revert "CmdEdit: Converted from strtol to std::stoi/stoul"
...
This reverts commit cf831a9b7c .
2015-11-02 18:39:41 -05:00
Paul Beckingham
639e04d853
Revert "CmdCalendar: Converted from strtol to std::stoul/stoi"
...
This reverts commit 3745f83a7b .
2015-11-02 18:39:29 -05:00
Paul Beckingham
665863809d
Revert "CmdInfo: Converted from strtol to std::stoul"
...
This reverts commit 037514bcbf .
2015-11-02 18:39:12 -05:00
Paul Beckingham
03d564dd78
Revert "CmdStats: Converted from strtol to std::stoul"
...
This reverts commit 2b8ce968fc .
2015-11-02 18:38:59 -05:00
Paul Beckingham
49ad7c2ce2
Revert "CmdSummary: Converted from strtol to std::stoul"
...
This reverts commit 0d88df1c18 .
2015-11-02 18:38:44 -05:00
Paul Beckingham
de43e34c5e
Revert "CmdTimesheet: Converted from strtol to std::stoi"
...
This reverts commit 02f1fa371c .
2015-11-02 18:38:31 -05:00
Paul Beckingham
d4f6f00b29
Revert "Feedback: Converted from strtol to std::stoul"
...
This reverts commit 8f60b1f9c5 .
2015-11-02 18:38:21 -05:00
Paul Beckingham
284330ea1d
Nibbler: Reverted std::stoi change
2015-11-02 18:37:50 -05:00
Paul Beckingham
508559f766
Revert "DOM: Converted from strtol to std::stoi"
...
This reverts commit 7c5055de7a .
2015-11-02 18:36:19 -05:00
Paul Beckingham
f64cbe1e81
Column: A std::map was being used as a std::set
2015-11-02 08:13:32 -05:00
Paul Beckingham
1d1be49bbd
ColUDA: No point using utf8_width on non-UTF8 data
2015-11-02 08:13:00 -05:00
Paul Beckingham
3ab2410df3
Task: Conditional JSON/Task encoding, based on attribute type
2015-11-02 07:54:13 -05:00
Wilhelm Schuermann
de4be46cab
ColParent: Adjust comment
2015-11-02 08:27:11 +01:00
Wilhelm Schuermann
3e8cb20284
Color: Improve colorize() performance
...
- Improves "render" time by ~45-55% across relevant performance tests.
- Improves "list" performance test by ~20%.
- Improves "all" performance test by ~40%.
2015-11-02 06:59:18 +01:00
Paul Beckingham
5b2328cd6c
legacy: Now uses static initialization
2015-11-01 23:03:38 -05:00
Paul Beckingham
7c5055de7a
DOM: Converted from strtol to std::stoi
2015-11-01 22:55:14 -05:00
Paul Beckingham
7158942d03
Nibbler: Converted from strtof to std::stod
2015-11-01 22:10:13 -05:00
Paul Beckingham
8f60b1f9c5
Feedback: Converted from strtol to std::stoul
2015-11-01 22:09:01 -05:00
Paul Beckingham
02f1fa371c
CmdTimesheet: Converted from strtol to std::stoi
2015-11-01 22:08:24 -05:00
Paul Beckingham
0d88df1c18
CmdSummary: Converted from strtol to std::stoul
2015-11-01 22:07:46 -05:00
Paul Beckingham
2b8ce968fc
CmdStats: Converted from strtol to std::stoul
2015-11-01 22:06:28 -05:00
Paul Beckingham
037514bcbf
CmdInfo: Converted from strtol to std::stoul
2015-11-01 22:05:46 -05:00
Paul Beckingham
3745f83a7b
CmdCalendar: Converted from strtol to std::stoul/stoi
2015-11-01 22:05:11 -05:00
Paul Beckingham
cf831a9b7c
CmdEdit: Converted from strtol to std::stoi/stoul
2015-11-01 22:00:44 -05:00
Paul Beckingham
368df43583
Recurrence: Converted from strtol to std::stoi
2015-11-01 21:54:29 -05:00
Paul Beckingham
8db04b8ec1
sort: Converted from strtof to std::stof
2015-11-01 21:53:07 -05:00
Paul Beckingham
d9cf0fb923
Task: Converted from strto* to std::sto*
2015-11-01 21:49:34 -05:00
Paul Beckingham
8205fd2446
ISO8601: Converted from strtol to std::stoi/stoul
2015-11-01 21:46:32 -05:00
Paul Beckingham
91afa9b567
CLI2: Converted from strtol to std::stoi
2015-11-01 21:44:08 -05:00
Paul Beckingham
c903185481
DOM: Concerted from strtol to std::stoul/stoi
2015-11-01 21:42:53 -05:00
Paul Beckingham
d295755bb7
Dates: Converted from strtol to std::stoi
2015-11-01 21:41:47 -05:00
Paul Beckingham
8e214d1b14
Context: Converted from strtol to std::stoi
2015-11-01 21:39:19 -05:00
Paul Beckingham
6df55c9156
Variant: Converted from strtol/substr to std::stoi/std::compare
2015-11-01 21:33:07 -05:00
Paul Beckingham
bdfd22ad88
TDB2: Converted from strtoul to std::stoul
2015-11-01 21:31:10 -05:00
Paul Beckingham
e3ea548de0
Col*: Missing paren
2015-11-01 20:12:47 -05:00
Paul Beckingham
36ad7ead41
C++11: Converted from strtoimax to std::stoi
2015-11-01 20:03:51 -05:00
Paul Beckingham
5c8b7148b4
Task: Moved include to top of list, per flint++ recommendation
2015-11-01 19:59:10 -05:00
Paul Beckingham
5d9ca9864e
Cmd*: Moved include to top of list, per flint++ recommendation
2015-11-01 19:53:19 -05:00
Paul Beckingham
aceebb0723
Col*: Moved include to top of list, per flint++ recommendation
2015-11-01 19:47:20 -05:00
Paul Beckingham
db49efd72f
C++11: Migrated from strtod to std::stod
2015-11-01 19:44:15 -05:00
Paul Beckingham
abc988476d
Docs: Added gcc requirement for Cygwin
2015-11-01 19:34:24 -05:00
Paul Beckingham
ee9d303b10
Task: Removed unnecessary chomp in ::parse
2015-11-01 19:14:41 -05:00
Paul Beckingham
2aa3163451
Task: Use one-step attribute erase
2015-11-01 19:03:04 -05:00
Paul Beckingham
136f849aa8
Task: Converted to use to_string where appropriate
2015-11-01 18:56:50 -05:00
Paul Beckingham
b4035d6ff5
Recurrence: Converted from sprintf to std::to_string
2015-11-01 18:49:11 -05:00
Paul Beckingham
f339672b89
Variant: Converted from sprintf to std::to_string
2015-11-01 18:36:37 -05:00
Paul Beckingham
d1a6fecde3
ISO8601: Converted ::toString from sprintf for std::stringstream
2015-11-01 18:02:55 -05:00
Paul Beckingham
7a48d25eaa
ISO8601: Implemented ::dayNameShort and ::monthNameShort
...
- Added tests.
2015-11-01 18:02:08 -05:00
Paul Beckingham
9143d8b8e7
ISO8601: Covnerted from sprintf to std::stringstream
2015-11-01 17:20:48 -05:00
Paul Beckingham
d8c5927362
ISO8601: Removed cowardly segfault fix
2015-11-01 17:04:08 -05:00
Paul Beckingham
78b8fc5dc7
Column: Phasing out text.cpp/nontrivial()
2015-11-01 16:48:34 -05:00
Paul Beckingham
b5c4bf0a6d
Performance: Removed unnecessary std::string::substr in high-traffic code
2015-11-01 16:10:49 -05:00
Paul Beckingham
25b7f42810
CmdExport: Simplified looping with 'auto'
2015-11-01 13:50:45 -05:00
Paul Beckingham
20493ec7d8
ColTypeDuration: Added missing type
2015-10-31 17:08:35 -04:00
Paul Beckingham
46db62ff00
ColTypeDate: Now uses ::renderString{Left,Right}
2015-10-31 16:56:58 -04:00
Paul Beckingham
ce507c0011
ColUDA: Now uses ::renderString{Left,Right}
2015-10-31 16:56:25 -04:00
Paul Beckingham
cd70d56260
ColString: Now uses ::renderString{Left,Right}
2015-10-31 16:55:55 -04:00
Paul Beckingham
410175efd3
ColStart: Now uses ::renderStringRight
2015-10-31 16:55:32 -04:00
Paul Beckingham
5c9f1f7b45
ColRecue: Now uses ::renderStringRight
2015-10-31 16:55:00 -04:00
Paul Beckingham
99f6e6d634
ColProject: Now uses ::renderStringLeft
2015-10-31 16:54:44 -04:00
Paul Beckingham
281366e38b
ColMask: Now uses ::renderStringRight
2015-10-31 16:54:21 -04:00
Paul Beckingham
87a35d4dec
ColID: Now uses ::renderStringRight
2015-10-31 16:53:50 -04:00
Paul Beckingham
3d832a0d5a
ColDescription: Now uses ::renderStringLeft
2015-10-31 16:15:47 -04:00
Paul Beckingham
83fa5a6e55
ColStatus: Now uses ::renderStringLeft
2015-10-31 16:15:24 -04:00
Paul Beckingham
43cdb0fa3a
ColTags: Now uses ::renderStringRight
2015-10-31 16:15:05 -04:00
Paul Beckingham
4411fc02c5
ColMask: Now uses ::renderStringLeft
2015-10-31 16:14:44 -04:00
Paul Beckingham
292e2f1b89
ColDepends: Now uses ::renderStringLeft
2015-10-31 16:14:14 -04:00
Paul Beckingham
06c50efa63
ColUUID: Now uses ::renderStringLeft
2015-10-31 15:54:35 -04:00
Paul Beckingham
65b8fb7bce
ColParent: Fixed short form truncation
...
- The short form now takes the first 8 characters, not the last.
No one noticed.
2015-10-31 15:53:15 -04:00
Paul Beckingham
668fd2301e
ColParent: Now uses ::renderStringLeft
2015-10-31 15:44:05 -04:00
Paul Beckingham
04c3e9e537
Column: Implemented ::renderStringLeft, ::renderStringRight
2015-10-31 15:42:32 -04:00
Paul Beckingham
43e4f8a485
ColUrgency: Now uses Column::render{Integer,Double}
2015-10-31 15:24:03 -04:00
Paul Beckingham
4c55b8c9af
ColID: Uses Column::renderInteger
2015-10-31 15:23:04 -04:00
Paul Beckingham
4837e9aa9d
ColTypeNumeric: Delegated type to base class
2015-10-31 15:22:25 -04:00
Paul Beckingham
9ea69ea802
Column: Explained justification
2015-10-31 15:20:35 -04:00
Paul Beckingham
4d42584ca0
Column: Implemented ::renderDouble
2015-10-31 15:19:19 -04:00
Paul Beckingham
b8ae54275e
Column: Implemented ::renderInteger
2015-10-31 15:16:51 -04:00
Paul Beckingham
dc72a22887
Col*: Moving code into ColTypeString base
2015-10-31 14:35:06 -04:00
Paul Beckingham
de9c0b97f6
Col*: Assigned a type-specific base class to each column object
...
- Base class currently does nothing.
2015-10-31 12:12:30 -04:00
Paul Beckingham
3475995f39
ColType*: Added Duration, String and Numeric type base classes
2015-10-31 11:54:53 -04:00
Paul Beckingham
2a6ce539d0
ColTypeDate: Renamed 'ColDate' to 'ColTypeDate'
...
- Renamed files ColDate* to ColTypeDate*.
- Renamed objects ColumnDate* to ColumnTypeDate*.
- This is mainly to make way for ColType{Duration,String,Numeric}, while leaving
ColString untouched. ColString is used only for ViewText columns, but may soon
be replaced by ColTypeString. Unknown.
2015-10-31 11:35:24 -04:00
Paul Beckingham
6baff92b5a
Column: Removed ::can_modify, which is moot
2015-10-31 11:14:23 -04:00
Tomas Babej
2ff8d8329f
TW-1720: CmdContext uses a mix of both throw and std::cout to convey errors
2015-10-30 16:40:13 -04:00
Tomas Babej
8505d8a42c
tests: Make sure correct output stream is expected in CmdContext tests
2015-10-30 16:33:31 -04:00
Tomas Babej
98973a9390
CmdContext: Handle errors in a consistent way
2015-10-30 16:33:16 -04:00
Paul Beckingham
ba23b926dd
Lexer: Missing include
2015-10-30 12:44:00 -04:00
Paul Beckingham
2f23406087
Perf: Removed Python3 requirement, which is not needed
2015-10-30 12:39:03 -04:00
Paul Beckingham
b4fc2b5583
JSON: Added std::string::reserve to compensate for growth
2015-10-30 12:38:08 -04:00
Paul Beckingham
6ce3285c77
Lexer: Modified ::trim to make one less copy
2015-10-30 11:41:16 -04:00
Paul Beckingham
182b5427cd
Lexer: Migrated trim(), trimLeft() and trimRight() from text to Lexer
2015-10-30 11:17:23 -04:00
Paul Beckingham
51def4b12b
Lexer: Migrated commify, ucFirst and lowerCase from text to Lexer
2015-10-30 10:57:14 -04:00
Wilhelm Schuermann
7119c42780
Performance: Crude comparison script bugfix
...
- Compare timings as integer values, not strings.
2015-10-30 09:34:40 +01:00
Paul Beckingham
112621ef13
CmdIDs: _zshuuids no longer obeys context
2015-10-30 00:51:37 -04:00
Paul Beckingham
4d9ac995fe
CmdUrgency: _urgency no longer obeys context
2015-10-30 00:50:49 -04:00
Paul Beckingham
54ca77bfab
Variant: Uses ISO8601{d,p} instead of duplicating formatting
2015-10-30 00:39:53 -04:00
Paul Beckingham
61fc32d04f
ISO8601: Added ::toISOLocalExtended method
2015-10-30 00:38:49 -04:00
Paul Beckingham
1cb295ef67
Task: Removed legacy encodings
...
- &dquot; -> \"
- " -> '
- &squot; -> '
- , -> ,
- : -> :
2015-10-30 00:12:52 -04:00
Paul Beckingham
dd82835ac4
Nibbler: Removed unused ::backN method
2015-10-29 23:55:43 -04:00
Paul Beckingham
297f2b6e99
Nibbler: Removed unused ::skipAll method
2015-10-29 23:53:17 -04:00
Paul Beckingham
119827e4e1
Nibbler: Removed unused ::getDigit6 method
2015-10-29 23:46:48 -04:00
Paul Beckingham
88469fc5f9
Nibbler: Removed unused ::getUntilEOL method
2015-10-29 23:41:01 -04:00
Paul Beckingham
0c5984c517
Nibbler: Removed unused ::getWord method
2015-10-29 23:34:46 -04:00
Paul Beckingham
78da4ffb90
Nibbler: Removed unused ::getName method
2015-10-29 23:32:07 -04:00
Paul Beckingham
38b9e54955
Nibbler: Removed unused ::getUUID method
2015-10-29 23:28:42 -04:00
Paul Beckingham
4098e54238
Nibbler: Removed duplicate includes
2015-10-29 23:26:05 -04:00
Paul Beckingham
1e8eac0e3d
Nibbler: Removed unused ::getRx method
2015-10-29 23:23:41 -04:00
Paul Beckingham
de66200028
Nibbler: Removed unused ::getUntilRx method
2015-10-29 23:19:41 -04:00
Paul Beckingham
180d3e75ff
Nibbler: Removed unused ::skipRx method
2015-10-29 23:19:01 -04:00
Paul Beckingham
ad26d98d0f
UTF8: Cleanup
2015-10-29 23:14:46 -04:00
Tomas Babej
de8c7d230f
CmdDiagnostics: Add broken reference detection
2015-10-29 20:52:00 -04:00
Tomas Babej
0693f3cfc4
CmdDiagnostics: Remove redundant nesting
2015-10-29 20:51:57 -04:00
Tomas Babej
22368b9a40
Revive TDB2::has and TF2::has methods
...
This reverts commit fa920f02aa . Methods
found their usage after all.
2015-10-29 20:51:45 -04:00
Tomas Babej
2d25cf6f59
TW-1704: Task: Use Task::identifier to reference the task
...
To achieve consistent output, use a helper method to generate a proper
handle - ID for tasks with non-zero ID, UUID otherwise.
2015-10-29 20:00:53 -04:00
Paul Beckingham
1236abc7d5
CmdColumns: Now shows whether a column is modifiable or read only
2015-10-29 14:14:07 -04:00
Paul Beckingham
3749378867
Documentation: Updated NEWS and ChangeLog
2015-10-29 12:22:39 -04:00
Paul Beckingham
ccbb71bab4
Config: Eliminated 16-color default on non-Linux, non-Darwin platforms
2015-10-29 09:31:07 -04:00
Paul Beckingham
7693245c1d
Nibbler: Removed unused ::parseDigits method
2015-10-28 22:08:50 -04:00
Paul Beckingham
e41282122d
Test: Added Lexer::typeName tests
2015-10-28 22:05:20 -04:00
Paul Beckingham
18b810b033
Test: Added test for debug.hooks output
2015-10-28 21:55:25 -04:00
Paul Beckingham
5cfa4454ed
Test: Added test for missing date synonyms
2015-10-28 21:47:19 -04:00
Paul Beckingham
923991df1b
Config: Removed unused ctor
2015-10-28 21:32:33 -04:00
Paul Beckingham
b7bbd96b62
Eval: Removed unused ::compileExpression override
2015-10-28 20:54:03 -04:00
Paul Beckingham
64bf571c13
List: Removed unused listDiff and liѕtIntersect templates and tests
2015-10-28 20:51:31 -04:00
Paul Beckingham
af49564194
FS: Removed unused ::write and ::append methods
2015-10-28 20:38:41 -04:00
Paul Beckingham
c64c6ee870
Filter: Removed unused ::hasModifications and ::hasMiscellaneous methods
2015-10-28 20:23:32 -04:00
Paul Beckingham
741afd2240
Nibbler: Removed unused ::getDateISO method
2015-10-28 20:13:55 -04:00
Paul Beckingham
51afff2e6e
Nibbler: Removed unused ::getDate and tests
2015-10-28 20:09:55 -04:00
Paul Beckingham
a369d1ed2d
Test: Added colored obfuscation tests
2015-10-28 19:54:57 -04:00
Paul Beckingham
e833cf05c5
Test: Added more dateformat parse tests
2015-10-28 19:48:12 -04:00
Paul Beckingham
7d58ddff6b
CmdSummary: Removed unreachable code
2015-10-28 18:41:55 -04:00
Paul Beckingham
5cad0a0d4e
Test: Added summary report error handling tests
2015-10-28 18:38:57 -04:00
Paul Beckingham
52f13a97a7
Test: Added prepend test with no filter, no text
2015-10-28 18:35:36 -04:00
Paul Beckingham
9cbbf2b71c
Test: Added no-color logo test
2015-10-28 18:32:54 -04:00
Paul Beckingham
7fb907c76c
Test: Added relevant urgency coefficients for info test
2015-10-28 18:30:52 -04:00
Paul Beckingham
c8cba22a3d
Test: Added bad filter info test
2015-10-28 18:28:03 -04:00
Paul Beckingham
778ba44beb
CmdImport: Removed redundant filter processing
2015-10-28 18:21:59 -04:00
Paul Beckingham
e76f63aa01
Test: Added UDA orphan to edit test
2015-10-28 18:17:59 -04:00
Paul Beckingham
512dcf5d48
Test: Added UDAs to edit test
2015-10-28 18:15:54 -04:00
Paul Beckingham
cf329ab3f5
Test: Added different UDA types to info test
2015-10-28 17:59:50 -04:00
Paul Beckingham
dbabcdfed4
Test: Added non-color ghistory chart tests.
2015-10-28 17:54:51 -04:00
Paul Beckingham
65347b7a21
Test: Added test for 'color.alternate' in custom reports
2015-10-28 17:46:08 -04:00
Paul Beckingham
cebece6d23
Test: Added error handling test for column/label mismatch
2015-10-28 17:45:48 -04:00
Paul Beckingham
34d5a07d90
Test: Added context tests
...
- Added 'input="y\n"' to a test that was otherwise timing out.
- Added multi-word context test.
2015-10-28 17:37:08 -04:00
Paul Beckingham
acb83130fa
Test: Added calendar test wiht full details and color
2015-10-28 17:29:27 -04:00
Paul Beckingham
0250145895
Test: Addd calendar 'rc.calendar.offset' test
2015-10-28 17:27:46 -04:00
Paul Beckingham
2d5c88994a
Test: Added calendar tests for 'january', 'jan'.
2015-10-28 17:25:26 -04:00
Paul Beckingham
5a0a28e39b
Test: Added converging burndown data
2015-10-28 17:19:58 -04:00
Paul Beckingham
f3503923c0
Test: Added burndown chart test in color
2015-10-28 17:16:28 -04:00
Paul Beckingham
958637e2ca
CmdBurndown: Removed unreachable code (completed/deleted tasks have no 'start' date)
2015-10-28 17:06:47 -04:00
Paul Beckingham
258328facd
Test: Verify 'columns rc._forcecolor:on' works
2015-10-28 16:46:20 -04:00
Paul Beckingham
6bb9cd49ea
Test: Tested color output of commands
2015-10-28 16:44:39 -04:00
Paul Beckingham
bb807776cf
Test: Added tests to verify context error handling
2015-10-28 16:40:14 -04:00
Paul Beckingham
ef0b221b0f
Test: Added 'sort:none' test
2015-10-28 16:06:01 -04:00
Paul Beckingham
9a0220f3d4
Test: Fixed 'edit' test that used 'active', but meant 'start'
2015-10-28 15:14:32 -04:00
Paul Beckingham
8b2eac62ba
Test: Added test for hook details in 'diagnostics' command.
2015-10-28 14:58:45 -04:00
Paul Beckingham
e96ef5e729
Test: Added calendar tests with various options enabled
2015-10-28 14:55:31 -04:00
Paul Beckingham
4b1bdf4423
Test: Added test to make sure 'ids' compresses consecutive IDs into a range
2015-10-28 14:30:05 -04:00
Paul Beckingham
c6826a86bb
Test: Added (back) logo.t test for coverage
2015-10-28 14:26:11 -04:00
Paul Beckingham
16db5de994
Test: Added color 'reports' test for coverage
2015-10-28 14:23:22 -04:00
Paul Beckingham
df3bcb1a4d
Test: Added color to 'stats' test, for coverage
2015-10-28 14:20:57 -04:00
Paul Beckingham
cb2eadcb2f
Test: Added due dates to timesheet tests, for coverage
2015-10-28 14:17:02 -04:00
Paul Beckingham
611cf69c99
Test: Added test for orphans listed in 'udas' output
2015-10-28 14:12:12 -04:00
Paul Beckingham
18c19ab9ed
Framework: Added 'del_config' method to delete a config entry
2015-10-28 14:09:44 -04:00
Paul Beckingham
aabd179ffc
Test: Added '_unique id' test
2015-10-28 13:58:21 -04:00
Paul Beckingham
ab025b27ff
Test: Added UUID urgency test
2015-10-28 13:55:37 -04:00
Paul Beckingham
735608d5b9
Context: Removed unused ::clearMessages method
2015-10-28 13:23:38 -04:00
Paul Beckingham
2cececd205
Color: Removed unused ctor
2015-10-28 13:19:23 -04:00
Paul Beckingham
9b59eefbc3
Test: Added ISO8601d formatting tests
2015-10-28 13:13:09 -04:00
Paul Beckingham
57daa02232
Test: Improved undo tests with more changes
2015-10-28 12:51:24 -04:00
Paul Beckingham
849835ed24
Test: Added command DNA test
2015-10-28 12:24:22 -04:00
Paul Beckingham
fa920f02aa
TDB2: Removed unused ::has methods
2015-10-28 12:16:46 -04:00
Paul Beckingham
e3ad04aa37
Test: Added tests for rc.undo.style formatting
2015-10-28 12:13:42 -04:00
Paul Beckingham
b33e26f24d
Test: Added more test methods to template.t
2015-10-28 12:05:48 -04:00
Paul Beckingham
6570a42eee
ISO8601: Removed unused methods
2015-10-28 11:47:28 -04:00
Paul Beckingham
78b4e4fcc8
Test: Added test for +nonag
2015-10-28 11:30:51 -04:00
Paul Beckingham
ec027b707d
Test: Added Directory::cd test
2015-10-28 11:17:26 -04:00
Paul Beckingham
67c28b7015
FS: Removed unused ::read method
2015-10-28 11:09:38 -04:00
Paul Beckingham
411c735d4e
FS: Removed unused ::openAndLock method
2015-10-28 11:06:38 -04:00
Paul Beckingham
342624f272
FS: Removed unused ostream operator<<
2015-10-28 11:02:29 -04:00
Paul Beckingham
8b1a21d206
Test: Added test of Path expanѕion of '~'
2015-10-28 11:01:34 -04:00
Paul Beckingham
c7f3371429
Test: Added tests for dependency formats
2015-10-28 10:56:32 -04:00
Wilhelm Schuermann
759b30a9ac
Performance: Add crude comparison script
2015-10-26 15:19:52 +01:00
Wilhelm Schuermann
2d28ac19a7
TW-1718: Test for "String UDA not passed through unchanged"
2015-10-26 09:50:54 +01:00
Paul Beckingham
b8a05f10d4
Test: Merged tw-1687.t into abbreviation.t
2015-10-25 11:55:55 -04:00
Paul Beckingham
5859b2d54a
Test: Merged tw-1634.t into filter.t
2015-10-25 11:54:16 -04:00
Paul Beckingham
362d3f7c4a
Test: Merged tw-1630.t into filter.t
2015-10-25 11:52:35 -04:00
Paul Beckingham
df75e549a1
Test: Merged tw-1627.t into project.t
2015-10-25 11:50:53 -04:00
Paul Beckingham
01526e298c
Test: Merged tw‐1622.t into uda.t
2015-10-25 11:50:01 -04:00
Paul Beckingham
4c95ba86bb
Test: Merged tw-1620.t into dateformat.t
2015-10-25 11:48:48 -04:00
Paul Beckingham
9df8187396
Test: Merged tw-1617.t into project.t
2015-10-25 11:47:14 -04:00
Paul Beckingham
8d45d40a90
Test: Merged tw-1612.t into add.t
2015-10-25 11:44:59 -04:00
Paul Beckingham
b025f0524b
Test: Merged tw-1609.t into filter.t
2015-10-25 11:43:48 -04:00
Paul Beckingham
cf923b23c8
Test: Merged tw-1575.t into log.t
2015-10-25 11:41:38 -04:00
Paul Beckingham
e369ee796d
Test: Merged tw-1549.t into add.t
2015-10-25 11:39:41 -04:00
Paul Beckingham
484c8cc367
Test: Merged tw-1542.t into uda.t
2015-10-25 11:37:52 -04:00
Paul Beckingham
58fe2326db
Test: Merged tw-1527.t into add.t
2015-10-25 11:36:39 -04:00
Paul Beckingham
e857804ccc
Test: Merged tw-1521.t into filter.t
2015-10-25 11:35:26 -04:00
Paul Beckingham
c6b5576194
Docs: Updated README
2015-10-25 11:34:12 -04:00
Paul Beckingham
cb381bf388
Test: Renamed tw-1510.t to backlog.t
2015-10-25 11:24:55 -04:00
Paul Beckingham
1544d180a9
Test: Merged tw-1486.t into wait.t
2015-10-25 11:16:35 -04:00
Paul Beckingham
197e569d08
Test: Merged tw-1481.t into dependencies.t
2015-10-25 11:14:11 -04:00
Paul Beckingham
a81040e7e9
Test: Merged tw-1479.t into search.t
2015-10-25 10:53:51 -04:00
Paul Beckingham
7ac8bfe737
Test: Merged tw-1475.t into configuration.t
2015-10-25 10:44:04 -04:00
Paul Beckingham
f6f1fe0f02
Test: Merged tw-1469.t into search.t
2015-10-25 10:40:19 -04:00
Paul Beckingham
b525fef67d
Test: Merged tw-1468.t into filter.t
2015-10-25 10:38:21 -04:00
Paul Beckingham
5daf8d3101
Test: Merged tw-1418.t into search.t
2015-10-25 10:36:55 -04:00
Paul Beckingham
e32855e5ab
Test: Merged tw-1456.t into filter.t
2015-10-24 11:19:59 -04:00
Paul Beckingham
44737f91e9
Test: Merged tw-1452.t into filter.t
2015-10-24 11:18:47 -04:00
Paul Beckingham
3e7ed49374
Test: Merged tw-1447.t into uda.t
2015-10-24 11:15:31 -04:00
Paul Beckingham
ce0bea73e5
Test: Merged tw-1445.t into alias.t
2015-10-24 11:13:08 -04:00
Paul Beckingham
5f641824fd
Test: Merged tw-1441.t into import.t
2015-10-24 11:11:10 -04:00
Paul Beckingham
c51348b9c1
Test: Merged tw-1438.t into confirmation.t
2015-10-24 11:10:19 -04:00
Paul Beckingham
fc543c7986
Test: Merged tw-1436.t into quotes.t
2015-10-24 11:08:28 -04:00
Paul Beckingham
e15bcc004c
Test: Merged tw-1430.t into project.t
2015-10-24 11:05:55 -04:00
Paul Beckingham
a5ea60e711
Test: Merged tw-1424.t into filter.t
2015-10-24 11:04:40 -04:00
Paul Beckingham
379d7dfc6e
Test: Merged tw-1419.t into add.t
2015-10-24 11:01:09 -04:00
Paul Beckingham
4a1a464f0a
Test: Renamed tw-1414.t to exec.t
2015-10-24 10:54:27 -04:00
Paul Beckingham
93d210e7db
Test: Renamed tw-1381.t to blocked.t
2015-10-24 10:53:34 -04:00
Paul Beckingham
e20f7bee4e
Test: Merged tw-1377.t into default.t
2015-10-24 10:51:20 -04:00
Paul Beckingham
8551d96490
Test: Merged tw-1359.t into add.t
2015-10-24 10:49:17 -04:00
Paul Beckingham
127075bcad
Test: Merged tw-1319.t into uda_sort.t
2015-10-24 10:43:12 -04:00
Paul Beckingham
3b6c62309e
Test: Renamed tw-1306.t to modify.t
2015-10-24 10:41:39 -04:00
Paul Beckingham
15adcfe1a0
Test: Merged feature.1061.t into columns.t
2015-10-24 10:39:28 -04:00
Paul Beckingham
89534afa84
Test: Renamed feature.10103.t to feedback.t
2015-10-24 10:35:51 -04:00
Paul Beckingham
205a2bd984
Test: Merged feature.725.t into dependencies.t
2015-10-24 10:33:23 -04:00
Paul Beckingham
2ca2e81a18
Test: Removed debug diagnostics
2015-10-24 10:18:43 -04:00
Paul Beckingham
18652a834d
Test: Merged feature.891.t into uuid.t
2015-10-24 10:18:25 -04:00
Paul Beckingham
32960d5e17
Test: Merged tw-1300.t into dom.t
2015-10-24 10:11:19 -04:00
Paul Beckingham
6f926e6bea
Test: Merged tw-1262.t into dependencies.t
2015-10-24 10:11:19 -04:00
Wilhelm Schuermann
f4ba6015a8
JSON: Improve json::decode() performance
...
- Improves "load" time by ~28% across all performance tests.
- Improves the "add" performance test by ~20% since "load" takes most
of the time there.
2015-10-24 10:47:34 +02:00
Paul Beckingham
84c85b7596
Test: Merged tw-268.t into quotes.t
2015-10-23 10:38:40 -04:00
Paul Beckingham
2b69190ce2
Test: Removed redundant test
2015-10-23 10:37:18 -04:00
Paul Beckingham
909f48a371
Test: Merged feature.608.t into start.t
2015-10-23 10:22:23 -04:00
Paul Beckingham
34d737f700
Test: Merged tw-21.t into uda.t
2015-10-23 10:20:25 -04:00
Paul Beckingham
acca829aed
Test: Merged t3.t.cpp into t.t.cpp
2015-10-23 10:19:17 -04:00
Paul Beckingham
bb58b796fd
Task Data Parsing
...
- Improved the handling when parsing blank lines and empty task in the data, so
that instead of the message:
Taskwarrior no longer supports file format 1, originally used between 27
November 2006 and 31 December 2007.
We now see:
Unrecognized Taskwarrior file format or blank line in data.
- Merged t2.t.cpp into t.t.cpp.
2015-10-23 10:13:38 -04:00
Paul Beckingham
603843821b
Test: Removed useless test
2015-10-23 09:33:18 -04:00
Paul Beckingham
ba000e1a5c
Test: Merged countdown.t into format.t
2015-10-23 09:32:26 -04:00
Paul Beckingham
875a3307d5
Test: Merged subproject.t into project.t
2015-10-23 09:30:21 -04:00
Paul Beckingham
3380e105f6
Test: Merged default.command.t into default.t
2015-10-23 09:21:29 -04:00
Paul Beckingham
1f30757c01
Test: Fixed error in conversion now there are no more bug.*.t scripts
2015-10-23 09:19:45 -04:00
Paul Beckingham
06ebd56be8
Test: Merged args.1.t into args.t
2015-10-23 09:15:39 -04:00
Paul Beckingham
0497939742
Test: Renamed tw-101.t to format.t
2015-10-23 09:14:11 -04:00
Paul Beckingham
ecde7d1ad2
Test: Added missing import
2015-10-23 09:12:01 -04:00
Paul Beckingham
e3727c0101
Test: Merged bug.annual.t into recurrence.t
2015-10-23 09:10:56 -04:00
Paul Beckingham
9b5f317b4a
Test: Merged bug.before.t into filter.t
2015-10-23 09:09:32 -04:00
Paul Beckingham
be7159a708
Test: Merged bug.hasnt.t into filter.t
2015-10-23 09:08:36 -04:00
Paul Beckingham
470f54ce33
Test: Renamed bug.summary.t to summary.t
2015-10-23 09:07:37 -04:00
Paul Beckingham
4add78003a
Test: Merged bug.bulk.t into bulk.t
2015-10-23 09:06:49 -04:00
Paul Beckingham
2b55572d06
Test: Merged bug.period.t into recurrence.t
2015-10-23 09:05:35 -04:00
Paul Beckingham
9f17bc3240
Test: Merged bug.range.t into filter.t
2015-10-23 09:02:01 -04:00
Paul Beckingham
ab73a93fd6
Test: Merged bug.annotate.t into annotate.t
2015-10-23 09:00:21 -04:00
Paul Beckingham
5cce810483
Test: Merged bug.1267.t into project.t
2015-10-23 08:58:46 -04:00
Paul Beckingham
4f7441efd3
Test: Merged bug.1254.t into calc.t
2015-10-23 08:57:26 -04:00
Paul Beckingham
9f16367847
Test: Merged bug.1063.t into uda.t
2015-10-23 08:53:14 -04:00
Paul Beckingham
95ef2b7ef2
Test: Removed unnecessary test
2015-10-23 08:51:46 -04:00
Paul Beckingham
eb8a91cec6
Test: Merged bug.1031.t into alias.t
2015-10-23 08:50:18 -04:00
Paul Beckingham
d359544b30
Test: Merged bug.1006.t into abbreviation.t
2015-10-23 08:48:20 -04:00
Paul Beckingham
3edfc4f504
Test: Merged completion.t into helpers.t
2015-10-23 08:45:58 -04:00
Paul Beckingham
158aeb5655
Test: Merged bug.986.t into dateformat.t
2015-10-23 08:41:51 -04:00
Paul Beckingham
59edb6ca87
Test: Merged bug.956.t into helpers.t
2015-10-23 08:40:26 -04:00
Paul Beckingham
9588b6f937
Test: Merged bug.954.t into uuid.t
2015-10-23 08:39:14 -04:00
Paul Beckingham
de29942142
Test: Merged bug.899.t into project.t
2015-10-23 08:36:42 -04:00
Paul Beckingham
faa6b806d2
Test: Merged bug.886.t into dateformat.t
2015-10-23 08:35:13 -04:00
Paul Beckingham
b5b005d01f
Test: Merged bug.879.t into quotes.t
2015-10-23 08:31:04 -04:00
Paul Beckingham
4e178c8186
Test: Merged bug.851.t into math.t
2015-10-23 08:29:51 -04:00
Paul Beckingham
2c4a084cb0
Test: Merged bug.839.t into recurrence.t
2015-10-23 08:28:11 -04:00
Paul Beckingham
8adfe7fa20
Test: Merged bug.837.t into urgency.t
2015-10-23 08:25:52 -04:00
Paul Beckingham
1434e0366c
Test: Merged bug.835.t into project.t
2015-10-23 08:23:11 -04:00
Paul Beckingham
9690cad46a
Test: Merged bug.818.t into tag.t
2015-10-23 08:20:03 -04:00
Paul Beckingham
7211641370
Test: Merged bug.697.t into dependencies.t
2015-10-23 08:19:56 -04:00
Paul Beckingham
efad90e4bc
Test: Removed strange and unnecessary test
2015-10-23 07:26:10 -04:00
Paul Beckingham
831476725e
Test: Removed obsolete bug.656.t
2015-10-23 07:18:45 -04:00
Paul Beckingham
d9cf8b4f36
Test: Merged bug.c001.t into recurrence.t
2015-10-23 07:17:03 -04:00
Paul Beckingham
33cf2735cf
Test: Merged bug.649.t into recurrence.t
2015-10-23 07:14:43 -04:00
Paul Beckingham
ed3eb31d7e
Test: Removed duplicated test
2015-10-23 07:09:15 -04:00
Paul Beckingham
9eda156ea9
Test: Merged bug.441.t into substitute.t
2015-10-23 07:07:53 -04:00
Paul Beckingham
b9bbc83302
Test: Merged bug.425.t into info.t
2015-10-23 07:06:31 -04:00
Paul Beckingham
9a4a2b507c
Test: Removed daylight saving sensitivity
2015-10-23 07:00:21 -04:00
Paul Beckingham
c2c6b051ff
Test: Merged bug.360.t into recurrence.t
2015-10-23 06:54:03 -04:00
Paul Beckingham
ee2d15aa96
Docs: Set the tone in NEWS
2015-10-23 06:52:56 -04:00
Paul Beckingham
f393ae5969
Test: Renamed cli.t to quotes.t
2015-10-23 06:52:44 -04:00
Wilhelm Schuermann
2a2627e8a9
Test: Make version test compatible with non-beta releases
2015-10-22 13:43:40 +02:00
Federico Hernandez
dc7ea3ae8b
Bumped documentation to 2.5.1
2015-10-21 23:02:37 +02:00
Federico Hernandez
28648770c0
Bumped version number to 2.5.1
2015-10-21 22:52:52 +02:00
Federico Hernandez
a9eac8bb71
Added SHA1 of tagged release commit
2015-10-21 22:50:42 +02:00
Federico Hernandez
dd5968a61b
Version number and release date for 2.5.0
2015-10-21 22:25:06 +02:00
Paul Beckingham
10ebefa8eb
TW-1716: on-modify hooks fail if date.iso is not set
...
- Thanks to Jens Erat.
2015-10-18 10:47:25 -04:00
Federico Hernandez
2272ba71a2
Bumped version number to beta3
2015-10-17 23:22:50 +02:00
Paul Beckingham
5fdd55fdca
Docs: Added missing contributor
2015-10-17 13:02:23 -04:00
Paul Beckingham
a82558064b
Cleanup: Prep for '-Wextra'
2015-10-16 16:27:05 -04:00
Paul Beckingham
84be60fdca
Cleanup: Removed unneeded function
2015-10-16 15:57:12 -04:00
Paul Beckingham
461610aaa6
Test: Cleanup prep for '-Wextra'
2015-10-16 15:55:17 -04:00
Paul Beckingham
f687ea1010
TW-1715: Dates misinterpreted when no dateformat active.
...
- To be more specific, dates were misinterpreted when an input date was could
be unambiguously parsed as either ISO or dateformat, for example, if the
dateformat was 'Y-M-D', it matches ISO 'Y-M-DTH:N:S', and the dateformat
was considered a match which ignored the 'H:N:S', if specified.
2015-10-16 11:37:34 -04:00
Paul Beckingham
980dff3048
ISO8601d: Improved ::dump output
2015-10-16 11:35:39 -04:00
Paul Beckingham
e4b8c2f0f5
Test: Added Lexer::dequote test
2015-10-16 08:26:14 -04:00
Paul Beckingham
4f11740896
ISO8601: Made some methods const
2015-10-16 08:22:57 -04:00
Paul Beckingham
5110a83efa
Cleanup: Corrected object initialization using {}
2015-10-16 08:22:03 -04:00
Paul Beckingham
9b5d0a7cdd
Config: Removed useless const
2015-10-16 08:18:08 -04:00
Paul Beckingham
638c2b35c3
ISO8601: Added ::dump methods for debugging
2015-10-16 07:53:11 -04:00
Wilhelm Schuermann
5b35f80d57
TW-1715: No UDA needed, same problem with core attributes
2015-10-16 10:08:13 +02:00
Wilhelm Schuermann
c8e051a7dd
TW-1715: Add minimized testcase
2015-10-16 09:43:05 +02:00
Wilhelm Schuermann
190abd00b9
Test: Remove default dateformat for bash_tap.sh tests
2015-10-15 17:43:11 +02:00
Wilhelm Schuermann
acbad7568c
Test: Fix problem with "task" wrapper function
...
- Arguments with spaces like foo:'bar baz' were improperly passed to
Taskwarrior before. This only affected bash_tap.sh tests, the Python
tests have always been handling this properly.
2015-10-15 17:39:09 +02:00
Paul Beckingham
dc92e7ca32
Variant: handled the case of empty strings being coerced into ISO8601d
2015-10-13 13:25:14 -04:00
Paul Beckingham
21946d7611
Docs: Updated INSTALL file
2015-10-11 12:02:49 -04:00
Paul Beckingham
e8f4d6904b
Lexer: Removed one indirect lookup from ::dequote
2015-10-11 09:05:12 -04:00
Paul Beckingham
cfebb21260
Test: Enabled test that was failing
2015-10-10 22:49:41 -04:00
Paul Beckingham
4882a50b1b
ISO8601d: Fixed parsing of day and month name
2015-10-10 22:48:47 -04:00
Paul Beckingham
5ef2d6f00d
Test: Enabled test that was disabled and failing
2015-10-10 22:01:09 -04:00
Paul Beckingham
053c97fc1d
ISO8601d: Allowed zero-padded values for short form dateformat elements
2015-10-10 21:48:51 -04:00
Paul Beckingham
808600a705
Lexer: ::isAllDigits should not return true on trivial input
2015-10-10 20:42:00 -04:00
Paul Beckingham
1590ab6564
RX: Inherited RX fixes from clog
2015-10-10 20:37:15 -04:00
Paul Beckingham
df7a7e6dd2
Added Colombia and Ecuador holidays.
2015-10-10 10:12:30 -04:00
Paul Beckingham
731cba4181
TW-1620: Dateformat wrongly interpreted
...
- Thanks to Dirk Deimeke.
2015-10-07 08:13:27 -04:00
Paul Beckingham
40993623d7
Test: Fixed broken test
2015-10-07 07:58:34 -04:00
Paul Beckingham
1cea249c9e
Test: Restored old tests for ISO8601d
2015-10-07 07:55:22 -04:00
Paul Beckingham
79886e03ce
Merge branch 'isodate' into 2.5.0
2015-10-07 07:40:28 -04:00
Paul Beckingham
b1678a55df
Date: Removed
2015-10-07 07:28:42 -04:00
Paul Beckingham
799e62051f
Test: Removed Date
2015-10-05 09:54:54 -04:00
Paul Beckingham
13b8c1a3cc
Task: Migrated from Date to ISO8601d
2015-10-04 17:18:31 -04:00
Paul Beckingham
1eb9c243fe
Test: Dates '9th', '10th', 'today' are now recognized as dates
2015-10-04 13:27:04 -04:00
Paul Beckingham
5018057f19
ISO8601d: ::parse_named now only considers the first token.
2015-10-04 13:26:10 -04:00
Paul Beckingham
b1d2d6d5e8
Variant: Migrated from Date to ISO8601d
2015-10-04 13:25:28 -04:00
Paul Beckingham
d4abae0f70
Lexer: Removed ::isoEnabled, which belongs in ISO8601{d,p}
2015-10-04 11:11:48 -04:00
Paul Beckingham
61e494195a
ISO8601: Added separate ::isoEnabled settings for ISO8601d and ISO8601p
2015-10-04 10:58:28 -04:00
Paul Beckingham
9adfddfe65
ISO8601: Disentangled ISO8601d and ISO8601p
2015-10-04 10:47:34 -04:00
Paul Beckingham
abbebf69ad
ISO8601d: ::parse_named can also skip ::validate and ::resolve
2015-10-04 10:43:44 -04:00
Paul Beckingham
7641a86f23
Lexer: Migrated from Date to ISO8601d
2015-10-03 19:37:30 -04:00
Paul Beckingham
26fbca7896
CmdCalendar: Migrated from Date to ISO8601d
2015-10-03 19:31:58 -04:00
Paul Beckingham
0772f7ea36
Code Cleanup: Removed unnecessary include
2015-10-03 19:28:40 -04:00
Paul Beckingham
709e871061
rules: Migrated from Date to ISO8601d
2015-10-03 19:28:09 -04:00
Paul Beckingham
df00368f79
feedback: Migrated from Date to ISO8601d
2015-10-03 19:27:55 -04:00
Paul Beckingham
b085006d1a
CmdTimesheet: Migrated from Date to ISO8601d
2015-10-03 19:27:42 -04:00
Paul Beckingham
4002778a36
CmdStats: Migrated from Date to ISO8601d
2015-10-03 19:23:01 -04:00
Paul Beckingham
69c8125ea7
CmdHistory: Migrated from Date to ISO8601d
2015-10-03 19:22:51 -04:00
Paul Beckingham
aa3304798b
CmdEdit: Migrated from Date to ISO8601d
2015-10-03 19:22:42 -04:00
Paul Beckingham
4e3eb1f420
ColDue, ColScheduled: Migrated from Date to ISO8601d
2015-10-03 19:18:39 -04:00
Paul Beckingham
a0a302822b
CmdBurndown: Migrated from Date to ISO8601d
2015-10-03 18:05:24 -04:00
Paul Beckingham
8136a59572
Nibbler: Migrated from Date to ISO8601d
2015-10-03 18:02:55 -04:00
Paul Beckingham
9a5def4c95
ColDate: Migrated from Date to ISO8601d
2015-10-03 16:24:26 -04:00
Paul Beckingham
fb280edbc2
TND2: Migrated from Date to ISO8601d
2015-10-03 15:27:23 -04:00
Paul Beckingham
ec073c5dae
CmdInfo: Migrated from Date to ISO8601d
2015-10-03 15:22:22 -04:00
Paul Beckingham
6bb58286dc
DOM: Migrated from Date to ISO8601d
2015-10-03 15:14:39 -04:00
Tomas Babej
4fe23fcfcd
context: Do not use context for reports not meant for direct human consumption
2015-10-03 10:59:55 -04:00
Tomas Babej
97dbb0cfe4
CmdModify: Do not use filter context
2015-10-03 10:59:42 -04:00
robin92
5ab0a920cc
Using own version of timegm when applicable.
...
Some systems come without timegm function in standard library. Taskwarrior
already has its own implementation defined in util.c. However, this has
never been used as util.h has not been included.
2015-10-03 10:57:19 -04:00
Tomas Babej
830a8c6ec8
CLI2: Display filter footnote only if some filter token is present
2015-10-03 09:15:15 -04:00
Paul Beckingham
fff27ffabe
CmdExport: Measures JSON composition time under context.timer_render
2015-10-03 08:56:05 -04:00
Paul Beckingham
4f156c407c
Recur: Migrated recurrence from Date to ISO8601d
...
- Changed signature of recur functions, which needed a main.h change, which led
to removing '#include <Date.h>' from main.h, which necessitated adding the
sam include to various other source files. Temporarily.
- Added 'ISO8601d ISO8601d::operator+ (time_t)', because of differences from the
original Date object.
2015-09-30 09:52:09 -04:00
Paul Beckingham
953e1e4cc1
Nibbler: Removed unused comment
2015-09-30 09:47:54 -04:00
Paul Beckingham
628f6b5fa6
Test: Fixed test that tried to use a floating point epoch date
2015-09-29 21:40:59 -04:00
Tomas Babej
f0e8d2027c
CLI2: Display filter footnote only if some filter token is present
2015-09-29 21:04:32 -04:00
Paul Beckingham
b0e249e564
ISO8601d: Epoch strings are parsed without the same validation as other dates
2015-09-27 16:28:25 -04:00
Paul Beckingham
5cc3c8d05d
ISO8601d: Removed obsolete ::isEpoch method
2015-09-27 12:15:18 -04:00
Paul Beckingham
ae22612584
ISO8601d: Upgraded method from private to static public
2015-09-27 12:14:18 -04:00
Paul Beckingham
69a60103b9
Test: Added more ISO8601d tests
2015-09-27 11:19:02 -04:00
Paul Beckingham
fdc791a676
ISO8601d: Implemented ::parse_epoch
2015-09-27 11:15:28 -04:00
Paul Beckingham
1d598d0e8c
Context: Converted from Date to ISO8601d
2015-09-27 11:14:49 -04:00
Paul Beckingham
49aa62b3b4
Tests: Added more ISO8601d tests
2015-09-27 02:11:05 -04:00
Paul Beckingham
f294bc0c2b
ISO8601d: Integrated formatted dates into ISO8601d
...
- Eliminated call to Nibbler::getDate.
- Created structure for Named dates and Epochs, still to be integrated.
2015-09-27 02:08:40 -04:00
Paul Beckingham
d11b5de3b4
Nibbler: Code formatting
2015-09-27 02:03:00 -04:00
Paul Beckingham
dbb6a209a8
ISO8601: Added formatted date parsing
2015-09-27 00:18:38 -04:00
Paul Beckingham
b8977c4dd0
Test: Added more ISO8601d tests
2015-09-26 23:25:20 -04:00
Paul Beckingham
244a80f799
ISO8601: Migrated more Date instances to ISO8601d
2015-09-26 23:20:08 -04:00
Paul Beckingham
68c6afbdd4
ISO8601d: Conversion from Date to ISO8601d
2015-09-26 23:08:29 -04:00
Paul Beckingham
f32e53c7d6
Test: Added more ISO8601d tests
2015-09-26 22:23:04 -04:00
Paul Beckingham
1ff4e2ff13
Test: Added more ISO8601d tests
2015-09-26 22:07:04 -04:00
Paul Beckingham
12661b4bde
Test: Added more ISO8601d tests
2015-09-26 21:59:12 -04:00
Paul Beckingham
073f978955
Test: Added more ISO8601d tests
2015-09-26 21:49:39 -04:00
Paul Beckingham
76db26e3d7
Test: Added more ISO8601d tests
2015-09-26 21:47:23 -04:00
Paul Beckingham
843e49e2bc
Test: Added more ISO8601d tests
2015-09-26 21:43:58 -04:00
Paul Beckingham
2b31994ce0
Test: Added more ISO601d tests
2015-09-26 21:41:50 -04:00
Paul Beckingham
23c2958f44
Dates: Converted from Date to ISO8601d
2015-09-26 21:16:11 -04:00
Paul Beckingham
6c02c03674
ISO8601d: Added various ::valid methods
2015-09-26 20:51:04 -04:00
Paul Beckingham
d25113e653
ISO8601d: Added ::toString
2015-09-26 20:35:04 -04:00
Paul Beckingham
85703803c8
ISO8601d: Added ::toEpoch
2015-09-26 18:43:11 -04:00
Paul Beckingham
2414f6b3d4
ISO8601d: Added ::toISO
2015-09-26 18:42:32 -04:00
Paul Beckingham
cc8a305b37
ISO8601d: Added ::toEpoch
2015-09-26 18:39:33 -04:00
Paul Beckingham
4a33f3e093
ISO8601d: Added ::toEpochString
2015-09-26 18:35:47 -04:00
Paul Beckingham
c0bc6059ca
ISO8601d: Added ::toJulian
2015-09-26 16:19:56 -04:00
Paul Beckingham
7a5025e64d
ISO8601d: Added ::toMDY
2015-09-26 16:18:00 -04:00
Paul Beckingham
da88eefe2b
ISO8601d: Added ::startOfYear
2015-09-26 16:15:39 -04:00
Paul Beckingham
b6aced8726
ISO8601d: Added ::startOfMonth
2015-09-26 16:14:12 -04:00
Paul Beckingham
25c4f8871e
ISO8601d: Added ::startOfWeek
2015-09-26 16:12:48 -04:00
Paul Beckingham
a6331747d2
ISO8601d: Added ::oprator++ (postfix)
2015-09-26 16:09:56 -04:00
Paul Beckingham
98dbfb01b4
ISO8601d: ::operator++ (prefix)
2015-09-26 16:08:11 -04:00
Paul Beckingham
e96eaaac38
ISO8601d: Added ::operator-- (postfix)
2015-09-26 16:05:47 -04:00
Paul Beckingham
ef6d0a8f9a
ISO8601d: Added ::operator-- (prefix)
2015-09-26 16:02:41 -04:00
Paul Beckingham
9c9216acbf
ISO8601d: Added ::startOfDay
2015-09-26 16:01:30 -04:00
Paul Beckingham
2242cb2a8b
ISO8601d: Added (m,d,y,h,m,s) ctor
2015-09-26 15:59:41 -04:00
Paul Beckingham
5073921707
ISO8601d: Added (m,d,y) ctor
2015-09-26 15:58:25 -04:00
Paul Beckingham
860a1de034
ISO8601d: Added ::operator-
2015-09-26 15:43:07 -04:00
Paul Beckingham
16818c0b93
ISO8601d: Added ::operator-=
2015-09-26 15:40:40 -04:00
Paul Beckingham
984b12c0d2
ISO8601d: Added ::operator+=
2015-09-26 15:39:03 -04:00
Paul Beckingham
ed2cf991f3
ISO8601d: Added ::operator-
2015-09-26 15:38:25 -04:00
Paul Beckingham
c095289208
ISO8601d: Added ::operator+
2015-09-26 15:33:45 -04:00
Paul Beckingham
957c8b7e7b
ISO8601d: Added ::ISO8601 (time_t)
2015-09-26 15:18:29 -04:00
Paul Beckingham
79f030b199
ISO8601d: Added ::sameYear
2015-09-26 15:11:58 -04:00
Paul Beckingham
04836c2cec
ISO8601d: Added ::sameMonth
2015-09-26 15:10:04 -04:00
Paul Beckingham
aa90fdbe1c
ISO8601d: Added ::sameWeek
2015-09-26 15:07:48 -04:00
Paul Beckingham
2c449583ef
ISO8601d: Added ::sameDay
2015-09-26 15:05:58 -04:00
Paul Beckingham
ec66bc73d3
ISO8601d: Added ::sameHour
2015-09-26 15:04:01 -04:00
Paul Beckingham
fe509cd3dd
ISO8601d: Added ::operator>=
2015-09-26 15:01:29 -04:00
Paul Beckingham
b7afcb9723
ISO8601d: Added ::opreator<=
2015-09-26 14:59:47 -04:00
Paul Beckingham
e09eee1a59
ISO8601d: Added ::operator>
2015-09-26 14:58:24 -04:00
Paul Beckingham
9f8ea49446
ISO8601d: Added ::operator<
2015-09-26 14:56:36 -04:00
Paul Beckingham
7a996dfadf
ISO8601d: Added ::operator!=
2015-09-26 14:54:34 -04:00
Paul Beckingham
90ac0e2b17
ISO8601d: Added ::operator==
2015-09-26 14:51:46 -04:00
Paul Beckingham
ff320345e9
ISO8601: Added ::monthOfYear and tests
2015-09-26 14:47:08 -04:00
Paul Beckingham
f26cff9a4a
ISO8601d: Added :dayName methods and tests
2015-09-26 14:32:14 -04:00
Paul Beckingham
7164215146
ISO8601d: Added ::hour, ::minute, ::second
2015-09-26 14:25:19 -04:00
Paul Beckingham
5ed0d13194
ISO8601d: Added ::dayOfYear
2015-09-26 14:24:33 -04:00
Paul Beckingham
ac428e1f1a
ISO8601d: Added ::dayOfWeek
2015-09-26 14:23:41 -04:00
Paul Beckingham
66dc016ce6
ISO8601d: Added ::weekOfYear
2015-09-26 14:22:37 -04:00
Paul Beckingham
af81b24d92
ISO8601d: Added ::year
2015-09-26 14:21:42 -04:00
Paul Beckingham
eeac423fd6
ISO8601d: Added ::day
2015-09-26 14:20:32 -04:00
Paul Beckingham
17185c7911
ISO8601d: Added ::week
2015-09-26 14:18:54 -04:00
Paul Beckingham
24ff570427
ISO8601d: Added ::month
2015-09-26 14:16:38 -04:00
Paul Beckingham
d351c9faf2
Dates: Converted from Date::daysInMonth to ISO8601d::daysInMonth
2015-09-26 14:12:23 -04:00
Paul Beckingham
18804a743c
CmdCalendar: Converted from Date::daysInMonth to ISO8601d::daysInMonth
2015-09-26 14:09:51 -04:00
Paul Beckingham
86df438579
CmdBurndown: Converted from Date::daysInMonth to ISO8601d::daysInMonth
2015-09-26 14:08:50 -04:00
Paul Beckingham
0d6788635e
ISO8601d: Added ::monthName and tests
2015-09-26 14:02:26 -04:00
Paul Beckingham
965415d7a4
ISO8601d: Added ::daysInYear and tests
2015-09-26 13:57:10 -04:00
Paul Beckingham
d8eb0ac0da
ISO8601d: Added ::daysInMonth and tests
2015-09-26 13:52:43 -04:00
Paul Beckingham
6f5d07dcd4
ISO8601d: Added ::leapYear and tests
2015-09-26 13:47:27 -04:00
Paul Beckingham
f615db8a4c
ISO8601d: Added ::length and tests
2015-09-26 13:38:32 -04:00
Paul Beckingham
9962c14de2
Test: Added test for ISO8601d::dayOfWeek
2015-09-26 13:33:41 -04:00
Paul Beckingham
91588c7e96
ISO8601: Added static ::dayOfWeek
2015-09-26 13:29:31 -04:00
Paul Beckingham
71e2f1bf2f
Date: Removed unused ::easter method
...
- It is duplicated in Dates.cpp.
2015-09-26 13:19:20 -04:00
Paul Beckingham
227163a4a1
Date: Removed method signature that doesn't even exist
2015-09-26 13:07:13 -04:00
Paul Beckingham
6f726bf1cf
ISO8601d: Added ::minimumMatchLength
2015-09-26 12:57:57 -04:00
Paul Beckingham
541e9eec30
Context: Initialize ISO8601::weekstart
2015-09-26 12:40:56 -04:00
Paul Beckingham
12aeecc73f
ISO8601: Removed useless comment
2015-09-26 12:27:23 -04:00
Paul Beckingham
eeb592d032
ISO8601d: Renamed ::_value to ::_date
2015-09-26 12:26:09 -04:00
Paul Beckingham
5eb9948235
CmdExport: Measures JSON composition time under context.timer_render
2015-09-26 12:20:14 -04:00
Paul Beckingham
bb53ae17ae
ISO8601p: Renamed ::_value to ::_period
2015-09-26 12:17:57 -04:00
Paul Beckingham
219f23de33
ISO8601: Default ctor implies 'now'
2015-09-26 11:55:29 -04:00
Paul Beckingham
1efc1f2531
ISO8601: ::clear is now a private method
2015-09-26 11:45:00 -04:00
Paul Beckingham
2b3691508f
ISO8601: Prepared ::parse method for its new role of parsing all dates
2015-09-26 11:39:45 -04:00
Paul Beckingham
e2f504e686
Context: No longer calls Context methods while dtor is running.
2015-09-25 07:57:43 -04:00
Tomas Babej
3708f852c2
TW-1707: Context can leak into modifications
...
- Thanks to Tomas Babej.
2015-09-24 09:24:02 -04:00
Wilhelm Schuermann
4fb9307be5
TDB2: Improve TF2::get(uuid, task) performance
...
- Improves "task import" performance test on test machine further from
13s to 1.9s.
- Active only during "task import". Might be worth using during other
mass lookups like "task sync", or could even be a good default.
2015-09-22 18:32:03 +02:00
Tomas Babej
d006a2820b
CmdExport: Do not use context
...
Per the design of the context feature, 'task export' is not
supposed to leverage context. This is a regression from 2.4.4.
2015-09-22 06:45:04 -04:00
Paul Beckingham
5325efbd07
TW-1700: modify tags behavior changed
...
- Thanks to David Badura.
2015-09-21 07:28:26 -04:00
Paul Beckingham
6c90875da4
Test: Fixed test broken by change in verbose default
2015-09-20 19:20:48 -04:00
Paul Beckingham
d50372b799
Config: Cleaned up verbose entry - it is defaults, not documentation.
2015-09-20 09:18:05 -04:00
Tomas Babej
6bcbcbb363
TW-1662: filter before add becomes description
...
- Thanks to Daniel Shahaf.
2015-09-20 09:17:01 -04:00
Tomas Babej
0d8817369e
docs: Deprecate 'new-uuid' verbosity token
2015-09-20 09:16:23 -04:00
Paul Beckingham
646863db16
Cleanup: Minor tweaks
2015-09-20 09:13:24 -04:00
Paul Beckingham
d5002ab400
Bug: The 'filter' verbosity token code was missing
...
- Probbably cut out during the CLI --> CLI2 cutover.
2015-09-19 15:22:03 -04:00
Paul Beckingham
7c59bd5a1d
TW-1699: Command interpretation displayed incorrectly
...
- Thanks to Tomas Babej.
2015-09-19 15:21:31 -04:00
Paul Beckingham
eb02c7917a
TW-1701: Some generated UUIDs deemed invalid
...
- Thanks to Wim Schuermann.
2015-09-19 13:57:02 -04:00
Paul Beckingham
f97e68f1d6
Build: Ensured 'run_all' is present in the test dir
...
- Thanks to Gordon Ball.
2015-09-19 12:48:32 -04:00
Federico Hernandez
224d5c1b9b
Updated the holidays files.
2015-09-19 18:19:46 +02:00
Paul Beckingham
f86c9e2096
Task: Added boundary condition requirement
2015-09-19 09:49:22 -04:00
Paul Beckingham
6b69903208
Task: Modified the way UUIDs are validated
2015-09-19 08:56:15 -04:00
Paul Beckingham
b4077775c2
Filter: When GC is turned off, disable the query shortcuts, which do not apply.
2015-09-19 07:49:55 -04:00
Paul Beckingham
bc81bc478c
Docs: Typo
...
- Thanks to Daniel Shahaf.
2015-09-17 10:09:18 -04:00
Tomas Babej
ef198d5616
TW-1695: edit: Concurrent edits
...
- Thanks to Daniel Shahaf.
2015-09-16 20:24:18 -04:00
Tomas Babej
45dea75faa
CmdEdit: Do not allow concurrent edits
2015-09-16 20:24:13 -04:00
Federico Hernandez
9ef8c1aeba
Bumped version to 2.5.0.beta2
2015-09-16 22:57:00 +02:00
Paul Beckingham
916689f1c2
Performance: Stores a copy of the test data
...
- This speeds the second run of 'make perf'.
2015-09-15 23:05:17 -04:00
Paul Beckingham
66676539ce
Test: Allow .exe in file test names
2015-09-15 22:07:18 -04:00
Scott Kostyshak
2690d9bdf3
Task: Correct a false-positive warning
...
- The command "task 1 modify due: wait:2days" gave the following
output:
Warning: You have specified that the 'wait' date is after the
'due' date.
Now, we check if the due date is zero, in which case the due date is
being removed.
2015-09-15 17:02:59 -04:00
Paul Beckingham
11009fd3ff
CLI2: Multiple 'limit:N' args are now properly handled
...
- The 'next' report has 'limit:page' in the filter, and when an additional arg
was specified, only the first was obeyed. This means that it could not be
effectively overriden.
2015-09-15 17:02:59 -04:00
Paul Beckingham
aea4e8cb11
Docs: Removed false statement from doc
2015-09-15 17:02:59 -04:00
Paul Beckingham
b4e5285a50
Lexer: Updated list of Unicode space characters
2015-09-15 17:02:59 -04:00
Wilhelm Schuermann
605f8020b7
Nibbler: Improve import performance
...
Takes the "import" performance test from 5m5s on a test machine to 13s
total.
A huge part of the previously morbid performance were memory allocation
and release for very little benefit in the JSON parser. With this new
approach the copying is kept to a minimum. There is still room for
improvements.
2015-09-15 18:14:18 +02:00
Wilhelm Schuermann
e478396a04
DOM: Prevent use-after-free in CLI2::canonicalize
2015-09-15 12:57:18 +02:00
Tomas Babej
5523c2cbf0
TW-1686: Sorting not working on udas
...
- Thanks to Naga Kiran.
2015-09-13 10:52:28 -04:00
Tomas Babej
ec4a7abb06
tests: Add test for default sorting of UDA strings
2015-09-13 10:52:23 -04:00
Tomas Babej
514c869aea
sort: Do not use Variant to sort UDA strings
...
String UDA defer the evaluation of the sort_compare method
to the '<' operator of the Variant class, since the logic for
comparing string UDAs (which can have custom sort orders) is
already implemented there.
However, since primary use case of Variant is the filter evaluation,
it handles trivial (empty) values in a manner which does not allow
for its direct usage as the comparison operator between sort UDAs.
When filtering, a trivial (empty) value should neither match
'uda < A' nor 'uda >= A'. However, when sorting tasks upon values of
this UDA, precisely one of the above expressions *must* be true.
This commit implements the UDA string sorting logic directly in
the sort_compare method.
2015-09-13 09:16:07 -04:00
Tomas Babej
b9f217a716
Context: Add timer that measures the total command duration explicitly
2015-09-12 17:36:57 -04:00
Paul Beckingham
ed58263c16
Timer: Added static ::now method for timestamps
2015-09-12 14:02:13 -04:00
Paul Beckingham
f42de556fa
CmdUnique: Changed from std::to_string to ::format
...
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52015
2015-09-12 09:52:09 -04:00
Paul Beckingham
75aa4008e1
CmdUnique: Missing header
2015-09-12 09:40:48 -04:00
Tomas Babej
2d0ac20720
CmdUnique: Special-case 'id' attribute
2015-09-12 09:25:01 -04:00
Paul Beckingham
d026eb759f
Config: Removed unnecessary parentheses in report filters, given TW-1656
2015-09-12 09:21:05 -04:00
Paul Beckingham
360071712f
CLI2: Removed references to PSEUDO args, now they are demoted to config settings
2015-09-12 09:20:31 -04:00
Paul Beckingham
84b3055690
CLI2: Pseudo-args demoted to config settings
...
- When 'limit:N' is encountered, it is removed from the command line, and
added as a config setting, equivalent to 'rc.limit:N'.
- This simplifieѕ subsequent command line parsing.
2015-09-12 09:03:15 -04:00
Paul Beckingham
c59afe34c4
TW-1656: Implicitly parenthesize argv filter
...
- Thanks to Daniel Shahaf.
2015-09-12 08:57:38 -04:00
Paul Beckingham
c4d797539d
Docs: updated text again
2015-09-12 07:45:23 -04:00
Paul Beckingham
1f47e8c99f
TW-1692: 42//' segfaults
...
- Thanks to Daniel Shahaf.
2015-09-12 07:34:56 -04:00
Tomas Babej
0d14822711
INSTALL: gnutls is not optional anymore
2015-09-12 07:22:06 -04:00
Wilhelm Schuermann
06a08c399e
TW-46: Circular dependency detection broken for missing tasks
2015-09-11 17:54:23 +02:00
Tomas Babej
cfb827770f
tests: Add test for TW-1656
2015-09-11 11:47:52 -04:00
Wilhelm Schuermann
791bd1b82a
Test: Simplify tw-1688.t
...
- bash_tap tests are executed in a temporary folder. Any data written
to the current directory will therefore be cleaned up without the
need for manually dealing with cleanup.
- $TASKDATA is set to this directory as well, so all Taskwarrior data
files are directly accessible.
2015-09-11 17:22:00 +02:00
Paul Beckingham
2bdaa37e32
CLI2: Removed unnecessary processing of filter
2015-09-11 08:44:39 -04:00
Paul Beckingham
442ef6a29b
CLI2: Combined two conditions
2015-09-11 08:43:55 -04:00
Tomas Babej
f22322bc18
problems: Return non-zero code when some tests fail
2015-09-11 07:50:37 -04:00
Paul Beckingham
cd736a0d70
TW-1688: task fails to import
...
- Thanks to Rainer Müller.
2015-09-11 07:49:29 -04:00
Paul Beckingham
f55afe33d7
Color: Removed FEATURE_COLOR conditional compile
...
- No need any more.
2015-09-10 22:17:25 -04:00
Paul Beckingham
b04032c9d6
TW-1683 Dom reference for project not properly evaluated
...
- Thanks to Tomas Babej.
2015-09-10 18:53:10 -04:00
Paul Beckingham
f2ac258bf1
Column: Missing include
2015-09-10 00:03:03 -04:00
Paul Beckingham
204f9195d2
Config: Given TW-1678, removed unsupported column formats from default config
2015-09-09 23:42:35 -04:00
Paul Beckingham
93e6ef5fb9
TW-1678: segfault in ~ViewTask()
...
- Column::setStyle now validates column styles.
- Thanks to Daniel Shahaf.
2015-09-09 23:41:37 -04:00
Paul Beckingham
cb011026aa
TW-1684 make no-date > has-date for all date attributes
...
- Thanks to David Patrick.
2015-09-08 18:07:53 -04:00
Paul Beckingham
3c54c78e3a
Sorting: All dates now sort the same as 'due' dates
2015-09-08 17:57:25 -04:00
Paul Beckingham
f60b77ef79
Docs: Typos fixed.
2015-09-07 19:48:39 -04:00
Paul Beckingham
aa3a014a66
CPack: Need four backslashes, the greedy bastard.
2015-09-07 18:02:23 -04:00
Paul Beckingham
047198bf6e
CMake: Fixed regex that excludes files for tarball
2015-09-07 17:43:26 -04:00
Federico Hernandez
b4f21a1195
More version number and date updates
2015-09-07 23:22:42 +02:00
Paul Beckingham
75152d913e
Test: Version test didn't know about betas
2015-09-07 17:15:42 -04:00
Federico Hernandez
06c6b94fd4
Renamed 2.4.5 to 2.5.0
2015-09-07 22:54:17 +02:00
Paul Beckingham
7a0927effe
Task: Project attributes are exempt from DOM expansion
2015-09-07 16:40:32 -04:00
Paul Beckingham
2854304e60
DOM: Refactored the contextual ::get
2015-09-07 16:12:54 -04:00
Paul Beckingham
91c05ea157
Test: Fixed broken test
2015-09-07 16:06:39 -04:00
Paul Beckingham
992cb6369a
DOM: Factored out element size
2015-09-07 15:13:12 -04:00
Paul Beckingham
3b4dc9acb3
CLI2: Removed unused arg
...
- Thanks to Tomas Babej.
2015-09-07 12:44:41 -04:00
Paul Beckingham
249a4b0f64
Eval: Removed useless comment
2015-09-07 12:36:23 -04:00
Paul Beckingham
d87a753de1
Docs: Updated man page regarding 'debug.parser' values
...
- Modified tests that use the above.
2015-09-07 12:33:53 -04:00
Tomas Babej
d210c6d07f
debug: Display parser trees at level 2, eval output at 3
2015-09-07 12:22:35 -04:00
Paul Beckingham
433d3dedca
Test: Corrected system name for FreeBSD
2015-09-07 12:09:41 -04:00
Paul Beckingham
10944a23e1
Test: Added combination of skipIf and expectedFail
2015-09-07 12:04:14 -04:00
Paul Beckingham
e4132f6a02
CLI2: Expand DOM references in single-token values
2015-09-07 11:49:55 -04:00
Paul Beckingham
557a8d357c
Test: Marked color merge tests as expected failures
...
- This is a bug in Color.cpp, not in the color.rules.t script, and the symptoms
of this bug are 256-color usage when 16-colors are expected. The Color::blend
method auto-upgradeѕ from 16 to 256, and may be the culprit. This bug is not
important enough to fix now.
2015-09-07 11:05:00 -04:00
Paul Beckingham
0a75c526a9
Test: Removed obsolete 'edit' test
2015-09-07 10:48:21 -04:00
Tomas Babej
e133d72e23
ChangeLog: Add note about TW-20
2015-09-07 08:20:51 -04:00
Tomas Babej
023cc3c383
CmdEdit: Do not bump annotation timestamps without need
2015-09-06 21:54:20 -04:00
Paul Beckingham
89df8e5c8a
Test: Corrected test, which assumed zero-based annotation indexing
2015-09-06 16:49:29 -04:00
Paul Beckingham
58d52a0191
Task: Factored out eval, added eval for tags.
2015-09-06 16:26:05 -04:00
Paul Beckingham
ff965c95d3
TW-1687: task add due:som appears to be interpreted as 'someday'
...
- Thanks to Alan Young.
2015-09-06 15:48:05 -04:00
Paul Beckingham
c256096118
CmdDenotate: Migrated to use new MISCELLANEOUS args
2015-09-06 15:19:34 -04:00
Paul Beckingham
b7c7d782e0
Test: Modified error message expectation
2015-09-06 14:59:43 -04:00
Paul Beckingham
d60a2f9954
CLI2: Properly categorize FILTER, MODIFICATION, MISCELLANEOUS
...
- Now that CLI2::categorizeArgs is complete, all that remains is to make sure
the individual commands comply.
2015-09-06 14:53:46 -04:00
Paul Beckingham
d1fe1279ed
Command: Code cleanup, added ::category accessor
...
- The Command object failed to initialize all member on construction and
initialized them out of order (is this still a thing in C++11?).
- The _category was the only member with no accessor, which is not right.
2015-09-06 14:07:21 -04:00
Paul Beckingham
77b17379d6
CmdAdd/Log: No longer obey context
...
Context is good for filtering, terrible for commands that do not take filters.
2015-09-06 14:05:58 -04:00
Paul Beckingham
9db03a317b
CmdAliases: Code formatting
2015-09-06 14:05:45 -04:00
Paul Beckingham
fdcc7b3d0f
Test: Modified timeout values
...
- Removed timeout for bulk.t, context.t
- Increased timeout for delete.t
2015-09-06 13:09:11 -04:00
Paul Beckingham
499b2256fc
Test: Fixed test to contain expected colors
...
- Problem was that Linux has been upgrading 16-color output, and the test was
based on observed output, which looks correct, but actually isn't.
We may end up marking these tests as expeected to fail, because they are not
important.
2015-09-06 12:31:50 -04:00
Paul Beckingham
c1e86f59e2
Color: Removed unnecessary copy
2015-09-06 12:24:49 -04:00
Paul Beckingham
16b8f90048
Task: Removed commented code
2015-09-06 03:05:19 -04:00
Paul Beckingham
af43a3119f
L10n: Removed unused strings
2015-09-06 02:19:31 -04:00
Paul Beckingham
9bb2e4f8f5
CmdVersion: Removed redundant arg checks
2015-09-06 02:15:49 -04:00
Paul Beckingham
3b18ca4f50
CmdUDAs: Remvoed redundant arg checks
2015-09-06 02:14:36 -04:00
Paul Beckingham
4183667efd
CmdReports: Removed redundant arg checks
2015-09-06 02:12:16 -04:00
Paul Beckingham
d55b5907cd
CmdLogo: Removed redundant arg checks
2015-09-06 02:11:15 -04:00
Paul Beckingham
5cd79d08b3
CmdHelp: Removed redundant arg checks
2015-09-06 02:10:05 -04:00
Paul Beckingham
58ec954d11
CmdExport: Removed redundant arg checks
2015-09-06 02:08:36 -04:00
Paul Beckingham
ea1ce4fad5
CmdEdit: Removed redundant arg checks
2015-09-06 02:06:37 -04:00
Paul Beckingham
283f9bb2bc
CmdDiagnostics: Removed redundant arg checks
2015-09-06 02:01:33 -04:00
Paul Beckingham
a7fd5de5c3
CmdUndo: Removed redundant arg checks
2015-09-06 01:58:49 -04:00
Paul Beckingham
826d00d33f
CLI2: Can now detect unwanted args in ::categorizeArgs
2015-09-06 01:56:59 -04:00
Paul Beckingham
3897c23c8d
CLI2: Prevent loops
...
- Context was sometimes causing looping:
::analyze -> ::addContexFilter -> ::addFilter -> ::analyze
This is prevented by a simple latch.
2015-09-06 01:42:30 -04:00
Paul Beckingham
7da3f3b2ba
CLI2: Moved arg categorization earlier in the processing
...
- Moving categorization (FILTER, MODIFICATION, MISCELLANEOUS) int ::analyze,
instead of waiting until ::prepareFilter means that all commands now have
access to categorized args. This means there is no need to repeatedly scan
and skip over 'rc:' etc.
2015-09-06 01:02:06 -04:00
Paul Beckingham
5ae32dd036
CLI2: 'info' was tagged 'DEFAULT' and should have been 'ASSUMED'
2015-09-06 00:13:44 -04:00
Tomas Babej
e0a808a6ba
commands: Colorize only if color=on is set
...
Commands 'columns', 'commands' and 'custom' would output color
escape sequences desipte color=off being set.
2015-09-05 20:18:58 -04:00
Paul Beckingham
44afdb89e3
CmdImport: Tyo
2015-09-05 18:27:36 -04:00
Tomas Babej
6c7aecc2a6
CmdImport: Neglect attributes with dynamic default values
...
If not explicitly stated on import, values with default dynamic
values (such as modified, entry or end) can produce a false
notion of incoming 'modified' data, where the only difference
between the data in the database and data being imported is
that the dynamic defaults differ, since they have been
generated at different times.
Solve the issue by neglecting the attributes with dynamic defaults,
if they have been generated.
2015-09-05 18:25:12 -04:00
Paul Beckingham
3765aacc73
Tests: Fixed test that will no longer compile
2015-09-05 17:23:48 -04:00
Tomas Babej
ab40fae67e
TDB2: Only ever update task if it differs from original
2015-09-05 17:20:20 -04:00
Tomas Babej
4042cbf964
feedback: Replace taskDiff method by Task inequality operator
2015-09-05 17:19:18 -04:00
Tomas Babej
efab724802
Task: Convince myself Task comparison is implemented correctly
2015-09-05 17:19:13 -04:00
Paul Beckingham
98991c1c1a
Command: Defaulted ::_uses_context to false, which is predominant setting
...
- It's actually not yet predominant, but it looks like it will be. Since the
introduction of the context feature, subsequent changes have been made to
restrict it's influence. It appears that ultimately ゐt will only affect
reports, but currently enjoys a broader scope.
2015-09-05 15:27:04 -04:00
Paul Beckingham
28d0c534b1
CmdContext: Added 'const' for method args that are const
2015-09-05 14:39:52 -04:00
Tomas Babej
a49f5bb23c
tests: Bring tw-1452 and tw-1481 back to life
...
TW-1481 is not yet fixed though, so mark it as expectedFail.
2015-09-05 14:34:29 -04:00
Tomas Babej
ae1405a7be
tests: Modernize tw-1452 and tw-1481 tests
2015-09-05 14:34:21 -04:00
Tomas Babej
21617bf55e
tests: Add tests for referencing DOM values in filter expressions
2015-09-05 14:33:58 -04:00
Tomas Babej
619c5d5533
tests: Add tests for accessing UDA attribute values using DOM
2015-09-05 14:33:39 -04:00
Tomas Babej
76000d7515
tests: Add tests for references to DOM values on addition
2015-09-05 14:33:20 -04:00
Tomas Babej
9fe7993d96
tests: Add export_one and latest helpers to the Task test interface
...
- The 'export_one' method will export one task matching a filter,
raising error if not exactly one task was matched.
- The 'latest' property will return the task matching the "+LATEST"
filter.
2015-09-05 14:33:02 -04:00
Tomas Babej
f5b9370623
tests: State explicit filetype for .t python files
2015-09-05 14:22:52 -04:00
Paul Beckingham
ca37fab090
Revert "Test: Corrected import test"
...
This reverts commit a9b7d1b533 .
2015-09-05 14:22:42 -04:00
Tomas Babej
a8922629ae
docs: Document attribute-specific DOM references
2015-09-04 17:14:50 -04:00
Paul Beckingham
9b786de5be
CLI2: Clarified intent for demotion
2015-09-04 17:14:50 -04:00
Paul Beckingham
a82927cb54
CLI2: Refactored some of ::prepareFilter into ::categorizeArgs
2015-09-04 17:14:50 -04:00
Wilhelm Schuermann
5cd1649db2
Tests: Add failing on-modify hook
...
- An on-modify hook that reverts all changes (i.e. returns the original
task) should result in no changes. Currently the "modified:"
attribute gets updated despite no other changes being present.
2015-09-04 21:39:08 +02:00
Tomas Babej
56aad60a41
CmdShow: Update the list of supported config values
2015-09-04 08:15:53 -04:00
Tomas Babej
2dcd698686
docs: Document updates to the urgency of the next tag
2015-09-04 08:13:18 -04:00
Tomas Babej
0dac8d63df
docs: Add notes about deprecation of urgency.next.coefficient
2015-09-04 08:12:57 -04:00
Tomas Babej
a08d354971
Urgency: Add backwards compatible handling of next coefficient
2015-09-04 08:10:45 -04:00
Tomas Babej
6b83945a21
Urgency: Replace 'next' coefficient with configuration entry
2015-09-04 08:10:36 -04:00
Paul Beckingham
a9b7d1b533
Test: Corrected import test
...
- Test was comparing two supposedly identical exports, but it is possible,
and is occasionally true, that the 'entry' and 'modified' dates were not
identical.
2015-09-04 08:08:31 -04:00
Paul Beckingham
288bd81d8f
CmdShow: Added 'rule.color.merge' as a valid configuration setting
2015-09-04 07:58:36 -04:00
Paul Beckingham
aae29cbcfd
Test: Fixed test broken by command category rename.
2015-09-04 07:56:50 -04:00
Tomas Babej
7bea132bd5
Color: Remove redundant flag in colorize method
2015-09-04 00:32:10 -04:00
Tomas Babej
24bb1fd6ca
docs: Document the removal of color values with underscores
2015-09-04 00:31:51 -04:00
Tomas Babej
99b650a3ba
Color: Remove support for underscores in color values
...
Values like 'on_red' will no longer work.
This feature has been deprecated since 2009.
2015-09-04 00:27:01 -04:00
Paul Beckingham
8536dc9658
Rules: Added parens to fix conditional
2015-09-04 00:10:34 -04:00
Tomas Babej
184d736763
tests: Add tests for rule.color.merge
2015-09-03 18:14:09 -04:00
Tomas Babej
7d1fa92bd4
docs: Document rule.color.merge
2015-09-03 18:13:54 -04:00
Tomas Babej
7989177f7c
colors: Add rule.colors.merge
2015-09-03 16:19:20 -04:00
Paul Beckingham
ef16020cbb
TW-1660: Disabled sorting option
...
- Thanks to David Patrick.
2015-09-01 20:59:23 -04:00
Paul Beckingham
225fd769fd
TW-1616: Intermittent lengthy delay when starting or completing a task
...
- Thanks to Jeremy John Reeder.
2015-09-01 20:52:57 -04:00
Paul Beckingham
89880f2323
TW-1448: Add possibility to modify newest task
...
- Thansk to Jens Erat.
2015-09-01 20:29:10 -04:00
Paul Beckingham
7e78157c74
TW-1375: Use of ^ in regex parsed as exponentiate operator
...
- Thanks to lolilolicon.
2015-09-01 20:19:59 -04:00
Paul Beckingham
f9572b3d14
Test: Tweaked tw-20 test
...
- Added 'Harley Pig' to AUTHORS.
- Made test executable.
2015-08-31 18:44:27 -04:00
Harley Pig
e91137c315
Test: TW-20 Check that annotations are not deleted and re-added when not edited
2015-08-31 18:43:22 -04:00
Paul Beckingham
4008a64fdd
Virtual Tags: New 'PROJECT', 'PRIORITY' and 'LATEST' virtual tags
...
- Added documentation.
2015-08-31 16:54:18 -04:00
Paul Beckingham
ada6c24789
Virtual Tag: Undocumented, experimental support for 'LATEST'
2015-08-31 12:59:44 -04:00
Paul Beckingham
86dc14823e
Docs: Typo
...
- Thanks to Daniel Shahaf.
2015-08-31 10:59:24 -04:00
Harley Pig
7d02676f68
Test: Check for correct handling when same task entered twice
...
Signed-off-by: Wilhelm Schuermann <wimschuermann@googlemail.com >
2015-08-30 20:55:39 +02:00
Wilhelm Schuermann
6e22a1f279
Tests: Use TASKDATA env variable in Bash tests
...
- Now that bash_tap.sh no longer uses subshells, TASKDATA can and
and should be used. This fixes a bug introduced with the switch
to "eval" where having TASKDATA set while running tests would
potentially lead to problems.
2015-08-30 18:34:29 +02:00
Paul Beckingham
28d872dd31
CmdCommands: Added command description column
...
- Shrunk the default widths of all the columns, for better spacing.
2015-08-29 12:32:17 -04:00
Paul Beckingham
70b252f280
CmdColumns: Added 'type'
2015-08-28 09:18:36 -04:00
Paul Beckingham
6c643d66dd
CmdCustom: 'rc.report.<report>.sort:none' now retains UUID order only
2015-08-28 07:36:04 -04:00
Paul Beckingham
ec0728ff8e
Filter: Implemented ::hasMiscellaneous
2015-08-28 07:24:50 -04:00
Paul Beckingham
3f4daeacf0
TW-1670: Reversed ranges are parsed as a mathematician would expect
...
- Thanks to Daniel Shahaf.
2015-08-27 23:22:28 -04:00
Paul Beckingham
eabd47b28b
TW-1671 task add: segfault with foo-bar:1
...
- Thanks to Daniel Shahaf.
2015-08-27 23:06:12 -04:00
Paul Beckingham
6a7f7b4c1c
TW-1675: project.not:something doesn't exclude project:something.subprojects
...
- Thanks to Ander.
2015-08-27 23:03:08 -04:00
Paul Beckingham
c61f7e6b8f
Footnote: New 'recur' verbosity token
2015-08-23 20:36:06 -04:00
Paul Beckingham
b1839adf97
TW-1664: Notify of waiting→pending promotion
...
- Thanks to Daniel Shahaf.
2015-08-23 16:59:22 -04:00
Paul Beckingham
4a9a515a36
Context: Corrected ::dispatch determination of need for CLI2::prepareFilter
2015-08-23 09:45:11 -04:00
Paul Beckingham
274d3dddd0
CLI2: Simplified logic for separating FILTER, MODIFICATION, MISCELLANEOUS args
2015-08-23 09:44:02 -04:00
Paul Beckingham
62a66bad9c
CLI2: Corrected detection of MISCELLANEOUS args
2015-08-22 13:31:55 -04:00
Paul Beckingham
b765825cca
Test: Added import status validation
2015-08-22 12:36:23 -04:00
Paul Beckingham
bc1aa0bc0f
TW-1666: import should reject invalid data
...
- Thanks to Daniel Shahaf.
2015-08-22 12:34:10 -04:00
Paul Beckingham
d640fed3d4
Task: 'wait:' bug fix
...
- When 'wait:' is specified, it no longer sets 'status:waiting' because there
is no value. Thanks to Daniel Shahaf.
2015-08-22 12:16:45 -04:00
Paul Beckingham
54fecafcec
Context: Eliminated 'readcmd' and 'writcmd' entities
2015-08-22 11:09:29 -04:00
Paul Beckingham
018592abac
CLI2: Colored diagnostics for MISCELLANEOUS args
2015-08-22 11:03:08 -04:00
Paul Beckingham
f850e0946b
CmdUnique: Converted to use CLI2::getWords
2015-08-22 11:02:35 -04:00
Paul Beckingham
908451cbf7
Test: Added more '_unique' tests
2015-08-22 08:51:49 -04:00
Paul Beckingham
257edc535a
CLI2: Eliminated READCMD/WRITECMD tags
...
- Now tags command with DNA.
2015-08-22 08:29:23 -04:00
Paul Beckingham
703cfdf2d6
Test: Added segfault test
...
- Thanks to Daniel Shahaf.
2015-08-22 08:16:07 -04:00
Paul Beckingham
4e9ec1b320
Task: Segfault protection
2015-08-22 07:45:10 -04:00
Paul Beckingham
23318103ed
CmdCustom: Special case sequence override
2015-08-17 19:14:58 -04:00
Paul Beckingham
1ec650edd2
Help: Clarified attribute modifiers in help
2015-08-17 08:55:23 -04:00
Paul Beckingham
358e0cc62d
Modifiers: "is" and "isnt" are now exact/inexact operators
2015-08-17 08:09:40 -04:00
Paul Beckingham
733e4e5aff
Task: Code cleanup
2015-08-15 23:51:34 -04:00
Paul Beckingham
d285f3a247
CmdSummary: Corrected duration formatting
2015-08-15 23:50:55 -04:00
Paul Beckingham
598a2e02fa
CmdStats: Restored sane formats for durations
2015-08-15 10:06:55 -04:00
Paul Beckingham
27fd8910ae
TW-1655: Inform "No changes made." when quitting early due to signal
...
- Thanks to Daniel Shahaf.
2015-08-14 17:20:16 -04:00
Paul Beckingham
5059897b50
Context: Code simplification
2015-08-14 16:31:57 -04:00
Paul Beckingham
8eb321d8f0
Test: Added simple failure in addition to SIGABRT
2015-08-14 11:26:40 -04:00
Paul Beckingham
a5c722361d
Test: Added bulk.t diagnostics
...
- Because running the test on different platforms doesn't show any errors,
but automated flod testing does. Mystery...
2015-08-14 11:10:11 -04:00
Paul Beckingham
d8e0cf714b
Configuration: 'search.case.sensitive' now defaults to 'yes' on Cygwin
...
- A Cygwin bug appears to have been fixed.
2015-08-14 11:09:01 -04:00
Paul Beckingham
cdc5b82e3f
Test: Added search case sensitivity to test
2015-08-14 10:36:54 -04:00
Paul Beckingham
5a7446bf4f
Test: Made test less ambiguous
2015-08-14 09:51:46 -04:00
Paul Beckingham
6724dd3766
Test: Reworked test to avoid faketime and self.t.runError
2015-08-14 09:13:10 -04:00
Paul Beckingham
32ba4594df
Documentation: Updated docs
2015-08-14 09:09:24 -04:00
Paul Beckingham
14a8246e22
Test: Added faketime warning to template
2015-08-14 09:08:58 -04:00
Paul Beckingham
f4bc3442a6
Test: Added note about faketime bug
...
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=750721
2015-08-14 08:50:02 -04:00
Paul Beckingham
7e8e826b1a
Test: Reverted timeout changes
2015-08-14 07:58:20 -04:00
Paul Beckingham
a89bb40a55
Test: Increased timeout - temporary change
2015-08-14 07:51:19 -04:00
Paul Beckingham
b06f0144ed
Test: Increased timeout for bulk test, which appears to matter
2015-08-14 07:44:49 -04:00
Paul Beckingham
2ac229c84f
Test: Typo fixed
2015-08-14 07:41:19 -04:00
Paul Beckingham
5f2fc6c5b6
Test: Corrected recurrence testing for confirmation
2015-08-14 07:36:34 -04:00
Paul Beckingham
8b68f7317c
Test: Added recurrence upgrade tests
2015-08-14 07:16:25 -04:00
Paul Beckingham
617d1eaf3b
Test: Removed TODO items that are done
2015-08-13 13:34:59 -04:00
Paul Beckingham
79041ba501
Test: Adjusted expected value
2015-08-13 07:05:29 -04:00
Daniel Shahaf
218f074609
Hooks: Improved comments in sample hook script
2015-08-12 23:21:16 -04:00
Paul Beckingham
78529f5110
Test: Corrected columns test
2015-08-12 22:32:58 -04:00
Paul Beckingham
5998ca71cc
Test: Corrected column test
2015-08-12 21:39:58 -04:00
Paul Beckingham
ffcc574c85
TW-1653: info report regression; shouldn't be context sensitive
...
- Thanks to David Patrick, Tomas Babej.
2015-08-12 21:39:04 -04:00
Paul Beckingham
995de68c90
ISO8601: Converted various calls of ::format to ::formatVague
2015-08-12 21:35:09 -04:00
Paul Beckingham
35b52c421b
ISO8601: Implemented ISO8601p::formatVague for short-form, rounded values
2015-08-12 16:22:13 -04:00
Paul Beckingham
565232eccd
Duration: Obsolete, removed
2015-08-12 11:41:15 -04:00
Paul Beckingham
14b36a5dc6
ColScheduled: Duration replaced by ISO8601p
2015-08-12 11:36:38 -04:00
Paul Beckingham
cc120689ee
ColRecur: Duration replaced by ISO8601p
2015-08-12 11:36:24 -04:00
Paul Beckingham
195a821781
ColDue: Duration replaced by ISO8601p
2015-08-12 11:36:08 -04:00
Paul Beckingham
25da9ee5cd
ColDate: Duration replaced by ISO8601p
2015-08-12 11:35:34 -04:00
Paul Beckingham
3563aa8414
ColUDA: Duration replaced by ISO8601p
2015-08-12 11:29:33 -04:00
Paul Beckingham
15e0fa5286
CmdBurndown: Duration replaced by ISO8601p
2015-08-12 11:29:13 -04:00
Paul Beckingham
6933ce137f
CmdInfo: Duration replaced by ISO8601p
2015-08-12 10:23:50 -04:00
Paul Beckingham
830b3e9562
CmdEdit: Duration replaced by ISO8601p
2015-08-12 10:17:58 -04:00
Paul Beckingham
e8fe7f0304
ISO8601: Fixed problem with uninitialized members
2015-08-12 10:07:43 -04:00
Paul Beckingham
593b334d5e
Test: Corrected test
2015-08-12 10:03:11 -04:00
Paul Beckingham
392a5dacd9
Task: Duration replaced by ISO8601p
2015-08-12 08:27:08 -04:00
Paul Beckingham
f17187a4b6
CmdSummary: Duration replaced by ISO8601p
2015-08-12 08:22:23 -04:00
Paul Beckingham
dbcd5dbe1d
Feedback: Duration replaced by ISO8601p
2015-08-12 08:21:13 -04:00
Paul Beckingham
dffb1abdf1
Variant: Duration replaced by ISO8601p
2015-08-12 08:04:29 -04:00
Paul Beckingham
a4371752c1
CmdStats: Duration replaced by ISO8601p
2015-08-12 08:02:15 -04:00
Paul Beckingham
a86e45c31e
ISO8601: Added time_t ctor
2015-08-12 08:01:43 -04:00
Paul Beckingham
29f17aed68
Lexer: Duration replaced by ISO8601p
2015-08-12 07:56:48 -04:00
Paul Beckingham
88eb355e3b
DOM: Duration replaced by ISO8601p
2015-08-12 07:54:12 -04:00
Paul Beckingham
ab7f0741d0
Recurrence: Duration replaced by ISO8601p
2015-08-12 07:52:17 -04:00
Paul Beckingham
aab9ea1563
Sort: Duration replaced by ISO8601p
2015-08-12 07:48:27 -04:00
Paul Beckingham
0f611a34e3
Test: Corrected final errors
...
- ISO8601p now contains all Duration functionality.
2015-08-12 07:38:22 -04:00
Paul Beckingham
6a2e8dcc54
Test: Corrected more expected values
2015-08-12 07:35:39 -04:00
Paul Beckingham
124381c5ff
Test: Corrected more test expectations
2015-08-12 00:19:01 -04:00
Paul Beckingham
ffda6b1ecf
Test: Corrected test expectations
2015-08-11 23:56:11 -04:00
Paul Beckingham
ad07e944cc
Test: Fixed some test expected values.
2015-08-11 23:47:29 -04:00
Paul Beckingham
1ec62bc652
Test: Corrected expected member values
2015-08-11 23:23:04 -04:00
Paul Beckingham
4a6df38e6a
ISO8601: Modifed ::format to use only precise values.
2015-08-11 23:13:23 -04:00
Paul Beckingham
f10f7cf690
TW-263: Unexpected zsh autocomplete behaviour
...
- Thanks to Leon Feng, Marc Cornellà.
2015-08-11 22:50:20 -04:00
Paul Beckingham
42e2bb0d1f
Test: Fixing duration tests
2015-08-10 09:03:41 -04:00
Paul Beckingham
35570b89cd
Test: Fxied broken tests
2015-08-09 17:26:33 -04:00
Paul Beckingham
645af76ddb
ISO8601: Merged Duration::parse functionality
2015-08-09 17:15:25 -04:00
Paul Beckingham
dfee4b485f
Nibbler: Added missing util.h
2015-08-09 16:53:50 -04:00
Paul Beckingham
f183d8829a
Test: Migrated Duration test to ISO8601p, which fail
2015-08-09 16:34:04 -04:00
Paul Beckingham
6dc7244fa6
ISO8601: Began merge of Duration and ISO8601p
2015-08-09 16:33:21 -04:00
Paul Beckingham
9cd10a5c1e
Legacy: Code cleanup
...
- Removed legacyCheckForDeprecatedColor.
2015-08-09 13:30:22 -04:00
Paul Beckingham
02173be81a
Duration: Addressed problem of UUID/Duration overlap
...
- The "d" unit is a special case, because it is the only one that can
legitimately occur at the beginning of a UUID, and be followed by an
operator:
1111111d-0000-0000-0000-000000000000
Because Lexer::isDuration is higher precedence than Lexer::isUUID,
the above UUID looks like:
<1111111d> <-> ...
duration op ...
So as a special case, durations, with units of "d" are rejected if the
quantity exceeds 10000.
2015-08-09 11:46:55 -04:00
Paul Beckingham
77ae4a3613
Task: Code cleanup
2015-08-09 10:43:43 -04:00
Paul Beckingham
f04a6177ac
Test: Another UUID validation test
2015-08-09 10:42:15 -04:00
Paul Beckingham
f16ce91d45
Test: Added a UUID parse test
2015-08-09 10:35:02 -04:00
Paul Beckingham
2a6a40d97b
Test: Verify that invalid UUIDs are not accepted
2015-08-09 10:26:10 -04:00
Paul Beckingham
3e7c9157a1
Task: Code cleanup
2015-08-09 10:20:49 -04:00
Paul Beckingham
4529bcf24a
Import: UUID attribute is now validated
2015-08-09 10:20:25 -04:00
Paul Beckingham
2a621a4367
TW-1636: UUID with numeric-only first segment is not parsed properly
...
- Switched Nibbler::getUUID to Nibbler::getPartialUUID, which caused partial
UUID mathcing to fail sometimes.
- Changed precedence to search for UUID before ID, which solves the numeric
UUID problem.
2015-08-08 00:49:54 -04:00
Daniel Shahaf
9cdabf288e
Test: Added sugar testß
2015-08-08 00:25:14 -04:00
Paul Beckingham
76f9475950
Test: Switched from 'out' to 'err' for a footnote message
2015-08-07 23:54:43 -04:00
Paul Beckingham
3ef8112173
Test: Modificed dependency test to not use abbreviated DOM refs
2015-08-07 19:34:23 -04:00
Paul Beckingham
ce0bd430d0
Test: Modified abbreviated DOM test
2015-08-07 19:33:57 -04:00
Paul Beckingham
38500fd90b
TW-1652: task rm misparsed
...
- Thanks to Daniel Shahaf.
2015-08-07 19:33:27 -04:00
Paul Beckingham
bbb0ac3d29
TW-1651: Provide opt-out of filter parser's id treatment
...
- Thanks to Daniel Shahaf.
2015-08-07 12:11:58 -04:00
Paul Beckingham
6f294e2968
Debug: rc.sugar enables ID/UUID snytactic sugar
...
- This is not documented. It is not for users.
2015-08-07 11:35:27 -04:00
Paul Beckingham
92d37e5124
Lexer: An 8-digit string is now allowed to be considered a UUID
2015-08-07 09:21:58 -04:00
Daniel Shahaf
d91c2b4138
Documentation: Added '!', the negation operator.
2015-08-07 00:35:05 -04:00
Paul Beckingham
f39ed79389
Revert "Test: Corrected wrong status in test"
...
This reverts commit a39e24cbb6 .
2015-08-06 22:52:19 -04:00
Paul Beckingham
41e9620371
Documentation: Added deprecated and removed feautres
2015-08-06 21:39:49 -04:00
Tomas Babej
3295e40678
tests: Fix tests expecting comma as a separator
2015-08-06 20:38:39 -04:00
Tomas Babej
1dbca67bb4
CmdIDs: Replace comma with space as a separator
2015-08-06 20:38:26 -04:00
Tomas Babej
6f53f40ad5
Docs: Document that comma-separated lists of IDs/UUIDs are not supported
2015-08-06 20:37:27 -04:00
Paul Beckingham
cfb0b99dbe
L10N: Added missing translation from previous commit
2015-08-06 19:00:24 -04:00
Tomas Babej
7ba98ea241
CmdLog: Display the UUID of the logged task
2015-08-06 18:58:05 -04:00
Paul Beckingham
889e36116c
Feedback: Improved feedback for tasks that do not have ID
...
- Thanks to Tomas Babej.
2015-08-06 18:56:07 -04:00
Tomas Babej
85990351e3
CmdAdd: Display UUID instead of ID 0 for completed tasks
2015-08-06 18:55:06 -04:00
Paul Beckingham
a39e24cbb6
Test: Corrected wrong status in test
2015-08-06 18:50:02 -04:00
Tomas Babej
11a0dc7290
tests: Expand tests for querying by UUIDS with short forms
2015-08-06 18:41:36 -04:00
Paul Beckingham
9cc9567cf4
CmdDiag: Added "diag" command details regarding file sizes
2015-08-06 18:38:18 -04:00
Paul Beckingham
1ddc9ac6fa
TW-1607: Theme Support for missing UDAs
...
- Thanks to Stefan Betz.
2015-08-05 23:21:15 -04:00
Paul Beckingham
d2efde2a70
TW-1344: Filter due:yyyy-mm-dd is failing to display daily recurring tasks if there is deleted task in the series
...
- Thanks to Svetoslav Trochev.
2015-08-05 23:00:41 -04:00
Paul Beckingham
7011bc3dbd
TW-1496: Translation manuals are outdated/miss information
...
- Thanks to Jens Erat.
2015-08-05 22:02:49 -04:00
Paul Beckingham
dcb8e62d3a
TW-1499: Invalid due date produces jump to beggining of the unix epoch
...
- Thanks to Tomas Babej.
2015-08-05 21:46:59 -04:00
Paul Beckingham
6cf04848e4
TW-1537: soww Synonym produces wrong date
...
- Thanks to Michael Meier.
2015-08-05 21:30:37 -04:00
Paul Beckingham
7ec2992ca8
TW-1611: soww weirdness
...
- Thanks to Wim Schuermann.
2015-08-05 20:50:56 -04:00
Paul Beckingham
9951231804
TW-1593: context and description substring
...
- Thanks to Peter Rochen.
2015-08-05 20:01:19 -04:00
Paul Beckingham
fb991cb814
TW-1598: (Bulk) modification of tasks unintentionally overwrites description if a context is active
...
- Thanks to Johannes Schlatow.
2015-08-05 19:59:35 -04:00
Paul Beckingham
a390a61175
TW-1624: Report filters combine incorrectly with command line with terminator.
2015-08-05 19:56:46 -04:00
Paul Beckingham
a8cba3c9c8
TW-1643: Batch modifying tasks under context sets description to '( )'
...
- Thanks to Leon Feng.
2015-08-05 19:54:51 -04:00
Paul Beckingham
85adfd31a5
TW-1594: Filter "due.before" with relative dates stopped working
...
- Thanks to Sebastien Badia.
2015-08-05 17:54:43 -04:00
Paul Beckingham
9348e5a509
Test: Improved tw-1630 tests
2015-08-05 17:07:17 -04:00
Paul Beckingham
2f61a7e946
TW-1630: "Due" parsing behavior seems inconsistent
...
- Thanks to Jim B.
2015-08-05 17:06:43 -04:00
Paul Beckingham
f9b5513882
Cleanup: Formatting code
2015-08-05 16:50:20 -04:00
Paul Beckingham
fda8161be8
Lexer: Added missing rollback
2015-08-05 08:16:17 -04:00
Paul Beckingham
036eb6b010
TW-1647: descriptions that are stringified ids
...
- Thanks to Daniel Shahaf.
2015-08-04 23:40:27 -04:00
Paul Beckingham
78170e0fd4
Signal: Removed useless attempt to trap SIGKILL
2015-08-04 22:31:01 -04:00
Paul Beckingham
f7ab55abeb
Lexer: Improved the recognition in ::isSet
2015-08-04 17:41:19 -04:00
Paul Beckingham
6e710bf9b5
Test: Added more lexer tests. More is better.
2015-08-04 17:33:40 -04:00
Paul Beckingham
c25204fc7a
Documentation: Scanned all man pages for errors
2015-08-04 17:21:19 -04:00
Paul Beckingham
113cd9af63
TW-1648: Typo in Documentation
...
- Thanks to Simon W. Jackson.
2015-08-04 17:12:43 -04:00
Paul Beckingham
024ac5dffb
Test: Added (modified) tests for TW-1647
2015-08-04 17:08:35 -04:00
Daniel Shahaf
6777e04957
Documentation: Document the inequality operators
2015-08-04 16:45:08 -04:00
Paul Beckingham
b61bf5b806
TW-1629: Descriptions often get overwritten with "( or )"
...
- Thanks to Jeremy John Reeder.
2015-08-03 16:51:49 -04:00
Paul Beckingham
37bd07883b
DOM: Clarified _get behavior
...
- It is an error to provide no DOM references (task _get).
- It is an error to provide bad DOM references (task _get donkey). In this
example, 'donkey' could be a UDA orphan.
- It is not an error for a valid DOM reference to yield no value.
2015-08-03 09:05:17 -04:00
Paul Beckingham
ebecaf420e
Debug: Display the final parse tree for rc.debug.parser=1.
2015-08-03 07:54:56 -04:00
Paul Beckingham
26f9e066e7
Test: Removed sensitivity on floating point formatting
2015-08-02 16:35:22 -04:00
Paul Beckingham
26f218a1e4
Test: Wrong color name
2015-08-02 16:22:13 -04:00
Paul Beckingham
c8287ba752
Test: Removed 16/256-color sensitivity in test
2015-08-02 16:12:09 -04:00
Paul Beckingham
a604e14ea9
Context: GC now only called when the commands request it
2015-08-02 15:54:24 -04:00
Paul Beckingham
0c85725a4c
CLI2: Plain arg detection was failing if the arg was the last arg
2015-08-02 11:17:05 -04:00
Paul Beckingham
d9fc334098
Context: Added filter prep for write commands that don't instantiate Filter
2015-08-02 10:26:05 -04:00
Paul Beckingham
941e8c9f37
CLI2: When applying extra filters, insert at the beginning, thus avoiding '--'
2015-08-02 10:20:12 -04:00
Paul Beckingham
1921ed77d5
CLI2: Removed command-specific logic in addContextFilter
...
- This is now driven by command DNA.
2015-08-02 10:14:15 -04:00
Paul Beckingham
7d5fad721e
Test: Removed another time-sensitive test
2015-08-02 10:13:37 -04:00
Paul Beckingham
758df84539
Context: Now obeys command DNA
...
- Applying a context filter is now performed only when a command requests it.
2015-08-02 10:08:04 -04:00
Paul Beckingham
8d5a60a2a2
Merge branch '2.4.5' of ssh://git.tasktools.org/tm/task into 2.4.5
2015-08-01 16:06:02 -04:00
Paul Beckingham
a57f0bbbc3
Documentation: Added the 'commands' command
2015-08-01 15:58:28 -04:00
Paul Beckingham
bf80c7d514
Cmd*: Added command DNA, which will ѕoon drive functionality
2015-08-01 15:56:04 -04:00
Paul Beckingham
d390433ec7
CmdCommands: Added 'commands' command to show command internal details
2015-08-01 15:47:21 -04:00
Paul Beckingham
234ad3d03b
ISO8601: Year validation should extend beyond 2100
2015-08-01 15:40:34 -04:00
Paul Beckingham
752e737f18
Command: Added DNA for commands
2015-08-01 11:20:17 -04:00
Paul Beckingham
3478d1f03b
Test: Removed date-sensitive test
...
- Removed test that assumes 'due:yesterday' matches '+MONTH', which of course
is not true for the 1st of the month.
2015-08-01 10:52:45 -04:00
Daniel Shahaf
3a7216cd9a
docs: Have report.X.annotations document its replacement
2015-08-01 09:42:33 -04:00
Paul Beckingham
b9ac0bf22d
Test: Merged filter-prefix.t and filter-empty.t into filter.t
2015-07-31 16:40:32 -04:00
Paul Beckingham
deb177a546
Test: Added ID misparse test
2015-07-31 16:23:47 -04:00
Wilhelm Schuermann
9e8c4ba813
Tests: Update bash_tap.sh
2015-07-30 17:39:16 +02:00
Wilhelm Schuermann
cd30295922
TW-1643: Add failing test
2015-07-30 13:13:38 +02:00
Paul Beckingham
5914418fb1
Test: Corrected util.cpp/confirm calls to check std::cin::eof
2015-07-29 22:37:59 -04:00
Wilhelm Schuermann
3433770e9b
l10n: Busy work
2015-07-29 19:38:16 +02:00
Wilhelm Schuermann
d3a3769ad4
Context: Make "context define" show usage info
...
- TW-1570 requested a "Do you want to set context $name now?" prompt
when defining a context; this does the next best thing and shows how
to activate the context right away.
2015-07-29 19:08:57 +02:00
Wilhelm Schuermann
4b9c2c4743
Tests: Adjust tw-46.t for rc.confirmation=on change
2015-07-29 07:09:23 +02:00
Paul Beckingham
6e1d30a2ef
Test: Once more...
2015-07-29 00:57:56 -04:00
Paul Beckingham
12de296d42
Test: Oops, broken C++ test build in #else
2015-07-29 00:53:16 -04:00
Paul Beckingham
0e3c35fbb1
Test: Made \d a DARWIN-only test and added portable alternatives
2015-07-29 00:49:36 -04:00
Paul Beckingham
0221a7e742
TW-158: JSON export should model dependencies as array
...
- Thanks to Nicholas E. Rabenau.
2015-07-29 00:37:09 -04:00
Paul Beckingham
2faa2f73b5
Tw-1426: Adding a date in 1963 (why not?) stores a negative epoch, which fails to export
...
- Thanks to Black Ops Testing.
2015-07-29 00:28:42 -04:00
Paul Beckingham
e0f7983a28
TW-1621: Recurrent parent tasks shouldn't be counted in history
...
- Tthanks to Denis Kasak.
2015-07-29 00:04:16 -04:00
Paul Beckingham
87c438d51d
TW-1555: Project Names Converted to Dates
...
- Thanks to Ryan.
2015-07-28 23:57:51 -04:00
Paul Beckingham
e508fd656b
TW-1637: project name "mod" interpreted as date
...
- Thanks to Wim Schuermann.
2015-07-28 23:44:58 -04:00
Paul Beckingham
16cee8e263
TW-1627: 'mon' is replaced with date in project field
...
- Thanks to James Cline.
2015-07-28 23:44:20 -04:00
Paul Beckingham
51cf195b99
CmdImport: JSON parse errors are assumed to imply old-style format
2015-07-28 23:22:04 -04:00
Paul Beckingham
6e5fe0631f
Test: Now sets rc.json.depends.array=off for testing
2015-07-28 21:59:53 -04:00
Paul Beckingham
0f4d3c1d60
Task: Dependencies are exported as a JSON array
...
- The 'json.depends.array' setting controls whether dedendencies are encoded as
a JSON array, or comma-separated string.
- The default value is on.
- Both forms are imported.
2015-07-28 21:54:29 -04:00
Paul Beckingham
caab26247c
TW-1642: After "--", an apostrophe unexpectedly ends the task description
...
- Thanks to Jeremy John Reeder.
2015-07-28 19:58:18 -04:00
Paul Beckingham
4e2062cd25
Test: Added test for TW-1642
2015-07-28 19:35:29 -04:00
Paul Beckingham
d4b450bc53
Test: Added Lexer::dequote tests
2015-07-28 19:33:58 -04:00
Paul Beckingham
f1651862a0
L10N: Removed unused strings
2015-07-28 17:07:29 -04:00
Paul Beckingham
387c981b6d
Test: Fixed error message
2015-07-28 16:57:40 -04:00
Paul Beckingham
1b764e1641
Test: Reverted change, because deletion propagates, and that's okay
2015-07-28 16:54:10 -04:00
Renato Alves
2ef6248f53
Test: Reorganize and cleanup bulk.t tests
2015-07-28 20:30:00 +01:00
Renato Alves
2f15bb8fa5
Test: Revert recurrence.t test as per comment
...
The comment mentions one behaviour but the test was performing another.
It was also failing for a different reason, which is filters with no
matches always exit with non-zero. If the correct behaviour is indeed
expiring all recurring tasks, the test must use runError instead.
Also added a TODO for easier finding.
2015-07-28 20:01:39 +01:00
Renato Alves
3908c29a21
Test: Add confirmation test on recurrence.t
...
I'm a little unsure about the correct behaviour here.
I would expect both features to depend on rc.recurrence.confirmation and
not rc.confirmation. Yet when rc.confirmation=on no prompt is shown
about recurring parents.
2015-07-28 19:59:19 +01:00
Renato Alves
0f8c995934
Test: Correct output message of an undo test
2015-07-28 19:57:18 +01:00
Renato Alves
64e7939122
Test: Add another test for truncated STDIN
2015-07-28 19:57:18 +01:00
Renato Alves
fe23510c51
Test: Drop default confirmation:off and correct tests accordingly
2015-07-28 19:57:18 +01:00
Renato Alves
1ad8aa9aec
Test: Add unexpected successes to problems script
2015-07-28 16:57:51 +01:00
Paul Beckingham
7956fbe9c0
Test: Added test of initial .taskrc generation
2015-07-28 10:03:10 -04:00
Paul Beckingham
e6a4b50da1
Test: Fixed mistake where the 'annual' variant was not run
2015-07-28 00:22:41 -04:00
Paul Beckingham
0747cc38aa
CmdImport: Removed unused method
2015-07-28 00:20:28 -04:00
Paul Beckingham
e1a102d717
Test: Corrected UDA tests
2015-07-28 00:08:49 -04:00
Paul Beckingham
8adb6ae889
DOM: Missing value UDAs now return "", not "''".
2015-07-28 00:07:51 -04:00
Paul Beckingham
e69a44e788
Test: Removed 'json.array:off'
2015-07-27 23:48:40 -04:00
Paul Beckingham
2961c3ee85
Test: Added free-form JSON test
2015-07-27 22:57:29 -04:00
Paul Beckingham
5c27f80432
Recurrence: updated code and ISO8601 recurrence processing
...
- Converted from 'atoi' to 'strtol'.
- Updated special handling for recurrence values to include ISO8601 durations.
2015-07-27 22:22:08 -04:00
Paul Beckingham
87e713e97c
Documentation: Removed Perl references
2015-07-27 22:21:15 -04:00
Paul Beckingham
44fc565f6d
Test: Updated test to have ISO8601 duration value
2015-07-27 20:48:56 -04:00
Paul Beckingham
84a9140763
Task: Stubbed duration storage change
2015-07-27 20:48:54 -04:00
Paul Beckingham
c2c26b338b
CmdImport: Added support for free-form JSON import
2015-07-27 20:48:51 -04:00
Paul Beckingham
5995320164
Task: Added a code path allowing parseJSON to be handed a JSON tree
2015-07-27 20:48:48 -04:00
Paul Beckingham
965b7cfd3d
JSON: Made ::dump const, because it should be
2015-07-27 20:48:45 -04:00
Renato Alves
8c36db1272
Test: Remove Perl from conversion script
2015-07-27 23:48:37 +01:00
Renato Alves
2a4674eb3b
Test: Convert bash_completion.t to Python
...
Last Perl test converted.
Celebration dance: ~o~ \o\ \o| |o| |o/ /o/ ~o~
2015-07-27 23:46:20 +01:00
Renato Alves
a5b8936f7a
Test: Simplify path construction of calc binary
2015-07-27 21:33:14 +01:00
Renato Alves
1b8e38fb7e
Test: Convert feature.559.t to Python
2015-07-27 19:42:38 +01:00
Paul Beckingham
f2ecb61edf
CLI2: PSEUDO args are no longer candidates for search terms
2015-07-27 02:36:35 -04:00
Paul Beckingham
d103862bff
Test: ID range support was dropped some time ago for dependencies
...
- 'task <id> modify depends:1-10' has not worked for a while. Not sure
it needs to be added.
2015-07-27 02:24:45 -04:00
Paul Beckingham
9c8edc4121
CLI2: ::desugarFilterPlainArgs now needs to look for Lexer::Type::identifier
2015-07-27 02:18:36 -04:00
Paul Beckingham
cd1bd1eec9
Test: Reduced performance sensitivity
2015-07-27 02:15:24 -04:00
Paul Beckingham
16620bed45
CLI2: Demoting Lexer::Type::dom args that fail to canonicalize no longer makes sense
2015-07-27 02:13:43 -04:00
Paul Beckingham
1021bb530a
Test: 'a360fc44-315c-4366-b70c-ea7e7520b749.foo.bar' is not a DOM ref because '.foo.bar' isn't
2015-07-27 01:54:38 -04:00
Paul Beckingham
a5507678e8
Lexer: ::isDOM failed to enforce minimum size before allowing no endBoundary
2015-07-27 01:53:32 -04:00
Paul Beckingham
c2f08c8f05
Lexer: Bug in ::isDOM required '.' separators to have endBoundary
2015-07-27 01:52:59 -04:00
Paul Beckingham
99a53edca0
Lexer: ::isLiteral now stops at EOS
2015-07-27 00:57:30 -04:00
Paul Beckingham
f2fe397048
Test: Removed time-sensitive tests
...
- Removed assumptions that 'due:eow' matched +MONTH.
- Removed assumptions that 'due:eom' didn't match +WEEK.
2015-07-27 00:38:24 -04:00
Paul Beckingham
0c7e731b0d
Lexer: Integrated ::commonLength
...
- Uses std::string::size_type for all string lengths, offsets.
- Rewrote ::isLiteral to be simpler.
- Added support for abbreviated DOM refs.
- Obeys rc.abbreviation.minimum, indirectly.
- Added tests.
2015-07-27 00:31:15 -04:00
Paul Beckingham
a9b701ae6d
Lexer:: Implemented ::commonLength with offsets, for embedded parsing
2015-07-27 00:04:00 -04:00
Paul Beckingham
244c81a647
Lexer: Implemented ::commonLength for word root comparison
2015-07-26 23:52:17 -04:00
Paul Beckingham
f5792a03fb
Lexer: Captures minimumMatchLength for abbreviated attribute matching
2015-07-26 22:58:02 -04:00
Paul Beckingham
8406dd4c6f
Documentation: Updated README
2015-07-26 17:12:24 -04:00
Paul Beckingham
466d1ddb69
Test: Cleaned up lexer.t.cpp
...
- Added more DOM types for testing.
- Added attribute/type mapping to give Lexer a chance to find DOM refs.
- Recategorized DOM-like token to Lexer::Type::identifier, because now DOM
parsing is more precise.
2015-07-26 16:21:10 -04:00
Paul Beckingham
4646a86d4d
Lexer: Added missing rc.<name> DOM parsing
2015-07-26 16:18:58 -04:00
Paul Beckingham
97e52c8f17
CmdInstall: Removed obsolete, unlinked code
2015-07-26 14:17:08 -04:00
Paul Beckingham
7eae358aca
Documentation: Improved zsh support (thanks to Daniel Shahaf).
2015-07-26 14:15:27 -04:00
Paul Beckingham
3158883dc4
Cleanup: De-tabbed source
2015-07-26 14:13:29 -04:00
Paul Beckingham
5b61420b52
CmdCommands: zshCommand::operator< wanted to be const for clang 3.2
2015-07-26 14:12:36 -04:00
Daniel Shahaf
aea3091bdb
zcmdcat: Refactor for clang 3.0 compatibility
2015-07-26 14:04:58 -04:00
Daniel Shahaf
c78fc47402
zcmdcat: zsh completion: group commands by category
2015-07-26 14:01:59 -04:00
Daniel Shahaf
5ca1dd540e
zcmdcat: Categorize 'task context'.
2015-07-26 14:00:02 -04:00
Daniel Shahaf
de9a815063
zcmdcat: Categorize 'task install'.
2015-07-26 13:57:37 -04:00
Daniel Shahaf
53a702d79a
zcmdcat: Categorize commands.
2015-07-26 13:55:23 -04:00
Daniel Shahaf
c83f702f58
zcmdcat: Categorize reports.
2015-07-26 13:51:33 -04:00
Daniel Shahaf
8eb965d71d
zcmdcat: Initial infrastructure.
2015-07-26 13:49:19 -04:00
Paul Beckingham
f5571c80c6
Lexer: Rewrote ::isDOM to perform exact matching, not pattern matching
2015-07-26 12:22:35 -04:00
Paul Beckingham
d0c4326af3
Lexer: Upgraded attributes vector to a map of name to type
2015-07-26 12:22:02 -04:00
Paul Beckingham
52d2bbd11a
Lexer: Implemented ::isOneOf using a std::map as input
2015-07-26 12:09:40 -04:00
Paul Beckingham
58edbb9630
DOM: Aligned comments with Lexer
2015-07-26 12:08:40 -04:00
Paul Beckingham
18295a3b32
Test: Added Lexer::isLiteral and Lexer::isOneOf tests
2015-07-26 10:56:18 -04:00
Paul Beckingham
391d527328
Lexer: Added end-boundary sensitivity to ::isLiteral and ::isOneOf
2015-07-26 10:48:26 -04:00
Paul Beckingham
3e74aa51e2
Lexer: Added 'endBoundary' requirement to ::isUUID
2015-07-25 17:59:40 -04:00
Paul Beckingham
f910ce39de
Test: Added TODO notes for further test scenarios
2015-07-25 17:55:39 -04:00
Paul Beckingham
c769891b76
Lexer: Implemented ::isInteger to help parsing.
2015-07-25 17:54:55 -04:00
Paul Beckingham
37e31e8e0b
Lexer: Implemented ::isOneOf, to help with parsing
2015-07-25 17:34:51 -04:00
Paul Beckingham
9394b96202
Lexer: Implemented ::isLiteral, to help with parsing
2015-07-25 17:34:01 -04:00
Paul Beckingham
7354a8f13f
CLI2: Context not applied for certain commands and args
...
- The 'undo', 'export' and all helper commands are exempt from context
filtering.
- Any command line containing a FILTER with Lexer:Type::set or Lexer::Type:uuid
is also exempt from context filtering.
2015-07-25 17:23:06 -04:00
Paul Beckingham
3fd8545d43
Test: Propagated typo fix to tests
2015-07-25 14:07:14 -04:00
Paul Beckingham
1dc1cf0cb7
Test: Added explanation
2015-07-25 14:06:32 -04:00
Paul Beckingham
77190eda6c
Test: Added space separator for DOM output
...
- When using multiple arguments (task _get 1.due 2.due), the results are
separated by a space, even if the values are blank. The consistency of this
is good, but the test ignored it.
2015-07-25 14:05:12 -04:00
Paul Beckingham
d05cb1c147
L10N: Typo fix
...
- Thanks to Daniel Shahaf.
2015-07-25 14:03:50 -04:00
Paul Beckingham
804c3526ba
Test: Accepted the de facto behavior is better than the intended behavior
...
- Adding an 'until' date to a recurring task is propagated to the task instances
and they expire at the same time. It was assumed otherwise, but the working
behavior is better.
2015-07-25 14:00:27 -04:00
Paul Beckingham
42d5ebfd4b
Test: Reduced sensitivity of test
...
- Some virtual tags appear only when a task is due in the same MONTH, so it is
easy to imagine on July 31st testing 'due:tomorrow' and it being a different
month.
2015-07-25 13:59:08 -04:00
Paul Beckingham
5f30c9e2c3
Feature: Extra arg detection
...
- Commands that do not accept filters or modifications now generate an error
when extra arguments are specified.
2015-07-25 13:58:15 -04:00
Paul Beckingham
8684639f72
Filter: Implemnted ::hasFilter to detect command line filters
2015-07-25 10:01:06 -04:00
Paul Beckingham
99e0953489
TW-1641: 'edit' should process or reject <mods> arguments
...
- Thanks to Daniel Shahaf.
2015-07-25 09:39:13 -04:00
Paul Beckingham
7aa101de58
Filter: Implemented ::hasModifications to detect command line modifications
2015-07-25 09:28:55 -04:00
Paul Beckingham
6510026189
RC: Conditional compilation regarding REG_ENHANCED.
2015-07-25 01:04:11 -04:00
Paul Beckingham
6c31098ad2
CLI2: Context no longer applies to any helper command.
2015-07-25 01:01:24 -04:00
Paul Beckingham
3df84516d2
RX: Was missing REG_ENHANCED, which omits \d support
2015-07-25 00:43:48 -04:00
Paul Beckingham
4f0e32b69b
Lexer: Improved ::decomposePattern to extract raw string
2015-07-25 00:34:18 -04:00
Paul Beckingham
41a76c6798
Tags: New 'UDA' and 'ORPHAN' virtual tags.
2015-07-24 23:46:24 -04:00
Paul Beckingham
297b0c4b04
Dates: Added exact-match 'eaѕter' logic
...
- Without checking for an exact match for 'easter', the date 'easter' is a
valid partial match for 'eastermonday'.
2015-07-24 22:57:47 -04:00
Paul Beckingham
0f72d3d502
TW-1640: '_get <id>.start' for an inactive tasks returns a date formatted from epoch 0.
2015-07-24 22:47:50 -04:00
Paul Beckingham
ebbd20b719
Test: Extended dom tests
2015-07-24 18:50:21 -04:00
Paul Beckingham
61a9eec512
Documentation: Updated for 2.4.5/2.5.0
2015-07-24 18:49:21 -04:00
Paul Beckingham
564a84d603
Test: Merged tw-285.t into tag.t
2015-07-24 17:38:15 -04:00
Paul Beckingham
7357d1003d
Test: Converted to Python, enabled
2015-07-24 17:12:37 -04:00
Paul Beckingham
4eeea35c7e
Test: Removed obsolete tests
...
- Addtionally removed rc creation test, which did almost nothing
2015-07-24 17:04:15 -04:00
Paul Beckingham
29b18c216c
Test: Converted to Python
2015-07-24 17:01:57 -04:00
Paul Beckingham
70e4d16768
util: Sends all read input to debug output
2015-07-24 12:51:52 -04:00
Paul Beckingham
18046ae92d
util: Deliberately initializing confirmation responses inside the loop
2015-07-24 12:49:11 -04:00
Renato Alves
68debe2561
Test: Mark known failure as expectedFailure and add note
2015-07-24 17:24:06 +01:00
Renato Alves
846e09cfc3
Test: Convert bug.955.t and merge with recurrence.t
2015-07-24 16:09:42 +01:00
Renato Alves
92b71a76fc
Test: Fix flapping test
...
Every now and then "Age" would show up breaking the column matching
2015-07-24 15:51:47 +01:00
Renato Alves
9d09d35c59
Test: Convert bug.calc.t to Python
2015-07-24 15:33:26 +01:00
Renato Alves
3c7187d801
Tests: Create compat.py for Python 3 compatibility
...
Individual tests are not yet fully compatible with Python 3.
Some still have issues with I/O encoding/decoding. The painful part...
2015-07-24 15:29:41 +01:00
Renato Alves
341b528980
Tests: More Python 3 compatibility changes
2015-07-24 15:29:41 +01:00
Renato Alves
ce4f67e1bd
Test: Convert calc.t to Python
2015-07-24 15:29:41 +01:00
Renato Alves
600b3f7656
Test: Remove unused import
2015-07-24 15:29:41 +01:00
Paul Beckingham
773b133562
Test: Converted to Python
2015-07-24 08:57:34 -04:00
Paul Beckingham
f1b06bff93
Test: Converted to Python
2015-07-24 08:20:31 -04:00
Paul Beckingham
8c4188f705
Test: Converted to Python
2015-07-24 00:01:09 -04:00
Paul Beckingham
1f3ffac893
Test: Merged start_NEW.t into start.t
2015-07-23 23:35:56 -04:00
Paul Beckingham
e05b31a89f
Test: Converted to Python
2015-07-23 23:14:05 -04:00
Paul Beckingham
a3f4c08659
Test: Converted to Python
2015-07-23 22:51:52 -04:00
Paul Beckingham
3329d5d037
Test: Converted to Python
2015-07-23 22:33:38 -04:00
Paul Beckingham
84b1921b36
CmdInfo: Fixed bug that caused UDA orphans to not be displayed
2015-07-23 22:32:48 -04:00
Paul Beckingham
288b86c3c3
Test: Merged custom.columns.t into columns.t
2015-07-23 21:02:59 -04:00
Paul Beckingham
86171d9fb3
Test: Converted to Python
2015-07-23 20:49:05 -04:00
Paul Beckingham
11e7049d19
Test: Merged bug.uuid.t with uuid.t
2015-07-23 20:29:07 -04:00
Paul Beckingham
9a5d388cca
TW-1533: dateformat confusion, regress tests
...
- Thanks to Peter Rochen.
2015-07-23 19:31:10 -04:00
Paul Beckingham
09d7cdb7a9
Test: Merged list.all.tags.t into tag.t and converted to Python
2015-07-23 19:29:18 -04:00
Paul Beckingham
45a0cec0ff
Test: Removed obsolete tests
...
- The cal.t tests went to great lengths testing colors applied to days, which
months were shown, which holidays, and which tasks. These proved to be very
sensitive to other, non-calendar changes over the years, and the tests are
now deleted.
Better tests that are less fragile and more feature-oriented will be created
to take their place.
2015-07-23 19:20:28 -04:00
Paul Beckingham
fc97513aa4
Test: Converted to Python
2015-07-23 19:09:45 -04:00
Paul Beckingham
19baeba5da
Test: Converted to Python
2015-07-23 18:12:30 -04:00
Paul Beckingham
27bd2b21dc
Test: Cleanup
...
- Removed obsolete bug.sort.t.
- Removed unused method from test classes.
2015-07-23 17:34:42 -04:00
Paul Beckingham
937820a883
Test: Converted to Python
2015-07-23 17:26:07 -04:00
Paul Beckingham
e0275d404f
Test: Merged bug.932.t into recurrence.t
2015-07-23 17:20:00 -04:00
Paul Beckingham
18a41fde59
Test: Converted to Python
2015-07-23 17:00:32 -04:00
Paul Beckingham
a532855a48
Test: Converted to Python
2015-07-23 16:49:41 -04:00
Paul Beckingham
54e61fd06c
Test: Merged history.annual.t and history.monthly.t into history.t
2015-07-23 16:36:57 -04:00
Renato Alves
c830e32c48
Test: Ensure delete behaves on closed STDIN (single and bulk)
2015-07-23 18:41:00 +01:00
Renato Alves
52746e8504
TAP: Don't fail on errors during setUpClass
2015-07-23 17:42:41 +01:00
Renato Alves
580754a65a
Test: Convert timesheet.t to Python
2015-07-23 17:42:16 +01:00
Paul Beckingham
b90d4a3aaf
Test: Converted to Python
...
- Also clarified what it does.
2015-07-23 11:24:49 -04:00
Paul Beckingham
064b3f7f0d
Test: Converted to Python
2015-07-23 11:09:56 -04:00
Paul Beckingham
298c9b2dde
Test: Converted to Python
2015-07-23 09:55:47 -04:00
Paul Beckingham
9dc6772f78
Test: Removed obsolete test
...
- The 'override.t' was testing a removed feature, but so poorly written that it
passed despite the removal of the feature.
2015-07-23 08:34:19 -04:00
Paul Beckingham
5cd80c21ae
Test: Removing obsolete 'next.t'
...
- The 'next.t' test is obsolete, testing the old 'next' report (with no
urgencies), but doing it so poorly that the tests stll pass, even though the
report behaves very differently now.
2015-07-23 08:25:25 -04:00
Paul Beckingham
0aa11e6398
Test: Removed bug.start.t, which is duplicated in enpassant.t
2015-07-23 08:21:51 -04:00
Paul Beckingham
f61a875e42
Test: Converted to Python
2015-07-23 08:20:14 -04:00
Paul Beckingham
13ce276b8c
Test: Merged bug.recur.t into recurrence.t
2015-07-23 07:51:41 -04:00
Paul Beckingham
93f1bc531d
Test: Converted to Python
2015-07-23 07:47:56 -04:00
Paul Beckingham
c230a4ad2c
Test: Converted to Python
2015-07-23 07:35:58 -04:00
Paul Beckingham
24bb606a52
TW‐1566: Context is applied on 'task export'
...
- Thanks to Tomas Babej.
2015-07-23 07:25:35 -04:00
Paul Beckingham
0021bf75e9
Test: Converted to Python
2015-07-22 23:51:18 -04:00
Paul Beckingham
0150938de8
Test: Converted to Python
2015-07-22 23:40:40 -04:00
Paul Beckingham
0947e1edbe
Test: Converted to Python
2015-07-22 23:31:47 -04:00
Paul Beckingham
d7078d6e05
Test: Concerted to Python
2015-07-22 23:19:13 -04:00
Paul Beckingham
fdee550757
Test: Converted to Python
2015-07-22 23:12:33 -04:00
Paul Beckingham
fe26e39a5d
Test: Merged bug.804.t into hyphenate.t
2015-07-22 23:04:38 -04:00
Paul Beckingham
38b056b289
Test: Converted to Python
2015-07-22 23:00:30 -04:00
Paul Beckingham
dbb87d2642
Test: Converted to Python
2015-07-22 22:45:17 -04:00
Paul Beckingham
bc1ad00e0c
Test: Converted to Python
2015-07-22 22:38:50 -04:00
Paul Beckingham
f070f09176
Test: Cnoverted to Python
2015-07-22 22:28:35 -04:00
Paul Beckingham
15226b8a5b
Test: Converted to Python
2015-07-22 22:11:53 -04:00
Paul Beckingham
60a5eccbd0
Test: Converted to Python
2015-07-22 21:21:46 -04:00
Paul Beckingham
e1f01c46ae
Test: Converted to Python
2015-07-22 21:10:48 -04:00
Paul Beckingham
8b278adea6
Test: Removed obsolete test
...
- The test is whether TASKDATA and TASKRC function correctly, which is a
fundamental part of the test framework and therefore working.
2015-07-22 20:49:38 -04:00
Paul Beckingham
0e46a04d73
Test: Fixed typo
2015-07-22 20:47:34 -04:00
Paul Beckingham
3aa8683bd0
Test: Converted to Python
2015-07-22 20:42:47 -04:00
Paul Beckingham
52fdd844eb
Test: Converted to Python
2015-07-22 20:19:58 -04:00
Paul Beckingham
9418c418ca
Test: Removed unnecessary method
2015-07-22 20:19:30 -04:00
Paul Beckingham
88f8acf789
Test: Converted to Python
2015-07-22 20:12:15 -04:00
Paul Beckingham
c84e75a689
Test: Converted to Python
2015-07-22 18:48:48 -04:00
Paul Beckingham
dd10f6da6b
Test: Converted to Python
2015-07-22 18:38:16 -04:00
Paul Beckingham
94048fae0f
Test: Added 'Bash' category to conversion script
2015-07-22 18:03:17 -04:00
Wilhelm Schuermann
d28cff7cae
TW-158: Make tests more specific
2015-07-22 23:33:42 +02:00
Wilhelm Schuermann
0f4cbc5dc9
TW-158: Add failing tests
2015-07-22 23:03:02 +02:00
Wilhelm Schuermann
6f3957d858
TW-46: Add test, expect failure for now
2015-07-22 19:57:31 +02:00
Paul Beckingham
ba155aead3
TW-1638 Undo doesn't work when a context is set
...
- Thanks to Jeremy John Reeder.
2015-07-22 11:37:10 -04:00
Renato Alves
5ef5c3c70f
Test: convert json_test.t to Python
2015-07-22 16:12:26 +01:00
Renato Alves
5691dd9c79
Tests: generalize MetaTest approach
2015-07-22 16:11:15 +01:00
Renato Alves
3c89d61a53
Test: Merge bug.634.t with undo.t
2015-07-22 13:00:52 +01:00
Paul Beckingham
28cae3a8cb
Report: Improved column name
2015-07-20 16:03:59 -04:00
Wilhelm Schuermann
d9dc685feb
Tests: Parallelize bash_tap.sh tests
...
- bash_tap.sh, like the Python test suite, runs tests in a temporary
directory and can be parallelized.
2015-07-20 20:33:52 +02:00
Paul Beckingham
129aeb1845
Import/Export: Relocated add-ons online, removed tests
...
- The scripts/add-ons/{im,ex}port* examples are relocated online under
https://taskwarrior.org/tools/index.html#exts .
- The corresponding tests are no longer needed.
- The Perl JSON module is no longer required.
2015-07-20 08:00:03 -04:00
Wilhelm Schuermann
7007ab46d6
TW-1637: Add test using bash_tap.sh
2015-07-20 13:54:26 +02:00
Wilhelm Schuermann
4e7a63a8e6
Tests: Include bash_tap.sh for quick Bash tests
2015-07-20 13:54:26 +02:00
Paul Beckingham
3590b579b5
TW-1452: The uuid:<uuid> filter does not work
...
- Thanks to Tomas Babej.
2015-07-20 00:30:39 -04:00
Paul Beckingham
c4cd855876
TW-1472: Syntactic sugar morphs into regex expressions, even if turned off
...
- Tthanks to Richard Boß.
2015-07-20 00:28:05 -04:00
Paul Beckingham
3cdb58b75e
TW-1478: due:easter sets the easter of the current year regardless of the date
...
- Tthanks to David Costa.
2015-07-19 23:52:20 -04:00
Paul Beckingham
95a3c5a2b3
TW-1466: UDA with type duration is stored as text/string
...
- Thanks to Thomas Sullivan.
2015-07-19 23:47:36 -04:00
Paul Beckingham
9c90d98418
TW-1485: can't delete recurring tasks (except by workaround)
...
- Thanks to Dustin J. Mitchell.
2015-07-19 23:42:17 -04:00
Paul Beckingham
b7fafcb062
Test: Corrected use of quotes
2015-07-19 23:29:37 -04:00
Paul Beckingham
d6f977e2dd
Lexer: Boosted precedence of UUID detection
2015-07-19 23:27:27 -04:00
Paul Beckingham
1c2500a8a1
Test: Added more Lexer UUID tests, which are needed
2015-07-19 23:17:43 -04:00
Paul Beckingham
eab8ef9bc1
Test: Updated attmod test because of new rules
2015-07-19 21:16:18 -04:00
Paul Beckingham
00512d94cf
Test: Added _urgency command error tests
2015-07-19 21:02:41 -04:00
Paul Beckingham
f68911801c
Test: Added _show test
2015-07-19 20:55:16 -04:00
Paul Beckingham
e3941b920a
Test: Added dulicate verbosity test
2015-07-19 20:52:14 -04:00
Paul Beckingham
e4b2750656
Test: Added empty filter duplicate test
2015-07-19 20:48:39 -04:00
Paul Beckingham
50a052990c
Test: Added denotate test
2015-07-19 20:45:42 -04:00
Paul Beckingham
2b5aba85ae
Test: Enabled hooks before running diag, to get more info
2015-07-19 20:34:15 -04:00
Paul Beckingham
b02c4a209a
Test: Added helper commands test home
2015-07-19 20:31:50 -04:00
Daniel Shahaf
9360bd577f
Feature: Editing failure stops all editing of multiple tasks
...
- Thanks to Daniel Shahaf.
2015-07-19 20:23:10 -04:00
Paul Beckingham
f1251303de
Date: Collapsed 'sunday' and 'sun' into a closeEnough() call
...
- Removed the STRING_DATE_JANUARY_LONG and STRING_DATE_JANUARY_SHORT,
replacing them with STRING_DATE_JANUARY and a call to closeEnough().
This means you can enter 'jan', 'janu', 'janua', 'januar', 'january',
instead of only 'jan' or 'january'.
2015-07-19 19:52:36 -04:00
Paul Beckingham
2dd2bd22b8
Test: Added abbreviated date tests
2015-07-19 19:09:31 -04:00
Paul Beckingham
f36c14e6b4
TW-1515: abbreviation.minimum does not apply to date recognition
...
- Thanks to Lars Beckers.
2015-07-19 19:08:38 -04:00
Paul Beckingham
a007d6c174
TW-1521: task project!=PROJECTNAME does not work (Regression)
...
- Thanks to Florian Petry.
2015-07-19 18:09:55 -04:00
Paul Beckingham
063255ba16
TW-1553: Setting defaultheight:0 makes burndown command hang
...
- Thanks to Tomas Babej.
2015-07-19 17:59:14 -04:00
Paul Beckingham
ff53919af1
TW-1543: cmake complains "test" is not a valid target (on arch linux)
...
- Thanks to Renato Alves.
2015-07-19 17:29:23 -04:00
Johannes Wienke
db0cb5a555
fish completion: use literal tabs in sed calls
...
sed on OS X does not understand \t. Therefore, replace all \t's with
literal tabs.
2015-07-19 16:52:34 -04:00
Paul Beckingham
daf56db8ec
Test: Corrected test to match attmod behavior
2015-07-19 16:17:11 -04:00
Paul Beckingham
a268fac484
Test: Added tw-1630.t, which fails
2015-07-19 15:26:02 -04:00
Paul Beckingham
d1d7ef64fa
TW-1635: Running "task anystringatall" does not filter anything
...
- Thanks to Tomas Babej.
2015-07-19 15:16:01 -04:00
Paul Beckingham
9cb6bc1a42
Test: Added search tests
2015-07-19 15:15:03 -04:00
Paul Beckingham
c8d0a22fac
Cleanup: Fixed inconsistent comments
2015-07-19 15:06:19 -04:00
Paul Beckingham
7ee8ad4e44
TW-1634: due.not:<date> excludes only tasks scheduled at mitnight
...
- Thanks to Tomas Babej.
2015-07-19 14:48:35 -04:00
Paul Beckingham
d18a46da01
Test: Added diagnostics command test
2015-07-18 19:34:34 -04:00
Renato Alves
7ab4142c07
Test: Minor style change
2015-07-19 00:18:04 +01:00
Paul Beckingham
575caffe13
Column: Removed unnecessary base class virtuals
2015-07-18 19:04:55 -04:00
Paul Beckingham
079a2dd56d
Test: Added append and prepend with propagation
2015-07-18 18:55:17 -04:00
Paul Beckingham
301f897282
Test: Added _projects test
2015-07-18 18:46:48 -04:00
Paul Beckingham
93cba3d880
Test: Added info.t
2015-07-18 18:41:00 -04:00
Paul Beckingham
30f4222b9e
Test: Added tests for deleting recurring tasks
2015-07-18 16:19:26 -04:00
Paul Beckingham
43dbab0f23
Merge branch '2.4.5' of ssh://git.tasktools.org/tm/task into 2.4.5
2015-07-18 15:54:45 -04:00
Paul Beckingham
a1b4f338cd
Test: Added start tests
2015-07-18 15:54:03 -04:00
Wilhelm Schuermann
3f1b8304b0
l10n: Fix typos
2015-07-18 21:52:18 +02:00
Paul Beckingham
476561fb87
Test: Added _config tests
2015-07-18 15:48:35 -04:00
Paul Beckingham
130f98175a
Test: Added _tags tests
2015-07-18 15:21:14 -04:00
Paul Beckingham
05359735ff
Test: Added annotation tests
2015-07-18 15:15:36 -04:00
Paul Beckingham
1506ae9ff1
Test: Added edit test of a fully-loaded task
2015-07-18 14:57:26 -04:00
Paul Beckingham
9541a63321
Test: Added UDA format tests
2015-07-18 14:49:10 -04:00
Paul Beckingham
d66d53a013
CmdColumns: Added <uda> to the sample column formats
2015-07-18 14:38:38 -04:00
Paul Beckingham
3619cf219d
Test: Added col.t to test Column::measure
2015-07-18 14:11:14 -04:00
Paul Beckingham
428209e128
Test: Extended history tests to cover ghistory
2015-07-18 13:54:14 -04:00
Paul Beckingham
09fb6524cc
Test: Added tags format tests
2015-07-18 13:43:42 -04:00
Paul Beckingham
56f806e251
Test: Added unrecognized format tests
2015-07-18 13:32:07 -04:00
Paul Beckingham
45cc7fee95
Test: Added color.cmd.t
2015-07-18 13:15:50 -04:00
Paul Beckingham
b1b1d97866
Bug: ID column width calculations were wrong
...
- Fixed width calculations, which were wrong for tasks with ID numbers greater
than 9999.
- Added simple (fast) heuristic for ID widths for ID number up to 100000. 64Kb
RAM ought to be enough for anybody.
2015-07-18 13:08:37 -04:00
Paul Beckingham
9c9808e141
Test: Added project column formatting tests
2015-07-18 12:02:25 -04:00
Paul Beckingham
a37b5d6213
Test: merged all recurrence scripts into one
...
- The new recurrence.t includes all previous tests.
- A list of TODO items at the bottom indicates further needs.
2015-07-18 11:25:47 -04:00
Paul Beckingham
d753bb747b
Columns: Removed unnecessary virtual overrides
2015-07-18 00:43:51 -04:00
Paul Beckingham
b37caeaa68
Test: Added test for burndown chart
2015-07-18 00:24:37 -04:00
Paul Beckingham
843f78e361
Test: Added tests for 'reports' command
2015-07-18 00:06:06 -04:00
Paul Beckingham
2d5105045d
Test: Added test for the 'show' command
2015-07-18 00:00:31 -04:00
Paul Beckingham
afab04b2f7
CmdShow: Fixed text formatting bug
...
- Two feedback messasges got concatenated, with no spacing in between.
2015-07-17 23:58:18 -04:00
Paul Beckingham
f601ae5d8c
UTF8: Latest wcwidth.c from Markus Kuhn.
...
- http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c
2015-07-17 23:45:32 -04:00
Paul Beckingham
e39f610a68
ColDate: Removed Col* virtual overrides that delegate back to the base
2015-07-17 23:23:43 -04:00
Paul Beckingham
40c472e3d5
Test: Added 'udas' and '_udas' command tests
2015-07-17 22:58:45 -04:00
Paul Beckingham
7eba74a0bc
Test: Added more column format tests
2015-07-17 22:48:44 -04:00
Paul Beckingham
ba4c0ce843
Test: Added more status tests
2015-07-17 22:33:54 -04:00
Paul Beckingham
5b0c3af927
Test: Added export limit test
...
- Thanks to Daniel Shahaf.
2015-07-17 22:14:18 -04:00
Paul Beckingham
2dbe06aaa1
Test: Added Duration::formatSeconds test
2015-07-17 22:10:14 -04:00
Paul Beckingham
649604e015
Test: Added debug hooks mode tests
2015-07-17 22:09:51 -04:00
Paul Beckingham
5fa62565ea
Test: Added debug mode tests
2015-07-17 22:02:54 -04:00
Paul Beckingham
c86b562a4a
Test: Added more date tests
2015-07-17 21:51:07 -04:00
Paul Beckingham
0449215bbb
Test: Added test for 'stats' command
2015-07-17 21:37:38 -04:00
Paul Beckingham
e68ae3f880
Test: Added DOM test with missing reference
2015-07-17 21:29:04 -04:00
Paul Beckingham
9a390644ef
Test: Added export limit test
2015-07-17 21:25:42 -04:00
Paul Beckingham
5da06e3e31
Test: Test that the logo command produces output
2015-07-17 21:12:22 -04:00
Paul Beckingham
5090a7d730
Test: Added _aliases command test
2015-07-17 21:08:05 -04:00
Paul Beckingham
bf0b074f45
Column: Dead code removal
2015-07-17 20:59:52 -04:00
Paul Beckingham
733be3462a
Test: Added status.{long,short} format tests
2015-07-17 20:56:28 -04:00
Paul Beckingham
58f9dd5eb4
Test: Corrected decimal commify tests
2015-07-17 20:19:40 -04:00
Paul Beckingham
9ae6c5ae7a
Test: Added Path::is_link test
2015-07-17 20:14:35 -04:00
Paul Beckingham
b522eecf8d
Test: Added format test
2015-07-17 20:10:34 -04:00
Paul Beckingham
ca62874515
Test: Added find() offset case-insensitive tests
2015-07-17 20:07:36 -04:00
Paul Beckingham
47970ab166
Test: Added ::closeEnough tests
2015-07-17 20:04:13 -04:00
Paul Beckingham
6caae5004b
Test: Added more ::commify tests
2015-07-17 19:50:53 -04:00
Paul Beckingham
3d55b4120c
Test: Added test for Msg::all
2015-07-17 19:40:54 -04:00
Paul Beckingham
3a7f970834
Msg: Dead code removal
2015-07-17 19:38:11 -04:00
Paul Beckingham
fdac097c12
Test: Added tests for id, uuid, description, urgency formats
2015-07-17 16:40:29 -04:00
Paul Beckingham
9ea0bc6f07
Bug: Fixed missing 'due' examples from 'columns' report
2015-07-17 16:37:12 -04:00
Paul Beckingham
340acc562b
Test: Added obfuscation test
2015-07-17 15:42:54 -04:00
Paul Beckingham
251eedf7e5
CLI2: Dead code removal
2015-07-17 15:35:11 -04:00
Paul Beckingham
110aa489e4
Context: Dead code removal
2015-07-17 15:24:31 -04:00
Paul Beckingham
83057293a9
DOM: Dead code removal
2015-07-17 15:16:18 -04:00
Paul Beckingham
4212e27081
Duration: Dead code removal
2015-07-17 15:08:50 -04:00
Paul Beckingham
7ac86185e4
ISO8601: Dead code removal
2015-07-17 15:01:13 -04:00
Paul Beckingham
fed3b815a0
Lexer: Dead code removal
2015-07-17 14:59:42 -04:00
Paul Beckingham
a89c996334
Nibbler: Dead code removal
2015-07-17 14:51:27 -04:00
Paul Beckingham
9177c5b697
Nibbler: Dead code removal
2015-07-17 14:50:20 -04:00
Paul Beckingham
49659e92a7
RX: Dead code removal
2015-07-17 14:44:31 -04:00
Paul Beckingham
3f1f4853d6
Merge branch '2.4.5' of ssh://git.tasktools.org/tm/task into 2.4.5
2015-07-17 14:40:49 -04:00
Paul Beckingham
7ddc715fbe
Test: Added direct tag setting uniqueness test
2015-07-17 14:36:08 -04:00
Paul Beckingham
30911968cc
Task: Dead code removal
2015-07-17 14:31:25 -04:00
Renato Alves
ddccfa798c
Test: More Python 3 compatibility changes in accessory files
2015-07-17 19:27:58 +01:00
Daniel Shahaf
808524507e
Tests: Python 3 compatibility
...
The tests use '#!/usr/bin/env python' which may be Python 3. Adjust the
tests to work under either Python 2 or Python 3.
This introduces a use of b"" string literals, which are supported by
Python 2.7 and Python 3, but not by Python 2.6.
Also, document the required minimum Python version.
2015-07-17 19:27:48 +01:00
Paul Beckingham
59b98cf302
Timer: Dead code removal
2015-07-17 14:26:36 -04:00
Paul Beckingham
87b1809ef4
Variant: Dead code removal
2015-07-17 14:23:06 -04:00
Renato Alves
27b8cabac1
Test: Change most tests to use "add test" instead of split arguments
2015-07-17 19:14:33 +01:00
Renato Alves
d711bda35c
Test: Cleanup style and usage in tw-101.t
2015-07-17 19:14:33 +01:00
Renato Alves
9e481234b8
Test: Fix import.t task <id> using alpha characters in UUID
2015-07-17 19:14:33 +01:00
Renato Alves
bc64a08054
Test: Convert roundtrip.t to Python and merge with import.t
2015-07-17 19:14:33 +01:00
Renato Alves
ddfb9af407
Test: context.t refactoring
2015-07-17 19:14:33 +01:00
Paul Beckingham
72b1d08a33
ViewText: Dead code removal
2015-07-17 14:13:31 -04:00
Paul Beckingham
f71e03ab06
Test: calc.t now tests usage and version
2015-07-17 14:10:32 -04:00
Paul Beckingham
795b11c9c9
Test: Added test for 'task --version'
2015-07-17 14:06:09 -04:00
Paul Beckingham
ffbbf4a5c3
Test: Obfuscation should hide data
2015-07-17 14:01:21 -04:00
Paul Beckingham
bf9d3eefe4
Test: The _unique command is now tested
2015-07-17 13:52:43 -04:00
Paul Beckingham
ff0441147d
Test: Added undo en-passant error check
2015-07-17 13:47:34 -04:00
Paul Beckingham
cfe57c3870
Test: Verify error on log of recurring or waiting task
2015-07-17 13:38:50 -04:00
Paul Beckingham
325b01c381
Test: Added new-uuid verbosity test
2015-07-17 13:25:51 -04:00
Paul Beckingham
92f79c682b
Command: Dead code removal
2015-07-17 13:18:19 -04:00
Paul Beckingham
e8fe6ef773
Documentation: Updated to reflect the '_tags' changes
2015-07-17 09:12:41 -04:00
Daniel Shahaf
b6bf4e6072
_tags: Print virtual tags too.
2015-07-17 09:06:47 -04:00
Daniel Shahaf
bfbd3b4768
zsh completion: Fix autoload function boilerplate
...
Inspired by 4b20bfe0ee
2015-07-17 09:05:07 -04:00
Renato Alves
338603efa6
Test: Remove prefix # from run_all logging output
2015-07-17 08:53:11 +01:00
Renato Alves
ceee9caee8
Test: Convert uuid.t and add test for TW-1636
2015-07-17 08:51:14 +01:00
Renato Alves
6100933a28
BaseTest: Reorganize imports and make shlex global
2015-07-17 07:55:37 +01:00
Paul Beckingham
331609eb6e
Test: Converted to new form
2015-07-16 18:34:03 -04:00
Paul Beckingham
ff66f44fe1
Test: Updated to use the new form
2015-07-16 16:45:54 -04:00
Paul Beckingham
3e539c0166
Test: Updated to use the new form
2015-07-16 16:45:34 -04:00
Tomas Babej
d7da439735
Tests: Add test for TW-1634
2015-07-16 16:41:53 -04:00
Tomas Babej
51fcc12922
Tests: Expand coverage for alias.t with aliases containing implicit filters
2015-07-16 16:41:18 -04:00
Tomas Babej
83805da01c
Tests: Edit alias.t for better readability
2015-07-16 16:36:28 -04:00
Paul Beckingham
d7b5915652
TW-1622: Duration UDA can't take an algebraic expression
...
- Thanks to Jeremy John Reeder.
2015-07-16 16:34:39 -04:00
Paul Beckingham
99b546c7e0
Template: Updated to use newer form of task call
2015-07-16 16:20:13 -04:00
Paul Beckingham
b173fd67c2
Test: Updated to use newer form of call
2015-07-16 16:17:51 -04:00
Paul Beckingham
6890fd32c7
Task: Duration handling improvements
...
- Separated handling for 'recur' (store in raw form) and type 'duration'
attributes (store formatted).
- Added missing storage handling for type duration attributes.
2015-07-16 16:15:47 -04:00
Paul Beckingham
76d3efe313
Lexer: Improved termination for UUID types
2015-07-16 16:15:07 -04:00
Paul Beckingham
82802f7f47
CmdInfo: Properly formats ISO durations
2015-07-16 16:14:34 -04:00
Paul Beckingham
ac011807d2
ISO: Changed the incorrect 'P0S' to the correct 'PT0S'
2015-07-16 16:14:17 -04:00
Paul Beckingham
3a9505f56c
DOM: Durations may now be ISO8601p or Duration
2015-07-16 16:12:31 -04:00
Paul Beckingham
6aaa7c5074
CLI2: Some plain args were not spotted
...
- A plain arg can be Lexer::Type::word or Lexer::Type::dom.
2015-07-16 16:07:41 -04:00
Wilhelm Schuermann
10f684c09b
Tests: More JSON formatting for "import"
2015-07-16 15:30:48 +02:00
Paul Beckingham
2f831898fa
README: Added some needed tests (thanks to Tomas Babej).
2015-07-16 09:13:25 -04:00
Wilhelm Schuermann
2bc418c7e5
Tests: Merge import_NEW.t into import.t
2015-07-16 13:38:34 +02:00
Wilhelm Schuermann
8613a49f6e
Import: Allow importing JSON arrays
...
- "export" defaults to JSON array output now. Make "import" read it
instead of throwing an error.
2015-07-16 12:37:38 +02:00
Paul Beckingham
b92802c2fb
Entities: There is no spoon^H^H^H^H^Huda entity
...
- The code was trying to canonicalize 'attribute' and 'uda' separately,
but there are no 'uda' entities.
2015-07-15 19:40:13 -04:00
Paul Beckingham
264dae02bc
TW-1592: Able to add duplicate tags using 'tags:<value>'
...
- Thanks to Tomas Babej.
2015-07-15 13:48:47 -04:00
Paul Beckingham
b8a68683cd
TW-1626: Wrong wait date
...
- Thanks to Andrea Rizzi.
2015-07-15 08:03:00 -04:00
Paul Beckingham
695185e62e
Duration: No longer accepts 123e456d as a duration
...
- Prohibits the use of [eE] in the units.
- Permits use of [+-] only in the first position.
2015-07-15 07:43:08 -04:00
Paul Beckingham
f68d6fd812
Test: Cleanup and test split
...
- Test was adding tasks for no reaѕon.
- Split into two tests, testing distinct problems.
2015-07-15 07:41:36 -04:00
Paul Beckingham
cf816be717
CLI2: Removed incorrect comment
2015-07-13 16:46:07 -04:00
Paul Beckingham
2355738c7a
Duration: May also terminate on Lexer::singleCharOperator
2015-07-13 16:45:34 -04:00
Paul Beckingham
1ec029be9b
Lexer: Relocated instantiation closer to first use
2015-07-13 16:44:55 -04:00
Paul Beckingham
a7eb32272c
TW-1419: On add '-tag' is considered a tag removal, which makes no sense.
2015-07-13 14:24:24 -04:00
Paul Beckingham
585ae52be3
TW-1319: UDA is NOT sorted corresponding to the order of UDA list entries
...
- Thanks to Onion.
2015-07-13 12:27:16 -04:00
Paul Beckingham
d8160c5b52
Test: Added tw-1419.t
2015-07-13 12:17:27 -04:00
Paul Beckingham
a059f06a43
TW-1456: Filter parser does not always handle multiple arguments bundled into one with apostrophes
...
- Thanks to Tomas Babej.
2015-07-13 12:14:17 -04:00
Paul Beckingham
9d1bcc3fd5
TW-1479: Task arguments not properly parsed if they contain a space
...
- Thanks to Tomas Babej.
2015-07-13 12:10:47 -04:00
Paul Beckingham
1565c5d01a
TW-1455: Filter parser does not properly handle parentheses in attributes
...
- Thanks to Tomas Babej.
2015-07-13 12:02:05 -04:00
Paul Beckingham
54ee72a6f9
TW-1569: update wait:<wait-date> manpage entry
...
- Thanks to David Patrick.
2015-07-13 11:59:03 -04:00
Paul Beckingham
75e2431825
Test: Removed useless comparison
2015-07-13 11:58:19 -04:00
Paul Beckingham
6814fd8d31
TW-1511: Project titles not properly parsed if they contain hyphens
...
- Thanks to Leon Feng, Blake Sweeney, Dylan Mikus.
2015-07-13 11:46:04 -04:00
Paul Beckingham
326367a36e
TW-1488: You have more urgent tasks
...
- Thanks to Stefan Betz, Denis Kasak.
2015-07-13 11:40:42 -04:00
Paul Beckingham
8ad5fa1b78
TW-1617: Can't search for multi-word project
...
- Thanks to Audrey Easterday.
2015-07-13 11:34:43 -04:00
Paul Beckingham
cbab4d0eba
TW-1480: Weird behaviour on redundant filter beginning with number
...
- Thanks to Tomas Babej.
2015-07-13 11:17:49 -04:00
Paul Beckingham
6dfcf3ae02
TW-1529: Parser incorrectly inserting spaces into task description
...
- Thanks to David Brenner.
2015-07-13 11:02:01 -04:00
Paul Beckingham
0990b0d582
TW-1575: task log mangles URLs when quoted
...
- Thanks to Luke Macken.
2015-07-13 10:41:55 -04:00
Paul Beckingham
78bfe98070
TW-1632: Japanese translation for Taskwarrior(150713)
...
- Thanks to ribbon.
2015-07-13 09:43:28 -04:00
Paul Beckingham
6563911953
TW-1430: Slashes in project names don't work
...
- Thanks to Richard Boß.
2015-07-13 09:35:31 -04:00
Paul Beckingham
264e318be5
TW-1475: task config expands values with unnecessary spaces
...
- Thanks to Tomas Babej.
2015-07-13 09:26:47 -04:00
Paul Beckingham
bba7cddd9c
TW-1612: Spurious whitespace added in task descriptions around certain symbols
...
- Thanks to Denis Kasak.
2015-07-13 09:22:23 -04:00
Paul Beckingham
d85e0620c1
TW-1389: tw will import same UUID n-times if part of same import
...
- Thanks to Markus Beppler.
2015-07-13 08:51:32 -04:00
Paul Beckingham
9ca2194566
Test: Renamed
2015-07-13 08:47:09 -04:00
Paul Beckingham
b30f1c64e3
TW-1527: Extra spaces added around slashes
...
- Thanks to Renato Alves.
2015-07-13 08:40:52 -04:00
Paul Beckingham
b7fe868f47
Test: Added tw-1609 test
2015-07-13 08:28:25 -04:00
Paul Beckingham
b113ab2348
TW-1609: In 'urgency<10', 10 is interpreted as an ID
...
- Thanks to Wim Schuermann.
2015-07-13 08:24:41 -04:00
Paul Beckingham
43e7aace46
Improvement: TW-1615
...
- TW-1615 Japanese translation for Taskwarrior(150513) (thanks to ribbon).
2015-07-13 08:15:27 -04:00
Paul Beckingham
98792dafbc
Test: Added test for bug tw-1627
2015-07-13 08:06:51 -04:00
Paul Beckingham
71d2376ff1
Bug: TW-1600
...
- Filtering "regressions"(?) in task-2.4.3, task-2.4.4 (thanks to Ralph Bean).
2015-07-13 08:01:26 -04:00
Renato Alves
123d72be49
Test: Note to reproducibility of TW-1262.
...
Almost thought this was fixed already when I ran it the first time and
got everything green...
2015-07-13 12:09:43 +01:00
Renato Alves
774b9558ad
Test: Remove commented WaitingFor which has been fixed
2015-07-13 11:54:03 +01:00
Renato Alves
1371c9616a
Test: Add stress_test to find reproducibility test failures
...
Running stress_test without arguments runs all of the test-suite 100
times (serially) and stops on first failure.
Passing test names as arguments (stress_test bug.123.t ...) will run
only these.
If 100 is found to be too small or too large pass --repeat <integer>.
Run stress_test -h for more information
2015-07-13 11:46:07 +01:00
Renato Alves
9a913a9357
Test: Rename class for bug 954
2015-07-13 11:45:43 +01:00
Paul Beckingham
a09a2bc241
CLI2: Added conditional expression eval
...
- Only non-'string' type attributes ('numeric', 'date', 'duration') support the
evaluation of values in FILTER arguments, for example:
due.before:now+1d
If evaluation is supported, values need to be lexed into tokens, and if there
are multiple tokens, parenthesize the set.
2015-07-13 01:09:11 -04:00
Paul Beckingham
9f2efa67c2
CLI2: Reduced verbosity of debug output
2015-07-13 00:22:19 -04:00
Paul Beckingham
fccb44f334
Test: Disentangled the backslash mess
2015-07-13 00:09:15 -04:00
Paul Beckingham
025103528c
Test: Added note about why this test sometimes fails.
2015-07-12 23:47:07 -04:00
Paul Beckingham
d2f5937344
CLI2: Fixed bug that allowed numbers to be interpreted as IDs
...
- For a WRITECMD with no FILTER args, if a Lexer::Type::number exists as a
MODIFICATION, and that number is an unsigned integer, then promote it to
an ID. Added eceptions for the 'add' and 'log' command.
This feature allows for the continued use of 'task done 1', which should
be deprecated.
2015-07-12 23:32:26 -04:00
Paul Beckingham
f84677fbef
Test: Removed diagnostic output from test
2015-07-12 23:02:28 -04:00
Paul Beckingham
18a8ea7b07
Documentation: Updated docs to include the new '_unique' command
2015-07-12 22:27:20 -04:00
Paul Beckingham
012affa46a
CmdUnique: New helper command to generate unique value lists
2015-07-12 22:03:00 -04:00
Paul Beckingham
f0c8330ebf
Filter: Added a mechanism to override ::safety
2015-07-12 22:02:11 -04:00
Renato Alves
157f191546
Test: Show total time on serial and parallel tests
...
Visible only when using run_all -l (or above)
2015-07-13 02:15:34 +01:00
Paul Beckingham
e48fae387e
Test: Removed TZ sensitivity from test
2015-07-12 18:23:57 -04:00
Paul Beckingham
c89fc55d68
Test: Corrected use of quotes in a test
2015-07-12 17:58:26 -04:00
Paul Beckingham
694323a8f1
CLI2: Implemented ::lexFilterArgs
...
- Now spots filter elements that need to be Lexed.
2015-07-12 17:57:52 -04:00
Paul Beckingham
c2c53fa668
CLI2: Tags args 'UNKNOWN' to help spot an worthless use case
2015-07-12 17:56:59 -04:00
Paul Beckingham
f09a39f043
CLI2: Cleaned up formatting
2015-07-12 17:56:40 -04:00
Paul Beckingham
b7c1658a6e
CLI2: Trim incoming raw args
2015-07-12 17:32:10 -04:00
Paul Beckingham
bb137bba38
Test: bug.635.t is duplicated in substitute.t
2015-07-12 17:13:41 -04:00
Paul Beckingham
faae5ff1ef
Test: Merged bug.694.t into annotate.t
2015-07-12 17:11:13 -04:00
Paul Beckingham
fd4a0ad2fe
Test: bug.703.t is duplicated in substitute.t
2015-07-12 17:04:24 -04:00
Paul Beckingham
f73bb0a158
Test: bug.708.t is duplicated in project.t
2015-07-12 16:59:30 -04:00
Paul Beckingham
cd1b7d9bb5
Test: Merged bug.819.t into add.t
2015-07-12 16:55:43 -04:00
Paul Beckingham
3c47dc6c36
Test: Merged bug.856.t into project.t
2015-07-12 16:45:26 -04:00
Paul Beckingham
c92ee148f6
Test: Merged bug.884.t into add.t
2015-07-12 16:40:39 -04:00
Paul Beckingham
f0010013d3
Test: Converted to Python
2015-07-12 16:36:34 -04:00
Paul Beckingham
3b2b40f306
Test: Merged bug.906.t into project.t
2015-07-12 16:31:35 -04:00
Paul Beckingham
48bf65af5a
Test: Cleaned up method string
2015-07-12 16:31:02 -04:00
Paul Beckingham
47fdcc661f
Test: Merged bug.917.t into add.t
2015-07-12 16:18:49 -04:00
Paul Beckingham
17b230a6e0
Test: Merged bug.924.t into add.t
2015-07-12 16:14:30 -04:00
Paul Beckingham
6b78abced2
CLI2: Tightened selection of MODIFICATION Lexer::Type::number upgrade to ID
...
- When a write command contains no ID/UUID, looking for Lexer::Type::number
arguments that are tagged as MODIFICATIONS is now limited to only positive
integers that are found.
2015-07-12 16:12:32 -04:00
Paul Beckingham
7c3560a3cd
Test: Converted to Python
2015-07-12 15:57:37 -04:00
Paul Beckingham
99ff110904
Test: Merged bug.972.t into recur.t
2015-07-12 15:26:20 -04:00
Paul Beckingham
f74e0d88e4
Test: Merged bug.991.t and config.obsolete.t into confіguration.t
2015-07-12 14:54:38 -04:00
Paul Beckingham
81fc158dc9
CLI2: Better algorithm for ::desugarFilterPlainArgs which appears to work well
2015-07-12 14:07:48 -04:00
Paul Beckingham
f240c783cb
Config: The 'completed' report haѕ a column labeled 'took'!?
...
- Good grief.
2015-07-11 22:34:27 -04:00
Paul Beckingham
415690ca23
Test: Corrected report output
...
- With rc.print.empty.columns now suppressing indicator formats, test that use
the 'ls' report have different alignment.
2015-07-11 22:12:18 -04:00
Paul Beckingham
e930bb0ba9
Columns: Removed _fixed_width for indicator columns
...
- Column indicator formats (depends.indicator, for example), should not set the
::_fixed_width flag because then the column does not have the opportunity to
be suppressed via rc.print.empty.colums=1.
2015-07-11 22:09:15 -04:00
Paul Beckingham
31ff9d476e
Test: Converted to Python
2015-07-11 17:51:30 -04:00
Paul Beckingham
332f29a800
Docs: Updated dev docs
2015-07-11 17:44:01 -04:00
Paul Beckingham
497b277cf1
Packaging: Removed obsolete package-config dir
2015-07-11 17:31:14 -04:00
Paul Beckingham
564a24b35e
Test: Corrected test to use supported features
2015-07-11 17:24:39 -04:00
Paul Beckingham
29d6eceda1
CLI2: ::desugarFilterAttributes now relies on earlier parsing
2015-07-11 17:13:18 -04:00
Paul Beckingham
3f3d698a28
CLI2: Integrated Lexer::decomposePattern
2015-07-11 17:10:10 -04:00
Paul Beckingham
d0e4f4ca10
Lexer: Implemented ::decomposePattern
2015-07-11 17:09:29 -04:00
Paul Beckingham
1f8a66b7f3
CLI2: Integrated Lexer::decomposeSubstitution
...
- Task::modify now considers the 'g' at the end of a substitution to be a
string of characters, which may contain 'g'. No other flags are currently
supported.
2015-07-11 16:44:13 -04:00
Paul Beckingham
1bef45ff47
Lexer: Added ::decomposeSubstitution and more flexible ::dequote
...
- ::dequote can now be given a string of valid quote characters, which defaults
to '".
- ::decomposeSubstitution properly parses the /from/to/g construct allowing for
escaped characters (\/).
- The 'g' at the end of a substitution is now considered to be a string of flag
characters, which may contain 'g'. No other flag values are currently
supported.
2015-07-11 16:40:52 -04:00
Paul Beckingham
1c1422370a
Test: Corrected escape characters in test
2015-07-11 16:37:20 -04:00
Paul Beckingham
95b926acb2
Test: Converted to Python
2015-07-11 15:48:27 -04:00
Paul Beckingham
8ff60619ee
Test: Disabled a test
...
- The long-word hyphenation test is disabled because although the hyphenation
code works at the lowest level, the rendering in ViewTask eliminates the
need for hyphenation by blowing out tables to the minimum required size,
and not hyphenating anything.
Leaving the test disabled until a solution is implemented.
2015-07-11 15:37:20 -04:00
Paul Beckingham
8cab89a44c
Test: Added low-level hyphenation test
2015-07-11 15:31:39 -04:00
Paul Beckingham
cb82946ad5
Test: Added and removed a test
...
- Added a test to see if long lines are properly hyphenated.
- Removed a test for hyphenation on comma, which is not implemented.
2015-07-11 15:30:42 -04:00
Paul Beckingham
2a19247ad1
Test: Corrected broken test
2015-07-11 15:02:23 -04:00
Paul Beckingham
df93e37f40
Test: Converted to Python
2015-07-11 14:32:25 -04:00
Paul Beckingham
d6d01ee1bf
CLI2: Fixed bug where only the first lexeme was used
...
- For quoted Lexer::Type::pair arguments, use the whole quoted arg, not merely
the first lexeme.
2015-07-11 14:31:09 -04:00
Paul Beckingham
36814adcd2
Test: Corrected backslash interpretation in test
2015-07-11 14:03:23 -04:00
Paul Beckingham
6d9d896a37
CLI2: ::lexArguments auto-quotes orignally quoted args, but didn't dequote after
2015-07-11 13:47:26 -04:00
Paul Beckingham
366faac430
Test: Corrected broken tests
2015-07-11 13:18:00 -04:00
Paul Beckingham
642f378462
Lexer:: Implemented ::isHardBoundary to detect filter tokens
2015-07-11 13:12:09 -04:00
Tomas Babej
15dea00eeb
Task: Do not include recurring tasks into OVERDUE virtual tag
2015-07-11 11:46:51 -04:00
Paul Beckingham
b3962bb13d
Test: Fixed broken test for lexer
2015-07-11 11:30:57 -04:00
Paul Beckingham
8afc7443e4
Lexer: Fixed bug that allowed unterminated quotes strings, again
2015-07-11 11:25:24 -04:00
Paul Beckingham
d3971d2384
Lexer: Replaced ::isString implementation with a call to ::readWord
2015-07-11 11:06:43 -04:00
Paul Beckingham
b7438edfd5
Lexer: Fixed bug that allowed unterminated quotes strings
2015-07-11 10:56:55 -04:00
Paul Beckingham
b841d0c403
Test: Simplified test calls
2015-07-11 10:52:45 -04:00
Paul Beckingham
e99dec6e1b
Test: Added failing quoted string test
2015-07-11 10:50:55 -04:00
Paul Beckingham
daba36860b
Lexer: Modified ::isSubstitution to use ::readWord
2015-07-11 10:27:23 -04:00
Paul Beckingham
096737bd02
Lexer: Modified ::isPattern to use ::readWord
2015-07-11 10:27:06 -04:00
Paul Beckingham
b4b8edcebe
Test: Added problematic case
2015-07-11 10:16:38 -04:00
Paul Beckingham
10c786bdf0
Test: Changed text that throws off syntax coloring
2015-07-11 07:48:32 -04:00
Paul Beckingham
18412822fd
Test: Converted to Python
...
- Renamed utf8_tw.t to unicode.t, converted to Python, and added new feature
testing.
2015-07-11 07:47:46 -04:00
Paul Beckingham
58d6d8be14
Merge branch '2.4.5' of ssh://git.tasktools.org/tm/task into 2.4.5
2015-07-11 07:23:27 -04:00
Paul Beckingham
4d82dd7985
Task: Lexer::Type::word arguments are dequoted before being stored
2015-07-10 13:15:42 -04:00
Paul Beckingham
21be6862db
CLI2: ::lexArguments now uses ::readWord to expand escapes
2015-07-10 13:15:16 -04:00
Renato Alves
a3ea5cb412
Tests: \n on input= matters. Always include it
2015-07-10 18:08:46 +01:00
Renato Alves
b86c079ed5
Tests: Correct bug.annotate.t
...
Two tests were missing a task and failed for this reason.
The asserts were also looking for content in the wrong stream.
Stdout and stderr are not merged by default.
merge_streams=True can be passed but is not recommended.
2015-07-10 18:00:46 +01:00
Paul Beckingham
5eaf09759e
Test: Converted to Python
...
- But doesn't work - problem with test framework?
2015-07-10 12:48:25 -04:00
Paul Beckingham
a86edaa6b2
Lexer: Converted ::isPair to use ::readWord
...
- With ::isPair using ::readWord, attribute values may now contain escaped
entities such as \t, \uNNNN, and U+NNNN.
- Removed distinct handling for <name><sep><value>, rc<sep><value> and
rc.<name><sep><value> - all generic now.
2015-07-10 11:24:57 -04:00
Paul Beckingham
45aaa530ac
Lexer: Skipping whitespace on ::readWord at SOL was a mistake
2015-07-10 11:23:57 -04:00
Paul Beckingham
29486144c9
Test: Converted to Python
2015-07-10 11:22:42 -04:00
Paul Beckingham
e55528e21e
Lexer: ::readWord now skips leading whiteSpace
2015-07-08 11:24:46 -04:00
Paul Beckingham
6c56f4b695
Test: Updated task arg call
2015-07-08 09:58:39 -04:00
Paul Beckingham
5a21945a0d
CLI2: Integrated Lexer::decomposePair
2015-07-08 09:48:15 -04:00
Paul Beckingham
e6c4f48a48
Lexer: readWords for quoted strings now retains the quotes
2015-07-08 09:03:48 -04:00
Paul Beckingham
1fed8c55f1
Lexer: Collapsed two ::isString calls into one
2015-07-06 16:40:18 -04:00
Paul Beckingham
7a6d546a0d
Lexer:: Added polymorphic ::readWord for quoteѕ and unquoted strings
2015-07-06 16:37:46 -04:00
Paul Beckingham
abaf326855
CLI2: Added note about path exclusion
2015-07-06 16:03:24 -04:00
Paul Beckingham
4bdfde4aa4
Test: Added tests for Lexer::readWord
2015-07-06 15:34:04 -04:00
Paul Beckingham
d82da280cb
Lexer: Implemented ::readWord
...
- Lexer::readWord is a general-purpose text parser, for finding plain words and
quoted strings. It supports \uNNNN and U+NNNN unicode sequences, and general
escapes, \t, \', \" etc.
2015-07-06 15:32:12 -04:00
Paul Beckingham
26e6dd2131
Test: Missing include
2015-07-06 12:23:38 -04:00
Paul Beckingham
0ee26a0cae
CLI2: No longer attempts to canonicalize rc:<file> and rc.<name>:<value>
2015-07-06 12:14:52 -04:00
Paul Beckingham
dcb13bd2b4
CLI2: Integrated Lexer::decomposePair into A2::decompose
2015-07-06 12:13:46 -04:00
Paul Beckingham
e36fb2f10c
Lexer: Switched argument order for ::decomposePair
2015-07-06 12:10:50 -04:00
Paul Beckingham
826c6986ae
Test: Added Lexer::decomposePair tests
2015-07-06 11:29:09 -04:00
Paul Beckingham
81599071e7
Lexer: Implemented ::decomposePair
2015-07-06 11:28:39 -04:00
Paul Beckingham
7411ac55a1
Test: Merged duplicate2.t into duplicate.t, converted to Python
2015-07-05 21:30:41 -04:00
Paul Beckingham
0dc64a7ec2
Test: Converted to Python
2015-07-05 20:57:53 -04:00
Paul Beckingham
a19afe1a77
Test: Converted to Python
2015-07-05 17:33:49 -04:00
Paul Beckingham
412a97a58a
Test: Converted to Python
2015-07-05 17:28:17 -04:00
Paul Beckingham
3b515e8636
Test: Converted to Python
2015-07-05 17:16:24 -04:00
Paul Beckingham
773ce924bf
Test: Converted to Python
2015-07-05 17:10:39 -04:00
Paul Beckingham
84e8ff6a70
Test: Converted to Python
2015-07-05 16:58:21 -04:00
Paul Beckingham
a5bf414256
Test: Converted to Python
2015-07-05 16:51:46 -04:00
Paul Beckingham
023fd9d38a
CLI2: Removed obsolete ::decomposeModSubstitutions
2015-07-05 16:31:30 -04:00
Paul Beckingham
af71af1085
CLI2: Removed obsolete ::decomposeModTags
2015-07-05 16:30:59 -04:00
Paul Beckingham
f5ece63ec0
CLI2: Removed obsolete ::decomposeModAttributes
2015-07-05 16:29:54 -04:00
Paul Beckingham
460f2aeea5
CLI2: Refactoring
...
- Whenever A2::attribute sees 'raw' being set, it automaticall decomposes the
arg, which can now be removed from other methods.
- New ::canonicalizeNames method means that the ::decomposeMod* methods are no
longer needed.
- Removed ::findOverrides which now does nothing.
2015-07-05 16:13:56 -04:00
Paul Beckingham
b46bf15f40
Test: Cleaned up test
2015-07-05 15:56:30 -04:00
Paul Beckingham
c9120f692a
Test: Corrected tests
...
- Removed tests that were passing for the wrong reason.
- Removed '@expectedFailures' from tests that now pass.
2015-07-05 15:30:20 -04:00
Paul Beckingham
0df1c48f42
ISO8601: Added range checking for various date elements
2015-07-05 15:29:41 -04:00
Paul Beckingham
a71fc887d9
Test: Converted to Python
2015-07-05 13:02:37 -04:00
Paul Beckingham
0c568580b3
CLI2: Removed obsolete ::isUUIDList
...
- Removed unsupported UUID lists, which shoudl have been removed earlier when
Lexer::Type::list was dropped.
- Reversed logic in 'if' statements to perform the lowest cost comparison first.
2015-07-05 10:39:34 -04:00
Paul Beckingham
5f186bbbe1
Test: Corrected calc test
2015-07-04 23:52:27 -04:00
Paul Beckingham
6bca259420
Test: Converted to Python
2015-07-04 23:31:45 -04:00
Paul Beckingham
e1b93495ca
Test: Combined label.t, custom.t
2015-07-04 23:23:26 -04:00
Paul Beckingham
156a732931
Test: Modified test class
2015-07-04 23:20:24 -04:00
Paul Beckingham
b8f803c83f
Test: Corrected broken tests
2015-07-04 17:03:49 -04:00
Paul Beckingham
07c76b208e
Test: Corrected broken tests
2015-07-04 17:02:36 -04:00
Paul Beckingham
0572db902d
Test: Cleaned up broken test
2015-07-04 16:40:15 -04:00
Paul Beckingham
184fde0f5f
CLI2: Skips first terminator, --, but not others
2015-07-04 16:39:15 -04:00
Paul Beckingham
42073656c7
Test: Corrected separator test
2015-07-04 16:25:03 -04:00
Paul Beckingham
61ae9d936a
Test: Cleaned up tests
2015-07-04 16:16:15 -04:00
Paul Beckingham
b0c8f4ca4f
ISO8601: Restored support for the UTC & local non-extended full form
2015-07-04 16:04:03 -04:00
Paul Beckingham
a7982e434a
CLI2: Quoted Lexer::Type::pair args are maximal
2015-07-04 15:33:44 -04:00
Paul Beckingham
1836ac29e2
Lexer: Removed expermental code, didn't help
2015-07-04 15:03:28 -04:00
Paul Beckingham
d8e48e1e2b
Test: Added tests for (unimplemented) Lexer::token classifier
2015-07-04 11:40:12 -04:00
Paul Beckingham
3b99559216
Lexer: Added standalone token support
...
- Added default ctor.
- Added ::token method for classifying whole tokens.
- Stubbed token classifier methods.
2015-07-04 11:38:09 -04:00
Paul Beckingham
4141215d4b
Lexer: Clarified ::isTag lookbehind rules
2015-07-04 10:48:44 -04:00
Paul Beckingham
18b1f32466
Test: Removed unsupported feature from lexer test
2015-07-04 10:35:53 -04:00
Paul Beckingham
ad17ad82dd
Lexer: Removed obsolete method def
2015-07-04 10:34:16 -04:00
Paul Beckingham
437c73cba0
Test: Converted to Python
2015-07-04 09:11:49 -04:00
Paul Beckingham
d6cd1f29f9
Test: Converted to Python
2015-07-04 09:05:09 -04:00
Paul Beckingham
79f3dadc99
Test: Converted to Python
2015-07-03 22:43:52 -04:00
Paul Beckingham
a299e503ba
Test: Converted to Python
2015-07-03 22:34:07 -04:00
Paul Beckingham
277daecb92
Test: Converted to Python
2015-07-03 21:09:05 -04:00
Paul Beckingham
59b576f9d4
Merge branch '2.4.5' of ssh://git.tasktools.org/tm/task into 2.4.5
2015-07-03 21:01:58 -04:00
Paul Beckingham
2d90a7bb96
Test: Converted to Python
2015-07-03 21:01:41 -04:00
Wilhelm Schuermann
c1a0370daa
Config: Make json.array default to "on"
...
- This makes the default "export" output work out of the box with most
JSON parsing libraries.
2015-07-03 23:42:18 +02:00
Paul Beckingham
e516f2bf65
Test: Converted to Python
2015-07-03 16:17:39 -04:00
Paul Beckingham
00205cb2e6
Test: Converted to Python
2015-07-03 16:07:45 -04:00
Paul Beckingham
be72551855
Test: Converted to Python
2015-07-03 15:56:42 -04:00
Paul Beckingham
55cc5b3bd6
Merge branch '2.4.5' of ssh://git.tasktools.org/tm/task into 2.4.5
2015-07-03 15:47:47 -04:00
Renato Alves
b5995f0949
Test: Merge bug.605 with project.t and convert to Python
2015-07-03 22:45:49 +01:00
Renato Alves
a6312198e5
Test: t.runError can now also be called by passing a single string to be split
2015-07-03 22:31:47 +01:00
Paul Beckingham
c57e264b26
Test: Removed custom assert messages
2015-07-03 15:47:30 -04:00
Paul Beckingham
c56c7b6238
Test: Converted to Python
2015-07-03 15:46:58 -04:00
Paul Beckingham
712e9d7d28
Test: Converted to Python
2015-07-03 15:26:42 -04:00
Paul Beckingham
1f78a2149f
Test: Converted to use cleaner command to run task
2015-07-03 15:22:56 -04:00
Paul Beckingham
6d49f6389e
Merge branch '2.4.5' of ssh://git.tasktools.org/tm/task into 2.4.5
2015-07-03 15:17:15 -04:00
Renato Alves
279938f0b3
Test: Merge bug.555 with project.t and convert to Python
2015-07-03 22:16:42 +01:00
Paul Beckingham
07e7b79d66
Test: Converted to Python
2015-07-03 15:16:30 -04:00
Paul Beckingham
4ff618ecbb
Test: Cleaned up test class names, import
2015-07-03 15:07:16 -04:00
Paul Beckingham
f3f38bd7aa
Merge branch '2.4.5' of ssh://git.tasktools.org/tm/task into 2.4.5
2015-07-03 14:56:23 -04:00
Renato Alves
ce378c8f62
TAP: When test description is undefined, don't include __main__ in output
2015-07-03 21:53:12 +01:00
Paul Beckingham
3dc7b253dc
Test: Converted to Python
2015-07-03 14:55:43 -04:00
Paul Beckingham
029e55779a
Test: Converted to Python
2015-07-03 14:44:17 -04:00
Renato Alves
a3bbef3682
TAP: Show name of file containing the test(s)
...
In addition to the state of the test the description now includes the
location of the test, i.e. the filename that contains it.
Useful in central.tasktools.org.
2015-07-03 19:26:30 +01:00
Renato Alves
b824f3323f
Tests: Convert bug.485.t
2015-07-03 19:26:30 +01:00
Paul Beckingham
e88f4cf776
Test: Leftover junk removed
2015-07-03 14:25:59 -04:00
Paul Beckingham
2a8d9079d1
Test: Converted to Python
...
- Also improved the ambiguity of the testing.
2015-07-03 14:21:46 -04:00
Paul Beckingham
01112e8ca8
Test: Fixed assumption in test
...
- Test assumed that if /foo/ appears in the output, all is well, but there is a
false positive case where 'foo' is also in the path name of unrelated output.
2015-07-03 13:47:49 -04:00
Paul Beckingham
6c3a94dbce
Test: Separated compound arguments into individual tokens
2015-07-01 22:05:22 -04:00
Paul Beckingham
72e13e4235
Test: Removed obsolete '--noambiguous' arg from calc test
2015-07-01 22:00:11 -04:00
Paul Beckingham
796a26cad8
CLI2: Simplified ::lexArguments
...
- ::lexArguments no longer lexes arguments into multiple tokens, instead it
simply assigns the type, if the argument is a single token.
2015-07-01 21:49:31 -04:00
Paul Beckingham
bce24da6a5
CLI2: Eliminated unnecessary ::findTerminator
2015-07-01 21:47:19 -04:00
Paul Beckingham
36f03a9f35
Test: Added missing include for Cygwin
2015-07-01 18:20:28 -04:00
Paul Beckingham
f33da18789
Lexer: Removed ::isList and Lexer::Type::list - not needed
2015-07-01 18:04:21 -04:00
Paul Beckingham
a2874f7f10
CLI2: Added more logic to ::lexArguments
2015-07-01 18:03:43 -04:00
Paul Beckingham
1b83734392
CLI2: Added ::demoteDOM to demote unrecognized DOM args to words
2015-07-01 18:02:48 -04:00
Paul Beckingham
2402ec8d6e
ISO8601: Removed the need for ::ambiguity
2015-07-01 17:59:27 -04:00
Paul Beckingham
0cbcbeedc5
Tests: Removed calls to Eval::ambiguity
2015-07-01 17:55:56 -04:00
Paul Beckingham
6276241ef0
Eval: Removed ::ambiguity
2015-07-01 17:54:36 -04:00
Paul Beckingham
987fab388d
CmdCalc: Removed Eval::disambiguity
2015-07-01 17:53:44 -04:00
Paul Beckingham
f0d27dcaac
Filter: Removed Eval::disambiguity
2015-07-01 17:53:09 -04:00
Paul Beckingham
a0fbde294a
calc: Removed Eval::disambiguity.
2015-07-01 17:52:51 -04:00
Paul Beckingham
b7519bb550
Task: Removed Eval::ambiguity.
2015-07-01 17:52:34 -04:00
Paul Beckingham
b090c6bccf
Lexer: Removed unnecessary ::ambiguity method
2015-07-01 16:18:28 -04:00
Paul Beckingham
8e8b2f9f38
Tests: Added color to the C++ tests
2015-07-01 16:12:48 -04:00
Renato Alves
535fc1c465
l10n: "account not enabled" is now "account doesn't exist"
...
As of taskd 1.1.0 this option is no longer available, hence it's only
valid for 1.0.0 servers.
Since 1.1.0 is replacing 1.0.0 and has been adopted by recent linux
distributions, the error message no longer needs to refer to account
activation.
2015-06-30 21:47:15 +01:00
Paul Beckingham
5d02291077
Merge branch '2.4.5' of ssh://git.tasktools.org/tm/task into 2.4.5
2015-06-30 07:54:22 -04:00
Paul Beckingham
12bec38f12
Filter: Typo (thanks to Peter Rochen)
2015-06-30 07:53:26 -04:00
Paul Beckingham
86ed232348
Lexer: Added ::wasQuoted to determine original quote state
2015-06-28 12:35:06 -04:00
Paul Beckingham
ba65fa67b1
CLI2: ::aliasExpansion now properly observes and propagates TERMINATED args
2015-06-28 00:33:17 -04:00
Paul Beckingham
050aad49f2
Test: Corrected test
2015-06-28 00:15:53 -04:00
Paul Beckingham
239cf2d848
Test: Corrected test
2015-06-27 23:54:45 -04:00
Paul Beckingham
fd8e616076
Test: Corrected test
2015-06-27 23:47:32 -04:00
Paul Beckingham
94b4f2bfba
Test: Corrected test
2015-06-27 23:42:24 -04:00
Paul Beckingham
8cc75693a0
CLI2: Some args must avoid lexing
...
- This now include rc:xxx and rc.xxx.
2015-06-27 23:34:03 -04:00
Paul Beckingham
4820bde41e
CmdCalc: Eliminated temporary storage
2015-06-27 23:08:56 -04:00
Paul Beckingham
358223a6b1
Filter: Corrected implementation of ::safety
2015-06-27 21:08:24 -04:00
Paul Beckingham
e0291d35e4
Test: Corrected test
2015-06-27 20:48:03 -04:00
Paul Beckingham
f96a42d8b0
Feature: Error on virtual tag modification attempt
...
- An attempt to add or remove a virtual tag is now an error (thanks to Scott M).
2015-06-27 18:39:50 -04:00
Paul Beckingham
1824a542f6
CLI2: Obey the terminator and skip Lexing
2015-06-27 17:35:15 -04:00
Paul Beckingham
299ecad49f
Tests: Converted to Python
2015-06-27 17:13:48 -04:00
Paul Beckingham
9ece20d635
Test: Changed tests that depended on 'Permanently' being part of the feedback
2015-06-27 16:12:30 -04:00
Paul Beckingham
37e41effde
L10N: Removed 'permanently' from deletion notification
...
- Deletion is not really permanent (thanks to smemsh).
2015-06-27 15:59:02 -04:00
Paul Beckingham
b67b2ccc96
CLI2: Added ::addContextFilter, and supporting processing
2015-06-27 15:53:24 -04:00
Paul Beckingham
7425c8f2ae
Test: Removed useless tests
...
- The args.1.t script contained tests that weren't testing what they
claimed to test, and are now removed.
2015-06-27 14:35:07 -04:00
Paul Beckingham
14c95dcb3b
Tests: Removed Lexer tests for unsupported ISO date formats
2015-06-27 14:20:16 -04:00
Paul Beckingham
98855dc19c
Docs: Updated NEWS, task.1 with date changes
2015-06-27 14:14:36 -04:00
Paul Beckingham
4b8fdd0fbe
ISO8601: Removed non-extended forms
...
- Removed support for non-extended forms, which is approximately half of the
formats. These include:
YYYYMMDD
YYYYWww
YYYYWwwD
hhmmѕsZ
hhmmZ
hhZ
and combinations thereof. Essentially all forms that contains run-on sequences
of integers, without separators. These removed forms will still be supported
via rc.dateformat.
- Removed unsupported forms from iso8601d.t.cpp.
- Removed unsupported forms from datetime-negative.t, and corrected the tests
that now succeed.
2015-06-27 13:48:42 -04:00
Paul Beckingham
6f38d531a1
Test: Removed obsolete 'run_all' processing
2015-06-25 23:39:42 -04:00
Paul Beckingham
7b13f57959
Merge branch '2.4.5' of ssh://git.tasktools.org/tm/task into 2.4.5
2015-06-25 23:33:56 -04:00
Paul Beckingham
fcfc1d1a31
ISO8601: Removed ambiguous format support
...
- Disallows 2-digit times, such as 14 (2pm). Now requires at least minutes
included as well. This is likely to need further review, and possible dropping
of all non-extended date forms (hhmmss, yyyymmdd), otherwise there will always
be confusion between ID, UUID and ISO8601 dates.
- Removed 2-digit time tests.
2015-06-25 23:20:59 -04:00
Renato Alves
03847ab8ba
Test: run_all is now in Python and defaults to parallelizing tests
...
In addition to the conversion to Python, run_all now defaults to running
all Python tests in parallel, using the same approach previously
available via '--fast'. If desired one can force all tests to run
serially by calling run_all with --serial
A debugging flag was now also included in run_all. Pass one or more -l
(-l, -ll or -lll) for different levels of debugging information.
2015-06-25 23:36:28 +01:00
Renato Alves
50fa772ce1
Test: problems no longer includes "expected failures" in skipped
2015-06-25 22:34:43 +01:00
Renato Alves
290674d7c1
Tests: problems script now outputs color and optional --summary
...
The problems script now outputs color on each of the test categories,
following the same rules used by simpletap.
It also now includes a --summary switch which outputs the same short
report seen when using ./run_all.
2015-06-25 18:57:56 +01:00
Paul Beckingham
c0df2b9f70
Test; Converted to Python, removed unnecessary tests
2015-06-24 22:08:58 -04:00
Paul Beckingham
7e8f6eb41e
Test: Removed unnecessary import
2015-06-24 21:48:48 -04:00
Paul Beckingham
88b1707b58
CLI2: Commented out implementation of ::desugarFilterPlainArgs
...
- The algorithm is wrong, and it misidentfies solitary search patterns.
2015-06-24 21:29:56 -04:00
Paul Beckingham
9dcd52fc5b
CLI2: Inhibit the identification of IDs if preceeded by an operator
2015-06-24 20:59:27 -04:00
Paul Beckingham
dfe6927f14
CLI: Code removed
2015-06-24 16:33:07 -04:00
Paul Beckingham
bd44193f8d
Test: Updated README
2015-06-24 16:17:38 -04:00
Renato Alves
a7fa29fb65
Tests: merge op_* to operators.t and convert to Python
2015-06-24 20:12:49 +01:00
Renato Alves
4164c8184b
Tests: bug.489 merged with filter.t
2015-06-24 20:12:49 +01:00
Paul Beckingham
8d8f2f1d95
Tests: Relocated tests to eliminate a script
...
- Relocated (relevant) tests from bug.concat.t to uda_orphan.t, which yields
better grouping, and allows the deletion of bug.concat.t, which contains
tests that are no longer relevant.
2015-06-24 13:31:38 -04:00
Paul Beckingham
737cb23546
CLI2: Eliminated CLI
...
- This is a large commit, as all the changes are centered around the elimination
of CLI.
- CLI is no longer compiled.
- Context no longer maintains CLI + CLI2.
- Filter now walks the parse tree and sends to Eval a
std::vector <std::pair <std::string, Lexer::Type>> containing only args tagged
with FILTER.
- Filter more efficiently sets/unsets Eval::debug, by doing it less often.
- The filterExpr.length() check is no longer meaningful, and instead the size of
the std::vector above is used.
- Filter::pendingOnly performs better analysis.
- Filter::safety makes use of the std::vector size also.
- Task::modify makes use of 'canonical' rather than 'name', which is a policy
change, not a fix.
2015-06-24 13:23:56 -04:00
Paul Beckingham
183550a190
CLI2: Unrecognized Lexer::Type::pair args are now downgraded to Lexer::Type::word
2015-06-24 13:06:20 -04:00
Paul Beckingham
de93c63535
Lexer: Not longer considers ( ) part of a contiguous token
2015-06-24 12:47:24 -04:00
Paul Beckingham
edff3e0e94
Tests: Converted undo.t to Python
2015-06-24 12:30:54 -04:00
Paul Beckingham
d9bcbdee0a
Lexer: Added ::isContiguous for word-like matching
2015-06-22 21:34:57 -04:00
Paul Beckingham
e66ad50e7e
Tests: Removed 'name=value' lexer test
...
- Test is now a duplicate, because 'name=value' was three tokens, and is now a
pair.
2015-06-22 21:27:08 -04:00
Paul Beckingham
449d577cca
CLI2: Moved all the ::desugar* methods after the single-arg manipulations
2015-06-22 21:21:26 -04:00
Paul Beckingham
960d2be06d
Task: Added a Lexer::dequote to values
2015-06-22 16:29:56 -04:00
Paul Beckingham
1cf07cd6fb
CLI2: Fixed bug in UUID filtering
...
- When filtering by UUID, the expression listed the 'uuid' attribute as a type
Lexer::Type::string, which should have been Lexer::Type::dom.
2015-06-22 16:20:22 -04:00
Paul Beckingham
4b68fea674
CLI2: Fixed bug in ::findCommand
...
- If an argument is an exact match for a command ('projects'), it is a command.
- If an argument is not an exact match for command ('project'), but is an exact
match for an attribute, it is not a command.
- If an argument fails the above tests, but canonicalizes to a command, it is a
command.
2015-06-22 16:01:01 -04:00
Paul Beckingham
5d98acef29
Merge branch '2.4.5' of ssh://git.tasktools.org/tm/task into 2.4.5
2015-06-22 15:43:11 -04:00
Wilhelm Schuermann
de8eb2814b
CMake: Require libgnutls by default.
...
- Make cmake complain and abort the build process if libgnutls is not
available. In order to build Taskwarrior without "sync" support,
or to build it on a system with libgnutls missing, the new cmake
flag "-DENABLE_SYNC=OFF" can be used.
2015-06-22 21:20:29 +02:00
Paul Beckingham
a541156cec
CLI2: Added support for write commands specifїgin ID/UUID *after* CMD
2015-06-22 14:48:17 -04:00
Paul Beckingham
f305a973da
CmdDenotate: Converted from CLI to CLI2
2015-06-22 14:47:26 -04:00
Paul Beckingham
f8ab97a07e
CmdCustom: Converted from CLI to CLI2
2015-06-22 14:46:47 -04:00
Paul Beckingham
3d19bffd55
CLI2: Raised the precedence of ::desugarPlainArgs
2015-06-22 14:12:05 -04:00
Paul Beckingham
076b2aaa95
CLI2: Fix bug where a second terminator (--) was stripped
2015-06-22 14:11:28 -04:00
Renato Alves
53f7786da5
Simpletap: Handle "Unexpected success" cases
...
When a test decorated with @expectedFailure unexpectedly passes, fail
that test until the decorator is removed.
2015-06-22 17:32:46 +01:00
Paul Beckingham
02b91a94fc
CLI2: Fixed bug recognizing command names
...
- If a command is found via canonicalization, but that command is also an exact
match for an attribute, then it is not a command.
2015-06-22 11:55:55 -04:00
Paul Beckingham
fd35190ab0
Lexer: Fixed bug that caused 'name=value' to not be a Lexer::Type::pair
2015-06-22 11:55:19 -04:00
Paul Beckingham
b573a0ddcc
CLI2: Added missing ::analyze call after ::add for ::addFilter
2015-06-22 11:34:02 -04:00
Paul Beckingham
fcc1bb3ef2
CLI2: Fixed bug where ::desugarFilterAttributes set 'name' instead of 'canonical'
2015-06-22 11:09:49 -04:00
Paul Beckingham
633d07f75b
CLI2: Added disqualifier list to ::addContextFilter stub
2015-06-22 10:46:42 -04:00
Paul Beckingham
82c5d019a3
CLI2: Added ::addFilter method
2015-06-22 10:30:29 -04:00
Paul Beckingham
c8fd51bd27
CLI2: Removed unused tag MODIFIABLE
2015-06-22 10:20:24 -04:00
Paul Beckingham
0cfa873776
CLI2: Fixed bug where a reference was being copied over
2015-06-22 10:19:47 -04:00
Paul Beckingham
30ad00fb7f
CLI2: Removed unused default constructor A::A
2015-06-22 10:18:43 -04:00
Paul Beckingham
7432c0aead
CLI2: Added ::getToken method for obtaining the canonical form, if possible
2015-06-22 00:35:35 -04:00
Paul Beckingham
9db73962da
Eval: Added method for providing a precompiled expression
2015-06-22 00:20:03 -04:00
Paul Beckingham
ad18d13c29
CLI2: Removed unnecessary CLI2::dump call
2015-06-21 23:47:34 -04:00
Paul Beckingham
54b2227729
CLI2: Removed unused ::decomposeModAttributeModifiers method
2015-06-21 23:47:05 -04:00
Paul Beckingham
82acbb28e3
CLI2: Added ::decomposeModAttributes
2015-06-21 23:43:02 -04:00
Paul Beckingham
c369f37509
CLI2: Removed unused A::unTagAll method
2015-06-21 23:06:06 -04:00
Paul Beckingham
82021f46f7
Context: Converted from CLI::getLimit to CLI2
2015-06-21 23:03:09 -04:00
Paul Beckingham
77b97d658a
CLI2: Added ::getLimit method
2015-06-21 21:19:19 -04:00
Paul Beckingham
867910f7de
CLI2: Remove unused ::disqualifyOnlyParenOps method
2015-06-21 21:15:05 -04:00
Paul Beckingham
4b11ac2dae
CLI2: Removed unused ::disqualifyOnlyParenOps method
2015-06-21 21:13:34 -04:00
Paul Beckingham
5c44929acb
CLI2: Removed unused ::disqualifyNoOps method
2015-06-21 21:13:08 -04:00
Paul Beckingham
d9b15cec2e
CLI2: Removed unused ::disqualifyInsufficientTerms method
2015-06-21 21:12:19 -04:00
Paul Beckingham
c1f4cc3554
CLI2: Added ::decomposeModSubstitutions
2015-06-21 21:08:42 -04:00
Paul Beckingham
b4b15c7f45
CLI2: Added polymorphic ::attribute
2015-06-21 21:08:11 -04:00
Paul Beckingham
7c604cdb8f
CLI2: Fixed bug where MODIFICATION tags were expanded as a filter
2015-06-21 20:44:09 -04:00
Paul Beckingham
15e9c91d85
CLI2: Added ::decomposeModTags
2015-06-21 20:43:42 -04:00
Paul Beckingham
706ca72a75
CLI2: Added ::insertJunctions
2015-06-21 20:15:05 -04:00
Paul Beckingham
cd8eb4b1b0
Tests: Some 'expectedFailure' test were fixed
2015-06-21 16:13:33 -04:00
Paul Beckingham
8085b15b50
CLI2: Added special case handling for '<name>:<value>', using operator '='
...
- By adding the special case, the desugarFilterAttributes and
desugarFilterAttributeModifiers methods can be merged.
2015-06-21 15:57:21 -04:00
Paul Beckingham
e504149a43
CLI2: Removed unused ::desugarFilterAttributeModifiers method
2015-06-21 15:55:44 -04:00
Paul Beckingham
9b23eb2d23
CLI2: Bug parsing attribute modfiiers
...
- Consider 'project.is:home' and 'project:home.garden'. The colon ':' and the
dot '.' switch places and change the meaning. This was not caught by the paser.
- Removed commented call that is now merged.
2015-06-21 15:49:17 -04:00
Paul Beckingham
fe9891f2f9
CLI2: Added ::desugarFilterAttributes
2015-06-21 15:43:52 -04:00
Paul Beckingham
23e3180d7b
CLI2: Moved ::desugarFilterPlainArgs higher in precedence
...
- Because of hte relaxed conditions in hte ::desugarFilterPlainArgs method,
this was causing problems evaluating attribute modifiers.
2015-06-21 15:41:13 -04:00
Paul Beckingham
4162756560
CLI2: Removed unused ::findAttributes method
2015-06-20 12:39:44 -07:00
Paul Beckingham
62307f64da
CLI2: Added ::desugarFilterPlainArgs
2015-06-20 12:37:10 -07:00
Paul Beckingham
8229d29100
CLI2: Added ::desugarFilterPatterns
2015-06-20 12:15:11 -07:00
Paul Beckingham
20d259a129
CLI2: Removed unused ::addArgs method
2015-06-20 11:59:37 -07:00
Paul Beckingham
db3150d7b2
CLI2: Added ::findStrayModifications
2015-06-20 11:50:42 -07:00
Paul Beckingham
c235b63572
CLI2: Added ::unTag
2015-06-20 11:49:53 -07:00
Paul Beckingham
eca0e35451
CLI2: Removed unused ::findOperators method
2015-06-20 11:18:09 -07:00
Paul Beckingham
53e7d74ce3
CLI2: With Lexer::Type::string args, there is no need to insert quotes
2015-06-20 11:15:34 -07:00
Paul Beckingham
97bcfd3006
CLI2: Fixed bug where all FILTER args were tagged with 'ID'
2015-06-20 11:15:24 -07:00
Paul Beckingham
a21767aa15
CLI2: Added ::desugarFilterTags
2015-06-20 11:14:37 -07:00
Paul Beckingham
040f990bd1
CLI2: Removed unnecessary tagging, given Lexer::Type
2015-06-20 10:54:20 -07:00
Paul Beckingham
c44b155e97
CLI2: Added ::insertIDExpr
...
- Converted ::_id_ranges to std::vector <std::pair <std::string, std::string>>,
which reduced the nubmer of string->int conversions, and the need for integer
formatting.
2015-06-20 10:47:02 -07:00
Paul Beckingham
c49b9f352c
CLI2: Removed unused ::isAttribute method
2015-06-20 10:03:54 -07:00
Paul Beckingham
b80c103043
CLI2: Removed unused members _strict, _terminated
2015-06-20 10:01:12 -07:00
Paul Beckingham
0ef3cff4c6
CLI2: Removed unused A::attribute methods
2015-06-20 09:59:11 -07:00
Paul Beckingham
e186082a9b
CLI2: Added necessary includes
2015-06-20 09:57:52 -07:00
Paul Beckingham
f0d3e77608
CLI2: Removed unused ::isName method
2015-06-20 09:53:46 -07:00
Paul Beckingham
bf2720a59b
CLI2: Removed unused ::isOperator method
2015-06-20 09:52:15 -07:00
Paul Beckingham
2d453f5f88
CLI2: Removed unused ::isSubstitution method
2015-06-20 09:51:01 -07:00
Paul Beckingham
014baa4622
CLI2: Removed unused ::isPattern method
2015-06-20 09:49:26 -07:00
Paul Beckingham
6fdd5f8053
CLI2: Removed unused ::isTerminator method
2015-06-20 09:47:47 -07:00
Paul Beckingham
49decfec2a
CLI2: Remvoed unused ::isTag method
2015-06-20 09:46:55 -07:00
Paul Beckingham
072f966099
CLI2: Removed unused ::isCommand method
2015-06-20 09:43:31 -07:00
Paul Beckingham
e67b812d35
CLI2: Removed unused ::isID method
2015-06-20 09:41:58 -07:00
Paul Beckingham
f2b5fb6d93
CLI2: Removed unused ::isIDSequence method
2015-06-20 09:39:07 -07:00
Paul Beckingham
3782f37d9d
CLI2: Removed unused ::isUUID method
2015-06-20 09:36:25 -07:00
Paul Beckingham
c32106e107
CLI2: Removed debug diagnostics for ::analyze
2015-06-20 09:34:36 -07:00
Paul Beckingham
b9a1ebc393
CLI2: Removed unused ::getFilter method
2015-06-20 09:31:19 -07:00
Paul Beckingham
e8a9e5bc32
CLI2: Removed unused ::applyOverrides method
2015-06-20 09:29:54 -07:00
Paul Beckingham
17f4b50aa7
CLI2: Removed unused ::add method
2015-06-20 09:28:25 -07:00
Paul Beckingham
2c4cd8b06a
CLI2: Removed unused ::initialize method
2015-06-20 09:26:53 -07:00
Paul Beckingham
82cf7155cc
CLI2: Disagnostic formatting
2015-06-20 09:25:03 -07:00
Paul Beckingham
d6eae96689
CLI2: Removed unused constructors
2015-06-20 09:23:36 -07:00
Paul Beckingham
b62896e67c
CLI2: Added ID ranges and UUID lists to ::dump
2015-06-20 09:20:12 -07:00
Paul Beckingham
035b7d5c5e
CLI2: Eliminate compiler warnings by adding missing diagnostics
2015-06-20 08:57:03 -07:00
Paul Beckingham
d92a6c3ee8
CLI2: Added ::findUUIDs
2015-06-20 06:49:30 -07:00
Paul Beckingham
d97aab799a
CLI2: Implemented ::findIDs using Lexer::Type::set
2015-06-19 23:40:52 -07:00
Paul Beckingham
b2803bddda
Tests: Added test for Lexer::Type::set
2015-06-19 18:30:32 -07:00
Paul Beckingham
f4a7c50f1a
Lexer: Added ::isSet to recognize numerical sets
...
- A numerical set is a list of numbers: 1,2,3
Or a range of numbers: 5-10
Or a combination of both: 1,2,3,5-10
2015-06-19 18:28:58 -07:00
Paul Beckingham
275548d6ed
CLI2: Removed old implementation from ::prepareFilter
2015-06-19 12:38:49 -07:00
Paul Beckingham
4c55e7ef3d
CLI2: Removed obsolete ::categorize method
2015-06-19 12:35:04 -07:00
Paul Beckingham
3636de11c8
CLI2: Removed obsolete ::analyze method
2015-06-19 12:33:06 -07:00
Paul Beckingham
c696a1748a
CLI2: Implemented FILTER/MODIFICATION categorization
2015-06-19 10:18:41 -07:00
Paul Beckingham
6c0ba77204
CLI2: Added ::prepareFilter for the deferred parsing of filters
2015-06-19 10:15:01 -07:00
Paul Beckingham
dc5f9e38a6
Context: Convert some CLI calls to CLI2
2015-06-19 07:03:57 -07:00
Paul Beckingham
49e7196dec
Context: Removed unused ::clear method
2015-06-17 14:24:14 -07:00
Paul Beckingham
80052949d9
CmdUndo: Converted from CLI to CLI2
2015-06-17 01:41:35 -07:00
Paul Beckingham
f6f89ac333
CmdGet: Converted form CLI to CLI2
2015-06-17 04:16:19 -04:00
Paul Beckingham
12825c5205
CLI2: Added ::getWords and ::getCommand variations
...
- ::getWords (false) now returns an unfiltered list of command line args,
specifically any rc.<name>:<value> or rc:<file> args are left uninterpreted.
- ::getCommand (false) now returns the raw command, not the canonical command.
2015-06-17 04:14:37 -04:00
Paul Beckingham
cbf20217dc
CmdTimesheet: Converted from CLI to CLI2
2015-06-16 21:54:38 -04:00
Paul Beckingham
bbaf8f4572
CmdSync: Converted from CLI to CLI2
2015-06-16 21:54:27 -04:00
Paul Beckingham
8a7b4440b5
CmdShow: Converted from CLI to CLI2
2015-06-16 21:54:17 -04:00
Paul Beckingham
a24269a0c9
CmdImport: Converted from CLI to CLI2
2015-06-16 21:54:06 -04:00
Paul Beckingham
72073b7515
CmdContext: Converted from CLI to CLI2
2015-06-16 21:53:51 -04:00
Paul Beckingham
1ab3f951c9
CmdColumns: Converted from CLI to CLI2
2015-06-16 21:53:16 -04:00
Paul Beckingham
af9e7fa7fa
CmdCalendar: Converted from CLI to CLI2
2015-06-16 21:52:48 -04:00
Paul Beckingham
46060c63c9
CmdBurndown: Converted from CLI to CLI2
2015-06-16 21:52:31 -04:00
Paul Beckingham
672b6b0c66
CmdColor: Converted from CLI to CLI2
2015-06-16 21:46:41 -04:00
Paul Beckingham
f718ec90a5
CmdExec: Converted from CLI to CLI2.
2015-06-16 21:40:36 -04:00
Paul Beckingham
40d019c249
CLI2: ::defaultCommand now expands both _args and _original_args
2015-06-16 21:39:51 -04:00
Paul Beckingham
9ea2702696
CLI2: ::aliasExpansion now expands in both _args and _original_args
2015-06-16 21:39:16 -04:00
Paul Beckingham
bb283de1dd
CLI2: Modified ::getWords to ignore either raw or canonicalized command
2015-06-16 21:17:19 -04:00
Paul Beckingham
ba63472068
CLI2: Added ::getCommandRaw
...
- Used when the canonicalized form is not wanted - just the raw.
2015-06-16 21:15:34 -04:00
Paul Beckingham
e36d358115
CmdCalc: Coneverted to CLI2::getWords
2015-06-14 23:24:11 -04:00
Paul Beckingham
8894dc1244
CmdConfig: Converted to CLI2::getWords
2015-06-14 23:22:27 -04:00
Paul Beckingham
687e7c5e70
CLI2: Added ::getWords, done properly
2015-06-14 23:16:00 -04:00
Paul Beckingham
e4ab3574e4
CmdCalendar: Converted from CLI::_args[0] to CLI2::_original_args[0]
2015-06-14 22:33:09 -04:00
Paul Beckingham
31fb7726c0
Hooks: Converted from CLI to CLI2
2015-06-14 22:29:23 -04:00
Paul Beckingham
afa39de68b
Tests: Combined and converted DOM unit tests
...
- Eliminated dom.t.cpp and therefore dom.t
- Eliminated dom.2.t (perl)
- Created dom.t (python) combining the above
2015-06-14 22:15:33 -04:00
Paul Beckingham
a6c99f3ba5
CLI2: Added ::getCommand
2015-06-14 20:54:01 -04:00
Paul Beckingham
75028f6ad9
DOM: Converted to CLI2::canonicalize
2015-06-14 20:51:21 -04:00
Paul Beckingham
ee03261573
DOM: Converted DOM 'context.args' to use CLI2
2015-06-14 20:50:24 -04:00
Paul Beckingham
ddf44de23d
DOM: Converted to use CLI2
2015-06-14 20:45:25 -04:00
Paul Beckingham
323674b08d
CLI2: Added ::getBinary
2015-06-14 20:45:06 -04:00
Paul Beckingham
f59724297f
CLI2: Added ::defaultCommand
2015-06-14 17:49:16 -04:00
Paul Beckingham
81844753fd
CLI2: Removed unused include
2015-06-14 17:48:41 -04:00
Paul Beckingham
778bd4ae2f
CLI2: Simplified A2::dump by removing useless node name
2015-06-14 17:47:53 -04:00
Paul Beckingham
68ac07080c
CLI2: ::findCommand now return a bool indicating what happened.
2015-06-14 17:45:18 -04:00
Paul Beckingham
9af18183c9
CLI2: Eliminate useless ::disqualifySugarFree
2015-06-14 16:46:38 -04:00
Paul Beckingham
0aff903024
CLI2: Simplified all parsing by removing terminator considerations
2015-06-14 16:39:03 -04:00
Paul Beckingham
2cab600674
CLI2: Added ::handleTerminator
...
- CLI2::handleTerminator removes all terminator arguments it finds
and downgrades all subsequent arguments to Lexer::Type::word. This
simplifies all further processing.
2015-06-14 16:33:34 -04:00
Paul Beckingham
370df8e07f
CLI2: Added A::A default ctor
2015-06-14 16:32:44 -04:00
Paul Beckingham
d1e7537e76
CLI2: Simplified ::findCommand
2015-06-14 15:38:27 -04:00
Paul Beckingham
cacc427cbd
CLI2: ADded ::findCommand.
2015-06-14 15:29:40 -04:00
Paul Beckingham
9d5a10bd89
CLI2: Added ::lexArguments to perform *all* lexing
2015-06-14 15:27:05 -04:00
Paul Beckingham
ab367145c6
CLI2: Added ::exactMatch.
2015-06-14 15:11:21 -04:00
Paul Beckingham
ad69f84794
CLI2: Added ::canonicalize
2015-06-14 15:05:03 -04:00
Paul Beckingham
addcbe15d5
CLI2: Removed unnecessary TW and CALENDAR tags
2015-06-14 14:21:55 -04:00
Paul Beckingham
c305768ed8
CLI2: Now relies on Lexer::Type::separator, rather than literal "--".
2015-06-14 14:14:27 -04:00
Paul Beckingham
078e9fe751
CLI2: Tagging the binary as 'ORIGINAL' is no longer useful
2015-06-14 14:13:51 -04:00
Paul Beckingham
e701d6d607
CLI2: Eliminated unused ::removeAttribute.
2015-06-14 14:13:02 -04:00
Paul Beckingham
d43ca96056
CLI2: aliasExpansion & argv[0] handling
...
- Added ::handleArg0 method to clean up ::analyze.
- Implemented ::aliasExpansion, which now applies to lexemes, not full command
line arguments.
2015-06-14 09:28:20 -04:00
Paul Beckingham
de23fc3972
CLI2: Removed obsolete methods.
2015-06-14 09:13:39 -04:00
Paul Beckingham
1d4a532ea2
CLI2: Implemented ::findOverrides relying on Lexer::Type
2015-06-13 16:51:14 -04:00
Paul Beckingham
a433ca308a
CLI2: Implemented A2::attribute for reading arg atts
2015-06-13 16:50:34 -04:00
Paul Beckingham
e159c838ad
CLI2: All args lexed
...
- All arguments now lexed.
- A2::dump now includes Lexer::Type.
2015-06-13 16:36:26 -04:00
Paul Beckingham
92a9ce732c
CLI2: Special handling of argv[0], and subsequent args
2015-06-13 16:34:24 -04:00
Paul Beckingham
7060c82767
CLI2: The ::analyze framework is in place
...
- Now the CLI2::analyze framework is in place, the new implementation of arg
analysis can be built. This algorithm first stores added arguments as-is, then
processes them into lexemes, relying on Lexer::Type. Any new arguments added
invalidate prior analysis.
2015-06-13 15:16:43 -04:00
Paul Beckingham
59429e9af8
CLI2: Implemented A2::tag/hasTag
2015-06-13 15:09:20 -04:00
Paul Beckingham
657d5b8310
CLI2: Added CLI2::dump and A2::dump methods.
2015-06-13 15:01:20 -04:00
Paul Beckingham
50cd2968b9
CLI2: A2 now stores Lexer::Type.
2015-06-13 14:45:19 -04:00
Paul Beckingham
485899b0c5
CLI2: Begun ::analyze method
...
- Renamed A to A2, to avoid collisions for now.
- Added A2::attribute, ctor, dtor.
- Stubbbed CLI2::analyze.
2015-06-13 14:34:25 -04:00
Paul Beckingham
23786515f9
CLI2: Implemented simple argument capture, with no processing.
2015-06-13 14:13:19 -04:00
Paul Beckingham
ec5876d56b
CLI2: Aliases captured.
...
- CLI2::alias now captures all alias definitions from Context::Config.
2015-06-13 14:02:18 -04:00
Paul Beckingham
22765a70cb
CLI2: Entity capture.
...
- CLI2::entity now captures all the known entities, duplicating the processing
in Context for now.
2015-06-13 13:57:53 -04:00
Paul Beckingham
96493db047
CLI2: Ctor/dtors enabled.
2015-06-13 13:53:35 -04:00
Paul Beckingham
5602413acd
CLI2: Migrated static methods
...
- The old CLI object has three static methods that are used for extracting
information from the command line before parsing takes place. These include
rc.name:value and rc:value and code that applies those overrides to
Context::Config. These methods are moved to CLI2 - being static it makes no
difference where they reside.
- Context::initialize now calls the CLI2 versions only.
2015-06-13 13:44:54 -04:00
Paul Beckingham
ca90893216
CLI2: Static initialization of global settings.
2015-06-13 13:38:19 -04:00
Paul Beckingham
708ddd3804
CLI2: Refactoring CLI to rely completely on the Lexer
2015-06-13 13:35:34 -04:00
Renato Alves
d1d300fc69
basetest: Documentation clarification
2015-06-12 20:20:28 +01:00
Renato Alves
2c4480dc1b
Tests: bug.485 merged with filter.t
2015-06-11 23:42:46 +01:00
Renato Alves
bd3cce7d4b
simpletap: Show more information in expected failures
2015-06-11 23:35:07 +01:00
Renato Alves
6b8dd60b33
Tests: bug.480 merged with filter.t
2015-06-11 23:06:37 +01:00
Renato Alves
a7e502395b
Fix holiday for International Women's Day in BY and RU
2015-06-11 13:37:01 +01:00
Renato Alves
b763ce012c
Tests: One more CYGWIN specific skipIf
2015-06-11 11:16:49 +01:00
Paul Beckingham
b138b278b5
tw-1469: Updated test to use unittest.skipIf().
2015-06-10 20:49:27 -04:00
Renato Alves
afa042fdb4
Tests: Fix due.t failure on cygwin
2015-06-11 01:40:36 +01:00
Renato Alves
f152d14baa
Tests: bug.455.t merged with encoding.t
2015-06-11 01:06:17 +01:00
Renato Alves
116c074c43
Tests: bug.441.t now in python
2015-06-11 00:49:36 +01:00
Renato Alves
f2e32739cf
Tests: bug.440 merged with append.t
2015-06-11 00:46:51 +01:00
Renato Alves
00ee5dd7a3
Tests: Merge bug.438 with sorting.t
2015-06-11 00:35:43 +01:00
Renato Alves
c3423243d8
Tests: Rename self.diag to self.tap and use self.t.diag where applicable
...
Having self.diag and self.t.diag was confusing as one referred to TAP
output (self.diag) while the other referred to "task diagnostics"
self.t.diag.
self.diag is now gone and was replaced by self.tap with the same
behavior.
2015-06-10 23:33:56 +01:00
Renato Alves
cd3a848bad
Tests: bug.425, bug_434 and wait now in python
2015-06-10 23:13:42 +01:00
Renato Alves
4dd09ca13f
Tests: Commented tests are now active and marked as expected failures
2015-06-10 00:11:47 +01:00
Renato Alves
fad867e86b
Tests: due.t, bug.418.t convert. Reorganize filter.t
2015-06-09 23:28:46 +01:00
Renato Alves
7e79c14eec
Tests: convert ids.t to python
2015-06-09 21:31:59 +01:00
Renato Alves
ef477673d6
Tests: Convert problems to python
2015-06-09 17:12:16 +01:00
Wilhelm Schuermann
2e3b8c8c2a
Plumbing: Move basic format() calls to templates
...
- format() is already using variadic templates, make use of a plain one
to remove more code bloat.
2015-06-09 11:13:44 +02:00
Paul Beckingham
57133140fb
Plumbing: Attempt at fixing the Cygwin missing std::to_string function.
2015-06-07 16:00:12 -04:00
Paul Beckingham
10eeb2566f
Plumbing: Attempt at fixing the Cygwin missing std::to_string function.
2015-06-07 15:56:02 -04:00
Paul Beckingham
8a0bffc5b3
Merge branch '2.4.5' of ssh://git.tasktools.org/tm/task into 2.4.5
2015-06-07 15:34:52 -04:00
Paul Beckingham
2f1ca72334
Code: Improved comments regarding filters/args.
2015-06-07 15:34:33 -04:00
Wilhelm Schuermann
e95167a984
Plumbing: Use variadic templates for format()
...
- Use variadic templates, with a slight twist for properly supporting
Taskwarrior's l10n strings.
- Adjust code that relied on implicit type conversion which led to
problems with template instantiation.
- Move some functionality out of format() in order to keep it generic.
2015-06-07 20:54:02 +02:00
Paul Beckingham
f0fbdaf2c9
CLI: Removed silly object qualification context.cli.dump() -> dump()
2015-06-07 12:41:27 -04:00
Paul Beckingham
ae0a0f671a
Cleanup: Removed obsolete args.cpp
2015-06-07 11:09:25 -04:00
Paul Beckingham
0d6df3c7aa
CLI: Removed unused std::vectors.
2015-06-07 10:11:15 -04:00
Paul Beckingham
b89fe446b4
CLI: Documented need for further categorization.
2015-06-07 10:10:39 -04:00
Paul Beckingham
3dc7baa4ed
CLI: Removed unused and eclipsed argument to ::addArg.
2015-06-07 10:02:00 -04:00
Paul Beckingham
7f763aacb9
CLI: Cleaned up and documented context filter code.
2015-06-07 09:52:58 -04:00
Paul Beckingham
490742284b
Merge branch '2.4.5' of ssh://git.tasktools.org/tm/task into 2.4.5
2015-06-07 09:47:15 -04:00
Paul Beckingham
e1a03c4415
Context: Removed misleading comment.
2015-06-07 09:47:07 -04:00
Wilhelm Schuermann
ae692e07a6
Verbosity: Fix "project" info not showing
...
- Make "project" verbosity imply "footnote", since verbose project
info is shown using footnotes. Fixes failing test in verbose.t.
- Convert "verbosity" variable to std::set for increased readability.
2015-06-07 15:01:26 +02:00
Wilhelm Schuermann
124f1fe4c8
ChangeLog: Include closed JIRA issues
2015-06-06 17:27:51 +02:00
Paul Beckingham
207048514d
CLI: Removed overly complex handling of terminator in ::findOverrides.
2015-06-06 11:08:19 -04:00
Paul Beckingham
1281dfbf22
CLI: Removed redundant terminator scanning in ::initialize.
2015-06-06 11:02:42 -04:00
Paul Beckingham
61470d7820
CLI: Cleaned up overly complex use of 'terminated'.
2015-06-06 10:51:32 -04:00
Wilhelm Schuermann
27cb2afe2c
Tests: Make nag work
...
Note to self:
Even the most trivial change needs to be tested for idiocy.
2015-06-06 16:44:10 +02:00
Paul Beckingham
160f3672db
Typo: Error in comment.
2015-06-06 10:38:23 -04:00
Paul Beckingham
fc6507803b
Scripts: Removed obsolete script 'context'.
2015-06-06 10:37:22 -04:00
Wilhelm Schuermann
ffd1611b46
Tests: Make run_all nag
2015-06-06 16:17:22 +02:00
Renato Alves
9f78e87447
Tests: edit.t set VISUAL instead of EDITOR
...
VISUAL is checked first and used if available.
If the user has VISUAL defined on the environment, the test will have an
unexpected result.
2015-06-06 04:18:13 +01:00
Renato Alves
7517f0a9a0
Tests: uda_report.t now in Python
2015-06-06 03:06:12 +01:00
Renato Alves
c0286c58de
Tests: Merge uda_<type>.t to uda.t and convert to Python
2015-06-06 02:57:07 +01:00
Renato Alves
5c788bf198
Tests: Refactor uda_sort.t to use assertTrue instead
2015-06-06 02:55:57 +01:00
Renato Alves
2962c0d99a
Tests: Remove unnecessary imports and simplify template.t
2015-06-06 02:52:33 +01:00
Renato Alves
68647ed25e
Tests: upgrade.t now in Python
2015-06-06 01:43:46 +01:00
Renato Alves
d976914013
Tests: verbose.t now in Python and with more tests
2015-06-06 01:43:46 +01:00
Wilhelm Schuermann
5105bd05f9
TW-1454: Redundant dependency should not stop modification
2015-06-05 23:57:48 +02:00
Wilhelm Schuermann
e4b9c1f01e
Fix "task edit" dropping annotation text after newlines.
2015-06-05 22:25:48 +02:00
Renato Alves
c4ac7dc4c2
Tests: Convert import.t to python
2015-06-06 00:05:51 +01:00
Renato Alves
78525f509d
Tests: Convert sorting.t to python
2015-06-05 22:47:35 +01:00
Renato Alves
f001499ac0
Tests: Remove bug.417.t, redundant with sorting.t
2015-06-05 21:30:56 +01:00
Renato Alves
a989a63f62
Tests: Remove decode call on template.t
2015-06-05 21:05:34 +01:00
Renato Alves
382a93a315
Tests: bug.414 now in encoding.t as Python
2015-06-05 21:02:47 +01:00
Renato Alves
eb427e153f
Tests: 'task edit' multiline descriptions and annotations
2015-06-05 14:14:37 +01:00
Renato Alves
188fd4ba61
Tests: Accessory functions to create temporary files
...
These use tempfile.NamedTemporaryFile but allow execution without
raising "Text file busy".
The file is removed at exit (of the process) so no cleanup is necessary.
2015-06-05 14:13:07 +01:00
Renato Alves
8511c9f756
Tests: Strip unnecessary indexing in tests
2015-06-04 20:55:53 +01:00
Renato Alves
bf29210719
Tests: checks for active context in 'context list'
2015-06-04 20:55:15 +01:00
Renato Alves
21d5a7fbe8
Display the active context when listing known contexts
2015-06-04 20:14:14 +01:00
Wilhelm Schuermann
2ad3713e8c
JSON: Fix memory leak in parser
...
- Fix JSON root object leaking out by using delete.
This is by no means a comprehensive fix since exceptions are involved
in a lot of places, but it does fix the memory leak in all cases
checked in Taskwarrior's test suite.
- Going with a shared_ptr or unique_ptr here might be a better
solution, but would involve more code changes.
2015-06-03 23:12:34 +02:00
Wilhelm Schuermann
5f8469269e
Cleanup: Remove unused function
...
- Unused since 2010, removed in accordance with Paul's wishes.
2015-05-31 16:41:57 +02:00
Wilhelm Schuermann
f4361d5c65
Import: Reuse CmdModify's checks
...
- Make updating tasks with "task import" run the same checks and update
the same things as "task modify" would.
2015-05-31 16:36:53 +02:00
Wilhelm Schuermann
9067194390
CmdModify: Reorganize code for reuse
...
- Get "modify" checks ready for reuse by CmdImport's newly added update
support.
- No changes in functionality, code reorganization only.
2015-05-31 16:25:07 +02:00
Wilhelm Schuermann
2a56e41fa9
Import: Skip unchanged tasks
...
- Re-importing the same file will now lead to no task changes.
Previously the "modified:" attribute got updated each time an
already imported file was imported again.
2015-05-30 12:40:38 +02:00
Wilhelm Schuermann
9d6067e2fe
TW-303: Make "task import" update existing tasks
2015-05-29 19:49:54 +02:00
Wilhelm Schuermann
45088dc9ce
TW-1432: Add ChangeLog entry
2015-05-28 10:32:23 +02:00
Wilhelm Schuermann
5f61703588
TW-1432: start/stop can be issued on completed tasks
...
- Make "start" set status to pending from completed/deleted.
- Add test to "start_NEW.t", which is to be combined with start.t once
converted from Perl.
2015-05-28 10:11:12 +02:00
Wilhelm Schuermann
9e20f83f24
Tests: Implement export() for task access
2015-05-28 10:09:02 +02:00
Wilhelm Schuermann
916ca29507
Tests: Remove bashism in conversion script
2015-05-27 19:02:01 +02:00
Paul Beckingham
e04eb4256b
CMake: Ignore 'lex' binary.
2015-05-26 00:32:36 -04:00
Renato Alves
90806f3b49
Tests: conversion -v now also lists any perl file under test/
2015-05-25 18:48:10 +01:00
Renato Alves
4c22f1ddb0
Tests: Include TW-1600 into filter.t
2015-05-25 18:31:30 +01:00
Renato Alves
09bfc27260
Test template now includes an example of expected failure
2015-05-25 18:28:46 +01:00
Renato Alves
1302e69d51
Expected failures are now treated as skipped tests
...
Before they were being treated as "passing" tests.
Since this might cause them to be silently ignored, classifying them
under "skipped" will ensure they won't go unnoticed.
Expected failures != skipped. The former will always be executed.
2015-05-25 18:15:31 +01:00
Renato Alves
53899296b1
List expected failures with test/problems
2015-05-25 17:57:00 +01:00
Renato Alves
5a0120f0f2
Add test for TW-1262 (currently skipped)
2015-05-25 16:55:55 +01:00
Renato Alves
6ecfab9647
test/README - Add guidelines for writing tests
2015-05-25 16:55:55 +01:00
Wilhelm Schuermann
a78c9a6eb8
TW-1440: Implement "task import" from STDIN
...
- Read tasks from STDIN when no files are specified, or only "-"
is specified.
2015-05-25 16:47:37 +02:00
Paul Beckingham
3e043291f0
Cleanup: Combined File, Path and Directory into FS
...
- The three objects are related and always travel together, so they are now
combined.
2015-05-25 10:11:41 -04:00
Paul Beckingham
ff88d9da16
Bug: ::execute concatenates output
...
- The ::execute function concatenates output to the std::string provided, which
is almost never wanted. Now it clears first.
2015-05-25 09:22:14 -04:00
Paul Beckingham
8fd1bb630d
Code: Formatting cleanup
2015-05-25 09:21:58 -04:00
Paul Beckingham
e8d04bdce6
C++11: N1984 auto
2015-05-24 13:36:26 -04:00
Paul Beckingham
7bbc794d3a
C++11: N2672 Initializer lists
...
- Modified code to use the more compact and readable initializer lists.
2015-05-24 13:03:02 -04:00
Wilhelm Schuermann
49f7612704
TW-1572: Implement better urgency inheritance
...
- Implement recursive urgency inheritance. If this is to be made a
default setting, some thought will have to be put into making it
more efficient.
2015-05-22 23:01:21 +02:00
Wilhelm Schuermann
8800ad33cf
Util: Minor formatting cleanup of execute()
2015-05-13 20:59:59 +02:00
Paul Beckingham
e74c6963a9
C++11: Cleaned up program framework with range-based for
2015-05-11 17:50:53 -04:00
Paul Beckingham
5a57dfd70d
C++11: Cleaned up commands code with range-based for
2015-05-11 17:45:15 -04:00
Paul Beckingham
bd3d58484a
C++11: Cleaned up column code wiht range-based for
2015-05-11 17:33:20 -04:00
Federico Hernandez
5b675ea834
ChangeLog fix
2015-05-10 23:25:52 +02:00
Federico Hernandez
4ba41d4fe7
Bumped version in ref page
2015-05-10 23:21:17 +02:00
Federico Hernandez
1800ab0e1b
Bumped version number to 2.4.5
2015-05-10 23:11:26 +02:00
Federico Hernandez
e989dee505
Added SHA1 of tagged release commit
2015-05-10 23:07:55 +02:00
Federico Hernandez
df49aaba12
Version number and release date for 2.4.4
2015-05-10 22:57:16 +02:00
Paul Beckingham
0d45bb75e8
Merge branch '2.4.4' of ssh://git.tasktools.org/tm/task into 2.4.4
2015-05-10 13:19:12 -04:00
Paul Beckingham
5d5e824453
Docs: Filled in balnks in NEWS file.
2015-05-10 13:18:54 -04:00
Wilhelm Schuermann
92b5dfd83d
Add-ons: Fix UTF8 problems with export-sql.py
2015-05-10 17:58:20 +02:00
Paul Beckingham
7293de75b0
TW-1608: The recur/recurring report shows tasks without a recur interval
...
- Lexer needed additional lookbehind criteria for ::isTag (thanks to Brad
Collette).
2015-05-09 21:27:48 -04:00
Paul Beckingham
f30f4d45c6
TW-1285: I'd like to use relative dates combined with times
...
- With the new parser and datemath in place, this can now be done (thanks to
Adam Gibbins).
2015-05-09 11:22:05 -04:00
Paul Beckingham
32ef3fdb3d
TW-69: wait dates relative to due date
...
- Possible now with DOM access: task add ... due:eom wait:due-1wk
(thanks to John Florian).
2015-05-09 11:15:35 -04:00
Wilhelm Schuermann
65b6a35ef5
Tests: Make self.t('add proj:"with space" foo') work
2015-05-08 18:19:37 +02:00
Roman Inflianskas
e16bd6ee83
Fish: Use variables for completion options
2015-05-07 20:21:32 -04:00
Wilhelm Schuermann
69698454c3
Tests: Speed up filter.t
...
- None of the tests in filter.t write data. Make use of that by
setting up task data once for all included tests.
2015-05-07 17:23:14 +02:00
Wilhelm Schuermann
3a7af017f8
Tests: Make "run_all --fast" even faster
...
- Run isolated tests in the background, bringing the time for running
"run_all" down to the time it takes to run the old tests.
2015-05-07 11:41:05 +02:00
Wilhelm Schuermann
accd51bc35
Tests: Fix problems with "run_all --fast" on OpenBSD
2015-05-06 22:06:11 +02:00
Wilhelm Schuermann
5fee3ef27c
Tests: Clean up after "run_all --fast"
2015-05-06 20:56:35 +02:00
Paul Beckingham
0850e26a3e
Tests: Removed annoying comment.
2015-05-06 14:44:35 -04:00
Wilhelm Schuermann
4deb17696e
Tests: Parallelize Python tests
...
- "./run_all --fast" parallelizes all Python tests. Perl and C++ tests
are not guaranteed to run in an isolated environment, so run them
serially instead.
- Adjust some tests in order to recognize them as Python.
2015-05-06 19:17:33 +02:00
Wilhelm Schuermann
7d859d6b6d
Tests: Beautify gc.t, add one more GC test
2015-05-05 21:00:39 +02:00
Wilhelm Schuermann
f6e04585ae
Tests: Add simpler self.t("add foo +bar") syntax
2015-05-05 20:28:10 +02:00
Renato Alves
1e31df3c7a
Tests: bug.368.t > feature.recurrence.t as python
2015-05-05 15:13:01 +01:00
Renato Alves
db04f1b583
Tests: bug.327.t > feature.recurrence.t in python
2015-05-05 15:05:42 +01:00
Wilhelm Schuermann
1c9edcc2ec
TW-1610: Add tests
...
- More GC tests needed, this is just a basic "starter pack" to
reproduce the problem reported in TW-1610.
2015-05-05 10:10:29 +02:00
Wilhelm Schuermann
710372b8db
TW-1610: Disabling GC can lead to editing the wrong task
...
- 9e6c6ecb93 introduced a change that
can lead to the wrong task being edited when GC is manually turned
off. Fix this by taking the user's GC setting into account.
2015-05-04 09:01:01 +02:00
Paul Beckingham
c8756f0201
TW-1474: Documentation is confusing with respect to user/uuid on the server
...
- Man page clarified, mention of 'password' removed (thanks to Tomas Babej).
2015-05-03 11:21:01 -04:00
Paul Beckingham
b6b49ca7e4
Docs: Added comment to prevent changes
2015-05-03 10:54:52 -04:00
Renato Alves
ec9b8c5aa9
Tests: Force protocol to IPv4 on localhost
2015-05-03 15:52:12 +01:00
Wilhelm Schuermann
023a17e6be
(t|T)ask(w|W)arrior ---> Taskwarrior
...
- Standardize spelling of "Taskwarrior" across most files.
- Fix other minor typos in help text and docs.
2015-05-02 18:12:21 +02:00
Paul Beckingham
c346cf9395
Portability: Use fcntl instead of flock
...
- POSIX file locking mechanism, eliminating platform-specific code.
2015-05-02 11:47:39 -04:00
Paul Beckingham
71fef9f22f
Docs: Updated INSTALL
2015-05-02 09:47:06 -04:00
Paul Beckingham
36e31811b0
TW-1606: scheduled.any filter
...
- The Lexer::dom type worked embedded, but not isolated (thanks to Peter Rochen).
2015-04-29 18:53:13 -04:00
Paul Beckingham
71753ef666
TW-1605: Japanese translation for Taskwarrior
...
- Initial Japanese translation (thanks to Oota Toshiya).
2015-04-28 20:11:11 -04:00
Paul Beckingham
7a9e099568
TW-1603: Priority color precedence changed since it is a UDA, should be lowered again
...
- The 'uda.' element is moved to the end, where 'pri.' used to be (thanks to
Jens Erat).
2015-04-27 17:21:01 -04:00
Renato Alves
fcfc95df86
Tests: Fix framework log collection error
2015-04-27 11:39:34 +01:00
Paul Beckingham
5f9a543b1b
TLS: Diagnostics
...
- When a certificate fails validation, display the full set of reasons, in
debug mode.
2015-04-26 20:52:34 -04:00
Paul Beckingham
75775786e6
TLS: Fixed version conditional
...
- The call to gnutls_certificate_verification_status_print was protected by an
#ifdef which had the wrong GnuTLS version number.
2015-04-26 20:51:46 -04:00
Paul Beckingham
caa8c8e884
TLS: Fixed cert verification bug
...
- When a cert was unreadable, instead of exiting verification with a value of
GNUTLS_E_CERTIFICATE_ERROR, the value was assigned to 'status', which has
different semantics.
2015-04-26 20:51:08 -04:00
Paul Beckingham
93470bb8d8
Merge branch '2.4.4' of ssh://git.tasktools.org/tm/task into 2.4.4
2015-04-26 13:29:13 -04:00
Paul Beckingham
8e01976abb
Sync: Made more explicit exit codes for various errors
2015-04-26 13:28:53 -04:00
Renato Alves
e60ea2e07a
Revert "Tests: Use IP address instead of hostname with taskd"
...
Going back to using "localhost". Using the IP address causes GNUTLS
handshake errors in GnuTLS <= 3.2.18
This reverts commit 233d97fbff .
2015-04-26 18:13:20 +01:00
Renato Alves
931afb0674
Tests: Documentation on TASK/TASKD_USE_PATH
2015-04-26 17:46:44 +01:00
Paul Beckingham
1b63a2dde5
Documentation: Added the 'rc.obfuscate' setting.
...
- The 'obfuscate' setting, if set to '1' will replace all text with 'xxx'.
2015-04-26 11:14:05 -04:00
Paul Beckingham
c62ba68f10
Merge branch '2.4.4' of ssh://git.tasktools.org/tm/task into 2.4.4
2015-04-26 10:34:40 -04:00
Paul Beckingham
5d60f426a8
Obfuscation: rc.obfuscate=1 hides private details
2015-04-26 10:31:32 -04:00
Renato Alves
7fcb26f363
Tests: Increase timeout to 5 seconds
2015-04-26 15:28:51 +01:00
Paul Beckingham
c34b2b8cfb
Color: Removed "pri." from the color rule precedence
...
- This is an obsolete entry (thanks To Jens Erat).
2015-04-26 09:36:08 -04:00
Paul Beckingham
b9a8d62324
Diagnostics: Removed 'Build caps' line
2015-04-26 09:30:44 -04:00
Paul Beckingham
c8c7123eb9
Merge branch '2.4.4' of ssh://git.tasktools.org/tm/task into 2.4.4
2015-04-26 09:23:08 -04:00
Paul Beckingham
dc8e874f19
Diagnostics: Removed obsolete items
...
- Removed '+pthreads' caps indicator.
- Removed HAVE_LIB defines for pthreads and readline.
- Removed CMake module for finding readline.
2015-04-26 09:17:31 -04:00
Renato Alves
233d97fbff
Tests: Use IP address instead of hostname with taskd
2015-04-26 00:24:59 +01:00
Renato Alves
64be230639
Tests: Include taskd in USE_PATH warning
2015-04-25 23:59:49 +01:00
Renato Alves
a52bba46f1
Output taskd.log to stdout on taskd failures (not test errors)
2015-04-25 23:51:01 +01:00
Paul Beckingham
b91a4b4982
Tests: Code formatting
2015-04-25 11:55:19 -04:00
Paul Beckingham
f9e3f865b1
TW-1596: TW-1596 taskwarrior can't compile FreeBSD 9.3 32bit environment
...
- On 32-bit systems, 'int' and 'time_t' are ambiguous overrides, and must be
disambiguated with other signature changes (thanks to ribbon).
2015-04-21 11:24:44 +01:00
Paul Beckingham
67a008e7bf
Docs: Updated compiler requirements
2015-04-21 10:55:51 +01:00
Federico Hernandez
5c70619d68
Bumped version number in ref page
2015-04-20 00:22:15 +02:00
Federico Hernandez
6cf3345595
Bumped version number to 2.4.4
2015-04-20 00:07:53 +02:00
Federico Hernandez
9959d8eac8
Added SHA1 of tagged release commit
2015-04-20 00:04:19 +02:00
Federico Hernandez
499044b9b6
Version number and release date for 2.4.3
2015-04-19 23:47:18 +02:00
Wilhelm Schuermann
f66c706370
Portability: FreeBSD 9.3 x86 needs limits.h
2015-04-18 11:38:01 +02:00
Paul Beckingham
e3e72e32f1
Build: More changes to address 32-bit builds
2015-04-18 10:26:37 +01:00
Paul Beckingham
39fb45447b
Lexer: Migrated ispunct to Lexer::isPunctuation
2015-04-16 23:52:43 -04:00
Paul Beckingham
3cbb2bb20f
Lexer: Migrated isdigit to Lexer::isDigit
2015-04-16 23:33:25 -04:00
Paul Beckingham
c6dbdf87a4
Lexer: Migrated isalpha to Lexer::isAlpha
2015-04-16 23:24:17 -04:00
Paul Beckingham
fe8d235a6b
UTF8: Moved mk_wcwidth definition to utf8.h
2015-04-16 23:11:17 -04:00
Paul Beckingham
1371b6595e
Build: Disambiguated Variant instantiation that causes 32-bit problems
2015-04-16 22:53:38 -04:00
Paul Beckingham
21407e0ca2
TW-1595: info command doesn't print urgency details, if urgency is negative
...
- Thanks to Peter Rochen.
2015-04-12 10:13:15 -04:00
Paul Beckingham
c0efa0f4d7
L10N: Removed unused strings, add string missing from fra-FRA.h
2015-04-06 20:19:25 -04:00
Paul Beckingham
236e7898b9
Vim: Modified 'priority' syntax elements.
2015-04-06 20:02:33 -04:00
Paul Beckingham
33738af3e4
Show: Removed obsolete settings.
2015-04-06 19:59:54 -04:00
Fidel Mato
f684917c3c
L10N esp-ESP
...
- Added two missing strings and its translation.
- Order changed to follow eng-USA.h
2015-04-06 19:54:44 -04:00
Fidel Mato
876a7d29b9
L10N esp-ESP
...
- Newly translated string from eng-USA to esp-ESP, and some corrections.
2015-04-06 19:54:38 -04:00
Paul Beckingham
119c19b519
TW-1591: add and option to see non-pending project with command task summary
...
- Setting 'summary.all.projects' shows all projects, not just those with pending
tasks.
2015-04-06 15:47:02 -04:00
Paul Beckingham
935b2993f3
C++11: Took advantage of N1757.
2015-04-06 15:30:39 -04:00
Renato Alves
afec6d451f
Tests: Force stopping taskd on 5mins timeout
2015-04-06 13:46:08 +01:00
Renato Alves
fd17a68930
Tests: expose 'args' passed to hook scripts
...
- Useful to validate that all the expected arguments were passed with
correct escaping.
- Update test/template.t with one use-case for 'args'
2015-04-06 13:43:41 +01:00
Renato Alves
09d86eb165
Tests: Better diagnostics on taskd start failure.
2015-04-06 13:08:17 +01:00
Wilhelm Schuermann
8d5a77f490
Tests: Adjust wrapper to make hook env test work
2015-04-06 10:01:09 +02:00
Paul Beckingham
e9b54ea74f
TW-1556: task hangs when modifying uda field with percent-encoded (url-encoded)
...
- This bug іs fixed by the new Lexer, which has allows unrecognized lexemes
to fall through to becomre 'word' or 'dom' types (thanks to Stefan Frühwirth).
2015-04-05 23:45:27 -04:00
Paul Beckingham
3a035a7d1d
TW-1590: syntax of rcfile not documented (whitespace, line continuation)
...
- Updated top of the taskrc(5) man page with a description of the file syntax.
(thanks to Scott M).
2015-04-05 23:37:43 -04:00
Paul Beckingham
d405a5f3b5
Tests: Changed hook test to use a command that actually produces output
2015-04-05 16:14:20 -04:00
Paul Beckingham
0cba34268c
Build: Fixed broken compile
2015-04-05 16:08:33 -04:00
Paul Beckingham
61e1401073
Performance: Only measures the first fixed-width column row
2015-04-05 16:05:43 -04:00
Paul Beckingham
a883c5ca41
Themes: Updated the built-in default theme regarding priority
2015-04-05 15:17:33 -04:00
Paul Beckingham
d98b6e5c0b
Tests: Converted priority urgency coefficients to UDAs
2015-04-05 14:58:07 -04:00
Paul Beckingham
6b0d288da7
Themes: Converted color rules for 'priority'.
2015-04-05 14:09:40 -04:00
Paul Beckingham
e8654c49b5
Tests: Modified tests to accomodate new 'prioirity' color rules
2015-04-05 14:05:29 -04:00
Paul Beckingham
c28932ebbe
Tests: Removed diag output from test. Still doens't work.
2015-04-05 13:29:00 -04:00
Paul Beckingham
826769bcd9
Tests: Removed unused code
2015-04-05 13:21:20 -04:00
Paul Beckingham
d31227d2e2
Tests: Add testing for hook args. Doesn't work.
2015-04-05 13:04:51 -04:00
Paul Beckingham
0a54d46589
Hooks: With rc.debug.hooks=2, shows hook arguments
2015-04-05 12:19:55 -04:00
Paul Beckingham
3f457dc744
Info: Don't print an urgency detail table is the value is zero
2015-04-05 12:00:08 -04:00
Paul Beckingham
f9c99624b2
Info: Properly breaks out urgency values for UDA coefficients
2015-04-05 11:56:55 -04:00
Paul Beckingham
b19b0f47e5
TW-1541: Priority should be converted to UDA (in default taskrc)
...
- The 'priority' core attribute is removed, replaced by a UDA configured to
behave in the same manner.
2015-04-05 10:41:23 -04:00
Paul Beckingham
fbf9a8be8d
TW-1539: user-defined urgency coefficients for priority values
...
- The 'urgency.uda.<uda>.coefficient', and 'urgency.uda.<uda>.<value>.coefficient'
settings allow the setting of an urgency coefficient for the presence of data,
or a specific value (takes precedence).
2015-04-05 10:38:13 -04:00
Paul Beckingham
9476069b41
TW-111 User-defined priorities
...
- The 'priority' attribute is no longer a core attribute, and is instead defined
by default as a UDA that behaves in the same way. It is therefore
reconfigurable with defined values, sort order, and urgency coefficients.
2015-04-05 10:35:21 -04:00
Paul Beckingham
35b77f93c4
TW-57: user defined attribute sort order
...
- When a UDA of type 'string' specifies allowable values, that list is used to
indicate the sort order, from high to low (thanks to Max Muller).
2015-04-05 10:33:36 -04:00
Paul Beckingham
5da3416b79
TW-70: urgency.user.keyword.<keyword>.coefficient=...
...
- The 'urgency.user.keyword.<keywrod>.coefficient' setting allows for urgency
adjustments based on description keywords.
2015-04-05 10:25:42 -04:00
Paul Beckingham
79207a8e42
Info: A '+' symbol was shown instead of a '*', for urgency details
2015-04-05 10:22:56 -04:00
Paul Beckingham
5af4579741
Priority: Converted 'priority' attribute to a UDA
...
- 'priority.long' and 'priority.short' formats now map to 'priority', and
generate a warning.
- Man page updated.
- Converted priority urgency coefficients to UDA equivalents.
- Converted priority color rules to UDA color rules.
- Removed 'default.priority' support.
- Removed special sort handling for 'priority' field in Variant, added special
UDA sort handling.
- Removed ColPriority.{h,cpp} source files.
- Removed asorted newly-unused variables.
- The 'show' command now highlights unused priority settings.
- Removed unused localized priority-relateѕ strings.
- Added legacy mapping for columns and sort columns for 'priority.long' and
'priority.short' columns in report definitions.
- Removed priority color rules implementation.
- Removed obsolete tests for #860 , #990 , custom.priority_long.t.
- Updated various tests that set priority default, colors.
2015-04-04 19:30:33 -04:00
Paul Beckingham
7a9d314016
Variant: Temporarily put back the priority string handling
...
- In order to test that the UDA sorting is good, the priority processing must
be in place, as many test rely on priority values. Will be removed later.
2015-04-04 16:16:51 -04:00
Paul Beckingham
07a18f4fae
Tests: UDA sort tests
2015-04-04 15:48:01 -04:00
Paul Beckingham
29a09707f3
Variant: Implemented custom UDA sorting
2015-04-04 15:47:41 -04:00
Paul Beckingham
743cb92958
Context: Static initialize UDA sort order values
2015-04-04 14:50:38 -04:00
Paul Beckingham
370afa0d26
Sort: Delegate UDA string sorting to Variant::operator<
2015-04-04 12:53:06 -04:00
Paul Beckingham
8c0f46309b
Variant: Return const refs rather than string copies
2015-04-04 12:51:56 -04:00
Paul Beckingham
fa7d4352cd
Sort: All attributes are now sortable
2015-04-04 11:15:43 -04:00
Paul Beckingham
f1ef53bea0
Column: Return const refs rather than string copies
2015-04-04 10:58:55 -04:00
Paul Beckingham
21dc2ec100
UTF8: Moved variable into lower scope
2015-04-04 09:55:54 -04:00
Wilhelm Schuermann
5b01abc27f
Fix problem with special chars in descriptions
...
Fix 'task add a; task add "\n"; task next' returning "Unknown error."
The problem can be reproduced with any report including "description"
as a column.
For task descriptions that had more special characters than regular
ones, "length" in utf8_width() underflowed, leading to problems
elsewhere in the code.
2015-04-03 22:22:44 +02:00
Wilhelm Schuermann
c830b4b669
TW-1287: default.* values applied to synced tasks
...
- Tasks that arrive through "task sync" no longer have defaults applied
to them.
2015-04-02 13:39:20 +02:00
Wilhelm Schuermann
70d5f595c7
TW-1584: attr.{isnt,not} use partial matching
...
- Change attr.{isnt,not} to be the exact opposite of attr{:is,:},
i.e. exact matching.
- Fix tests that assumed the old behavior was intended.
2015-04-02 13:38:04 +02:00
Wilhelm Schuermann
c1815b8277
TW-1279: default.* applies to recurring tasks
...
- Recurring tasks inherit attributes from their parent. default.*
is no longer applied to them.
2015-04-02 13:37:59 +02:00
Wilhelm Schuermann
2eea7805c6
Lexer: Fix "task calc now+3days" error
...
- Fix isDuration() consuming operators, leading to evaluation errors.
Previously only "task calc now + 3days" worked, now the spaces are
entirely optional.
2015-04-02 13:29:57 +02:00
Wilhelm Schuermann
5487414003
Hooks: Add "version:" to hooks v2 arguments
...
- Saves a call to "task --version", potentially saving precious hook
execution time. Useful for writing backwards compatible hooks in
case of buggy Taskwarrior behavior.
2015-04-02 09:18:34 +02:00
Wilhelm Schuermann
229078ffed
Scripts: Disable hooks in bash completion script
...
- Stop on-launch and on-exit hooks with output from interfering with
bash completion.
2015-04-01 16:23:42 +02:00
Wilhelm Schuermann
04d0c52a43
Hooks: Implement "Hooks v2" API
...
- All hook scripts now receive key:value pair command line arguments.
- Add only the basics: api, args, command, rc, data. Possibly more to
come.
2015-04-01 11:44:37 +02:00
Wilhelm Schuermann
5d4859c44d
Tests: Fix bash_completion.t problem
...
- bash_completion.t rewrites task.sh during setup in order to be able
to test it. 704eb1eab3 broke that
rewrite mechanism.
2015-03-31 11:28:12 +02:00
Wilhelm Schuermann
3f394fa164
TW-1588: Fix broken export scripts
2015-03-31 07:26:10 +02:00
Wilhelm Schuermann
df209b9b8b
TW-1587: Further improve example on-exit hook
...
- Initial patch was not quite right. on-exit _does_ receive added and
modified tasks on STDIN, but is not allowed to return JSON.
2015-03-31 07:25:23 +02:00
Jochen Sprickerhof
c27f5d23b6
Hooks: Remove read loop from example on-exit hook
...
There is no input to the on-exit script. Prevents error:
"Hook Error: Expected 0 JSON task(s), found 1"
Signed-off-by: Wilhelm Schuermann <wimschuermann@googlemail.com >
2015-03-30 21:38:25 +02:00
Wilhelm Schuermann
df3f8ead11
TW-1579: Add INSTALL note for OpenBSD
2015-03-30 21:17:36 +02:00
Wilhelm Schuermann
bc335e8075
Add-Ons: Fix export-html.pl for new export format
2015-03-30 09:41:45 +02:00
Paul Beckingham
e0f3e6d328
Tests: Corrected test that assumes lines are longer than they are
2015-03-29 23:52:34 -04:00
Paul Beckingham
eb35386d76
Tests: Recategorized lexemes that are only dates in the presence of Eval
2015-03-29 23:14:59 -04:00
Paul Beckingham
96c448ca1e
Lexer: Corrected off-by-one error in ::isTripleCharOperator
2015-03-29 23:07:18 -04:00
Paul Beckingham
71fea510bb
Tests: Corrected lexer test "\""
2015-03-29 23:02:59 -04:00
Paul Beckingham
1e411ed4b8
Tests: Corrected lexer text '\''
2015-03-29 23:01:33 -04:00
Paul Beckingham
cfbdd4bc05
Tests: Corrected lexer test "\"three\""
2015-03-29 22:59:27 -04:00
Paul Beckingham
5af3f71ac5
Lexer: Fixed /from/to/g detection at EOS
2015-03-29 22:56:34 -04:00
Paul Beckingham
8b863c9764
Lexer: Fixed /pattern/ detection at EOS
2015-03-29 22:53:38 -04:00
Paul Beckingham
9630b76990
Build: Resolve warnings from flod build
2015-03-29 18:21:33 -04:00
Paul Beckingham
690d9493f0
Build: Resolve some more compiler warnings
2015-03-29 18:03:36 -04:00
Paul Beckingham
73f4f55e0a
Merge branch '2.4.3' of ssh://git.tasktools.org/tm/task into 2.4.3
2015-03-29 17:30:06 -04:00
Paul Beckingham
267f054449
Duration: Some units were not marked as standalone
2015-03-29 17:25:08 -04:00
Wilhelm Schuermann
7a64c19641
Resolve most compiler warnings
2015-03-29 22:05:38 +02:00
Wilhelm Schuermann
b8105812fc
CMake: Enable compiler warnings
2015-03-29 22:04:48 +02:00
Paul Beckingham
f454a02224
Tests: Added more Lexer::Type::date tests
2015-03-28 16:57:34 -04:00
Paul Beckingham
1bbe709e38
Tests: Removed redundant LExer::Type::tag tests
2015-03-28 16:53:32 -04:00
Paul Beckingham
a4b96a3191
Tests: Added Lexer::Type::op tests, a full set
2015-03-28 16:49:57 -04:00
Paul Beckingham
ddb6014358
Tests: Converted Lexer::Type::duration tests
2015-03-28 16:38:17 -04:00
Paul Beckingham
31a7a3343b
Tests: Converted ordinal tests
2015-03-28 16:26:50 -04:00
Paul Beckingham
3a0971f290
Tests: Added Lexer::Type::tag test for +@tag
2015-03-28 16:23:02 -04:00
Paul Beckingham
fee58b0eb6
Tests: Added Lexer::Type::operator tests, removed old ones
2015-03-28 16:21:25 -04:00
Paul Beckingham
9adf3fc0fa
Tests: Added Lexer compound token expression tests
2015-03-28 12:05:45 -04:00
Paul Beckingham
39d330631d
Tests: Added Lexer::Type::date tests
2015-03-28 12:05:17 -04:00
Paul Beckingham
b41d7c4582
Tests: Added Lexer::Type::duration tests
2015-03-28 11:40:31 -04:00
Paul Beckingham
12eca4b2cc
Tests: Added Lexer::Type::op tests
2015-03-28 11:38:03 -04:00
Paul Beckingham
f26f790e74
Tests: Added Lexer::Type::separator test
2015-03-28 11:33:57 -04:00
Paul Beckingham
7ac0a919aa
Tests: Added Lexer::Type::uuid tests
2015-03-28 11:32:17 -04:00
Paul Beckingham
e9e91ce55e
Tests: Added Lexer::type::pair tests
2015-03-28 11:05:19 -04:00
Paul Beckingham
880fb5bcc6
Tests: Added Lexer::Type::number and Lexer::Type::hex tests
2015-03-28 10:58:27 -04:00
Paul Beckingham
84eb75c705
Tests: Added Lexer::Type::string tests
2015-03-28 10:45:19 -04:00
Paul Beckingham
f697e4df73
Tests: Added Lexer::Type::url tests
2015-03-28 10:26:14 -04:00
Paul Beckingham
0eaa061efe
Tests: Added more Lexer::Type::dom tests
2015-03-28 10:19:54 -04:00
Paul Beckingham
b02d518b02
Tests: Lexer::Type::dom and Lexer::Type::path tests
2015-03-28 10:06:56 -04:00
Paul Beckingham
0973e6566b
Tests: Added Lexer::Type::tag tests
2015-03-28 09:41:04 -04:00
Paul Beckingham
d0a9e9a253
Tests: Added Lexer::Type::substitution tests
2015-03-28 09:32:36 -04:00
Paul Beckingham
ff445c567e
Unit Tests: Lexer now tests embedded and isolated tokens
...
- The tests are now defined in a static structure, simplifying maintenance of
these tests.
- Instead of simply lexing large strings and checking the lexemes, the tests
now take a single token and test it as-is ("token"), and surrounded by spaces
(" token "), which yields surprising results.
2015-03-28 09:22:33 -04:00
Paul Beckingham
254b1eb49c
Merge branch '2.4.3' of ssh://git.tasktools.org/tm/task into 2.4.3
2015-03-28 08:28:56 -04:00
Paul Beckingham
15005afd1e
Unit Tests: Added tests for Lexer::Type::pattern
2015-03-28 08:24:49 -04:00
Wilhelm Schuermann
9e6c6ecb93
TW-1583: Invalid ID displayed after done/delete
...
- Fix completed/deleted tasks getting an ID when GC is going to be run,
previously resulting in invalid IDs being displayed in reports that
show non-pending tasks.
A side effect of this fix is that it is sometimes not possible to
filter by ID when running a report right after calling done/delete.
This problem existed before; this change makes it happen on the first
report instead of the second, so it is more consistently broken.
Commands that modify tasks are not affected, making this an annoying
yet harmless defect.
2015-03-28 10:36:58 +01:00
Tomas Babej
20eaa312e6
localization: Fix inconsisitent case in the legend of History commands
2015-03-27 19:23:22 -04:00
Renato Alves
fdb22ad341
Tests: Merge bug.299 with project.t and add more scenarios
...
* Currently one of the new scenarios fails. Looks like a bug.
2015-03-27 11:15:53 +00:00
Renato Alves
d76d5c3587
Tests: Make sleeptime in wait_conditional an argument
2015-03-27 10:53:18 +00:00
Renato Alves
526665d4ec
Tests: Configurable check for taskd readyness
...
* Also increase the frequency from 1/s to 2/s
2015-03-27 10:51:38 +00:00
Renato Alves
834b4ddab6
Tests: Use faketime instead of time.sleep.
2015-03-27 10:14:44 +00:00
Renato Alves
357850177d
Tests: common/reusable variables live in basetest.utils
2015-03-27 10:14:44 +00:00
Wilhelm Schuermann
d2e6c90446
TW-1581: Wrong urgency after done/delete command
...
- TDB2::dependency_scan() is run before GC, so we need to check both
tasks in a dependency chain for their status before setting the
blocking/blocked flag to true.
2015-03-26 18:43:58 +01:00
Paul Beckingham
96922231b8
Merge branch '2.4.3' into lexer2
2015-03-25 07:52:36 -04:00
Wilhelm Schuermann
55db1239bd
Info: Hide "modified" attribute changes
...
- The info report shows modifications already. "modified" attribute
updates are implied by other attributes being changed, so there
is no need to clutter the report with them.
2015-03-23 16:28:53 +01:00
Wilhelm Schuermann
4f75652ccb
TW-1580: "modified" attribute not updated
...
- Make all local modifications update the "modified" attribute.
- As per design, the user cannot overwrite this attribute; neither
can hooks.
2015-03-23 15:55:47 +01:00
Paul Beckingham
052a5c607a
Documentation: 'rc.bulk=0' notes.
...
- Added ChangeLog and NEWS entries for the rc.bulk=0 change, where zero is
considered infinity.
2015-03-22 11:43:00 -04:00
Tomas Babej
c306d458e0
Doc: Document bulk=0 in taskrc manpage
2015-03-22 11:41:28 -04:00
Tomas Babej
7babc9c5b1
Command: Let zero bulk denote infinite value
2015-03-22 10:10:08 -04:00
Paul Beckingham
24a1cbefe9
Merge branch '2.4.3' into lexer2
2015-03-20 17:16:48 -04:00
Paul Beckingham
289780c8cc
Lexer: Added comments
2015-03-20 17:16:00 -04:00
Tomas Babej
f5af3368a9
Changelog: Record TW-1578 in the changelog
2015-03-19 21:51:09 -04:00
Tomas Babej
a2ed996102
Man: Add task calc command to the task manpage
2015-03-18 14:15:15 -04:00
Tomas Babej
704eb1eab3
scripts: Enforce disabled confirmation in bash completion
...
https://bug.tasktools.org/browse/TW-1578
2015-03-18 14:14:59 -04:00
Tomas Babej
484979b4e0
Man: Fix typo in allow.empty.filter description
2015-03-18 14:14:32 -04:00
Paul Beckingham
928e94a6e1
Documentation
...
- Updated for 2.4.3.
2015-03-15 20:19:29 -04:00
Federico Hernandez
e2c9752bc4
Bumped version number in documentation
2015-03-16 00:38:56 +01:00
Federico Hernandez
8386b702dd
Bumped version number to 2.4.3
2015-03-16 00:25:55 +01:00
Federico Hernandez
48e9c0518e
Added SHA1 of tagged release commit
2015-03-16 00:19:25 +01:00
Paul Beckingham
11dab68fce
Unit Tests
...
- Longer test script names need wider padding.
- Added counts for skipped tests.
2015-03-07 17:55:42 -05:00
Paul Beckingham
29dff399bd
Merge branch '2.4.2' into lexer2
2015-03-07 17:36:10 -05:00
Paul Beckingham
a75c293286
Merge branch '2.4.2' into lexer2
2015-03-07 17:33:23 -05:00
Paul Beckingham
dbf31bfce8
Unit Tests
...
- Added new cli.t to contain asorted command line tests.
2015-03-07 17:31:15 -05:00
Paul Beckingham
7826c7b988
CLI
...
- Added Lexer::Type arg to ::addArg, for future capture of type.
- Cleaned up code formatting from patch.
2015-03-07 17:29:08 -05:00
Paul Beckingham
d202691638
Lexer
...
- Improved comment.
2015-03-07 10:09:58 -05:00
Paul Beckingham
c9d61ff71b
Duration
...
- Made list of units static.
2015-03-06 21:15:50 -05:00
Paul Beckingham
4118fe70ae
Unit Test
...
- Added quotes, which is a reasonable workaround for a misinterpreted argument.
2015-03-05 21:29:38 -05:00
Paul Beckingham
e11b333a0b
Lexer
...
- ::isPath was not observing the null character string terminator.
2015-03-05 21:22:40 -05:00
Paul Beckingham
d1f7e44811
Unit Tests
...
- Removed unit test for a bug that is a deliberate attempt to generate an
ambiguous command line, to break the parser. The '--' terminator is meant
to resolve these issues, and we don't need more tests proving that the
grammar is ambiguous.
2015-03-02 16:44:28 -05:00
Paul Beckingham
53e9bd0cbd
Lexer
...
- Words cannot contain single-char operators.
2015-03-02 00:03:01 -05:00
Paul Beckingham
234e4d7308
Unit Tests
...
- Modified Lexer types to reflect DOM recognition.
2015-03-01 23:55:10 -05:00
Paul Beckingham
237d932ff9
Lexer
...
- Improved ::isIdentifier, ::isUUID and ::isDOM.
2015-03-01 23:54:45 -05:00
Paul Beckingham
2af470bb90
Lexer
...
- Lexer::Type::identifier now includes DOM references.
2015-03-01 22:08:19 -05:00
Paul Beckingham
cefc129e9a
Task
...
- Delegated the modifiability check to Column::modifiable.
2015-03-01 21:36:56 -05:00
Paul Beckingham
7aa55a8a71
Unit Tests
...
- Corrected test so it doesn't include '--' separator token.
2015-03-01 21:19:16 -05:00
Paul Beckingham
565987a177
Unit Tests
...
- Corrected token types for '3rd', which is Lexer::Type::word, not
LExer::Type::identifier.
2015-03-01 21:14:28 -05:00
Paul Beckingham
309b607672
Lexer
...
- Number digits followed by non-whitespace, non-operators are not numbers, ie
"2nd" is not "2","nd".
2015-03-01 16:03:10 -05:00
Paul Beckingham
abe8819f2f
Unit Tests
...
- Restored 'name=value' tests that expect three tokens.
2015-03-01 15:53:24 -05:00
Paul Beckingham
3f2d377fef
Lexer
...
- Allow '=' in rc.<name>[:=]<value>, but not in non-rc Lexer::Type::pair
combinations. That means 'name=value' is not a Lexer::Type::pair.
2015-02-28 12:05:24 -05:00
Paul Beckingham
c849cc9bfe
Unit Tests
...
- Added tests with spaces around the operators, for better coverage.
2015-02-28 12:00:36 -05:00
Paul Beckingham
7e890c084f
Report
...
- Removed bad filter term.
2015-02-27 00:18:19 -05:00
Paul Beckingham
0f1a46e6d3
Lex
...
- Changed output to reflect current usage.
2015-02-27 00:17:56 -05:00
Paul Beckingham
2811b9a571
Unit Tests
...
- Fixed tests regarding quoted strings coming out of the Lexer.
2015-02-27 00:16:14 -05:00
Paul Beckingham
9dad0c7eb6
Merge branch '2.4.2' into lexer2
2015-02-24 23:14:58 -05:00
Paul Beckingham
e67c6c45cf
Lexer
...
- Strings now retain their quotes, for compatibility with 2.4.1.
2015-02-24 23:01:12 -05:00
Paul Beckingham
8c6892fed6
Merge branch '2.4.2' into lexer2
2015-02-24 17:03:11 -05:00
Paul Beckingham
0548fca88f
Merge branch '2.4.2' into lexer2
2015-02-23 20:22:34 -05:00
Paul Beckingham
26aff348d2
Lexer
...
- Replaced old digitsOnly() function with Lexer::isAllDigits.
2015-02-22 20:23:00 -05:00
Paul Beckingham
9f82926c65
Text
...
- Removed obsolete noSpaces() function.
2015-02-22 18:27:19 -05:00
Paul Beckingham
8791c0a921
Lexer
...
- Migrated old noSpaces() function into Lexer::isOneWord.
2015-02-22 18:23:26 -05:00
Paul Beckingham
745aad0d27
Lexer
...
- Renamed Lexer2 to Lexer, it looks good enough to assume control.
2015-02-22 18:23:03 -05:00
Paul Beckingham
e1c0d5b130
Merge branch '2.4.2' into lexer2
2015-02-22 15:26:22 -05:00
Paul Beckingham
9898aa15b5
Merge branch '2.4.2' into lexer2
2015-02-22 14:06:01 -05:00
Paul Beckingham
0cf18f3b16
Lexer2
...
- Integrated Lexer2 in place of Lexer. Tests fail.
2015-02-22 13:52:14 -05:00
Paul Beckingham
2155bd3969
Lexer2
...
- Implemented ::isAllDigits to distinguish between integers and real numbers.
2015-02-21 10:58:07 -08:00
Paul Beckingham
ae6024ef8b
Lex
...
- Added a 'lex' binary to test Lexer2.
2015-02-21 10:03:17 -08:00
Paul Beckingham
21553d9044
Lexer2
...
- Implemented ::isDate and ::isDuration.
2015-02-21 10:01:59 -08:00
Paul Beckingham
d6e3430e0d
Lexer2
...
- Implemented ::split for typeless tokenization.
2015-02-21 09:28:56 -08:00
Paul Beckingham
0d23511cee
Lexer2
...
- Stubbed ::isDate and ::isDuration methods.
2015-02-21 09:19:24 -08:00
Paul Beckingham
1128ad8259
Lexer2
...
- Improved ::isUUID lexing.
2015-02-20 12:13:11 -08:00
Paul Beckingham
66d5a8ba3d
Lexer2
...
- Migrated new ::isURL and ::isPath methods.
- Migrated new ::tokens method to access all tokens at once.
2015-02-20 12:05:03 -08:00
Paul Beckingham
aab93b2cda
Lexer2
...
- Migrated ::dequote method from Lexer.
2015-02-19 21:43:22 -08:00
Paul Beckingham
be80bc4ea3
Converted to Lexer2.
2015-02-19 21:36:04 -08:00
Paul Beckingham
15bec27e03
Converted to Lexer2.
2015-02-19 21:32:51 -08:00
Paul Beckingham
6683cc7e83
Converted to Lexer2.
2015-02-19 21:31:47 -08:00
Paul Beckingham
044ca40bb7
Merge branch '2.4.2' into lexer2
2015-02-19 21:00:27 -08:00
Paul Beckingham
d10ad5c7af
Lexer2
...
- Copied in the Lexer2 object.
2015-02-19 08:54:20 -08:00