Compare commits

...

10180 Commits

Author SHA1 Message Date
Surek Gergely
3aab541d9c Fix: build with gcc 13 2026-01-24 13:21:48 +01:00
3682bbc1a9 Fix: Build on modern Clang (3.5<) 2026-01-24 11:36:07 +01:00
David J Patrick
ccfc96f1cb Update README.md 2024-12-11 12:45:33 -05:00
David J Patrick
7e1c8a3b5e Update README.md 2024-12-11 12:44:55 -05:00
David J Patrick
5fe78f5627 Update README.md
try to explain the intentions of the fork
2024-12-11 02:24:57 -05:00
David J Patrick
e3f81cf0e4 Update README.md
added fork explanation and updated uuid-dev install requirement
2024-12-10 18:51:52 -05:00
Tomas Babej
7400e6ed6b README: Update version reference 2022-03-16 01:52:27 -04:00
Tomas Babej
93394e7054 meta: Update CMake version reference for 2.6.2 2022-03-16 01:52:16 -04:00
Tomas Babej
f030154ef6 docs: Document #2689 2022-03-16 01:39:02 -04:00
Tomas Babej
10a2225aae docs: Document #2707 2022-03-16 01:34:42 -04:00
Tomas Babej
de793e5902 docs: Document #2748 2022-03-14 02:48:13 -04:00
Tomas Babej
1fc1884017 Context: Add parent column among default ones for the recurring report
This helps to identify parent-child relationships.
2022-03-14 02:48:13 -04:00
Tomas Babej
75ce386b44 Context: Adjust definition of the recurring report filter
Ensure the recurring report lists the recurring parent tasks as well as
the child tasks.
2022-03-14 02:48:13 -04:00
Tomas Babej
e60fdafdaa centos8: Fix missing repo metadata 2022-02-11 00:40:31 -05:00
Jan Palus
d541e0da65 TLSClient: fix multiple issues with error handling
- do not check errno on successful function calls (it might not be
  cleared after previous failed one)
- GNUTLS_E_* are not passed through errno but as function return value
- therefore there's more error spectrum than -1
- do not assume whole header is received, check number of bytes fetched

small additional improvements:
- read as many bytes into buffer as possible before appending to data
- skip writing nul byte at the end of buffer and use append() instead
- additional sanity checks
2022-02-11 00:19:04 -05:00
Patrick Flakus
59a1729a05 Cleanup: Fixed typo in docstring 2022-01-27 16:10:47 -05:00
Tomas Babej
112ac54a57 ColDepends: Support dependency removal for the same formats as dependency addition 2022-01-19 20:11:41 -05:00
Tomas Babej
0cc2de6179 tests: Add a test for handling short UUIDs in the depends column 2022-01-19 20:11:41 -05:00
Dustin J. Mitchell
28e268bd26 fix parsing invalid depends from server
The data from the server is read via Task::parseJSON, not Task::parse.

This also reverts the tests for Task::parse, and adds new tests for this
specific issue.
2022-01-19 19:34:45 -05:00
Dustin J. Mitchell
7321febe4f A more thorough fix to corruption of the depends property 2022-01-19 19:34:45 -05:00
Dustin J. Mitchell
96d6c1df9f Add special case for taskserver mis-formatting of depends 2022-01-16 15:36:21 -05:00
Tomas Babej
cb058f2e4b tests: Remove Ubuntu 20.10 (now beyond EOL) from the test matrix 2022-01-05 21:01:21 -05:00
Dustin J. Mitchell
c564bbc0b7 fix test to pass at the end of the year 2021-12-30 15:03:37 -05:00
Dustin J. Mitchell
b066a17ebe use a reference in CurrentTask 2021-12-30 15:03:37 -05:00
Dustin J. Mitchell
277ce0e226 Update doc comment in src/Context.h
Co-authored-by: Tomas Babej <tomas@tbabej.com>
2021-12-30 15:03:37 -05:00
Dustin J. Mitchell
65830dd705 replace the global contextTask with a Context field 2021-12-30 15:03:37 -05:00
Dustin J. Mitchell
53127bf844 add Context::withCurrentTask 2021-12-30 15:03:37 -05:00
Dustin J. Mitchell
2ea6dd627e Just set contextTask in Task::modify
Based on the observation that every command was setting contextTask
immediately before calling `task.modify(..)`.
2021-12-30 15:03:37 -05:00
Dustin J. Mitchell
db26a28bf9 move domSource to Eval, as it's an Eval source 2021-12-30 15:03:37 -05:00
Dustin J. Mitchell
6e9ad1048d move use of contextTask out of columns, into commands 2021-12-30 15:03:37 -05:00
Dustin J. Mitchell
e98b61f2b5 test for dashes in proj without incidentally testing DOM references in 'task add' 2021-12-30 15:03:37 -05:00
Dustin J. Mitchell
4fa1c0bcfb remove temporary function 2021-12-16 23:03:44 -05:00
Dustin J. Mitchell
e3dd91d45e use the existing (but misnamed) orphans method 2021-12-16 23:03:44 -05:00
Dustin J. Mitchell
e768e2c100 compare Tasks directly, not their properties 2021-12-16 23:03:44 -05:00
Dustin J. Mitchell
ac24ec1387 fixup and fix spelling for denotate 2021-12-16 23:03:44 -05:00
Dustin J. Mitchell
3a61289f6c replace a use of Task::data in tests 2021-12-16 23:03:44 -05:00
Dustin J. Mitchell
9f149a7f35 use Task::getAnnotations to get annotatoins 2021-12-16 23:03:44 -05:00
Dustin J. Mitchell
70f83b34ef Move diff formatting into Task (simple refactor)
The Task class already included two forms of diff. This adds another
two.
2021-12-16 23:03:44 -05:00
Dustin J. Mitchell
8d3953183a Only set contextTask if not adding a new task
When adding a new task, the current task is empty, so there is no
context in which to evaluate DOM references.  #2683 will address this in
a more robust fashion.
2021-12-16 23:03:44 -05:00
Dustin J. Mitchell
2812a8c77a Refactor getDOM to use a pointer for the optional context
It's possible to call getDOM without a contextual task.  Previously,
this was done by referencing a "dummy" task which necessitated a way to
distinguish such dummy tasks.  This switches to using a pointer and
treating the NULL value as meaning there is no context.

Note that this cannot use `std::optional<&Task>`, as optional does not
support reference types.
2021-12-16 23:03:44 -05:00
Dustin J. Mitchell
3af5ceadc1 Return early from getDOM if there is no contextual task (refactor)
Before this change, all conditionals checked `have_ref`; returning early
is clearer.
2021-12-16 23:03:44 -05:00
Dustin J. Mitchell
0d9e402d3e Add Task.is_empty, needed to identify "dummy" tasks (simple refactor)
getDOM takes an &Task that may be a reference to a dummy, or may be a
real task.  The is_empty method replaces `task.data.size() == 0` as a
way to distinguish the two.
2021-12-16 23:03:44 -05:00
Dustin J. Mitchell
dede40bc4e Replace direct Task.data access with a temp getter (syntactic refactor)
Now this getter, `data_removeme`, can easily be grepped out and
replaced, one usage at a time in small PRs.
2021-12-16 23:03:44 -05:00
Tomas Babej
3a00956144 ColDepends: Allow specifying short(er) UUIDs 2021-12-03 03:57:37 -05:00
Siôn le Roux
01add8a34a docs: Fix typo in XDG news
This had XFG written in it, it's surely a typo of XDG since on the next
line it's written correctly.
2021-11-23 21:05:01 +01:00
Tomas Babej
a09712d5d2 docs: Document #2655 2021-11-22 15:51:27 +01:00
Tomas Babej
8074e509ba tests: Add bulk removal test for tags attribute 2021-11-22 15:51:27 +01:00
Tomas Babej
af10774aec tests: Add bulk removal test for depends attribute 2021-11-22 15:51:27 +01:00
Tomas Babej
d54c7e090e Task: Correctly handle bulk removal of virtual tags/depends attributes
This edge case would happen if a user issued a following command

    $ task 1 mod depends:
or

    $ task 1 mod tags:

which would not perform as expected for tasks with non-empty depends /
tags attributes.

The problem under the hood is the fact that current synchronization
between 'tags" attribute and its constituent decomposed `tag_X`
attributes is performed in a way where the set of tags obtained from
`tag_X` attributes is taken as the source of truth.

If the legacy 'tags:' attribute was set to empty, the fixTags() method
would then restore its previous value from the `tag_X` attributes,
effectively leading to a no-op.

The same happens with dependencies. The fix here is to detect removal of
depends and tags attributes, and instead of setting the legacy
attributes to empty values, we iteratively remove all tags/dependencies.

Closes #2655.
2021-11-22 15:51:27 +01:00
Dustin J. Mitchell
3937f1efb0 Don't look for a specific sha when testing task version
This allows tests to pass even with a dirty working copy or when running
tests via `git rebase`.
2021-11-21 23:34:46 +01:00
Tomas Babej
3e8190831c docs: Document #502 2021-11-20 15:19:34 -05:00
Tomas Babej
3c2b74a36f tests: Remove expected failure for ID-range based dependencies 2021-11-20 15:19:34 -05:00
Tomas Babej
0558b6c7aa ColDepends: Recognize and properly handle ID ranges 2021-11-20 15:19:34 -05:00
Tomas Babej
774f6df210 docs: Document #2671 2021-11-09 08:00:05 -05:00
Tomas Babej
1e1c0e8f04 libshared: Bump to include fix for soww
See https://github.com/GothenburgBitFactory/libshared/pull/66 for
reference. Closes #2671.
2021-11-09 07:57:37 -05:00
Tomas Babej
caf0f9db3e tests: Clarify we're testing OpenSUSE 15.x rolling 2021-11-06 13:08:51 -04:00
Tomas Babej
da43078eba tests: Add Ubuntu 21.10 into the test matrix 2021-11-06 12:59:16 -04:00
Tomas Babej
6fae705b43 tests: Add Ubuntu 20.10 into the test matrix 2021-11-06 12:57:26 -04:00
Tomas Babej
e4f1e05c1d tests: Add Fedora 35 into the test matrix 2021-11-06 12:54:46 -04:00
Tomas Babej
4559287d07 tests: Remove tests on F31
This distribution release is more than a year out of its support window.
2021-11-06 12:52:24 -04:00
Tomas Babej
2d4776586d README: Remove inacurrate badge
The commit count has been inacurrate for some time, undercounting
(perhaps due to aggreessive caching), but also overcounting at times
(due to merges).
2021-11-06 12:39:22 -04:00
Tomas Babej
ed4b932530 tests: Add test to cover invalid contexts due to tag exclusion 2021-11-06 11:58:47 -04:00
Tomas Babej
f0f704fc99 tests: Fix copy-paste error
The context name in these two tests was invalid in some assertions.
2021-11-06 11:58:46 -04:00
Tomas Babej
403c44b1fa docs: Document #2664 2021-11-06 11:58:45 -04:00
Tomas Babej
493f36ecdd CmdContext: Utilize new reason-providing validateWriteContext 2021-11-06 11:53:45 -04:00
Tomas Babej
5d8f8dac35 validateWriteContext: Refactor to return the underlying reason for invalidity directly 2021-11-06 11:53:44 -04:00
Tomas Babej
f5dce013ce CmdContext: Expand the definition of an invalid write context to incllude tag exclusion 2021-11-06 11:53:44 -04:00
Tomas Babej
531881f651 validateWriteContext: Tag exclusion should also be detected as invalid write context 2021-11-06 11:53:43 -04:00
Tomas Babej
7de681aa3b validateWriteContext: Apply early break when detected the OR operator 2021-11-06 11:53:42 -04:00
Jakub Wilk
04ef785eea Fix typo 2021-11-06 11:50:02 -04:00
Tomas Babej
e1cfb91d42 docs: Document #2648 2021-11-06 11:28:05 -04:00
Tomas Babej
72930708ec CmdNews: Support Mac OS-X url opener 2021-11-04 22:07:39 -04:00
Tomas Babej
58763fd49f reproduce: Make vim available in the reproduction image 2021-10-30 06:12:48 -04:00
Steven Kreuzer
a89c875c49 Fix typo in ChangeLog
Change 'precendence' to 'precedence'
2021-10-22 18:54:32 -04:00
Tomas Babej
e0f598f91c Changelog: Document 2.6.1 release commit hash 2021-10-19 00:30:53 -04:00
Tomas Babej
a696b6b155 cmake: Bump project version to 2.6.1 2021-10-19 00:23:40 -04:00
Tomas Babej
d8770133f0 docs: Update dev branch references in README 2021-10-19 00:23:16 -04:00
Tomas Babej
5c32372d42 docs: Update DEVELOPER.md 2021-10-19 00:20:07 -04:00
Tomas Babej
4d7c7531d0 docs: Document #2632 2021-10-18 23:56:38 -04:00
Tomas Babej
c99dab0dae meta: Ensure Cygwin compatibility 2021-10-18 23:53:26 -04:00
Tomas Babej
3dee86c997 docs: Document #2639 2021-10-18 23:48:37 -04:00
Tomas Babej
df75d1ce43 test: Add tests for parsing ID ranges of various sizes 2021-10-18 23:46:45 -04:00
Tomas Babej
2469943c98 meta: Bump libshared
This bumps libshared version to the one not suffering from
misidentification of certain ID ranges.

Closes #2639.
2021-10-18 23:15:03 -04:00
Tomas Babej
072b38d326 CmdCustom: Increase probability of displaying upgrade message
We have received reports from people that have upgraded, but seemingly
have not seen release notes in the `task news` command. One of the
causes here could be the fact that the probability of displaying the
footnote about running `task news` is `1/10`.

Increase the probability to 1/4.
2021-10-18 21:32:53 -04:00
Tomas Babej
dc81bf5fb5 CmdNews: Adjust for brevity 2021-10-18 21:31:41 -04:00
Tomas Babej
8e7401d2f4 docs: Document #2626 2021-10-16 11:28:36 -04:00
Tomas Babej
6a79e614da tests: Expand test for waiting report
Add tasks to test exclusion of completed and deleted tasks.
2021-10-16 11:11:45 -04:00
Tomas Babej
4287b33796 Task: Only consider pending tasks as waiting 2021-10-16 11:11:15 -04:00
Tomas Babej
3b37dc2480 tests: Adjust test description 2021-10-16 11:02:38 -04:00
Tomas Babej
dec99b0deb docs: Document #2622 2021-10-16 10:22:34 -04:00
Tomas Babej
3840c4e768 tests: Add test for UDA Orphan identification 2021-10-16 10:22:34 -04:00
Tomas Babej
793b23411a CmdUDAs: Do not identify tags and dependencies as orphan UDAs 2021-10-16 10:22:34 -04:00
Tomas Babej
fd549c764b Task: Do not identify tag and dependency attributes as orphans 2021-10-16 10:22:34 -04:00
Tomas Babej
339a4ddb51 Task: Make isTag/Dep/AnnotationAttr methods static
This allows usage of these helper methods outside of Task class.
2021-10-16 10:22:34 -04:00
Bent Witthold
3dbad09f72 consiered -> considered 2021-10-16 09:07:18 -04:00
Tomas Babej
d480f6a0db docs: Document #2629 2021-10-15 01:09:19 -04:00
Tomas Babej
e21ae0d7d8 docs: Document #2620 2021-10-15 00:56:13 -04:00
Tomas Babej
f6d9837b07 tests: Add test for legacy context interpretation 2021-10-14 22:36:11 -04:00
Tomas Babej
d5a026d91a context: Interpret legacy-style context as read context only
This provides a better migration path than surprising users with the
write context functionality out of the blue.

Closes #2620.
2021-10-14 22:34:48 -04:00
Tomas Babej
1d4baca0d9 context: Do not interpret empty filter/mods as missing context definition
This is a corner case bug, when user has both old-style and new-style
context defined, where new-style is defined as empty string, the
old-style will (incorrectly) take precedence.

Closes #2629.
2021-10-14 17:47:11 -04:00
Tomas Babej
887b04f7f4 docs: Document #2619 2021-10-11 15:50:42 -04:00
Alexandre Provencio
d4a9ce614b Fix fish completions
Closes #2619
2021-10-11 15:45:57 -04:00
Orhun Parmaksız
db76a15ba5 changelog: mark 2.6.0 as current release 2021-10-04 21:07:44 -04:00
Tomas Babej
64ea936d7f README: Describe the new branch names 2021-10-04 20:56:27 -04:00
Tomas Babej
c010855bac Merge branch '2.6.0' 2021-10-02 22:04:54 -04:00
Tomas Babej
8174287f91 README: Mark GnuTLS as optional 2021-10-02 21:59:37 -04:00
Nathan Wyand
b6225adbd3 add library build dependencies to README 2021-10-02 21:55:02 -04:00
Tomas Babej
dbf641988e CmdTags: Update pointers to task enumeration lists 2021-10-02 21:38:47 -04:00
Tomas Janousek
8610268cd9 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.
2021-10-02 21:33:16 -04:00
Tomas Babej
ac309b4ff1 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.
2021-10-02 21:32:21 -04:00
Leo
57680f5bde 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)
2021-10-02 21:30:40 -04:00
Doron Behar
6873ff26a1 Truely remove priority from hardcoded attrributes 2021-10-02 21:27:10 -04:00
Doron Behar
4bdab32c12 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.
2021-10-02 21:26:55 -04:00
Doron Behar
9d3bbe744d Fix small TODO and move main function to bottom 2021-10-02 21:18:58 -04:00
Doron Behar
ba1b6819a0 Add TODOs to make zsh completion awesome 2021-10-02 21:18:22 -04:00
Lionel Miller
e66f7fce50 Workaround for alias grep=rg in fish 2021-10-02 21:11:16 -04:00
John Nguyen
68bef0135f Fix typo in man page
The example for _unique has typo, should be using attribute for project.
Fixes #2277
2021-10-02 21:05:50 -04:00
Tomas Babej
c2ba93cb61 tests: Ensure the git tag version check does not run for tarball builds
Do not try to determine the latest git tag if we're not in a git
repository in the first place.
2021-10-02 18:27:58 -04:00
Tomas Babej
34c12a7b78 Context: Add news.version among configuration defaults
Otherwise news.version shows up as unrecognized variable.
2021-10-02 18:27:57 -04:00
Tomas Babej
4d85031b90 tests: Ensure tests are run with news.version set to 2.6.0
No tests were failing due to the footnote but its better to be safe than
sorry.
2021-10-02 18:06:12 -04:00
Tomas Babej
0ad1b681de CMakeLists: Use presence of src, not .git dir to determine libshared presence
This way the mechanism to determine the presence of libshared works for
tarball builds as well.
2021-10-02 17:57:38 -04:00
Tomas Babej
35794a57b5 CMakeLists: Ensure cmake.h.in is not excluded in the source build 2021-10-02 17:45:28 -04:00
Tomas Babej
a392983631 CmdNews: Minor adjustments 2021-10-02 17:10:59 -04:00
Tomas Babej
ef53c4fc75 CmdCustom: Generate notice about task news 2021-10-02 16:58:16 -04:00
Tomas Babej
5ccfece56d CmdNews: Improve footnote advertising of minor higlights 2021-10-02 16:25:27 -04:00
Tomas Babej
5e5a68e045 CmdNews: Mark more higlights as major 2021-10-02 16:24:57 -04:00
Tomas Babej
214890af26 CmdNews: Prevent double outro by reverting to defautl signal handler 2021-10-02 16:08:11 -04:00
Tomas Babej
bd39e6b2e0 CmdNews: Prevent compiler warning 2021-10-02 16:08:10 -04:00
Tomas Babej
cb4444098e CmdNews: Add short outro on interrupt 2021-10-02 16:08:09 -04:00
Tomas Babej
7e3ea4f47e CmdNews: Implement short outro section 2021-10-02 16:08:08 -04:00
Tomas Babej
8ef6aa4bce CmdNews: Guide users about minor highlights 2021-10-02 13:11:31 -04:00
Tomas Babej
f9f62d596a CmdNews: Dynamically construct the heading 2021-10-02 11:45:59 -04:00
Tomas Babej
333840062b CmdNews: Replace prompt at the beginning by defaulting to major items only 2021-10-02 11:40:47 -04:00
Tomas Babej
703594931a CmdNews: Add news item about updated holiday data 2021-10-02 11:14:14 -04:00
Tomas Babej
d16bb6f084 CmdNews: Add news item about XDG support 2021-10-02 10:35:51 -04:00
Tomas Babej
1a79f0b99e CmdNews: Add news item about context-specific configuration overrides 2021-10-02 10:35:46 -04:00
Tomas Babej
2af2564fd9 CmdNews: Adjust header 2021-10-02 09:48:53 -04:00
Tomas Babej
130b2fe77c man: Fix spacing between headers 2021-10-02 09:48:35 -04:00
Tomas Babej
3f59b12512 CmdNews: Add news item about the .by attribute modifier 2021-10-02 09:48:34 -04:00
Tomas Babej
d7d2f938c5 man: Document the 'news' command 2021-10-02 09:47:23 -04:00
Tomas Babej
facf40b1b4 NEWS: Document the 'news' command 2021-10-02 09:47:22 -04:00
Tomas Babej
32cbff9254 CmdNews: Add news item about Unicode 12 support 2021-10-02 09:47:21 -04:00
Tomas Babej
9ed8835218 NEWS: Mention new locales 2021-10-01 22:01:13 -04:00
Tomas Babej
db6aeffd66 holidays: Update for 2022 2021-10-01 21:59:00 -04:00
Tomas Babej
1a8756e042 holidays: Add sv-FI locale 2021-10-01 21:58:43 -04:00
Tomas Babej
cb571f345a holidays: Add sk-SK locale 2021-10-01 21:58:34 -04:00
Tomas Babej
a2af5260cd holidays: Add pt-BR locale 2021-10-01 21:58:22 -04:00
Tomas Babej
10c049cff0 holidays: Add hr-HU locale 2021-10-01 21:58:10 -04:00
Tomas Babej
7e0d1aa902 holidays: Add fr-CA locale 2021-10-01 21:57:26 -04:00
Tomas Babej
50eb00d542 NEWS: Correct the Unicode version
The currently supported Unicode character set is actually Unicode 12.
2021-09-29 00:59:44 -04:00
Tomas Babej
7848d25f18 CmdNews: Add news item about multi-day holidays 2021-09-29 00:16:35 -04:00
Tomas Babej
0d647f0218 CmdNews: Add news item about exportable reports 2021-09-29 00:16:20 -04:00
Tomas Babej
6f60f74739 CmdNews: Add news item for environment variable support in taskrc 2021-09-29 00:15:50 -04:00
Tomas Babej
f71d851703 CmdNews: Add news item about a waiting being now virtual status 2021-09-28 23:39:23 -04:00
Tomas Babej
36604c95d2 Context: Document the availability of environment variables in the taskrc 2021-09-28 23:38:33 -04:00
Tomas Babej
30c3893499 CmdNews: Describe context-less reports 2021-09-28 22:58:36 -04:00
Tomas Babej
51a5916339 NewsItem: Do not render _updates if not set 2021-09-28 22:58:07 -04:00
Tomas Babej
33d074e00c NewsItem: Fix typo 2021-09-28 22:57:53 -04:00
Tomas Babej
052444350e CmdNews: Add news item about 64-bit datetime support 2021-09-28 22:31:14 -04:00
Tomas Babej
189a253ef2 CmdNews: Add advice for writeable context 2021-09-28 21:47:54 -04:00
Tomas Babej
c69cbe8bfc CmdContext: Remove old-style context during re-definition
This makes it easier to migrate from old-style context.<name>=value
context definition to new context.<name>.read=value and
context.<name>.write=value variables.
2021-09-28 21:07:46 -04:00
Tomas Babej
c28aa2f7e2 CmdContext: Fix typo 2021-09-28 00:57:52 -04:00
Tomas Babej
5f8ec9bbe0 CmdConfig: Extract write context validation into a separate method 2021-09-28 00:52:56 -04:00
Tomas Babej
2b0730d905 CmdNews: Add NewsItem about writeteable contexts 2021-09-28 00:40:52 -04:00
Tomas Babej
ce77bdf830 CmdNews: Implement section-based rendering with a punchline 2021-09-28 00:33:49 -04:00
Tomas Babej
36e1f8c8ec NewsItem: Reorder arguments to follow rendering order 2021-09-27 23:42:03 -04:00
Tomas Babej
c574cbf948 NewsItem: Add punchline, background and bg_title attributes 2021-09-27 23:39:41 -04:00
Tomas Babej
c8240f1ad7 CmdNews: Add reasoning and actions subsections 2021-09-27 22:38:29 -04:00
Tomas Babej
e538e9199c CmdNews: Make it explicit enter has to be pressed to continue 2021-09-27 22:04:10 -04:00
Tomas Babej
506307fb87 CmdNews: Work around blending not supporting bold effect 2021-09-27 22:00:51 -04:00
Tomas Babej
4f1af72235 CmdNews: Filter out non-major news updates if displaying shortened summary 2021-09-27 21:04:20 -04:00
Tomas Babej
1935cd7e2d CmdNews: Obtain the NewsItems for 2.6.0 release 2021-09-26 21:28:12 -04:00
Tomas Babej
f3881ecbbe CmdNews: Version methods should generate all items, regardless of priority
Drop the flag about full/abbreviated report being passed to the version
methods. The methods shold just generate the NewsItem objects, the
CmdNews::execute will take care of displaying only the ones matching the
verbosity level the user selected.
2021-09-26 21:25:31 -04:00
Tomas Babej
636c8f50e0 CmdNews: Render all news items 2021-09-26 21:24:54 -04:00
Tomas Babej
946e489ad6 CmdNews: Add preliminary notes for version 2.6.0 2021-09-26 21:12:17 -04:00
Tomas Babej
3ed89393ec NewsItem: Add stub 2021-09-26 21:10:41 -04:00
Tomas Babej
36bdd81d46 CmdNews: Prompt user to determine whether to show abbreviated summary 2021-09-26 21:07:21 -04:00
Tomas Babej
d092aaa2e5 CmdNews: Set news.version configuration variable upon success 2021-09-25 23:24:26 -04:00
Tomas Babej
63c176ea0e CmdNews: Add plumbing to register the command 2021-09-25 22:05:46 -04:00
Tomas Babej
38fe7b6044 CmdNews: Add stub 2021-09-25 22:05:27 -04:00
Tomas Babej
b2a4da7874 Changelog: Change 2.6.0 log to use new format
This format correctly credits reporters and contributors and
distinguishes bugs from enhancements.
2021-09-25 20:48:08 -04:00
Tomas Babej
b04f3d1e99 docs: Document TW #2283 2021-09-25 20:25:53 -04:00
Tomas Babej
fb724dca4a NEWS: Add #2390 as a regression 2021-09-25 20:25:53 -04:00
Tomas Babej
967bf18188 tests: Add test for TW #2386 2021-09-25 20:25:53 -04:00
Tomas Babej
37f26be3ad tests: Add test for TW #2388 2021-09-25 20:25:53 -04:00
Tomas Babej
983b971a11 docs: Also list TW #2392 as a regression 2021-09-25 20:25:53 -04:00
Tomas Babej
9fc4870874 docs: List #2392 as a regression 2021-09-25 20:25:53 -04:00
Tomas Babej
d19ee12406 docs: Document TW #2422 2021-09-25 20:25:53 -04:00
Tomas Babej
2ad7321132 docs: Document #2403 2021-09-25 20:25:53 -04:00
Tomas Babej
95cfdb3efb docs: Document TW #2461 2021-09-25 20:25:53 -04:00
Tomas Babej
5b81eb0569 docs: Document TW #2160 2021-09-25 20:25:53 -04:00
Tomas Babej
040a894451 docs: Document TW #1847 2021-09-25 20:25:53 -04:00
Tomas Babej
33cc38ad16 docs: Document #1953 2021-09-25 20:25:53 -04:00
Tomas Babej
04966702fb docs: Document TW #2163 2021-09-25 20:25:53 -04:00
Tomas Babej
0edc6665c0 man: Mention new color.calendar.scheduled setting in the man page 2021-09-25 20:25:53 -04:00
Tomas Babej
bf34c65f4d docs: Document #2208 2021-09-25 20:25:53 -04:00
Tomas Babej
602e9edbbe docs: Document #1840 2021-09-25 20:25:53 -04:00
Tomas Babej
83863056d2 docs: Document #2532 2021-09-25 20:25:53 -04:00
Tomas Babej
b863bc6257 docs: Document TW #1960 2021-09-25 20:25:53 -04:00
Tomas Babej
70e5f51b59 docs: Document TW #1914 2021-09-25 20:25:53 -04:00
Tomas Babej
6908586899 docs: Fix documented default value of burndown.cumulative
The default is actually 1, not 0.
2021-09-25 20:25:53 -04:00
Tomas Babej
57fba23217 docs: Document #2575 in NEWS and Changelog 2021-09-25 20:25:53 -04:00
Tomas Babej
5516026400 docs: Document TW #2549 2021-09-25 20:25:53 -04:00
Tomas Babej
21c9e90b30 NEWS: Add info about #2442 improvement to nagging mechanism 2021-09-25 20:25:53 -04:00
Tomas Babej
f9ea89fb60 docs: Document #2023 2021-09-25 14:45:00 -04:00
Tomas Babej
4a993afb46 Task: Update versions of comments 2021-09-25 14:35:50 -04:00
Tomas Babej
bfc9cb752c Changelog: Document TW #2287 2021-09-25 13:41:26 -04:00
Tomas Babej
2127d21d8c NEWS: Add a small note about multi-day holiday support to features 2021-09-25 13:35:34 -04:00
Tomas Babej
f37a8abb86 doc: Strip trailing whitespace 2021-09-25 13:35:33 -04:00
Tomas Babej
d9861eb891 doc: Expand section about relative paths in taskrc 2021-09-25 13:35:32 -04:00
Tomas Babej
059ab577b8 man: Update taskrc manpage's description of context 2021-09-25 13:35:31 -04:00
Tomas Babej
78b5bd7391 NEWS: Document context-specific configuration overrides 2021-09-25 13:35:30 -04:00
Tomas Babej
de271d8e7a NEWS: Make notes about the updated compiler 2021-09-25 13:35:30 -04:00
Tomas Babej
9bed1eda99 DEVELOPER: Update IRC information 2021-09-25 13:35:29 -04:00
Tomas Babej
1c53539ce8 DEVELOPER: Update branch information 2021-09-25 13:35:28 -04:00
Tomas Babej
ba1f760b2f NEWS: Adjust wording 2021-09-25 13:35:27 -04:00
Tomas Babej
017053a2e1 NEWS: Deprecate monthsperline 2021-09-25 13:34:58 -04:00
Tomas Babej
cd2abc7132 Replace references to monthsperline with calendar.monthsperline 2021-09-25 13:34:58 -04:00
Tomas Babej
c22b233300 CmdCalendar: Respect calendar.monthsperline alongside monthsperline 2021-09-25 13:34:58 -04:00
Tomas Babej
898a6d200d NEWS: Document support of env variables in the config file 2021-09-18 16:21:00 -04:00
Tomas Babej
eb9514ede3 docs: Document TW #1933 2021-09-18 16:09:46 -04:00
Tomas Babej
38a0a25374 libshared: Bump version
This includes rebased versions of changes originally introduced in
PR #2558.
2021-09-18 16:09:14 -04:00
Tomas Babej
16c5a58843 tests: Add test for detection of invalid write contexts 2021-09-18 14:15:47 -04:00
Tomas Babej
690d00c8c5 tests: Update test expectations in context.t to account for write context
These changes make the tests a bit more wholesome by checking
configuration variables for the write context as well.
2021-09-18 14:15:47 -04:00
Tomas Babej
03edf2e01c CmdContext: Analyze the context filter for validity as modification 2021-09-18 14:15:47 -04:00
Tomas Babej
96fe962604 CmdCompletionContext: Fix typo 2021-09-18 14:15:47 -04:00
Tomas Babej
4e00106c71 CLI2: Add method to get MISCELLANEOUS tokens 2021-09-18 14:15:47 -04:00
Tomas Babej
5bbb1697af tests: Remove expected failure
Hyphenation for long words now works as expected.
2021-09-16 07:33:53 -04:00
Tomas Babej
a8d4ce52c3 ViewTask: Handle negative overage by decreasing size of the largest columns 2021-09-16 07:33:53 -04:00
Tomas Babej
04e84cb06f refactoring: Reorder verbosity tokens 2021-09-16 07:15:54 -04:00
Tomas Babej
9a3b103861 Context: Override verbosity token should not imply header
Users might want to only opt-in into footnote override notifications,
without seeing header-based override information about TASKRC or
TASKDATA.
2021-09-16 07:15:54 -04:00
Tomas Babej
a5d5a025b7 tests: Make sure test accessing header output have correct verbosity tokens
This change was needed because the information about the default command
is no longer part of the default output.
2021-09-16 07:15:54 -04:00
Tomas Babej
e3e2c50c24 NEWS: Document the 'default' verbosity token 2021-09-16 07:15:54 -04:00
Tomas Babej
ed6249fee6 Context: Make default/override imply header 2021-09-16 07:15:54 -04:00
Tomas Babej
c5f6419dfd docs: Document the 'default' token 2021-09-16 07:15:54 -04:00
Tomas Babej
712f0080dd Context: Introduce 'default' verbosity token
The purpose of this token is to control the display of information
messages about taskwarrior choosing a default action of some sort.
2021-09-16 07:15:54 -04:00
Tomas Babej
867efe3928 Context: Update the list of verbosity tokens
- Add the "context" token to the default tokens..
- Remove the "filter" token from the default list.
2021-09-16 07:15:54 -04:00
Tomas Babej
235c6614af feedback: Remove redundant variable 2021-09-16 07:15:54 -04:00
Jasha
5ad8f47000 fix a typo in the help commnad 2021-09-14 20:36:11 -04:00
DanielMowitz
c1e811a4fe Fixed error with tasks that were completed instantly not rendering. 2021-09-11 13:56:03 -04:00
DanielMowitz
c6be724a96 Changed burndown test so it doesn't block forever 2021-09-11 13:56:03 -04:00
DanielMowitz
bad672dc0a Update burndown.t
Fixed indentation error.
2021-09-11 13:56:03 -04:00
DanielMowitz
cb07e93ddd Changed configuration option name and added documentation. 2021-09-11 13:56:03 -04:00
DanielMowitz
1d804ae7c8 Implemented non-cumulative burndown reports and added a test for them. 2021-09-11 13:56:03 -04:00
Tomas Babej
0bc92d6115 meta: Adjust copyright headers 2021-09-05 12:02:07 -04:00
Tomas Babej
7d5c82e3e7 meta: Expand review build target to allow specifying PR reference for libshared
This allows us to conveniently review PRs for libshared using

    make LIBPR=62 review

and taskwarrior PRs that require libshared PRs as well using

    make PR=2189 LIBPR=63 review
2021-09-04 12:13:25 -04:00
Tomas Babej
2bd0d8ebd3 Task: Make sure tag and dependency attributes are not identified as orphan UDAs 2021-09-04 11:15:37 -04:00
Dustin J. Mitchell
309e99d49e Refactor task diffs to handle new attributes
This refactors task(Info)Differences to be methods of Task and to
correctly handle the `annotation_`, `tags_`, and `dep_` attributes.
2021-09-04 10:49:45 -04:00
Tomas Babej
7aee9567a3 Task: Fix extra whitespace typo 2021-09-03 21:15:07 -04:00
Tomas Babej
505bbf60bb colors: Do not provide any color for color.tagged by default
The simple fact that the task has a single or more tags of any value
does not convey a lot of information. As such, we should not color tasks
based on this property by default.

Users can still configure the color.tagged configuration variable if the
color rule makes sense in their system.
2021-08-31 18:28:54 -04:00
Tomas Babej
99f4929dc5 CmdExport: Throw an exception when the report is not found
The Context::getContext ().error only issues a log message, but allows
the execution of the program. In order to interrupt the execution, an
exception must be raised.
2021-08-31 18:27:45 -04:00
Dheepak Krishnamurthy
9ce366ddab task <filter> export [<report>] 2021-08-29 12:48:18 -04:00
Tomas Babej
ef176478e9 ci: Temporarily disable CentOS 7 tests
Suspend the CI runs on CentOS 7, which fail due to a cryptic git error
connected with checking out the libshared submodule version. Might be
just a bug that is fixed in more recent git versions, which would
explain why other CI runs work fine.
2021-08-29 12:31:07 -04:00
Tomas Babej
7a9c8eaf4a Merge pull request #2543 from sebu06/getFromContext
Allow overriding configuration variables per context
2021-08-29 00:00:10 -04:00
Tomas Babej
d91e30ee13 Merge branch '2.6.0' into getFromContext 2021-08-28 23:53:40 -04:00
Tomas Babej
8b30046d0a CLI2: Simplify code by using const quote string
The "\'" string is equal to "'", which is already stored in the quote
variable, so we might as well use that.

Thanks to Sebastian Uharek for the review suggestion.
2021-08-28 21:01:29 -04:00
Tomas Babej
2619435148 tests: Add test for TW-2189 2021-08-28 21:01:29 -04:00
Tomas Babej
ddf2f122a2 CLI2: Pre-reserve the size of the escaped string 2021-08-28 21:01:29 -04:00
Tomas Babej
c119b6d1de CLI2: Support escaped utf-8 characters 2021-08-28 21:01:29 -04:00
sebu06
0523ada9fc Fixed bug with double escaped single quotes
Before, the parser always escaped single quotes, independent of the quotes being escaped already. This is now fixed.
2021-08-28 21:01:29 -04:00
Tomas Babej
d270ef31a4 docs: Document report.X.context in the man page 2021-08-21 12:39:17 -04:00
Tomas Babej
d515326fba docs: Add Jake C. among AUTHORS 2021-08-21 10:09:59 -04:00
Tomas Babej
08dab41d48 docs: Document TW #2560 2021-08-21 10:09:45 -04:00
Tomas Babej
55f38bd48e docs: Document TW #2580 2021-08-21 10:01:26 -04:00
Tomas Babej
3471e1cdaa docs: Add bharatvaj among AUTHORS 2021-08-21 09:57:26 -04:00
Tomas Babej
4f14c529b0 tests: Add test for TW #2577
This is already fixed on 2.6.0 thanks to #2405, but it never hurts to
have more tests.

Closes #2577.
2021-08-21 09:53:46 -04:00
Bharatvaj H
05904549a0 Fixes #2580
Check annotations field before parsing

Add test case for annotations
2021-08-21 08:28:43 -04:00
Tomas Babej
48bf64a501 tests: Add test for report.<name>.context variable 2021-08-21 08:25:06 -04:00
Tomas Babej
8cad6487c7 CLI2: Call uses_context from child classes, if applicable 2021-08-21 08:25:06 -04:00
Tomas Babej
21f1086f3d Context: Add default values for report.<name>.context variables 2021-08-21 08:25:06 -04:00
Tomas Babej
5309132add CmdTimesheet: Add ability to specify if context should be used
This makes timesheet consistent with other report commands.
2021-08-21 08:25:06 -04:00
Tomas Babej
ab29ef8326 CmdCustom: Respect report.<name>.context configuration variable
This allows the user to configure if a specific report should (or should
not) adhere to the currently active context.

Closes #2560.
2021-08-21 08:25:06 -04:00
Tomas Babej
c195c59494 docs: Document TW #2581 2021-08-21 01:06:55 -04:00
Tomas Babej
1f76856579 tests: Add test for TW #2581 2021-08-21 01:06:55 -04:00
Tomas Babej
a464324617 CmdConfig: Properly preserve comments at the end of the line
Trailing comments previously caused crash of the application.

Closes #2581.
2021-08-21 01:06:55 -04:00
Tomas Babej
e2e184b8d4 CmdConfig: Be more strict when matching confiuration variables
Allow only leading spaces in front of configuration variables, as
opposed to arbitrary strings.

This prevents matching variables like "report.list.context=" when one is
seeking to modify "context=".
2021-08-21 01:06:55 -04:00
Tomas Babej
9768fb8bca docs: Sort ChangeLog entries 2021-08-17 20:52:12 -04:00
Dustin J. Mitchell
20af583e21 Refactor to store dependencies as individual attributes
This also drops support for the transitional `json.depends.array`
configuration value, which has not been necessary since ~2016.

As with tags, dependencies are stored in both a "combined",
comma-separated format (for compatibility) and in an
attribute-per-dependency format (for the future).
2021-08-17 20:36:54 -04:00
Dustin J. Mitchell
413b8d22b7 Remove references to the 'depends' property outside of Task.cpp
With the exception of `taskDifferences` and `taskInfoDifferences`,
deferred to #2572.
2021-08-17 20:36:54 -04:00
Tomas Babej
9e67f4f946 docs: Add information about waiting status to NEWS 2021-08-15 22:50:55 -04:00
Tomas Babej
54aef35b57 docs: Document #2550 2021-08-15 22:50:55 -04:00
Tomas Babej
d3fdb2baf9 changelog: Adjust formatting 2021-08-15 22:50:55 -04:00
Tomas Babej
7fb457d892 test: Add tests for TW #2550 2021-08-15 22:50:55 -04:00
Tomas Babej
89a6f2b629 CLI2: Apply UUID/ID context break only for readable context
The purpose of this break is to not apply the context on commands like

    task 4 info

so that we can still refer to tasks directly (using their ID/UUID
references) even if they fall outside of the currectly active context.

However, this break should not be applied for writeable context. This is
because the lexer can (a bit misleadingly) label parts of the desription
of the new task as number/identifier tokens

   task add Replace 3 parts of the puzzle abc123
                    ^                     ^
                    type::number          type:uuid

which would trigger the break unnecessarily.

Closes #2550.
2021-08-15 22:50:55 -04:00
Tomas Babej
5a86a40220 tests: Temporarily disable testing on Debian stable 2021-08-14 18:09:54 -04:00
Tomas Babej
b4fe317896 docs: Document TW #1913 2021-08-14 18:09:54 -04:00
Tomas Babej
b467049720 tests: Add tests for TW #1913 2021-08-14 18:09:54 -04:00
Dustin J. Mitchell
9a9ede7878 update built-in reports to use +WAITING, and doc 2021-08-08 14:27:25 -04:00
Tomas Babej
f8ca8cff81 Task: Make COMPLETED and DELETED virtual tags use getStatus()
This is now consistent with how PENDING is defined since recent commit
520d7e979b17c90e91d29325be8294905b338ee6.
2021-08-08 14:27:25 -04:00
Tomas Babej
91517151ad docs: Add removal comments 2021-08-08 14:27:25 -04:00
Tomas Babej
2c44f79277 tests: Make sed/wc calls in tw-2563 compatible with OS-X'
The sed does not support -i flag in the same way. The wc -l prints
whitespace in front, which needs to be stripped.
2021-08-08 14:27:25 -04:00
Tomas Babej
b6ce51e83d tests: Reverse expectations for wait attribute removal uponn done/delete
The wait attribute is no longer expected to be removed by the
done/delete commands.
2021-08-08 14:27:25 -04:00
Tomas Babej
861e8a6414 commands: Do not remove wait attribute upon task completion/deletion 2021-08-08 14:27:25 -04:00
Tomas Babej
ea008380db Task: Use getStatus () call to determine if task is pending 2021-08-08 14:27:25 -04:00
Tomas Babej
0c22823771 tests: Ensure virtual tags +PENDING and +WAITING are working as before TW-2563 2021-08-08 14:27:25 -04:00
Tomas Babej
582bee66e9 DOM: Implement special-cased status handling
This is required for status:pending filters not matching the tasks with
the virutal waiting tag.
2021-08-08 14:27:25 -04:00
Tomas Babej
7d81eadd5a tests: Add test for the migration path from 2.5.3 2021-08-08 14:27:25 -04:00
Tomas Babej
db324c41e3 TF2: Upgrade waiting tasks to pending, if applicable
This can be safely removed in one of the later releases (likely 3.1 or
later).
2021-08-08 14:27:25 -04:00
Dustin J. Mitchell
901283c79f [WIP] make 'waiting' status a 'virtual' status 2021-08-08 14:27:25 -04:00
sebu06
1d81e5e3ee Configuration override of settings for context
Every configuration parameter can be overwritten for the
current context by setting the parameter:

context.<name>.rc.<parameter> = <value>

in the config file. This allows for example to set a custom
report for each context.
2021-08-05 13:22:17 +02:00
Dustin J. Mitchell
20041c120e Refactor to store tags as individual attributes
Each tag is stored as `tag_<tagname>: x`.  The `x` is required because
empty attributes are treated as nonexistent.

For compatibility, the `tags` attribute is updated in sync with the
per-tag attributes.  This compatibility support may be dropped in later
versions.

Note that synchronization _updates_ use JSON format, which does not
change with this patch, and thus no compatibility issues exist.  The
synchronization _initialization_, however, uses FF4, meaning that a
sync server initialized from a version of `task` with this patch will
contain `tag_<tagname>` attributes, which will look like orphaned UDAs
to older versions.  However, as updates to tasks are synchronized via
the sync server, the updates will not contain these attributes and they
will show as "deleted" in the `task info` display on the older version.
Aside from the noise in the `task info` output, this is harmless.
2021-08-05 02:11:27 -04:00
Rosen Penev
17e6257e07 more emplace
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-08-05 02:03:59 -04:00
Rosen Penev
5c137f5c8f use emplace
Allows removing the constructor name as emplace forwards the arguments
directly.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-08-05 02:03:59 -04:00
Tomas Babej
bf93c28919 docs: Document #2247 2021-07-31 14:23:22 -04:00
Tomas Babej
9b8cbace45 tests: Add test for TW #2247 2021-07-31 14:23:22 -04:00
Korrat
b33a99a748 Nag based on task state before modification
With this patch, taskwarrior uses the urgency of tasks before any
modifications are applied when deciding whether to show nag messages.

Previously, taskwarrior would apply modifications before deciding
whether to show nag messages, which could lead to spurious nag messages
when completing an active task.
2021-07-30 18:56:25 -04:00
Scott Mcdermott
607baa081d CmdInfo: fix missing spaces causing run-on in virtual tag list
without the fix, when listing out the tags we would see output like:

    Virtual tags  PENDING PROJECTREADY TAGGED UDA UNBLOCKED

there isn't a PROJECTREADY tag of course, but rather a missing space
2021-07-23 17:07:11 -04:00
sebu06
3d61966831 Added coloring of dates with scheduled tasks
Color can be changed using color.calendar.scheduled
2021-07-20 07:38:14 -04:00
sebu06
90bc7f4b23 Fixed rendering of countdown columns
Countdown columns were counting up days instead of down.
2021-07-19 20:07:30 -04:00
sebu06
69b34dcef3 using convenience function for paying attention to verbosity tokens 2021-07-18 15:09:52 -04:00
Sebastian Uharek
bd2ad97ccb Added output of number of tasks to be modified in batch mode 2021-07-18 15:09:52 -04:00
Scott Mcdermott
178c17d032 tests: Add tests for bug #2519 2021-07-18 09:45:00 -04:00
Scott Mcdermott
07e2c23a91 tests: Add test cases for 'by' date attribute modifier 2021-07-18 09:45:00 -04:00
Scott Mcdermott
4738f25d59 AUTHORS: Add Scott Mcdermott among authors
Scott added date attribute filter modifier 'by'
2021-07-18 09:45:00 -04:00
Scott Mcdermott
3948484cf5 docs: Document TW #2536 2021-07-18 09:45:00 -04:00
Scott Mcdermott
ac3572a4f5 CLI2: New filter attribute modifier "by", uses '<=' for comparison
This patch allows e.g. due.by:tomorrow that includes all of tomorrow,
because it uses less than or equal to, rather than just less than, like
'before' modifier does.  This allows matching the last second of the day
when filtering by "due.by:eod", and more generally allows date filters
with an inclusive end-interval specification.

Closes #2536
2021-07-18 09:45:00 -04:00
Vladyslav Tronko
af6f2b55ec Fix matching project name during urgency calculation 2021-07-17 16:21:59 -04:00
Tomas Babej
9c2affa0cb libshared: Bump to fix build on OS-X
See [0] and [1] for reference.

[0]: https://github.com/GothenburgBitFactory/libshared/pull/43
[1]: https://github.com/GothenburgBitFactory/libshared/pull/44
2021-07-12 23:02:01 -04:00
Tomas Babej
171a586a3f libshared: Bump version to enforce safer file writes
Part of a solution for #152.
2021-07-11 20:28:21 -04:00
Tomas Babej
bc9888fc5e Changelog: Document TW #2530 2021-07-10 07:24:57 -04:00
Tomas Babej
79c860053b tests: Add a regression test for #2530 2021-07-10 07:24:57 -04:00
Tomas Babej
85a6c90c2b AUTHORS: Add Pablo among authors
Pablo reported regression TW #2519.
2021-07-03 10:47:38 -04:00
Tomas Babej
dc5e925b43 docs: Document TW #2519 2021-07-03 10:47:38 -04:00
Tomas Babej
fb208cf494 tests: Fix incorrect test constant 2021-07-03 10:47:38 -04:00
Tomas Babej
11b85373ee tests: 'eoy' is the last second of the year 2021-07-03 10:47:38 -04:00
Tomas Babej
9d80570073 libshared: Bump version
This brings back behaviour of "end of" named dates to point to the last
second of the given date.

Closes #2519.
2021-07-03 10:47:38 -04:00
Tomas Babej
8b1cc98d05 Changelog: Document TW #2514 2021-06-26 14:38:18 -04:00
Tomas Babej
3cbbe7e701 docs: Add reportaman to authors 2021-06-26 14:38:18 -04:00
Tomas Babej
d76b4e0d86 tests: Add test for TW #2514 2021-06-26 14:38:18 -04:00
Tomas Babej
cc0ba46873 feedback: Consider start and end attributes when reporting task durations
Instead of relying on the modification times, we can use the values of
the start and end attributes, if available.

This allows us to perform historical changes that result in correct
duration intervals reported by task info.

Closes #2514
2021-06-26 14:38:18 -04:00
Tomas Babej
a519cf59f2 docs: Document TW #1804 2021-06-23 00:13:03 -04:00
Tomas Babej
88eca5f535 tests: Add test for TW #1804 2021-06-23 00:13:03 -04:00
Tomas Babej
8f7e41b392 parseJSON: Allow annotations with missing entry values
This relaxes previous stringent requirements on the input values during
import.

Closes #1804.
2021-06-23 00:13:03 -04:00
Tomas Babej
6d81acd355 parseJSON: Ensure NULL values from failed lookups do not persist
The operator[] insets values if the lookup fails, which creates null
pointers.

See: https://en.cppreference.com/w/cpp/container/map/operator_at
2021-06-23 00:13:03 -04:00
Tomas Babej
75422e80e3 reproduce: Add gdb into the image 2021-06-23 00:13:03 -04:00
Tomas Babej
388a8917ba ChangeLog: Document #1938 2021-06-19 12:29:41 -04:00
Tomas Babej
3bf714e715 tests: Add test for TW #1938 2021-06-19 12:29:41 -04:00
Tomas Babej
c8560a8c96 test: Make all tests executable 2021-06-19 12:29:41 -04:00
Tomas Babej
a219bd30cf Task: Bump annotations with duplicate entry values
Since annotations are stored as a map, duplicate entry values lead to
data loss (i.e. annotations overriding each other on import). Perhaps
the choice of using a map internally should be reconsidered.

Closes #1938.
2021-06-19 12:29:41 -04:00
Tomas Babej
3fed9e9abb README: Add sponsoring section 2021-06-19 11:48:17 -04:00
Tomas Babej
dbcf2c4fe0 README: Add sponsors badge 2021-06-19 07:42:59 -04:00
Tomas Babej
b77bbaa988 Changelog: Document TW #1788 2021-06-12 17:00:11 -04:00
Tomas Babej
2d5c506d5e README: Link more badges to sources of information 2021-06-12 15:49:53 -04:00
Tomas Babej
f4a31620f1 Changelog: Document TW #2502 2021-06-12 15:49:06 -04:00
Tomas Babej
8b86f16f25 Variant: Do not use implicit fall-through
The code handling the comparison between the date and string types would
convert the variants to correct types, but only through multi-level
fall-through in the switch statement, which is always a bit of a
dangerous construct.

Added explicit return for the non-trivial case, preventing the need for
the fall-through.

Closes #2502.
2021-06-12 15:49:06 -04:00
Tomas Babej
8f16824538 tests: Add test for partial operator over date/string pairs 2021-06-12 15:49:06 -04:00
Tomas Babej
c98fe5f34b cmake: Remove recur2.cpp from CMakeLists 2021-06-12 10:40:47 -04:00
Tomas Babej
34ffd164bb recur: Remove references to the new recurrence mechanism 2021-06-12 10:40:29 -04:00
Tomas Babej
4db7990df8 recur: Remove WIP recurrence overhaul implementation
The feature has been moved to 3.0 milestone. Also, we are now using
feature branches for development of new functionality, in order to make
the development branch more stable.
2021-06-12 10:37:23 -04:00
Tomas Babej
7011cfb05a Changelog: Document TW #2503 2021-06-10 21:44:07 -04:00
Tomas Babej
5e5a48606f CmdExec: Prevent user from executing an empty command
Closes #2503.
2021-06-10 21:44:07 -04:00
Tomas Babej
496773b386 README: Update Discord badge with an invite link 2021-06-06 01:19:51 -04:00
Tomas Babej
3581260ee7 performance: Move sample data out of the perl script
This made language statistics look much more skewed towards Perl than
they should be.
2021-06-06 00:27:39 -04:00
Tomas Babej
c5a210e4a0 README: Add contributor-relevant badges 2021-06-06 00:27:39 -04:00
Tomas Babej
47d17a4365 README: Move downloads stats under main header 2021-06-06 00:27:39 -04:00
Tomas Babej
920c31ea72 README: Add downloads badges to the top 2021-06-06 00:27:39 -04:00
Tomas Babej
b7541571b5 test: Replace cmake3 with cmake for CentOS builds 2021-06-06 00:27:39 -04:00
Tomas Babej
d705abee32 README: Make it clear what discussions are we talking about 2021-06-06 00:27:39 -04:00
Tomas Babej
2ae4db3a37 README: Add libera.chat 2021-06-06 00:27:39 -04:00
Tomas Babej
b5134c9be3 README: Add Github discussions and download statistics 2021-06-06 00:27:39 -04:00
Tomas Babej
acc72e7e3d README: Make some of the links actionable 2021-06-06 00:27:39 -04:00
Tomas Babej
f3abccd151 README: Promote our communities 2021-06-06 00:27:39 -04:00
Tomas Babej
7d053f29e1 README: Add Taskwarrior heading 2021-06-06 00:27:39 -04:00
Tomas Babej
3d352d73d2 README: Decrease logo size 2021-06-06 00:27:39 -04:00
Tomas Babej
ab545b9f49 README: Add the logo on top 2021-06-06 00:27:39 -04:00
Tomas Babej
987414dc8e README: Add overview stats 2021-06-06 00:27:39 -04:00
Tomas Babej
67a7a9cb93 README: Expand INSTALL section 2021-06-06 00:27:39 -04:00
Tomas Babej
ab04227eb5 README: Drop submodule update instructions
These should no longer be relevant.
2021-06-06 00:27:39 -04:00
oxalica
3c402d4fb7 Prefer /usr/bin/env and searching from PATH 2021-06-02 19:35:18 -04:00
oxalica
2cb8f1d5ea Support relative include for themes in taskrc 2021-06-02 19:34:57 -04:00
oxalica
3672ed0c1b Remove build date/time from diagnostic message
This message does not really help, and makes the binary
non-deterministic.
2021-06-02 19:33:39 -04:00
Vladimir Rusinov
e762306563 Add a test for capitalized months and days of the week.
The change was implemented in
https://github.com/GothenburgBitFactory/libshared/pull/33.

This change adds validation in TaskWarrior.

Fixes:
* https://github.com/GothenburgBitFactory/taskwarrior/issues/2160
* https://github.com/GothenburgBitFactory/taskwarrior/issues/2364
2021-05-29 10:36:25 -04:00
Paul Beckingham
a9a7f16af3 Added F?UNDING.yml to connect the repo with the sponsorship 2021-05-25 18:40:38 -04:00
begasus
cd06d937a5 Search for libnetwork on Haiku 2021-05-25 18:26:04 -04:00
begasus
4fff27f4bc Fix reference for errno.h on Haiku 2021-05-14 00:04:48 -04:00
Rosen Penev
73575f8d88 convert manual loops to std::count_if
Simpler and generates less assembly.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-01 21:20:52 -04:00
Tomas Babej
62399239ca Filter: Make +ACTIVE trigger pendingOnly shortcut 2021-04-24 15:28:00 -04:00
Tomas Babej
523e2b40fe Filter: Consider presence of +PENDING tag signal to skip completed.data
This puts +PENDING at the same level of treatment as status:pending when
it comes to decision whether the data processed should be pending only.

The mechanism is by no means perfect and should be improved in the
future.
2021-04-24 15:28:00 -04:00
Tomas Babej
5e87be4641 Filter: Fix copy-paste error in pendingOnly 2021-04-24 15:28:00 -04:00
Tomas Babej
c7fd6b798b libshared: Bump version to support Pig.getUntilAscii 2021-04-24 10:47:28 -04:00
Tomas Babej
87d0499fc8 performance: Use ascii-only version of getUnitl for parsing attribute names
Not having to consider utf-8 characters has performance benefits.
2021-04-24 10:47:28 -04:00
Tomas Babej
95b135b59e DOM: Create a copy of Task object only if needed 2021-04-24 10:47:28 -04:00
Tomas Babej
87b0be9b6f performance: Pre-emptively reserve size of the values vector
Each token will add a corresponding Variant into the vector, so we can
avoid the performance penalty connected with dynamic resizes of the
vector.
2021-04-24 10:47:28 -04:00
Tomas Babej
312f77f703 performance: Do not use Pig to extract raw line content 2021-04-24 10:47:28 -04:00
Tomas Babej
e7487c8a63 performance: Avoid lexing input when not needed in getDOM
Lexing a token can be expensive operation. Perform lexing only if a
UUID/ID reference could have been provided.
2021-04-24 10:47:28 -04:00
Tomas Babej
c3f9d09d22 performance: Cache used command value
The detected command does not change once CLI2::analysis has been
performed. Cache the value of the command to avoid the need to
re-discover the correct value each time we're interested in it.
2021-04-24 10:47:28 -04:00
Tomas Babej
a19773873a performance: Cache CLI2::canonicalize lookups
Canonicalization of attributes or attribute prefixes happens once per
every single task considered in the filtering process. It maps short,
prefixed names to their full-length versions, for example:

"pro" -> "project" in the expression "project:Home"

It follows that such process is not task-dependant and as such the
lookups can be cached.
2021-04-24 10:47:28 -04:00
Rosen Penev
ab7f5b0b51 clang-tidy: loop conversion
Found with modernize-loop-convert

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-04-23 09:13:22 -04:00
Rosen Penev
15f0ab87e0 clang-tidy: use const references
Found with performance-for-range-copy

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-04-23 01:59:45 -04:00
Rosen Penev
e84930be8d clang-tidy: use auto
Found with modernize-use-auto

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-04-23 01:39:23 -04:00
Rosen Penev
d0c4350c2f clang-tidy: add missing reserve calls
Found with performance-inefficient-vector-operation

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-04-23 00:22:43 -04:00
Rosen Penev
3cafb5257e clang-tidy: use = default
Found with modernize-use-equals-default

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-04-23 00:15:06 -04:00
Rosen Penev
4aaaa8dcc8 clang-tidy: use bool literals
Found with modernize-use-bool-literals

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-04-23 00:11:52 -04:00
Rosen Penev
8ffb85b327 clang-tidy: use '' for single character find
Found with performance-faster-string-find

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-04-22 23:18:16 -04:00
Tomas Babej
b1e70fd780 NEWS: Update tested confiurations 2021-04-22 00:02:37 -04:00
Tomas Babej
6aa46e7d1a ci: Test on Ubuntu 21.04 2021-04-22 00:02:37 -04:00
Tomas Babej
70815edb8a ci: Test on Fedora 34 2021-04-22 00:02:37 -04:00
Tomas Babej
44220287c4 CmdCalendar: Only display relevant parts of the legend 2021-04-21 23:44:36 -04:00
Tomas Babej
d4c6b0d2d9 AUTHORS: Add Daniel Mowitz 2021-04-21 23:13:23 -04:00
Tomas Babej
02a60b096c docs: Document TW #1911 2021-04-21 23:12:38 -04:00
Tomas Babej
282f3d344a CmdCalendar: Adjust styling 2021-04-21 23:09:08 -04:00
Tomas Babej
14fd8ea673 man: Adjust wording 2021-04-21 22:58:47 -04:00
DanielMowitz
7a07e09733 Added documentation for multi-day holidays. 2021-04-21 22:23:00 -04:00
DanielMowitz
277373ba89 Added tests for single and multiday holidays. 2021-04-21 22:23:00 -04:00
DanielMowitz
a16f3addc7 Made CmdCalendar.cpp even less redundant by only calling
config.get ("dateformat.holiday") once for every method.
2021-04-21 22:23:00 -04:00
DanielMowitz
23244e61a5 Renamed variables to be more consistent and improved readability. 2021-04-21 22:23:00 -04:00
DanielMowitz
f703bd5a74 Made CmdCalendar.cpp less redundant by only calling
Context::getContext().config once per method.
2021-04-21 22:23:00 -04:00
DanielMowitz
45c67fef6e Update CmdCalendar.cpp
Converted some tabs to spaces and added braces to a for loop.
2021-04-21 22:23:00 -04:00
DanielMowitz
374b97bb66 Implemented multi-day holidays. 2021-04-21 22:23:00 -04:00
DanielMowitz
dc5ebfa612 Made the code for colorizing the calendar a little more dry. 2021-04-21 22:23:00 -04:00
Tomas Babej
affcd82466 ci: Re-enable testing on Arch Linux
This reverts commit 17ab0dfcf4.

The underlying issue with the archlinux was fixed, see references in the
above commit for more details.
2021-04-14 03:10:21 -04:00
Tomas Babej
e70c2b7c7d docs: Add reference about TW #2451 to ChangeLog 2021-04-14 02:44:33 -04:00
Tomas Babej
d20631beb0 tests: Add regression test for TW #2451 2021-04-14 02:44:33 -04:00
Tomas Babej
bd0d907335 CLI2: Apply desugaring of plain filter args to date args
This ensures that commands like `task marc` perform description
substring search on `marc`.

Closes #2451.
2021-04-14 02:44:33 -04:00
Tomas Babej
475a16b3d4 CLI2: Fix docstring for desugarFilterPlainArgs
Desugaring is applied also for tokens of Lexer::type::identifier, make
sure the docstring correctly documents that.
2021-04-14 02:44:33 -04:00
Paolo Capriotti
856b589bac Parse 'context' verbose token correctly 2021-04-11 20:32:42 -04:00
Max Rossmannek
6546c050c5 Un-wait a waiting task when deleted 2021-04-06 23:34:32 -04:00
Max Rossmannek
33dcea68f5 Un-wait a waiting task when done
Implements #2322
2021-04-06 23:34:32 -04:00
Tomas Babej
5c92dea674 ChangeLog: Document TW #2442
Closes #2442.
2021-04-04 22:14:15 -04:00
Tomas Babej
506cb4fc8a tests: Add regression test for TW #2429 2021-04-04 22:14:14 -04:00
DanielMowitz
fb6c42f375 Change nagging behavior
Don't nag if the specified set of tasks consists only of highest urgency tasks.
2021-04-04 22:06:07 -04:00
Tomas Babej
4dea5dd944 README: Highlight our new discussion forum 2021-04-03 20:44:05 -04:00
Tomas Babej
e86f2591ba docs: Update README 2021-04-03 20:37:33 -04:00
Tomas Babej
e8c38b75e7 ChangeLog: Document TW #2428 2021-04-03 17:57:08 -04:00
Tomas Babej
693f2f74cd CmdEdit: Respect bulk option
Since 'task edit' is a data-modification operation (that is particularly
hard to cancel mid-way), it should also respect the 'bulk' option like
all the other modification operations (mod, start...).

Closes #2428.
2021-04-03 17:57:08 -04:00
Tomas Babej
d95b64c5a0 docs: Add info about writeable contexts to NEWS 2021-04-03 15:01:39 -04:00
Tomas Babej
c80869875d docs: Update changelog 2021-04-03 15:01:39 -04:00
Tomas Babej
8bf2aec0ae docs: Promote myself 2021-04-03 15:01:39 -04:00
Tomas Babej
4a726175f5 docs: Expand the manpage to explain writeable context 2021-04-03 15:01:39 -04:00
Tomas Babej
fe6a6ca93b compatibility: Explicitly specify template type to support older compilers
This makes curret development branch buildable on Ubuntu 18 / Centos 7 /
SUSE 15.
2021-04-03 15:01:39 -04:00
Tomas Babej
80490b625e tests: Fix context-related tests 2021-04-03 15:01:39 -04:00
Tomas Babej
c701137313 CmdContext: Report context as not found if nothing was deleted 2021-04-03 15:01:39 -04:00
Tomas Babej
1bba59e972 CLI2: Move the recursion block to the right place in addContext 2021-04-03 15:01:39 -04:00
Tomas Babej
87c05c4c6d tests: Context definition now requires answering two questions 2021-04-03 15:01:39 -04:00
Tomas Babej
201b1c37b4 CmdContext: Allow user to define read-only / write-only contexts 2021-04-03 15:01:39 -04:00
Tomas Babej
4de23a3e20 CmdContext: Remove all types of context when deleting 2021-04-03 15:01:39 -04:00
Tomas Babej
062878022b CmdContext: Expand information provided in 'context show' 2021-04-03 15:01:39 -04:00
Tomas Babej
a558ffcd42 CmdContext: List info about both read and write context 2021-04-03 15:01:39 -04:00
Tomas Babej
351c3b025c getTaskContext: Allow getting context info for a non-active context 2021-04-03 15:01:39 -04:00
Tomas Babej
c0ded37f91 CmdContext: Discard .read/.write suffix when discovering contexts 2021-04-03 15:01:39 -04:00
Tomas Babej
41823c7939 CmdContext: Expand description 2021-04-03 15:01:39 -04:00
Tomas Babej
9a380887ee CLI2: Simplify context determination
Simlifies by offloading portion of the logic into the singleton Context
class (which has nothing to do with the task context per se, just a
implementation singleton).
2021-04-03 15:01:39 -04:00
Tomas Babej
985aab0541 CmdContext: Define both read and write context 2021-04-03 15:01:39 -04:00
Tomas Babej
26fb4521fe tests: Update commands.t to reflect new signature of CmdAdd
The 'task add' command now accepts context.
2021-04-03 15:01:39 -04:00
Tomas Babej
5716f5abb7 CLI2: Generalize method to add context to support writeable context 2021-04-03 15:01:39 -04:00
Tomas Babej
5c3cf0f438 CLI2: Implement inserting modification arguments
Method to inject mods into the command, to be used by writeable context.
2021-04-03 15:01:39 -04:00
Tomas Babej
9128798fee CLI2: Generalize 'add' to insert arguments at arbitrary position 2021-04-03 15:01:39 -04:00
Tomas Babej
9bc726ba61 commands: Modify CmdAdd and CmdLog to use context
This only sets the command properties.
2021-04-03 15:01:39 -04:00
Tomas Babej
a2c3d224d3 CLI2: Generalize _context_filter_added latch name 2021-04-03 15:01:39 -04:00
Jonas DOREL
510786ff91 Hooks readme : mention task diagnotics debug 2021-03-18 21:59:42 -04:00
Tomas Babej
60bce31df1 tests: Fix TW URL in the version.t test 2021-03-17 22:05:27 -04:00
Tomas Babej
339397f836 meta: Fish shell domain is fishshell.com 2021-03-12 07:58:05 -05:00
Tomas Babej
0d1542ccd7 meta: Update various links to https 2021-03-12 07:58:04 -05:00
Jonas DOREL
b4a36d942e Document verbose key: context 2021-03-08 19:35:02 -05:00
Tomas Babej
e221ea6571 meta: Bump libshared version 2021-03-07 12:50:04 -05:00
Tomas Babej
17ab0dfcf4 ci: Temporarily disable Archlinux testing
The build of the docker image currently fails due to a bug unrelated to
TW [1]. This will be reverted once the issue is fixed.

[1] https://bugs.archlinux.org/task/69563
2021-03-02 20:40:15 -05:00
Tomas Babej
d215bc52b1 tests: Update styling 2021-03-02 20:39:32 -05:00
Rosen Penev
04454a995f clang-tidy: use raw string literals
Found with modernize-raw-string-literals

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-02 20:36:02 -05:00
Tomas Babej
cdbab698e3 tests: Add tests for TW #2124 2021-01-31 05:04:43 -05:00
Tomas Babej
5317f7c795 bash_tap: Implement mechanism to mark a test as expected failure
Test author can now mark a bash tap test as expected failure by setting
EXPFAIL environment variable to a non-zero value.
2021-01-31 05:04:43 -05:00
Tomas Babej
a5eee5fcc6 tests: Expand tests for #2392 2021-01-30 21:53:37 -05:00
Tomas Babej
bf11ef3f12 docs: Document resolved issues 2021-01-30 21:40:41 -05:00
Tomas Babej
456dfdc8cf CLI2: Handle empty parentheses expressions
Since taskwarrior is a CLI tool, it is likely that it is interacted with
programmatically. As such, expressions that a human would not type, but
are syntactically correct are bound to occur. In particular, task
currently is not able to handle empty parentheses expressions:

    task +PENDING '(' ')'

This is due to "and" operator being injected between +PENDING (which
translates to '( status = pending )' and '('.

Modify the insertJunctions to not insert the 'and' operator between two
sub-expressions if one of them is an empty parentheses expression.

Closes #1896.
2021-01-30 21:40:41 -05:00
Tomas Babej
c6fdb7e590 tests: Add test for TW-1883 (#1896) 2021-01-30 21:40:41 -05:00
Tomas Babej
5525460bdf tests: Add test for TW #2257 2021-01-30 21:40:41 -05:00
Tomas Babej
f96e78b721 tests: Unmark two expectedFailure tests that are now working 2021-01-30 21:40:41 -05:00
Tomas Babej
b2fa368afa tests: Expect failure for another test with project:B) syntax
It could be argued we should not support this syntax (i.e. the ')'
character needs to be surrounded by a space. Note that the ability to
contain ')' as part of the attribute value was explicitly requested (as
a bug report) in TW-1455 (#1481).
2021-01-30 21:40:41 -05:00
Tomas Babej
64b6784f69 ColumnTypeString: Only input of single DOM token should be attempted to be evaluated
Attribute names are often words from natural language (such as start,
end or entry). The ColumnTypeString supports resolving DOM references,
such that task commands like 'task add proj:3.proj' work.

However, the current implementation of the ColumnTypeString::modify
only looks at the first token to determine whether the input is a DOM
reference or not. This mischaracterizes inputs like 'task add
"description:start something"', where the first token of the attribute
value looks like a DOM reference (the 'start' attribute), but is in
fact, a part of larger string.

Since all DOM references are single tokens, only interpret the input as
a possible DOM reference if and only if one token was found.

Closes #1908.
2021-01-30 21:40:41 -05:00
Tomas Babej
fac48e5e93 tests: Add test for TW-1895 (#1908) 2021-01-30 21:40:41 -05:00
Tomas Babej
13cf6decd3 tests: Add test for TW #2386 2021-01-30 21:40:41 -05:00
Tomas Babej
a1471b67fb CLI2: Do not attempt to evaluate values of string attributes 2021-01-30 21:40:41 -05:00
Jan Palus
9548bfdaba build: make sure internal libs are built as static
these libararies are not installed so don't leave the decision up to
enviroment which might build shared libraries resulting in binary
with missing deps after installation

Fixes #2403
2021-01-29 23:05:02 -05:00
Nate Wheeler
9be55fc070 Fixes issue where bash paths were not correctly deconstructed, leading to unit tests failing when the path had a space in it 2021-01-27 21:22:50 -05:00
Tomas Babej
5f39b368b6 docs: Documentation updates related to #2393 2021-01-24 10:51:14 -05:00
Tomas Babej
2df80aac01 CmdCalendar: Default to current month if no due date is present
Previously, if no due date was set on any pending/waiting task, the
calendar output would start at the end of the currently supported date
period.

Default to current month instead.
2021-01-24 10:51:14 -05:00
Tomas Babej
0234cd8122 CmdCalendar: Support due dates up to year 9999 2021-01-24 10:51:14 -05:00
Tomas Babej
22228547ca CmdCalendar: Consider waiting status equivalent to pending for purposes of display
The purpose of displaying due dates on the calendar is to convey the
relative business of any given day. Waiting status signifies a task
should not be displayed in reports yet, but for the purposes of
planning, it should be displayed in the calendar overview.

Closes #2393.
2021-01-24 10:51:14 -05:00
Tomas Babej
89ffe13677 docs: Document TW #2392 2021-01-24 03:08:10 -05:00
Tomas Babej
63383698da tests: Fix dependencies.t test
Fix minor implementation problems and only skip the undeterministic
portion of the tests.
2021-01-24 03:08:10 -05:00
Tomas Babej
7d2fb18e5d tests: Add test for TW #2392 2021-01-24 03:08:10 -05:00
Tomas Babej
05e7c2aff2 Lexer: Do not allow leading zero for two and more digit integers 2021-01-24 03:08:10 -05:00
Tomas Babej
6a33bb8656 Lexer: Do not allow leading zero for number type 2021-01-24 03:08:10 -05:00
Tomas Babej
b9bc0f8c87 tests: expectedFailure decorator takes no arguments 2021-01-24 03:08:10 -05:00
Thomas Lauf
a2384eadde Move licence URL up
This way Github's licensee tool recognizes the MIT license correctly
2021-01-22 20:34:00 +01:00
Tomas Babej
368e323d80 tests: Mark tests as expected failure instead of skip
That way we are notified by the test suite if the underlying issue gets
fixed.
2021-01-18 02:59:11 -05:00
Tomas Babej
5928604752 tests: Remove expected failure marks for relative date resolution
The tests now no longer fail.
2021-01-18 02:59:11 -05:00
Tomas Babej
15a5ced0e1 docs: Document TW #1654 / #2390 2021-01-18 02:59:11 -05:00
Tomas Babej
e46bcf3ab4 NEWS: Document extended Duration values 2021-01-18 02:59:11 -05:00
Tomas Babej
5aa3073703 libshared: Bump libshared to extend Duration value support 2021-01-18 02:59:11 -05:00
Tomas Babej
7935364fce tests: Adjust tests for recent variant changes 2021-01-18 02:59:11 -05:00
Tomas Babej
ef1e889262 ColTypeDate: Do not explicitly add now to relative dates
Relative dates are now implicitly anchored around now datetime point
during casting, hence there is no reason to do this anymore.
2021-01-18 02:59:11 -05:00
Tomas Babej
5e0fc1caab Variant: Ensure implmentation of addition/subtraction of dates/durations does not involve casting
Implicit casting of a duration anchors it around the 'now' point in
time, which would throw off the conversion.
2021-01-18 02:59:11 -05:00
Tomas Babej
7242accb58 Variant: Convert durations into dates as implicitly anchored around now
The _period attribute holds the number of seconds that the Duration
holds, while _date attribute holds the number of seconds since the
beginning of unix epoch (also known as epoch time). As such, it does not
make sense to convert _period directly into _date.

Interpret _period as offset relative to current unix epoch time.

Closes #2390.
2021-01-18 02:59:11 -05:00
Tomas Babej
5e68165556 changelog: Document TW #2389 2021-01-16 18:55:01 -05:00
Tomas Babej
6aed73ee99 scripts: Use full hostname in the PS1 variable for reproduction environment 2021-01-16 18:50:16 -05:00
Tomas Babej
d9c4621e33 cmake: Limit containers to 1GB of memory
This helps debugging issues when task ends up OOMKilled, without having
to exhaust memory of the host machine.
2021-01-16 18:49:12 -05:00
Tomas Babej
1855d2c729 libshared: Bump version 2021-01-16 18:47:40 -05:00
Tomas Babej
71f477e013 cmake: Make builds of make review/reproduce quiet
Reduce noise on the output. The build process still outputs the build
log in case it fails.
2021-01-16 12:43:23 -05:00
Tomas Babej
c72e1ea379 cmake: Do not send local context when for make review/reproduce
The Dockerfiles for make review and make reproduce targets do not use
any information from the local taskwarrior git repository. Use
STDIN-based syntax to ensure local context is not sent to the daemon.

See: https://docs.docker.com/engine/reference/commandline/build/#build-with--
2021-01-16 12:40:56 -05:00
Tomas Babej
94a06ed38a cmake: Add a custom target for reproducing issue reports
Use by issuing command "make RELEASE=v2.5.2 reproduce" where v2.5.2 can
be substituted by other (tagged) release.
2021-01-16 12:29:35 -05:00
Tomas Babej
35cab8845a changelog: Document TW #2292 2021-01-14 18:21:44 -05:00
indev
098be0747d fix: remove lock file on interruption of 'task edit' (#2292) 2021-01-14 18:16:34 -05:00
Jochen Sprickerhof
663c6575ce Use str_replace from libshared 2021-01-07 22:37:04 -05:00
Jochen Sprickerhof
a95205357c Support editing multi-line annotations (Closes: #2283)
Since e4b9c1f annotations where JSON encoded in task edit to escape
new lines (\n). But other strings where mangled as well, like https://
becoming https:\/\/, making it hard to edit.

This patch removes the JSON encoding and indents new lines instead.
2021-01-07 22:37:04 -05:00
Tomas Babej
1cbcdf0969 docs: Update ChangeLog with info about the 2.5.3 release 2021-01-04 01:06:04 -05:00
Tomas Babej
09ae7ce44d NEWS: Update tested configurations 2021-01-04 01:01:10 -05:00
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
620461766e doc: Document TW #2101 2021-01-02 03:01:33 -05:00
Tomas Babej
9017cd6e53 doc: Update copyright to 2021 2021-01-02 02:48:22 -05:00
Tomas Babej
2ebf4b864d ColTypeNumeric: Support date and duration variants
If the lexer identifies an expression as an date or a duration, it
should be re-cast into integer value.

Closes #2101.
2021-01-02 00:21:02 -05:00
Tomas Babej
a641e4315f Variant: Support 64-bit numeric values
Closes #2101.
2021-01-01 23:57:34 -05:00
Tomas Babej
c4cdfdae64 tests: Simplify quote and escape tests to make them more transparent
Remove excessive escaping of backslashes with usage of raw strings. This
makes it more obvious what is the test input and expected output.

One test is currently failing after editing and was marked as expected
failure.
2020-12-31 18:10:52 -05:00
Tomas Babej
9753e22d0c tests: Adjust tests enforcing incorrect behaviour
In 1a001cae, double json-decoding of the attribute values was removed,
and as such we need to adjust tests to actually enforce correct
behaviour.
2020-12-31 14:45:46 -05:00
Tomas Babej
1a001caedd Task: Prevent double json-decoding of attribute values
In bd4a7081, json-decoding of attribute values was introduced as a
workaround to properly handle blackslashes in description and
annotations (see TW-880).

However, this behaviour is no longer present with the new parser and
introduces its own suite of issues (i.e. see #2140).

Closes #2140.
2020-12-31 14:23:55 -05:00
Tomas Babej
942f43d195 tests: Fix TW bug reference number 2020-12-31 14:20:02 -05:00
Tomas Babej
bcc08c8135 docs: Update changelog 2020-12-28 20:48:20 -05:00
Tomas Babej
3b863382b3 tests: Add tests for TW #2060 2020-12-28 20:46:51 -05:00
Tomas Babej
6ff63286b5 CmdInfo: Properly format date and duration UDAs
The 'type' variable was never assigned value, hence the checking for
'date' and/or 'duration' always failed. Use col->type() instead.

Closes #2060.
2020-12-28 20:36:32 -05:00
Tomas Babej
3b978ce265 cmake: Update list of ignored source files
Update after removal of the Travis CI.
2020-12-28 19:35:50 -05:00
Tomas Babej
cf419fda34 README: Update build status badge 2020-12-28 19:34:52 -05:00
Tomas Babej
f8a0ebe504 ci: Pass CONTAINER variable to the test execution step 2020-12-28 19:31:38 -05:00
Tomas Babej
6cf3352b5d ci: Remove rednudant declaration of runs-on 2020-12-28 19:23:09 -05:00
Tomas Babej
cbdd7afea4 ci: Remove integration with Travis 2020-12-28 19:20:19 -05:00
Tomas Babej
c1ed896a53 ci: Add Github-workflow based CI pipeline 2020-12-28 19:19:20 -05:00
Tomas Babej
16529694eb doc: Document change in semantics for someday/later 2020-12-28 02:32:50 -05:00
Tomas Babej
7a8ea633f8 docs: Update NEWS and Changelog with expanded support for Datetime ranges 2020-12-28 02:30:54 -05:00
Tomas Babej
6bbfcba738 libshared: Support Datetime values until year 9999
Closes #2373.
2020-12-28 01:34:41 -05:00
Tomas Babej
59c20a782d tests: Definition of someday is in year 9999 now 2020-12-28 01:33:49 -05:00
Tomas Babej
9ed047d46d Task: Support setting 64-bit integer values
Thanks to Stephan Rieche.
2020-12-27 21:29:15 -05:00
Tomas Babej
3964e7f3de Changelog: Fix attribution 2020-12-20 17:04:07 -05:00
Tomas Babej
9d32b34b49 docs: Add information about unicode characters 2020-12-20 15:37:01 -05:00
Tomas Babej
e6edac7edd build: Update libshared to version supporting Unicode 11
Closes #2333.
2020-12-20 15:27:28 -05:00
Tomas Babej
7dfff13b06 tests: Allow match for 8 bit color code in color.rules.t
The test proper coloring for overdue task from an hour ago fails,
even though the task is properly colored. This is because the blue color
gets upgraded to blue color in 256-color scheme, and hence is
represented with 38;5;4m instead of 34m.

Support both representations of the blue color in the given test.
2020-12-14 23:13:44 -05:00
Tomas Babej
982308412d libshared: Updated to 418a1873aea42f0ed719218628b0ee166b2c281c 2020-12-14 22:37:13 -05:00
Tomas Babej
e37ab8a9ed rules: Reduce code duplication 2020-12-14 22:35:38 -05:00
Tomas Babej
2336c4039d rules: Mark coloring implementations that are not consistent with their corresponding virtual tags 2020-12-14 22:35:37 -05:00
Tomas Babej
2adc5994d5 rules: Make colorizeOverdue properly process dateEarlierToday date state
This makes the coloring implementation consistent with the
Task::is_overdue() method.

Closes #1998.
2020-12-14 22:35:37 -05:00
Tomas Babej
fbf8fe688e CmdCalendar: Properly colorize overdue task from today
Even if task is due today, but the due time is in the past, it is
considered overdue according to the implementation of Task::is_overdue
method.

Make coloring in the calendar output consistent.
2020-12-14 22:35:36 -05:00
Tomas Babej
bfae79eac7 CmdCalendar: Remove accidental repeated blending 2020-12-14 22:35:35 -05:00
Tomas Babej
83a55ccfe5 tests: Add test for coloring an overdue task from earlier today 2020-12-14 22:35:34 -05:00
Tomas Babej
eb32c9d8d7 Context: Correctly handle XDG_CONFIG_HOME paths ending with '/' 2020-12-10 23:49:00 -05:00
Tomas Babej
f0e34a7ef7 Context: Do not append .config if XDG_CONFIG_HOME is defined
- Thanks to Julien Rabinow.
2020-12-10 23:34:59 -05:00
Tomas Babej
b64e754000 cmake: Bring back commit.h.in and cmake.h.in 2020-12-10 22:14:04 -05:00
Tomas Babej
8013654577 cmake: Add additional ignored files for make_package
Closes #2369.

- Thanks to Heiko Becker.
2020-12-10 21:52:56 -05:00
Tomas Babej
1a52c59356 tests: Add test to ensure 64 bit time_t 2020-12-10 00:51:41 -05:00
Tomas Babej
af5e81434f tests: Parallelize more when compiling TW 2020-12-10 00:08:44 -05:00
Tomas Babej
6d74b62dc4 docs: Add entries for alternate location of taskrc to ChangeLog/NEWS 2020-12-09 22:57:57 -05:00
Tomas Babej
1b14ee80bc docs: Clean up ChangeLog and NEWS with duplicated entries from 2.5.2
Many changes made in the 2.6.0 were cherry-picked into 2.5.2 release,
make sure those are not duplicated in 2.6.0 changelog / news.
2020-12-09 22:49:32 -05:00
Tomas Babej
962a8fbe9a AUTHORS: Add Julien among authors 2020-12-09 22:14:28 -05:00
Tomas Babej
5dc42df7d0 Context: Correctly respect empty XDG_CONFIG_HOME 2020-12-09 21:21:17 -05:00
Tomas Babej
1f98b9d128 Context: Adjust styling 2020-12-09 20:35:13 -05:00
Julien Rabinow
dea098d155 update docs to specify XDG_CONFIG_HOME is a valid option 2020-12-09 20:15:22 -05:00
Julien Rabinow
5256797ea9 add support for XDG_CONFIG_HOME 2020-12-09 20:15:22 -05:00
Julien Rabinow
46b553dd8c reorder code to be in same order as comments (intuitive order) 2020-12-09 20:15:22 -05:00
Julien Rabinow
1aa77c9ede fix home_dir variable definition 2020-12-09 20:15:22 -05:00
Tomas Babej
d29ddec34f NEWS: Fix URL for issue submission 2020-12-08 00:44:33 -05:00
Tomas Babej
4d5d901214 NEWS: Fix URL for issue submission 2020-12-08 00:43:14 -05:00
Tomas Babej
fcfe01f301 recur: Prevent infinite loops with 0 periods
Specifying a recurrence interval that amounts to a zero, like 'P0M', 0q
or 0m causes task to fall into an infinite loop when trying to determine
next recurrence dates.

Detect scenarios with zero-length recurrence interval and throw an
exception.

Closes #2262.
2020-12-06 20:58:26 -05:00
Tomas Babej
ccb222a31b 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:02:17 -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
54cfc6cab9 DEVELOPER: Change current release branch version 2020-12-06 11:13:30 -05:00
Tomas Babej
36594df1a9 docs: Update test suite requirements 2020-12-06 11:13:15 -05:00
Tomas Babej
c223b0694c docs: Update compiler requirements 2020-12-06 11:12:58 -05:00
Max Rossmannek
fdaabcf956 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-12-06 10:50:30 -05:00
Paul Beckingham
0202898732 Updated build to use C++17 by default 2020-12-06 10:50:13 -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
af49667adb ci: Rename Arch container to make it clear we're testing on rolling base 2020-12-06 02:42:10 -05:00
Tomas Babej
a6bbeeaab5 ci: Add support for CentOS 8 2020-12-06 01:55:17 -05:00
Tomas Babej
53e39760ab ci: Replace F28 and F29 with F31, F32 and F33 2020-12-06 01:35:47 -05:00
Tomas Babej
88ea8544f6 ci: Add Ubuntu 20.04 2020-12-06 00:53:34 -05:00
Tomas Babej
2b9525980e ci: Removing support for Ubuntu 16.04
Ubuntu 16.04 has reached EOL and the 2.6.0 branch does not compile
there.
2020-12-06 00:28:59 -05:00
Tomas Babej
bf99dedc07 ci: Properly setup en_US.UTF-8 locale for Ubuntu containers 2020-12-06 00:22:32 -05:00
Tomas Babej
9e9ef6a210 tests: Allow specifying lexer tests as expected failures 2020-12-05 21:22:42 -05:00
Tomas Babej
efc56d3ab6 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-05 21:22:24 -05:00
Tomas Babej
d25d930ada tests: Unmark unexpected successes
These tests are passing on 2.6.0.
2020-12-05 19:35:45 -05:00
Tomas Babej
095d51e479 tests: Properly label and detect unexpected successes
Unexpected successes were being labeled as failures, which might be
related to [1]. This behaviour is indeed welcome - we want to detect if
tests are unexpectedly succeeding via test pipeline failures, however,
the current implementation of the simpletap did not properly implement
this.

[1] https://bugs.python.org/issue20165
2020-12-05 19:28:47 -05:00
Tomas Babej
aa97cc7108 holidays: Update holidays using newest holidata.net data
Remove outdated holiday files that could not be updated.
2020-12-05 18:24:32 -05:00
Tomas Babej
a186d9f73f CMake: Also ignore .travis for the tarball build 2020-12-05 18:24:31 -05:00
Tomas Babej
7402f00981 CMake: Exclude .github directory 2020-12-05 18:24:30 -05:00
Tomas Babej
642f250f72 tests: Mark failing corner case tests as expected for 2.6.0
These are still important problems, but it will allow us to fully
leverage CI while waiting for the fixes.
2020-12-05 18:24:29 -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
Paul Beckingham
3e0a428185 Revert "[clang-tidy] Use .empty instead of comparing size"
This reverts commit a331cceded.
2020-12-05 16:18:37 -05:00
Paul Beckingham
b2d46a1eba Revert "[clang-tidy] Use auto where the type is known"
This reverts commit 6ce2a129dd.
2020-12-05 16:18:37 -05:00
Paul Beckingham
0a3a4d364d Revert "[clang-tidy] Use new range based loops"
This reverts commit a468537c1b.
2020-12-05 16:18:37 -05:00
Paul Beckingham
e3e158bf6a Revert "[clang-tidy] Replace push_back with emplace_back"
This reverts commit 897759e4dc.
2020-12-05 16:18:37 -05:00
Paul Beckingham
ead50d4d6e Revert "[clang-tidy] Use default to initialize constructors"
This reverts commit bf40ea8816.
2020-12-05 16:18:37 -05:00
Paul Beckingham
aa841f98c9 Revert "[clang-tidy] Add const where it makes sense"
This reverts commit defd49b13d.
2020-12-05 16:18:37 -05:00
Paul Beckingham
2652a9d3f1 Revert "[clang-tidy] Add const references where useful"
This reverts commit 37b641259c.
2020-12-05 16:18:37 -05:00
Paul Beckingham
8cf4e3de08 Revert "[clang-tidy] Access static member through qualified-id"
This reverts commit 6cd15235be.
2020-12-05 16:18:37 -05:00
Paul Beckingham
504aacd244 Revert "[clang-tidy] Pass by value with std::move"
This reverts commit e46039efb1.
2020-12-05 16:18:37 -05:00
Paul Beckingham
5502729131 Revert "[clang-tidy] Switch C headers to C++ ones"
This reverts commit 0344856d65.
2020-12-05 16:18:37 -05:00
Paul Beckingham
444e5955ac Revert "[clang-tidy] Convert 0/1 to false/true"
This reverts commit 54e40008c9.
2020-12-05 16:18:37 -05:00
Paul Beckingham
0b828be4aa Revert "[clang-tidy] Remove redundant init"
This reverts commit cc6826fc3a.
2020-12-05 16:18:37 -05:00
Paul Beckingham
9016c26828 Revert "[cl;ang-tidy] Don't initialize strings"
This reverts commit 426e067f43.
2020-12-05 16:18:37 -05:00
Paul Beckingham
3eb209f248 Revert "[clang-tidy] Use '' for single characters"
This reverts commit e3ceda9ce1.
2020-12-05 16:18:37 -05:00
Paul Beckingham
c3ecfac4f5 Revert "[clang-tidy] Use const reference instead of initializing string"
This reverts commit ab170e34df.
2020-12-05 16:18:37 -05:00
Paul Beckingham
7d8fff418e Revert "[clang-tidy] Reserve memory for vector loop"
This reverts commit 7f86b29aa9.
2020-12-05 16:18:37 -05:00
Paul Beckingham
702af00435 Revert "[clang-tidy] Remove redundant const"
This reverts commit 55d103c491.
2020-12-05 16:18:37 -05:00
Paul Beckingham
c43a513158 Revert "[clang-tidy] Replace C style casts with C++ ones"
This reverts commit 13e1bf7204.
2020-12-05 16:18:37 -05:00
Paul Beckingham
364b4ea8bd Revert "[clang-tidy] Simplify boolean expressions"
This reverts commit 51870dff34.
2020-12-05 16:18:37 -05:00
Paul Beckingham
623d5ceb59 Revert "[clang-tidy] using dynamic_cast for derived classes"
This reverts commit a02754159c.
2020-12-05 16:18:37 -05:00
Paul Beckingham
6ad1b7d0da Revert "[clang-tidy] match loop size with size()"
This reverts commit 68c446ea08.
2020-12-05 16:18:37 -05:00
Paul Beckingham
c02e369fbc Revert "[clang-tidy] Cast integer to string"
This reverts commit da75c159ca.
2020-12-05 16:18:37 -05:00
Rosen Penev
da75c159ca [clang-tidy] Cast integer to string
Found with bugprone-string-integer-assignment

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-05 15:03:43 -05:00
Rosen Penev
68c446ea08 [clang-tidy] match loop size with size()
Found with bugprone-too-small-loop-variable

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-05 15:03:43 -05:00
Rosen Penev
a02754159c [clang-tidy] using dynamic_cast for derived classes
Found with cppcoreguidelines-pro-type-cstyle-cast

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-05 15:03:43 -05:00
Rosen Penev
51870dff34 [clang-tidy] Simplify boolean expressions
Found with readability-simplify-boolean-expr

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-05 15:03:43 -05:00
Rosen Penev
13e1bf7204 [clang-tidy] Replace C style casts with C++ ones
Found with google-readability-casting

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-05 15:03:43 -05:00
Rosen Penev
55d103c491 [clang-tidy] Remove redundant const
Found with readability-const-return-type

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-05 15:03:43 -05:00
Rosen Penev
7f86b29aa9 [clang-tidy] Reserve memory for vector loop
Found with performance-inefficient-vector-operation

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-05 15:03:43 -05:00
Rosen Penev
ab170e34df [clang-tidy] Use const reference instead of initializing string
Found with performance-unnecessary-copy-initialization

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-05 15:03:43 -05:00
Rosen Penev
e3ceda9ce1 [clang-tidy] Use '' for single characters
Found with performance-faster-string-find

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-05 15:03:43 -05:00
Rosen Penev
426e067f43 [cl;ang-tidy] Don't initialize strings
Found with readability-redundant-string-init

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-05 15:03:43 -05:00
Rosen Penev
cc6826fc3a [clang-tidy] Remove redundant init
Found with modernize-use-default-member-init

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-05 15:03:43 -05:00
Rosen Penev
54e40008c9 [clang-tidy] Convert 0/1 to false/true
Found with modernize-use-bool-literals

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-05 15:03:43 -05:00
Rosen Penev
0344856d65 [clang-tidy] Switch C headers to C++ ones
Found using modernize-return-braced-init-list

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-05 15:03:43 -05:00
Rosen Penev
e46039efb1 [clang-tidy] Pass by value with std::move
Found with modernize-pass-by-value

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-05 15:03:43 -05:00
Rosen Penev
6cd15235be [clang-tidy] Access static member through qualified-id
Found readability-static-accessed-through-instance

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-05 15:03:43 -05:00
Rosen Penev
37b641259c [clang-tidy] Add const references where useful
Found with performance-for-range-copy

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-05 15:03:43 -05:00
Rosen Penev
defd49b13d [clang-tidy] Add const where it makes sense
Found with readability-redundant-string-init

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-05 15:03:43 -05:00
Rosen Penev
bf40ea8816 [clang-tidy] Use default to initialize constructors
Found with modernize-use-equals-default

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-05 15:03:43 -05:00
Rosen Penev
897759e4dc [clang-tidy] Replace push_back with emplace_back
Found with modernize-use-emplace

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-05 15:03:43 -05:00
Rosen Penev
a468537c1b [clang-tidy] Use new range based loops
Found with modernize-loop-convert

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-05 15:03:43 -05:00
Rosen Penev
6ce2a129dd [clang-tidy] Use auto where the type is known
Found with modernize-use-auto

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-05 15:03:43 -05:00
Rosen Penev
a331cceded [clang-tidy] Use .empty instead of comparing size
Found with readability-container-size-empty

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-05 15:03:43 -05:00
Tomas Babej
d43fa66489 CmdPurge: Detect the failure mode of trying to purge non-deleted tasks
Prompted by the failure mode described by Glen Solsberry in #2254.
2020-12-05 14:31:27 -05:00
Julien Rabinow
e37d932208 bump libshared submodule version 2020-12-05 14:30:58 -05:00
Tomas Babej
ab12e3fafd CMake: Add custom review target
Use with Github PR ids as follows:
make PR=2358 review
2020-12-04 00:20:30 -05:00
Tomas Babej
522ef20a85 scripts: Add a dockerfile to build review images
This automates the review process of a given PR by checking out the
current HEAD of the given PR and installing TW in a container.
2020-12-04 00:20:29 -05:00
Max Rossmannek
3d850715f4 Make virtual tags consistent across commands.
- the DUETODAY tag was deprecated in b2d49f397
- the QUARTER tag was added in 630a1530e and 4711dd9e1
- the PROJECT, PRIORITY and LATEST tags were added in 4008a64

Note: the documentation in the man page is already up-to-date.

Fixes #2359
2020-12-03 01:45:07 -05:00
Max Rossmannek
4663ca840f Mark failing tests as expected failures
Related issues:
- TW-1630 (#1654) needs to be re-opened!
- TW-1915 (#1928)
2020-11-30 01:01:26 -05:00
Max Rossmannek
d85901e7ff Properly escape filters including spaces
This adds a note to the man page to properly escape filters containing
spaces. It also fixes the unittests to reflect this.

One of the unittests contained an alternative syntax as discussed in
TW-1479 (#1505). It has been extracted into its own unittest and marked
as an expected failure because it is currently not supported.
2020-11-30 01:01:26 -05:00
Max Rossmannek
09e2cb46d6 Simplify task construction 2020-11-30 01:01:26 -05:00
Max Rossmannek
44bcd58051 Fix Undo command
The Undo command broke in 48dff11 when the `onModify` hook got added to
its execution in order to fix #2213. The reason for it begin broke is
that a Task object is created in an unsafe manner because the `prior`
task may be empty.
Catching this case fixes the bug.
2020-11-30 01:01:26 -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
Max Rossmannek
50cfd92ad5 Fix Arch docker image 2020-11-30 00:51:54 -05:00
Max Rossmannek
596d681be7 Fix faketime packages 2020-11-30 00:51:54 -05:00
Max Rossmannek
07a27cbd3b 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-11-30 00:51:54 -05:00
Max Rossmannek
61a78d0a6f 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-11-30 00:51:54 -05:00
Max Rossmannek
8b91cd97a8 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-11-30 00:51:54 -05:00
Max Rossmannek
f35989be0e 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-11-30 00:51:54 -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 Janousek
2c4d4ad649 Test: Add UUID test demonstrating a "Cannot subtract strings" bug
$ task 0000000d-000a-0000-0000-000000000000 export
Cannot subtract strings
$ task 0000000d-0000-0000-0000-000000000000 export
The expression could not be evaluated.
2020-11-24 02:42:32 -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
a09f9d48ab Update copyright to 2020 2020-11-21 12:27:05 -05:00
Tomas Babej
d81b999fa9 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:27:05 -05:00
Tomas Babej
02db131fa1 tests: Use updated unittest method 2020-11-21 12:27:05 -05:00
Tomas Babej
407d66d681 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:27:05 -05:00
HTunne
75c0e41fcc Make modify and delete commands respect rc.recurrence.confirmation config option. 2020-11-21 12:26:41 -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
Tomas Babej
c47c7536f5 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:27:36 -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
Michał Mirosław
7b2e68d176 Fix parsing of "PnM" recurrence periods
Due to not accounting for the leading "P", getNextRecurrence would always return the same datetime, breaking all generic "PnM" periods and leading to an infinite loop in generateDueDates.
2020-11-17 10:52:47 -05:00
Tin Lai
e0f24c0b19 speed up fish autocompletion and more features in completion options 2020-11-17 10:51:40 -05:00
Tom Dörr
07856c2d33 Update LICENSE
By changing the first line to `The MIT License`, users can see the license on the Github Taskwarrior main page.
2020-11-17 10:49:58 -05:00
Martin Michlmayr
174507e7ad Fix typos 2020-11-17 10:41:13 -05:00
javabird25
81183ae7d1 Fix SIGSEGV when substituting sequence with shorter one 2020-11-17 10:40:38 -05:00
Yoichi Hirai
ab443a8ecf Fix one test about backslash
The test was failing because it expected "Created task 1"
but it saw "Created task 0a436fd8-7f06-4168-a66d-bbc940498af9".

Instead, the new code looks at the description of task 1.
2020-11-17 10:39:37 -05:00
Tomas Babej
6727d08da0 Context: Do not set new-uuid by default
This reverts part of f6b2a6541c, which
(likely accidentally) re-introduced the new-uuid verbosity setting as a
default.
2020-09-18 21:33:54 -04:00
Tomas Babej
b1c95ec1d2 docs: Document changes to new-uuid behaviour
The behaviour of new-uuid was altered in
4e80d5d5fd but not documented.
2020-09-18 21:26:37 -04:00
Tomas Babej
6bfb275dcc 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 21:10:59 -04: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
Matthew Martin
4b67f10cb1 Install zsh completer to site-functions 2020-03-12 10:43:34 -04:00
Jochen Sprickerhof
48dff115c2 hook onModify into task undo (Closes: #2213) 2020-03-12 10:42:52 -04: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
Marc Cornellà
dcdf7127e0 Correctly parse projects with spaces in zsh completion
This is the same as how the `_task_zshids` array is created.
See https://github.com/robbyrussell/oh-my-zsh/issues/8249
2020-03-12 10:39:24 -04:00
timbuntu
938e9130d6 Fixed report colors in calendar 2020-03-12 10:38:03 -04:00
Vladimir Rusinov
abddb1ea8e Fix add.t Test1549 test failure.
The test was failing on my machine on fresh checkout. It failed because
somehow both new-id and new-uuid verbosity were set during the test, so
TW defaulted to printing out uuid, which did not match the assertion.

Test fixed by explicitly setting verbosity to new-id.
2020-03-12 10:37:14 -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
Anthony VB
cad8bec8b6 Fix a typo. 2019-07-20 14:24:16 -04:00
Anthony VB
352161d3a8 Proofreading to give default values.
Per the beginning of the man page, the summary line should give the default value. This isn't the case in a few places, so I changed them. (No guarantees I found them all.)
2019-07-20 14:24:16 -04:00
Paul Beckingham
3bdc28fdb3 Added Anthony VB to AUTHORS 2019-07-20 14:21:18 -04:00
Anthony VB
0ec12860c1 Reorganise calendar section. 2019-07-20 14:18:54 -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
4bbde50d9f Docs: Added Florian 2019-04-28 14:57:48 -04:00
Florian Heiderich
3ec8ace7d1 fix typo ("tests" -> "test") 2019-04-28 14:40:42 -04:00
Chad Phillips
8ebf79e1df fix stale reference to empty priority color config
color.pri.none is now color.uda.priority.none
2019-04-28 14:19:54 -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
d01000e255 Updated AUTHOR and Changelog 2019-04-14 19:40:55 -04:00
Paul Beckingham
66f013ac13 - Thanks to Chad Phillips 2019-04-14 19:38:01 -04:00
Chad Phillips
cd62e65a13 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:34:57 -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
Lionel Miller
e961181b64 Workaround for alias grep=rg in fish 2019-03-03 08:55:28 -05:00
Janik Rabe
cb7f603b89 Fix rc.verbose default value in taskrc(5) 2019-03-02 19:52:49 -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
mrossinek
5aaee7678f Add unit test 2019-03-02 19:44:18 -05:00
mrossinek
6fbd400e77 Fix #1999 2019-03-02 19:44:18 -05:00
mrossinek
16d967ad01 Add missing newline 2019-03-02 19:43:13 -05:00
mrossinek
254e737e00 Fix #2002 2019-03-02 19:43:13 -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
Janik Rabe
f6b2a6541c Fix rc.verbose documentation in taskrc(5) 2019-02-14 08:02:58 -05:00
Paul Beckingham
e97146a463 Added taiyu-len 2019-02-07 08:42:44 -05:00
taiyu
7c7400b367 Update man pages to reflect changes 2019-02-07 08:41:25 -05:00
taiyu
5150eb4b0f update tests for changes 2019-02-07 08:41:25 -05:00
taiyu
fd441bdd62 increase cli priority, respect override verbosity. 2019-02-07 08:41:25 -05:00
taiyu
d2b1662a39 Simplify CLI2::get* methods. allow rc=... 2019-02-07 08:41:25 -05:00
taiyu
8514071f19 applyOverrides: add messages after overrides 2019-02-07 08:41:25 -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
306c628c34 Updated Changelog 2019-02-07 08:36:07 -05:00
Janik Rabe
a8acff9f7f CmdHistory: repeat unit if a larger unit changes
In history and ghistory commands, repeat the smaller units when a larger unit
changes.  For example, if January 2019 is displayed immediately after January
2018, re-show the "January" label instead of only showing the year change.
2019-02-07 08:33:09 -05:00
Paul Beckingham
16d55ed102 Added Beka and mrossinek 2019-02-07 08:31:14 -05:00
Paul Beckingham
b6da775958 Update summary.t 2019-02-07 08:20:14 -05:00
Paul Beckingham
2e72ae5068 Update project.t 2019-02-07 08:20:14 -05:00
Paul Beckingham
8df69597f6 Update sort.cpp 2019-02-07 08:20:14 -05:00
Paul Beckingham
32d14bc085 Update sort.cpp 2019-02-07 08:20:14 -05:00
Paul Beckingham
803f4a5017 Update CmdProjects.cpp 2019-02-07 08:20:14 -05:00
mrossinek
6a8beed7f5 Extract project sorting function 2019-02-07 08:20:14 -05:00
mrossinek
7cb341ee05 Extend bug fix of #1917 to summary command 2019-02-07 08:20:14 -05:00
mrossinek
f5cd9cde05 Properly sort projects into an ordered list in project command 2019-02-07 08:20:14 -05:00
mrossinek
9c89870c71 Add unit-tests to verify fix for 1904 2019-02-07 08:20:14 -05:00
mrossinek
28974cd794 Extend bug fix of #1917 to summary command 2019-02-07 08:20:14 -05:00
mrossinek
54a57e9954 Fix bug #1917 (previously known as TW-1904) 2019-02-07 08:20:14 -05:00
Laurence
f580cc5f6f Update description of command uuids 2019-02-04 12:30:23 +01:00
mrossinek
76e355c602 Add documentation on context usage 2019-02-04 12:27:30 +01:00
Tomas Babej
5ae4ed1076 README: Make the travis badge point to correct repository 2019-01-02 19:45:43 -05:00
Tomas Babej
f95d1d0472 tests: Add CentOS7 CI testing support 2019-01-02 13:24:11 -05:00
Tomas Babej
fa84dce496 Merge pull request #2097 from mrossinek/test_fixes
Fix variant_subtract test case after #2095
2019-01-02 13:10:18 -05:00
mrossinek
517ea11c4c Mark project.t 1455 as expected failure 2019-01-02 17:32:03 +01:00
mrossinek
447830dc68 Fix wait.t to correct expected output 2019-01-02 16:36:45 +01:00
mrossinek
fc3b336f1a Fix variant_subtract test case after PR #2095 2019-01-02 16:32:16 +01:00
Paul Beckingham
6fcbe2efbd Merge pull request #2080 from corbolais/2.6.0
add (shortened) ID column to timesheet output
2019-01-02 08:03:50 -05:00
Paul Beckingham
24943a441d Merge pull request #2076 from djmitche/task-decode-comment
Docs: make comment on Task::decode match reality
2019-01-02 08:02:58 -05:00
Paul Beckingham
660b7c09af Merge pull request #2095 from tbabej/test_fixes
TW-1511: Interpret string subtraction as concanetation with a dash
2019-01-02 08:02:12 -05:00
Paul Beckingham
01696a307b Merge pull request #2094 from tbabej/2.6.0
Multi-OS Travis-based CI service
2019-01-02 08:00:41 -05:00
Tomas Babej
bf2cd0f5e4 TW-1511: Interpret string subtraction as concanetation with a dash
Fixes #1537 (previously known as TW-1511).
2019-01-01 21:56:06 -05:00
Tomas Babej
9fa94516ad tests: Make sure expected message is printed out
Information about newly logged task is only printed if new-uuid
verbosity flag is configured.
2019-01-01 21:31:00 -05:00
Tomas Babej
55ee8c9233 tests: Install libfaketime in all containers 2019-01-01 20:19:52 -05:00
Tomas Babej
9b690fca57 tests: Improve bytes python3 compatibility 2019-01-01 20:11:13 -05:00
Tomas Babej
7aac91f29f tests: due:yesterday does not match current year on 1st of January 2019-01-01 20:02:20 -05:00
Tomas Babej
0e052b6415 tests: We are enforcing C++14 compliance
From the 2.6.0 version onwards we are enforcing C++14 compliance. Test
accordingly.
2019-01-01 19:46:32 -05:00
Tomas Babej
ef3c1bc090 tests: mkstemp_exec needs argument in bytes 2019-01-01 19:44:39 -05:00
Tomas Babej
cd52782d2f tests: Fix incorrect assert method 2019-01-01 19:44:39 -05:00
Tomas Babej
07c21e79ad 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-01-01 19:44:39 -05:00
Tomas Babej
7c37940549 tests: Encode input data for the subprocess
Needed for Python2/3 compatibility.
2019-01-01 19:09:54 -05:00
Tomas Babej
f55468d5aa tests: Use verbose output when running the tests 2019-01-01 15:44:19 -05:00
Tomas Babej
2f247c712c 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-01-01 14:59:44 -05:00
Tomas Babej
675b8e2798 tests: Do not explicitly require Python 2.7 2019-01-01 14:53:44 -05:00
Tomas Babej
8ae7e1677b tests: Add Archlinux 2018 platform 2019-01-01 14:25:57 -05:00
Tomas Babej
86c7c84fec tests: Add OpenSUSE platform 2019-01-01 14:10:23 -05:00
Tomas Babej
dcbefe51bb tests: Add Debian Testing as a platform 2019-01-01 13:51:47 -05:00
Tomas Babej
a50f442c10 tests: Add gentoo platform 2019-01-01 13:25:07 -05:00
Tomas Babej
84b481b374 travis: Be explicit about Mac OS X version 2019-01-01 12:19:05 -05:00
Tomas Babej
6af6894d14 travis: Use docker run instead of docker up 2019-01-01 12:12:11 -05:00
Tomas Babej
eed5a30ecc tests: Add support for Fedora 29 2019-01-01 12:01:24 -05:00
Tomas Babej
4dbad4c1e2 tests: Add testing support for Ubuntu 18.04 2019-01-01 12:00:19 -05:00
Tomas Babej
8c8ffa1173 travis: Use travis_terminate instead of exit 2019-01-01 11:53:21 -05:00
Tomas Babej
1d7d86e709 travis: Make sure error codes propagate outside of the if clause 2019-01-01 11:19:36 -05:00
Tomas Babej
043bcbfb2f tests: Properly set the xtrace flag 2019-01-01 11:12:02 -05:00
Tomas Babej
311334f4eb travis: Execute tests instead of rebuilding the container again in the script phase 2019-01-01 11:07:02 -05:00
Tomas Babej
90170a5820 tests: Add OS X test sript 2019-01-01 11:04:24 -05:00
Tomas Babej
9222e80439 travis: Set generic language to avoid Ruby default 2019-01-01 10:55:46 -05:00
Tomas Babej
27443493e0 travis: Remove syntax errors 2019-01-01 10:54:02 -05:00
Tomas Babej
754583a552 travis: Remove language 2019-01-01 10:49:56 -05:00
Tomas Babej
bc6a0156df travis: Fix bash syntax error 2019-01-01 10:49:05 -05:00
Tomas Babej
7270167aca travis: Specify test matrix explicitly and add OS X 2019-01-01 10:38:16 -05:00
Tomas Babej
ca124fc030 README: Move badges below the heading 2019-01-01 10:23:19 -05:00
Tomas Babej
ebd320b063 README: Add travis badge 2019-01-01 10:22:34 -05:00
Tomas Babej
6d0f17620f tests: Add intial version of the Travis CI file 2019-01-01 10:19:45 -05:00
Tomas Babej
c11f0da7df tests: Rename docker-compose service to keep naming consistent 2019-01-01 10:19:32 -05:00
Tomas Babej
156f9c5270 tests: Add docker-compose file 2019-01-01 10:13:31 -05:00
Tomas Babej
a7baa9fef2 tests: Add test container for Debian Stable 2019-01-01 09:34:09 -05:00
Tomas Babej
ac8c6d52fc 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-01-01 09:33:29 -05:00
Tomas Babej
9a8890f479 test: Workaround the cyclic dependencies between the libraries 2019-01-01 08:59:46 -05:00
Tomas Babej
3e41a4b01f 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-01-01 08:48:36 -05:00
Tomas Babej
8066e4e6e2 meta: Update copyright year 2019-01-01 08:46:21 -05:00
Tomas Babej
b5d7845c6d libshared: Update submodule 2019-01-01 08:45:37 -05:00
Me
0b04f74a9a add (shortened) ID column to timesheet output
Signed-off-by: Me <corbolais@gmail.com>
2018-12-08 03:34:28 +01:00
Paul Beckingham
493bbadb18 Create index.html 2018-11-21 12:14:15 -05:00
Dustin J. Mitchell
f1599d8029 Docs: make comment on Task::decode match reality 2018-11-10 19:42: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
Paul Beckingham
bd221a5adc TW #2004: "shell" should not be expand to "exec tasksh"
- Thanks to Arvedui
2018-08-12 10:28:40 -04:00
Paul Beckingham
1c4647708a TW #2047: Exiting the task editor with an error code doesn't remove the lock file
- Thanks to coaxial
2018-08-12 09:57:32 -04:00
Paul Beckingham
96f9c3ef45 TW #2053: Do not set CMP0037 on CMake 3.11.0 and above
- Thanks to Janik Rabe
2018-08-12 09:49:39 -04:00
Paul Beckingham
252a3cea8a Merge pull request #2053 from janikrabe/cmake-cmp0037-fix
Do not set CMP0037 on CMake 3.11.0 and above
2018-08-12 09:48:50 -04:00
Paul Beckingham
9c89a229fa TW #2007: Compute number of current tasks correctly
- Thanks to Janik Rabe
2018-08-12 09:46:51 -04:00
Paul Beckingham
e0adb4536c Merge pull request #2052 from janikrabe/burndown-current
TW #2007: Compute number of current tasks correctly
2018-08-12 09:45:34 -04:00
Paul Beckingham
5d0a577deb TW #2051: doc/man: ready tasks sorted with started tasks 1st
- Thanks to Simon Désaulniers
2018-08-12 09:43:36 -04:00
Paul Beckingham
d571483410 Merge pull request #2051 from sim590/man-ready-sort-method
doc/man: ready tasks sorted with started tasks 1st
2018-08-12 09:40:03 -04:00
Janik Rabe
32b3afc8d0 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.
2018-08-11 15:38:28 +03:00
Janik Rabe
e2573d4516 TW #2007: Compute number of current tasks correctly
Closes #2007
2018-08-08 16:47:33 +03:00
Simon Désaulniers
0c89f98967 doc/man: ready tasks sorted with started tasks 1st 2018-07-27 17:37:54 -04:00
Paul Beckingham
8e20c48df4 Merge pull request #2041 from aleprovencio/2.6.0
Updates vim's ftdetect
2018-07-07 09:06:54 -04:00
Alexandre Provencio
07e612a8c2 Updates vim's ftdetect
As described on issue #2032.
2018-06-17 20:14:59 -03:00
Vladimir Shulyak
08d985f40c Display task ID when unwaiting task 2018-06-03 14:16:35 -04:00
Paul Beckingham
4a42364775 Merge pull request #2033 from kraetzin/2.6.0
Display task ID when unwaiting task
2018-06-03 14:15:47 -04:00
Vladimir Shulyak
ca55624286 Display task ID when unwaiting task 2018-05-27 23:17:30 +01: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
543251da21 Merge pull request #2031 from laurence6/2.6.0
Update copyright
2018-05-24 09:26:21 -04:00
Laurence
78bbcd25c6 Update copyright 2018-05-24 00:11:33 -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
Paul Beckingham
829caa4b85 TW #2020: reserved.lines is not affecting the burndown height
- Thanks to ad₋si.
2018-05-13 13:54:04 -04:00
Paul Beckingham
a3dcabb2b3 Docs: Removed incorrect URL 2018-05-13 10:41:27 -04:00
Paul Beckingham
b2cfe11d17 Merge pull request #2009 from rudis/2.6.0
Docs: mention "urgency" as possible attribute for filters
2018-04-24 13:24:43 -04:00
Simon Ruderich
bdfa55040d Docs: mention "urgency" as possible attribute for filters 2018-04-09 10:19:46 +02:00
Paul Beckingham
66b2e3468c TW #1922: Can't find export scripts
- Thanks to tom-doerr
2018-03-18 11:29:27 -04:00
Paul Beckingham
11e467fe5a TW #1986: [Nit] Update DEVELOPER.md after migration to Github
- Thanks to Kirill Bobyrev
2018-03-18 11:19:56 -04:00
Paul Beckingham
b2f5cd0b89 Code cleanup: used auto 2018-03-18 11:10:13 -04:00
Paul Beckingham
d312775f99 TW #1973: Don't nag when no tasks are READY
- Thanks to Martin F. Krafft
2018-03-18 11:09:34 -04:00
Paul Beckingham
f37e98765b Merge pull request #1980 from omtcvxyz/C++14
Update notes regarding C++14 support
2018-03-18 10:44:24 -04:00
Paul Beckingham
06066f025e libshared: Upgraded to 999c824cf1139d208e884042eddef87a1d76fb7e 2018-03-13 20:28:54 -04:00
Paul Beckingham
f811ff96c2 Updated AUTHORS 2018-03-07 19:42:39 -05:00
Paul Beckingham
eb72f0c084 Merge pull request #1978 from omtcvxyz/use-nullptr
Use nullptr instead lf C-styled NULL
2018-03-07 19:39:07 -05:00
Kirill Bobyrev
ae2f5f7567 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-03-08 02:47:31 +03:00
Kirill Bobyrev
5cdbe6d019 Use nullptr instead lf C-styled NULL 2018-03-07 22:21:28 +03:00
Paul Beckingham
24634f2d15 Merge pull request #1976 from rudis/2.6.0
More doc fixes
2018-03-06 21:25:52 -05:00
Simon Ruderich
c4f217d5c4 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-03-06 21:59:12 +01:00
Simon Ruderich
bc0bf873de Docs: fix incorrect value in task-color.5 2018-03-06 21:58:29 +01:00
Simon Ruderich
b92ab68ef6 Context: remove duplicate default value for rule.precedence.color 2018-03-06 21:54:08 +01:00
Simon Ruderich
1435ec0cfe Docs: fix outdated link in task-sync.5 2018-03-04 23:06:19 +01:00
Paul Beckingham
46c2c87eb4 Docs: Updated AUTHORS 2018-03-04 13:26:43 -05:00
Paul Beckingham
a8446f7f85 Merge pull request #1975 from rudis/misc-doc
Misc doc improvements
2018-03-04 13:24:28 -05:00
Paul Beckingham
523318098b Update task-sync.5.in
Downgraded 'Always secure' to 'Secure communication', for accuracy.
2018-03-04 13:21:44 -05:00
Paul Beckingham
dba78e0b7b Merge pull request #1974 from rudis/2.6.0
Docs: improve verbose description in taskrc.5.in
2018-03-04 13:18:44 -05:00
Simon Ruderich
dd708e0595 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-03-04 14:54:52 +01:00
Simon Ruderich
8aa02f1d0c 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-03-04 14:54:21 +01:00
Simon Ruderich
b204e90b3f 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-03-04 14:53:07 +01:00
Simon Ruderich
4af0a02262 Docs: sync "SEE ALSO" sections of task-color.5 and task-sync.5 2018-03-04 14:53:07 +01:00
Simon Ruderich
0addd89393 Docs: always use https:// link for taskwarrior.org 2018-03-04 14:53:07 +01:00
Simon Ruderich
e817dfc800 Always use https:// link for opensource.org
It was already used in a few places, make this consistent.
2018-03-04 14:53:07 +01:00
Simon Ruderich
e4a6c389ad Docs: always use <> tags for placeholders in man pages 2018-03-04 14:53:07 +01:00
Simon Ruderich
6e0aeaa005 Docs: use unabbreviated "task colors" command in taskrc.5 2018-03-04 14:53:07 +01:00
Simon Ruderich
66d3d46443 Docs: quote values for calendar.details in taskrc.5 2018-03-04 14:53:07 +01:00
Simon Ruderich
c94c1391f4 Docs: try to clarify what falls under header/footnote verbose settings 2018-03-04 11:21:32 +01:00
Simon Ruderich
10f2b2c575 Docs: "recur" also implies "footnote" 2018-03-04 11:02:18 +01:00
Simon Ruderich
9494cbd256 Docs: fix typos in taskrc man page 2018-03-04 10:56:09 +01:00
Paul Beckingham
20a2bbd94f Docs: Added Tiago 2018-02-22 20:34:39 -05:00
Paul Beckingham
ba40399721 Merge pull request #1969 from tmatias/typo
fix small typo in taskrc's man page
2018-02-22 20:33:14 -05:00
Tiago Matias
68fcb1baf8 typo -> very simply syntax -> very simple syntax 2018-02-22 22:16:22 -03:00
Federico Hernandez
4ffdfe817f Changed to a more generic URL for testing 2018-02-18 00:30:13 +01:00
Federico Hernandez
3f216884e7 Updated URL references 2018-02-18 00:29:38 +01:00
Federico Hernandez
45a455c0b3 Updated URLs and copyright year 2018-02-18 00:02:20 +01:00
Federico Hernandez
125a47e3c8 Udated URL in .gitmodules to point to GH 2018-02-17 23:00:46 +01:00
Paul Beckingham
3bb988c57c Docs: Updated Changelog with pull request info 2018-02-17 10:29:48 -05:00
Paul Beckingham
dc5514254a Merge pull request #1966 from jwilk-forks/errno
Tests: Don't hardcode errno constants
2018-02-17 10:00:47 -05:00
Jakub Wilk
e36145b4fa 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-02-17 13:59:29 +01:00
Paul Beckingham
a9017ccf19 TW-54/#115: Reduce output for timesheet
- Thanks to Aikido guy.
2018-02-16 22:41:46 -05:00
Paul Beckingham
1335d8fb1e TW-1917/#1930: "above" does a string comparison, even when the value is numeric
- Thanks to Dirk Deimeke.
2018-02-16 22:14:26 -05:00
Paul Beckingham
4a929197ae Build: C++14 support added 2018-02-16 22:04:29 -05:00
Paul Beckingham
8699b60690 - Thanks to php-coder 2018-02-16 21:50:14 -05:00
Paul Beckingham
61c04382ff TW-1906/#1919: sync sub-command is missing from task(1) manual page
- Thanks to rjc.
2018-02-16 21:33:28 -05:00
Dirk Deimeke
e6f6d88390 README.md
- Added instructions for failing clone of libshared.git
2018-02-13 19:26:28 +01:00
Paul Beckingham
eca40844ad Docs: Updated URLs 2018-02-08 22:08:59 -05:00
Paul Beckingham
75367e5928 Docs: Fixed md 2018-02-07 20:54:41 -05:00
Paul Beckingham
57e26494fd Docs: Fixed md 2018-02-07 20:51:35 -05:00
Paul Beckingham
43bc0a389a Docs: Updated README.md
- Thanks to Thomas Lauf
2018-02-07 20:49:48 -05:00
Paul Beckingham
72d48ccd8d Templates: Combined two sentences for readability 2018-02-07 20:49:22 -05:00
Federico Hernandez
935a410429 Reformatting 2018-02-07 15:06:15 +01:00
Federico Hernandez
d343da448c Made the question a checkbox
To be checked off by the submitter.
2018-02-07 15:02:43 +01:00
Dirk Deimeke
b0b95f6442 Added Link to "How to request a feature" 2018-02-07 14:57:47 +01:00
Paul Beckingham
77dc8c86a8 Github: typo 2018-02-07 08:50:41 -05:00
Paul Beckingham
20098f81af Github: Added pull request template 2018-02-07 08:49:57 -05:00
Paul Beckingham
27c324fc2c Issues: /Updated template for feature requests 2018-02-07 08:44:19 -05:00
Paul Beckingham
765db3093a Docs: Updated URLs 2018-02-07 08:40:38 -05:00
Paul Beckingham
05e0091212 Issues: Create issue-template.md 2018-02-07 08:32:58 -05:00
Federico Hernandez
4b148b9670 Merge pull request #2 from Lynoure/patch-2
Update to markdown and rename DEVELOPER to DEVELOPER.md
2018-02-06 21:23:14 +01:00
Lynoure Braakman
8aeb038338 Update and rename DEVELOPER to DEVELOPER.md
Rough markdownification, no content changes
2018-02-06 19:13:01 +01:00
Paul Beckingham
72149fe492 Merge pull request #1 from buhtz/patch-1
URL formatting
2018-02-04 23:17:03 +01:00
buhtz
9528e9b853 URL formating 2018-02-04 23:06:58 +01:00
Paul Beckingham
2dae6c0ab4 Docs: Updated man page discussing rc.recurrence 2018-02-04 09:45:02 +01:00
Paul Beckingham
51ae097388 Eval: Eliminated string def 2018-02-03 14:06:53 +01:00
Mark Scannell
7af6db4c17 Portability: Updated to make main re-entrant()
- New INSTALL instructions to emscripten, and AUTHORS for contribution.
2018-01-31 19:45:07 -05:00
Paul Beckingham
cae3f06b7d Lexer: Migrated to unicodeLatinDigit 2018-01-25 01:08:26 -05:00
Paul Beckingham
adc965e762 Lexer: Migrated to unicodeLatinAlpha 2018-01-25 00:59:05 -05:00
Paul Beckingham
e199bc98b3 Lexer: Migrated to unicodeHexDigit 2018-01-25 00:53:47 -05:00
Paul Beckingham
cac258ef72 Lexer: Migrated to unicodeWhitespace 2018-01-25 00:47:23 -05:00
Paul Beckingham
751ae17b22 TW-1947: "urgency.over" filter seems to not work correct
- Thanks to Marc Richter.
2018-01-24 23:57:44 -05:00
Paul Beckingham
c242730b6d Lexer: Fixed DOM missing lookahead 2018-01-24 23:50:42 -05:00
Paul Beckingham
0ec2fb03c2 Tests: Fixed broken color merge tests 2018-01-24 21:53:26 -05:00
Paul Beckingham
f7d47b8ee6 Tests: Fixed brokend color.footnote test 2018-01-24 21:51:48 -05:00
Paul Beckingham
6374246d02 I18N: Removed language build settings 2018-01-21 23:36:00 -05:00
Paul Beckingham
016bb94d3f l10n: Eliminated i18n.h 2018-01-21 23:29:59 -05:00
Paul Beckingham
0a5f062ba8 l10n: Eliminated some column labels 2018-01-21 23:26:38 -05:00
Paul Beckingham
aa4b342fbe l10n: Eliminated some column labels 2018-01-21 23:25:11 -05:00
Paul Beckingham
ebf6a80dcb l10n: Eliminated some column labels 2018-01-21 23:22:41 -05:00
Paul Beckingham
bf576a869e l10n: Eliminated some column labels 2018-01-21 23:21:43 -05:00
Paul Beckingham
98b433bee3 l10n: Eliminated some column labels 2018-01-21 23:19:11 -05:00
Paul Beckingham
a1431f0d98 l10n: Eliminated some column labels 2018-01-21 23:07:04 -05:00
Paul Beckingham
20ed6c0169 l10n: Eliminated some column labels 2018-01-21 22:50:49 -05:00
Paul Beckingham
af8531630d DOM: No more I18N 2018-01-21 22:49:42 -05:00
Paul Beckingham
2201d304ee l10n: Eliminated some column labels 2018-01-21 22:49:27 -05:00
Paul Beckingham
ed657f3ecf l10n: Eliminated some column labels 2018-01-21 22:46:48 -05:00
Paul Beckingham
023afe352a l10n: Eliminated some column labels 2018-01-21 22:44:45 -05:00
Paul Beckingham
f731960f98 l10n: Eliminated some column labels 2018-01-21 22:43:24 -05:00
Paul Beckingham
caea41c6a0 l10n: Eliminated some column labels 2018-01-21 22:38:14 -05:00
Paul Beckingham
865e277b76 l10n: Eliminated some column labels 2018-01-21 22:32:17 -05:00
Paul Beckingham
611d09cb16 l10n: Eliminated some column labels 2018-01-21 22:18:18 -05:00
Paul Beckingham
957b769412 l10n: Eliminated some column labels 2018-01-21 22:15:26 -05:00
Paul Beckingham
cf148c065d l10n: Eliminated some column labels 2018-01-21 22:14:14 -05:00
Paul Beckingham
bf770fda91 l10n: Eliminated some column labels 2018-01-21 22:12:59 -05:00
Paul Beckingham
5335512c38 l10n: Eliminated some column labels 2018-01-21 22:11:25 -05:00
Paul Beckingham
a6c4c2fb2a l10n: Eliminated some column labels 2018-01-21 22:09:51 -05:00
Paul Beckingham
6c1a411d7e l10n: Eliminated some column labels 2018-01-21 22:07:57 -05:00
Paul Beckingham
a506555606 l10n: Eliminated some column labels 2018-01-21 22:06:20 -05:00
Paul Beckingham
317f184ce7 l10n: Eliminated some column labels 2018-01-21 22:02:38 -05:00
Paul Beckingham
87ec85c1fe l10n: Eliminated some column labels 2018-01-21 19:43:05 -05:00
Paul Beckingham
7022c434fd l10n: Eliminated some column labels 2018-01-21 19:35:23 -05:00
Paul Beckingham
dbaac47f25 l10n: Eliminated STRING_COLUMN_LABEL_ADDED, STRING_COLUMN_LABEL_AGE 2018-01-21 19:25:10 -05:00
Paul Beckingham
6c0b47db33 l10n: Eliminated STRING_COLUMN_LABEL_ACTIVE, STRING_COLUMN_LABEL_STARTED 2018-01-21 19:21:48 -05:00
Paul Beckingham
75c9dcc6aa l10n: Eliminated STRING_COLUMN_EXAMPLES_* 2018-01-21 19:17:10 -05:00
Paul Beckingham
64f2436d87 l10n: Eliminated STRING_COLUMN_LABEL_DESC 2018-01-21 13:15:20 -05:00
Paul Beckingham
0cd5fbe625 l10n: Eliminated some STRING_COLUMN_EXAMPLES_* 2018-01-21 13:12:09 -05:00
Paul Beckingham
294f819648 l10n: Eliminated STRING_CMD_UNDO_* 2018-01-21 13:06:07 -05:00
Paul Beckingham
4a54d82cef l10n: Eliminated STRING_CMD_UDAS_* 2018-01-21 13:03:57 -05:00
Paul Beckingham
541e6a1de8 l10n: Eliminated STRING_CMD_COMTAGS_USAGE 2018-01-21 13:01:39 -05:00
Paul Beckingham
02b4d8e821 l10n: Eliminated STRING_CMD_*IDS_* 2018-01-21 12:59:43 -05:00
Paul Beckingham
1acdf1cafc l10n: Eliminated STRING_CMD_CUSTOM_* 2018-01-21 12:55:07 -05:00
Paul Beckingham
ba11e9608f l10n: Eliminated STRING_CMD_ZSHATTS_USAGE 2018-01-21 12:51:10 -05:00
Paul Beckingham
7bf8432ace l10n: Eliminated STRING_CMD_*COMMANDS_* 2018-01-21 12:46:18 -05:00
Paul Beckingham
e62b8702dc l10n: Eliminated STRING_CMD_EXEC_* 2018-01-21 12:42:28 -05:00
Paul Beckingham
bb6f78b7c3 l10n: Eliminated STRING_CMD_URGENCY_* 2018-01-21 12:38:47 -05:00
Paul Beckingham
511d6f79f9 l10n: Eliminated STRING_CMD_TAGS_* 2018-01-21 12:36:02 -05:00
Paul Beckingham
4f46332fa7 l10n: Eliminated STRING_CMD_CAL_* 2018-01-21 12:27:29 -05:00
Paul Beckingham
6360e32665 l10n: Eliminated STRING_CMD_ALIASES_* 2018-01-21 12:24:22 -05:00
Paul Beckingham
2d859aa048 l10n: Eliminated STRING_CMD_INFO_* 2018-01-21 12:21:42 -05:00
Paul Beckingham
c8c2be1652 l10n: Eliminated STRING_CMD_REPORTS_* 2018-01-21 12:14:45 -05:00
Paul Beckingham
f307cabc9e Code cleanup: Removed unnecessary include 2018-01-21 12:14:25 -05:00
Paul Beckingham
9188cb083c l10n: Eliminated STRING_CMD_IMPORT_* 2018-01-21 12:09:51 -05:00
Paul Beckingham
ac61e77675 Code cleanup: Removed unnecessary include 2018-01-21 12:09:00 -05:00
Paul Beckingham
f8ae0577b4 l10n: Eliminated STRING_CMD_ADD_* 2018-01-21 12:01:54 -05:00
Paul Beckingham
5f407ad121 Code cleanup: Removed unnecessary include 2018-01-21 12:01:20 -05:00
Paul Beckingham
83695efb84 L10N: Normalized files 2018-01-21 11:54:11 -05:00
Paul Beckingham
30ae2dd355 l10n: Eliminated STRING_CMD_UNIQUE_* 2018-01-21 11:48:16 -05:00
Paul Beckingham
ee59bde88b Code cleanup: Removed unnecessary include 2018-01-21 11:47:59 -05:00
Paul Beckingham
0998552dc0 l10n: Eliminated STRING_CMD_LOG_* 2018-01-21 11:43:57 -05:00
Paul Beckingham
a343b80134 L10N: Eliminated check_translations.sh 2018-01-21 11:36:51 -05:00
Paul Beckingham
4232932663 l10n: Eliminated STRING_CMD_{G,}HISTORY_* 2018-01-21 11:36:29 -05:00
Paul Beckingham
7646c15f45 l10n: Eliminated STRING_CMD_CALC_* 2018-01-21 11:23:44 -05:00
Paul Beckingham
208cc52aab Code cleanup: Removed unnecessary include 2018-01-21 11:23:02 -05:00
Paul Beckingham
98f7b36ccd l10n: Eliminated STRING_CMD_VERSION_* 2018-01-21 11:19:01 -05:00
Paul Beckingham
e128185f5f CmdVersion: Uses libshared osName 2018-01-21 11:18:43 -05:00
Paul Beckingham
c937f18ab8 l10n: Eliminated STRING_CMD_PREPEND_* 2018-01-21 11:13:13 -05:00
Paul Beckingham
fbcb2b6c65 l10n: Eliminated STRING_CMD_TIMESHEET_* 2018-01-21 11:09:05 -05:00
Paul Beckingham
f87b780fd7 l10n: Eliminated STRING_CMD_CONFIG_* 2018-01-21 11:06:36 -05:00
Paul Beckingham
be72058b31 l10n: Eliminated STRING_CMD_CONTEXT_* 2018-01-20 21:58:55 -05:00
Paul Beckingham
f6b14adb30 l10n: Eliminated STRING_CMD_COLOR_* 2018-01-20 21:49:35 -05:00
Paul Beckingham
8c7f3be1bd l10n: Eliminated STRING_FEEDBACK_NO_TASKS_SP 2018-01-20 21:40:46 -05:00
Paul Beckingham
11921878a4 l10n: Eliminated STRING_CMD_APPEND_* 2018-01-20 21:39:49 -05:00
Paul Beckingham
360b1d81d1 l10n: Eliminated STRING_CMD_PURGE_* 2018-01-20 21:29:51 -05:00
Paul Beckingham
e00f106012 l10n: Eliminated STRING_CMD_PROJECTS_* 2018-01-20 21:25:31 -05:00
Paul Beckingham
9ad638c98a l10n: Eliminated STRING_CMD_DENO_* 2018-01-20 21:16:21 -05:00
Paul Beckingham
11c11de46d l10n: Eliminated STRING_CMD_ANNO_* 2018-01-20 21:12:12 -05:00
Paul Beckingham
ce6f4963e7 l10n: Eliminated STRING_CMD_COUNT_* 2018-01-20 21:07:37 -05:00
Paul Beckingham
57ba9edf4f l10n: Eliminated STRING_CMD_STATS_* 2018-01-20 21:04:56 -05:00
Paul Beckingham
0d2cf73d90 l10n: Eliminated STRING_CMD_SUMMARY_* 2018-01-20 20:56:54 -05:00
Paul Beckingham
47d17b67e0 l10n: Eliminated STRING_CMD_BURN_* 2018-01-20 20:51:31 -05:00
Paul Beckingham
07989d62b9 l10n: Eliminated STRING_CMD_GET_* 2018-01-20 20:38:33 -05:00
Paul Beckingham
2f6819744f l10n: Eliminated STRING_CMD_SHOW* 2018-01-20 20:33:39 -05:00
Paul Beckingham
09e7569cf3 l10n: Eliminated STRING_CMD_DELETE_* 2018-01-20 20:09:25 -05:00
Paul Beckingham
f09b65c980 l10n: Eliminated STRING_CMD_UDAS_* 2018-01-20 20:02:08 -05:00
Paul Beckingham
018e7e3547 l10n: Eliminated STRING_COLUMN_LABEL_DEP* 2018-01-20 19:56:53 -05:00
Paul Beckingham
2eff7bb5e2 calc: Fixed string param 2018-01-20 16:31:09 -05:00
Paul Beckingham
2b35eef864 l10n: Eliminated STRING_CMD_DUPLICATE_* 2018-01-20 15:44:24 -05:00
Paul Beckingham
641b2dd412 l10n: Eliminated STRING_CMD_MODIFY_* 2018-01-20 15:40:22 -05:00
Paul Beckingham
9613350bb3 l10n: Eliminated STRING_CMD_SYNC_* 2018-01-20 15:34:00 -05:00
Paul Beckingham
abf529eba8 l10n: Eliminated STRING_CMD_DIAG_* 2018-01-20 15:22:25 -05:00
Paul Beckingham
9b9735836a l10n: Eliminated STRING_CMD_DONE_* 2018-01-20 15:04:10 -05:00
Paul Beckingham
28c6363f09 l10n: Eliminated STRING_CMD_STOP_* 2018-01-20 14:59:56 -05:00
Paul Beckingham
58523c3d78 l10n: Eliminated STRING_CMD_LOGO_* 2018-01-20 14:54:27 -05:00
Paul Beckingham
5a3d5f536d l10n: Eliminated STRING_CMD_START_* 2018-01-20 14:52:26 -05:00
Paul Beckingham
5f6f61c591 l10n: Eliminated STRING_TASK_VALID_DESC 2018-01-20 14:45:38 -05:00
Paul Beckingham
cf56983b58 l10n: Eliminated STRING_COLUMN_LABEL_ID 2018-01-20 14:44:01 -05:00
Paul Beckingham
e46ca4dcab l10n: Eliminated STRING_COLUMN_LABEL_TASKS 2018-01-20 14:41:34 -05:00
Paul Beckingham
f922f6ee7e l10n: Eliminated STRING_COLUMN_BAD_FORMAT 2018-01-20 14:39:41 -05:00
Paul Beckingham
7abc96efea l10n: Eliminated STRING_COLUMN_BAD_NAME 2018-01-20 14:36:37 -05:00
Paul Beckingham
190d57ac70 l10n: Eliminated STRING_ERROR_NO_FILTER 2018-01-20 14:34:26 -05:00
Paul Beckingham
e686d198e6 l10n: Eliminated STRING_ERROR_DETAILS 2018-01-20 14:32:00 -05:00
Paul Beckingham
e2d92bb2d6 l10n: Eliminated STRING_INVALID_MOD 2018-01-20 14:30:03 -05:00
Paul Beckingham
e928117fb2 l10n: Eliminated STRING_UDA_COLLISION 2018-01-20 14:21:43 -05:00
Paul Beckingham
bf63dde8ca l10n: Eliminated STRING_LOCALIZATION_* 2018-01-20 14:19:24 -05:00
Paul Beckingham
6cf8f18196 l10n: Eliminated STRING_UDA_TYPE 2018-01-20 14:15:34 -05:00
Paul Beckingham
aad6a6d078 l10n: Eliminated STRING_CMD_COLUMNS_* 2018-01-20 14:10:45 -05:00
Paul Beckingham
6f6335f67a l10n: Eliminated STRING_HELPER_PROJECT_* 2018-01-20 14:07:07 -05:00
Paul Beckingham
28ddf8699a l10n: Eliminated STRING_ERROR_BAD_STATUS 2018-01-20 13:57:44 -05:00
Paul Beckingham
15096c473e l10n: Eliminated STRING_INFINITE_LOOP 2018-01-20 13:55:34 -05:00
Paul Beckingham
f43b51cf85 l10n: Eliminated STRING_TRIVIAL_INPUT 2018-01-20 13:52:41 -05:00
Paul Beckingham
60394aad6a l10n: Eliminated STRING_ERROR_PREFIX 2018-01-20 13:50:10 -05:00
Paul Beckingham
69bf268e42 l10n: Eliminated STRING_PARSER_* 2018-01-20 13:46:39 -05:00
Paul Beckingham
d012e5f188 l10n: Eliminated STRING_EDIT_* 2018-01-20 13:42:04 -05:00
Paul Beckingham
e27049273c l10n: Eliminated STRING_RECORD_* 2018-01-20 13:15:45 -05:00
Paul Beckingham
3b792d5432 l10n: Eliminated STRING_COLOR_UNRECOGNIZED 2018-01-20 13:10:19 -05:00
Paul Beckingham
6da0d8af95 l10n: Eliminated STRING_EDIT_TABLE_HEADER 2018-01-20 12:59:45 -05:00
Paul Beckingham
e8f1da6417 l10n: Eliminated STRING_DEPEND_* 2018-01-20 12:55:10 -05:00
Paul Beckingham
13ee52491e l10n: Eliminated STRING_CONFIG_* 2018-01-20 12:51:40 -05:00
Paul Beckingham
6b08813585 l10n: Eliminated STRING_CONFIG_DEPRECATED_COL 2018-01-20 12:49:38 -05:00
Paul Beckingham
8d302d98c5 l10n: Eliminated STRING_CONFIG_DEPRECATED_VAR 2018-01-20 12:47:27 -05:00
Paul Beckingham
3724b91dc4 l10n: Eliminated STRING_DATE_BAD_WEEKSTART 2018-01-20 12:43:05 -05:00
Paul Beckingham
d60de8c923 l10n: Eliminated STRING_DATE_INVALID_FORMAT 2018-01-20 12:41:05 -05:00
Paul Beckingham
de44d3fb97 l10n: Eliminated STRING_DATE_<month> 2018-01-20 12:38:23 -05:00
Paul Beckingham
39342632a1 l10n: Eliminated STRING_DATE_*DAY 2018-01-20 12:36:00 -05:00
Paul Beckingham
8ff2b9b77b l10n: Eliminated STRING_CMD_CONFIG_NO_CHANGE 2018-01-20 12:21:34 -05:00
Paul Beckingham
67e20058b2 l10n: Eliminated STRING_TDB2_* 2018-01-20 12:18:29 -05:00
Paul Beckingham
29f3df9810 l10n: Eliminated STRING_VIEW_TOO_SMALL 2018-01-17 21:21:44 -05:00
Paul Beckingham
6bd9c46c8c l10n: Eliminated STRING_RECUR_CREATE 2018-01-17 21:19:11 -05:00
Paul Beckingham
3e3ed5446c l10n: Eliminated STRING_TASK_VALID_RECUR 2018-01-17 21:16:20 -05:00
Paul Beckingham
def3fd35ae l10n: Eliminated STRING_CMD_EXPORT_USAGE 2018-01-17 21:12:10 -05:00
Paul Beckingham
60180531c6 l10n: Eliminated STRING_LEGACY_PRIORITY 2018-01-15 13:59:07 -05:00
Paul Beckingham
8412198138 l10n: Eliminated STRING_UTIL_CONFIRM_* 2018-01-15 13:43:34 -05:00
Paul Beckingham
1d4b9173fc l10n: Eliminated STRING_ERROR_CONFIRM_SIGINT 2018-01-15 13:39:48 -05:00
Paul Beckingham
2605cfa227 l10n: Eliminated STRING_COLUMN_LABEL_TEMPLATE 2018-01-15 13:35:38 -05:00
Paul Beckingham
5795e7f765 l10n: Eliminated STRING_DOM_UNREC 2018-01-15 13:32:32 -05:00
Paul Beckingham
cff755aba1 l10n: Eliminated STRING_EVAL_* 2018-01-15 13:28:43 -05:00
Paul Beckingham
74eb35810f l10n: Eliminated translation instructions 2018-01-15 13:11:12 -05:00
Paul Beckingham
d2f3648242 l10n: Eliminated STRING_CMD_VERSION_* 2018-01-15 13:10:52 -05:00
Paul Beckingham
2422a6bbda l10n: Eliminated STRING_HOOKS_* 2018-01-15 12:51:56 -05:00
Paul Beckingham
63a8d223e2 l10n: Eliminated STRING_TASK_INVALID_DUR 2018-01-15 12:28:52 -05:00
Paul Beckingham
367f3a5e32 l10n: Eliminated STRING_COLUMN_LABEL_PARENT 2018-01-15 12:24:57 -05:00
Paul Beckingham
1589db376c Utils: Removed l10n utility 2018-01-15 12:20:34 -05:00
Paul Beckingham
9bbc43c3f3 Docs: Added note about translations no longer being supported 2018-01-15 12:18:48 -05:00
Paul Beckingham
ce4b92e5fc l10n: Eliminated STRING_CMD_HELP_USAGE_LABEL 2018-01-15 12:16:24 -05:00
Paul Beckingham
27c7d76884 l10n: Eliminated STRING_CMD_HELP_USAGE_DESC 2018-01-15 12:14:36 -05:00
Paul Beckingham
7a14df80a8 l10n: Eliminated STRING_CMD_HELP_ALIASED 2018-01-15 12:12:53 -05:00
Paul Beckingham
ad24179ba3 l10n: Eliminated STRING_CMD_HELP_TEXT 2018-01-15 12:11:06 -05:00
Paul Beckingham
b970d7e5c9 l10n: Eliminated STRING_CMD_HELP_TEXT 2018-01-15 11:55:02 -05:00
Paul Beckingham
038d9fe8db l10n: Eliminated STRING_CONTEXT_CREATE_RC 2018-01-15 11:48:15 -05:00
Paul Beckingham
e814daacf1 l10n: Eliminated STRING_CONTEXT_DATA_OVERRIDE 2018-01-15 11:45:34 -05:00
Paul Beckingham
06f7802a29 l10n: Eliminated STRING_CONTEXT_RC_OVERRIDE 2018-01-15 11:43:44 -05:00
Paul Beckingham
8f211c1a07 l10n: Eliminated STRING_CONTEXT_NEED_RC 2018-01-15 11:06:18 -05:00
Paul Beckingham
8ca8f9eb10 l10n: Eliminated STRING_CONFIG_BAD_WRITE 2018-01-15 11:04:23 -05:00
Paul Beckingham
2e9ea52a8d l10n: Eliminated STRING_ASSUME_INFO 2018-01-15 11:01:36 -05:00
Paul Beckingham
f00884998e l10n: Eliminated STRING_DATE_SUNDAY 2018-01-15 10:59:25 -05:00
Paul Beckingham
fdd8b1ca13 l10n: Eliminated STRING_INVALID_SORT_COL 2018-01-15 10:53:48 -05:00
Paul Beckingham
193eebd852 l10n removal of STRING_COLUMN_LABEL_MASK, STRING_COLUMN_LABEL_MASK_IDX 2018-01-07 13:37:47 -05:00
Paul Beckingham
aac883241f l10n removal of STRING_UDA_NUMERIC 2018-01-07 13:10:52 -05:00
Paul Beckingham
0b790f46a1 l10n removal of STRING_UNKNOWN_ERROR 2018-01-07 12:57:21 -05:00
Paul Beckingham
6a97188084 libshared: Updated to 1fa5dcbf53a280857e35436aef6beb6a37266e33 2017-12-31 19:39:51 -05:00
Paul Beckingham
0de169bb10 Copyright 2018 2017-12-31 19:22:07 -05:00
Paul Beckingham
58ec6735dd TI-91: Timewarrior does not compile on DragonFly
- Thanks to Michael Neumann.
2017-12-10 00:20:50 -05:00
Paul Beckingham
78d910a58b Docs: Updated ChangeLog 2017-12-09 23:15:36 -05:00
Paul Beckingham
ce6e2afb57 Test: Improved C+ Core Guidelines compliance 2017-12-09 23:05:31 -05:00
Paul Beckingham
bf3ae78e9d TW-1938: Adjust behaviour of new-uuid and new-id verbosity levels
- Thanks to Paul J. Fenwick.
2017-12-09 22:52:56 -05:00
Paul Beckingham
25948e2da9 Merge branch 'new_uuid_conflict_tweaks' of pjf/task into 2.6.0 2017-12-08 15:57:04 +00:00
Paul Fenwick
cc9e2a5076 [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.
2017-12-04 11:36:45 -08:00
Paul Beckingham
8092e67991 TW-1930: Typo in help
- Thanks to Kai HTML.
2017-12-02 14:21:12 -05:00
Paul Beckingham
a54bcf685b TW-1935: Separate verbosity category for rc overrides
- Thanks to Paul J. Fenwick.
2017-12-02 13:06:58 -05:00
Paul Fenwick
f6dee20777 CLI2/Context: Add vim hints
No need for vim to guess indent style with these handy vim hints!
2017-12-02 12:51:35 -05:00
Paul Fenwick
1fb19671c4 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'.
2017-12-02 12:51:14 -05:00
Paul Fenwick
0d682ee7a9 Docs/CLI2: Additional dev docs for applyOverrides 2017-12-02 12:46:55 -05:00
Paul Beckingham
279c825033 TW-1936: Tweak tests to have fuller TAP compliance
- Thanks to Paul J. Fenwick.
2017-12-02 12:34:47 -05:00
Paul Fenwick
138f6ffed3 test/problems: Updated to handle TAP spec output 2017-12-02 12:22:14 -05:00
Paul Fenwick
5ec91026ed 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
2017-12-02 12:06:54 -05:00
Paul Beckingham
02140f1843 Docs: Removed obsolete URL 2017-10-11 21:26:01 -04:00
Paul Beckingham
d02e4f8fc9 Error: Changed (1) error format 2017-10-08 14:39:00 -04:00
Tomas Babej
00239e5b20 DEVELOPER: Update git repo url 2017-08-18 01:04:55 +02:00
Tomas Babej
255e02b7da context: Do not allow show, list or none as new context names
- Thanks to silviof.
2017-07-27 19:00:43 +02:00
Paul Beckingham
05979025d2 Recurrence: Updated 'until' handling 2017-07-22 13:30:49 +01:00
Paul Beckingham
ce012d6430 Recur: Typo 2017-07-22 13:29:26 +01:00
Paul Beckingham
cd2baebb2c Scripts: Updated URLs 2017-07-22 12:49:46 +01:00
Tomas Babej
47cfc0b28b tests: Add tests for complex and-or queries 2017-06-12 15:34:01 +02:00
Paul Beckingham
88ef997d6a Reapplying include removal without libshared update 2017-05-08 17:47:36 -04:00
Paul Beckingham
dbfe220499 Revert "TLSClient: Remove double include"
This reverts commit 2321c17d8d.
2017-05-08 17:33:44 -04:00
Tomas Babej
2321c17d8d TLSClient: Remove double include 2017-05-08 21:59:03 +02:00
Tomas Babej
e3ba077014 Update AUTHORS and ChangeLog file 2017-05-08 17:22:45 +02:00
Tomas Babej
3245d00edb TW-1910: Remove unreachable statement
- Thanks to Martin Strunz.
2017-05-08 17:20:42 +02:00
Paul Beckingham
9f0a71f4b6 Tests: Added dom tests 2017-04-30 00:00:30 -04:00
Paul Beckingham
23138db6c7 DOM: Implemented DOM::Node object 2017-04-30 00:00:14 -04:00
Paul Beckingham
2b71434cf8 DOM: Added dtor that delegate to DOM::Node 2017-04-29 23:57:42 -04:00
Paul Beckingham
b34a51710e Tests: Added tw.version DOM test 2017-04-29 11:25:12 -04:00
Paul Beckingham
f7ab2c4b2d DOM: New reference tw.version. 2017-04-29 11:24:08 -04:00
Paul Beckingham
7e4dd24d86 DOM: Fixed ::count bug 2017-04-29 11:10:57 -04:00
Paul Beckingham
fc58d1e14d Tests: Added first DOM test 2017-04-29 11:10:43 -04:00
Paul Beckingham
c8318ce7cb Tests: Renamed dom.t to make way for new DOM object tests 2017-04-29 10:56:22 -04:00
Paul Beckingham
cd87eab6af DOM: Added framework 2017-04-29 10:54:39 -04:00
Paul Beckingham
ae5bc8e239 DOM: Stubbed DOM tree 2017-04-28 12:42:19 -04:00
Paul Beckingham
0d2b2df498 Recurrence: Debug msg 2017-04-10 19:51:53 -04:00
Paul Beckingham
803c49b6c4 Recurrence: Debug msg 2017-04-10 19:41:22 -04:00
Paul Beckingham
9fe77ab5b5 Recurrence: Debug msg 2017-04-10 19:27:35 -04:00
Paul Beckingham
415d964230 Recurrence: Debug msg 2017-04-10 19:20:06 -04:00
Paul Beckingham
aa6b5dbfba Recurrence: Added stubbed generateAllDueDates 2017-04-10 19:08:07 -04:00
Paul Beckingham
e62b395534 Recurrence: Stubbed due date generation 2017-04-10 18:54:45 -04:00
Paul Beckingham
0e599a51a0 Task: Added reminder to simplify validation 2017-04-10 17:23:11 -04:00
Paul Beckingham
3bf1c50131 Docs: Added to AUTHORS file 2017-04-09 21:00:44 -04:00
Øyvind A. Holm
984e4b20f8 Docs: Typo fix in task.1.in 2017-04-09 21:00:01 -04:00
Paul Beckingham
93efc4b6f9 Docs: Updated platform list 2017-04-09 16:47:54 -04:00
Paul Beckingham
a4fdb988ff Recurrence: Added list of upgrade steps 2017-04-09 16:36:14 -04:00
Paul Beckingham
97b038ce29 Recurrence: Broke out handleUntil as a separate function
- This means until porocesing is no longer controlled by rc.recurrence, which
  was never intended.
2017-04-06 00:29:20 -04:00
Paul Beckingham
e991004c43 Recurrence: Fixed broken build 2017-04-06 00:01:57 -04:00
Paul Beckingham
3a57ca26f8 Merge branch '2.6.0' of tbabej/task into 2.6.0 2017-04-03 00:29:56 +00:00
Tomas Babej
dd5e3d7329 INSTALL: Use https link for cmake.org 2017-04-03 00:25:06 +00:00
Tomas Babej
d162f2ac78 LICENSE: Use https link instead of http 2017-04-03 01:46:22 +02:00
Paul Beckingham
54ea38b663 Recurrence: Added notes 2017-04-02 14:04:44 -04:00
Paul Beckingham
1f6ea2a8ad Recurrence: Stubbed Task upgrade function 2017-04-02 14:03:16 -04:00
Paul Beckingham
5ef2a256a6 Recurrence: Stubbed single due date function 2017-04-02 14:02:40 -04:00
Paul Beckingham
179e97c748 libshared: Updated URL 2017-04-01 23:34:06 -04:00
Paul Beckingham
45eb2cffbb Recurrence: Implemented reduction to single-task problem 2017-04-01 14:27:08 -04:00
Paul Beckingham
2810c70223 Recurrence: Stubbed synthesizeTasks 2017-04-01 14:25:56 -04:00
Paul Beckingham
0973bf0dda Task: Typo in attribute name 2017-04-01 13:26:31 -04:00
Paul Beckingham
b40cc89235 Recurrence: Added stub for handleRecurrence2 2017-03-31 08:38:35 -04:00
Paul Beckingham
f6f79d28ee Recurrence: Relocate nag function out of the way 2017-03-31 08:34:25 -04:00
Paul Beckingham
704dfd462e TW-1903: grammar error -- There are 1 local changes.
- Thanks to Eric Hymowitz.
2017-03-30 23:21:14 -04:00
Paul Beckingham
60bccaae2b Task: CHILD, INSTANCE, PARENT and TEMPLATE are now forward/backward compatible 2017-03-23 22:51:11 -04:00
Paul Beckingham
1858de5f51 CmdHistory: Corrected date label justification 2017-03-23 22:49:50 -04:00
Paul Beckingham
8113eae006 Tests: Added WAITING tests 2017-03-23 22:49:07 -04:00
Paul Beckingham
92ededda71 Tests: Added UNTIL tests 2017-03-23 22:48:58 -04:00
Paul Beckingham
322ff9e653 Tests: Added INSTANCE tests 2017-03-23 22:48:39 -04:00
Paul Beckingham
b0636bda2f Tests: Added TEMPLATE tests 2017-03-23 22:48:00 -04:00
Paul Beckingham
0de91e68c7 Tests: Added SCHEDULED tests 2017-03-23 22:47:40 -04:00
Paul Beckingham
79513ea17f Tests: Added READY tests 2017-03-23 22:47:16 -04:00
Paul Beckingham
d4643982ff Tests: Made history tests independent of TZ 2017-03-23 08:26:49 -04:00
Paul Beckingham
0c3ca1862d Tests: Fixed bad regexes 2017-03-23 01:53:05 -04:00
Paul Beckingham
640a90e473 Tests: Fixed bad duplicate class/method name 2017-03-23 01:52:43 -04:00
Paul Beckingham
4c2fa33a08 CmdHistory: Formatting 2017-03-23 01:51:41 -04:00
Paul Beckingham
7c2c9fc5d0 CmdHistory: Fixed bug where all strategies were rendered in the wrong width 2017-03-23 01:51:22 -04:00
Paul Beckingham
bc7154c9cd Tests: Fixed spaing issue in history test 2017-03-23 01:10:18 -04:00
Paul Beckingham
2a12aabcf1 CmdHistory: Set no-wrap for ghistory output 2017-03-23 01:06:29 -04:00
Paul Beckingham
66c11f635e CmdHistory: Removed table header coloring which is handled elsewhere 2017-03-23 01:05:56 -04:00
Paul Beckingham
22da6c2e42 CmdHistory: Formatting 2017-03-23 01:05:14 -04:00
Paul Beckingham
7dc51a266f CmdHistory: Formatting 2017-03-23 01:04:23 -04:00
Paul Beckingham
d08f62a7d9 CmdSummary: Set no-wrap for progress bar column 2017-03-23 01:03:38 -04:00
Paul Beckingham
bfbe20352e libshared: Updated to f1a3cd6bfabfb083fe3c26f580a15c0d60a92ee9 2017-03-23 01:03:09 -04:00
Paul Beckingham
47715322dc util: Removed unused strippedLength() function 2017-03-23 01:02:29 -04:00
Paul Beckingham
a9e65e7e61 Tests: Removed strippedLength() tests 2017-03-23 01:02:06 -04:00
Tomas Babej
c20883af15 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
2017-03-22 02:56:26 +01:00
Paul Beckingham
f74c1c9e9a calc: Uses same configuration setting for Datetime/Duration as task 2017-03-21 08:43:45 -04:00
Paul Beckingham
60220546c1 Tests: Removed taskd group features from test framework 2017-03-20 22:23:08 -04:00
Paul Beckingham
97612b892a CmdUDAs: Table headers consistent 2017-03-20 09:12:49 -04:00
Paul Beckingham
0cf0f1ce3c CmdTimesheet: Table headers consistent 2017-03-20 09:12:33 -04:00
Paul Beckingham
c26d7fb465 CmdTags: Table headers consistent 2017-03-20 09:12:21 -04:00
Paul Beckingham
e9688c7593 CmdSummary: Table headers consistent 2017-03-20 09:12:09 -04:00
Paul Beckingham
f13f0e8def CmdStats: Table headers consistent 2017-03-20 09:11:56 -04:00
Paul Beckingham
38b0c6c4f1 CmdShow: Table headers consistent 2017-03-20 09:11:40 -04:00
Paul Beckingham
c0f33ed5e7 CmdReports: Table headers consistent 2017-03-20 09:11:26 -04:00
Paul Beckingham
596cce73b7 CmdProjects: Table headers consistent 2017-03-20 09:11:12 -04:00
Paul Beckingham
043884fc9b CmdInfo: Table headers consistent 2017-03-20 09:11:00 -04:00
Paul Beckingham
c8fb2f1ddd CmdHistory: Formatting 2017-03-20 09:10:42 -04:00
Paul Beckingham
aa5d1b4192 CmdHistory: Table headers consistent 2017-03-20 09:10:20 -04:00
Paul Beckingham
73040f2679 CmdContext: Table headers consistent 2017-03-20 09:09:46 -04:00
Paul Beckingham
120c50f75e CmdCommands: Table headers consistent 2017-03-20 09:09:30 -04:00
Paul Beckingham
61ee94a0e4 CmdColumns: Table headers consistent 2017-03-20 09:09:06 -04:00
Paul Beckingham
2a7d6eb26a CmdCalendar: Table headers consistent 2017-03-20 09:08:45 -04:00
Paul Beckingham
a1a9cb7786 TDB2: Table headers consistent 2017-03-20 09:06:59 -04:00
Paul Beckingham
ac93381cd0 util: Added helper function to properly manage table header color/underline 2017-03-20 09:06:16 -04:00
Paul Beckingham
410bd2a22a Tests: Disabled ambiguous test (matching libshared) 2017-03-20 09:02:37 -04:00
Paul Beckingham
218b43ecfa CmdInfo: Fixed header underline problem 2017-03-20 08:29:51 -04:00
Paul Beckingham
4f6c44e5c1 Tests: Syntax error in Python that went unnoticed 2017-03-19 17:27:40 -04:00
Paul Beckingham
6e7bd12094 libshared: Updated to 9a05fb5040008aa5f2c95e7ad060aa249367fe92 2017-03-19 17:16:52 -04:00
Paul Beckingham
b2810aa0c2 Tests: Lexer tests now stable with Datetime/duration features disabled 2017-03-19 10:05:25 -04:00
Paul Beckingham
e350142b19 Context: Selects Datetime/Duration features to match expectations 2017-03-19 10:00:25 -04:00
Paul Beckingham
ddbf352962 libshared: Updated to f2ac7ef9cc9f33f634f9aacd65ca9c1f828f50e3 2017-03-19 09:59:50 -04:00
Paul Beckingham
0a137a852e Cleanup: Formatting 2017-03-19 09:59:20 -04:00
Paul Beckingham
f5ac502f35 libshared: Updated to b1686ad3e14c766faa3bdec3d5afe7152ace5e71 2017-03-15 13:04:26 -04:00
Paul Beckingham
77e0dabb48 libshared: Updated to 6f0900d86743405f24d52f9eafe6c8e941d40ec3 2017-03-15 12:00:43 -04:00
Paul Beckingham
1ece5ccfb4 libshared: Updated to 320f65961505019d276e5b36316bd11bdd0025b1 2017-03-08 08:48:15 -05:00
Paul Beckingham
386226f404 Task: Uses named dates for YEAR virtual tag 2017-03-08 08:34:25 -05:00
Paul Beckingham
cb0873d14b Task: Uses named dates for QUARTER virtual tag 2017-03-08 08:34:15 -05:00
Paul Beckingham
ba4113d567 Task: Uses named dates for MONTH virtual tag 2017-03-08 08:33:55 -05:00
Paul Beckingham
768767866f Task: Uses named dates to WEEK virtual tag 2017-03-08 08:33:34 -05:00
Paul Beckingham
bae64cd95c libshared: Updated to cbe3fd84a8950a42ed271a0dd8e7c4e1564b1333 2017-03-08 08:26:32 -05:00
Paul Beckingham
c30a69a69e libshared: Updated to 5bd493494fe2b1f0ab208e1edb4854316eeb5423 2017-03-06 23:58:16 -05:00
Paul Beckingham
111e36ed8c Tests: Named date tests migrated to libshared 2017-03-05 15:03:14 -05:00
Paul Beckingham
18aeeca103 CMake: Eliminated Dates.cpp 2017-03-05 09:46:44 -05:00
Paul Beckingham
982ae80a82 Task: Eliminated namedDates 2017-03-05 09:46:21 -05:00
Paul Beckingham
b65550e620 Tests: Eliminated old-style EOD math 2017-03-05 09:35:34 -05:00
Paul Beckingham
36e67a0c71 Tests: Corrected lexer data type for newly-supported date types 2017-03-05 09:35:13 -05:00
Paul Beckingham
9b0b314618 Tests: Eliminated namedDates 2017-03-05 09:34:30 -05:00
Paul Beckingham
4046886e2a CmdCalc: Eliminated namedDates 2017-03-05 09:31:50 -05:00
Paul Beckingham
4cd9ebfdf4 ColTypeString: Eliminated namedDates 2017-03-05 09:31:29 -05:00
Paul Beckingham
2b205302c9 ColTypeNumeric: Eliminated namedDates 2017-03-05 09:31:10 -05:00
Paul Beckingham
49f8777d05 ColTypeDuration: Eliminated namedDates 2017-03-05 09:30:51 -05:00
Paul Beckingham
93d2594949 ColTypeDate: Eliminated namedDates 2017-03-05 09:30:31 -05:00
Paul Beckingham
fbc461818e ColTags: Eliminated namedDates 2017-03-05 09:30:06 -05:00
Paul Beckingham
925700dbf8 ColRecur: Eliminated namedDates 2017-03-05 09:29:50 -05:00
Paul Beckingham
8e7350ac27 ColProject: Eliminated namedDates 2017-03-05 09:29:28 -05:00
Paul Beckingham
2b8b31b94b calc: Eliminated namedDates 2017-03-05 09:29:13 -05:00
Paul Beckingham
5f4a62750e Filter: Eliminated namedDates 2017-03-05 09:28:57 -05:00
Paul Beckingham
d0ec6b27aa Nibbler: Elimnated, migrated to Pig 2017-03-04 22:21:49 -05:00
Paul Beckingham
2912df58fb Tests: Removed unused Nibbler tests 2017-03-04 22:21:07 -05:00
Paul Beckingham
68adade5b0 ISO8601: Migrated all to Datetime/Duration 2017-03-04 22:18:04 -05:00
Paul Beckingham
3a7e3b8836 Tests: Eliminated ISO8601d tests 2017-03-04 22:16:36 -05:00
Paul Beckingham
7647a089d0 Tests: Eliminated ISO8601p tests 2017-03-04 21:49:38 -05:00
Paul Beckingham
cea0732d46 Context: Eliminated ISO8601 2017-03-04 21:46:05 -05:00
Paul Beckingham
434e95f560 Variant: Migraded from ISO8601d to Datetime 2017-03-04 21:44:07 -05:00
Paul Beckingham
c0d5d5974e Lexer: Migrated from ISO8601p to Duration 2017-03-04 21:43:43 -05:00
Paul Beckingham
769d4a2ebe Lexer: Migrated from ISO8601d to Datetime 2017-03-04 20:53:16 -05:00
Paul Beckingham
5450fae7c3 libshared: Updated to 0dbe6c2818d4dc99f5d0089d6afb1559ed05ebf7 2017-03-04 20:50:39 -05:00
Paul Beckingham
1fd18dd50e dependency: CPP Core Guidlines compliance 2017-03-02 20:56:19 -05:00
Paul Beckingham
b45b8c1c05 sort: Greater use of auto 2017-03-02 20:30:02 -05:00
Paul Beckingham
0bfac78f1e CmdEdit: Properly captures an unmodified errno 2017-03-02 18:29:42 -05:00
Paul Beckingham
5716508694 util: Removed unused header 2017-03-02 18:28:35 -05:00
Paul Beckingham
c9defab256 Docs: Typo 2017-02-28 18:52:18 -05:00
Paul Beckingham
311a9538d8 Docs: Typo 2017-02-28 18:51:46 -05:00
Paul Beckingham
2231adb04c Docs: Typo 2017-02-28 18:20:38 -05:00
Paul Beckingham
95d91e8f62 Docs: Typo 2017-02-28 18:20:31 -05:00
Paul Beckingham
e18f18a4ff Docs: Typo 2017-02-28 18:20:01 -05:00
Paul Beckingham
5c216ba4c1 Docs: Typo 2017-02-28 18:19:48 -05:00
Paul Beckingham
3d96a62a0c Docs: Updated build parallelism 2017-02-28 18:15:24 -05:00
Paul Beckingham
48f9072539 Docs: Updated requirements 2017-02-28 18:14:46 -05:00
Paul Beckingham
7b6e24a164 Task: Recurring tasks get rtype:periodic by default 2017-02-28 00:11:58 -05:00
Paul Beckingham
4a5dfad74d Feedback: Sync message now indicates how many local changes will be synced 2017-02-28 00:10:15 -05:00
Paul Beckingham
46ef672317 Lexer: Typo 2017-02-27 08:41:03 -05:00
Paul Beckingham
2cca52bc4c Variant: Reduced dependence on ISO8601 2017-02-27 08:28:45 -05:00
Paul Beckingham
28030cfc39 DOM: tw.syncneeded should be 0/1, not false/true 2017-02-27 07:52:40 -05:00
Paul Beckingham
06dc1f6c42 DOM: Partial DOM match is no longer an error 2017-02-27 07:46:54 -05:00
Paul Beckingham
243067e2ae Docs: Updated dev file 2017-02-26 23:41:39 -05:00
Paul Beckingham
3535e785d8 Config: Eliminated 2017-02-26 17:37:21 -05:00
Paul Beckingham
8cb1d8743f Docs: Removed references to $TERM, which is irrelevant anyway 2017-02-26 11:08:15 -05:00
Paul Beckingham
0d3e92ed5d Context: Added local config load timing 2017-02-26 10:47:17 -05:00
Paul Beckingham
dd4fef6794 Config: Migrated to libshared Configuration 2017-02-26 10:46:51 -05:00
Paul Beckingham
a31434fd48 Config: Separated configuration from defaults 2017-02-26 10:22:39 -05:00
Paul Beckingham
9bc8643ce5 Docs: Updated man page for DOM ref changes 2017-02-25 23:40:21 -05:00
Paul Beckingham
29c18c2c64 Config: Removed unused ::clear method
- This was used back when shadow file support needed to reset CLI parsing.
2017-02-25 22:13:16 -05:00
Paul Beckingham
5e3845dcb6 libshared: Updated to d009b1de631c576510841593c85b257e96371b40 2017-02-25 20:26:41 -05:00
Paul Beckingham
dce400073e Docs: Updated test platform list 2017-02-25 19:23:54 -05:00
Paul Beckingham
098a3b603f Tests: Added new DOM reference tests 2017-02-25 19:23:43 -05:00
Paul Beckingham
a92f596bc0 DOM: New references: tw.syncneeded, tw.program, tw.args, tw.width, tw.height
- And deprecating context.program, context.args, context.width, context.height
2017-02-25 19:21:24 -05:00
Paul Beckingham
545a764450 DOM: Typo 2017-02-20 09:52:41 -05:00
Paul Beckingham
c77908e6b4 Docs: Typo 2017-02-19 19:05:58 -05:00
Paul Beckingham
057dc6f85b Docs: Typo 2017-02-19 19:05:52 -05:00
Paul Beckingham
acf7cd42f4 Docs: Typo 2017-02-19 19:05:44 -05:00
Paul Beckingham
cf14b9ce37 Docs: Typo 2017-02-19 19:05:37 -05:00
Paul Beckingham
a07deac111 Docs: Typo 2017-02-19 19:05:30 -05:00
Paul Beckingham
4914e89c92 Docs: Typo 2017-02-19 19:05:20 -05:00
Paul Beckingham
3c1ffc60aa Docs: Typo 2017-02-19 19:05:08 -05:00
Paul Beckingham
50a5a58e22 Docs: Typo 2017-02-19 19:05:02 -05:00
Paul Beckingham
86cc86d9cc Docs: Typo 2017-02-19 19:00:29 -05:00
Paul Beckingham
dadc83684d Docs: Typo 2017-02-19 19:00:14 -05:00
Paul Beckingham
bea4214b57 Docs: Typo 2017-02-19 18:56:35 -05:00
Paul Beckingham
0faac7b618 Docs: Update for testing flod2 2017-02-19 18:11:23 -05:00
Paul Beckingham
1f09aba760 TW-1885: Task Sync does not send TLS SNI headers
- Thanks to Dan Callahan.
2017-02-18 17:23:08 -05:00
Tomas Babej
282c59a394 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.
2017-02-18 20:43:21 +01:00
Tomas Babej
66328f97b5 TLSClient: Respect 'allow all' and 'ignore hostname' trust settings 2017-02-18 20:21:42 +01:00
Tomas Babej
a4a704fd37 style: Remove doubled spaces in the error message 2017-02-18 20:20:37 +01:00
Tomas Babej
8c1d625a54 TLSClient: Free error data after extracting error message 2017-02-18 20:19:03 +01:00
Tomas Babej
60139d24f8 docs: Update the build toolchain requirements 2017-02-15 14:40:14 +01:00
Tomas Babej
b59f36a614 build: Fix linking problem on non-OS-X platforms 2017-02-14 15:18:44 +01:00
Federico Hernandez
d59da51088 Mentioned cmake handling of submodule in DEVELOPER file 2017-02-13 00:54:59 +01:00
Federico Hernandez
bbd53f6556 Mentioned cmake handling of submodule in DEVELOPER file 2017-02-13 00:15:10 +01:00
Federico Hernandez
de4cf7edda Handling of git submodule in cmake 2017-02-12 22:18:26 +01:00
Paul Beckingham
39f8e7528e TLS: Now uses SNI 2017-02-11 13:51:02 -05:00
Paul Beckingham
b38fead19f libshared: Updated to 6aa2b315c476bac3fdb7bf2bc259af55eee89f83 2017-02-11 13:50:25 -05:00
Paul Beckingham
e6601e1a28 Docs: Updated docs with new history/ghistory commands. 2017-02-09 19:44:44 -05:00
Lukas Barth
d1bdac2bef Add localized strings 2017-02-09 19:15:00 -05:00
Lukas Barth
cd90b8a06d Add unit tests for new history commands 2017-02-09 19:14:58 -05:00
Lukas Barth
0c1cfe1492 Update manpage for history commands 2017-02-09 19:14:56 -05:00
Lukas Barth
615336f3a8 Adding weekly/daily history commands 2017-02-09 19:14:53 -05:00
Paul Beckingham
9e3c8b3956 libshared: Updated to 09ddc067c8db2d19472283d037ff38d76d63eff8 2017-02-09 10:03:47 -05:00
Paul Beckingham
440cfb009e 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.
2017-02-09 08:19:30 -05:00
Paul Beckingham
4c20ff04c2 Tests: Improved documenation in template 2017-02-09 02:49:39 +01:00
Paul Beckingham
c79ed7cf4c TLSClient: Removed test code 2017-02-09 01:47:54 +01:00
Paul Beckingham
d8227a8439 TLSClient: Typo 2017-02-09 01:45:05 +01:00
Paul Beckingham
8f424c9eda Doc: Test change 2017-02-05 22:29:03 +01:00
Paul Beckingham
82bc202a36 calc: Fixed Dirk 2017-02-05 14:34:24 +01:00
Paul Beckingham
cb496b6002 CmdCalc: 'auto infix{true}' doesn't compile 2017-02-05 14:28:40 +01:00
Paul Beckingham
78112c150c Doc: Test change 2017-02-05 13:58:53 +01:00
Paul Beckingham
0f4e4b2926 Doc: Test change 2017-02-05 13:38:05 +01:00
Paul Beckingham
b81cd05b7c Doc: Test change 2017-02-05 12:20:40 +01:00
Paul Beckingham
b65b2ee4f0 Doc: Test change 2017-02-05 12:00:06 +01:00
Lukas Barth
7be87586c5 Move strategies to cpp file 2017-01-30 16:59:15 -05:00
Paul Beckingham
c8cd93d630 CmdModify: Code cleanup 2017-01-29 13:04:51 -05:00
Paul Beckingham
a95dddd00c CmdInfo: Code cleanup 2017-01-29 12:22:35 -05:00
Paul Beckingham
afd8b94c91 CmdImport: Code cleanup 2017-01-29 12:17:44 -05:00
Paul Beckingham
31a85478f5 CmdIDs: Code cleanup 2017-01-29 12:15:38 -05:00
Paul Beckingham
d8a1120ff2 CmdHistory: Code cleanup 2017-01-29 12:13:30 -05:00
Paul Beckingham
25dbbfd667 CmdHelp: Code cleanup 2017-01-29 11:31:32 -05:00
Paul Beckingham
0122b72118 CmdEdit: Code cleanup 2017-01-29 00:26:43 -05:00
Paul Beckingham
5bbb232f35 CmdDuplicate: Code cleanup 2017-01-28 21:35:12 -05:00
Paul Beckingham
3c8dc72b3d CmdDone: Code cleanup 2017-01-28 21:35:02 -05:00
Paul Beckingham
d6549fca78 CmdDiagnostics: Code cleanup 2017-01-28 21:34:51 -05:00
Paul Beckingham
c1963dca0e CmdDenotate: Code cleanup 2017-01-28 21:34:39 -05:00
Paul Beckingham
01d42acb28 CmdDelete: Code cleanup 2017-01-28 21:34:27 -05:00
Paul Beckingham
31b1e5e462 CmdCustom: Code cleanup 2017-01-28 20:53:46 -05:00
Paul Beckingham
984b20f6de CmdCount: Code cleanup 2017-01-28 20:50:12 -05:00
Paul Beckingham
8e6fd5d979 CmdConfig: Code cleanup 2017-01-28 20:48:14 -05:00
Paul Beckingham
bd1661c2b0 CmdCommands: Code cleanup 2017-01-28 20:35:50 -05:00
Paul Beckingham
cf57346134 CmdCalendar: Code cleanup 2017-01-28 20:31:52 -05:00
Paul Beckingham
ec2bec58b7 CmdColumns: Code cleanup 2017-01-28 19:19:42 -05:00
Paul Beckingham
f38446138c CmdColor: Code cleanup 2017-01-28 17:53:05 -05:00
Paul Beckingham
d3a037231f CmdCalc: Code cleanup 2017-01-28 17:52:04 -05:00
Paul Beckingham
651c39c881 CmdBurndown: Code cleanup 2017-01-28 17:50:51 -05:00
Paul Beckingham
c646d7c9d2 CmdAttributes: Code cleanup 2017-01-28 17:49:32 -05:00
Paul Beckingham
e207cc9eab CmdAppend: Code cleanup 2017-01-28 17:49:16 -05:00
Paul Beckingham
e5646726c1 CmdAnnotate: Code cleanup 2017-01-28 17:38:02 -05:00
Paul Beckingham
82cd74906b CmdUnique: Code cleanup 2017-01-28 17:08:07 -05:00
Paul Beckingham
670a215743 CmdAliases: Code cleanup 2017-01-28 16:44:55 -05:00
Paul Beckingham
1c1d9428c5 CmdLogo: Code cleanup 2017-01-28 16:22:43 -05:00
Paul Beckingham
00a4cbf906 CmdHistory: Code Cleanup
- Fixed formatting inconsistencies.
- Added Lukas to AUTHORS.
2017-01-27 17:33:20 -05:00
Lukas Barth
91b73270c8 Also refactor ghistory 2017-01-27 14:24:43 -05:00
Lukas Barth
796d5f9629 Refactor history.monthly and history.annual 2017-01-27 14:24:40 -05:00
Paul Beckingham
19c18b04aa recur: Code cleanup 2017-01-26 19:56:13 -05:00
Paul Beckingham
2da0656b5e recur: Code cleanup 2017-01-26 19:56:07 -05:00
Paul Beckingham
81e3d3bb42 recur: Code cleanup 2017-01-26 19:55:59 -05:00
Paul Beckingham
e2633a2d76 recur: Code cleanup 2017-01-26 19:55:51 -05:00
Paul Beckingham
223ca89d73 recur: Code cleanup 2017-01-26 19:55:43 -05:00
Paul Beckingham
5fd6f716a6 recur: Code cleanup 2017-01-26 19:55:34 -05:00
Paul Beckingham
f7d4ec0b79 main: Code cleanup 2017-01-26 19:54:51 -05:00
Paul Beckingham
a364acf726 legacy: Code cleanup 2017-01-26 19:45:31 -05:00
Paul Beckingham
4da1785a1e Calc: Code cleanup 2017-01-26 18:29:02 -05:00
Paul Beckingham
23dacc7bf8 Calc: Code cleanup 2017-01-26 18:28:51 -05:00
Paul Beckingham
f13bff8dfd Calc: Code cleanup 2017-01-26 18:28:31 -05:00
Paul Beckingham
7dfed2fec9 Context: Code cleanup 2017-01-26 17:30:39 -05:00
Paul Beckingham
1ebe434ea7 Context: Code cleanup 2017-01-26 17:30:28 -05:00
Paul Beckingham
7fddfd0ea3 Context: Code cleanup 2017-01-26 17:25:57 -05:00
Paul Beckingham
8cd3dc7d6b Context: Code cleanup 2017-01-26 17:25:24 -05:00
Paul Beckingham
adbefa15a7 Context: Code cleanup 2017-01-26 17:25:05 -05:00
Paul Beckingham
ee28e9940c Context: Code cleanup 2017-01-26 17:24:11 -05:00
Paul Beckingham
0b44862300 Dependency: Code cleanup 2017-01-26 17:14:14 -05:00
Paul Beckingham
651f2d9045 Dependency: Code cleanup 2017-01-26 17:01:12 -05:00
Paul Beckingham
62b5270541 Themes: Updated readme 2017-01-26 16:59:00 -05:00
Paul Beckingham
6f232cdbbf Docs: Updated man page 2017-01-26 00:12:55 -05:00
Paul Beckingham
5b0c59023b Docs: Updated exposition 2017-01-25 22:49:22 -05:00
Paul Beckingham
7e09dd9457 Color: Now uses libshared 2017-01-25 22:26:33 -05:00
Paul Beckingham
4ab083fd94 Docs: Updated compiler version 2017-01-25 17:45:03 -05:00
Paul Beckingham
abee90f9e0 Docs: Removed untested platform 2017-01-25 17:30:32 -05:00
Paul Beckingham
8faadd8199 Variant: Removed uneeded header 2017-01-25 16:54:39 -05:00
Paul Beckingham
7f5d44a675 Variant: Relocate strings 2017-01-25 16:10:57 -05:00
Paul Beckingham
e17ee31975 PKI: Updated test_client 2017-01-24 20:15:47 -05:00
Paul Beckingham
55ec3020ad PKI: Updated CRL 2017-01-24 20:12:46 -05:00
Paul Beckingham
57ba3f1541 PKI: Updated server 2017-01-24 20:04:24 -05:00
Paul Beckingham
452dc52340 PKI: Updated client 2017-01-24 19:58:40 -05:00
Paul Beckingham
72c95bbd2b PKI: Updated CA 2017-01-24 19:55:01 -05:00
Paul Beckingham
ae25bd9f2c TW-1869 segmentation fault (on unusual installation)
- Thanks to Eric Hymowitz.
2017-01-24 19:13:59 -05:00
Paul Beckingham
12486c16cc TW-1877: task done, task edit, task is now pending
- Thanks to Eric Hymowitz.
2017-01-16 20:48:45 -05:00
Paul Beckingham
f543182626 Docs: Updated NEWS 2017-01-16 20:32:40 -05:00
Paul Beckingham
d1debebde8 TW-1881: Missing last character(s) in Description field
- Thanks to Hubert Toullec.
2017-01-16 20:29:51 -05:00
Paul Beckingham
eb935d895b TW-1881: default.scheduled seems not to work
- Thanks to Onion.
2017-01-16 20:25:58 -05:00
Paul Beckingham
1b40c802c2 TW-1861: Truncated description when adding annotation
- Thanks to eezewaek.
2017-01-16 20:05:08 -05:00
Paul Beckingham
a154a0840f TW-1823: Incorrect unicode text wrapping / justifying.
- Thanks to Sergey Trofimov.
2017-01-16 16:06:49 -05:00
Paul Beckingham
5206b4a84b TW-1827: Extract annotations from a task
- Thanks to Ryan.
2017-01-16 16:00:16 -05:00
Paul Beckingham
fdd55bc422 Tests: Added debug info, which makes it look like TW-1837 it working 2017-01-16 15:29:11 -05:00
Paul Beckingham
570152d67b Tests: Added TW-1837 test 2017-01-16 15:20:50 -05:00
Paul Beckingham
44dc19e21b TW-1667: hooks: upon failure indicate which hook failed
- Thanks to Daniel Shahaf.
2017-01-16 13:14:08 -05:00
Paul Beckingham
098eef099a TW-1572: Alternative approach to urgency inheritance
- Thanks to Jens Erat, Wim Schuermann.
2017-01-16 12:33:18 -05:00
Paul Beckingham
1e6b30bbc9 TW-213: Align countdown column on boundary between number and text.
- Thanks to Eric Fluger.
2017-01-16 12:05:59 -05:00
Paul Beckingham
77f5d9fe40 libshared: Updated to 2daeeb7e6e0716ce42f7a3d0e4400aee71531d6e 2017-01-16 12:03:31 -05:00
Paul Beckingham
4bdb2285c7 Docs: Updated NEWS 2017-01-15 20:11:56 -05:00
Antonio Huete Jimenez
7c0375e506 task: Fix build in SunOS-like environments.
Tested in:
 - OpenIndiana 2816291
 - OmniOS bed3013
 - SmartOS 20161129T003638Z
2017-01-15 20:02:31 -05:00
Paul Beckingham
67e0319d36 Docs: Added Antonion to AUTHORS 2017-01-14 11:51:53 -05:00
Antonio Huete Jimenez
92af246f3a Add missing cast to double 2017-01-14 11:49:19 -05:00
Paul Beckingham
0432b9090a TLS: Aligned source with Taskserver 2017-01-10 22:14:51 -05:00
Tomas Babej
16b46e3134 Revert "test our new bitbucket server"
This reverts commit da07f34e01.

Not every joke is a good one.
- Thanks to Tomas Babej
2017-01-10 04:12:26 +01:00
Paul Beckingham
e141131080 Merge pull request #15 in TM/task from ~TBABEJ/task:2.6.0 to 2.6.0
* commit 'da07f34e01d2407b2df309d9cf3feef86b58a44a':
  test our new bitbucket server
2017-01-09 22:41:17 +00:00
Tomas Babej
da07f34e01 test our new bitbucket server 2017-01-09 20:07:04 +01:00
Paul Beckingham
dc5d0f3bd0 CmdDiagnostics: Uses libshared cppCompliance call 2017-01-08 14:07:18 -05:00
Paul Beckingham
986a632901 libshared: Updated to bfb0e90e0c94918b86dd16d8b0e05a74bab8fb75 2017-01-08 14:06:54 -05:00
Paul Beckingham
246c3601be Tests: Combined two almost identical tests into one 2017-01-08 11:53:05 -05:00
Paul Beckingham
ec1323d9ee util: Migrated osName to libshared 2017-01-08 11:52:04 -05:00
Paul Beckingham
b65be6655b libshared: Updated to aff911bd080a05e5e12a240e13adb27f435b5bb2 2017-01-08 11:50:30 -05:00
Tomas Babej
ba03a956d1 docs: Add missing submodule init step to the DEVELOPER file 2017-01-07 17:01:43 -05:00
Paul Beckingham
4e7576cb79 Merge branch 'recurrence' into 2.6.0 2017-01-07 12:29:11 -05:00
Paul Beckingham
fd4ca47581 CmdInfo: Added TEMPLATE and INSTANCE virtual tags 2017-01-07 12:04:13 -05:00
Paul Beckingham
9939b7ea35 CmdTags: Added TEMPLATE and INSTANCE virtual tags 2017-01-07 12:02:03 -05:00
Paul Beckingham
f12a4d7cd6 Task: Added TEMPLATE and INSTANCE virtual tags 2017-01-07 12:00:53 -05:00
Paul Beckingham
b266dc3f2d Docs: Added TEMPLATE and INSTANCE virtual tag descriptions 2017-01-07 11:49:09 -05:00
Paul Beckingham
8049c8ba99 feddback: Added TEMPLATE and INSTANCE virtual tags 2017-01-07 11:46:35 -05:00
Paul Beckingham
09562c8fac Columns: Removed redundant format checking 2017-01-07 11:10:03 -05:00
Paul Beckingham
ebd6273c86 Columns: Attribute objects properly delegate to Column::setStyle to validate formats 2017-01-07 11:04:08 -05:00
Paul Beckingham
e871976bb9 Columns: Consistency 2017-01-07 10:46:40 -05:00
Paul Beckingham
a50e65a134 Copyright update 2017-01-01 12:30:04 -05:00
Paul Beckingham
b0a4a409a6 Task: Improved method signature 2016-12-31 16:33:39 -05:00
Paul Beckingham
245ed39b78 Task: Improved method signature 2016-12-31 16:15:24 -05:00
Paul Beckingham
5193f7d03e Task: Improved method signature 2016-12-31 15:55:06 -05:00
Paul Beckingham
cfc3e098c1 Task: Improved method signature 2016-12-31 15:44:13 -05:00
Paul Beckingham
c31e0b106d Task: Renamed ::getUDAOrphans to ::getUDAOrphanUUIDs 2016-12-31 12:27:28 -05:00
Paul Beckingham
40c6623274 ColString: Removed obsolete column for ViewText 2016-12-31 11:53:00 -05:00
Paul Beckingham
d4c9317239 CmdCommands: Removed obsolete include 2016-12-31 11:51:54 -05:00
Paul Beckingham
c8bd60b713 ColUDA: Removed redundant code 2016-12-31 11:49:15 -05:00
Paul Beckingham
78ff1975b2 ColTags: Removed redundant code 2016-12-31 11:47:34 -05:00
Paul Beckingham
b6d19ce1ad ColRecur: Removed redundant code 2016-12-31 11:47:15 -05:00
Paul Beckingham
110db6bb91 ColID: Documented ID 0 case 2016-12-31 11:46:02 -05:00
Paul Beckingham
c81c9f5b58 ColDepends: Removed redundant code 2016-12-31 11:45:31 -05:00
Paul Beckingham
7a4d99f954 ColTags: Corrected use of _name 2016-12-31 11:11:56 -05:00
Paul Beckingham
24f6b2665f ColStart: Removed redundant code 2016-12-31 11:11:42 -05:00
Paul Beckingham
5ae1da51b7 ColRecur: Corrected use of _name 2016-12-31 11:11:08 -05:00
Paul Beckingham
d48c357325 ColRecur: Added _modifiable 2016-12-31 11:10:44 -05:00
Paul Beckingham
a8d7a5122a ColMask: Corrected use of _name 2016-12-31 11:10:13 -05:00
Paul Beckingham
b3e976fbaa ColIMask: Corrected use of _name 2016-12-31 11:09:54 -05:00
Paul Beckingham
3c9081c22b ColEntry: Added _modifiable 2016-12-31 11:09:27 -05:00
Paul Beckingham
9fd1500d20 ColDue: Added _modifiable 2016-12-31 11:09:13 -05:00
Paul Beckingham
62f40d0830 ColDescription: Added _modifiable 2016-12-31 11:08:59 -05:00
Paul Beckingham
9888f98333 ColUDA: Removed redundant code 2016-12-31 10:40:29 -05:00
Paul Beckingham
e616538bcc ColUDA: Added _modifiable 2016-12-31 10:40:11 -05:00
Paul Beckingham
0f4337334c ColUUID: Removed unnecessary header 2016-12-31 10:38:11 -05:00
Paul Beckingham
57e9858c1d ColUrgency: Marked column as unmodifiable 2016-12-31 10:36:13 -05:00
Paul Beckingham
79b2540042 ColWait: Formatting cleanup 2016-12-31 10:34:24 -05:00
Paul Beckingham
3389665227 ColDepends: Corrected use of _name 2016-12-31 10:32:58 -05:00
Paul Beckingham
8e39420375 ColUntil: Formatting cleanup 2016-12-31 10:32:41 -05:00
Paul Beckingham
f3b28374c2 ColScheduled: Fixed bug where the wrong column label was used 2016-12-31 10:32:18 -05:00
Paul Beckingham
a9063284d9 ColScheduled: Formatting cleanup 2016-12-31 10:31:27 -05:00
Paul Beckingham
6818b85c26 ColLast: Corrected use of _name 2016-12-31 10:23:51 -05:00
Paul Beckingham
ade87bda24 ColRType: Added ::setStyle and ::validate 2016-12-31 09:54:31 -05:00
Paul Beckingham
b17bfb50b3 ColType*: Push the ::validate and ::modify methods down from Column 2016-12-31 09:53:42 -05:00
Paul Beckingham
76c2de685b ColRType: New recurrence attribute 2016-12-31 09:09:29 -05:00
Paul Beckingham
aedf99a827 ColLast: New recurrence attribute 2016-12-31 09:01:21 -05:00
Paul Beckingham
5ac7ca6885 ColTemplate: New recurrence attribute 2016-12-31 08:47:47 -05:00
Paul Beckingham
b600671e53 TW-1878: uuids subcommand produces a space-delimited list, not comma-delimited
- Thanks to Scott Kostyshak.
2016-12-22 08:49:57 -05:00
Paul Beckingham
e2d3737590 Config: 'debug.tls' was missing from 'show' command 2016-12-19 12:20:49 -05:00
Paul Beckingham
a7465d58d7 TW-1855: "Well-known" CA certificates not properly auto-loaded
- Thanks to Flavio Poletti.
2016-12-19 12:16:22 -05:00
Paul Beckingham
2d43cbd2c0 Improved certificate validation diagnostics
- Thanks to Jelle van der Waa.
2016-12-19 12:05:36 -05:00
Paul Beckingham
85eb32c87d TLSClient: Added GnuTLS 3.4.6 API support
- This greatly simplifies cert validation.
2016-12-19 12:01:01 -05:00
Paul Beckingham
00a7b377cc TLSClient: Corrected version number for API call 2016-12-19 11:59:24 -05:00
Paul Beckingham
efdf0ca4dd TLSClient: Added handshake timeout 2016-12-19 11:58:33 -05:00
Paul Beckingham
6d3af50604 TLSClient: Commented possible need for version protection 2016-12-19 11:57:24 -05:00
Paul Beckingham
e717d13802 TLSClient: Labelled GnuTLS calls with version numbers 2016-12-19 11:56:47 -05:00
Paul Beckingham
c300cff00f TW-1873: Specify different path to extensions/hooks directory
- Thanks to Eli.
2016-12-19 09:03:27 -05:00
Paul Beckingham
77b3ee0561 Docs: Updated dev docs 2016-12-18 13:06:16 -05:00
Paul Beckingham
5ec4b5ebc9 recur: Migrated from ISO8601d to Datetime 2016-12-17 22:36:29 -05:00
Paul Beckingham
46cd9632a6 Context: Migrated from ISO8601d to Datetime 2016-12-17 22:21:02 -05:00
Paul Beckingham
b670d4b072 Task: Migrated from ISO8601d to Datetime 2016-12-17 22:18:46 -05:00
Paul Beckingham
0cf056f4b2 CmdHistory: Migrated from ISO8601d to Datetime 2016-12-17 22:13:31 -05:00
Paul Beckingham
d3b25f7325 CmdCalendar: Migrated from ISO8601d to Datetime 2016-12-17 22:08:38 -05:00
Paul Beckingham
17f4b0fdbc CmdBurndown: Migrated from ISO8601d to Datetime 2016-12-17 22:01:56 -05:00
Paul Beckingham
340ec66891 Dates: Migrated from ISO8601d to Datetime 2016-12-17 21:56:18 -05:00
Paul Beckingham
ead550cbef CmdTimesheet: Migrated from ISO8601d to Datetime 2016-12-17 21:53:28 -05:00
Paul Beckingham
a81e66b609 ColDescription: Migrated from ISO8601d to Datetime 2016-12-17 21:44:29 -05:00
Paul Beckingham
1908d50be8 rules: Migrated from ISO8601d to Datetime 2016-12-17 21:25:21 -05:00
Paul Beckingham
c1bf321631 TDB2: Migrated from ISO8601d to Datetime 2016-12-17 21:22:35 -05:00
Paul Beckingham
1805cf733b Config: Migrated form ISO8601d to Datetime 2016-12-17 21:19:50 -05:00
Paul Beckingham
392e74cd70 ViewText: Eliminated 2016-12-17 20:23:36 -05:00
Paul Beckingham
1658998864 CmdSummary: Migrated from ViewText to Table 2016-12-17 20:14:13 -05:00
Paul Beckingham
c95aa9fa3c TDB2: Migrated from ViewText to Table 2016-12-17 20:10:21 -05:00
Paul Beckingham
6db3ff7c06 CmdHistory: Migrated from ViewText to Table 2016-12-17 20:02:49 -05:00
Paul Beckingham
0a8fb12dc5 CmdCalendar: Migrated from ViewText to Table 2016-12-17 17:37:47 -05:00
Paul Beckingham
c85862f894 Tests: Broke one tests into eight, so it is clear which one fails 2016-12-17 17:36:11 -05:00
Paul Beckingham
1e7f451093 CmdInfo: Added Table::forceColor 2016-12-17 17:31:21 -05:00
Paul Beckingham
79c1a94289 CmdInfo: Migrated from ViewText to Table 2016-12-17 17:30:44 -05:00
Paul Beckingham
dc851fe4b2 util: Migrated obfuscateText calls to libshared 2016-12-17 16:54:11 -05:00
Paul Beckingham
aad7fa60f8 libshared: Updated to 6d35bef52da4b881fcfb9946dddb01f603e225c8 2016-12-17 16:53:28 -05:00
Paul Beckingham
e6eac50b6c libshared: Updated to 1aa5c92f925a1eeec16639766994f2e6f70bcf8f 2016-12-17 16:36:41 -05:00
Paul Beckingham
8ca1878856 CmdProjects: Migrated from ViewText to Table 2016-12-17 14:47:12 -05:00
Paul Beckingham
8eaf9f7adc CmdCommands: Migrated from ViewText to Table 2016-12-17 14:46:19 -05:00
Paul Beckingham
68253639cd CmdColumns: Migrated from ViewText to Table 2016-12-17 14:22:37 -05:00
Paul Beckingham
d40305f566 CmdShow: Migrated from ViewText to Table 2016-12-17 14:21:48 -05:00
Paul Beckingham
4bd8ff9834 CmdTimesheet: Migrated from ViewText to Table 2016-12-17 14:20:07 -05:00
Paul Beckingham
e73c4ef138 CmdColor: Conencted rc.color to Table::forceColor 2016-12-17 14:19:25 -05:00
Paul Beckingham
ecdb96f7e1 CmdColor: Migrated from ViewText to Table 2016-12-17 13:40:46 -05:00
Paul Beckingham
b5922fbfd1 CmdStats: Migrated from ViewText to Table 2016-12-17 13:38:53 -05:00
Paul Beckingham
2f590bcebc CmdReports: Migrated from ViewText to Table 2016-12-17 13:37:12 -05:00
Paul Beckingham
359b148844 CmdHelp: Migrated from ViewText to Table 2016-12-17 13:36:06 -05:00
Paul Beckingham
25d42347c8 CmdTags: Migrated from ViewText to Table 2016-12-17 13:34:27 -05:00
Paul Beckingham
998b110b02 CmdVersion: Migrated from ViewText to Table 2016-12-17 13:27:20 -05:00
Paul Beckingham
3195e52e23 libshared: Updated to c3f1919945bd370b397314dc1ec245960a401820 2016-12-17 13:24:39 -05:00
Paul Beckingham
3e45b9cf1e L10N: Removed unused strings 2016-12-17 12:59:08 -05:00
Paul Beckingham
c77487994e util: Added missing include 2016-12-12 08:28:24 -05:00
Paul Beckingham
5b7fca8c63 Context: Removed unused class global 2016-12-12 08:28:06 -05:00
Paul Beckingham
b51e8a2945 CmdStats: Converted from ISO8601 to Datetime/Duration 2016-12-11 23:52:18 -05:00
Paul Beckingham
bbce4da1c9 CmdSummary: Converted from ISO8601 to Duration 2016-12-11 23:48:39 -05:00
Paul Beckingham
61b4e36b2c CmdBurndown: Converted from ISO8601 to Duration 2016-12-11 23:13:27 -05:00
Paul Beckingham
72076abc74 CmdInfo: Converted from ISO8601 to Datetime/Duration 2016-12-11 22:27:18 -05:00
Paul Beckingham
c8bdfab4b4 ColUDA: Converted from ISO8601 to Datetime/Duration 2016-12-11 22:23:53 -05:00
Paul Beckingham
4c2fff1b39 ColRecur: Converted from ISO8601 to Duration 2016-12-11 22:21:06 -05:00
Paul Beckingham
cb82795d86 CmdEdit: Converted from ISO8601 to Datetime/Duration 2016-12-11 22:06:47 -05:00
Paul Beckingham
5efca16748 ColTypeDate: Converted fomr ISO8601 to Datetime/Duration 2016-12-11 21:52:30 -05:00
Paul Beckingham
bc58b82e96 DOM: Converted from ISO8601 to Datetime/Duration
- In addition fixed the week number of 2011-09-01 to 35, therefore the
  tests change also.
2016-12-11 21:46:46 -05:00
Paul Beckingham
3ef2459f2e feedback: Migrated from ISO8601 to Datetime/Duration 2016-12-11 21:39:27 -05:00
Paul Beckingham
8a3af0c4a6 recur: Converted from ISO8601p to Duration 2016-12-11 21:32:41 -05:00
Paul Beckingham
2d9c28f47e Task: Converted from ISO8601p to Duration 2016-12-11 21:13:07 -05:00
Paul Beckingham
1c3a68edc0 sort: Converted from ISO8601p to Duration 2016-12-11 21:07:06 -05:00
Paul Beckingham
d9a3be9993 Variant: Converted from ISO8601p to Duration 2016-12-11 21:03:15 -05:00
Paul Beckingham
abd4cfc4ed DOM: Migrated from Nibbler to Lexer 2016-12-11 20:52:54 -05:00
Paul Beckingham
f6ae39cb82 Msg: Migrated to use libshared 2016-12-11 20:33:13 -05:00
Paul Beckingham
cdfd92ed9b Task: Migrated from Nibbler to Pig 2016-12-11 20:00:30 -05:00
Paul Beckingham
a456228e98 libshared: Updated to 9685a22c90ca6f832748f8c71bae3cfad352bc64 2016-12-11 19:56:59 -05:00
Paul Beckingham
b2ad9e96bd text: Eliminated module 2016-12-11 17:51:44 -05:00
Paul Beckingham
87757fb36f util: Migrated optionalBlankLine from text 2016-12-11 17:46:06 -05:00
Paul Beckingham
eb1e35e84b Tests: Eliminated empty text.t test 2016-12-11 17:40:40 -05:00
Paul Beckingham
a0d88aaef8 util: Migrated strippedLength from text 2016-12-11 17:39:11 -05:00
Paul Beckingham
0027c9face util: Migrated nontrivial from text 2016-12-11 17:34:50 -05:00
Paul Beckingham
a7d90fa1fa util: Migrated obfuscateText from text 2016-12-11 17:29:03 -05:00
Paul Beckingham
9f36fdfe65 Context: GC timing correction not always needed 2016-12-11 16:53:28 -05:00
Paul Beckingham
7041c466b4 libshared: Updated to dfb31a41ced0fe48d98efa2b55689201d8e19667 2016-12-11 16:52:01 -05:00
Paul Beckingham
0fecb26536 Task: Corrected str_replace calls 2016-12-11 16:09:37 -05:00
Paul Beckingham
7a43183a3f CLI2: Corrected str_replace calls 2016-12-11 16:09:16 -05:00
Paul Beckingham
065fd8b6f1 Task: Migrated unquoteText to Lexer::dequote 2016-12-11 16:08:47 -05:00
Paul Beckingham
b38eae6930 Tests: Removed migrated autoComplete tests 2016-12-07 01:18:25 -05:00
Paul Beckingham
0dd4ed2836 Tests: Removed migrated text tests 2016-12-07 01:15:01 -05:00
Paul Beckingham
fa420950a0 Tests: Removed migrated util tests 2016-12-07 01:14:47 -05:00
Paul Beckingham
3c6ce4e0fc text: Removed local join/split implementation 2016-12-07 01:14:16 -05:00
Paul Beckingham
6cdb0d4b95 util: Removed confirm 2016-12-06 07:32:19 -05:00
Paul Beckingham
c12deb535e util: Removed execute 2016-12-06 07:28:50 -05:00
Paul Beckingham
45e1622358 util: Removed formatBytes 2016-12-06 07:26:06 -05:00
Paul Beckingham
1bf2d0d20d text: Removed replace_positional 2016-12-06 07:25:41 -05:00
Paul Beckingham
0ed7fa8b2a calc: Migration to libshared 2016-12-06 07:23:25 -05:00
Paul Beckingham
355620c640 libhsared: migrating from local to libshared 2016-12-06 07:20:45 -05:00
Paul Beckingham
456925a02b libshared: Updated to 2af7d037559f84450fffa812829fc553498a7ae4 2016-12-05 23:34:52 -05:00
Paul Beckingham
45182566eb libshared: Updated to 9473050234dd3a90bff5400a081ee54881b6b0f5 2016-11-27 13:36:53 -05:00
Paul Beckingham
4da25ddda8 Docs: Typos in ref PDF
- Thanks to eldios.
2016-11-25 08:26:55 -08:00
Paul Beckingham
f21568ae4c Tests: Set sys.stdout as utf8 2016-11-21 22:07:02 -05:00
Paul Beckingham
973cb8a718 Tests: Fixed test harness for Python 3.x.
- Thanks to jrabbit.
2016-11-21 20:34:18 -05:00
Paul Beckingham
54c0717cdb TLSClient: Improved C++ core guidelines 2016-11-19 13:12:07 -05:00
Paul Beckingham
1772cc0ae9 libshared: Updated to ce5c3414de56a2d1390893bbdc46e7116c38cd90 2016-11-19 10:26:59 -05:00
Paul Beckingham
5a97ffee10 TDB2: Made sure file exists before checking readability 2016-11-19 09:45:04 -05:00
Paul Beckingham
68dac1b6c6 CmdDiagnostics: Made sure file existence is checked before readability 2016-11-19 09:43:39 -05:00
Paul Beckingham
5a5195fbb2 Context: Eliminated load timer 2016-11-13 14:04:03 -05:00
Paul Beckingham
e906b20014 Context: Eliminated render timer 2016-11-13 13:42:48 -05:00
Paul Beckingham
473eaec923 Context: Eliminated hooks timer 2016-11-13 13:37:54 -05:00
Paul Beckingham
88512e25cb Context: Eliminated sort timer 2016-11-13 13:33:55 -05:00
Paul Beckingham
d39934e7b9 Context: Eliminated commit timer 2016-11-13 13:31:31 -05:00
Paul Beckingham
3f1c60cf37 Context: Eliminated filter timer 2016-11-13 13:27:38 -05:00
Paul Beckingham
cfc2fd28e8 Context: Eliminated gc timer 2016-11-13 13:16:48 -05:00
Paul Beckingham
30cfc11f80 Context: Uses inline member initialization 2016-11-13 13:12:07 -05:00
Paul Beckingham
8824d3ae5a Context: Migrated to libshared Timer 2016-11-13 13:10:48 -05:00
Paul Beckingham
fcb21abfa0 TDB2: Migrated to libshared Timer 2016-11-13 13:08:04 -05:00
Paul Beckingham
81fce54fd9 Hooks: Migrated to libshared Timer 2016-11-13 13:07:09 -05:00
Paul Beckingham
f5d46a34aa Config: Migrated to libshared Timer 2016-11-13 13:06:48 -05:00
Paul Beckingham
302b5a5589 Context: Added ::debugTiming to wrap Timer formatting 2016-11-13 13:02:44 -05:00
Paul Beckingham
14e3224c5b libshared: Updated to 200f8c699b3011dbe49483e6343affad86e0ac96 2016-11-13 09:30:13 -05:00
Paul Beckingham
40488808e5 Test: Removed binary output from test 2016-11-06 23:56:55 -05:00
Paul Beckingham
5e3468c1be Test: Removed binary output from test 2016-11-06 23:50:40 -05:00
Paul Beckingham
f82812ab24 Tests: Fixed unit test that emitted unicode, that 'run_all' dislikes 2016-11-06 17:57:35 -05:00
Paul Beckingham
220aaf29f2 Test: Fixed bad typo in test framework 2016-11-06 01:12:56 -04:00
Paul Beckingham
08bbf9aa20 TLSClient: Improved C+ Core Guidelines compliance 2016-11-06 01:05:14 -04:00
Paul Beckingham
688d6b658b TLSClient: No longer calls gnutls_global_{de,}init for 3.3.0+ 2016-11-06 01:04:36 -04:00
Tomas Babej
bcfebffa7f l10n: Make safete valve message more explicit about completed/deleted tasks 2016-10-31 13:25:36 -04:00
Paul Beckingham
9e6839a2c4 Tests: Removed unnecessary imports 2016-10-22 13:21:39 -04:00
Paul Beckingham
4f072d47cd Timer: Migrated to libshared 2016-10-17 21:52:39 -04:00
Paul Beckingham
15e112c54d ViewTask: Removed unused include 2016-10-17 17:16:14 -04:00
Paul Beckingham
363415878c CmdEdit: Migrated from Nibbler to Pig 2016-10-16 23:16:09 -04:00
Paul Beckingham
0400d99c7a CmdUDAs: Migrated from ViewText to Table 2016-10-16 22:53:52 -04:00
Paul Beckingham
fda27a46bf CmdContext: Migrated from ViewText to Table 2016-10-16 22:47:26 -04:00
Paul Beckingham
40f35d6494 Dependency: Don't use string literals when character literals are needed 2016-10-16 22:46:39 -04:00
Paul Beckingham
096f12fd09 Docs: Updated regarding TW-1857 2016-10-16 13:49:05 -04:00
inbinder
6f0a3c12de Src: rules.cpp changed Task::get to Task::has in colorizeProjectNone function 2016-10-16 13:45:28 -04:00
Paul Beckingham
8922728888 Cleanup: Don't use string literals when character literals are needed 2016-10-14 23:11:28 -04:00
Paul Beckingham
95f4989f77 Cleanup: Don't use string literals when character literals are needed 2016-10-14 22:27:34 -04:00
Paul Beckingham
5403675100 libshared: Updated to d84d1bc70b14c85af771bb5cc7299c290d5372b5 2016-10-14 20:51:19 -04:00
Paul Beckingham
4d83ed8588 ColScheduled: Removed unused includes 2016-10-14 19:02:46 -04:00
Paul Beckingham
184e89cddd ColParent: Removed unused includes 2016-10-14 19:02:28 -04:00
Paul Beckingham
ba0674b53f ColMask: Removed unused includes 2016-10-14 19:02:17 -04:00
Paul Beckingham
03c404bc8f ColIMask: Removed unused includes 2016-10-14 19:02:06 -04:00
Paul Beckingham
df1cf61421 ColDue: Removed unused includes 2016-10-14 19:01:46 -04:00
Paul Beckingham
0df3e3b0d9 ColDescription: Don't use string literals when character literals are needed 2016-10-14 18:58:31 -04:00
Paul Beckingham
66915635c8 Build: Eliminated compiler warning 2016-09-09 21:37:37 -04:00
Paul Beckingham
9fc71ff3ec Docs: Removed old reference to support forums 2016-09-05 08:52:17 -04:00
Paul Beckingham
d8bf209f29 Tests: Updated to non-deprecated Boolean values 2016-09-04 16:13:23 -04:00
Paul Beckingham
0b729b5d97 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".
2016-09-04 16:11:59 -04:00
Paul Beckingham
4a48b8112b Docs: Updated dev build instructions 2016-09-02 08:08:12 -04:00
Paul Beckingham
d025f3deb6 TW-1778: Unicode strings are truncated in task description
- Thanks to Andrew, bjonnh, OKOMPer, Vladimir.
2016-08-31 17:48:45 -04:00
Paul Beckingham
394b7174cf L10N: Updated error message to not refer to only pending tasks 2016-08-22 09:19:18 -04:00
Paul Beckingham
e0f5943b63 Docs: Added Ran Benita 2016-08-02 08:25:02 -04:00
Ran Benita
661ce5888f 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.
2016-08-02 08:23:51 -04:00
Paul Beckingham
4b62bf816c Docs: ChangeLog had wrong bug id 2016-07-08 23:09:17 -04:00
Paul Beckingham
62d2514425 Tests: Removed redundant FS tests 2016-06-26 09:21:55 -04:00
Paul Beckingham
d648e0ae44 libshared: Integrated FS 2016-06-26 09:15:08 -04:00
Paul Beckingham
befab82c04 DOM: Eiminated Nibbler 2016-06-25 18:16:34 -04:00
Paul Beckingham
143e149de5 libshared: Added Table 2016-06-25 18:09:36 -04:00
Paul Beckingham
fb3563bf65 Tests: Removed redundant utf8 tests 2016-06-25 17:54:18 -04:00
Paul Beckingham
43de419cdd libshared: Integrated utf8, wcwidth 2016-06-25 17:52:20 -04:00
Paul Beckingham
446580d8dd Tests: Removed redundant listt tests 2016-06-25 17:50:14 -04:00
Paul Beckingham
058f9ab218 Tests: Removed redundant format tests 2016-06-25 17:48:21 -04:00
Paul Beckingham
59f4475466 Tests: Removed JSON tests 2016-06-25 17:42:59 -04:00
Paul Beckingham
802020a7bb Git: Now ignores liblibshared.a 2016-06-25 17:28:15 -04:00
Paul Beckingham
8291e97e87 libshared: Integrated JSON 2016-06-25 17:27:57 -04:00
Paul Beckingham
806043f0ad Tests: Removed RX tests 2016-06-25 17:23:15 -04:00
Paul Beckingham
2e8763364b libshared: Integrated the submodule
- Integrated RX.
2016-06-25 17:22:27 -04:00
Paul Beckingham
77b443ce8b libshared: Added libshared 2016-06-25 17:12:00 -04:00
Paul Beckingham
4de7617c1b Docs: Removed one suggestion for reporting bugs 2016-06-24 22:23:49 -04:00
Paul Beckingham
d031d4282f TW-1820: Install with -DLANGUAGE=2 flag not work.
- Thanks to E. Manuel Cerr'on Angeles
2016-06-14 19:39:30 -04:00
Paul Beckingham
504c49090b L10N: Removed unused strings 2016-06-14 19:36:52 -04:00
Tomas Babej
c79ae0848c 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.
2016-06-12 21:10:01 +02:00
Paul Beckingham
e52709133d TW-1813: Range filter doesn't work
- Thanks to george js.
2016-06-12 14:58:10 -04:00
Paul Beckingham
4711dd9e13 Docs: Added QUARTER virtual tag 2016-05-30 14:13:03 -04:00
Paul Beckingham
ed7097d5da Task: Made better use of ::sameN methods 2016-05-30 14:11:29 -04:00
Paul Beckingham
630a1530e0 Task: Added QUARTER virtual tag 2016-05-30 14:11:07 -04:00
Paul Beckingham
fd69305ad3 Tests: Added ::sameQuarter tests 2016-05-30 14:09:52 -04:00
Paul Beckingham
dd72bed28a ISO8601: Added ::sameQuarter 2016-05-30 14:04:49 -04:00
Paul Beckingham
091122350c Tests: Added 'w' dateformat test 2016-05-20 14:47:34 -05:00
Paul Beckingham
af8434b845 TW-1807: dateformat lacks a flag to display day of week
- Thanks to Ellington Santos.
2016-05-20 14:41:08 -05:00
Paul Beckingham
2720ea5a30 TW-1806: project:ide is not allowed
- Thanks to Slaven ʙanovic.
2016-05-20 11:13:46 -05:00
Paul Beckingham
53b526074f Cleanup: Removed debug output 2016-05-20 10:56:20 -05:00
Paul Beckingham
b47fc523b9 Task: Corrected false-positive warning about relative dates 2016-05-08 16:41:24 -04:00
Paul Beckingham
30c81c3046 ColTypeDate: Fixed countdown format only showing values in the past 2016-05-08 16:37:19 -04:00
Paul Beckingham
d27cb75ec1 util: Corrected comment 2016-05-08 16:36:25 -04:00
Tomas Babej
f79afb6269 NEWS: Deprecate new-uuid verbosity option 2016-05-01 16:30:57 -04:00
Paul Beckingham
70dc1cc9ae L10N: Fixed ambiguity in the esp-ESP localization
- Thanks to Fidel Mato.
2016-04-28 21:02:09 -04:00
Paul Beckingham
a3cc616151 Tests: Removed broken test
- It was not only broken between easter and midsommarafton, but just performing
  an additional comparison. Not needed.
2016-04-15 08:06:17 -04:00
Paul Beckingham
1625dd6f10 TW-1795: Calendar underline on Day padding
- Thanks to Renato Alves.
2016-04-15 07:55:21 -04:00
Paul Beckingham
7910a3cb5a CMake: Added snotty comment about CMake bullshit 2016-04-13 16:35:08 -04:00
Paul Beckingham
2800e473cb Tests: Wrong test count causes unexpected 'green' in test results 2016-04-09 16:18:35 -04:00
Paul Beckingham
7232d79e67 cmake: Use the CXXSniffer 2016-04-09 16:18:07 -04:00
Tomas Babej
3d1498240c TW-1792: The info command uses '0' to reference dependencies on non-pending tasks
- Thanks to Paul Beckingham for providing screenshots capturing the bug.
2016-04-03 13:33:03 -04:00
Tomas Babej
f3147a512c 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.
2016-04-03 09:35:18 -04:00
Paul Beckingham
6f819af367 TW-1791: taskrc(5) manpage: spurious "pri." in rule.precedence.color
- Thanks to Sebastien Badia.
2016-04-02 15:08:35 -04:00
Paul Beckingham
f91df9c972 Tests: Updated test harness 2016-03-29 22:56:07 -04:00
Paul Beckingham
b2d49f3973 Task: Deprecated the 'DUETODAY' virtual tag, which is a synonym for the 'TODAY'
virtual tag.

- Thanks to Tomas Babej
2016-03-29 07:52:38 -04:00
Lynoure Braakman
6a790e3675 juhannus as an alternative name for midsommarafton 2016-03-27 16:48:34 -04:00
Paul Beckingham
325771d899 Tests: Typo in test 2016-03-26 21:21:51 -04:00
Tom Sydney Kerckhove
68cde6aa7e Docs: fixed inconsistency in the spelling of CMake 2016-03-26 10:54:07 -04:00
Tomas Babej
76d9ed2148 TW-1788: Closing a reopened task does not update the end time
- Thanks to Ralph Bean.
2016-03-22 19:33:29 -04:00
Tomas Babej
fe58b42f68 tests: Add test for TW-1788 2016-03-22 19:33:26 -04:00
Tomas Babej
cc324fdb8d validate: Pending tasks cannot have end attribute set 2016-03-22 19:33:24 -04:00
Tomas Babej
727602f26f TW-1772: Implementation of circular dependency detection is inefficient
- Thanks to Michael Meier.
2016-03-21 21:55:59 -04:00
Tomas Babej
10018dac18 dependencyIsCircular: Do not visit one node multiple times 2016-03-21 21:55:55 -04:00
Tomas Babej
58a0e9c2e4 l10n: Propagate the purge-related strings into language files 2016-03-20 14:40:16 -04:00
Tomas Babej
6e2a9c791f docs: Update ChangeLog and NEWS 2016-03-20 14:40:13 -04:00
Tomas Babej
9a29417bb5 docs: Document new purge command 2016-03-20 14:40:09 -04:00
Tomas Babej
9a2a642014 tests: Expand test cases for purge command 2016-03-20 14:40:07 -04:00
Tomas Babej
4b5efe1136 tests: The purge command now requires confirmation 2016-03-20 14:40:04 -04:00
Tomas Babej
ec38b3afd8 CmdPurge: Handle child tasks of recurrence templates 2016-03-20 14:40:01 -04:00
Tomas Babej
4465b48f75 TDB2: Fix wrong comment 2016-03-20 14:39:56 -04:00
Tomas Babej
56a897511f CmdPurge: Simplify implementation 2016-03-20 14:39:51 -04:00
Tomas Babej
b0336dfd50 CmdPurge: Move dependency handling into separate method 2016-03-20 14:39:46 -04:00
Tomas Babej
fd0d2fc917 CmdPurge: Prompt before purging a task 2016-03-20 14:39:43 -04:00
Paul Beckingham
6bca92a488 L10N: Propagated new strings to all LANGS 2016-03-19 22:00:09 -04:00
Paul Beckingham
fd4cf8fec4 Docs: Added MAKEFLAGS example 2016-03-19 21:51:34 -04:00
Tomas Babej
cda4e505e6 tests: Add coverage for purge command 2016-03-19 21:46:38 -04:00
Tomas Babej
293ccfdb02 DEVELOPER: Use multiple jobs during make 2016-03-19 21:46:32 -04:00
Tomas Babej
2b88260531 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.
2016-03-19 21:46:29 -04:00
Tomas Babej
b3652800da CmdPurge: Remove purged tasks from dependencies 2016-03-19 21:46:24 -04:00
Tomas Babej
1caa9daec0 CmdPurge: Add initial implementation 2016-03-19 21:46:21 -04:00
Tomas Babej
96d6fb145f TDB2: Add capability to purge tasks out of data files 2016-03-19 21:46:18 -04:00
Paul Beckingham
7af844fde5 CmdDiagnostics: Typo 2016-03-17 17:17:22 -04:00
Paul Beckingham
e220ee884c TW-1741: Warning "ignoring return value of ‘int ftruncate" while doing make on xubuntu15.10
- Thanks to Sunil Joshi.
2016-02-28 11:19:29 -05:00
Paul Beckingham
eb09df0e6a TD-64: sync conflict deleted all annotations of the task
- Thanks to Markus Beppler, Konstantin Vorobyev.
2016-02-28 11:09:00 -05:00
Paul Beckingham
bc34397e9b calc: Uses osName() to reduce string literals 2016-02-25 00:21:52 -05:00
Paul Beckingham
2d20f4d57b Cleanup: Converted all sprintf to snprintf 2016-02-25 00:19:38 -05:00
Paul Beckingham
88f6872190 Rules: Improved use of 'const' and 'auto' 2016-02-24 23:55:46 -05:00
Paul Beckingham
549b970e49 Cleanup: Removed redundant processing of OS name 2016-02-24 23:43:23 -05:00
Paul Beckingham
bfefd247c4 Context: Combined interactive.cpp and Context.cpp 2016-02-24 23:26:39 -05:00
Paul Beckingham
19b2151f12 Cleanup: Removed deprecated 'alias._query' setting 2016-02-24 23:19:15 -05:00
Federico Hernandez
79e29abddc Bumped ref page to 2.6.0 2016-02-25 00:17:09 +01:00
Federico Hernandez
2c8205317f Bumped documentation to 2.6.0 2016-02-25 00:07:51 +01:00
Federico Hernandez
ef5551f3ec Bumped version number to 2.6.0 2016-02-24 23:49:51 +01: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; -> \"
- &quot;  -> '
- &squot; -> '
- &comma; -> ,
- &colon; -> :
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
Federico Hernandez
b9dc0813d9 Version number and release date for 2.4.2 2015-03-16 00:01:52 +01:00
Paul Beckingham
25c687e1ec Themes
- Updated default theme to match dark-16 or dark-256.
2015-03-15 12:16:40 -04:00
Paul Beckingham
6e98bbbd85 Themes
- Consistency tweaks across all themes.
2015-03-15 12:06:02 -04:00
Paul Beckingham
06c8976be5 Themes
- Changed color.error to white on red.
- Changed color.debug to blue.
- Made color.active more yellow.
- Added color.scheduled.
- Changed due, due.today and overdue to be more yellow.
- Changed color.summary.background to match theme.
- Changed color.undo to match theme.
2015-03-15 11:55:32 -04:00
Paul Beckingham
d13a5a3f47 Themes
- Changed color.error to white on red.
- Changed color.debug to blue.
- Added color.scheduled.
- Changed color.due, color.overdue to match theme.
- Added color.summary.background.
2015-03-15 11:46:00 -04:00
Paul Beckingham
b662afa1ff Themes
- Removed color.completed, color.deleted.
- Darkened color.alternate.
- Changed color.debug to blue.
- Changed color.error to white on red.
- Added fg to color.scheduled.
- Changed color.tag.next to match theme.
- Changed color.undo to match theme.
2015-03-15 11:37:57 -04:00
Paul Beckingham
bde83d3195 Themes
- Darkened color.alternate.
- Changed color.debug to blue.
- Changed color.error to white on red.
- Changed color.warning to match theme.
- Removed color.completed, color.deleted.
- Added fg to color.scheduled.
- Added color.summary.background.
- Darkened color.undo.before.
2015-03-15 11:32:51 -04:00
Paul Beckingham
0edb7e57f6 Themes
- Changed color.debug to blue.
- Change color.error to white on red.
- Added fg to burndown and history.
- Added color.summary.bckground.
- Changed undo colors to match theme.
2015-03-15 11:27:55 -04:00
Paul Beckingham
4569d2da24 Themes
- Changed color.debug to a common blue.
- Changed color.error to white on red.
- Added fg to color.calendar.due.
- Fixed typo for color.synd.added.
2015-03-15 11:21:13 -04:00
Paul Beckingham
6b00f08794 Themes
- Removed color.completed, color.deleted.
- Made color.scheduled more blue than green.
- Made summary light on dark blue.
2015-03-15 11:16:14 -04:00
Paul Beckingham
e83809c6aa Themes
- Lightened color.alternate.
- Changed color.debug to a common blue.
2015-03-15 11:12:26 -04:00
Paul Beckingham
39b736d23e Themes
- Changed color.debug to a readable color.
- Added fg to color.scheduled.
- Removed color.completed, color.deleted.
2015-03-15 11:08:34 -04:00
Paul Beckingham
3e90554f40 Themes
- Removed background color from debug.
- Removed color.completed, color.deleted.
- Darkened color.active, for contrast.
- Removed color.pri.none, which was the same as color.pri.M.
- Inverted color.calendar.holiday.
- Changed burndown and history to use red, yellow, green.

+color.history.delete=color0 on rgb550

 # Report: summary
 color.summary.bar=on rgb141
@@ -82,7 +82,7 @@ color.summary.background=on gray20
 # Command: calendar
 color.calendar.due=on rgb343
 color.calendar.due.today=on rgb353
-color.calendar.holiday=rgb420
+color.calendar.holiday=color0 on rgb530
 color.calendar.overdue=on rgb533
 color.calendar.today=rgb005
 color.calendar.weekend=on gray21
2015-03-15 11:02:27 -04:00
Paul Beckingham
4690b1a6cb Themes
- Removed background color from debug messages.
- Removed color.completed and color.deleted.
- Swapped the overdue magenta for red.
- Changed burndown and history to use red, yellow, green.
- Inverted the calendar holiday colors.
- Removed background from color.calendar.weeknumber.
2015-03-15 10:52:28 -04:00
Paul Beckingham
ce1a7b921c Themes
- Removed all the 16-color names, which do not apply to the solarized palette.
- Modified color.blocking and color.blocked so that both fg and bg are specified.
- Modified color.burndown.* and color.history.* to use red, yellow, green.
2015-03-15 10:40:11 -04:00
Paul Beckingham
7a1645bba3 Themes
- Fixed color.burndown.done and color.burndown.started, which were two different
  shades of red.
- Fixed color.history.done, which was dark gray and should be closer to green.
2015-03-15 10:13:08 -04:00
Paul Beckingham
9f1b3e0d56 Themes
- Added run.default to test the default theme.
2015-03-15 10:08:47 -04:00
Paul Beckingham
0af8b1dbab Themes
- Added 'task color legend' to the scripts to make it easier to spot broken
  themes.
- Removed the 'run' script, which is no longer used.
2015-03-15 09:09:54 -04:00
Tomas Babej
1465bcb918 Context: Do not apply context for the export command 2015-03-14 17:28:20 -04:00
Paul Beckingham
4eb70e68b7 TW-63
- TW-63 indicators for UDAs (thanks to Datvid Patrick).
- Note that this was implemented in 2.4.0 and tracked via the duplicate
  issue TW-161.
2015-03-14 11:57:22 -04:00
Renato Alves
cd216bd4fd simpletap - Add color to test state when running on tty 2015-03-12 20:49:50 +00:00
Renato Alves
ac4a5c6d62 simpletap - Include scenario for expected failures
* Expected failures are treated as "ok" followed by a report of what went wrong
2015-03-12 20:00:02 +00:00
Renato Alves
a67593decf Tests - merge bug.1110.t with filter.t and convert to python 2015-03-12 19:34:58 +00:00
Renato Alves
7be294267b Tests - rename bug.1065.t to custom.config.t and convert to python 2015-03-11 15:32:54 +00:00
Renato Alves
920cdcca10 Tests - convert bug.1063.t to python 2015-03-11 15:32:54 +00:00
Paul Beckingham
7cc410f58e Documentation
- Fixed obsolete wiki reference in the main man page (thanks to David Patrick).
2015-03-11 08:46:05 -04:00
Paul Beckingham
5d42c0f6b6 Themes
- Updated the README for this version, not the previous one.
2015-03-10 19:17:17 -04:00
Renato Alves
cff680d074 Tests - merge bug.1056.t with project.t and convert to python 2015-03-10 19:18:55 +00:00
Renato Alves
dda190703e Tests - merge basic.t with version.t and convert to python
* _version now outputs "2.4.2 (git-ref)" instead of only "git-ref" when building from git.
* Changelog updated accordingly.
2015-03-09 16:02:26 +00:00
Wilhelm Schuermann
281edcc38f Unit Tests
- The Sith must never be allowed to regain their power over us.
2015-03-08 09:04:39 -04: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
87d00698db Unit Tests
- Successful hook tests now query the task to make sure processing continued.
  Could be better.
2015-03-07 16:18:44 -05:00
Paul Beckingham
19674ee339 Unit Tests
- Specifically set certain color rules to '' to override default theme.
2015-03-07 16:11:38 -05:00
Paul Beckingham
9f654a5c95 Unit Tests
- Test was wrong.
2015-03-07 16:06:18 -05:00
Paul Beckingham
87e9578666 Unit Tests
- Combined all the separate color rule tests into one script, and converted
  it to Python.
2015-03-07 13:29:59 -05:00
Paul Beckingham
e3ec52f6ca Unit Tests
- Cleaned up color.t.cpp.
2015-03-07 12:14:39 -05:00
Paul Beckingham
70c3d9845c Unіt Tests
- Merged width.t.cpp into utf8.t.cpp.
2015-03-07 11:59:37 -05:00
Paul Beckingham
9d1c4101c2 Unit Tests
- Renamed feature.exit.t to shell.t so that this test script is known to
  contain shell-interaction tests.
- Converted to Python.
2015-03-07 11:48:42 -05:00
Paul Beckingham
44ed974fa2 Unit Tests
- Fixed all the test descriptions.
2015-03-07 11:44:44 -05:00
Paul Beckingham
3cf7a701c8 Conversion
- Updated script for BSD.
2015-03-07 11:38:52 -05:00
Paul Beckingham
d390f99fc5 Unit Tests
- Simplified the msg.t.cpp tests.
2015-03-07 11:35:48 -05:00
Paul Beckingham
a2cae67644 Unit Tests
- Converted filter-prefix.t to Python.  Still needs a rename and possible merge
  with other tests.
2015-03-07 11:11:18 -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
Renato Alves
ebd6977480 Tests - merge bug.1044 into project.t and convert to python 2015-03-06 16:44:28 +00:00
Renato Alves
276050ce0b Tests - rename bug.1043.t to completion.t and convert to python 2015-03-06 15:19:04 +00:00
Renato Alves
197815a3a7 Tests - convert bug.1036.t to python 2015-03-06 15:10:07 +00: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
5e8426f0cc Config
- The 'next' report was not sㄡrted by urgency, which is wrong (thanks
  to Adam Coddington).
2015-03-05 18:26:43 -05:00
Wilhelm Schuermann
138360b7bc Hooks
- Fixed on-modify hook regression which stopped hooks from modifying
  tasks.  On a related note, more hooks tests are definitely needed.
2015-03-05 07:21:30 -05:00
Renato Alves
7fa3c5ac84 Tests - convert bug.1031.t to python 2015-03-04 00:54:40 +00:00
Renato Alves
b5da4acab9 Tests - run_all script now exports TASKD_USE_PATH=1 2015-03-03 01:50:57 +00:00
Renato Alves
180c382de2 Tests - Finer control on which binaries to look for on PATH
* It is now possible to control whether taskw and/or taskd are looked up
on the PATH by setting TASK_USE_PATH/TASKD_USE_PATH to "1"
2015-03-03 01:46:53 +00:00
Renato Alves
23d4e2b3c9 Tests - rename bug.1023.t to feature.default.project.t and convert to python
Also add testcase from TW-1287 and TW-1279 which are part of the same feature
2015-03-03 01:25:45 +00: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
96185cbd61 Merge branch '2.4.2' of ssh://git.tasktools.org/tm/task into 2.4.2 2015-03-02 16:17:09 -05:00
Paul Beckingham
7665d13d42 Duration
- Removed legacy duration value mapping, which causes much performance
  degradation.
2015-03-02 16:16:39 -05:00
Paul Beckingham
a40967a324 Unit Tests
- Fixed project.t errors.
2015-03-02 11:35:19 -05:00
Paul Beckingham
01feec568b Merge branch '2.4.2' of ssh://git.tasktools.org/tm/task into 2.4.2 2015-03-02 09:35:45 -05:00
Paul Beckingham
104aeb3905 TDB2
- Commented and reorganized for threading.
2015-03-02 09:33:57 -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
Tomas Babej
f0cc0151b7 TDB2: Explicitly mark updates done as addition to optimize performance
We are able to avoid loading the completed.data in certain scenarios.
2015-02-28 16:54:09 -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
Tomas Babej
48be6986c2 Make tasks affect statistics of super-projects 2015-02-28 09:34:10 -05:00
Tomas Babej
ffd6465661 CmdProjects: Enforce garbage collector 2015-02-28 09:33: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
58e62711f3 Virtual Tags
- The 'info' command now shows virtual tags.
2015-02-26 21:09:50 -05:00
Tomas Babej
3b9d88a87b completion: Add bash completion for contexts 2015-02-26 20:51:39 -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
aa8cd54142 TW-1535
- TW-1535 move default listing-break from list to ls (thanks to David Patrick).
2015-02-24 22:57:56 -05:00
Paul Beckingham
651ac3f174 Tw-1551
- TW-1551 Unable to get a UDA value from DOM (thanks to Tomas Babej).
2015-02-24 22:35:18 -05:00
Paul Beckingham
ea78200ae3 TW-1549
- TW-1549 task annotate hangs with specific text pattern (thanks to Alexandre
          de Verteuil).
2015-02-24 22:04:05 -05:00
Paul Beckingham
ad89a90d12 TW-1550
- TW-1550 _contexts helper-command (thanks to David Patrick).
2015-02-24 20:43:28 -05:00
Paul Beckingham
8c6892fed6 Merge branch '2.4.2' into lexer2 2015-02-24 17:03:11 -05:00
Tomas Babej
85d0e1789a CmdContext: Validate context's filter upon definition 2015-02-24 16:55:28 -05:00
Tomas Babej
e19c99ce1e CmdContext: Fix incorrect exception handling 2015-02-24 16:53:23 -05:00
Tomas Babej
0868ba757c CmdConfig: Do not leave empty line upon variable removal 2015-02-24 16:52:55 -05:00
Tomas Babej
bf5f246168 man: Fix copy-paste error in task.1 2015-02-24 16:51:28 -05:00
Tomas Babej
9748fa2ab1 tests: Fix asserted strings in context tests 2015-02-24 16:51:20 -05:00
Tomas Babej
1a0f479394 CmdContext: Add helpful hint to output when setting context 2015-02-24 16:51:05 -05:00
Wilhelm Schuermann
e2f35a1a06 Hooks
- onAdd, onExit, onLaunch and onModify hooks now output feedback messages
  as footnotes when hooks exit with status 0, as per hooks documentation.
2015-02-24 16:45:23 -05:00
Paul Beckingham
0548fca88f Merge branch '2.4.2' into lexer2 2015-02-23 20:22:34 -05:00
Paul Beckingham
394acae790 CmdContext
- Trivіal code edits.
2015-02-23 20:07:53 -05:00
Tomas Babej
e8d385119a Update NEWS and ChangeLog files with the info about the context 2015-02-23 19:25:40 -05:00
Tomas Babej
070fdf60fa localization: Update other locale files 2015-02-23 19:22:06 -05:00
Tomas Babej
1278226c16 CmdContext: Localize the hardcoded strings 2015-02-23 19:22:01 -05:00
Tomas Babej
98410cff42 CmdShow: Add context related variables 2015-02-23 19:21:57 -05:00
Tomas Babej
ee23a099f2 CmdContext: Minor style and message changes 2015-02-23 19:21:50 -05:00
Tomas Babej
0ab1dc0c9c man: Update task and taskrc manpages with the information about context 2015-02-23 19:21:46 -05:00
Tomas Babej
c2a9bb65e6 tests: Add tests for the context feature 2015-02-23 19:20:00 -05:00
Tomas Babej
75cf742a55 tests: Add taskrc_content property 2015-02-23 19:19:55 -05:00
Tomas Babej
dc0502dd9f CLI: Apply context filter directly in getFilter method 2015-02-23 19:19:51 -05:00
Tomas Babej
3a77a5f291 CLI: Add addContextFilter method 2015-02-23 19:19:47 -05:00
Tomas Babej
1abda3900b CLI: Abstract adding new raw filter to a new helper method 2015-02-23 19:19:44 -05:00
Tomas Babej
09fe5be086 CmdContext: Add show subcommand 2015-02-23 19:19:41 -05:00
Tomas Babej
1a3550541b CmdContext: Add support for unsetting context 2015-02-23 19:19:38 -05:00
Tomas Babej
371ca27da0 CmdContext: Add support for setting context 2015-02-23 19:19:35 -05:00
Tomas Babej
5f3dd43893 CmdCompletionContext: Implement the context completion list 2015-02-23 19:19:32 -05:00
Tomas Babej
edb54a51b3 CmdContext: Add list subcommand 2015-02-23 19:19:29 -05:00
Tomas Babej
636f6bfd96 CmdContext: Add initial implementation of the delete subcommand 2015-02-23 19:19:24 -05:00
Tomas Babej
e91063426a CmdContext: Add initial implementation of the context define subcommand 2015-02-23 19:19:18 -05:00
Tomas Babej
a4d5ab07e9 CmdConfig: Abstract saving and removal of the configuration values into separate methods 2015-02-23 19:19:15 -05:00
Tomas Babej
49a7e46eaf CmdContext: Add initial plumbing 2015-02-23 19:19:08 -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
Wilhelm Schuermann
0891ed4b57 Util
- Closed dangling pipes in execute (), resolving problems when a hook script
  forks (thanks to Jens Erat).
2015-02-22 14:43:16 -05:00
Paul Beckingham
9898aa15b5 Merge branch '2.4.2' into lexer2 2015-02-22 14:06:01 -05:00
Wilhelm Schuermann
af772f4c49 Util
- Closed dangling pipes in execute (), resolving problems when a hook script
  forks.
2015-02-22 14:03:30 -05:00
Wilhelm Schuermann
3484e44c7d CMake
- Added workaround for Cygwin build errors.
2015-02-22 13:53:53 -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
Wilhelm Schuermann
be855af8c4 CMake
- Custom compile flags and flags for c++11 ignored even less on OSX now...
2015-02-19 19:17:14 -08:00
Paul Beckingham
d10ad5c7af Lexer2
- Copied in the Lexer2 object.
2015-02-19 08:54:20 -08:00
Paul Beckingham
1ae4ea2ea3 I18N
- Removed unnecessary string termination and exceptions.
- Removed associated localized errors.
2015-02-19 08:51:36 -08:00
Renato Alves
d37937d970 Tests - add total number of tests to conversion script 2015-02-19 14:11:19 +00:00
Renato Alves
51e947064f Tests - merge args.[2-5].t with enpassant.t and convert to python 2015-02-19 13:38:27 +00:00
Renato Alves
606a7505d3 Tests - convert args.5.t to python 2015-02-19 13:02:46 +00:00
Renato Alves
846dd14a9f Tests - convert args.4.t to python 2015-02-19 12:56:19 +00:00
Renato Alves
d8f436cca9 Tests - convert args.3.t to python 2015-02-19 12:54:45 +00:00
Renato Alves
ac9c726782 Tests - convert args.2.t to python 2015-02-19 12:50:40 +00:00
Paul Beckingham
88d65b23c1 CMake Feedback Messages
- Reworded the '-std=c++11' feedback messages to user fewer '!' characters,
  and be more emphatic about upgrading the compiler.
2015-02-18 21:15:58 -08:00
Paul Beckingham
f2998aba74 TW-1547
- TW-1547 Recur column is always shown even if no recurring task is displayed
          (thanks to Renato Alves).
2015-02-18 20:53:56 -08:00
Paul Beckingham
d2b2631db7 TW-1546
- TW-1546 column type due.remaining breaks colors on due tasks (thanks to Renato
          Alves).
2015-02-18 20:18:31 -08:00
Renato Alves
4c491d8a0d Tests - convert args.1.t to python 2015-02-18 19:54:45 +00:00
Renato Alves
917a152a1e Tests - convert args.t to python 2015-02-18 19:32:58 +00:00
Renato Alves
289e45499a Tests - convert append.t to python 2015-02-18 16:26:59 +00:00
Renato Alves
2efb9594d9 Tests - convert annotate.t to python 2015-02-18 14:05:53 +00:00
Wilhelm Schuermann
0d096a5a42 CMake
- Fixed the C++11 config to actually check for availability of C++11 before trying to use it.
- Custom CXX flags no longer ignored on some platforms.
2015-02-17 16:16:02 -08:00
Paul Beckingham
cc1c063925 Merge branch '2.4.2' of ssh://git.tasktools.org/tm/task into 2.4.2 2015-02-17 18:46:41 -05:00
Paul Beckingham
dd31a15001 Portability
- Removed pthreads linkage.
2015-02-17 12:49:58 -05:00
Paul Beckingham
c11601e30e Cleanup
- Removed unused Nibbler::getHex.
2015-02-17 10:58:45 -05:00
Paul Beckingham
520067f522 Cleanup
- Eliminated text.cpp upperCase(), as it was not UTF8-safe, and is no longer
  used.
2015-02-17 10:44:31 -05:00
Paul Beckingham
693fe9b8fd ColPriority
- Made the acceptance of lower-case priorities explicitly either lower or upper
  case, but converted to upper case. This eliminates the dependency on text.cpp
  upperCase(), which is not UTF8-safe.
2015-02-17 10:40:51 -05:00
Renato Alves
fa249bfedd Tests - Convert alias.t to python 2015-02-17 13:46:00 +00:00
Paul Beckingham
952d743218 Cleanup
- Removed duplicate legacy value map entry.
- Added version number to legacy mapping.
- Added TODO for later clarification.
2015-02-17 08:39:53 -05:00
Paul Beckingham
91f6980d2f Documents
- Updated INSTALL instructions with dependencies.
2015-02-17 08:39:17 -05:00
Renato Alves
d211969236 Tests - clarify that USE_PATH alone is not enough. 2015-02-17 13:37:39 +00:00
Renato Alves
bd320b6729 Tests - Remove commented code 2015-02-17 12:24:13 +00:00
Renato Alves
3f004f547e Tests - Don't hang if spawning taskw fails 2015-02-17 12:24:13 +00:00
Paul Beckingham
3b192cddcf Merge branch '2.4.2' of ssh://git.tasktools.org/tm/task into 2.4.2 2015-02-16 19:33:14 -05:00
Paul Beckingham
ca6061a987 Documentation
- Updated for 2.4.2.
2015-02-16 19:32:02 -05:00
Federico Hernandez
2787ee960b Cleanup NEWS file 2015-02-17 00:22:07 +01:00
Federico Hernandez
c27ad4dc27 Bumped version number in ref page 2015-02-17 00:18:45 +01:00
Federico Hernandez
a36eb974ee Bumped version number to 2.4.2 2015-02-17 00:04:04 +01:00
Federico Hernandez
a55a7bf1a2 Added SHA1 of tagged release commit 2015-02-17 00:00:20 +01:00
Federico Hernandez
82e019a4a8 Version number and release date for 2.4.1 2015-02-16 23:38:16 +01:00
Renato Alves
9180aa6e33 Tests - minor formatting changes 2015-02-16 15:37:31 +00:00
Renato Alves
32d837fb25 Tests - Convert add.t to python
* Also added UUID_regex to basetest.utils, likely to be reused
2015-02-16 15:36:38 +00:00
Renato Alves
395b08385b Tests - Rename testname of abbreviation.t 2015-02-16 15:36:09 +00:00
Renato Alves
9cc9e19757 Tests - conversion script was failing due to binaries matching 2015-02-16 14:50:35 +00:00
Renato Alves
c07d74574d Tests - Silence "vramsteg not found" message 2015-02-16 14:36:47 +00:00
Renato Alves
73401664b6 Tests - Convert abbreviation.t to Python and add one more testcase 2015-02-16 14:30:11 +00:00
Renato Alves
d052b8752d Tests - remove unused imports 2015-02-16 14:09:04 +00:00
Renato Alves
68d9e3bb5e Tests - List perl tests to migrate with ./conversion -v 2015-02-16 03:58:49 +00:00
Renato Alves
86837022d3 Tests - conversion script was giving false positives for python 2015-02-16 03:47:12 +00:00
Renato Alves
e831f85823 Tests - Migrate bug.1006.t to python 2015-02-16 03:47:12 +00:00
Renato Alves
4b839f2c83 Tests - Significant speed improvement at cost of CPU cycles 2015-02-16 01:59:47 +00:00
Renato Alves
1e1bd32c42 Tests - Rework how taskw is launched from python
* Should avoid some odd race conditions
2015-02-16 01:59:32 +00:00
Renato Alves
880ab5d665 Tests - Correct use of non-existent exception 2015-02-15 19:43:09 +00:00
Renato Alves
ef583dedea Tests - Update template.t to include assertValidJSONOutput 2015-02-15 18:13:49 +00:00
Renato Alves
1bd26fe9ab Tests - Default to having Python objects as "hook log" 2015-02-15 18:10:36 +00:00
Renato Alves
80c01f3ffb Tests - Remove assertTriggered, redundant with assertTriggeredCount 2015-02-15 18:10:36 +00:00
Renato Alves
7cd42b5d2f Tests - Less verbose hooks.on-*.t tests 2015-02-15 18:10:36 +00:00
Renato Alves
1b218d68f5 Tests - Invalid JSON replies in hooks no longer fail the test framework 2015-02-15 18:10:36 +00:00
Paul Beckingham
e6031183dd Documentation
- Added 'taskd.trust' setting warning in the NEWS file.
2015-02-15 12:10:08 -05:00
Paul Beckingham
f9bcb8cfc8 Unit Tests
- Added unit tests for TW-1542.
2015-02-15 11:45:31 -05:00
Paul Beckingham
2ef0214248 TW-1542
- TW-1542 Large numeric UDA values get rendered in scientific notation on export
          (thanks to Ralph Bean).
2015-02-15 11:24:24 -05:00
Paul Beckingham
0a62061ca8 L10N
- Localized the new strings in Hooks.cpp.
2015-02-15 02:03:24 -05:00
Paul Beckingham
5d96547c07 Documentation
- Prepared more docs for the 2.4.1 release.
2015-02-14 21:12:16 -05:00
Paul Beckingham
eb3afa1fdc Documentation
- Updated ChangeLog.
2015-02-14 20:44:56 -05:00
Paul Beckingham
885ff46066 Unit Tests
- Renamed tw-1452.t to take it out of play, because the bug is not going to be
  fixed for 2.4.1.
2015-02-14 19:10:57 -05:00
Paul Beckingham
5a060802e7 Hooks
- It is now an error for a failing hook script to fail to also generate some
  feedback.
- Updated NEWS file to mention stricter hook script controls.
2015-02-14 18:16:32 -05:00
Paul Beckingham
acce2d5a68 Unit Tests
- Corrected expected output from on-modify-misbehave6 test hook script.
2015-02-14 17:55:02 -05:00
Paul Beckingham
adac566665 Unit Tests
- Corrected expected output from the on-modify-misbehave4 test hook script.
- Moved JSON syntax error details to debug output.
2015-02-14 17:50:28 -05:00
Paul Beckingham
f454eecafb Unit Tests
- Corrected expected output.
- Added 'complete' task to the on-modify-misbehave4 test hook script.
2015-02-14 17:46:24 -05:00
Paul Beckingham
f83702076b Unit Tests
- Updated expected error for on-modify-misbehave3 test hook script.
2015-02-14 17:44:21 -05:00
Paul Beckingham
83519a44c6 Unit Tests
- Added feedback to the on-modify-misbehave2 test hook script.
2015-02-14 17:42:03 -05:00
Paul Beckingham
a2e980c6b8 Hooks
- Deferred JSON checking until after we know whether the hooks voluntarily
  failed the event.
2015-02-14 17:33:48 -05:00
Paul Beckingham
e00704a375 Hooks
- Cleaned up logic for crude JSON detection.
2015-02-14 17:31:37 -05:00
Paul Beckingham
8fb3161a02 Hooks
- Modified expected output from an on-modify hooks script, because it's 1 line
  of JSON, not 2.
2015-02-14 17:19:44 -05:00
Tomas Babej
fa528beb58 Tests: Add test for TW-1510 2015-02-14 17:10:22 -05:00
Paul Beckingham
c5a2b7f759 Unit Tests
- Fixed exected error for on-add-misbehave5. This highlights a potential
  error in the test suite with the one failing test.
2015-02-14 17:03:43 -05:00
Paul Beckingham
4213afd408 Unit Tests
- Fixed on-add-misbehave6 error.
2015-02-14 16:52:47 -05:00
Paul Beckingham
8ad0c1172e Unit Tests
- on-add now detects JSON emitted by hooks for different tasks.
2015-02-14 16:46:52 -05:00
Paul Beckingham
f887173bf7 TW-1510
- TW-1510 Task can save empty value in the data backlog (thanks to Tomas Babej).
2015-02-14 16:33:45 -05:00
Tomas Babej
328b7ec260 Task: Do not export empty attributes in composeJSON 2015-02-14 16:32:41 -05:00
Paul Beckingham
ab41e005c9 Unit Tests
- Added on-exit test for unexpected JSON output.
2015-02-14 16:19:36 -05:00
Paul Beckingham
bd785ffad5 Hooks
- Added a new on-launch-misbehave2 script that emits unexpected JSON.
2015-02-14 16:14:20 -05:00
Paul Beckingham
3cce6c23f5 Hooks
- Hooks now verify the expected number of JSON lines emitted by hook scripts.
2015-02-14 15:50:51 -05:00
Paul Beckingham
ec919a8677 TW-1534
- TW-1534 Urgency coefficient for user project disables 'info' output(thanks to
          Martin).
- Reimplemented 'information' command urgency details as a ViewText.
- Fixed math bug in rightJustify.
2015-02-14 12:50:10 -05:00
Paul Beckingham
5911286218 Documentation
- Relocated Tomas to a better seat.
2015-02-14 11:52:07 -05:00
Paul Beckingham
9e49325d6e TW-1531
- TW-1531 'task export' should handle recurrence (thanks to Tomas Babej).
2015-02-13 20:35:04 -05:00
Tomas Babej
c483c8dda9 CmdExport: Generate recurrent tasks 2015-02-13 20:31:46 -05:00
Paul Beckingham
2d2579d801 Unit Tests
- Fixed bug in test where the rc path name contains a number, which is found by
  the test in place of an unexpected week number.
2015-02-08 14:04:22 -05:00
Paul Beckingham
4f6c51e7ae Unit Tests
- Updated README with suggested work.
- Removed obsolete TAP.py.
- Added 'conversion' script to check on the Perl -> Python progress.
2015-02-08 13:51:27 -05:00
Paul Beckingham
cd6808ab15 Unit Tests
- Removed color.duetoday.t, because of two reasons. First, the test is flawed,
  and second the test is duplicated in tw-285.t.
2015-02-08 13:22:05 -05:00
Paul Beckingham
8b648bc690 Unit Tests
- Reduced hh from 99:00:00 to 95:00:00, because with the +01:00 it becomes
  100:00:00, and '100' exceeds Nibbler::getDigit2.
2015-02-08 13:18:23 -05:00
Paul Beckingham
9a0a6188b1 Documentation
- Added email address to which patches should be sent (thanks to mathstuf).
2015-02-07 18:50:03 -05:00
Paul Beckingham
b79453afa7 TW-1532
- TW-1532 Hooks does not execute any script on Cygwin (thanks to Taisuke
          Hachimura).
2015-02-07 14:45:06 -05:00
Paul Beckingham
60dddffda3 TW-1524
- TW-1524 Build Broken (thanks to Jack).
2015-02-07 14:39:25 -05:00
Paul Beckingham
e8dc5a16a1 Portability
- Clarified the requirements regarding C++11 support, libuuid and gnutls.
2015-02-07 14:37:51 -05:00
Paul Beckingham
528e72062b Hooks
- Fixed the ::execute function used by Hooks and CmdCalendar to run commands,
  by following the convention:

    "The first argument, by convention, should point to the file name associated
     with the file being executed."
     (man execvp)
2015-02-07 14:08:58 -05:00
Paul Beckingham
876820ee1a Unit Tests
- Restored bash as the interpreter for wrapper.sh.
2015-02-07 10:39:16 -05:00
Paul Beckingham
8e730f2da3 Hooks
- Updated examples to not rely on bash being in /bin.
2015-02-07 10:25:50 -05:00
Paul Beckingham
8b28c36485 Unit Tests
- Modified the test_hooks/* scripts to use /bin/sh, which is portable. When
  using /bin/bash, Cygwin and FreeBSD silently fail.
2015-02-07 10:22:07 -05:00
Paul Beckingham
04be198281 Unit Tests
- Added on-modify hook tests.
2015-02-07 08:58:47 -05:00
Paul Beckingham
1b69ac6ad2 Unit Tests
- The on-modify-misbehave1 test is not useful.
2015-02-07 08:57:27 -05:00
Paul Beckingham
b1081bd510 Unit Tests
- Added hook tests for on-add.
2015-02-07 08:41:02 -05:00
Paul Beckingham
a72322b9db Unit Test
- Added tests for on-exit hooks.
2015-02-02 12:37:39 -05:00
Paul Beckingham
82e6574d30 Unit Tests
- Added tests for on-launch hooks.
2015-02-01 18:37:18 -05:00
Paul Beckingham
1f14454be7 Merge branch '2.4.1' of ssh://git.tasktools.org/tm/task into 2.4.1
Conflicts:
	test/template.t
2015-02-01 17:01:58 -05:00
Paul Beckingham
384ca82292 Unit Tests
- Hooks snapshot prior to pull.
2015-02-01 17:00:39 -05:00
Renato Alves
066143d939 Unittest - template.t use docstring for proper test description on execution 2015-02-01 20:39:38 +00:00
Renato Alves
e845a25ea6 Unittest - Replace the timestamp function on wrapper.sh
* %N is not supported by /bin/date on BSD systems
2015-02-01 20:35:11 +00:00
Renato Alves
75a2b11638 Unittest - Update template.t to use Hook.assert* functions 2015-02-01 19:33:08 +00:00
Renato Alves
6a3edc88a1 Unittest - properly implement Hook.assert* functions 2015-02-01 19:33:08 +00:00
Renato Alves
bb3555f217 Unittest - Bad exception formatting 2015-02-01 19:33:08 +00:00
Paul Beckingham
5de80eedeb Unit Tests
- Typos in template.t.
2015-02-01 12:36:54 -05:00
Paul Beckingham
10c1b5f902 Merge branch '2.4.1' of ssh://git.tasktools.org/tm/task into 2.4.1 2015-02-01 11:53:11 -05:00
Renato Alves
049ed04471 Unittest - Document the magic line in wrapper.sh 2015-02-01 06:23:34 +00:00
Paul Beckingham
3ff42af9c7 Unit Tests
- Added sample hooks that behave/misbehave in various ways.
2015-01-31 18:34:25 -05:00
Paul Beckingham
1cfdfbae52 Hooks
- Removed the ability for hooks to add tasks, or modify tasks that are outside
  the context of the current event. This makes hooks a local mechanism that
  operates only on local changes. Modifications/additions coming in via sync
  command are not processed by hooks.
2015-01-31 17:47:58 -05:00
Paul Beckingham
61291e4d1e C++
- ColumnDate::~ColumnDate should be virtual.
2015-01-31 13:23:45 -05:00
Tomas Babej
77ec56dcd0 Tests: Add test case for disabled recurrence mechanism 2015-01-25 16:06:26 -05:00
Paul Beckingham
d0f74c4a80 Unit Tests
- Fixed a broken test that returns different values are different times of the
  year/month.
- Removed silly tests that were looking at color values, which is a bad idea.
2015-01-25 16:00:43 -05:00
Paul Beckingham
4bdee56fa7 Configuration
- New 'recurrence' configuration setting can disable recurring task generation.
2015-01-25 15:41:31 -05:00
Paul Beckingham
8323407242 TW-1504
- TW-1504 On-modify hook does not accept correct JSON format (thanks to Tomas
          Babej).
2015-01-25 14:51:07 -05:00
Paul Beckingham
6626207ad1 TW-1522
- TW-1522 Date format doesn't like hyphens (thanks to Scott Carter).
2015-01-25 14:49:02 -05:00
Paul Beckingham
4865269630 Hooks
- Modified loop so it no longer walks the whole list unnecessarily.
- Minor style tweaks.
2015-01-25 10:33:03 -05:00
Tomas Babej
8683574b18 Hooks: Make sure that original task is properly detected
On modify event uses UUID of the original task being modified
to determine which line should be interpreted as modification
of the task.

This was achieved by searching by a substring in a specific JSON
format, which, consenquently, failed on JSON strings of other (valid)
formats.
2015-01-25 10:28:04 -05:00
Paul Beckingham
5e90510530 Merge branch '2.4.1' of ssh://git.tasktools.org/tm/task into 2.4.1 2015-01-24 10:12:43 -05:00
Tomas Babej
a8bab90c34 Documentation
- Update the man page with the correct description of behaviour of
  rc.confirmation and rc.bulk variables
2015-01-24 10:12:32 -05:00
Renato Alves
87c2a9b5a5 Unittest - README clarifications
* Add one line command to run all tests
* Clarify that only tests ending with .t and execute bit set are run
2015-01-21 12:13:19 +00:00
Paul Beckingham
cba5948a1d Unit Tests
- Took the tw-1481.t test offline, because the bug will not be fixed in the
  next release.
2015-01-20 22:06:46 -05:00
Paul Beckingham
f4a6ec6f97 Documentation
- Updated README.
2015-01-20 22:05:11 -05:00
Paul Beckingham
a3490966c0 Documentation
- Added README to explain the test suite.
2015-01-20 21:52:17 -05:00
Paul Beckingham
855537b975 TW-1517
- TW-1517 Hook performance should be measured individually for each hook (thanks
          to Tomas Babej).
2015-01-20 20:33:31 -05:00
Paul Beckingham
473019c1f0 TW-1519
- TW-1519 Testing suite forces taskd.trust="ignore hostname" (thanks to Renato
          Alves).
2015-01-20 20:18:13 -05:00
Renato Alves
d1698eab2d Fix usage of taskd.trust=strict on the test suite
* This reverts commit 67cb30fdce.
* Code also now tests if taskd is listening on IPv4 or IPv6 interfaces.
2015-01-20 11:56:53 +00:00
Paul Beckingham
73b7b21b81 Certs
- Replaced all the certs for testing.  This may not help, but it does mean
  there were recreated using the current PKI scripts, and are all consistent.
2015-01-19 18:25:21 -05:00
Paul Beckingham
44f2c0c98c Unit Tests
- Added JSON test which includes spaces.
2015-01-19 18:09:54 -05:00
Tomas Babej
654159b2fd Hooks: Add per-hook time measurement 2015-01-19 16:07:34 -05:00
Renato Alves
67cb30fdce Unittest - default to taskd.trust="ignore hostname"
* The currently available taskd testing certificates fail if
taskd.trust is set to strict. See also: TW-1519
2015-01-19 15:07:06 +00:00
Renato Alves
7d75547f44 Ignore taskd in src folder (for running taskd tests) 2015-01-19 15:00:02 +00:00
Renato Alves
d68fa7ea8a Unittest - Template updated to include hook test examples 2015-01-19 14:58:06 +00:00
Renato Alves
db78851b40 Unittest - Hook testing, fixed a few mistakes 2015-01-19 14:54:11 +00:00
Tomas Babej
6fdf0738a7 Hooks: Improve debugging messages for on-exit hooks 2015-01-18 13:27:32 -05:00
Paul Beckingham
41003fc78b Code Cleanup
- Removed whitespace at EOL.
2015-01-17 19:05:09 -05:00
Wilhelm Schuermann
d2928dc4e4 TW-1516 Hook input not ended with EOF
- Made execute() send EOF when all input is written.
- Minor code cleanup.
2015-01-17 19:04:31 -05:00
Wilhelm Schuermann
61deb7ce7e CMake
- Fix CMAKE_CXX_FLAGS change to preserve previous flags.
2015-01-17 18:58:38 -05:00
Renato Alves
0311ea6689 GnuTLS optionally compiled - defaults to yes
* Allow optionally disabling GnuTLS via config var (USE_GNUTLS)
2015-01-14 13:17:25 +00:00
Paul Beckingham
0b0ddbfbc4 TW-1491
- TW-1491 Regression in deleting due dates (thanks to Jens Erat).
2015-01-12 15:52:15 -05:00
Jens Erat
cd31335742 TW-1491 - TW-1491 Regression in deleting due dates 2015-01-12 15:42:58 -05:00
Tomas Babej
5a3037f257 Tests: Fix error in export.t and add test for urgency 2015-01-12 15:38:44 -05:00
Paul Beckingham
a22d173b9b TW-1487
- TW-1487 Task export exports some numeric attributes as strings (thanks to
          Tomas Babej).
2015-01-11 09:07:04 -05:00
Paul Beckingham
134d201cb0 TW-1457
- TW-1457 Non-existant attributes are not properly handled (thanks to Tomas
          Babej).
2015-01-10 15:53:55 -05:00
Paul Beckingham
547d9edb55 TW-1484
- TW-1484 The 'history' and 'ghistory' reports do not obey rc.color.label.
2015-01-10 15:49:42 -05:00
Paul Beckingham
cdde747733 TW-1498
- TW-1498 Filtering for presence of UDA matches all tasks (thanks to Ralph Bean).
2015-01-10 14:36:21 -05:00
Paul Beckingham
588009d679 TW-1501
- TW-1501 Calc can't handle multi-digit numbers in some expressions (thanks to
          Jeremy John Reeder).
2015-01-08 20:40:29 -05:00
Paul Beckingham
adf9f25289 Unit Tests
- Removed failing tests, as there is no plan to address all these now.
2015-01-07 23:43:11 -05:00
Paul Beckingham
ea0397f542 TW-1495
- TW-1495 German translation for taskwarrior (thanks to Jens Erat).
2015-01-07 23:23:25 -05:00
Paul Beckingham
411fab3a27 Hooks
- Added debug output on startup, if a hook script is found and does not have
  a valid name.
2015-01-07 22:54:55 -05:00
Paul Beckingham
da6a57b203 Hooks
- The 'diag' command should indicate misnamed hook scripts (thanks to Tomas
  Babej).
2015-01-07 18:43:14 -05:00
Tomas Babej
235e4ef047 Tests: Add negative tests for parsing time 2015-01-07 17:14:49 -05:00
Tomas Babej
1dbb0a57a8 Tests: Add negative tests for parsing dates 2015-01-06 19:14:04 -05:00
Paul Beckingham
5a7117630e Unit Tests
- Typo.
2015-01-05 20:04:26 -05:00
Paul Beckingham
e9f9f6a86e Unit Tests
- Added copyright and removed whitespace at EOL.
2015-01-05 19:52:17 -05:00
Tomas Babej
8ea1563944 Tests: Add basic coverage for the types of attributes in the export command 2015-01-05 19:48:52 -05:00
Wilhelm Schuermann
e522c1980a TW-1424
- Fixed tw-1424.t (mostly).
2015-01-05 06:53:51 -05:00
Paul Beckingham
845fe047cc C++11
- Converted one source file to use an actual C++11 feature. If no one notices
  we can move forward and start using supported featues. If it's a problem,
  this commit gets rolled back.

  GCC 4.6 (released March 2011), and Clang 3.0 (releasd November 2011) both
  support N2930 (range-based for) which is the feature being tried here.
2015-01-04 22:01:22 -05:00
Paul Beckingham
5932d9f90b Portability
- More STDOUT_FILENO conversions.
2015-01-04 22:00:08 -05:00
Paul Beckingham
a8ff7655ef Portability
- Properly detects Cygwin.  version 2.
2015-01-04 21:37:47 -05:00
Paul Beckingham
79cc9d8ed9 Portability
- Properly detects Cygwin.
2015-01-04 21:29:46 -05:00
Paul Beckingham
b83dc8a29e Portability
- Added '-std=gnu++0x' for Cygwin.
2015-01-04 20:39:42 -05:00
Paul Beckingham
99ebf82c3a Context
- Eliminated fileno() by using unistd.h STDOUT_FILENO. This is because fileno()
  is not visible with '--std=c++11'.
2015-01-04 20:25:25 -05:00
Paul Beckingham
231e8ca913 Portability
- Missing include on Cygwin only.  Odd.
2015-01-04 20:17:56 -05:00
Paul Beckingham
9bd9a3b285 C++
- Enabling C++11, as a test.  Let's see if anything blows up.
2015-01-04 20:11:32 -05:00
Paul Beckingham
b882cd151e Build
- Added code to set poicy CMP0037 to "OLD", which eliminates the warnings about
  the 'test' target.
2015-01-04 18:59:09 -05:00
Paul Beckingham
a3b0d5c6a6 Unit Tests
- Added copyright to tests that were missing it.
2015-01-04 10:55:01 -05:00
Paul Beckingham
d1664b3f55 Unit Tests
- Re-enabled bug.982.t and fixed the regex so it is right. This test was created
  for a parsing bug which is now fixed.
2015-01-04 10:40:21 -05:00
Paul Beckingham
1cac14f3f8 Unit Tests
- This disabled test is verifying 'Total Active Time' functionality that has
  itself been removed.
2015-01-04 10:35:57 -05:00
Paul Beckingham
507e2d5807 Unit Tests
- Added copyright, fixed test name.
2015-01-04 10:30:10 -05:00
Tomas Babej
c664d62c2f Tests: Add coverage for TW-1452 2015-01-04 10:23:38 -05:00
Paul Beckingham
f32c4d1f73 TW-1492
- TW-1492 compiling v2.4.0 using musl(libc) (thanks to V.Krishn).
2015-01-04 10:14:15 -05:00
Paul Beckingham
9bf7dfda4f AUTHORS
- Upgrade Tomas to the dev section.
2015-01-03 20:25:30 -05:00
Tomas Babej
2a782b8f01 Tests: Add coverage for TW-1481 2015-01-03 20:21:46 -05:00
Paul Beckingham
3c07510a43 Unit Tests
- Added copyright to template.
2015-01-03 20:20:30 -05:00
Paul Beckingham
07eff0f3c1 Bug
- Changed assorted reports so they do not use '.age' format for dates that are
  in the future, because those are never shown with this format.
2015-01-03 17:56:20 -05:00
Paul Beckingham
dad0ac0c27 TW-1486
- TW-1486 task wait shows completed tasks which has a wait attribute (thanks to
          Sujeevan Vijayakumaran).
2015-01-03 09:31:54 -05:00
Paul Beckingham
2c986d6e6b Unit Tests
- Fixed typo in comment.
2015-01-03 09:24:07 -05:00
Paul Beckingham
1e8f83cab9 Themes
- Removed 'bold' from a 256-color definition.
2015-01-02 08:55:18 -05:00
Paul Beckingham
15f00452c2 Themes
- Increased contrast for 'color.blocking'.
2015-01-02 08:54:50 -05:00
Paul Beckingham
6a3b13dbfc Documentation
- Initial project version doc updates.
2015-01-02 00:01:32 -05:00
Federico Hernandez
8180b94b1b Bumped version number in task reference pdf 2015-01-02 01:05:03 +01:00
Federico Hernandez
6aafa9f04e Bumped version number to 2.4.1 2015-01-02 00:44:49 +01:00
Federico Hernandez
fe07f62214 Added SHA1 of tagged release commit 2015-01-02 00:39:40 +01:00
Federico Hernandez
670102842c Version number and release date for 2.4.0 2015-01-02 00:11:32 +01:00
Federico Hernandez
c9e09aa4b5 Bumped version and date in task reference page 2015-01-01 23:53:08 +01:00
Paul Beckingham
09252c617f Unit Tests
- Commented naive tests that fail on 2015-01-01.
2015-01-01 17:35:05 -05:00
Paul Beckingham
52479f560f Unit tests
- Commented tests that are performing naive date math, which breaks on
  2015-01-01, among other dates.
2015-01-01 17:32:31 -05:00
Paul Beckingham
d6bd5630fa Config
- Updated the default, built-in themes.
2015-01-01 17:27:05 -05:00
Paul Beckingham
7111e9d5f5 Config
- The list of themes in the default .taskrc file is now complete and correct.
2015-01-01 17:22:26 -05:00
Paul Beckingham
5425ac66cb Themes
- Added more blue to dark-gray-blue-256.
2015-01-01 17:16:39 -05:00
Paul Beckingham
718204af0d Themes
- Restored some blue to the dark-gray-blue theme.
2015-01-01 17:09:24 -05:00
Paul Beckingham
c5fffe2fe6 Themes
- Removed green/yellow from the dark-gray theme.
2015-01-01 17:03:56 -05:00
Paul Beckingham
95866b7e87 Themes
- Removed the partially complete experimental themes.
2015-01-01 16:36:17 -05:00
Paul Beckingham
c8e013ca31 Theme Samples
- Updated scripts for generating theme swatches.
2015-01-01 14:45:08 -05:00
Paul Beckingham
34c4b61e3d Themes
- Removed 'inverse' from rc.color.label, for readability.
2015-01-01 14:31:15 -05:00
Paul Beckingham
7bcec61c53 Merge branch '2.4.0' of ssh://git.tasktools.org/tm/task into 2.4.0
Conflicts:
	doc/rc/dark-16.theme
	doc/rc/dark-256.theme
	doc/rc/dark-blue-256.theme
	doc/rc/dark-gray-256.theme
	doc/rc/dark-gray-blue-256.theme
	doc/rc/dark-green-256.theme
	doc/rc/dark-red-256.theme
	doc/rc/light-16.theme
	doc/rc/light-256.theme
	doc/rc/solarized-dark-256.theme
	doc/rc/solarized-light-256.theme
2015-01-01 13:27:10 -05:00
Paul Beckingham
288291af72 Themes
- All themes have the same settings, in the same order.
- Reduced noise in the file header.
2015-01-01 13:22:46 -05:00
Paul Beckingham
b7ad091d00 Updated copyright to 2015 2015-01-01 00:00:41 -05:00
Paul Beckingham
38daf415ff TW-1482
- TW-1482 Priority values may be 'H', 'M' or 'L', not ''.
2014-12-30 23:24:54 -05:00
Paul Beckingham
8afdb3d8d5 TW-1477
- TW-1477 Incompatibility with recurring tasks created with 2.3.0 (thanks to
          David Costa).
2014-12-28 19:23:08 -05:00
Paul Beckingham
d8691bc993 Text
- More polymorphic formatting.
2014-12-28 13:05:32 -05:00
Paul Beckingham
8de2a1030e Eval
- Reduced the verbosity of Eval under rc.debug.parser=3, improving readability.
- Updated unit tests regarding modified debug output.
2014-12-28 12:48:16 -05:00
Paul Beckingham
fe2f5de230 Unit Tests
- Added _neg_ unit tests for integer, real and duration.
2014-12-28 10:04:20 -05:00
Paul Beckingham
0f780bcfae Unit Tests
- Removed Variant definitions of unused EPSILON values.
2014-12-28 09:27:31 -05:00
Paul Beckingham
c0424cedeb Eval
- The _neg_ operator was a copy/paste of the ! operator, and needed to be
  numeric, not boolean.
2014-12-28 09:18:59 -05:00
Paul Beckingham
78f1f29db1 TW-292
- TW-292 Override to suppress "this is reccurring task" message (thanks to Max
         Muller).
2014-12-27 20:13:55 -05:00
Paul Beckingham
5c0ee12c60 Tw-210
- TW-210 project search options.
2014-12-27 18:05:42 -05:00
Paul Beckingham
52958ad2cd Tw-174
- TW-174 Provide an easy way to match non-leaf-node projects only (thanks to Ben
         Armstrong).
2014-12-27 15:37:33 -05:00
Paul Beckingham
3f8095166e TW-161
- TW-161 UDA indicator (thanks to Jim B).
2014-12-27 15:30:41 -05:00
Paul Beckingham
4622af1c35 TW-159
- TW-159 show sort field(s) as bold in listing headers.
2014-12-27 14:56:09 -05:00
Paul Beckingham
bbc40c051d Tw-145
- TW-145 default.due should accept a Duration (thanks to Ozgur Akgun).
2014-12-27 14:44:31 -05:00
Paul Beckingham
8590af8cf2 TW-139
- TW-139 Possibility to execute shadow file generation (thanks to Arnoud K).
2014-12-27 14:15:25 -05:00
Paul Beckingham
e10cb48118 TW-105
- TW-105 Doc needed - a comprehensive 'setup' walkthrough.
2014-12-27 12:43:12 -05:00
Paul Beckingham
fb885b69d7 TW-100
- TW-100 lazy dates (thanks to John Florian).
2014-12-27 11:45:31 -05:00
Paul Beckingham
6ce2b0c920 Tw-90
- TW-90 configurable wait until day/week/month/year (thanks to Aikido Guy).
2014-12-27 11:38:35 -05:00
Paul Beckingham
0e147d6251 TW-71
- TW-71 task ls/list/long/etc. should match contents of projects too (thanks to
        Cory Donnelly).
2014-12-27 10:21:36 -05:00
Paul Beckingham
d967871831 TW-55
- TW-55 Bulk edit recurring tasks without answering yes/no for each? (thanks to
        Max Muller).
2014-12-27 10:04:19 -05:00
Paul Beckingham
47def92c82 TW-52
- TW-52 "task add ... recur:2 months" interpreted as "2s" (thanks to jwhisnant).
2014-12-27 10:00:52 -05:00
Paul Beckingham
e8602306ed TW-47
- TW-47 odd ball usage (thanks to Aikido Guy).
2014-12-27 09:53:23 -05:00
Paul Beckingham
b3af2af6ff TW-45
- TW-45 task recur:daily doesn't behave as expected (thanks to Nick Person).
2014-12-27 09:33:18 -05:00
Paul Beckingham
b18b7cc588 TW-42
- TW-42 "add" reports wrong task number when executed after "done" (thanks to
        Steve Rader).
2014-12-27 09:30:45 -05:00
Paul Beckingham
2d63ba63e0 TW-37
- TW-37 Problem with fractions? (thanks to Aikido Guy).
2014-12-27 09:09:52 -05:00
Paul Beckingham
ebe243afb0 TW-29
- TW-29 Deletion of recurring tasks behaving strangely (thanks to Cory Donnelly).
2014-12-27 08:50:16 -05:00
Paul Beckingham
96c5e77450 TW-24
- TW-24 incorrect use of xterm colorization escape sequences (thanks to Steve
        Rader).
2014-12-26 10:43:23 -05:00
Paul Beckingham
98091a6100 TW-14
- TW-14 Parent recurring tasks cannot be deleted (thanks to Miguel de Val Borro).
2014-12-26 10:28:16 -05:00
Paul Beckingham
66ba5a153c TW-2
- TW-2 Unexpected behaviour - marking task as done releases task ID (thanks to
       Cory Donnelly).
2014-12-26 10:19:03 -05:00
Paul Beckingham
1488c1c6fa TW-1, TW-1438
- TW-1 Recurring task message on the same task (thanks to Profpatsch).
2014-12-26 10:16:11 -05:00
Paul Beckingham
8795b0a692 TW-1447
- TW-1447 Not possible to filter on a UDA of type String (thanks to atomicules).
2014-12-25 17:18:44 -05:00
Paul Beckingham
143fb60d15 Unit Tests
- Refactored, now cleaner.
2014-12-25 16:32:20 -05:00
Paul Beckingham
44eae76188 Unit Tests
- Implemented proper Test::More skipping.
2014-12-25 16:29:16 -05:00
Paul Beckingham
db9b17bcb2 Unit Tests
- Skipped regex case-insensitive tests on Cygwin.  Doesn't work.
2014-12-25 16:19:21 -05:00
Paul Beckingham
41473252bf Unit Tests
- Skip regex, case-insensitive tests on Cygwin.  Because it doesn't work.
2014-12-25 16:03:11 -05:00
Paul Beckingham
5a81fda835 Unit Tests
- Made test more portable.
2014-12-25 15:57:06 -05:00
Paul Beckingham
8e31ae2075 TW-1445
- TW-1445 Aliases broken: cannot contain multiple arguments anymore (thanks to
          Johannes Schlatow).
2014-12-25 15:24:58 -05:00
Paul Beckingham
e924913e11 TW-1417
- TW-1417 Misaligned fields in report for "remaining" date (thanks to Jeremy
          John Reeder).
2014-12-24 10:00:57 -05:00
Paul Beckingham
84dc7dd245 TW-1423
- TW-1423 Using the date February 29th, in a non leap year does not fail well
          (thanks to Black Ops Testing).
2014-12-24 09:03:49 -05:00
Paul Beckingham
2c1f18bf26 TW-1442
- TW-1442 Dateformat incorrectly interpreted (thanks to Dirk Deimeke).
2014-12-24 00:29:46 -05:00
Paul Beckingham
be659a7325 TW-1416
- TW-1416 Dates can't be input with hyphens (thanks to Jeremy John Reeder).
2014-12-24 00:26:29 -05:00
Paul Beckingham
1be01b19a4 Task
- Prevented some (but not all) errors from being incorrectly displayed as "no
  longer support file format 1".
2014-12-24 00:15:35 -05:00
Paul Beckingham
632fca4c9a Unit Tests
- Explicitly set colors so that tests are not dependent on current defaults.
2014-12-24 00:11:16 -05:00
Paul Beckingham
eb7b55ceef Unit Tests
- Explicitly set colors so that tests are not dependent on current defaults.
2014-12-23 23:57:14 -05:00
Paul Beckingham
7e8c277bb7 Unit Tests
- Added explicit rc.rule.precedence.color to make the test independent of the
  current defaults.
2014-12-23 23:51:37 -05:00
Paul Beckingham
7795570e61 Build
- Broke the build with code in a hidden ifdef.
2014-12-23 23:46:28 -05:00
Paul Beckingham
b6a4a9c197 Config
- The default color theme is now dark-256 for Linux, and dark-16 for everything
  else.
2014-12-23 22:45:04 -05:00
Paul Beckingham
7a243816c0 Themes
- Updated light & dark themes (thanks to David Patrick).
2014-12-23 22:30:39 -05:00
Paul Beckingham
4926888332 Documentation
- Updated man page to reflect the rc.regex=on default.
2014-12-14 18:43:07 -05:00
Paul Beckingham
d01d2109cf TW-1471
- TW-1471 task calc uses output it doesn't understand (thanks to Jens Erat).
2014-12-14 18:34:12 -05:00
Paul Beckingham
63dcea9c37 Documentation
- Updated man page for tw-1469.
2014-12-14 13:38:24 -05:00
Paul Beckingham
7b8ccf57c6 TW-1469
- TW-1469 Case-insensitive searching broken on Cygwin (thanks to Richard
          Boß).
2014-12-14 13:31:33 -05:00
Paul Beckingham
8228c8bf83 Unit Tests
- Added unit tests for tw-1469.t, to verify behavior on suported platforms.
2014-12-14 11:02:36 -05:00
Paul Beckingham
34ef9f6dd7 TW-1449
- TW-1449 Nag function does not respect urgency (thanks to Tomas Babej).
2014-11-29 16:58:06 -05:00
Paul Beckingham
9349d5808c Unit Tests
- Modified test so that it passes, which is a temporary measure. The problem is
  unfixed, but there is a workaround.
2014-11-29 16:38:35 -05:00
Paul Beckingham
206323dd6a TW-1468
- TW-1468 Filtering for project and description has issues (thanks to Richard
          Boß).
2014-11-28 12:24:51 -05:00
Paul Beckingham
9a95696872 Code Cleanup
- Improved white space for readability and style compliance.
2014-11-28 12:15:00 -05:00
Paul Beckingham
7ca40db738 Unit Tests
- Corrected escaping for a test, where '+' does not need to be escaped when
  added in a description, or when scanning output with '+ in string', but does
  need to be escaped when it is part of a regular expression, because it has
  regex semantics.
2014-11-22 14:03:30 -05:00
Paul Beckingham
d5c937ba8c Filter
- Diagnostics for filter eval were not enabled properly. Now rc.debug.parser=2
  will show all filter eval diagnostics.
2014-11-22 13:48:28 -05:00
Paul Beckingham
85518c646f Task
- Modification diagnostics were missing for 'recur' attribute.
2014-11-22 13:38:24 -05:00
Paul Beckingham
dc1e01b1c2 Filter
- Identifies Filter::subset as source of CLI::dump call, rather than the
  default label, which was confusing.
2014-11-22 12:24:55 -05:00
Paul Beckingham
06319711f1 Quoting
- Removed automatic dequoting by the Lexer.
- Implemented Lexer::dequote for manual control.
- Variant dequotes string values when appropriate.
- Fixed some unit tests that became wrong.
2014-11-18 00:59:52 -05:00
Paul Beckingham
f28ccdc8b1 CLI/CmdCalendar
- When the binary is named (or symlinked to) 'cal', then CLI::_args[0]
  must be clobbered, and restored for subsequent commands.
2014-11-17 19:13:19 -05:00
Federico Hernandez
13b1982efd Fixed typo in name of holidays rc file 2014-11-17 20:35:53 +01:00
Paul Beckingham
82c6a6ecf4 TW-256
- Holidays not displayed for some locales (thanks to Leon Feng).
2014-11-17 08:20:21 -05:00
Federico Hernandez
dfdd2d3f35 Holidays rc-files
- Updated existing files up to 2016.
- Added bunch of new locales from holidata.net.
2014-11-17 00:09:25 +01:00
Paul Beckingham
2eabe85cca TW-1460
- TW-1460 Empty due dates lead to endless loop.
2014-11-15 14:43:49 -05:00
Wilhelm Schuermann
00b15ca407 TW-1460
- Display error for empty due: attribute when adding recurring tasks.
- Prevent endless loop for tasks that have an empty due: attribute.
2014-11-15 14:16:02 -05:00
Paul Beckingham
7422a76153 Merge branch '2.4.0' of ssh://git.tasktools.org/tm/task into 2.4.0 2014-11-12 12:00:00 -05:00
Wilhelm Schuermann
5b4793e750 CmdSync
- CmdSync::send () is TLSClient specific and breaks the build if libgnutls
  is not found, so #ifdef it.
2014-11-12 11:58:03 -05:00
Federico Hernandez
885c97a279 Bumping version to beta3 2014-11-12 00:07:49 +01:00
Paul Beckingham
66c303daef CLI
- Removed inverted range error, and instead the parser just downgrades from an
  ID range to unknown.
2014-11-10 23:55:38 -05:00
Paul Beckingham
0ac751c94d TW-1429
- TW-1429 Filtering of tags containing special words does not work (thanks to
          Johannes Schlatow).
2014-11-10 23:13:24 -05:00
Paul Beckingham
dd7a9e32db Context
- Improved command line feedback.
2014-11-10 22:53:33 -05:00
Paul Beckingham
d511c9d0be L10N
- Removed unused strings associated with file format 3.
2014-11-10 22:29:18 -05:00
Paul Beckingham
9ab722cd8c L10N
- Removed unused string STRING_ERROR_MEMORY.
2014-11-10 22:21:46 -05:00
Paul Beckingham
55d7442abc CLI
- Restored message about nested alias safety valve.
2014-11-10 22:19:15 -05:00
Paul Beckingham
d5d60b672a Context
- Restored header if the 'information' command is assumed.
2014-11-10 22:15:53 -05:00
Paul Beckingham
97428397a5 CLI/Context
- Removed repeated header calls that display a reconstructed command line in
  the event that default.command is used.
2014-11-10 22:07:02 -05:00
Paul Beckingham
65ca1ab84d Unit Tests
- Removed './' from relative paths, which seems to make a difference to FreeBSD.
2014-11-10 21:41:57 -05:00
Paul Beckingham
ba9043e6a7 Unit Tests
- Removed debugging output from test - that was not helping.
- Added more basic tests because FreeBSD is misbehaving.
2014-11-10 21:04:22 -05:00
Paul Beckingham
9936157704 TW01438
- TW-1438 Configuration setting rc.confirmation=no no longer disables
          confirmation requests (thanks to Adam Coddington).
2014-11-10 20:05:28 -05:00
Paul Beckingham
fd518e3fce Filter
- Improved ::pendingOnly algorithm.
2014-11-10 18:11:13 -05:00
Renato Alves
ff9b8217e2 Unittest - let vramsteg count non-executable tests
Currently harmless as there's only 1 non-executable test
2014-11-10 12:00:21 +00:00
Renato Alves
1a4774a2d8 Revert "Unittest - TOTAL tests shouldn't include non-executable tests"
TESTBLOB can have multiple arguments. Doesn't work with find.

This reverts commit 3dfbed6e4c.
2014-11-10 11:56:16 +00:00
Renato Alves
3dfbed6e4c Unittest - TOTAL tests shouldn't include non-executable tests 2014-11-10 11:40:48 +00:00
Renato Alves
94cd3df675 Unittest - Also check for execute bit if not running in verbose mode 2014-11-10 11:40:18 +00:00
Paul Beckingham
ec18c1b9d7 CMake
- Removed unnecessary libreadline scanning.
2014-11-09 22:28:30 -05:00
Paul Beckingham
e9bdb6704f CLI
- Quoted some of the literals from desugaring attribute modifiers.
2014-11-09 21:44:31 -05:00
Paul Beckingham
3e67d68f57 TW-295
- TW-295 Replacing annotations or descriptions which contain '/'s (thanks to
         Johannes Schlatow).
2014-11-09 20:07:27 -05:00
Paul Beckingham
d38e606a50 TW-1434
- TW-1434 Parser issue in description.contains (thanks to Ralph Bean).
2014-11-09 18:44:12 -05:00
Paul Beckingham
4bbb6fea99 Unit Tests
- Added a terminator to the task that needs it.
2014-11-09 17:35:50 -05:00
Paul Beckingham
19eaae88cd Unit Tests
- Removed a test from tw-1418.t that doesn't need an escape.
2014-11-09 17:18:43 -05:00
Paul Beckingham
879b1edb5c Unit Tests
- Escapes / characes in search patterns, so that 'foo/' --> 'foo\/', which
  then allows '/foo\//'. In Python, this needs one more: '/foo\\//'.
2014-11-09 17:11:21 -05:00
Paul Beckingham
3279566244 CLI
- Modify ::disqualifyOnlyParenOps to count sugared operators.
- Labelled '(' and ')' as circumflex operators, thanks awwaiid.
2014-11-09 16:52:43 -05:00
Paul Beckingham
61e943f456 CLI
- Implemented ::disqualifySugarFree to prevent lexing arguments that ultimately
  resolve to zero operators.
2014-11-09 16:32:38 -05:00
Paul Beckingham
125b5464dc Eval
- Do not mark the '(' and ')' operators as binary. I don't know what they are,
  but they are not binary.
2014-11-09 16:12:47 -05:00
Paul Beckingham
d8d517706b CLI
- Implemented ::disqualifyFirstLastBinary to detect arguments that start or end
  with a binary operator, and are therefore not expressions.
2014-11-09 15:20:42 -05:00
Paul Beckingham
33bc4f13d0 Context
- Creates a set of entities for binary operators.
2014-11-09 15:19:57 -05:00
Paul Beckingham
d7378d830f Eval
- Implemented ::getBinaryOperators.
2014-11-09 15:18:04 -05:00
Paul Beckingham
84f9bc52ef CLI
- Implemented ::disqualifyOnlyParenOps, which bypasses lexing if parentheses
  are the only operators found.
2014-11-09 14:58:51 -05:00
Paul Beckingham
dc97348335 Revert "Unit Tests"
This reverts commit a00c5b11c8.
2014-11-09 14:53:43 -05:00
Paul Beckingham
237ef48b9c CLI
- Implemented the first two Lex disqualifiers.
2014-11-09 14:32:52 -05:00
Paul Beckingham
6e906e4dbf CLI
- Made argument termination (--) persists across ::addArg calls.
2014-11-09 13:59:40 -05:00
Paul Beckingham
a00c5b11c8 Unit Tests
- Modified tests to include a terminator, to resolve ambiguity.
2014-11-09 13:57:35 -05:00
Paul Beckingham
a07aa2bece CLI
- Only the first arg was being marked as ORIGINAL.
2014-11-09 12:27:01 -05:00
Paul Beckingham
008c7503b3 Unit Tests
- Corrected test count markers.
2014-11-09 12:24:30 -05:00
Paul Beckingham
1dfefc0be8 CmdDenotate
- Code cleanup.
2014-11-09 12:23:56 -05:00
Paul Beckingham
83894ae559 Unit Tests
- Migrated to new template.
2014-11-09 12:11:56 -05:00
Paul Beckingham
273ede6d0f CmdCalendar
- Added argv[0].
2014-11-09 12:04:06 -05:00
Paul Beckingham
b801358599 CLI
- Code cleanup of argument handling loops, ::categorize.
2014-11-09 12:01:10 -05:00
Paul Beckingham
8f60a106f7 CLI
- ::findOperator now only reports changes if the tag being added was not
  already there.
2014-11-09 11:15:20 -05:00
Paul Beckingham
9d0ae4f09d CLI
- Renamed the ::desugar* methods to be more specific.
2014-11-09 11:14:34 -05:00
Paul Beckingham
3b1f244f42 CLI/Context
- Reordering init sequence.
- Removed ::assumeLocations.
2014-11-09 10:38:40 -05:00
Paul Beckingham
8ff32b767f TW-1444
- TW-1444 Tag ordering is preserved, but should be sorted in reports.
2014-11-08 16:52:19 -05:00
Paul Beckingham
da8e16a38b TW-1437
- TW-1437 taskd.trust has a bad default value.
2014-11-08 15:23:55 -05:00
Paul Beckingham
ab17450820 CLI
- Code cleanup, removed ::getModifications.
2014-11-08 15:21:07 -05:00
Paul Beckingham
1ff19c3b8f TW-1414.t
- default.command doesn't work with execute anymore (thanks to Johannes
  Schlatow).
2014-11-08 15:15:50 -05:00
Paul Beckingham
c818a2fa3a Unit Tests
- Removed whitespace for readability.
2014-11-08 15:05:54 -05:00
Paul Beckingham
c2bf56af71 CLI
- Removed the requirement in ::getWords that the ORIGINAL tag be present.
2014-11-08 15:05:19 -05:00
Paul Beckingham
db13a676bb Unit Tests
- Enabled failing tests.  Maybe it can be fixed instead.
2014-11-08 14:48:27 -05:00
Paul Beckingham
283cae5e8c CLI
- The ::categorize method now only allows one TERMINATOR - the first one.
2014-11-08 14:35:24 -05:00
Paul Beckingham
26f8d8c45d CLI
- Implemented ::findStrayModifications to spot FILTER args detected before 'add'
  or 'log' commands, and upgrade them to MODIFICATIONs.
2014-11-08 14:22:25 -05:00
Paul Beckingham
b9b998c769 CLI
- Added a strict analysis mode that throws errors. In non-strict mode no errors
  are thrown because parsing is incomplete most of the time, and only the final
  pass needs to be strict.
2014-11-08 14:00:39 -05:00
Paul Beckingham
11d210a7c7 CLI
- Hooked up the parser to rc.abbreviation.minimum.
2014-11-08 13:41:19 -05:00
Paul Beckingham
2797541b8d CLI
- Raised the lexeme count threshold to 3 to consider lexing an argument. This
  accomodates binary operators.
2014-11-04 23:16:37 -05:00
Paul Beckingham
f790ee65c4 CLI
- The ::addArg method now trims incoming args.
2014-11-04 23:11:51 -05:00
Paul Beckingham
d9712322a7 CLI
- Stricter definition of what is an attribute.
2014-11-04 23:00:07 -05:00
Paul Beckingham
55962058de CLI
- Further restrictions on tag definition.
2014-11-04 22:53:41 -05:00
Paul Beckingham
39983e5f82 CLI
- Implemented ::isName.
2014-11-04 22:53:12 -05:00
Paul Beckingham
38359b779a Lexer
- Exposed more primitives as static methods.
2014-11-04 22:51:25 -05:00
Paul Beckingham
4ec1f17557 CLI
- More strict definition of what is a tag.
2014-11-04 22:34:18 -05:00
Paul Beckingham
2b3f7a2fb6 CLI
- Added explanatory comment for commented out code. Not sure what to do about
  it yet.
2014-11-04 22:17:33 -05:00
Paul Beckingham
645d728f0f CLI
- The ::insert method is not needed, and is removed.
2014-11-04 22:16:50 -05:00
Paul Beckingham
529217cf75 Unit Tests
- One test has the rc.monthsperline:1 on the wrong command. Not sure what was
  going on there. Not important.
2014-11-04 22:01:07 -05:00
Paul Beckingham
c4116d43e1 CLI
- Moved ID and UUID parsing earlier in the sequence.
2014-11-04 21:42:39 -05:00
Paul Beckingham
c817607465 Unit Tests
- Upgraded to the new template.
2014-11-04 21:42:03 -05:00
Paul Beckingham
5a293b1f28 CLI
- An attribute name may not contains spaces.
2014-11-03 22:18:34 -05:00
Renato Alves
d9c4ff0700 Documentation - Man and help now mentions /g in /from/to/g 2014-11-03 13:50:56 +00:00
Paul Beckingham
0c61f50da6 Unit Tests
- Corrected for absolute path names in the Config::load timing.
2014-11-02 23:59:22 -05:00
Paul Beckingham
9ae3bcb7ef Unit Tests
- Corrected description for the version tests.
2014-11-02 23:50:38 -05:00
Paul Beckingham
71b33453f1 Unit Tests
- Fixed mistake introduced by template upgrade.
2014-11-02 23:45:41 -05:00
Paul Beckingham
216d8bafa5 CLI
- Relocated ::injectDefaults call to after ::findOverrides, and insert a call
  to ::applyOverりides.
2014-11-02 23:39:11 -05:00
Paul Beckingham
6ccec121c9 CLI
- Implemented ::injectDefaults for rc.default.command and auto info.
2014-11-02 23:30:59 -05:00
Paul Beckingham
086f7ec684 CLI
- Half-implemented ::injectDefaults. This is a highly problematic method, and
  needs some thinking.
2014-11-02 22:50:56 -05:00
Paul Beckingham
5685bf95a6 CLI
- Implemented ::insert.
2014-11-02 22:46:11 -05:00
Paul Beckingham
f4147f2ea3 Parser
- Obsoleted Parser object.
2014-11-02 22:33:04 -05:00
Paul Beckingham
6d75045658 Tree
- Eliminated Tree object from the repository.
2014-11-02 22:30:21 -05:00
Paul Beckingham
f7ba181db2 CMake
- Removed Parser.{h,cpp} from the build.
2014-11-02 22:20:37 -05:00
Paul Beckingham
7ad99cb7fa Context
- Removed last calls to Parser::.
2014-11-02 22:19:20 -05:00
Paul Beckingham
9c245f838a CLI
- Implemented ::applyOverrides.
- Calls ::applyOverrides from Context.
2014-11-02 22:12:48 -05:00
Paul Beckingham
c8dfa8f7fd CLI
- Implemented ::getDataLocation.
- Called ::getDataLocation from Context.
2014-11-02 22:10:47 -05:00
Paul Beckingham
7845786398 Context
- Removed unused ::program member.
2014-11-02 21:52:41 -05:00
Paul Beckingham
083b0cb0de CLI
- Implemented ::getBinary.
- Removed Context::program, and converted DOM and dom.t to call ::getBinary.
2014-11-02 21:49:42 -05:00
Paul Beckingham
9799fcefed CLI
- Updated ::getOverride to scan all args, display the debug feedback, and derive
  the home dir.
- Removed Parser::getOverrides calls from Context.
- Cleaned up dead code in Context::initialize.
2014-11-02 21:31:25 -05:00
Paul Beckingham
d49222e8c7 CLI
- Implemented ::getOverride, and updated Context to use it.
2014-11-02 21:14:08 -05:00
Paul Beckingham
03176b45ad CLI
- Forgot to commit the change declaring the default argument for ::addArg.
2014-11-02 12:02:29 -05:00
Paul Beckingham
290f248db8 CLI
- Implemented ::isCommand.
2014-11-02 11:58:33 -05:00
Paul Beckingham
78625d00ec Unit Tests
- Upgraded to the new template.
2014-11-01 23:06:27 -04:00
Paul Beckingham
9bee3a6c92 Unit Tests
- Upgrded to the new template.
2014-11-01 22:40:43 -04:00
Paul Beckingham
8e039c4a8a Task
- Fixed bug where tag modifications were trying to access a 'tag' attribute,
  instead of the 'name' attribute.
2014-11-01 22:21:18 -04:00
Paul Beckingham
a078ad41e8 Task
- Removed unnecessary include.
2014-11-01 21:56:18 -04:00
Renato Alves
d261a38d17 Unittest - Enhanced support for testing hooks (wip)
* It is now possible to test:
  * Hook Input/Output on STDIN/STDOUT channels
  * Exit code of hook script
  * Execution count (how many times the hook was executed)
  * Timestamp execution (when was the hook executed - milisec resolution)
2014-11-02 00:01:06 +00:00
Paul Beckingham
9ea61e25e8 Context
- Removed Parser member, which is now local to ::initialize.
2014-11-01 00:04:02 -04:00
Paul Beckingham
05a3973107 CLI
- Removed unused ::clear method.
2014-10-31 23:57:42 -04:00
Paul Beckingham
45bcf113d9 Context
- Removed unnecessary Parser calls, leaving only minimal rc processing.
2014-10-31 23:55:03 -04:00
Paul Beckingham
0b212ad8bc CLI
- Switched PSEUDO args to use 'canonical' instead of 'name'.
2014-10-31 23:39:02 -04:00
Paul Beckingham
9f8ab6e4e2 Context
- Switched from Parser::getLimit to CLI::getLimit.
2014-10-31 23:34:17 -04:00
Paul Beckingham
5387ab1dcb CLI
- Fixed bug where PSEUDO args did not have the correct 'raw' or 'value'
  attribute.
2014-10-31 23:30:16 -04:00
Paul Beckingham
fa890f9961 CLI
- Implemented ::getLimit.
2014-10-31 23:29:54 -04:00
Paul Beckingham
8863458879 Context
- Converted from Parser::getCommand to CLI::getCommand.
2014-10-31 23:12:41 -04:00
Paul Beckingham
6056ca4cd7 CLI
- Implemented ::getCommand.
2014-10-31 23:11:40 -04:00
Paul Beckingham
6324e3b63a CmdCustom
- Removed Parser details.
2014-10-31 22:59:32 -04:00
Paul Beckingham
bc5cfb2740 Args
- Converted args.cpp from Parser to CLI.
2014-10-31 22:58:50 -04:00
Paul Beckingham
771ec1d080 Filter
- Removed all Parser references.
2014-10-31 22:53:00 -04:00
Paul Beckingham
d36d6fc303 Documentation
- Documented rc.debug.parser=3.
2014-10-31 22:52:04 -04:00
Paul Beckingham
f804a43cee Filter
- Corrected use of rc.debug.parser.
- Added notes for fixing ::pendingOnly.
2014-10-31 22:31:58 -04:00
Paul Beckingham
0a7d02787d Task
- Converted ::modify to use CLI.
2014-10-31 22:30:39 -04:00
Paul Beckingham
9bc8e3bae3 CLI
- Corrected lookup for existing entities.
2014-10-31 21:54:01 -04:00
Paul Beckingham
7420ef8e28 CLI
- ::addArg now lexes args, and looks for embedded operators before deciding to
  use the lexemes.
2014-10-31 20:11:34 -04:00
Paul Beckingham
975b20a517 CLI
- Modifier entities are now available early, so use them to identify
  attmods.
2014-10-31 20:08:50 -04:00
Paul Beckingham
d5e732b47d CLI
- Added debug.parser=3 support to ::analyze.
2014-10-31 20:07:45 -04:00
Paul Beckingham
c01ee07981 CLI
- Added debug.parser=3 support to ::decomposeModSubstitutions.
2014-10-31 20:05:12 -04:00
Paul Beckingham
de6f97174e CLI
- Added debug.parser=3 support to ::decomposeModTags.
2014-10-31 20:04:40 -04:00
Paul Beckingham
5d662c0efa CLI
- Added debug.parser=3 support to ::decomposeModAttributeModifiers.
2014-10-31 20:03:54 -04:00
Paul Beckingham
caa4e0d6b9 CLI
- Added debug.parser=3 support to ::decomposeModAttributes.
2014-10-31 20:03:06 -04:00
Paul Beckingham
8abc2967f7 CLI
- Added debug.parser=3 support to ::insertJunctions.
2014-10-31 20:02:33 -04:00
Paul Beckingham
299cda2283 CLI
- Added debug.parser=3 support to ::findAttributes.
2014-10-31 20:01:56 -04:00
Paul Beckingham
399097d683 CLI
- Added debug.parser=3 support to ::findOperators.
2014-10-31 20:01:33 -04:00
Paul Beckingham
d54c9da021 CLI
- Added debug.parser=3 support to ::desugarPlainArgs.
2014-10-31 20:00:36 -04:00
Paul Beckingham
08310cf2a2 CLI
- Added debug.parser=3 support to ::insertIDExpr.
2014-10-31 20:00:06 -04:00
Paul Beckingham
371e4a4603 CLI
- Added debug.parser=3 support to ::desugarPatterns.
2014-10-31 19:59:32 -04:00
Paul Beckingham
3b88106be8 CLI
- Added debug.parser=3 support to ::desugarAttributeModifiers.
2014-10-31 19:58:59 -04:00
Paul Beckingham
73e767ec3e CLI
- Added debug.parser=3 support to ::desugarAttributes.
2014-10-31 19:58:24 -04:00
Paul Beckingham
255d7b2126 CLI
- Added debug.parser=3 support to ::desugarTags.
2014-10-31 19:57:40 -04:00
Paul Beckingham
ea8663652f CLI
- Added debug.parser=3 support to ::categorize.
2014-10-31 19:57:08 -04:00
Paul Beckingham
9deb9e9f8f CLI
- Added debug.parser=3 support to ::findOverrides.
2014-10-31 19:54:14 -04:00
Paul Beckingham
86ff5a204f CLI
- Added debug.parser=3 support to ::expandAlias.
2014-10-31 19:51:39 -04:00
Paul Beckingham
131b08f191 CLI
- Implemented ::isOperator.
2014-10-31 19:22:34 -04:00
Paul Beckingham
6784c8d108 CLI
- Made ::entity aware of whether an entity is already known, to avoid adding
  when not necessary.
2014-10-31 19:20:09 -04:00
Paul Beckingham
d3d3a6a418 CLI
- Made CLI::dump title dynamic.
2014-10-31 19:19:30 -04:00
Paul Beckingham
f80d57ff48 Context
- Sets up fixed-name attributes first.  Extends that list with dynamic
  attributes (UDAs) later, when known.
2014-10-31 19:14:47 -04:00
Paul Beckingham
4c4204ee0d Unit Tests
- Removed debug arg.
2014-10-31 19:12:23 -04:00
Paul Beckingham
bcc7e30dfc CmdCustom
- Adds CLI::analyze call, for equivalence debugging.
2014-10-31 10:19:46 -04:00
Paul Beckingham
3700d2df9f Context
- Relocated some (more needed) entity declarations into ::setupEntities.
2014-10-31 08:53:25 -04:00
Paul Beckingham
7417737bbe Unit Tests
- Upgraded to the new template.
2014-10-31 08:51:06 -04:00
Paul Beckingham
195edcaa47 CLI
- Tags QUOTED args.
- Documented the list of args that do not get Lexed.
2014-10-30 07:05:16 -04:00
Paul Beckingham
d7f869accc CLI
- Fixed bug where only ':', not '=' could be used for an attribute filter
  element.
2014-10-30 00:31:59 -04:00
Paul Beckingham
1d55abd3c0 CLI
- Implemented ::isTag.
2014-10-30 00:27:07 -04:00
Paul Beckingham
fbfd352de3 CLI
- Implemented ::isAttribute.
2014-10-30 00:26:41 -04:00
Paul Beckingham
d5a4f23937 CLI
- Implemented ::isTerminator.
2014-10-29 23:49:23 -04:00
Paul Beckingham
1136b8fcdc CLI
- Implemented ::isIDSequence.
2014-10-29 23:42:53 -04:00
Paul Beckingham
28a2d667f1 CLI
- Implemented ::isID.
2014-10-29 23:23:53 -04:00
Paul Beckingham
fe2ea795ee CLI
- Implemented ::isUUIDList.
2014-10-29 23:08:31 -04:00
Paul Beckingham
4dd953bf44 CmdDenotate
- Removed unnecessary include.
2014-10-29 22:56:28 -04:00
Paul Beckingham
5586a3c8cc Unit Tests
- Converted to use the new template.
2014-10-27 22:03:57 -04:00
Paul Beckingham
52a6cfd4a0 CLI
- Implemented ::isSubstitution and used it.
2014-10-27 20:55:42 -04:00
Paul Beckingham
7b67e77752 CLI
- Implemented ::isPattern, and used it.
2014-10-27 18:53:09 -04:00
Paul Beckingham
b1b40cacc1 CLI
- ::add needed to clear ::_id_ranges and ::_uuid_list so that ::analyze can
  repopulate them.
2014-10-27 14:03:50 -04:00
Paul Beckingham
d5e6aa7640 CLI
- Implemented ::isConfigOverride, and used it.
2014-10-27 13:40:32 -04:00
Paul Beckingham
91f4eade50 CLI
- Implemented ::isRCOverride.
2014-10-27 13:23:12 -04:00
Paul Beckingham
0b073bc8d1 CLI
- Removed unused 'token' arg from ::isUUID.
2014-10-27 13:02:51 -04:00
Paul Beckingham
7f061eef95 CLI
- Implemented ::addArg, to be called from both ::initialize and ::add, to
  determine whether an arg should be lexed or not.
2014-10-27 10:59:06 -04:00
Paul Beckingham
dd8972525f CLI
- Implemented ::isUUID helper function.
2014-10-27 10:57:41 -04:00
Paul Beckingham
34b9a5dbcc CLI
- ::categorize now tags QUOTED args.
2014-10-27 10:27:08 -04:00
Paul Beckingham
482d378fdb CLI
- Implemented ::findAttributes.
2014-10-26 11:12:22 -04:00
Paul Beckingham
286c378180 CLI
- An arg preceded by an OP is not a plain arg.
2014-10-26 11:11:33 -04:00
Paul Beckingham
47e8ae6c02 Unit Tests
- Updated to use the new template.
2014-10-26 10:48:02 -04:00
Paul Beckingham
822031bf0b Unit Tests
- Upgraded to user the new template.
- Removed code that detected EOM an skipped tests. This should no longer be
  needed with the ISO date support, where EOM is the true EOM.
2014-10-26 09:32:34 -04:00
Paul Beckingham
74526ee564 CLI
- Converted ::safety from Parser to CLI.
- Updated unit tests to use the new template.
- Added tests to cover both values of rc.allow.empty.filter.
2014-10-26 09:02:51 -04:00
Paul Beckingham
87cd22792d CLI
- No longer parenthesizes trivial filter expressions.
2014-10-26 09:00:41 -04:00
Paul Beckingham
0fa0829670 CmdCalendar
- Converted from Parser to CLI.
2014-10-25 23:19:47 -04:00
Paul Beckingham
5cb753fd23 CmdDenotate
- Converted from Parser to CLI.
2014-10-25 23:10:37 -04:00
Paul Beckingham
6dbacf684c CmdUndo
- Converted from Parser to CLI.
2014-10-25 23:07:52 -04:00
Paul Beckingham
506d36d74e CmdBurndown
- Now composes title from CLI instead of Parser.
2014-10-25 23:02:45 -04:00
Paul Beckingham
283a1aa8ef DOM
- Converted DOM and unit test from Parser to CLI.
2014-10-25 22:55:31 -04:00
Paul Beckingham
efb84b20bf CLI
- Made ::canonicalize public.
2014-10-25 22:46:56 -04:00
Paul Beckingham
4cb9330567 Parser
- Removed obsolete ::getWords method.
2014-10-25 22:41:35 -04:00
Paul Beckingham
fedafcd525 CLI
- Converted CmdCalendar from Parser to CLI.
2014-10-25 22:38:03 -04:00
Paul Beckingham
6973cfefb8 CLI
- Converted CmdConfig from Parser to CLI.
2014-10-25 22:37:43 -04:00
Paul Beckingham
d84b738940 CLI
- Converted CmdColumns from Parser to CLI.
2014-10-25 22:36:17 -04:00
Paul Beckingham
b3c89ae6f8 CLI
- Converted CmdExec from Parser to CLI.
2014-10-25 22:35:26 -04:00
Paul Beckingham
30f46ca5e7 CLI
- Converted CmdGet from Parser to CLI.
2014-10-25 22:32:59 -04:00
Paul Beckingham
07336450a9 CLI
- Converted CmdTimesheet from Parser to CLI.
2014-10-25 22:31:21 -04:00
Paul Beckingham
eb9a6e9608 CLI
- Converted CmdSync from Parser to CLI.
2014-10-25 22:29:24 -04:00
Paul Beckingham
68b59d1ac7 CLI
- Converted CmdShow from Parser to CLI.
2014-10-25 22:28:15 -04:00
Paul Beckingham
624e5e7376 CLI
- Converted CmdImport from Parser to CLI.
2014-10-25 22:24:57 -04:00
Paul Beckingham
54ce4e8a59 CLI
- Converted CmdColor from Parser to CLI.
2014-10-25 22:23:47 -04:00
Paul Beckingham
67581187ae CLI
- Converted CmdCalc from Parser to CLI.
2014-10-25 22:20:32 -04:00
Paul Beckingham
11d9fcb49c CLI
- Missing include.
2014-10-25 20:10:45 -04:00
Paul Beckingham
07bb370637 Merge branch 'parser2' into 2.4.0 2014-10-25 19:43:13 -04:00
Paul Beckingham
861743c37d CLI
- Properly combines _id_ranges and _uuid_list from multiple arguments.
- Properly inserts an 'or' OP between the id and uuid sections.
- Removed mistaken OP tag from 'id' and 'uuid' attributes.
2014-10-25 18:45:03 -04:00
Paul Beckingham
08634a8bb5 CLI
- Removed the 'ID/UUID or ID/UUID' processing from ::insertJunctions, as they
  are no longer needed, given ::insertIDExpr.
2014-10-25 18:25:24 -04:00
Paul Beckingham
b4f72286ff CLI
- Renamed ::desugarIDs to ::findIDs, as it is now a passive method.
- Renamed ::desugarUUIDs to ::findUUIDs, as it is now a passive method.
- Added ::insertIDExpr which creates one ID/UUID clause from the harvested
  ID and UUID values.
2014-10-25 18:23:53 -04:00
Paul Beckingham
160c4d90d9 CLI
- Removed ::getWords debug output.
2014-10-25 16:57:58 -04:00
Paul Beckingham
0138c13833 CLI
- Allow ::getWords to run ::analyze but skip the desugar and decomposition
  steps.
2014-10-25 16:51:35 -04:00
Paul Beckingham
0ca4b34f75 CLI
- Properly labels ID and UUID values as literals.
2014-10-25 16:36:52 -04:00
Paul Beckingham
4861c1ef1b CLI
- Implemented ::getWords.
2014-10-25 16:18:29 -04:00
Paul Beckingham
9d5299e843 CLI
- Now uses the attribute 'canonical' instead of 'name' for CMD args.
2014-10-25 16:17:35 -04:00
Paul Beckingham
725682a058 CLI
- Placed filter parentheses around only non-trivial filters.
2014-10-25 16:16:56 -04:00
Paul Beckingham
a780bd0193 CLI
- Implemented ::desugarPlainArgs to upgrade WORD to PATTERN when found in a
  FILTER context.
2014-10-25 16:15:31 -04:00
Paul Beckingham
0c4b447c77 Task
- Added CLI::dump.
2014-10-25 14:35:00 -04:00
Paul Beckingham
12941488ce CmdCustom
- Removed redundant pair of parentheses from custom report filters. Only one
  pair is needed.
2014-10-25 13:44:56 -04:00
Paul Beckingham
d0ae05ba1c CLI
- Removed MODIFIABLE tags for FILTER args - pointless.
- Added LITERAL and REGEX tags for ATTMOD values.
2014-10-25 13:43:39 -04:00
Paul Beckingham
22d3852bfd CLI
- Updated ::desugarAttributes to properly handle UDA and PSEUDO args.
- Cleaned up handling or ATTRIBUTE.
2014-10-25 13:42:05 -04:00
Paul Beckingham
7ff55037a6 CLI
- Tagged expanded aliases with ALIAS.
2014-10-25 13:16:31 -04:00
Paul Beckingham
5daf673387 CLI
- Standardized use of 'ATT' and 'ATTR' tags to 'ATTRIBUTE'.
2014-10-25 13:15:24 -04:00
Paul Beckingham
b7efb753b5 Filter
- Rewrote ::pendingOnly to work with CLI instead of Parser.
2014-10-24 23:00:06 -04:00
Paul Beckingham
e0fac11eed CLI
- Argument decomposition now skips terminated args.
2014-10-24 22:01:53 -04:00
Paul Beckingham
dbefd7d6fe CLI
- Tightened restriction in ::categorize.
2014-10-24 22:00:36 -04:00
Paul Beckingham
5add257d8b CLI
- Preserve ORIGINAL tag after ::unTagAll.
2014-10-24 16:33:35 -04:00
Paul Beckingham
ce2679c3fa CLI
- Properly tags TERMINATOR, TERMINATED.
2014-10-24 16:24:35 -04:00
Paul Beckingham
2c6b3b3991 TD-79
- TD-79 Bad error message for wrong hostname configuration (thanks to Jens
        Erat).
2014-10-23 22:46:50 -04:00
Paul Beckingham
959df159fa Eval
- Code cleanup.
2014-10-23 22:42:21 -04:00
Paul Beckingham
014a09cd55 CLI
- Implemented TERMINATOR/TERMINATED detection.
2014-10-23 01:18:42 -04:00
Paul Beckingham
371bb0a5b1 CLI
- Implemented A::unTagAll, to clear all tags.
2014-10-23 01:17:54 -04:00
Paul Beckingham
5d790a07de CLI
- PSEUDO args are no longer considered FILTER.
2014-10-23 00:45:39 -04:00
Paul Beckingham
7f3cc3897e CLI
- Implemented ::findOperators.
2014-10-23 00:45:20 -04:00
Paul Beckingham
fab9fe2a7d Filter
- Modified algorithm for ::pendingOnly.
2014-10-23 00:36:04 -04:00
Paul Beckingham
e4a237fcd3 CLI
- Implemented ::insertJunctions.
2014-10-23 00:34:52 -04:00
Paul Beckingham
8cb287ec69 CLI
- Tags the binary basename as either TW or CALENDAR.
2014-10-22 23:44:31 -04:00
Wilhelm Schuermann
f8a44819c3 ViewTask
- Free space of empty columns if rc.print_empty_columns is set. They were previously sent into nirvana, making the ViewTask destructor miss them.
2014-10-22 23:22:41 -04:00
Renato Alves
d49a2614ba Bug - import/export now output JSON as individual objects
* For JSON as array, json.array=1 behaves as before
* Tests and add-on scripts used in import tests were updated
2014-10-20 20:21:11 +01:00
Renato Alves
b569504139 Unittest - Refresh TW-1418 which still fails on \- 2014-10-20 20:04:59 +01:00
Renato Alves
d09fcf398e Unittest - Adjust failing tests due to split of streams 2014-10-20 18:52:18 +01:00
Renato Alves
efdb31fb90 Unittest - default to not merging stdout/stderr during tests
* Tests will now check that stderr is used for errors
* Tests were adjusted to reflect the API change
2014-10-20 14:01:21 +01:00
Renato Alves
c9102fd79c Unittest - SIGABORT was not being correctly identified
* In Python if the process receives a signal, the exit code is negative
2014-10-20 13:52:02 +01:00
Renato Alves
b4f33ec0c6 Unittest - Replace None by objects representing the state of stdout/err 2014-10-20 13:29:30 +01:00
Paul Beckingham
6dea38806b CLI
- Implemented ::decomposeModЅubstitutions.
2014-10-20 02:04:56 -04:00
Paul Beckingham
5dcc415057 CLI
- Implemented ::decomposeModTags.
2014-10-20 01:48:33 -04:00
Paul Beckingham
f2e533d013 CLI
- Implemented ::decomposeModAttributeModifiers.
2014-10-20 01:33:42 -04:00
Paul Beckingham
626354999c CLI
- Implemented ::decomposeModAttribute.
2014-10-20 01:22:49 -04:00
Paul Beckingham
b484abea4a CLI, Filter
- Moved parse tree dump into Context::debug output.
2014-10-20 01:01:27 -04:00
Paul Beckingham
24219e23a1 CLI
- Renamed unsweeten methods to desugar, because they remove syntactic sugar.
2014-10-20 00:35:00 -04:00
Paul Beckingham
caaa07f889 CLI
- Implemented ::unsweetenIDs.
2014-10-20 00:26:00 -04:00
Paul Beckingham
97f302f276 CLI
- Added constructors to match the overloaded ::attribute methods.
2014-10-20 00:22:47 -04:00
Paul Beckingham
c8f49bcafb CLI
- Added comma (,) to the set of acceptable characters for a UUID list.
2014-10-20 00:22:02 -04:00
Paul Beckingham
811d0e029d Parser
- UUIDs were being rejected because the contain commas, which are actually part
  of a UUID list. This meant that 'task $UUID1,$UUID2 info' failed.
2014-10-19 23:54:08 -04:00
Paul Beckingham
7f61bcecca CLI
- Implemented ::unsweetenUUIDs.
2014-10-19 23:42:16 -04:00
Paul Beckingham
60d356f009 CLI
- Stubbed ::unsweetenUUIDs.
2014-10-19 23:18:25 -04:00
Paul Beckingham
c4bb9fbc96 CLI
- Stubbed ::unsweetenIDs.
2014-10-19 23:17:49 -04:00
Paul Beckingham
83ab844ba4 CLI
- ::unsweetenPatterns no longer clobbers non-FILTER args.
2014-10-19 18:19:27 -04:00
Paul Beckingham
f809f2d819 CLI
- ::unsweetenAttributeModifiers no longer clobbers non-FILTER args.
2014-10-19 18:19:09 -04:00
Paul Beckingham
720cc57192 CLI
- ::unsweetenAttributes no longer clobbers non-FILTER args.
2014-10-19 18:18:48 -04:00
Paul Beckingham
f862ad15e6 CLI
- ::unsweetenTags no longer clobbers non-FILTER args.
2014-10-19 18:18:03 -04:00
Paul Beckingham
cd8f7ddac4 CLI
- Can now safely re-analyze command line if something changes. This required a
  ::analzye method to be called late in Context::initialize.
2014-10-19 17:59:51 -04:00
Paul Beckingham
87538589a6 Context
- Setting rc.debug.hooks or rc.debug.parser to non-zero values also sets
  rc.debug=true, otherwise the output is not visible.
2014-10-19 17:34:35 -04:00
Wilhelm Schuermann
cfe267f2e5 Tests
- tw-1441.t now calls runError() with merge_streams disabled.
- Taskwarrior only displays an error for the first file that is not found, so only check one.
2014-10-19 09:50:54 -04:00
Paul Beckingham
d9222606e7 Hooks
- The on-exit hook can now terminate processing.
2014-10-19 01:47:33 -04:00
Paul Beckingham
7895ea0f42 Hooks
- Added safety measure in case of a hook misfire.
- Made debug output consistent.
2014-10-19 01:32:41 -04:00
Paul Beckingham
23e2719e1a TDB2
- Restored blank line for clarity, now that duplicate debug messages are allowed.
2014-10-19 01:31:03 -04:00
Paul Beckingham
d873a15aa7 Context
- Removed the restriction that debug messages must be unique. Because it's
  insane.
2014-10-19 01:30:24 -04:00
Paul Beckingham
7e2582f2b8 Hooks
- Fixed bug where the identifier "on-modify" contained some bogus UTF8.
- Ensured that every input line has a \n.
2014-10-19 00:57:30 -04:00
Paul Beckingham
719e9d242b Hooks
- Bug due to missing reference & in calls to callHookScript.  Dumbass.
2014-10-18 23:59:40 -04:00
Paul Beckingham
f1639e6862 Hooks
- Revised all event functions to use the new callHookScript method, which is
  now common to all events.
2014-10-18 23:47:32 -04:00
Paul Beckingham
d1f6b36ecf Hooks
- Standardized formatting of hook input and output in debug.hooks mode.
2014-10-18 17:26:20 -04:00
Paul Beckingham
8d75d0c7f3 Hooks
- Reduced validation to simply checking that a description attribute is present.
  This is the bare minimum for the Task(const std::string&) contructor.
2014-10-18 17:23:39 -04:00
Paul Beckingham
21bbedbfc5 Hooks
- Now performs a full JSON parse on hook script output before accepting it as a
  task.
2014-10-18 16:59:46 -04:00
Paul Beckingham
b6be1cdc99 Hooks
- Factored out the code that determines if the JSON output from a hook script is
  actually JSON.
2014-10-18 16:55:26 -04:00
Paul Beckingham
5275c0ce60 TW-1441
- TW-1441 task import continues happily if filename doesn't exist.
2014-10-18 14:41:12 -04:00
Renato Alves
18581a6ca4 Unittest - Avoid second exception on framework tracing error
* Prevents masking of the initial exception due to a second one.
2014-10-18 01:29:01 +01:00
Paul Beckingham
171fabbcda CLI
- Corrected comment to include quotes that are necessary for patterns.
2014-10-17 16:32:11 -04:00
Renato Alves
dc4a3e8038 Unittest - dash compatibility on debian/ubuntu 2014-10-17 17:24:50 +01:00
Renato Alves
65b6875846 Unittest - Remove execute bit from template.t and unnecessary comments 2014-10-17 16:42:44 +01:00
Renato Alves
a9c9fbc7df Unittest - Only run tests that have execute bit set 2014-10-17 16:42:44 +01:00
Paul Beckingham
51f08496b5 Lexer
- When parsing '\o/' the state Lexer::typeIdentifierEscape had no exit but a
  successful outcome, and looped.
- Fixed test.
2014-10-16 21:22:34 -04:00
Renato Alves
bb060d5ff8 Unittest - Allow specifying custom timeout for slow commands.
* Useful when testing with big tasks (1000+ annotations) or sync
operations that take longer than 1 second (default)
2014-10-16 20:52:17 +01:00
Renato Alves
b236e78f2e Unittest - Testcase for TW-1438 2014-10-16 20:48:45 +01:00
Renato Alves
cf5c7abd01 Unittest - Workaround race condition when killing slow processes
* In some cases the process finishes normally very close to the timeout
2014-10-16 16:47:10 +01:00
Renato Alves
6facb140a4 Unittest - Test cases for TW-1436 2014-10-16 15:51:39 +01:00
Paul Beckingham
8d359ddd70 CLI
- Implemented ::unsweetenPatterns.
2014-10-16 00:53:59 -04:00
Paul Beckingham
932865d3b5 CLI
- Renamed unsweetenAtts to unsweetenAttributes, unsweetenAttMods to
  unsweetenAttributeModifiers.
2014-10-16 00:39:56 -04:00
Paul Beckingham
0603711aac CLI
- Implemnted ::unsweetenAttMods.
2014-10-16 00:37:48 -04:00
Paul Beckingham
80b385ee93 CLI
- Renamed 'canonical' to 'name', for legacy reasons.
2014-10-16 00:36:52 -04:00
Paul Beckingham
9f8c4e02a7 CLI
- Implemented ::getFilter to extract all the non-PSEUDO, FILTER items.
2014-10-15 07:42:29 -04:00
Paul Beckingham
8afb39dea6 CLI
- Implemented ::unsweetenAtts to resolve syntactic sugar to an expression.
2014-10-15 07:34:29 -04:00
Paul Beckingham
f29b6a4be4 CLI
- Convert ::unsweetenTags from _filter to _args.
2014-10-15 02:34:44 -04:00
Paul Beckingham
ae4272f477 CLI
- When unsweetening tags, preserve the FILTER tag.
2014-10-15 02:33:50 -04:00
Paul Beckingham
8dd9082697 CLI
- Categorize has a better definition of FILTER.
2014-10-15 02:32:32 -04:00
Paul Beckingham
83898359e3 CLI
- Combined all elements into the single _args list.
2014-10-15 02:24:35 -04:00
Paul Beckingham
dd8391351d CLI
- Merged _program into _args.
- Merged _overrides into _args.
- Rewrote :extractOverrides as ::findOverrides.
2014-10-15 02:08:48 -04:00
Paul Beckingham
c3f7524006 CLI
- Now only dumps the parse tree on ::getFilter.
2014-10-15 01:47:36 -04:00
Paul Beckingham
295feda3b4 Parser
- Corrected findTags comment.
2014-10-15 01:44:21 -04:00
Paul Beckingham
698c801dbc CLI
- Converted _command from std::string to A.
2014-10-15 01:43:27 -04:00
Paul Beckingham
e5780474da CLI
- Converted _program from std::string to A.
2014-10-15 01:34:36 -04:00
Paul Beckingham
b3b509eabe CLI
- Added default constructor, so it plays nice with others.
- Added ::clear method to reset all members.
2014-10-15 01:33:12 -04:00
Paul Beckingham
6388d3827b CLI
- Converted from std::string to A.
2014-10-15 01:24:02 -04:00
Paul Beckingham
854dc08615 CLI
- Upgraded _args vector from std::string to A.
2014-10-15 01:08:44 -04:00
Paul Beckingham
87ece489db CLI
- Implemented A::dump.
2014-10-15 00:35:46 -04:00
Paul Beckingham
b98da56a7c CLI
- Implemented A class, to represent a single argument. Much like a tree node.
2014-10-15 00:28:16 -04:00
Paul Beckingham
8b78251735 CLI
- Filter elements are now rendered on one line in ::dump.
2014-10-15 00:27:43 -04:00
Paul Beckingham
c2f8c81a88 CLI
- Implemented ::unsweetenTags, which resolves the syntactic sugar to an expression.
2014-10-15 00:02:45 -04:00
Paul Beckingham
34fd7b4b04 CLI
- Relocated public methods to top.
- Removed const for methods, which are no longer const.
2014-10-14 23:49:13 -04:00
Paul Beckingham
f353e1f3d5 CLI
- Removed reset of _program on ::add, which never gets restored.
2014-10-14 23:40:13 -04:00
Paul Beckingham
d6e11761a6 CLI
- Added diagnostics only to ::initialize and ::add.
- Now properly clears and regenerates all data on change.
2014-10-14 23:26:12 -04:00
Paul Beckingham
7812bce079 CLI
- Reorganized methods to match header sequence.
2014-10-14 23:25:26 -04:00
Paul Beckingham
6d64472826 Context
- Removed calls to now-private methods.
2014-10-14 23:23:09 -04:00
Paul Beckingham
51a98609d9 CLI
- Stubbed ::getWords and ::getModifications.
2014-10-14 23:22:25 -04:00
Wilhelm Schuermann
ae9705561c Hooks
- Throw exception instead of segfaulting for on-add hooks not adhering to the specs. More work needed.
2014-10-14 15:58:24 -04:00
Renato Alves
1e14097ea5 Unittest - Add test to tw-252 to prevent future regressions 2014-10-14 15:22:52 +01:00
Paul Beckingham
54d975dac3 CLI
- Colㄡrized the ::dump output.
2014-10-14 01:52:39 -04:00
Paul Beckingham
05fdfafd2a CLI
- Preserves original args.
2014-10-14 01:42:37 -04:00
Paul Beckingham
99ff5cd372 CmdCustom
- Added parallel cli handling.
2014-10-14 01:36:20 -04:00
Paul Beckingham
c79a09d0b8 CLI
- Implemented ::add.
2014-10-14 01:35:33 -04:00
Paul Beckingham
acca1c66a3 CLI
- Implemented ::getFilter.
2014-10-14 01:23:55 -04:00
Paul Beckingham
d32b6fff12 CLI
- Improved diagnostics, for now.
2014-10-14 01:03:15 -04:00
Paul Beckingham
632cb3e194 Context
- Now calls aliasExpansion and categorization.
2014-10-14 00:59:33 -04:00
Paul Beckingham
2c3f12ae79 CLI
- Added more members to the ::dump method.
2014-10-14 00:59:07 -04:00
Paul Beckingham
c54e0d6d05 CLI
- Added new data to ::dump.
2014-10-14 00:49:15 -04:00
Paul Beckingham
343a79a034 CLI
- Implemented ::categorize.
2014-10-14 00:49:02 -04:00
Paul Beckingham
58afe23952 CLI
- Implemented ::aliasExpansion.
2014-10-14 00:47:02 -04:00
Paul Beckingham
4d921c7920 CLI
- Implemented ::canonicalize.
2014-10-14 00:45:53 -04:00
Paul Beckingham
227e0bd8c8 CLI
- Implemented ::exactMatch.
2014-10-14 00:45:04 -04:00
Paul Beckingham
b0cf4adc4e CLI
- Stubbed methods for further parsing.
2014-10-14 00:43:50 -04:00
Paul Beckingham
1639e6bb68 CLI
- Stubbed ::aliasExpansion.
- Fixed variable types.
- Added ::dump calls.
2014-10-14 00:09:47 -04:00
Paul Beckingham
9a2bcbed3e CLI
- Added ::dump for diagnostics.
2014-10-14 00:08:55 -04:00
Paul Beckingham
f4183fd6b1 Context
- Added CLI rc: and rc. override extraction.
2014-10-13 23:54:16 -04:00
Paul Beckingham
226c143922 CLI
- Override detection and extraction.
2014-10-13 23:52:50 -04:00
Paul Beckingham
c73e864cdd Context
- CLI is initialized with command line args.
2014-10-13 23:24:08 -04:00
Paul Beckingham
64d4d659ef CLI
- ::initialize captures all args.
2014-10-13 23:23:45 -04:00
Paul Beckingham
df54b8ee43 Context
- Integrated new CLI object.
- Provided aliases and entities to CLI.
2014-10-13 23:18:14 -04:00
Paul Beckingham
3b0606922f CMake
- Added new CLI class.
2014-10-13 23:17:20 -04:00
Paul Beckingham
8bb17fb2e8 CLI
- CLI is a streamlined version of Parser, now that wisdom is upon us.
2014-10-13 23:11:46 -04:00
Paul Beckingham
8905dd1c32 Eval
- The operator classifier failed to include '!=='.
2014-10-13 21:39:51 -04:00
Richard Boß
086a3b0d11 Unit Tests
- Added unit tests for tw-1430.t.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-10-13 18:28:06 -04:00
Paul Beckingham
a5563ba135 TW-1424
- TW-1424 Using a date of '1824days' (in the future) fails (thanks to Black Ops
          Testing).
2014-10-13 00:39:17 -04:00
Paul Beckingham
0183c8a231 TW-1420, TW-1421, TW-1422
- TW-1420 Modifying 'uuid' fails to generate error (thanks to Black Ops Testing).
- TW-1421 Modifying 'uuid' with bogus value can corrupt undo.data (thanks to
          Black Ops Testing).
- TW-1422 Attempt to modify 'id' attribute creates an id attribute (thanks to
          Black Ops Testing).
2014-10-13 00:18:01 -04:00
Paul Beckingham
1e03db77ca TW-1415
- The recurrence value 'month' is not valid (thanks for Petteri).
2014-10-12 23:57:44 -04:00
Paul Beckingham
ca14657f0c TW-1428
- Minor tweaks.
2014-10-12 23:48:55 -04:00
Johannes Schlatow
2c7013cc1c Color
- Supports 'color.uda.<name>.<value>' (TW-1428)
2014-10-12 23:44:43 -04:00
Johannes Schlatow
aa89422b6f Test
- Add test case for TW-1414
2014-10-12 23:30:59 -04:00
Paul Beckingham
f11626b0d7 Documentation
- Updated DEVELOPER, EXPOSITION docs.
2014-10-12 23:28:58 -04:00
Paul Beckingham
ab8e3c9faa Documentation
- Reference PDF updated.
2014-10-12 23:12:54 -04:00
Paul Beckingham
2a13b99720 Documentation
- Clarified taskrc man page purpose.
2014-10-12 23:05:54 -04:00
Federico Hernandez
1cb1ceae08 Bumping version number to beta2 2014-10-11 22:10:18 +02:00
Paul Beckingham
9325098b5c Unit Tests
- Commented out the bare word tests. Bare word searching is deprecated and these
  failures are the reason why. Retaining the tests for possible later rescue.
- Modified remaining tests because there is a difference in adding 'foo-' and
  searching for 'foo\\-'.
2014-10-11 11:29:23 -04:00
Paul Beckingham
630d0f209e Parser
- Code cleanup.
2014-10-11 11:25:23 -04:00
Paul Beckingham
0e0c4fa578 Parser
- Code cleanup.
2014-10-11 11:24:56 -04:00
Paul Beckingham
03a3b41254 Parser
- Locates mis-parsed SUBSTITUTIONS in FILTER, and downgrades to PATTERN.
2014-10-11 11:24:07 -04:00
Paul Beckingham
963e79696b TW-1354
- Tweaks.
2014-10-10 16:27:55 -04:00
Johannes Schlatow
a88a062d3d Urgency
- Supports 'urgency.uda.<name>.<value>.coefficient' (TW-1354)
2014-10-10 16:21:36 -04:00
Renato Alves
53fd37cae2 Unittest - Also propagate the correct exit code 2014-10-10 16:42:41 +01:00
Renato Alves
40a95e1196 Unittest - Fix case where exit code was incorrectly registered 2014-10-10 16:19:39 +01:00
Paul Beckingham
cabc099def Portability
- Missing include.
2014-10-10 10:07:43 -04:00
Renato Alves
a7e2dfcbcc Unittest - Include additional test cases mentioned in the bugtracker 2014-10-10 12:13:20 +01:00
Paul Beckingham
94e243d8d0 Hooks
- Added 'read -t 1' as an example for the on-exit sample hook.
2014-10-09 19:05:24 -04:00
Paul Beckingham
39469a1917 Color
- Supports 'color.label.sort' for column labels of sort columns.
2014-10-09 19:04:59 -04:00
Paul Beckingham
aac0753b07 ViewTask
- Supports the notion of different colors for sorted columns.
2014-10-09 18:55:39 -04:00
Paul Beckingham
489750c80a Errors
- Added error handling for std::bad_alloc.
2014-10-09 18:09:38 -04:00
Renato Alves
dffd4c0477 Unittest - Remove redundant checks
self.t == self.runSuccess -> fails if exit code is != 0
2014-10-09 13:17:12 +01:00
Renato Alves
27f21d375b Unittest - Clarify documentation of runSuccess/runError 2014-10-09 13:16:47 +01:00
Renato Alves
72823a453f Unittest - Helpers to manage hook scripts during tests 2014-10-08 20:29:56 +01:00
Paul Beckingham
0a234ec2ba Documentation
- Noted the deprecated status of 'limit:N'.
2014-10-07 23:23:48 -04:00
Paul Beckingham
9b7fa8b7ec Parser
- No point checking return value of 'new' operator, because it throws.
2014-10-07 23:12:03 -04:00
Paul Beckingham
4513248360 Task
- Upgrades UDA values of type 'duration' to supported values.
2014-10-07 22:49:46 -04:00
Paul Beckingham
b972c2c6c8 Task
- Improved structure of legacy duration value upgrades, so it can be used for
  other things, namely UDA durations.
2014-10-07 22:38:44 -04:00
Paul Beckingham
1a5fb437a5 Task
- Upgrades legacy recur values.
2014-10-07 00:24:03 -04:00
Paul Beckingham
108a4c7959 Documentation
- Added rc.debug.parser.
2014-10-06 23:27:53 -04:00
Paul Beckingham
f0e4f3f4dc Parser
- Modified to obey rc.debug.parser.
2014-10-06 23:26:53 -04:00
Paul Beckingham
fa011c5bfb Filter
- Modified diagnostics to observe rc.debug.parser.
2014-10-06 23:25:31 -04:00
Paul Beckingham
8eb773b263 Context
- Corrected comment.
2014-10-06 23:24:28 -04:00
Paul Beckingham
d2ca1c498c Documentation
- Added not about debug value propagation.
2014-10-06 23:13:23 -04:00
Paul Beckingham
8ca096689c Util
- Minor formatting.
2014-10-06 23:10:19 -04:00
Paul Beckingham
0075dbe429 Documentation
- Removed 'extensions' mention, and improved 'debug.tls' section.
2014-10-06 23:06:29 -04:00
Paul Beckingham
02c3925ec6 Config
- Removed obsolete (or rather, unused) 'extensions' variable.
2014-10-06 23:05:53 -04:00
Paul Beckingham
7521dc56e8 Hooks
- Supports 'debug.hooks' configuration setting.
2014-10-06 23:04:44 -04:00
Paul Beckingham
b34fd64a9c Parser
- Updated comments.
2014-10-05 11:45:08 -04:00
Paul Beckingham
fa22cff5be Context
- rc.debug.hooks and rc.debug.parser are now valid settings.  They are
  not yet obeyed.
2014-10-04 19:20:38 -04:00
Paul Beckingham
a71d4f1596 Context
- Setting rc.debug implicitly sets debug.tls, debug.parser and debug.hooks.
2014-10-04 19:12:23 -04:00
Paul Beckingham
c360923909 Config
- Added a :has method to detect settings that have no default value.
2014-10-04 19:10:59 -04:00
Paul Beckingham
015575295c Unit Tests
- Corrected test description in for 1110.
2014-10-04 18:25:55 -04:00
Wilhelm Schuermann
d5648b511c Util
- Added includes to make FreeBSD happy.
- Added more error handling.
2014-10-03 14:15:11 -04:00
Wilhelm Schuermann
ffc456be88 Hooks
- Cleaned up on-add.the example hook; now works with huge input without falling over.
2014-10-02 14:50:52 -04:00
Wilhelm Schuermann
1fa4c8ff7b Util
- Reimplemented execute(), this time (hopefully) deadlock-proof.
- Added error handling.
2014-10-02 14:50:47 -04:00
Paul Beckingham
e59a48080c Variant
- ::operator_partial was not treating the status field as a special caseless
  compare, like operator== does.
2014-10-01 18:58:28 -04:00
Paul Beckingham
5c485f6c53 Parser
- Modified ':' to perform partial matches, which means dates now match
  on same day.
2014-10-01 18:31:50 -04:00
Paul Beckingham
47cfe515e6 Unit Tests
- Fixed cal.t test that fails when EOY is within 3 months.
2014-10-01 18:30:36 -04:00
Paul Beckingham
d2d270f486 Documentation
- Added note in the NEWS file about deprecated future features.
- Updated ChangeLog with 'taskd.trust' change.
2014-09-28 18:00:58 -04:00
Paul Beckingham
fe46dadeee TLS
- When an invalid value for 'taskd.trust' is noticed, the 'sync' command will
  error out, and the 'diag' command will refer the user to the man page.
  This is because the allowed values were 'yes'/'no', and now are
  'strict'/'ignore hostname'/'allow all'.
2014-09-28 17:42:14 -04:00
Paul Beckingham
dcc5dbf16a Variant
- The ::operator_match (and by extension operator_nomatch) now obey the rc.regex
  setting.
2014-09-28 13:39:50 -04:00
Paul Beckingham
9e0ea1cb4a Eval
- Better error message for malformed expressions, ie when a binary operator
  expects two values, and sees less then two or when a unary operator sees
  less than one.
2014-09-27 17:08:26 -04:00
Paul Beckingham
071cf55c00 Unit Tests
- Added a default 'hooks=off' to the basetest class, after it was discovered
  that the scan for runnable hooks takes non-trivial time.
2014-09-27 16:49:06 -04:00
Paul Beckingham
61bed34a19 Performance
- Generalized the perf scripts a little, to make it easier to test old versions.
2014-09-27 16:10:50 -04:00
Paul Beckingham
d44c8c5147 Config
- Removed redundant sorting for the 'list' report.
2014-09-27 15:26:07 -04:00
Paul Beckingham
0c3ee68f64 Performance
- Hooks should be disabled for all tests.
2014-09-27 15:24:47 -04:00
Paul Beckingham
c81ae48590 Unit Tests
- Added diag.t, which simply runs the 'diagnostics' command and captures output.
  The output will be gathered and stored by Flod, which means we can monitor the
  platform characteristics.
2014-09-27 11:55:30 -04:00
Paul Beckingham
b4eed6333a Diagnostics
- Included C++ compiler compliance level. If 'diag' output is then included in
  the test suite, we can monitor compliance across platforms, and decide when
  to use new features.
2014-09-27 11:51:17 -04:00
Paul Beckingham
a3d53b401f Unit Tests
- Renamed bug.1418.t to tw-1418.t, the new convention.
2014-09-27 10:41:18 -04:00
Ralph Bean
d2222a4082 Unit Tests
- Added a set of failing tests for the 'filters in operators' bug:
  https://bug.tasktools.org/browse/TW-1418
2014-09-27 10:39:26 -04:00
Paul Beckingham
69d4e0392b CmdCustom
- Removed a vector of column labels that is simply not used.
2014-09-20 14:12:39 -04:00
Paul Beckingham
9bb1dbbd4d ViewTask
- Improved locality, for readability, while debugging column TW-1417.
2014-09-20 14:11:59 -04:00
Paul Beckingham
5c15111bb1 L10N
- Latest updates (thanks to Jeremy John Reeder).
2014-09-19 15:17:31 -04:00
Paul Beckingham
3a0f633948 Fish
- Commented out (with explanations) features that can fill pages of output,
  which is probably not desirable (thanks to Jeremy John Reeder).
2014-09-19 15:15:13 -04:00
Paul Beckingham
1a1bda18ce TLSClient
- Rearranged includes, now matches taskd.
2014-09-18 22:28:47 -04:00
Łukasz Panek
0f23bfa31d Polish localization.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-09-17 20:24:28 -04:00
Paul Beckingham
748ca4896f TLS
- Added many more diagnostics for when GnuTLS calls fail.
- Fixed bug whereby hostname verification failed no matter what.
2014-09-16 00:02:18 -04:00
Paul Beckingham
d7c902bacd Code Cleanup
- Removed obsolete 'run' script.
2014-09-15 23:38:55 -04:00
Paul Beckingham
f593d05ced Merge branch '2.4.0' of ssh://git.tasktools.org/tm/task into 2.4.0 2014-09-15 18:43:50 -04:00
Federico Hernandez
1c152a71ed Bumped versionnumber to 2.4.0.beta1 2014-09-15 23:06:50 +02:00
Paul Beckingham
01d96c25c4 TLS Errors
- Added TLS error to output during client init.
2014-09-15 17:02:52 -04:00
Paul Beckingham
b367041a36 Documentation
- Corrected list of test platforms.
2014-09-14 23:07:30 -04:00
Paul Beckingham
5987594596 RX
- Removed mystery define that has been commented out for three years.
- Added explanatory comments.
2014-09-14 22:15:36 -04:00
Paul Beckingham
5b7e6df00b Util
- The execute() function needed to fill the STDIN pipe before the fork, not
  after the fork, so the data is ready before the child process reads.
2014-09-14 17:43:19 -04:00
Paul Beckingham
bfc6e38851 Hooks
- ::onExit now provides a set of all changeѕ tasks to the hook script, in
  read-only form.
2014-09-14 17:04:12 -04:00
Paul Beckingham
d0fd3bac4a TDB2
- ::update must call validate(false) to ensure metadata exists for the 'modify'
  case, then later call validate() to add defaults for the 'add' case.
2014-09-14 16:36:32 -04:00
Paul Beckingham
90edba9113 Context
- Both ::initialize and ::run need to catch a 'throw (0)' from the hook system.
2014-09-14 16:33:10 -04:00
Paul Beckingham
8be6c589da Hooks
- Implemented new interface.  Testing time.
2014-09-14 15:55:22 -04:00
Paul Beckingham
ab72cdad4d Hooks
- Stubbed new ::onAdd and ::onModify interfaces.
2014-09-14 15:42:47 -04:00
Paul Beckingham
7b617a7b6e TDB2
- Consolidated most of the processing in ::add and ::modify into ::update.
2014-09-14 15:25:37 -04:00
Paul Beckingham
21be0e3e94 TDB2
- Combined add and modify operations in ::add, in case the hook processing
  generates modifications.
2014-09-14 15:07:40 -04:00
Paul Beckingham
ac833c183a TDB2
- TDB2::add no longer assumes that adding one task results in only one task
  begin added, as hook processing may expand the set.
2014-09-14 14:56:54 -04:00
Paul Beckingham
f3c035d2b8 TDB2
- Removed hook processing that is now in the wrong place.
2014-09-14 14:20:30 -04:00
Paul Beckingham
10fa21851b Unit Tests
- Corrected t.t test that assumed ff3 was still supported.
2014-09-14 12:29:34 -04:00
Paul Beckingham
a0c488cfcf Code Cleanup
- Removed support for legacy format FF3 (v1.6.0 - v1.7.1).
2014-09-14 12:16:27 -04:00
Paul Beckingham
e93c61ae8d L10N
- Localized two remaining errors in Task.cpp that were missed.
2014-09-14 12:11:45 -04:00
Paul Beckingham
b5f3cfd9a3 Code Cleanup
- Replaced multiple Task:setX methods with Task::setAsNow (x).
2014-09-14 11:57:02 -04:00
Fidel Mato
cf5dbbb9ee eng-USA.h typos
- Some minor, perhaps-typos.
2014-09-13 22:47:34 -04:00
Fidel Mato
6aaad3bf27 L10N
- Corrections and newly translated strings.
2014-09-13 22:46:57 -04:00
Fidel Mato
75e780330a L10N
- Correction and newly translated strings.
2014-09-13 22:46:40 -04:00
Jeremy John Reeder
d5cfb1d5e5 L10N
I have several corrections to epo-RUS. I also have some corrections to esp-ESP,
several new translations, and improvements to the consistency of the text.
Finally, I have a minor correction to the capitalization within fra-FRA. The
files for all of these improved translations are attached to this message.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-09-12 17:18:48 -04:00
Paul Beckingham
1058f045b0 TDB2
- Added ::has methods to determine whether a UUID is known.
2014-09-10 22:54:17 -04:00
Jeremy John Reeder
2028c7186c More epo-RUS translations.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-09-10 22:20:06 -04:00
Paul Beckingham
05ba58c56f TDB2
- Disabled hook processing while processing hooks. This is because both ::add
  and ::modify can each add or modify tasks, and there is the potential for
  infinite recursion.
2014-09-09 23:37:29 -04:00
Paul Beckingham
7e35508bb4 Hooks
- Added a run-time enable/disable control, for nested add/modify calls.
2014-09-09 23:36:45 -04:00
Paul Beckingham
1fc388886f Hooks
- Typos.
2014-09-09 23:19:39 -04:00
Paul Beckingham
51291f76fe Hooks
- Updated documentation and style of example hook scripts.
2014-09-09 23:09:24 -04:00
Paul Beckingham
ec0757b2c9 Hooks
- Added example of spelling correction via hook script.
2014-09-09 23:08:38 -04:00
Paul Beckingham
8e9e544376 Code Cleanup
- Source alignment. Pretty.
2014-09-09 22:23:02 -04:00
Paul Beckingham
2f03fc5d56 Unit Tests
- Added partial match tests for dates.
2014-09-09 22:19:26 -04:00
Paul Beckingham
a0736706e8 Variant
- Implemented same-day comparison for date types using the partial_match
  operator (=).
2014-09-09 22:11:40 -04:00
Renato Alves
b52e3fb85c L10N - Updates to por-PRT localization 2014-09-09 13:22:17 +01:00
Renato Alves
643533205a L10N - Typos is eng-USA localization 2014-09-09 13:22:17 +01:00
Paul Beckingham
eb92e8c0aa L10N
- Removed (recently) obsoleted strings from translation.
2014-09-09 07:22:58 -04:00
Fidel Mato
57fcba16cb L10N
- esp-ESP newly translated strings.
2014-09-09 07:21:13 -04:00
Paul Beckingham
a905518aea L10N
- Removed residual 'total active time' string that should have been deleted
  earlier.
2014-09-08 20:48:36 -04:00
Paul Beckingham
9f00e9279c L10N
- Removed remainin shadow file error strings that were not removed earlier.
2014-09-08 20:46:59 -04:00
Paul Beckingham
504d8c865b L10N
- Removed unused string leftover after removing unused text.cpp functions.
2014-09-08 20:30:55 -04:00
Fidel Mato
421f3c4a2c eng-USA typos
- Two small typos.
2014-09-08 20:24:20 -04:00
Paul Beckingham
a51dffc7e1 Unit Tests
- Corrected potential for 'modified' to show up in the report, in the
  infrequent case where the modification date was >= 1second ago.
2014-09-08 01:54:37 -04:00
Paul Beckingham
ce797c1e6e Unit Tests
- Upgraded to the new template.
2014-09-08 01:52:43 -04:00
Paul Beckingham
633d273ef3 Hooks
- Implemented replacement for shadow files, in the form of a hook
  script.
- Uses rc.shadow.command otherwise rc.default.command.
- Uses rc.shadow.file.
- Overrides settings that cause race conditions.
- Provides success and failure messages.
2014-09-08 01:38:09 -04:00
Paul Beckingham
a6c4c32ed7 CmdDiagnostics
- Represented the hooks master switch, rc.hooks, on the diagnostic output.
2014-09-08 01:27:32 -04:00
Paul Beckingham
78650ac8c3 Hooks
- Added a master control, rc.hooks, which defaults to 'on', but can be used
  to disable hook processing in general.
2014-09-08 01:22:35 -04:00
Paul Beckingham
150f72eed4 Shadow Files
- Removed the shadow file feature, which has caused much suffering since version
  1.4.3.
2014-09-08 01:09:24 -04:00
Paul Beckingham
7fdac6a09e Hooks
- Added an example hook script, on-exit.shadow-file, which simulates the now
  deprecated (soon to be removed) shadow file feature.
2014-09-08 00:51:21 -04:00
Paul Beckingham
6d36e7cd5b Unit Test
- Removed shadow.t tests ahead of removing the shadow feature, because it is
  broken already due to the removal of auto_commit. The feature will live on
  as an example hook script, using the same configuration variables perhaps.
2014-09-08 00:33:47 -04:00
Paul Beckingham
574aa06249 CmdUndo
- Removed TDB2::commit.
2014-09-08 00:26:39 -04:00
Paul Beckingham
3494a526d7 CmdTimesheet
- Removed TDB2::commit.
2014-09-08 00:26:14 -04:00
Paul Beckingham
e6801007bd CmdSync
- Removed TDB2::commit.
2014-09-08 00:25:36 -04:00
Paul Beckingham
dcbdf42264 CmdSummary
- Removed TDB2::commit.
2014-09-08 00:25:18 -04:00
Paul Beckingham
1950b28fa0 CmdStop
- Removed TDB2::commit.
2014-09-08 00:24:51 -04:00
Paul Beckingham
e70823e23f CmdStart
- Removed TDB2::commit.
2014-09-08 00:24:32 -04:00
Paul Beckingham
cee1b8aecc CmdProjects
- Removed TDB2::commit.
2014-09-08 00:24:04 -04:00
Paul Beckingham
84bddfbd34 CmdPrepend
- Removed TDB2::commit.
2014-09-08 00:23:33 -04:00
Paul Beckingham
784f4e068c CmdModify
- Removed TDB2::commit.
2014-09-08 00:23:00 -04:00
Paul Beckingham
95dcdfb968 CmdLog
- Removed TDB2::commit.
2014-09-08 00:22:38 -04:00
Paul Beckingham
bdce0a8d01 CmdImport
- Removed TDB2::commit.
2014-09-08 00:21:54 -04:00
Paul Beckingham
37722d2857 CmdIDs
- Removed TDB2::commit.
2014-09-08 00:21:25 -04:00
Paul Beckingham
9b14f53075 CmdHistory
- Removed TDB2::commit.
2014-09-08 00:20:47 -04:00
Paul Beckingham
e90a99140e CmdEdit
- Removed TDB2::commit.
2014-09-08 00:20:16 -04:00
Paul Beckingham
36748e5f7d CmdDuplicate
- Removed TDB2::commit.
2014-09-08 00:19:35 -04:00
Paul Beckingham
9246176588 CmdDone
- Removed TDB2::commit.
2014-09-08 00:19:07 -04:00
Paul Beckingham
177dda1dd4 CmdDenotate
- Removed TDB2::commit.
2014-09-08 00:16:24 -04:00
Paul Beckingham
77b3f70ba6 CmdDelete
- Removed TDB2::commit.
2014-09-08 00:15:59 -04:00
Paul Beckingham
9400aba1d1 CmdCustom
- Removed TDB2::commit.
2014-09-08 00:15:18 -04:00
Paul Beckingham
38001ed6ff CmdCount
- Removed TDB2::commit.
2014-09-08 00:14:47 -04:00
Paul Beckingham
0875f04bca CmdCalendar
- Removed TDB2::commit.
2014-09-08 00:13:46 -04:00
Paul Beckingham
4ceae16a24 CmdBurndown
- Removed TDB2::commit.
2014-09-08 00:12:57 -04:00
Paul Beckingham
6f68f8a1c0 CmdAppend
- Removed TDB2::commit.
2014-09-08 00:12:08 -04:00
Paul Beckingham
6d6c8b3ac1 CmdAnnotate
- Removed TDB2::commit.
2014-09-08 00:11:38 -04:00
Paul Beckingham
3bdaeb5f91 CmdAdd
- Removed TDB2::commit.
- Removed unnecessary return code.
2014-09-08 00:10:27 -04:00
Paul Beckingham
c4c25706ac Context
- Removed the auto_commit feature, because now every command call TDB2::commit,
  in case a hook script generated new tasks. This is harmless in NOP situations.
2014-09-08 00:08:05 -04:00
Paul Beckingham
f0a2f0d70e Context
- Restructured code that handles initialization failure, which was checking
  the rc value at each step, which is not necessary and confusing.
2014-09-08 00:06:41 -04:00
Paul Beckingham
d290b8792b Context
- Relocated Hooks::onLaunch call from the end of ::initialize to the beginning
  of ::run.
- Added a TDB2::commit between ::dispatch and Hooks::onExit.
2014-09-08 00:04:09 -04:00
Paul Beckingham
6dff1f36bf Hooks
- Added notes regarding the use of 'first', which may be problematic.
2014-09-08 00:01:54 -04:00
Paul Beckingham
fe549094e3 Task
- Added 'modified' attribute in ::validate, if not already present. This is not
  strictly necessary, but it is good to be explicit.
2014-09-07 23:24:07 -04:00
Paul Beckingham
5ce317bb48 Hooks
- Modified ::onExit to remove the indicator that data was modified. This is not
  supported.
2014-09-07 22:56:28 -04:00
Paul Beckingham
a9cf61c1d1 Hooks
- Removed code supporting data modification during the on-exit event.
- Fixed hook script interface descriptions.
2014-09-07 22:44:03 -04:00
Paul Beckingham
4b70a26e60 Hooks
- Clarified the interface for on-exit, as there is no opportunity for scripts
  triggered by this event to modify data directly.
2014-09-07 22:42:41 -04:00
Paul Beckingham
f47054c485 Hooks
- Added README describing the hook system.
- Corrected hook interface details regarding exit codes.
2014-09-07 22:13:31 -04:00
Paul Beckingham
9e45f5e637 Hooks
- Fixed typo in example hook scripts.
2014-09-07 21:59:31 -04:00
Paul Beckingham
01f2db4b48 Documentation
- Updated developer docs, in preparation for beta.
2014-09-07 21:28:34 -04:00
Paul Beckingham
e15907f3f1 Code Cleanup
- Removed unused uti.cpp indentTree function.
2014-09-07 17:32:46 -04:00
Paul Beckingham
adee92a6b9 Code Cleanup
- Removed unused util.cpp escape function.
2014-09-07 17:27:50 -04:00
Paul Beckingham
66bb5b3906 Code Cleanup
- Removed unused util.cpp encode and decode functions.
2014-09-07 17:25:47 -04:00
Paul Beckingham
a7171193ca Task
- Migrated util.cpp encode and decode functions because this is the only place
  they are used.
2014-09-07 17:23:16 -04:00
Paul Beckingham
bffc7a2ac8 Code Cleanup
- Removed unused util.cpp combine function.
2014-09-07 17:14:03 -04:00
Paul Beckingham
4aa79dccfa Code Cleanup
- Removed unused util.cpp round_up_to and burndown_size functions.
2014-09-07 17:10:06 -04:00
Paul Beckingham
ab95ef5ba5 CmdBurndown
- Migrated util.cpp round_up_to and burndown_size functions to CmdBurndown,
  as they are only called once.
2014-09-07 17:06:11 -04:00
Paul Beckingham
4f54578241 Code Cleanup
- Removed unused util.cpp compressIds function.
2014-09-07 16:57:05 -04:00
Paul Beckingham
dd6399aba7 CmdIDs
- Migrated util.cpp compressIds to CmdIDs::compressIds, as this is the only
  place it is used.
2014-09-07 16:54:59 -04:00
Paul Beckingham
8a31ccabdc Code Cleanup
- Removed unused util.cpp delay function.
2014-09-07 16:48:42 -04:00
Paul Beckingham
be104ee7c4 Code Cleanup
- Removed unused util.cpp confirm3 function.
2014-09-07 16:46:20 -04:00
Paul Beckingham
d9d5d004e6 Code Cleanup
- Removed unused text.cpp cutOff function.
2014-09-07 16:39:05 -04:00
Paul Beckingham
fdb4c1f1bc Code Cleanup
- Removed unused text.cpp visible function.
2014-09-07 16:35:51 -04:00
Paul Beckingham
6303f1c436 Code Cleanup
- Removed unused text.cpp guess function.
2014-09-07 16:30:27 -04:00
Paul Beckingham
f17c59b1f6 Code Cleanup
- Removed unused text.cpp split_minimal function.
2014-09-07 16:27:46 -04:00
Paul Beckingham
8a904fc287 Code Cleanup
- Removed unused text.cpp noVerticalSpace function.
2014-09-07 16:21:32 -04:00
Paul Beckingham
3f07173a03 Code Cleanup
- Removed unused text.cpp isWordEnd function.
2014-09-07 16:15:32 -04:00
Paul Beckingham
7890cf0ab7 Code Cleanup
- Removed unused text.cpp isWordStart function.
2014-09-07 16:12:06 -04:00
Paul Beckingham
c1806303a1 Code Cleanup
- Removed unused text.cpp isTokenEnd function.
2014-09-07 16:06:42 -04:00
Paul Beckingham
2f815a4c6a Unit Tests
- Added test to make sure that rc.default.command is used.
- Added test to make sure that the 'information' command is used when there are
  ID/UUID args but no command.
2014-09-07 14:52:57 -04:00
Paul Beckingham
eebe3b0806 Parser
- Changed ::injectDefaults from collectLeaf to collectTerminated, when scanning
  args to construct the "[task next]" feedback.
2014-09-07 14:51:24 -04:00
Paul Beckingham
9e3a8e5c82 Parser
- Restored default.command in ::injectDefaults.
- Restored 'information' command when an ID/UUID is provided, but no CMD.
2014-09-07 14:37:44 -04:00
Paul Beckingham
ac73a47f9b Parser
- Added the beginnings of the lex-only arg classification.
2014-09-07 13:40:29 -04:00
Paul Beckingham
090c80cb90 Parser
- Removed ::appendStdin.
2014-09-07 13:40:00 -04:00
Paul Beckingham
0da5f9160e STDIN
- Removed the stdin reading feature, which has not been enabled, and is more
  problematic than it should be.
2014-09-07 13:38:46 -04:00
Paul Beckingham
68fb1136cc Lexer
- Added notes about additional lexeme types that are needed, long term.
2014-09-07 13:37:46 -04:00
Paul Beckingham
9ddf447321 Unit Tests
- Added a new set of tests for date math. More of these should be added.
  Some fail and are disabled currently.
2014-09-07 11:22:09 -04:00
Paul Beckingham
803ef4fee2 CmdCustom
- Report filters are now properly lexed, which includes the new typeTag.
2014-09-07 01:20:14 -04:00
Paul Beckingham
aab23692f1 Lexer
- Added a new type Lexer::typeTag.
2014-09-07 01:17:48 -04:00
Paul Beckingham
0b9c84511b Tw-1407
- TW-1407 'task calendar 2014' leaks.
2014-09-06 23:56:32 -04:00
Paul Beckingham
363baa34aa Parser
- Added disqualifier characters for UUID lists.
2014-09-06 23:45:09 -04:00
Paul Beckingham
cb080e70de Parser
- Added disqualifier for id sequences in the form of a set of acceptable
  characters.  Prevents strange problems due to the 'split' calls that are used
  in the implementation.
2014-09-06 23:40:57 -04:00
Paul Beckingham
7c8432d162 Code Cleanup
- util.cpp execute was assuming execvp was returning before freeing memory,
  which is a waste of time.
2014-09-06 22:28:04 -04:00
Paul Beckingham
b4438b4e8f TW-1400
- TW-1400 task "" gives a segfault (thanks to Scott Kostyshak).
2014-09-06 17:22:27 -04:00
Paul Beckingham
04b2378d57 Context
- Removed unreachable code.
2014-09-06 16:47:34 -04:00
Paul Beckingham
ecc528cbf3 L10N
- Marked certain uses of ucFirst as l10n-safe.
2014-09-06 16:11:54 -04:00
Paul Beckingham
de5f41c6c5 Duration
- Cleaned up source formatting.
2014-09-06 15:39:20 -04:00
Paul Beckingham
861cc83e6d TW-241
- TW-241 new column format; recur.short.
- All duration columns now default to compact ISO duration format.
2014-09-06 15:38:25 -04:00
Paul Beckingham
d33de636f1 Fish
- Updated with new config completion.
- Restored completion that was broken by removing tabs.
2014-09-06 15:15:59 -04:00
Paul Beckingham
eae0580c29 Unit Tests
- Corrected test given new localized strings.
2014-09-06 14:45:09 -04:00
Paul Beckingham
84d7fca53f Feedback
- Inverted the test, and improved it.
2014-09-06 14:41:49 -04:00
Paul Beckingham
9b85f8fff2 Unit Tests
- Corrected tests given feedback changes.
2014-09-06 14:38:57 -04:00
Paul Beckingham
0d2f9c6f1c Unit Tests
- Corrected unit tests, given l10n string changes.
- Upgraded to use the new template.
2014-09-06 14:16:22 -04:00
Paul Beckingham
02b2b9b212 Fish
- Updated task.fish (thanks to Roman Inflianskas).
2014-09-06 12:14:28 -04:00
Paul Beckingham
11c013d88c Tw-1409
- TW-1409 Allow "1 of N tasks remaining" to be correctly localized (thanks to
          Jeremy John Reeder).
2014-09-05 16:51:00 -04:00
Roman Inflianskas
f2c9be6c59 TW-1403
- TW-1403 fish shell: no option "modify" after task selection (thanks to Roman
          Infliansksas).

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-08-31 17:31:37 -04:00
Paul Beckingham
386b7fe9b6 TW-248
- TW-248 Substitute text doesn't work with forward slash (thanks to Jostein
         Berntsen).
2014-08-31 17:13:12 -04:00
Paul Beckingham
a7cd985f23 TW-15
- TW-15 'task recurring' shows only children of recurring tasks (thanks to
        Louis-Claude Canon).
2014-08-31 17:04:35 -04:00
Paul Beckingham
259dd94775 Config
- Removed precautionary whitespace that was inserted into report filters when
  we discovered that problem with the parser.  Time to bravely eliminate this
  workaround.
2014-08-31 17:02:37 -04:00
Paul Beckingham
d24d054630 TW-21
- TW-21 do not match a UDA if not followed by colon (thanks to Scott Kostyshak).
2014-08-31 16:56:12 -04:00
Paul Beckingham
258f79c1f9 TW-99
- TW-99 info report streamlining.
2014-08-31 16:27:42 -04:00
Paul Beckingham
0d82c96104 Documentation
- Updated ChangeLog for TW-268.
2014-08-31 13:41:18 -04:00
Paul Beckingham
2e3be1c5a0 Task
- Now decodes backslashes on annotation add.
2014-08-31 13:26:06 -04:00
Paul Beckingham
bd4a7081c1 Task
- Now decodes backslashes on attribute set.
2014-08-31 13:25:46 -04:00
Paul Beckingham
819d15b2a1 Unit Tests
- Not enough backslashes in the unit test, and taskwarrior will need to add
  an extra decode on Task::set and Task::addAnnotaiton.
2014-08-31 13:24:38 -04:00
Paul Beckingham
0f3a8073f0 Unit Tests
- Removed unnecessary backslashes in the unit test.  It was confusing and
  testing the wrong thing.
2014-08-31 13:23:40 -04:00
Paul Beckingham
90643635cd Unit Tests
- Removed excessive tests that add nothing.
2014-08-31 13:06:58 -04:00
Paul Beckingham
fe7683db4a Unit Tests
- Removed backslash.t, which duplicates tests in bug.879.t.
2014-08-31 13:03:02 -04:00
Paul Beckingham
4c98328277 JSON
- Corrected misleading comment.
2014-08-31 12:25:41 -04:00
Paul Beckingham
3c29e81995 Unit Tests
- Upgraded to use the new template.
2014-08-31 11:57:06 -04:00
Paul Beckingham
8b682d8565 Calc
- Now that Eval diagnostics in debug mode go to Context, they must be retrieved
  and displayed.
2014-08-31 11:20:46 -04:00
Paul Beckingham
7a85554924 TW-1405
- TW-1405 Add command _zshattributes (thanks to Roman Inflianskas).
2014-08-31 11:01:53 -04:00
Paul Beckingham
a77e50b441 Eval
- Converted from std::cout to Context::debug.  This is in preparation for
  supporting multiple debug levels.
2014-08-31 10:20:18 -04:00
Paul Beckingham
ad4d063252 Text Formatting
- Added another formatter.  Time for variadics?
2014-08-31 10:19:48 -04:00
Paul Beckingham
a894a3dedb TW-262
- TW-262 Attribute modifiers not working within parentheses (thanks to Johannes
         Schlatow).
2014-08-31 09:45:42 -04:00
Paul Beckingham
ae667a7e9e Code Cleanup
- Removed unused tips files, and associated references (thanks to dev-zero).
2014-08-31 09:20:21 -04:00
Paul Beckingham
72210ec2ac L10N
- Updated Python to 2.7, to match that used in hte unit tests.
2014-08-31 08:48:13 -04:00
Jeremy John Reeder
41e6282052 French localization updates.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-08-31 08:47:43 -04:00
Jeremy John Reeder
aaeec413ab Esperanto localization updates.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-08-31 08:47:05 -04:00
Paul Beckingham
f5908f6514 Tree
- Simplified ::removeAllBranches, and in so doing, eliminated a segfault on
  some OSes.  No idea why.
2014-08-31 01:03:55 -04:00
Paul Beckingham
c21bacedf6 Unit Tests
- Upgraded to use the new template.
2014-08-31 00:14:49 -04:00
Paul Beckingham
ebd7bf99f0 Portability
- Moved stdio.h to be (almost) first in the include order, to prevent and other
  include from in turn including stdio.h without first defining _WITH_GETLINE.
2014-08-31 00:05:08 -04:00
Paul Beckingham
60260fb813 Hooks
- Removed obsolete ::execute method, instead relying on the util.cpp variant.
2014-08-30 23:53:59 -04:00
Paul Beckingham
7a765b186e Portability
- Changed include ordering, for FreeBSD.
2014-08-30 23:44:51 -04:00
Paul Beckingham
df744d5c98 Code Cleanup
- Removed unused util.cpp ::execute variant.
2014-08-30 23:43:58 -04:00
Paul Beckingham
284146162f Portability
- Added _WITH_GETLINE for FreeBSD.
2014-08-30 23:38:11 -04:00
Paul Beckingham
b4ab5fcfac CmdCalendar
- Replaced code that tried to reuse the Context object to reparse the command
  line in order to run the calendar.details.report, with a fork/exec alternative
  that doesn't require acrobatics.
2014-08-30 23:33:47 -04:00
Paul Beckingham
07b7fe4541 Util
- Added new 'execute' function that provides input and captures output.
2014-08-30 23:31:23 -04:00
Paul Beckingham
273d9fe070 Hooks
- Code cleanup.
2014-08-30 23:29:30 -04:00
Paul Beckingham
820c327a81 Util
- Made arg vector const.
- Applied coding conventions.
2014-08-30 23:27:49 -04:00
Paul Beckingham
ff8bc79b8f Unit Tests
- Upgraded to use the new template.
2014-08-30 17:41:22 -04:00
Paul Beckingham
51aa9a5e3e Unit Tests
- Corrected test that assumed $rc was more than just basename.
2014-08-30 17:14:16 -04:00
Paul Beckingham
7862c70fa3 Unit Tests
- Upgraded to usethe new template.
2014-08-30 16:32:11 -04:00
Paul Beckingham
3e8a2c86ec Unit Tests
- Upgraded to use the new template.
2014-08-30 15:44:13 -04:00
Paul Beckingham
281ee18400 Unit Tests
- Corrected unit tests which now pass, but never did before.
2014-08-30 15:42:01 -04:00
Paul Beckingham
a503a02663 Parser
- Rewrote ::insertOr to only operate at the ORIGINAL node level, which is
  appropriate for this operation.
2014-08-30 15:36:08 -04:00
Jeremy John Reeder
a471120e18 Updated grammar in epo-RUS.h localization.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-08-30 15:02:26 -04:00
Paul Beckingham
02bd52d675 Unit Tests
- Test was failing to remove the rc file.
2014-08-28 17:25:52 -04:00
Paul Beckingham
40d72c3cd9 L10N
- Moved all the localizations into a subdirectory.  Because there are 7 now.
2014-08-28 17:25:10 -04:00
Paul Beckingham
d5fed80dcd Unit Tests
- Changes in debug output broke a test.  Reduced string matching to make the
  tests more durable.
2014-08-27 07:07:42 -04:00
Paul Beckingham
3a91a0d798 Unit Tests
- Upgraded to the new template.
2014-08-27 07:00:19 -04:00
Paul Beckingham
2c8d795f21 L10N
- Added completed Esperanto translation (thanks to Jeremy John Reeder).
2014-08-26 23:40:34 -04:00
Paul Beckingham
d96c79f47c L10N
- Renamed epo-EPO to epo-RUS, which is where Esperanto originated.
2014-08-26 23:39:01 -04:00
Paul Beckingham
aa156412b5 Context
- Reorganized ::inintialize sequence regarding Parser::initialize and the need
  for the rc file to be loaded (and/or overridden) before full parsing could
  proceed.
2014-08-26 23:28:04 -04:00
Paul Beckingham
f87ead8804 Parser
- Fixed bug where ::findAttribute and ::findAttributeModifier were scanning
  all nodes, but thinking that '--' was a tag, not a raw value.
2014-08-26 23:26:49 -04:00
Paul Beckingham
3f519785d8 Parser
- Added static method to scan argv[] for overrides without a parse tree, so
  that any rc:<file> arguments can be used to locate the rc file, load it, and
  proceed with command line parsing which relies on things like rc.dateformat.
2014-08-26 23:25:08 -04:00
Paul Beckingham
4077c4d605 Unit Tests
- Upgraded to use the new template.
2014-08-24 22:03:53 -04:00
Paul Beckingham
6081ba6886 Unit Tests
- Upgraded to use the new template.
2014-08-24 22:02:36 -04:00
Paul Beckingham
011e3920fa Unit Tests
- Upgraded to use the new template.
2014-08-24 22:01:35 -04:00
Paul Beckingham
88e022a8d6 Unit Tests
- Upgraded to use the new template.
2014-08-24 22:00:37 -04:00
Paul Beckingham
0ea0a3abcb Unit Tests
- Upgraded to use the new template.
2014-08-24 21:59:40 -04:00
Paul Beckingham
ab881d99fa Unit Tests
- Upgraded to use the new template.
2014-08-24 21:58:52 -04:00
Paul Beckingham
d5e8a2fa16 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:57:46 -04:00
Paul Beckingham
8a27f9e091 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:55:27 -04:00
Paul Beckingham
25be784cf5 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:53:49 -04:00
Paul Beckingham
4e57c6002e Unit Tests
- Upgraded to use the new template.
2014-08-24 21:52:51 -04:00
Paul Beckingham
1dba267120 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:51:29 -04:00
Paul Beckingham
70b80331e6 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:50:33 -04:00
Paul Beckingham
10d41796ab Unit Tests
- Upgraded to use the new template.
2014-08-24 21:47:46 -04:00
Paul Beckingham
59a5853368 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:46:07 -04:00
Paul Beckingham
f5b5439233 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:44:01 -04:00
Paul Beckingham
0b471401cb Unit Tests
- Upgraded to use the new template.
2014-08-24 21:42:42 -04:00
Paul Beckingham
333fd945f6 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:41:45 -04:00
Paul Beckingham
7488d464fc Unit Tests
- Upgraded to use the new template.
2014-08-24 21:40:21 -04:00
Paul Beckingham
038ad9aa2a Unit Tests
- Upgraded to use the new template.
2014-08-24 21:39:08 -04:00
Paul Beckingham
743d4dd155 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:38:00 -04:00
Paul Beckingham
9f934925c5 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:35:21 -04:00
Paul Beckingham
fccf30d0e3 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:32:13 -04:00
Paul Beckingham
ad267a9fd6 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:31:14 -04:00
Paul Beckingham
a0e5fb11ef Unit Tests
- Upgraded to use the new template.
2014-08-24 21:29:40 -04:00
Paul Beckingham
959d3cb07d Unit Tests
- Upgraded to use the new template.
2014-08-24 21:28:20 -04:00
Paul Beckingham
90e43fa6f8 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:27:24 -04:00
Paul Beckingham
6be552939a Unit Tests
- Upgraded to use the new template.
2014-08-24 21:26:06 -04:00
Paul Beckingham
1237a4af10 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:24:41 -04:00
Paul Beckingham
5c194f4847 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:23:55 -04:00
Paul Beckingham
bd12ae96e3 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:22:57 -04:00
Paul Beckingham
e077b5bd34 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:22:04 -04:00
Paul Beckingham
f7b5ba2312 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:21:08 -04:00
Paul Beckingham
1138f6f896 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:20:03 -04:00
Paul Beckingham
82f6d82453 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:18:58 -04:00
Paul Beckingham
12b44d3b15 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:17:48 -04:00
Paul Beckingham
b2b1d82abd Unit Tests
- Upgraded to use the new template.
2014-08-24 21:16:26 -04:00
Paul Beckingham
a84b02ed8f Unit Tests
- Upgraded to use the new template.
2014-08-24 21:15:27 -04:00
Paul Beckingham
2fb2db5957 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:14:35 -04:00
Paul Beckingham
4b59bef64d Unit Tests
- Upgraded to use the new template.
2014-08-24 21:13:38 -04:00
Paul Beckingham
f05abc3ddb Unit Tests
- Upgraded to use the new template.
2014-08-24 21:12:39 -04:00
Paul Beckingham
fc14b283c5 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:11:33 -04:00
Paul Beckingham
353a972802 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:10:29 -04:00
Paul Beckingham
959d59d48d Unit Tests
- Upgraded to use the new template.
2014-08-24 21:09:19 -04:00
Paul Beckingham
f7e5653199 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:08:22 -04:00
Paul Beckingham
ba09dc3198 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:07:16 -04:00
Paul Beckingham
e1908b6714 Unit Tests
- Upgraded to use the new template.
2014-08-24 21:05:46 -04:00
Paul Beckingham
f7deb37174 Unit Tests
- Upgraded to use new template.
- Removed misleading comments.
2014-08-24 17:26:15 -04:00
Paul Beckingham
7f87ebdee8 Unit Tests
- Upgraded to use the new template.
2014-08-24 17:22:26 -04:00
Paul Beckingham
0e701fdad6 Unit Tests
- Upgraded to use the new template.
2014-08-24 17:21:24 -04:00
Paul Beckingham
bb5d0dbb73 Unit Tests
- Upgraded to use the new template.
2014-08-24 17:20:05 -04:00
Paul Beckingham
a93bc08da9 Unit Tests
- Upgraded to use the new template.
2014-08-24 17:19:10 -04:00
Paul Beckingham
e8ef317282 Unit Tests
- Upgraded to use the new template.
2014-08-24 17:18:15 -04:00
Paul Beckingham
7381710c13 Unit Tests
- Upgraded to use the new template.
2014-08-24 17:16:13 -04:00
Paul Beckingham
f0777a14ba Unit Tests
- Upgraded to use the new template.
2014-08-24 17:14:43 -04:00
Paul Beckingham
b9384be943 Unit Tests
- Upgraded to use the new template.
2014-08-24 17:12:52 -04:00
Paul Beckingham
330d27c85a Unit Tests
- Upgraded to use the new template.
2014-08-24 17:11:40 -04:00
Paul Beckingham
9db5e344ba Unit Tests
- Upgraded to use the new template.
2014-08-24 17:10:36 -04:00
Paul Beckingham
59dc22feda Unit Tests
- Upgraded to use the new template.
2014-08-24 17:09:15 -04:00
Paul Beckingham
b7e9917c1f Unit Tests
- Upgraded to use the new template.
2014-08-24 17:07:47 -04:00
Paul Beckingham
801fba4e36 Unit Tests
- Upgraded to use the new template.
2014-08-24 17:06:35 -04:00
Paul Beckingham
064044d289 Unit Tests
- Upgraded to use the new template.
2014-08-24 17:04:49 -04:00
Paul Beckingham
669bf6adbb Unit Tests
- Upgraded to use the new template.
2014-08-24 17:00:59 -04:00
Paul Beckingham
db38534940 Unit Tests
- Upgraded to use the new template.
2014-08-24 16:59:15 -04:00
Paul Beckingham
299827cfb0 Unit Tests
- Upgraded to use the new template.
2014-08-24 16:58:18 -04:00
Paul Beckingham
e93647908e Unit Tests
- Upgraded to use the new template.
2014-08-24 16:56:14 -04:00
Paul Beckingham
7e460f10d1 Parser
- Removed parser upgrade diagnostics, as tw is now stable.
2014-08-24 16:46:39 -04:00
Paul Beckingham
59ffcd858e Parser
- ::findAttribute was not considering all nodes, and failed to remove the "?" tag.
2014-08-24 16:37:17 -04:00
Paul Beckingham
8b904a57f4 Parser
- ::findPattern was performing the wrong scan, and needed branch pruning outside
  the iterator loop.
2014-08-24 16:09:30 -04:00
Paul Beckingham
ce7f6b6492 Unit Tests
- Updated to use the new template.
2014-08-24 15:57:15 -04:00
Paul Beckingham
ba72377209 Unit Tests
- feature.exit.t was not properly converting the return value from a system()
  call to an exit status.
2014-08-24 15:53:35 -04:00
Paul Beckingham
62dc276f0b Unit Tests
- Corrected tests that are no longer valid.
2014-08-24 15:35:05 -04:00
Paul Beckingham
02aed51196 Unit Tests
- Updateض to use the new template.
2014-08-24 15:29:14 -04:00
Paul Beckingham
961b4ade9b Parser
- ::findPattern now scans all nodes.
2014-08-24 15:25:10 -04:00
Paul Beckingham
dac6a9ced5 Parser
- ::resolveAliases needs to scan all nodes.
2014-08-24 15:22:10 -04:00
Paul Beckingham
c446786d46 Parser
- ::getDataLocation needs to scan all nodes.  You'd think I'd learn this by now.
2014-08-24 15:17:14 -04:00
Paul Beckingham
ae4a4e01bc Unit Tests
- Upgraded to use new template.
2014-08-24 14:07:47 -04:00
Paul Beckingham
dd9dc2e9f3 Unit Tests
- Upgraded to use new template.
2014-08-24 14:07:22 -04:00
Paul Beckingham
bf533df39c Parser
- Commented out all diagnostics, as we converge on stable.
2014-08-24 14:06:50 -04:00
Paul Beckingham
06210056f8 Parser
- Corrected comments for accuracy.
2014-08-24 13:54:00 -04:00
Paul Beckingham
a2763a275c Parser
- Code cleanup for ::findCommand.
2014-08-24 13:25:12 -04:00
Paul Beckingham
ce914a31f9 Parser
- Code cleanup of ::findTerminator.
2014-08-24 13:23:19 -04:00
Paul Beckingham
0a4dcc1a21 Parser
- Code cleanup of ::findBinary.
2014-08-24 13:21:51 -04:00
Paul Beckingham
f898953a2e Parser
- ::findIdSequence now safely removes nodes out of the iterator loop.
2014-08-24 13:14:52 -04:00
Paul Beckingham
4f1b63ff02 Documentation
- Added missing docs for deprecated fæature.
2014-08-24 13:00:32 -04:00
Paul Beckingham
df80050c13 Parser
- ::findUUIDList now safely removes nodes out of the iterator loop.
2014-08-24 12:53:50 -04:00
Paul Beckingham
f6c422385b Unit Tests
- Removed misleadign comment.
2014-08-24 12:27:38 -04:00
Paul Beckingham
94b47cddc0 Unit Tests
- Upgraded to match new template.
2014-08-24 12:19:49 -04:00
Paul Beckingham
c46f8a4626 Parser
- ::findTerminator needs to scan all nodes.
2014-08-24 12:15:15 -04:00
Paul Beckingham
bc3dc1e50e Tree
- Removed pointers from ::dumpNode, which are useful for debugging new/delete,
  but simply noise at other times.
2014-08-24 12:12:07 -04:00
Paul Beckingham
e353d8eb8b Parser
- ::findModifications code cleanup.
- ::findStrayModifications now prunes nodes out of the iterator loop.
2014-08-23 17:34:16 -04:00
Paul Beckingham
13e49f6b00 Parser
- ::findAttributeModifier now repeats without breaking the iterator.
2014-08-23 17:27:10 -04:00
Paul Beckingham
37614ac6b3 Parser
- ::findAttribute now repeats without breaking the iterator.
2014-08-23 17:26:28 -04:00
Paul Beckingham
63808b8920 Unit Tests
- Updated 'run' test script to use 'task' instead of the defunct 'args' program.
2014-08-23 17:13:42 -04:00
Paul Beckingham
7e04e307c3 Unit Tests
- Updated op_or.t to the current template.
2014-08-23 17:13:06 -04:00
Paul Beckingham
110fedb18f Parser
- Removed diagnostics from override handling.
2014-08-23 17:09:50 -04:00
Paul Beckingham
711ababc76 Parser
- ::getLimit now scans all nodes.
2014-08-23 16:01:58 -04:00
Paul Beckingham
bc17bf7cbe Parser
- ::findCommand needs to scan all nodes, to find an existing CMD.
2014-08-23 14:59:57 -04:00
Paul Beckingham
312ffe7463 Parser
- Clarified an important comment.
2014-08-23 13:32:26 -04:00
Paul Beckingham
5b5adc4240 Parser
- ::findBinary no longer requires diagnostics.
2014-08-23 13:31:48 -04:00
Paul Beckingham
af77e2e150 Parser
- Modified ::findTag to perform one action and repeat, rather than attempt
  everything at once, with an invalid iterator.
2014-08-23 13:08:52 -04:00
Paul Beckingham
2ce350b3bf AUTHORS
- Added Peter, reporter of a fixed bug.
2014-08-23 12:21:34 -04:00
Paul Beckingham
25ac584466 TW101
- Renamed bug.101.t to tw-101.t, which is basically namespace resolution.
- Typo in NEWS.
2014-08-23 12:11:03 -04:00
atomicules
87f9d548df TW-101 - New description column format: Truncated WITH annotation count
Adds a "truncated with annotation count" column style for the
description field and corresponding unit test.
2014-08-23 12:05:00 -04:00
atomicules
7c6618e50a TLSServer/Client need to include <errno.h> on NetBSD
Same fix applied as per Solaris. See TD-55 and
c60ec0b6ee
2014-08-23 12:05:00 -04:00
Paul Beckingham
0313057446 L10N
- Esperanto localization (thanks to Jeremy John Reeder).
2014-08-23 11:42:50 -04:00
Paul Beckingham
4a07f4e546 Parser
- ::findModifications moves branch pruning out of the iterated loop.
2014-08-22 23:52:24 -04:00
Paul Beckingham
d6ad010085 Parser
- ::findOperator moves brnach pruning outside the iterated loop.
2014-08-22 23:50:54 -04:00
Paul Beckingham
e26f0f0dc9 Parser
- ::findSubstitution moves branch prining out of the iterated loop.
2014-08-22 23:49:06 -04:00
Paul Beckingham
6753176d89 Parser
- ::findPattern moves branch pruning out of the iterated loop.
2014-08-22 23:47:54 -04:00
Paul Beckingham
1b39a03e96 Parser
- ::applyOverrides looks at all nodes.
2014-08-22 23:47:07 -04:00
Paul Beckingham
dbc55b5f73 Parser
- ::findOverrides moves branch pruning out of the iterated loop.
- Now scans all nodes.
2014-08-22 23:45:33 -04:00
Paul Beckingham
3fce252461 Parser
- ::findCommand moves branch pruning out of the iterated loop.
2014-08-22 23:44:18 -04:00
Paul Beckingham
6dad8ddb1b Parser
- ::findTerminator now moves branch pruning out of the iterated loop.
2014-08-22 23:42:58 -04:00
Paul Beckingham
9f9c07a955 Parser
- In ::findBinary, it is not necessary to prune branches.
2014-08-22 23:41:57 -04:00
Paul Beckingham
62725c97e4 Merge branch '2.4.0' of ssh://git.tasktools.org/tm/task into 2.4.0 2014-08-22 22:38:16 -04:00
Paul Beckingham
d4adf13b69 Parser
- Made use of the other ::collect variants.
2014-08-22 22:37:53 -04:00
Paul Beckingham
3aef4f74b9 Parser
- Rewrote ::collect to be simpler.
2014-08-22 22:36:10 -04:00
Paul Beckingham
a735c7eb63 CmdInfo
- Removed the 'total active time' display.  Should have done this a long time ago.
2014-08-22 16:08:16 -04:00
Paul Beckingham
079669e73b Parser
- Modified ::getWords to look at all nodes, including parents.
2014-08-22 16:07:31 -04:00
Paul Beckingham
8376d99e88 Tree
- Added node pointer to ::dump output.  Helps debugging.
2014-08-22 16:07:03 -04:00
Paul Beckingham
f59be41389 Unit Tests
- Updated to use new template.
2014-08-19 00:00:21 -04:00
Paul Beckingham
c371af75b2 Parser
- Fixed ::findStrayModifications to identify the right node to upgrade.
2014-08-18 23:55:48 -04:00
Paul Beckingham
a2a69e94fc Unit Tests
- Updated to use new template.
2014-08-18 23:45:08 -04:00
Paul Beckingham
e81a95c8f7 Unit Tests
- Updated to use new template.
2014-08-18 23:29:09 -04:00
Paul Beckingham
e9f71b152c Parser
- Migrated from Boolean to tristate ::collect method.
2014-08-18 23:18:41 -04:00
Paul Beckingham
4447200357 Parser
- Upgraded the 'bool all' argument to ::collect to a tri-state enum, in a
  polymorphic method.
2014-08-18 23:10:14 -04:00
Paul Beckingham
118f930fad Parser
- Improved, but did not fix, ::insertOr, regarding insertion of nodes into
  _tree and not nodes.  There is still a problem.
2014-08-17 23:39:59 -04:00
Paul Beckingham
6635cd9d84 Parser
- Corrected indirect node insertion, which must be into _tree, not into
  nodes.
2014-08-17 23:39:06 -04:00
Paul Beckingham
293f4d6258 Parser
- ::initialize now recognizes more things it should not lex.
2014-08-17 17:10:13 -04:00
Paul Beckingham
cfc5c08777 Unit Tests
- Updated add.t to the new template.
2014-08-17 16:35:08 -04:00
Paul Beckingham
f9aa34cb67 Parser
- When ::findPlainArgs promotes a WORD to a PATTERN, it needs to move the FILTER
  tag down to the child nodes.
2014-08-17 16:04:50 -04:00
Paul Beckingham
37bf45b696 Parser
- ::insertOr and ::insertAnd must use nodes, not _tree->_branches.
2014-08-17 15:53:49 -04:00
Paul Beckingham
a1ba3df7fb Parser
- ::getLimit does not need to manually skip TERMINATOR nodes.
2014-08-17 15:53:16 -04:00
Paul Beckingham
ea7afa112b Parser
- ::applyOverrides scans all nodes, and must manually skip TERMINATOR.
2014-08-17 15:52:42 -04:00
Paul Beckingham
e2b6e9b65e Parser
- ::getOverrides scans all nodes, and must manually skip TERMINATOR.
2014-08-17 15:51:58 -04:00
Paul Beckingham
075eb4ca74 Parser
- ::findFilter must scan all nodes.
2014-08-17 15:51:28 -04:00
Paul Beckingham
6920b022b2 Parser
- ::findMissingOperators scans all nodes.
2014-08-17 14:38:19 -04:00
Paul Beckingham
1b60478bc7 Parser
- ::findPlainArgs scans all nodes.
2014-08-17 14:37:57 -04:00
Paul Beckingham
ddb5313747 Parser
- ::findStrayModifications scans all nodes.
2014-08-17 14:37:37 -04:00
Paul Beckingham
06b41218c5 Parser
- ::findModifications scans all nodes.
2014-08-17 14:37:17 -04:00
Paul Beckingham
d9e26c3a95 Parser
- ::applyOverrides scans all nodes.
2014-08-17 14:36:55 -04:00
Paul Beckingham
a4b43c2604 Parser
- ::getOverrides scans all nodes.
2014-08-17 14:36:25 -04:00
Paul Beckingham
3eb611057d Parser
- When locating a command, all nodes must be scanned, not just the unknown ones.
2014-08-17 14:30:19 -04:00
Paul Beckingham
bea4c6fd77 Parser
- On initialization, bypass lexing for argv[0] (program name) and any
  'rc:' and 'rc.' arguments.
2014-08-17 14:29:25 -04:00
Paul Beckingham
a3d2750f40 Parser
- Converted all remaining methods to use collect.  Now there is full recursion
  everywhere, which means the parse tree can be arbitrarily deep.
2014-08-17 13:41:17 -04:00
Paul Beckingham
dff7dae3bc Parser
- Modified ::findMissingOperators to use collect.
2014-08-17 13:31:49 -04:00
Paul Beckingham
f4807db6d9 Parser
- Modified ::findPlainArgs to use collect.
2014-08-17 13:27:46 -04:00
Paul Beckingham
1f0ce08042 Parser
- Modified ::findStrayModifications to use collect.
2014-08-17 13:24:31 -04:00
Paul Beckingham
d7ba49084b Parser
- Modified ::findModifications to use collect.
2014-08-17 13:22:25 -04:00
Paul Beckingham
4425f5e142 Parser
- Modified ::findFilter to use collect.
2014-08-17 13:20:56 -04:00
Paul Beckingham
eb00230840 Parser
- Modified ::findIdSequence to use collect.
2014-08-17 13:17:43 -04:00
Paul Beckingham
9111866f80 Parser
- Modified ::findUUIDList to use collect.
2014-08-17 13:15:57 -04:00
Paul Beckingham
2018eae295 Parser
- Removed now-unused ::scan method, as this is no longer used.
2014-08-17 13:06:50 -04:00
Paul Beckingham
ca3b5c9a4d Parser
- Modified ::findOperator to use collect.
2014-08-17 12:40:14 -04:00
Paul Beckingham
a13c816919 Parser
- Modified ::findAttributeModifier to use collect.
2014-08-17 12:33:30 -04:00
Paul Beckingham
56ab8e7920 Parser
- Modified ::findAttribute to use collect.
2014-08-17 12:28:40 -04:00
Paul Beckingham
ed07e47135 Parser
- Modified ::findTag to use collect.
2014-08-17 12:25:08 -04:00
Paul Beckingham
6dd359e900 Parser
- Modified ::findPattern to use collect.
2014-08-17 12:22:03 -04:00
Paul Beckingham
a4f558ee1c Parser
- Converted ::findSubstitution to use collect.
2014-08-17 12:18:35 -04:00
Paul Beckingham
50ac189693 Parser
- Converted ::applyOverrides to use collect.
2014-08-17 12:18:01 -04:00
Paul Beckingham
bbff0123b0 Parser
- Modified ::resolveAliases to use collect.
2014-08-17 12:12:11 -04:00
Paul Beckingham
4645bbc85d Parser
- Modified ::findOverrides to use collect.
2014-08-17 12:10:51 -04:00
Paul Beckingham
f1a61aaeb6 Parser
- Modified ::findCommand to use collect.
2014-08-17 12:10:08 -04:00
Paul Beckingham
4ef7d9c7fb Parser
- Modified ::findTerminator to look at all nodes.
2014-08-17 12:08:56 -04:00
Paul Beckingham
fbf8550274 Parser
- ::findBinary diagnostics.
2014-08-17 12:07:31 -04:00
Paul Beckingham
d1e38a7843 Parser
- Converted ::findTerminator to use collect.
2014-08-17 11:56:34 -04:00
Paul Beckingham
b84736a05f Parser
- Added ::collect method for recursive node gathering that needs some local
  persistence.
2014-08-17 11:37:08 -04:00
Paul Beckingham
6a9cca82d7 Parser
- Converted ::findOperator to use recursive scan.
2014-08-17 01:33:41 -04:00
Paul Beckingham
34215449a8 Parser
- Converted ::findTag to use recursive scan.
2014-08-17 01:20:10 -04:00
Paul Beckingham
c681017961 Parser
- Converted ::findSubstitution to use recursive scan.
2014-08-17 01:17:05 -04:00
Paul Beckingham
0e86233a0a Parser
- Converted ::findPattern to use recursive scan.
2014-08-17 01:13:01 -04:00
Paul Beckingham
4b47229e8f Parser
- Marked ::resolveAliases as needing recursion.
2014-08-17 01:07:27 -04:00
Paul Beckingham
989c503446 Parser
- Converted ::findAttribute to use recusive ::scan.
2014-08-17 01:04:08 -04:00
Paul Beckingham
3a8d42dae7 Parser
- Converted ::findAttributeModifier to use the recursive scanner.
2014-08-17 00:49:20 -04:00
Paul Beckingham
24c2c0cbee Parser
- ::scan should skip nodes tagged with both TERMINATOR and TERMINATED.
2014-08-17 00:43:26 -04:00
Paul Beckingham
ccecec6895 Parser
- Lexemes not immediately recognized in ::initialize MUST be tagged with "?".
2014-08-17 00:42:23 -04:00
Paul Beckingham
3c612a8551 Parser
- Converted ::findTerminator to use the recursive scanner.
2014-08-17 00:41:11 -04:00
Paul Beckingham
fb32b160b8 Parser
- Corrected comment regarding instantly recognized lexemes in ::initialize.
2014-08-17 00:31:45 -04:00
Paul Beckingham
7848b9284d Parser
- Modified ::scan to be recursive, which will now allow arbitrary parse tree
  depth.
2014-08-17 00:26:41 -04:00
Paul Beckingham
3145134953 Parser
- Improved comment. It's an important comment.
2014-08-16 23:53:56 -04:00
Paul Beckingham
314ac28a0f Parser
- Implemented ::scan, which iterates over parse tree nodes and calls back.
  This method skips parent nodes, terminated nodes, and nodes without the '?'
  tag.
2014-08-16 23:53:22 -04:00
Paul Beckingham
1a17aac77b TW-1377
- TW-1377 Tags in default.command are treated as "operator text".
2014-08-16 16:38:04 -04:00
Paul Beckingham
b540257a34 Config
- The 'blocking' report has no business reporting a 'parent' column.
2014-08-16 16:20:14 -04:00
Paul Beckingham
5c6c14e21b TW-1381
- TW-1381 blocking report exits with "Unknown error" and exit code 3.
2014-08-16 16:14:28 -04:00
Paul Beckingham
77047cf07c Column
- Added a missing method to access Column::_name.
2014-08-16 16:12:46 -04:00
Paul Beckingham
b235b6ca60 Config
- Consistent ordering, for readability and easy comparison.
2014-08-16 14:44:56 -04:00
Paul Beckingham
69eb9e8df1 CmdDuplicate
- When duplicating a task, reset the ID, so that TDB2::add can set it properly.
2014-08-16 14:26:05 -04:00
Paul Beckingham
6faf6bb678 TDB2
- Now updates the task ID of any new task, therefore avoiding off-by-one
  errors that occur when code calls TDB2::next_id.
2014-08-16 14:20:00 -04:00
Paul Beckingham
45e6512c02 Unit Tests
- Updated uda_value.t to the new template.
2014-08-16 14:05:37 -04:00
Paul Beckingham
9551a3c554 Documentation
- Cleaned up ChangeLog errors.
2014-08-16 11:52:11 -04:00
Paul Beckingham
fa4fba6573 Code Cleanup
- Corrected comment which was saying the opposite of what happens.
2014-08-16 10:50:05 -04:00
Paul Beckingham
ce07b9ba7b Code Cleanup
- Removed unused attribute lookup from Task::validate.
2014-08-16 10:46:55 -04:00
Paul Beckingham
e91a6a1897 Color
- Removed obsolete second index for color.
2014-08-16 10:40:18 -04:00
Paul Beckingham
55fddd66d1 Unit Tests
- Updated uda_defaults to the new template.
2014-08-16 10:17:01 -04:00
Paul Beckingham
05b1d30c0a Unit Tests
- Removed unnecessary REPO_DIR.
2014-08-11 13:10:29 -04:00
Paul Beckingham
7adadc6d12 Unit Tests
- Added filter-empty.t to test the safety valve overrides.
2014-08-11 12:33:21 -04:00
Paul Beckingham
1ccc284cc7 Safety Valve Override
- Support 'allow.empty.filter', defaulting to 'yes', but if 'no' disallows the
  combination of a write command and an empty filter.  Ordinarily this is just
  a warning that requires confirmation (thanks to Lee Lieske).
2014-08-11 12:32:11 -04:00
Paul Beckingham
c2ffee1352 Config
- Corrected typo in config.
- Added example values for taskd.trust.
2014-08-11 11:34:24 -04:00
Renato Alves
8a4b33b0e3 Unittest - Say where taskd couldn't be found 2014-08-11 11:12:08 +01:00
Paul Beckingham
8ee02c8bac Context
- If Hooks::onExit indicates changes, TDB2::commit is called.
2014-08-09 21:06:58 -04:00
Paul Beckingham
4ef189d7b6 Hooks
- ::onExit now indicates whether changes were made.
2014-08-09 21:06:16 -04:00
Paul Beckingham
3136fa1746 Context
- Added clarifying comment to the strange test in ::verbose.
2014-08-09 20:39:18 -04:00
Paul Beckingham
6209529aaa TDB2
- In debug mode, if any TF2 objects are dirty, they speak up.
2014-08-09 20:26:51 -04:00
Paul Beckingham
9996e5adef Hooks
- Correct handling for JSON and non-JSON output.
2014-08-09 20:19:02 -04:00
Paul Beckingham
2ea9b8786e Hooks
- It is safe to call free() with a null pointer.
2014-08-07 07:51:22 -04:00
Paul Beckingham
0825ce3c56 TDB2
- Updated ID:UUID mapping on ::add, which is the first part of the fix for
  TW-1389.
2014-08-06 10:45:15 -04:00
Paul Beckingham
882ea8102f Unit Tests
- Upgraded tests to newer format.
2014-08-06 10:39:15 -04:00
Renato Alves
b49360c240 Unittest - Notes on env vars that affect test execution 2014-07-31 17:07:14 +01:00
Renato Alves
d9d3b47c31 Unittest - default to ../src/ as location for task/taskd binaries 2014-07-31 17:03:49 +01:00
Renato Alves
16af4d088c Unittest - Add test for TW-262 2014-07-30 17:16:51 +01:00
Paul Beckingham
cb2b1b1e37 Bug
- The 'diagnostics' command obeys color settings.
2014-07-28 00:59:22 -04:00
Paul Beckingham
4f30dce20a TW-1383
- TW-1383 Segmentation fault running import-yaml.pl with included example
          (thanks to Markus Beppler).
2014-07-28 00:21:59 -04:00
Markus Beppler
80b15e5f12 TW-1383
- Segmentation fault running import-yaml.pl with included example

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-07-28 00:21:44 -04:00
Markus Beppler
865bee5f11 TW-1383
- Segmentation fault running import-yaml.pl with included example

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-07-28 00:21:30 -04:00
Paul Beckingham
2f65b23af1 Merge pull request #14 in TM/task from ~UNODE/task:2.4.0 to 2.4.0
* commit '07cd033cbc6d54e1bee6b3044e17fef5ce87d236':
  Unittest - Readability and information improvements with test failures
2014-07-24 17:15:19 +00:00
Renato Alves
07cd033cbc Unittest - Readability and information improvements with test failures 2014-07-24 16:07:58 +01:00
Paul Beckingham
e070500d26 Merge pull request #13 in TM/task from ~UNODE/task:2.4.0 to 2.4.0
* commit '22efbe3f74ee7ef01e982454e2dfceaf407c33d5':
  Unittest - Testcase for bug TW-1381
  Unittest - Testcase for bug TW-1379
  No-color theme / Template theme
  Unittest - Fix newlines should be interpreted in printed output
2014-07-24 14:15:13 +00:00
Renato Alves
22efbe3f74 Unittest - Testcase for bug TW-1381 2014-07-24 15:06:34 +01:00
Renato Alves
d15c98deda Unittest - Testcase for bug TW-1379 2014-07-24 15:04:34 +01:00
Renato Alves
02935726ba No-color theme / Template theme
* This theme is meant to be used while testing colorsthough users may
find it useful as a blank template for their own themes
2014-07-24 13:24:22 +01:00
Renato Alves
f39617a753 Unittest - Fix newlines should be interpreted in printed output 2014-07-24 13:10:44 +01:00
Paul Beckingham
f5b778b800 Merge pull request #12 in TM/task from ~UNODE/task:2.4.0 to 2.4.0
* commit '4a305d5e51c4cccbc99b9ed41476a82966891461':
  Unittest - Fix path to user tx.data
  Unittest - Helper code to easily parse tx.data
  Unittest - Make client credentials available as a dictionary
  Unittest - Make taskd the first argument of Task()
2014-07-19 14:33:49 +00:00
Renato Alves
4a305d5e51 Unittest - Fix path to user tx.data 2014-07-19 02:55:49 +01:00
Renato Alves
974045da7a Unittest - Helper code to easily parse tx.data 2014-07-19 02:28:52 +01:00
Renato Alves
b58c6566af Unittest - Make client credentials available as a dictionary 2014-07-19 02:06:21 +01:00
Renato Alves
4c88726dab Unittest - Make taskd the first argument of Task()
* The most common case is to bind a client to a server and not
customizing the location of the task binary
2014-07-19 00:45:17 +01:00
Paul Beckingham
f9c1e33824 Merge pull request #11 in TM/task from ~UNODE/task:2.4.0 to 2.4.0
* commit 'c5d4efd4d2cdc48489193eee45c2a9566dc6b2fd':
  Unittest - No longer necessary to prefix strings with hash
  Unittest - Buffer stdout/stderr until after test status is printed
  Unittest - Use stderr for diagnostics too
  Unittest - Memoize utils.which for faketime speedups
  Unittest - Add a memoize function for caching of function results
  Unittest - Skip tests that use faketime if not available
  Unittest - Add test example using libfaketime
  Unittest - Implement faketime for use in taskw
  Unittest - Make is easier to reset env vars of task and taskd
  Unittest - Add mechanism to skip task and taskd tests
  Unittest - Add prefixes to task and taskd temporary folders
2014-07-18 19:19:00 +00:00
Renato Alves
c5d4efd4d2 Unittest - No longer necessary to prefix strings with hash 2014-07-18 20:07:02 +01:00
Renato Alves
3fd06257b7 Unittest - Buffer stdout/stderr until after test status is printed 2014-07-18 20:06:29 +01:00
Renato Alves
97d490e0fd Unittest - Use stderr for diagnostics too 2014-07-18 19:22:48 +01:00
Renato Alves
a88b3be093 Unittest - Memoize utils.which for faketime speedups 2014-07-18 17:23:19 +01:00
Renato Alves
d69533add1 Unittest - Add a memoize function for caching of function results 2014-07-18 17:22:17 +01:00
Renato Alves
00ee5b2289 Unittest - Skip tests that use faketime if not available 2014-07-18 17:20:27 +01:00
Renato Alves
fdbb8e02f0 Unittest - Add test example using libfaketime 2014-07-18 17:12:28 +01:00
Renato Alves
15795e514d Unittest - Implement faketime for use in taskw 2014-07-18 17:12:28 +01:00
Renato Alves
02683aecd7 Unittest - Make is easier to reset env vars of task and taskd 2014-07-18 14:01:04 +01:00
Renato Alves
2a198d59fe Unittest - Add mechanism to skip task and taskd tests
* When testing multiple clients vs server versions, repeating client
tests is unnecessary. By setting the env variables TASKW_SKIP and
TASKD_SKIP it will now be possible to skip all task (client only) and
taskd (client + server) tests, respectively.
2014-07-18 13:33:51 +01:00
Renato Alves
72e8a73ae0 Unittest - Add prefixes to task and taskd temporary folders 2014-07-18 13:20:06 +01:00
Paul Beckingham
86dd05c51d Merge pull request #10 in TM/task from ~UNODE/task:2.4.0 to 2.4.0
* commit 'f585bdcdf599973fd2e1d2a86b7b05fbc1800d8c':
  Unittest - Test for task diag always displaying bold
  Unittest - Properly comment output lines in TAP format
  Unittest - Test that the task binary used matches the current commit
2014-07-15 17:12:41 +00:00
Renato Alves
f585bdcdf5 Unittest - Test for task diag always displaying bold 2014-07-15 16:01:00 +01:00
Renato Alves
7cc4775060 Unittest - Properly comment output lines in TAP format 2014-07-15 15:56:26 +01:00
Renato Alves
d65e9b2594 Unittest - Test that the task binary used matches the current commit 2014-07-15 15:39:23 +01:00
Paul Beckingham
f24db73a55 Merge pull request #9 in TM/task from ~UNODE/task:2.4.0 to 2.4.0
* commit '6007da7218719826446af65affdfb93407cae995':
  Unittest - Renumber bug 1377 and strip leftover comments
  Unittest - No need to check for exit code as it's already implicit
2014-07-15 13:59:05 +00:00
Renato Alves
6007da7218 Unittest - Renumber bug 1377 and strip leftover comments 2014-07-15 14:34:04 +01:00
Renato Alves
6fc907ffd5 Unittest - No need to check for exit code as it's already implicit 2014-07-15 14:33:23 +01:00
Paul Beckingham
1abd5460d7 Merge pull request #8 in TM/task from ~UNODE/task:2.4.0 to 2.4.0
* commit '1f279ffde8e838a9cc34e2ebaa71200f0e0bb386':
  Unittest - Try to avoid racing conditions failures when capturing stdout/stderr
2014-07-15 11:17:21 +00:00
Paul Beckingham
b02fc28466 Unit Tests
- Added tw-268.t
2014-07-14 22:39:06 -04:00
Paul Beckingham
34df9633ff Unit Tests
- Added tw-1377.t from Jira (thanks to Renato Alves).
2014-07-14 22:35:31 -04:00
Paul Beckingham
cd89800e56 Unit Tests
- Improved test by checking error codes.
2014-07-14 22:33:51 -04:00
Renato Alves
1f279ffde8 Unittest - Try to avoid racing conditions failures when capturing stdout/stderr
* The new unblocking strategy for subprocesses involves timeouts and
waiting periods. If the timeout is too short (or absent) tests may show
intermittent failure.
* Increasing the timeout may make tests a bit slower but more reliable.
2014-07-15 03:29:49 +01:00
Paul Beckingham
76998987c5 Unit Tests
- Added tw-1359.t
2014-07-14 22:18:04 -04:00
Paul Beckingham
9b6b1cf5f8 Merge pull request #7 in TM/task from ~UNODE/task:2.4.0 to 2.4.0
* commit '9bd7b336f94805982e81192b6a94f840391f1606':
  Unittest - Don't use unittest.TestCase use basetest.TestCase instead
  Unittest - Example of TAP diag use in template.t
  Unittest - Stream blocking tests can now be safely performed
  Unittest - CommandError exception treats SIGABRT specially
  Unittest - exit code may be None if process failed to finish
  Unittest - Add example of skipping taskd test on template.t
  Unittest - Add code to check if taskd is available
  Unittest - Add which() backported from py3.3
  Unittest - Don't display "task diag" by default on error
  Unittest - Don't escape new-line characters in TAP output
  Unittest - Bring back diag() for generating TAP output
2014-07-15 02:05:53 +00:00
Renato Alves
9bd7b336f9 Unittest - Don't use unittest.TestCase use basetest.TestCase instead 2014-07-15 03:04:17 +01:00
Renato Alves
ea5186716e Unittest - Example of TAP diag use in template.t
* Also prettify its output with the amazing whitespace
2014-07-15 03:02:47 +01:00
Renato Alves
e3d0d2ff34 Unittest - Stream blocking tests can now be safely performed
* Processes that blocked waiting for stdin data will now be aborted
after a 1 second timeout.
* As a side-effect any process that takes longer than 1 second to
finish will also be aborted.
2014-07-15 02:43:57 +01:00
Renato Alves
7f9148efb4 Unittest - CommandError exception treats SIGABRT specially
* SIGABRT will be used to signal processes that failed to finish after
the process assigned time (default 1 second).
2014-07-15 02:40:56 +01:00
Renato Alves
04f5f7e2a8 Unittest - exit code may be None if process failed to finish 2014-07-15 01:37:17 +01:00
Renato Alves
5f50c44041 Unittest - Add example of skipping taskd test on template.t 2014-07-15 00:51:29 +01:00
Renato Alves
45c73fc473 Unittest - Add code to check if taskd is available 2014-07-15 00:50:58 +01:00
Renato Alves
b77dfc6312 Unittest - Add which() backported from py3.3 2014-07-15 00:49:50 +01:00
Renato Alves
617183612c Unittest - Don't display "task diag" by default on error 2014-07-14 16:10:44 +01:00
Renato Alves
d419fb9560 Unittest - Don't escape new-line characters in TAP output 2014-07-14 11:44:28 +01:00
Renato Alves
d354d13263 Unittest - Bring back diag() for generating TAP output
* Still needs work to make sure output is displayed after the test
status (not ok ...) and not before.
2014-07-14 11:38:04 +01:00
Paul Beckingham
75fe62149d TW-1359
- TW-1359 "one-two-three" in description triggers Malformed ID error.
2014-07-13 23:40:40 -04:00
Paul Beckingham
aca193799a Merge pull request #6 in TM/task from ~UNODE/task:2.4.0 to 2.4.0
* commit '4ae56838e4a9ec2b8892295d1ea9a1f89e4b7f6c':
  Unittest - Include "task diag" output on error
2014-07-13 23:23:31 +00:00
Renato Alves
4ae56838e4 Unittest - Include "task diag" output on error
* If any command passed to runSuccess or runError returns an unexpected
exit code, the output of 'task diag' will be added to stdout/stderr.
2014-07-14 00:25:43 +01:00
Paul Beckingham
10a64d694e Merge pull request #5 in TM/task from ~UNODE/task:2.4.0 to 2.4.0
* commit '47c113bf8a612544dc882eab13285bf5368cdc31':
  Unittest - Don't run template.t as a regular test
  Unittest - docstring clarification
  Unittest - Replacing old basetest framework
  UnitTest - Alias for runSuccess
  Unittest - Add a line break on last line of initial config
2014-07-13 22:16:27 +00:00
Renato Alves
47c113bf8a Unittest - Don't run template.t as a regular test 2014-07-13 23:14:46 +01:00
Renato Alves
906ca1a4aa Unittest - docstring clarification
* Clarify how the alias is supposed to work in case readers are not
familiar with what __call__ does.
2014-07-13 23:10:16 +01:00
Renato Alves
42cfda704f Unittest - Replacing old basetest framework
* Adapt bugs to work with the newer testing framework
2014-07-13 23:09:53 +01:00
Renato Alves
6a28c2d175 UnitTest - Alias for runSuccess
* Use t() (given t = Task()) as an alias to t.runSuccess()
2014-07-13 23:09:23 +01:00
Renato Alves
ceaf9d3462 Unittest - Add a line break on last line of initial config 2014-07-13 23:09:00 +01:00
Richard Boß
f998037086 Typo
- Fixed typo in 'newest' and 'oldest' report definitions.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-07-13 14:24:24 -04:00
lolilolicon
c92139389a taskdata.vim fixes; ftdetect backlog.data as JSON 2014-07-11 20:13:16 -04:00
lolilolicon
722cc9b300 Update taskedit.vim for multiline values
Commit 0c1fa8b enables multiline value for "Description:". Update
taskedit.vim syntax file for this:

  1) Now all keys are required to be indented exactly 2 spaces.
  2) We treat all keys equally, allowing all values to span multiple
lines, up until the next key.
2014-07-11 20:13:13 -04:00
lolilolicon
09ea21ef7b Update taskrc VIM syntax file for 2.4.0 2014-07-11 20:13:10 -04:00
Paul Beckingham
e8cd1c8eb0 Config
- Updated report titles.
2014-07-10 23:57:39 -04:00
Paul Beckingham
fae31e5e4d Merge branch '2.4.0' of ssh://git.tasktools.org/tm/task into 2.4.0 2014-07-10 23:00:17 -04:00
Paul Beckingham
c57a1dbc6f TW-1373
- TW-1373 taskrc.vim VIM syntax file updated (thanks to lolilolicon).
2014-07-10 22:58:59 -04:00
Paul Beckingham
4a81dc89f2 Config
- Added listing breaks on the 'project' columns, for the 'list' and 'minimal'
  reports.
2014-07-10 22:56:07 -04:00
Paul Beckingham
ab3935ac85 TW-193
- TW-193 Support listing breaks.
2014-07-10 22:48:17 -04:00
Paul Beckingham
bd7e66a939 Context
- Improved sort column parsing to include an optional trailing solidus, in
  addition to the +/- sort direction.
2014-07-10 22:14:35 -04:00
Paul Beckingham
9c2aea6d62 ViewTask
- When supplied with a vector of attribute names, can insert spacing into the
  rendered output when values change.  These we call listing breaks.
2014-07-10 21:34:17 -04:00
Leo
284ad21466 French (fra-FRA) Localization
- The latest translation update from leowzukw.
2014-07-10 18:18:03 -04:00
Paul Beckingham
32566c9844 Bug
- Segfault when 'project:android' is split into 'and' and 'roid' (thanks to
  Richard Boß).
2014-07-07 21:43:09 -04:00
Paul Beckingham
af75fa8b05 TW-296
- TW-296 urgency of blocked task should affect urgency of blocking task (thanks
         to Sitaram Chamarty).
2014-07-06 17:19:29 -04:00
Wilhelm Schuermann
7548ce662a TW-296
- TW-296 urgency of blocked task should affect urgency of blocking task

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-07-06 14:11:10 -04:00
Paul Beckingham
0c1fa8b20e TW-288
- TW-288 `task edit` mangles descriptions with embedded newlines (thanks to
         Kevin Ballard).
2014-07-06 12:14:44 -04:00
Paul Beckingham
68ceea953a TW-1293, TW-1294
- TW-1293 Modifying or deleting a child task does not propagate if there are no
          siblings (thanks to darkfeline).
- TW-1294 Modifying a child task does not propagate to parent (thanks to
          darkfeline).
2014-07-06 09:55:59 -04:00
Paul Beckingham
e3d7479211 CmdUrgency
- Removed unnecessary variable.
2014-07-06 09:30:00 -04:00
Paul Beckingham
2e27ed0268 Code Cleanup
- Removed unnecessary include.
- Removed extra whitespace.
2014-07-06 09:29:32 -04:00
Paul Beckingham
6fb1cbdc7f CMake
- Removed 'args' binary, which is no longer needed.
2014-07-06 09:24:14 -04:00
Paul Beckingham
4f9503421b TW-1334
- TW-1334 task mod description:"word1 word2" fails to handle space (thanks to
          Benjamin Weber).
2014-07-06 00:58:31 -04:00
Paul Beckingham
5697270ecf TW-252
- TW-252 task done - Doesn't stop task before marking complete (thanks to
         Renato Alves).
2014-07-06 00:47:53 -04:00
Paul Beckingham
75af8d6ca4 Task
- The ::remove method only needs to set ::recalc_urgency if the attribute was
  actually removed.
2014-07-06 00:36:16 -04:00
Paul Beckingham
c54a17089a Dates
- Converted ::isDay to use Date::dayOfWeek.
2014-07-06 00:20:25 -04:00
Paul Beckingham
d5919d9608 Dates
- Removed unused ::leapYear function.
2014-07-06 00:10:48 -04:00
Paul Beckingham
23e3499244 Merge pull request #4 in TM/task from ~UNODE/task:2.4.0 to 2.4.0
* commit '715a414abd1d2dcd9ee83cd535656b95d0245733':
  UnitTests
  PKI
  Make wait time configurable. Could be needed in slower machines.
  Prevent reuse of Taskd after being destroyed
2014-07-06 01:29:40 +00:00
Renato Alves
715a414abd UnitTests
* Taskd and Taskw classes for testing are now available
 * Testing of server and client can now be performed.
 * The newer test wrappers will eventually replace the BaseTest class
2014-07-06 02:03:04 +01:00
Renato Alves
733561863e PKI
* Working certificates with taskd-1.0.0 and taskw-2.3.0
2014-07-06 01:35:09 +01:00
Renato Alves
b60682a1e4 Make wait time configurable. Could be needed in slower machines. 2014-07-06 01:03:32 +01:00
Renato Alves
c1dbe4fc3c Prevent reuse of Taskd after being destroyed 2014-07-06 01:03:32 +01:00
Paul Beckingham
e615d449ac Revert "PKI"
This reverts commit 6399460559.
2014-07-05 20:01:31 -04:00
Paul Beckingham
6399460559 PKI
- Regenerated set of certs/keys.
- Added README.
2014-07-05 19:47:30 -04:00
Paul Beckingham
fb48177e90 Dates
- Eliminated redundant implementations of daysInMonth().
2014-07-05 13:02:01 -04:00
Paul Beckingham
8861193999 Date
- Simplified ::daysInMonth.
2014-07-05 12:53:31 -04:00
Paul Beckingham
4a931868c1 Date
- Removed unused list of obsolete relative dates.
2014-07-05 12:03:29 -04:00
Paul Beckingham
79fd38d3a8 L10N
- Removed oddly broken strings.
2014-07-05 11:46:01 -04:00
Paul Beckingham
57e63dfeb2 L10N
- Localized Dates.
2014-07-05 11:39:22 -04:00
Paul Beckingham
4996576d64 Dates
- Removed unused constants.
2014-07-05 11:30:04 -04:00
Paul Beckingham
ffd9a96ae6 Code Cleanup
- Removed unused strings.
2014-07-05 11:22:03 -04:00
Paul Beckingham
d6c6245ca9 L10N
- Bug in l10n utility where it only searched for used strings in src/??-??.h
  files instead of src/???-???.h
2014-07-05 11:21:10 -04:00
Paul Beckingham
3716e61259 L10N
- Localized Lexer.
2014-07-05 11:11:19 -04:00
Paul Beckingham
beb2ee4d66 L10N
- Localized Variant.
2014-07-05 10:45:40 -04:00
Paul Beckingham
5da1d4471e Code Cleanup
- Marked legacy items, formatting cleanup.
2014-07-05 09:39:26 -04:00
Paul Beckingham
4dd57a01bb ISO8601
- Removed debugging code.
2014-07-05 09:38:52 -04:00
Paul Beckingham
7957ce3e09 TW-43
- TW-43 Better error handling than: "Found extra operands." (thanks to Benjamin
        Weber).
2014-07-04 18:05:19 -04:00
Paul Beckingham
378799e27d L10N
- Localized Parser.
2014-07-04 18:03:25 -04:00
Paul Beckingham
70156d3c3d L10N
- Localized Eval.
2014-07-04 17:40:11 -04:00
Scott Kostyshak
6eee9e0544 Bash Completion
- Improved bash completion when TASKRC is exported.
- Added a unit test.

Description of previous behavior:

  $ export TASKRC=/tmp/.taskrc
  $ task ad<TAB><TAB>

lead to the following output:

  $ task adTASKRC override: /tmp/.taskrc
  dTASKRC override: /tmp/.taskrc
  TASKRC override: /tmp/.taskrc

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-07-04 16:35:15 -04:00
Paul Beckingham
222c357c0a TW-257
- TW-257 limit: not working properly (thanks to Aikido Guy).
2014-07-04 11:26:49 -04:00
Paul Beckingham
7ac533a82d CmdCustom
- Removed unused local ::getLimits method, in favor of Context::getLimits.
2014-07-04 11:11:15 -04:00
Paul Beckingham
0cd56932a5 Context
- Added ::getLimits, copied from CmdCustom, for more general use.
2014-07-04 11:03:23 -04:00
Paul Beckingham
fa58c24c66 Deprecation
- Removed deprecated 'report.X.limit' feature.
2014-07-04 11:02:10 -04:00
Paul Beckingham
ca9683d912 Unit Tests
- After renaming 'template.py' to 'template.t', the failing and skipped tests
  within as examples are now affecting the totals because all *.t files are
  run. Commented out tests.
2014-07-04 11:00:44 -04:00
Paul Beckingham
0f38f1decd Verbosity
- Made 'new-id' and 'new-uuid' mutually exclusive.
2014-07-04 10:41:49 -04:00
Paul Beckingham
f9ab71685d Unit Tests
- Eliminated the Perl template, overwriting it with the Python template.
2014-07-04 10:25:41 -04:00
Paul Beckingham
560f41a930 Documentation
- Updated developer documentation for 2.4.0.
2014-07-04 10:24:31 -04:00
Paul Beckingham
1ac7dc0d5d TW-1360
- TW-1360 color.until directive missing.
2014-07-04 10:00:26 -04:00
Paul Beckingham
5a6f81a1fd Unit Tests
- Removed unnecessary code.  Thanks Renato.
2014-07-04 09:45:32 -04:00
Paul Beckingham
726214adca Documentation
- Updated man page to include new verbosity token.
2014-07-04 09:26:18 -04:00
Paul Beckingham
b60a4aff22 TW-294
- TW-294 Display UUID of task created by add (thanks to John West).
2014-07-04 09:24:55 -04:00
Paul Beckingham
949c7bba06 TW-259
- TW-259 Hyphenated words are split when added (thanks to Ben Boeckel).
2014-07-04 01:28:43 -04:00
Paul Beckingham
c65b30fbba Parser
- Implemented ::resolveAliases to expand them.
2014-07-03 22:40:43 -04:00
Paul Beckingham
4a063843b1 Parser
- Only lex arguments into sub-branches if there is more than one lexeme per
  argument.  Of course, you have to do the lex first, otherwise you don't
  know.
2014-07-03 22:39:27 -04:00
Paul Beckingham
531e490e44 Context
- Properly extract alias 'from' from the configuration variable name.
2014-07-03 22:34:05 -04:00
Paul Beckingham
a91d6227f8 Alias
- Removed last traces of Alias object.
2014-07-03 20:47:28 -04:00
Paul Beckingham
bc24d107d5 Context
- Stuffs parser with alias definitions, from Context::loadAliases.  This keeps
  the configuration settings apart from the Parser implementation.
2014-07-03 19:09:24 -04:00
Paul Beckingham
08b0d573e8 Parser
- Stubbed ::resolveAliases.
2014-07-03 19:07:29 -04:00
Paul Beckingham
29604d0626 Context
- Stubbed a ::loadAliases method to stuff the Parser with alias defs.
2014-07-03 19:06:05 -04:00
Paul Beckingham
5b9413b02c Alias
- Removal of alias load/resolve code, which (1) needs a rewrite, and (2) belongs
  in the Parser.
2014-07-03 19:04:48 -04:00
Paul Beckingham
6145869f43 Parser
- Added alias collection methods.
2014-07-03 18:49:32 -04:00
Paul Beckingham
468da9dcde Parser
- Sets proper ambiguity required during Parser::initialize.
2014-07-03 18:17:35 -04:00
Paul Beckingham
a04df10d11 TW-1267
- TW-1267 If default.project is defined it's not possible to add a task without
          a project (thanks to Renato Alves).
2014-07-03 17:41:39 -04:00
Paul Beckingham
5e1f596200 Unit Tests
- Added a 'diag' method to the Python test class.
2014-07-03 17:38:41 -04:00
Paul Beckingham
7a37317526 Unit Tests
- Corrected mistake made earlier when assuming the first test was a 'control'.
  It was not.
2014-07-03 17:37:30 -04:00
Paul Beckingham
c8f2b5a858 Unit Tests
- Fixed flapping in bug.932.t. The problem was a regex that assumeѕ the age of
  the task was < 1second, but sometimes, when the creation of a task and the
  reporting of a task crossed a 1-second boundary, the age shows up as '1s'.
  With the regex now more permissive, the problem is gone.
2014-07-03 17:19:36 -04:00
Paul Beckingham
58c46bc292 Task
- Now that ::composeF4 guarantees not to write out attributes with blank values,
  we can use blank values to indicate that blanks were specified on the command
  line, and avoid apllication of defaults.
2014-07-03 17:13:26 -04:00
Paul Beckingham
a969d34d21 Unit Tests
- Corrected unit test, which had the wrong expected output.
2014-07-03 16:53:07 -04:00
Paul Beckingham
c5dacd7d78 Legacy
- Addded 'm' to the list of legacy duration formats, for mapping into 'months'.
2014-07-03 16:42:51 -04:00
Paul Beckingham
a46b778101 Unit Tests
- Old unit test was escaping quotes, which is no longer necessary.
2014-07-03 16:36:54 -04:00
Paul Beckingham
9778100d29 Lexer
- When parsing two-character operators ('or') from a string ('ordinary'), the
  lack of boundary between the 'r' and the 'd' now prevents the operator 'or'
  from being recognized.
2014-07-03 16:26:17 -04:00
Paul Beckingham
b6fee35213 Unit Tests
- Corrected bug.calc.t to match current calc debug output.
2014-07-03 15:51:02 -04:00
Paul Beckingham
843f7ce704 Unit Tests
- Corrected Lexer test to use a supported duration.
2014-07-03 15:39:50 -04:00
Paul Beckingham
a3cfc2de7f Filter
- The 'ambiguity' control for Eval was being set *after* the expression was
  parsed, which was useless and misleading.
2014-07-03 15:27:00 -04:00
Paul Beckingham
43daabdb9a Unit Tests
- Modfiied bug.485.t to use supported recurrence period values.
2014-07-03 13:43:14 -04:00
Paul Beckingham
b7c2fd0d9c Legacy
- Now maps unsupported duration values to supported values.
2014-07-03 13:38:18 -04:00
Paul Beckingham
140757cfe1 Unit Tests
- Modified test to account for non-standalone status of certain duration
  values.
2014-07-03 11:44:50 -04:00
Paul Beckingham
fe31d4ee71 Unit Tests
- Added tests for TW-1306.
2014-07-03 11:04:34 -04:00
Paul Beckingham
e5834c8a4f TW-1306
- TW-1306 Arguments before 'add' are ignored.
2014-07-03 10:50:25 -04:00
Paul Beckingham
d6e734b57d TW-128
- TW-128 new helper command; _envs. Actually no, not a new command, but the
  $TASKRC and $TASKDATA environment variables are now show in the 'diag'
  command output.
2014-07-02 00:17:51 -04:00
Paul Beckingham
5413d3172b TW-230, TW-1329
- TW-230 Filter tasks on partial UUIDs (thanks to Paul Kishimoto).
- TW-1329 Short UUIDs (thanks to Benjamin Weber).
2014-07-01 23:56:53 -04:00
Paul Beckingham
e663072088 TW-1336
- TW-1336 Project attribute does not allow whitespace (thanks to Benjamin Weber).
2014-07-01 21:26:13 -04:00
Paul Beckingham
dfe857d5a7 TW-276
- TW-276 Path is wrongly added when using annotate (thanks to Jostein Berntsen).
2014-07-01 21:14:37 -04:00
Paul Beckingham
d850510375 TW-1366
- TW-1366 In diagnostics it's called 'Cert', and in config it's called
  'certificate' (thanks to Jack).
2014-07-01 20:58:15 -04:00
Paul Beckingham
e7c8c0ca2a L10N
- Localized backlog/sync feedback string.
2014-07-01 20:25:33 -04:00
Paul Beckingham
4c65bc049b TW-44
- TW-44 Space handling in dateformat (thanks to Louis-Claude Canon).
2014-07-01 20:17:07 -04:00
Paul Beckingham
82e14c30bc TW-1341
- TW-1341 confirmation config setting should apply to config command as well
  (thanks to Charles Ulrich).
2014-07-01 20:10:45 -04:00
Paul Beckingham
f2a545bc25 Hooks
- First pass at a portable 'popen' implementation.  Thanks to Wim.
2014-07-01 20:02:27 -04:00
Paul Beckingham
b989da7259 TW-1361
- TW-1361 Strange results with complex filter (thanks to Jim B).
2014-07-01 18:02:31 -04:00
Paul Beckingham
e9e93bd92b Unit Tests
- Corrected tests to differentiate between standalone durations and numeric
  leader durations.
2014-07-01 17:23:07 -04:00
Paul Beckingham
5170a842d6 Duration
- Distinguishes between a 'standalone' duration like 'year', and one that
  requires a numeric leader, '2 weeks'.
2014-07-01 17:22:20 -04:00
Leo
9095f47ff3 L10N
- The latest translation update from leowzukw.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-07-01 07:12:28 -04:00
Paul Beckingham
91670e9cb5 Dates
- Named dates now store the raw form as the source, to assist parsing.
2014-06-29 22:18:43 -04:00
Paul Beckingham
c5bde168c4 Unit Tests
- Fixed typo in test.
2014-06-29 22:18:23 -04:00
Paul Beckingham
e17dd13afd Unit Tests
- Added tests for date parsing with and without depletion.
2014-06-29 22:17:52 -04:00
Paul Beckingham
0c0e36993d Date
- Added a new date parse method that indicates the length of the parsed item,
  and does not require Nibbler::depletion.
2014-06-29 22:16:44 -04:00
Paul Beckingham
17ffe3d222 L10N
- French localization (thanks to leowzukw).
2014-06-29 12:35:39 -04:00
Leo
fe02466100 French (fra-FRA) Localization
- The latest translation update from leowzukw.
2014-06-29 12:32:30 -04:00
Paul Beckingham
be6ec99fcb Lexer
- Shut off the depletion requiremeent for lexed dates.
2014-06-29 11:36:51 -04:00
Paul Beckingham
3639226233 Unit Tests
- Added tests for date parsing without the depletion requirement.
2014-06-29 11:12:35 -04:00
Paul Beckingham
3d10dee67d Date
- Formatting for readability.
2014-06-29 11:12:08 -04:00
Paul Beckingham
ecb6adbbeb Date
- Made the buffer depletion requirement optional for dateformat and ISO date
  parsing.
2014-06-29 10:31:52 -04:00
Paul Beckingham
5150e49f67 Lexer
- Legacy date parsing should not permis ISO and epoch inputs.
2014-06-29 09:55:31 -04:00
Paul Beckingham
9b03e8f9f7 Date
- Correctly performs Nibbler save/restore for parse attempts.
2014-06-29 09:54:43 -04:00
Paul Beckingham
92b91a3141 Unit Tests
- Corrected calc output expectations.
2014-06-29 09:37:19 -04:00
Paul Beckingham
65f979cb4f Lexer
- Refactored (step 1) the ISO and Legacy date/duration parsing for lexer state
  machine breakout.
2014-06-29 09:36:27 -04:00
Paul Beckingham
d54afc844c Eval
- Improved formatting for diagnostics.
2014-06-28 12:40:27 -04:00
Paul Beckingham
0c4c665653 Eval
- Diagnostics now represent correct stack size.
2014-06-28 12:35:43 -04:00
Paul Beckingham
80c8daff08 Eval
- Removed Eval diagnostics that dispalyed the wrong type.
2014-06-28 12:33:22 -04:00
Paul Beckingham
d787e1b969 Unit Test
- Removed character (!) from task project name that was causing a _neg_ operator
  to be invoked.
2014-06-27 19:11:02 -04:00
Paul Beckingham
28ed6ae74d Task
- Now recognizeѕ '', "" and <blank> as examples of an attribute values that
  should be cleared.
2014-06-27 19:09:26 -04:00
Paul Beckingham
74b4684d40 Duration
- Now distinguishes between duration that require prefix quantities ('days') and
  those that do not ('annual').
2014-06-27 19:08:29 -04:00
Paul Beckingham
92f74fc664 Task
- Quotes arguments for readability.
2014-06-27 19:07:39 -04:00
Paul Beckingham
46c9ddc91f Parser
- Now tags ORIGINAL arguments that were quoted or escaped with QUOTED.
2014-06-27 19:06:35 -04:00
Paul Beckingham
9dd7acac0b Task
- Simplified dependency modification hnadling.
2014-06-26 23:55:50 -04:00
Paul Beckingham
e688176310 Parser
- Plain arguments may only be upgraded to search patterns if they cannot be
  split into multiple lexemes, and do not canonicalize to an attribute name.
2014-06-25 22:04:56 -04:00
Paul Beckingham
8bad1591dc Parser
- Rewrote ::findIdSequence to be more exacting in the definition of an ID.
  The previous implementation considered '1.2' to be an ID.
2014-06-25 21:42:00 -04:00
Paul Beckingham
d4a003f121 TW-1324
- TW-1324 Numeric UDAs are compared as strings (thanks to Ben Boeckel).
2014-06-24 23:26:41 -04:00
Paul Beckingham
525f3cda75 TW-266
- TW-266 Allow project auto-completion to search completed tasks (thanks to
         Kosta Harlan).
2014-06-24 23:19:50 -04:00
Paul Beckingham
d29b6d5631 TW-1316
- TW-1316 Some filter expressions require space before closing paren (thanks to
          Will Dietz).
2014-06-24 22:32:56 -04:00
Paul Beckingham
7cae96a87c TW-168
- TW-168 modification of due date relative to current due date (thanks to Dirk
         Sarpe).
2014-06-24 22:30:44 -04:00
Paul Beckingham
45e4eaa780 TW-249
- TW-249 Report filters don't allow parantheses (thanks to Philipp Woelfel).
2014-06-24 22:27:55 -04:00
Paul Beckingham
c0069c8341 TW-186
- TW-186 Increase for numerical UDAs (thanks to Steffen Uhlig).
2014-06-24 22:21:36 -04:00
Paul Beckingham
db6cecd2f3 DOM
- When attributes are accessed via DOM references, the value extracted is now
  imbued with the attribute type.
2014-06-24 22:16:57 -04:00
Paul Beckingham
f72aa7b02c Eval
- Updated Eval runtime diagnostics, so that all stack I/O is shown during
  evaluation.
2014-06-24 22:15:59 -04:00
Paul Beckingham
1ccbb3b43a Task
- Added ::get_float method for accessing numeric attributes.
2014-06-24 22:14:46 -04:00
Paul Beckingham
f3bdac085b TW-1345
- TW-1345 taskrc.5 manpage errors.
2014-06-21 07:36:30 -04:00
Paul Beckingham
db0a56e4f5 Variant
- Improved copy ctor.
2014-06-18 23:50:24 -04:00
Paul Beckingham
e14c867a9b Unit Tests
- Added tests for Lexer::boundary.
2014-06-18 17:46:05 -04:00
Paul Beckingham
008ba6ecab Lexer
- Implmented boundary detection hints.
2014-06-18 17:45:25 -04:00
Paul Beckingham
cbb6decf93 Unit Tests
- Added Lexer test to split 'ordinary' into 'ordinary', not 'or' and 'dinary'.
2014-06-18 00:18:18 -04:00
Paul Beckingham
1ca58fad52 Unit Tests
- Corrected verbosity settings to keep filter terms out of results, and
  affecting tests.
2014-06-17 23:20:36 -04:00
Paul Beckingham
43c097e10e Unit Tests
- Updated to conform to template.
2014-06-17 01:18:34 -04:00
Paul Beckingham
45d41bbe75 Unit Tests
- Compares to the correct error message.
- Updated to conform to template.
2014-06-17 01:14:21 -04:00
Paul Beckingham
27801c3666 Unit Tests
- Updated to conform to template.
2014-06-17 01:10:59 -04:00
Paul Beckingham
13bbcba3f9 Variant
- ::operator== uses a caseless compare for the status attribute.
2014-06-17 01:10:16 -04:00
Paul Beckingham
2a3c5e59c7 Variant
- Corrected handling for ::operator_partial when one of the operands is
  trivial.
2014-06-17 01:00:51 -04:00
Paul Beckingham
adb5f2b4bd Unit Tests
- Updated to conform to template.
2014-06-17 00:59:59 -04:00
Paul Beckingham
5f61c55b83 Unit Tests
- Corrected tests to use 3-letter day abbreviation, and look for the correct
  error message.
- Updated to conform to template.
2014-06-16 21:44:30 -04:00
Paul Beckingham
8ec5533d39 Parser
- Removed unused constant.
2014-06-16 19:50:00 -04:00
Paul Beckingham
6a4a046b1a Variant
- Updated operator%= to handle trivial values.
2014-06-16 18:44:37 -04:00
Paul Beckingham
74af53cb4f Variant
- Updated operator/= to handle trivial values.
2014-06-16 18:43:44 -04:00
Paul Beckingham
a7cc2a594a Variant
- Updated operator*= to handle trivial values.
2014-06-16 18:43:11 -04:00
Paul Beckingham
2a552d4fc0 Variant
- Updated operator+= to handle trivial values.
2014-06-16 18:42:53 -04:00
Paul Beckingham
5dbbca882f Variant
- Updated operator-= to handle trivial values.
2014-06-16 18:42:31 -04:00
Paul Beckingham
e0bca6c4ad Variant
- Updated operator_partial to handle trivial values.
2014-06-16 18:42:11 -04:00
Paul Beckingham
c1a9e1e452 Variant
- Updated operator== to handle trivial values.
2014-06-16 18:41:36 -04:00
Paul Beckingham
5e9229db76 Variant
- Updated operator>= to handle trivial values.
2014-06-16 18:41:04 -04:00
Paul Beckingham
fc3688ea70 Variant
- Updated operator> to handle trivial values.
2014-06-16 18:40:34 -04:00
Paul Beckingham
78a748e865 Variant
- Updated operator<= to handle trivial values.
2014-06-16 18:40:00 -04:00
Paul Beckingham
7484b5a22f Variant
- Updated operator< to handle trivial values.
2014-06-16 18:38:43 -04:00
Paul Beckingham
8e16a3e0e4 Variant
- Implemented ::trivial to faclitate operator shortcuts.
2014-06-16 17:25:48 -04:00
Paul Beckingham
841c78768c Unit Tests
- Removed invliad test.
2014-06-15 23:54:14 -04:00
Paul Beckingham
392c9971f5 Unit Tests
- Corrected expectation that assumeѕ all duration fields are in ISO format.
2014-06-15 23:42:16 -04:00
Paul Beckingham
ef3deaad4a Task
- When a duration fails to parse during ::modify, it must raise an exception,
  and not silently skip the attribute.
2014-06-15 23:34:43 -04:00
Paul Beckingham
64c9cbe943 Task
- Å duration field is stored in raw form, but must still be parseable.
2014-06-15 23:21:54 -04:00
Paul Beckingham
d2a5a89bcf Unit Tests
- Now conform to template.
2014-06-15 23:21:30 -04:00
Paul Beckingham
8c34d46687 Unit Tests
- Corrected unit tests that assume 'sod' and 'eod' are the same day.
2014-06-15 23:10:47 -04:00
Paul Beckingham
464d0ec690 Unit Tests
- Corrected test to expect an ISO date instead of an epoch.
2014-06-15 23:09:05 -04:00
Paul Beckingham
ffb201a068 Parser
- Pruned the unnecessary filter sub branches off the parse tree for branches
  tagged with MODIFICATION.
2014-06-15 23:04:29 -04:00
Paul Beckingham
b9fd2560eb Parser
- Removed warning about compounded plain args, which are now handled early in
  Parser::initialize, where new args are immediately lexed.
2014-06-15 22:59:14 -04:00
Paul Beckingham
5901a245f1 Unit Tests
- Removed obsolete test ('1ST' --> not a date).
2014-06-15 22:47:30 -04:00
Paul Beckingham
d1f5020fab Task
- Improved implementation of is_duemonth and is_dueweek.
2014-06-15 22:37:56 -04:00
Paul Beckingham
3116ddcd6d Dates
- Fixed problem with eoy, where is was YYYY-12-31T00:00:00, which is
  24 hours earlier than actual eoy. Other 'eo*' names were also wrong.
  So much for unit tests.
2014-06-15 22:34:16 -04:00
Paul Beckingham
cfb7fdc987 Date
- Uses mk_wcwidth to calculate the printed width of a character in a date
  format that is not recognized, instead of simply assuming '1'.
2014-06-15 22:31:13 -04:00
Paul Beckingham
ea2405330f Date
- Removed ::isRelativeDate and instead used namedDates. Which is better.
2014-06-15 22:28:46 -04:00
Paul Beckingham
67d85b484b Unit Tests
- Removed diagnostic output that is no longer needed.
2014-06-15 22:22:02 -04:00
Paul Beckingham
877c6fae9e Dates
- 'eom' and 'eocm' are not on YYYY-MM-{28,30,31}T00:00:00, they are
  one day later.
2014-06-15 19:14:24 -04:00
Paul Beckingham
20de57e87c Dates
- 'eoy' is not YYYY-12-31T00:00:00, it's one day later.
2014-06-15 19:13:48 -04:00
Paul Beckingham
d2685a8212 Task
- If the a numeric attribute is modified with a result that is not readily
  convertible to a numeric value, then this is an error.
2014-06-15 10:15:23 -04:00
Paul Beckingham
222c20f161 Unit Tests
- Tests now conform to template.
2014-06-15 10:14:14 -04:00
Paul Beckingham
9d727a73d2 ColUrgency
- Now uses the standard type 'numeric', instead of 'number'.
2014-06-15 09:49:26 -04:00
Paul Beckingham
6b6e9a6b15 ColIMask
- Now uses the standard type 'numeric', instead of 'number'.
2014-06-15 09:48:54 -04:00
Paul Beckingham
d557c20782 ColID
- Now uses the standard type 'numeric', instead of 'number'.
2014-06-15 09:48:05 -04:00
Paul Beckingham
65890bc8d4 Task
- All attribute types (number, string, date, duration) are ѕpecifically
  handled, with no default cases.
2014-06-15 09:36:35 -04:00
Paul Beckingham
518f56b499 Task
- Durations are now stored as-is, with no evaluation.
2014-06-15 09:34:21 -04:00
Paul Beckingham
b7d668fb7d Eval
- Raises an exception if an expression evaluation yields an unexpected
  stack size at the end. This indicates that an expression like 'one two'
  was evaluated. Note that string field updates require evaluation, but
  this case occurs frequently.
2014-06-15 09:32:17 -04:00
Paul Beckingham
5b2505f6da Unit Tests
- Tests now conform to template.
2014-06-15 09:30:46 -04:00
Paul Beckingham
784b14c69a Unit Tests
- Corrected test to expect durations in ISO8601 format.
2014-06-15 08:38:51 -04:00
Paul Beckingham
b4510e9f48 Unit Tests
- Corrected unit test that relied on old behavior, namely 'due.before:1d',
  which is like specifying '1403007839 < 86400'. Taskwarrior always assumed
  that whenever a duration was specified, such as '1d', it really meant
  'now + 1d'. With full algebraic expression support, this can no longer be
  the case and now we need 'due.before:now+1d'.
2014-06-15 08:33:52 -04:00
Paul Beckingham
dc53d9c60e Unit Tests
- Tests now conform to template.
2014-06-14 16:13:39 -04:00
Paul Beckingham
a2936c045c Lexer
- Now recognized the exact inequality operator !==.
2014-06-14 16:03:07 -04:00
Paul Beckingham
9318dced5a Eval
- Eval maps '!==' to Variant::operator!=, '!=' to Variant::operator_nopartial,
  '==' to Variant::operator== and '=' to Variant::operator_partial.
2014-06-14 15:59:31 -04:00
Paul Beckingham
855de25e0d Unit Tests
- Corrected test that assumed completed.data was created, which is not
  always the case now.
2014-06-14 15:38:51 -04:00
Paul Beckingham
dbe38f2747 Parser
- ::findOperator removes unnecessarily lexed sub-branches.
2014-06-14 15:24:34 -04:00
Paul Beckingham
da1dbb5666 Parser
- ::findUUIDList removes unnecessarily lexed sub-branches.
2014-06-14 15:24:23 -04:00
Paul Beckingham
5199554811 Parser
- ::findIdSequence removes unnecessarily lexed sub-branches.
2014-06-14 15:24:11 -04:00
Paul Beckingham
ebaca3607d Parser
- ::findAttributeModifier removes unnecessarily lexed sub-branches.
2014-06-14 15:23:49 -04:00
Paul Beckingham
ad28d34b7e Parser
- ::findAttribute removes unnecessarily lexed sub-branches.
2014-06-14 15:23:38 -04:00
Paul Beckingham
64df32baff Parser
- ::findTag removes unnecessarily lexed sub-branches.
2014-06-14 15:22:51 -04:00
Paul Beckingham
18662b0307 Parser
- ::findSubstitution removes unnecessarily lexed sub-branches.
2014-06-14 15:22:23 -04:00
Paul Beckingham
587113e5cf Parser
- ::findPattern removes unnecessarily lexed sub-branches.
2014-06-14 15:22:06 -04:00
Paul Beckingham
91263ca28a Parser
- ::findOverrides removes unnecessarily lexed sub-branches.
2014-06-14 15:21:49 -04:00
Paul Beckingham
8ed1206f41 Parser
- ::findCommand removes unnecessarily lexed sub-branches.
2014-06-14 15:20:56 -04:00
Paul Beckingham
8f5e386ab0 Parser
- ::findTerminator removes unnecessarily lexed sub-branches.
2014-06-14 15:20:25 -04:00
Paul Beckingham
3f6ad23578 Parser
- ::findBinary removes unnecessarily lexed sub-branches.
2014-06-14 15:19:31 -04:00
Paul Beckingham
0500649992 Parser
- ::initialize now lexes all args up front.
2014-06-14 15:18:31 -04:00
Paul Beckingham
1b8671b58e Tree
- Implemented ::removeAllBranches.
2014-06-14 14:19:49 -04:00
Paul Beckingham
fb4bf3efba Tree
- After removing a branch, free the memory.
2014-06-14 14:13:34 -04:00
Paul Beckingham
7d4e166277 Lexer
- Implemented an overload of ::token_split that preserveѕ types.
2014-06-14 13:46:10 -04:00
Paul Beckingham
a892abf366 CmdCustom
- Added placeholder for problematic parenthesis injection for report filters.
2014-06-14 12:42:07 -04:00
Paul Beckingham
4bf3364bb7 DOM
- Preserves more original types.
2014-06-11 23:13:37 -04:00
Paul Beckingham
39c9f54d16 Unit Tests
- Upgraded tests to use new template.
2014-06-11 22:26:28 -04:00
Paul Beckingham
a77e4292ab Unit Tests
- Removed obsolete tests.
2014-06-11 21:57:17 -04:00
Paul Beckingham
456b982ced DOM
- Updated DOM to use Variant ovjects, which carry a type which improves
  expression evaluation.
2014-06-11 21:53:00 -04:00
Paul Beckingham
e8474fc145 Unit Tests
- Removed obsolete tests.
2014-06-11 06:39:11 -04:00
Paul Beckingham
699d85be29 Unit Tests
- Removed obsolete tests.
2014-06-11 06:37:37 -04:00
Paul Beckingham
f7a68df299 Unit Tests
- Removed obsolete tests.
2014-06-11 06:35:03 -04:00
Paul Beckingham
39da3d68ca Unit Tests
- Removed obsolete tests.
2014-06-11 06:33:44 -04:00
Paul Beckingham
ccc0fa7c30 Unit Tests
- Removed obsolete tests.
2014-06-11 06:31:33 -04:00
Paul Beckingham
a76614aabb Unit Tests
- Removed obsolete tests.
2014-06-11 06:28:56 -04:00
Paul Beckingham
50a12d3598 Unit Tests
- Removed obsolete tests.
2014-06-11 06:26:25 -04:00
Paul Beckingham
1cf79ffda7 Unit Test
- Removed obsolete test.
2014-06-11 06:23:13 -04:00
Paul Beckingham
110592da8c Unit Tests
- Removed obsolete test.
2014-06-11 06:22:30 -04:00
Paul Beckingham
a011800764 Unit Tests
- Upgraded disabled test to active.
2014-06-11 06:22:06 -04:00
Paul Beckingham
a93ae1ca07 Unit Tests
- Removed obsolete test.
2014-06-11 06:21:16 -04:00
Paul Beckingham
7512dd21aa Unit Tests
- Removed obsolete test.
2014-06-11 06:20:36 -04:00
Paul Beckingham
6ae40dbc57 Unit Tests
- Removed oboslete test.
2014-06-11 06:20:02 -04:00
Paul Beckingham
9a74fbe4a9 Variant
- ISO8601 periods contain uppercase characters.
2014-06-10 23:09:41 -04:00
Paul Beckingham
bd53dd2aeb Variant
- Rewrite ::operator std::string to yield more accurate duration renditions.
2014-06-10 22:34:52 -04:00
Paul Beckingham
3727d2f09c Task
- The 'recur' attribute should be stored in raw form.
2014-06-10 20:05:50 -04:00
Paul Beckingham
24e2f24301 Unit Tests
- Corrected urgency unit tests that had been disabled and had rotted.
2014-06-10 15:53:05 -04:00
Paul Beckingham
2554b29041 Lexer
- Needed a shift counter, rather than a read counter, as ::token was
  lexing '-10d' into '-' and '-10d', which when evaluated is '--10d',
  which yields 10d.
2014-06-10 15:42:21 -04:00
Paul Beckingham
3c0a17c195 Task
- Removed urgency diagnostics, now that the 'info' command displays them.
2014-06-09 23:11:47 -04:00
Paul Beckingham
0a67913b48 Dates
- Fixed a loose, ill-defined, poorly constructed excuse for a detector
  of date ordinals ("1st, "22nd", "3rd" and "6th").
2014-06-09 22:19:41 -04:00
Paul Beckingham
43d953094b Unit Tests
- Corrected test count, which was artificially low, hiding some failing tests.
2014-06-09 20:47:19 -04:00
Paul Beckingham
310cafcc7d Unit Tests
- Enabled all urgency unit tests, even though many fail. Time to fix them.
2014-06-09 19:43:46 -04:00
Paul Beckingham
c9ba7ae301 Unit Tests
- Corrected Lexer tests that used obsolete duration forms.
- Added more duration test parses.
2014-06-09 18:03:36 -04:00
Paul Beckingham
11a4c58735 Lexer
- Factored out an invariant.
2014-06-09 18:02:34 -04:00
Paul Beckingham
05d4ac16a3 Eval
- Now prints the evaluated form, instead of the input form in debug mode, after
  successful source lookup.
2014-06-09 18:01:45 -04:00
Paul Beckingham
d0d8d5eece Duration
- Dropped support for parsing many intermediate representations. For example,
  this list:

   monthly, months, month, mnths, mths, mth, mos, mo

  is now reduced to:

    monthly, months, month, mo
2014-06-09 17:14:32 -04:00
Paul Beckingham
ff966c069c Tasksh
- Took the broken tasksh program out back behind the barn and shot it.
  It will be rewritten as a separate project, and extension.
2014-06-08 18:24:30 -04:00
Paul Beckingham
63eb32d177 Task
- Disabled ambiguous date parsing. Ain't nobody got time for that.
2014-06-08 16:20:31 -04:00
Paul Beckingham
20d4e37b40 Dates
- Corrected implementation of all named dates. There were ... issues.
2014-06-08 15:02:08 -04:00
Paul Beckingham
22f1bf709e CmdCalc
- Set ambiguity to false, thus disabling recognition of certain date forms.
2014-06-08 14:18:34 -04:00
Paul Beckingham
ddcadb35f7 Filter
- Set ambiguity to false, thus disabling recognition of certain date forms.
2014-06-08 14:17:50 -04:00
Paul Beckingham
0aa323164a Unit Tests
- Added Lexer tests to make sure '9th' and '10th' are recognized as identifiers.
2014-06-08 14:16:46 -04:00
Paul Beckingham
4041639e36 Lexer
- Added downgrade from typeNumber to typeIdentifer if a number is followed by a
  letter, thus supporting "9th" as an identifier. This causes much breakage.
2014-06-08 14:15:07 -04:00
Paul Beckingham
f316413139 CmdCalc
- The 'calc' command (and only the 'calc' command) propagates the rc.debug
  setting to Eval.  This provides the means to debug expression problems.
2014-06-08 13:10:20 -04:00
Paul Beckingham
9390e17871 Documentation
- Removed obsolete task-tutorial.5 man page. Tutorials will now only
  reside online. This represents a gradual move towards single-source
  documentation.
2014-06-08 11:19:11 -04:00
Paul Beckingham
93de3e3bb0 TW-244
- TW-244 task add "Description (Information)" results in
         "Description ( Information)".
2014-06-08 10:34:45 -04:00
Paul Beckingham
7ba99d6100 TW-250
- TW-250 Opening parenthesis in description gets padded in task 2.0.0 bet 2
         (thanks to Michelle Crane).
2014-06-08 10:05:07 -04:00
Paul Beckingham
46a42847b0 Tw-251
- TW-251 extra spaces added after ( and / (thanks to Andy Spiegl).
2014-06-08 10:02:51 -04:00
Paul Beckingham
e6ba46b9fe TW-1273
- TW-1273 Words in task descriptions and annotations are cut-off after a hyphen
          (thanks to Elias Probst).
2014-06-08 09:05:53 -04:00
Paul Beckingham
b9b5338b67 TW-242
- TW-242 extra Space when annotating a path/filename, taskopen can not open the
         file (thanks to Andreas Kalex).
2014-06-08 08:37:23 -04:00
Paul Beckingham
eae72915f2 TW-221
- TW-221 Migrate task-faq man page to the Wiki.
  [Note: task-faq.5 man page obsolete, replaced by answers.tasktools.org]
2014-06-08 08:31:36 -04:00
Paul Beckingham
bf5db2acfc TW-218
- TW-218 Reveal terms of urgency calculation for a given task (thanks to Max
         Muller).
2014-06-08 08:28:05 -04:00
Paul Beckingham
e0917f4397 Documentation
- Removed obsolete task-faq.5 man page.
2014-06-07 13:06:19 -04:00
Paul Beckingham
dcab169987 CmdDenotate
- Corrected use of command line arguments for a pattern - now uses
  modification args instead of all words.
2014-06-07 12:50:39 -04:00
Paul Beckingham
85481e3e69 Diagnostics
- Consolidated two debug lines into one, so that ViewTask::render now
  reports available width, and Context::getWidth does not.
2014-06-07 09:54:22 -04:00
Paul Beckingham
9537a91e89 Text
- Added another format overload. Time for variadics?
2014-06-07 09:52:01 -04:00
Paul Beckingham
4d4e740f5c Unit Tests
- Added ANNOTATED tests.
2014-06-07 09:45:58 -04:00
Paul Beckingham
c89e8eda0e Unit Tests
- Added first batch of virtual tag tests.
2014-06-07 09:05:32 -04:00
Paul Beckingham
f969bcbe59 DOM
- Extended DOM support:
    <id|uuid>.<date>.year
    <id|uuid>.<date>.month
    <id|uuid>.<date>.day
    <id|uuid>.<date>.week
    <id|uuid>.<date>.weekday
    <id|uuid>.<date>.julian
    <id|uuid>.<date>.hour
    <id|uuid>.<date>.minute
    <id|uuid>.<date>.second
    <id|uuid>.tags.<literal>
    <id|uuid>.annotations.<N>.entry
    <id|uuid>.annotations.<N>.entry.year
    <id|uuid>.annotations.<N>.entry.month
    <id|uuid>.annotations.<N>.entry.day
    <id|uuid>.annotations.<N>.entry.week
    <id|uuid>.annotations.<N>.entry.weekday
    <id|uuid>.annotations.<N>.entry.julian
    <id|uuid>.annotations.<N>.entry.hour
    <id|uuid>.annotations.<N>.entry.minute
    <id|uuid>.annotations.<N>.entry.second
    <id|uuid>.annotations.<N>.description
2014-06-06 19:43:20 -04:00
Paul Beckingham
4c3a59a333 Unit Tests
- Removed obsolete tests.
2014-06-06 17:07:19 -04:00
Paul Beckingham
61dab3eeb9 DOM
- Extended DOM.
2014-06-05 17:55:24 -04:00
Paul Beckingham
117c31b322 Unit Tests
- Added tests for blank values from missing DOM lookups.
2014-06-04 19:00:01 -04:00
Paul Beckingham
e6df1b38e2 DOM
- Standardized DOM interface to return success/failure, with the possibility
  of blank values. This matches the Eval::source callback interface‥
- Added more unit tests.
2014-06-04 18:57:36 -04:00
Paul Beckingham
850dbb36f0 Context
- ::clear now calls Parser::clear, which prevents the parse tree from growing
  with every shell command.
2014-06-03 01:31:25 -04:00
Paul Beckingham
512fe2f6c7 Variant
- ::operator_match and ::operator_nomatch now take a 'const Task&' argument to
  use for description/annotation matching.
- Updated unit tests.
2014-06-03 01:27:02 -04:00
Paul Beckingham
ca6940ba2e Variant
::operator_hastag now uses contextTask for resolution.
2014-06-03 01:10:58 -04:00
Paul Beckingham
56a70b00c4 Context
- No longer segfaults when ::initialize (argç, argv) is called with zero
  arguments, which is what the shell is doing.
2014-06-03 00:55:18 -04:00
Paul Beckingham
cd837a006c Task
- ::modify was not casting strings to dates for date types.
2014-06-03 00:42:21 -04:00
Paul Beckingham
1cd09bc87b Alias
- Implemented simple word substitution aliases. This is not the ultimate form
  which will involve the ability to insert arbitrary constructs.  Later.
2014-06-03 00:11:42 -04:00
Paul Beckingham
a470e50ee6 Variant
- Attempts legacy date conversion ahead of ISO.
2014-06-02 23:30:40 -04:00
Paul Beckingham
7196ac8554 Variant
- ::operator_match disobeyed rc.search.case.sensitive.
2014-06-02 23:15:25 -04:00
Paul Beckingham
ac07189941 Task
- ::modify was setting the wrong attribute value, namely the original, not the
  one that had passed through the expression evaluator's intestines.
2014-06-02 22:22:39 -04:00
Paul Beckingham
870e45be0d Lexer
- Extended Lexer to consider forms like '123.abc' as identifiers. This is
  essential to recignizing and extending DOM support.
2014-06-02 22:19:38 -04:00
Paul Beckingham
43718cbce5 Task
- Evaluates attribute values on modify.
2014-06-01 22:50:33 -04:00
Paul Beckingham
05d46b8345 TW-1331
- TW-1331 date more than 5 years away is faulty (thanks to Onion).
2014-06-01 20:08:32 -04:00
Paul Beckingham
6a0c61ad27 Portability
- Fixed wcwidth error in the #ifdef CYGWIN.
2014-06-01 19:39:28 -04:00
Paul Beckingham
55b5149be0 TW-72
- TW-72 extend info report with urgency column
2014-06-01 16:33:14 -04:00
Paul Beckingham
a1ba10d820 Unit Tests
- qw is not qq.  Cleanup now happens properly.
2014-06-01 13:25:29 -04:00
Paul Beckingham
91523b3574 Unit Tests
- Removed 'sleep' commands that slow down the test suite unnecessarily,
  by replacing them with specific timestamps in pending.data.
2014-06-01 13:16:39 -04:00
Paul Beckingham
7b3acbb81b Unit Tests
- Removed 'sleep' commands that slow down the test suite unnecessarily,
  by replacing them with specific timestamps in pending.data.
2014-06-01 13:00:04 -04:00
Paul Beckingham
eef39c3355 Unit Tests
- Removed sleep commands from wait.t, using specific timestamps in pending.data
  to speed up tests.
2014-06-01 12:30:19 -04:00
Paul Beckingham
c01d15d3b8 Unit Tests
- Replaced 'sleep' commands in the unit test (which slow things down too much)
  with pending.data lines with modified timestamps.
2014-06-01 11:39:03 -04:00
Paul Beckingham
92ba0055fb Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:38:51 -04:00
Paul Beckingham
e1602057dd Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:36:42 -04:00
Paul Beckingham
e70ec9f967 Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:34:24 -04:00
Paul Beckingham
e1d6b84dcd Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:32:38 -04:00
Paul Beckingham
ab7370a2eb Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:30:29 -04:00
Paul Beckingham
e3e21b72a9 Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:28:24 -04:00
Paul Beckingham
1c5a9f70cb Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:25:30 -04:00
Paul Beckingham
fbdceac548 Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:24:43 -04:00
Paul Beckingham
ca06927eea Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:23:19 -04:00
Paul Beckingham
abb663fae3 Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:22:05 -04:00
Paul Beckingham
7f08ec5a63 Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:20:43 -04:00
Paul Beckingham
fb11379630 Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:20:00 -04:00
Paul Beckingham
f85ff7bde1 Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:05:10 -04:00
Paul Beckingham
307ea1c857 Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:02:53 -04:00
Paul Beckingham
eaffa392f9 Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 10:00:45 -04:00
Paul Beckingham
8eef295bea Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 09:57:59 -04:00
Paul Beckingham
bdad6642c8 Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 09:56:14 -04:00
Paul Beckingham
0a1bcbd48d Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 09:51:25 -04:00
Paul Beckingham
7ab8d4db6d Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 09:49:57 -04:00
Paul Beckingham
a59f8644f1 Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 09:48:19 -04:00
Paul Beckingham
102792e425 Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 09:45:46 -04:00
Paul Beckingham
c0f4baa8d9 Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 09:44:18 -04:00
Paul Beckingham
77d93ef631 Unit Tests
- Removed useless setup/teardown tests, improving the signal to noise ratio.
2014-06-01 09:43:00 -04:00
Paul Beckingham
6706d1b955 Date/ISO8601
- Changed the order of parsing from ISO, Date to Date, ISO. This favors the
  old dateformat mechanism more than the new one. One day this will flip.
2014-06-01 00:10:16 -04:00
Paul Beckingham
483c1b5787 Unit tests
- Test relied on an error message that no longer applies.
2014-06-01 00:00:09 -04:00
Paul Beckingham
f524bd38e4 Unit Tests
- Converted test to use a better value than a hard-coded date.
- Removed useless setup/teardown tests.
2014-05-31 23:07:49 -04:00
Paul Beckingham
eae398f203 Unit Tests
- Converted test to use a better value than a hard-coded date.
- Removed useless setup/teardown tests.
2014-05-31 23:05:55 -04:00
Paul Beckingham
48e2e19ae1 Unit Tests
- Used command at least rc.abbreviation.minimum in length.
- Removed useless setup/teardown tests.
2014-05-31 22:39:37 -04:00
Paul Beckingham
9303bfb26a Unit Tests
- Used command at least rc.abbreviation.minimum in length.
- Removed useless setup/teardown tests.
2014-05-31 22:35:26 -04:00
Paul Beckingham
5315196175 Unit Tests
- Updated recurrence period to an ISO8601 value.
- Removed useless setup/teardown tests.
2014-05-31 22:31:29 -04:00
Paul Beckingham
d69d38c7d2 Unit Tests
- Removed useless setup/teardown tests.
2014-05-31 22:29:49 -04:00
Paul Beckingham
8d0f1f6990 Unit Tests
- Removed useless setup/teardown tests.
2014-05-31 22:28:37 -04:00
Paul Beckingham
5df49ec5e3 Parser
- ::findAttributeModifier now tolerates missing values and generates the
  correct expression term.
2014-05-31 22:26:44 -04:00
Paul Beckingham
fc5dad7a9a Parser
- Now that all (?) Parser methods for tree scanning can be called more than
  once, move all methods into the ::parse method.
2014-05-31 22:17:56 -04:00
Paul Beckingham
a86408c5a3 Unit Tests
- Updated a test to use a command of length >= rc.abbreviation.minimum.
- Removed useless setup/teardown tests.
2014-05-31 22:04:17 -04:00
Paul Beckingham
37acb90579 Unit Tests
- Updated a test to use a command of length >= rc.abbreviation.minimum.
- Removed useless setup/teardown tests.
2014-05-31 21:42:51 -04:00
Paul Beckingham
72ceee198a Unit Tests
- Updated a test to use a command of length >= rc.abbreviation.minimum.
- Removed useless setup/teardown tests.
2014-05-31 21:41:18 -04:00
Paul Beckingham
622532c38e Unit Tests
- Uncommented some old tests that pass, but obviously once did not.
- Removed useless setup/teardown tests.
2014-05-31 18:18:58 -04:00
Paul Beckingham
5b8aef5463 Parser
- ::findAttribute now tolerates missing values, as it should if I'd written
  it properly in the first place.
2014-05-31 18:18:20 -04:00
Paul Beckingham
2da3258dd0 Unit Tests
- Corrected one time stamp, but not all.
- Removed useless setup/teardown tests.
2014-05-31 18:02:13 -04:00
Paul Beckingham
afd948167f Unit Tests
- Removed useless setup/teardown tests.
- Increased command length to match rc.abbreviation.minimum.
2014-05-31 17:55:15 -04:00
Paul Beckingham
4f8d6c877d Variant
- Implemented an (unused) operator_nopartial for the sake of symmetry.
2014-05-31 17:54:43 -04:00
Paul Beckingham
b272513747 Unit Tests
- Modified test to use a command that exceeded the rc.abbreviation.minuіmum
  length.
2014-05-31 17:30:20 -04:00
Paul Beckingham
a799b54ad4 Unit Tests
- Modified test to use a command that exceeded the rc.abbreviation.minuіmum
  length.
2014-05-31 17:24:29 -04:00
Paul Beckingham
cefbaf779b Parser
- ::initialize only overrides Parser::minimumMatchLength when
  rc.abbreviation.minimum is non-zero.
2014-05-31 17:23:00 -04:00
Paul Beckingham
68555315e0 Parser
- Scans the tree to find the binary, after the calendar report runs the main
  report and prepares to run the detail report. Now I think about it, this
  feature could be implemented vai hooks.
2014-05-31 15:36:12 -04:00
Paul Beckingham
382881c0e1 CmdCustom
- Filter args must contain spaces between them.  Splitting on token boundaries
  goes too far and separates '-' from 'tag'.
2014-05-31 15:11:24 -04:00
Paul Beckingham
a1ee44ac17 Parser
- ::findPlainArgs will now only upgrade an arg to a search if the arg itself
  cannot be lexed into subtokens.
2014-05-31 14:11:53 -04:00
Paul Beckingham
cf5eb73f04 CmdCustom
- Now places ( ) around the custom report filter. This gives it a chance at
  allowing 'or' and 'xor' operators when combined with a command lne filter.
2014-05-31 13:58:40 -04:00
Paul Beckingham
5ac3db3168 Parser
- Modified ::injectDefault to use Lexer::token_split instead of
  Lexer::word_split which allows stranger default commands. Not sure if this
  is necessary, but it seems like the right thing.
2014-05-31 13:54:56 -04:00
Paul Beckingham
f4605a1bc7 Parser
- Implemented ::capture_last, so that new args can be injected at either end
  of the command line.
2014-05-31 13:52:59 -04:00
Paul Beckingham
7598997e70 Lexer
- Implemented ::token_split, which performs a full lex, and doesn't require
  white space like ::word_split does.
- Added unit tests.
2014-05-31 13:51:10 -04:00
Paul Beckingham
0af9bbdc03 Lexer
- Renamed ::split to ::word_split, for clarity and because of the need for a
  full token split, coming next.
2014-05-31 13:48:52 -04:00
Paul Beckingham
e753473dc4 Documentation
- Updated DEVELOPER docs regarding unit tests and the use of the 'needsTest'
  label in the bug database.
2014-05-31 13:46:00 -04:00
Paul Beckingham
30fee92914 Parser
- ::findPlainArgs was only being run in debug mode. Not a good idea.
2014-05-31 12:27:56 -04:00
Paul Beckingham
190b6fe635 Diagnostics
- Display debug/release build type in the diagnostics command.
2014-05-31 12:12:40 -04:00
Paul Beckingham
744f0f55ac Unit Tests
- Removed obsolete references to 'synch.key'.
2014-05-31 11:53:17 -04:00
Paul Beckingham
6514bdfc4d TW-28, TW-271, TW-277, TW-752, TW-1265
- TW-1265 cannot add UDA with underscore (thanks to Jakub Wilk).
- Added unit tests for TW-1265.
- Added ChangeLog and AUTHOR entries for other fixed issues.
2014-05-31 11:11:53 -04:00
Paul Beckingham
4694cfe0fe Variant
- Added specialized handling for 'priority' attributes when compared using the
  <, <=, > or >= operators.
2014-05-31 10:02:50 -04:00
Paul Beckingham
ba8c007ace Filter
- When a filter resolves an identifier through a DOM reference, it records
  the source. In other words, when 'priority' is resolved to 'H', the source
  reference ('priority') is stored in the variant. This is because different
  data attributes behave differently when compared.
2014-05-31 10:01:00 -04:00
Paul Beckingham
3bc44681a5 Variant
- A variant now contains a source reference, which indicates where it came
  from.  This is used to determine whether 'H' is a priority or just a word.
2014-05-31 09:59:18 -04:00
Paul Beckingham
6bcb9e4bf3 Parser
- Plain words found in filters are now upgraded to search terms.
2014-05-31 08:50:52 -04:00
Paul Beckingham
6ccca32434 Unit Tests
- Downgraded bash constructs to sh, reducing the requirements from bash to sh.
2014-05-30 21:39:55 -04:00
Paul Beckingham
87dcbd556e Recurrence
- Task::validate and getNextRecurrence needed to consider both Duration and
  ISO8601p.
2014-05-30 21:29:42 -04:00
Paul Beckingham
6d5d93d753 Task
- Added diagnostics for date assignments. Only duration assignment diagnostics
  were present.
2014-05-30 18:14:33 -04:00
Paul Beckingham
f2a8e22866 Unit Tests
- Uses full duration names '9months' rather than abbreviations '9mo'.
  This is in anticipation of reduced flexibility.
2014-05-30 18:13:33 -04:00
Paul Beckingham
9f6e37fa06 Portability
- Reordered includes to allow build on FreeBSD (thanks to Pietro Cerutti).
2014-05-30 15:25:34 -04:00
Paul Beckingham
688dcb6cd3 Filter
- Fixed ::pendingOnly, which now has a clearly-defined set of rules.
2014-05-30 00:39:38 -04:00
Paul Beckingham
da95c16da9 Unit Tests
- Modified a test that relies on an obsolete message.
2014-05-29 23:17:02 -04:00
Paul Beckingham
5baa999459 Build
- Added missing define for FreeBSD.
2014-05-29 20:21:34 -04:00
Paul Beckingham
46d1f2c679 Build
- Added missing include for FreeBSD.
2014-05-29 20:05:29 -04:00
Paul Beckingham
3e34679f4a Build
- Added missing include for FreeBSD.
2014-05-29 19:39:30 -04:00
Paul Beckingham
592a3bb60f Lexer
- Lexer now makes a speculative legacy dateformat parse whenever it encounters
  a decimal digit.  This assumes that rc.dateformat begins with a numeric date
  element, which is a restriction, but not a big one.
2014-05-29 18:09:11 -04:00
Paul Beckingham
79576819c3 Date
- Added the ability to suppres ISO (fixed) and epoch date parsing.
2014-05-29 18:06:52 -04:00
Paul Beckingham
52eaf3f9c2 Variant
- Can now convert type_string to type_date via legacy dateformat, provided
  that Context transmits the format.
2014-05-29 00:43:39 -04:00
Paul Beckingham
f585f31d69 OldDuration
- Removed obsolete OldDuration object, replaced by Duration.
2014-05-28 23:59:16 -04:00
Paul Beckingham
9693a724f2 CmdEdit
- Converted from OldDuration to Duration.
2014-05-28 23:55:20 -04:00
Paul Beckingham
e73d19152e ColScheduled
- Converted from OldDuration to Duration.
2014-05-28 23:51:49 -04:00
Paul Beckingham
05be2c2fc4 ColDate
- Converted from OldDuration to Duration.
2014-05-28 23:50:32 -04:00
Paul Beckingham
f36ffd91e3 ColDue
- Converted from OldDuration to Duration.
2014-05-28 23:49:32 -04:00
Paul Beckingham
5ee040f3a3 CmdBurndown
- Converted from OldDuration to Duration.
2014-05-28 23:48:35 -04:00
Paul Beckingham
3302707768 CmdSummary
- Converted from OldDuration to Duration.
2014-05-28 23:47:14 -04:00
Paul Beckingham
0fba1957c2 CmdInfo
- Converted from OldDuration to Duration.
2014-05-28 23:46:09 -04:00
Paul Beckingham
c103f22513 ColRecur
- Converted from OldDuration to Duration.
2014-05-28 23:43:48 -04:00
Paul Beckingham
ea2efe4c93 ColUDA
- Converted from OldDuration to Duration.
2014-05-28 23:42:54 -04:00
Paul Beckingham
9412f685dd CmdStats
- Converted from OldDuration to Duration.
2014-05-28 23:42:03 -04:00
Paul Beckingham
0238d36143 feedback
- Converted from OldDuration to Duration.
2014-05-28 23:40:09 -04:00
Paul Beckingham
07282d2343 Duration
- Missing include.
2014-05-28 23:36:59 -04:00
Paul Beckingham
117ade1609 Duration
- Duration inherits all of OldDuration's formatting capabilities.
- ::formatISO adds support for ISO8601 desginated period type.
2014-05-28 23:28:56 -04:00
Paul Beckingham
29d3fa9c55 sort
- Converted from OldDuration to Duration.
2014-05-28 22:43:24 -04:00
Paul Beckingham
965284875c Duration
- Migrated methods and unit tests from OldDuration to Duration.
2014-05-28 22:41:29 -04:00
Paul Beckingham
f77074785b recur
- Converted from OldDuration to Duration.
2014-05-28 22:23:40 -04:00
Paul Beckingham
9c5222be8f Task
- Converted from OldDuration to Duration.
2014-05-28 21:03:59 -04:00
Paul Beckingham
dead140c74 Code Cleanup
- Removed unnecessary includes.
- Added comment for Date integration.
2014-05-28 21:03:03 -04:00
Paul Beckingham
dbbbeb102e Date
- Uses a simpler contructor.
2014-05-28 20:59:30 -04:00
Paul Beckingham
67d42b5241 CmdTags
- Uses the correct filter.
2014-05-27 22:43:58 -04:00
Paul Beckingham
50bfb6881a Context
- Captures argv[0] for us in the shadow command.
2014-05-27 21:23:33 -04:00
Paul Beckingham
ebca8e1282 Parser
- Made 'plain args' diagnostics debug-only.
2014-05-27 16:31:55 -04:00
Paul Beckingham
84b95ce06d Unit Tests
- Corrected assumptions in a unit test about the circumstances of file creation.
2014-05-27 16:14:32 -04:00
Paul Beckingham
c5cf4de4a0 Parser
- Multiple -- terminators are considered to be a single terminator followed
  by words that are not terminators. There can be only one!
2014-05-27 15:50:59 -04:00
Paul Beckingham
7f56187748 Variant
- The partial match operator now expects length(left) > length(right).
2014-05-27 15:33:58 -04:00
Paul Beckingham
ef412d0588 CmdAnnotate
- Now specifies that text modifications are required.
2014-05-27 00:50:18 -04:00
Paul Beckingham
4ff9550580 Unit Tests
- Removed unnecessary quotes.
2014-05-27 00:45:28 -04:00
Paul Beckingham
c39285b61c Task
- Renamed 'mods_required' argument to the more accurate 'text_required' in the
  ::modify method.
2014-05-27 00:37:31 -04:00
Paul Beckingham
f3bc606344 Cmd{Add,Append,Log,Prepend}
- The commands specify that description changes are required.
2014-05-27 00:35:52 -04:00
Paul Beckingham
b4539a9df9 Task
- ::modify now assumes that it is not mandatory that there be a non-trivial set
  of changes.  This can be overridden.
2014-05-27 00:34:48 -04:00
Paul Beckingham
1f253f7fc8 Variant
- ::operator_partial should fail for strings if either operand is of zero
  length.
2014-05-27 00:16:40 -04:00
Paul Beckingham
3c72e87d70 Unit Tests
- Made tests explicit about search terms.
2014-05-27 00:08:33 -04:00
Paul Beckingham
0b160292c0 Variant
- Implemented partial match for strings.
2014-05-27 00:08:07 -04:00
Paul Beckingham
0664cb5689 Unit Tests
- Updated tests to be explicit about plain args being search terms.
2014-05-26 23:44:09 -04:00
Paul Beckingham
f9d534939d Parser
- When a filter contains "uuid:<value>" this is matched using the partial
  match operator, which will allow use of abbreviated UUIDs.
2014-05-26 23:25:33 -04:00
Paul Beckingham
398bc9c824 Task
- If a date attribute is eval'ed and the result is a duration, add the value
  of 'now' to it, and store the result.  So '2wks' as a due date is interpreted
  as 'now + 2ks'.
2014-05-26 23:18:20 -04:00
Paul Beckingham
a32f2f991a Context
- A helper command (e.g. _ids) should be considered a "cmd", "readcmd" and
  "helper" entity.
2014-05-26 23:06:32 -04:00
Paul Beckingham
38fdbdaa50 Parser
- defaultCommand may contains multiple arguments, and so Lexer::split is used
  to properly split it into arguments.
2014-05-26 22:53:52 -04:00
Paul Beckingham
7d69c687b2 Parser
- ::findCommand failed to sport readcmd and helper commands because of a
  copy/paste error.
2014-05-26 21:55:02 -04:00
Paul Beckingham
9106780260 Parser
- Special handling for "project:<value>" where the partial match operator
  is used, instead of the usual exact match operator.
2014-05-26 21:06:45 -04:00
Paul Beckingham
e88ccee1e6 Eval
- Added the new Variant::operator_hastag and Variant::operator_notag operators
  to the expression evaluator. All operators now implemented, at least in
  stubbed form.
2014-05-26 21:05:38 -04:00
Paul Beckingham
ae356a1d32 Variant
- Implemented ::operator_hastag and ::operator_notag.
2014-05-26 21:04:47 -04:00
Paul Beckingham
b06ac68248 Lexer
- When a Lexer::typeIdentifier is found, it can be compared to a list of
  other tokens, with the possibility of changing the type. This applies to
  tokens that are longer than the four-character lookahead in the Lexer.
  With this change, the Lexer can now identify all operators supported by Eval,
  and therefore the Lexer can be used on all Eval input expressions. This is
  because all the evaluator needs to know is the distinction between operators
  and operands.
2014-05-26 20:58:10 -04:00
Paul Beckingham
261f86c134 Task
- Marked areas where eval expansion is likey required.
2014-05-26 20:55:37 -04:00
Paul Beckingham
a119b4c7c3 Task
- When no modifications are provided, but are expected, complain.
2014-05-26 15:18:30 -04:00
Paul Beckingham
bc1c7a6695 args
- Entered a complete and current entity set, for testing.
2014-05-26 15:07:21 -04:00
Paul Beckingham
1b19414178 Parser
- ::findCommand now checks for any abbreviated command.  If it finds either an
  exact match, or no ambiguity, it checks again to determine READCMD, WRITECMD
  or HELPER.
2014-05-26 15:05:56 -04:00
Paul Beckingham
a4d908d8b2 Parser
- Added exact match shortcut.
- Changed order of command matching to reduce changes of the log/logo problem.
- Corrected logic where an "else if" should have been an "if".
- Removed commented-out diagnostics.
2014-05-26 14:18:26 -04:00
Paul Beckingham
4ada2e2c43 Task
- Tag add/remove details improved.
2014-05-26 13:50:56 -04:00
Paul Beckingham
c342159369 Unit Tests
- calc.t was not up to date regarding the form of the diagnostic output.
2014-05-26 13:22:51 -04:00
Paul Beckingham
70620366c4 Eval
- Filter token diagnostics are color coded.
2014-05-26 12:55:22 -04:00
Paul Beckingham
410ca4bcba Context
- Removed uninteresting debug diagnostic.
2014-05-26 12:40:55 -04:00
Paul Beckingham
0857b82618 Task
- Added detailed modification pipeline diagnostics.
2014-05-26 12:18:11 -04:00
Paul Beckingham
bba0b75a3b Eval
- Cleaned up debug FILTER diagnostics.
2014-05-26 12:16:44 -04:00
Paul Beckingham
2030df8563 Task
- Task modifications that involved no 'words' were clobbering the description
  unnecessarily.
2014-05-26 11:02:24 -04:00
Paul Beckingham
0047bb7325 Task
- Date attributes were being saved as strings, which means a default format of
  YYYY-MM-DDThh:mm:ss, and it should have been epoch.
2014-05-26 10:31:43 -04:00
Paul Beckingham
a559890368 CmdPrepend
- Was appending, not prepending.  Duh.
2014-05-25 23:10:54 -04:00
Paul Beckingham
e5e0ac8ba3 CmdCustom
- Captured args do not need additional tags.
2014-05-25 23:03:43 -04:00
Paul Beckingham
904c42fcbe Parser
- ::getCommand should return the canonical form of the command, not the raw
  input.
2014-05-25 22:45:00 -04:00
Paul Beckingham
e2aacb87f9 Arg
- Removed obsolete Arg.
2014-05-25 22:08:04 -04:00
Paul Beckingham
c40cb97cfb A3
- Removed all obsolete A3 code. Onward and upward.
2014-05-25 21:35:33 -04:00
Paul Beckingham
f59109cfab DOM
- Converted A3::is_attribute to Parser::canonicalize.
2014-05-25 21:33:05 -04:00
Paul Beckingham
4661cdf0b2 Build
- When A3.h is removed from Command.h, other include files need to be
  added elsewhere.  That means the dependencies were wrong.  Hmm.
2014-05-25 21:25:49 -04:00
Paul Beckingham
afe4b6883f Context
- Removed all A3 references.
2014-05-25 20:02:26 -04:00
Paul Beckingham
4b12c87c40 Context
- Eliminated call to A3::list.
2014-05-25 19:50:50 -04:00
Paul Beckingham
f87d7bd94a Context
- Converted from A3::find_command to Parser::getCommand.
2014-05-25 19:41:02 -04:00
Paul Beckingham
ce7506f4fc Parser
- Implemented ::getCommand.
2014-05-25 19:32:35 -04:00
Paul Beckingham
f908e2ae02 E9
- Removed obsolete E9, and remaining references.
2014-05-25 19:08:52 -04:00
Paul Beckingham
f495e7c385 A3
- Removed obsolete ::which_operator.
2014-05-25 19:02:44 -04:00
Paul Beckingham
3abff20a46 Code Cleanup
- Removed obsolete A3::postfix, Task::modify, Task::next_mod_group,
  Command::modify_task*.
2014-05-25 18:53:30 -04:00
Paul Beckingham
e7d733881a A3
- Removed obsolete ::extract_modifications method.
2014-05-25 18:00:44 -04:00
Paul Beckingham
fb639496d3 CmdDenotate
- Converted from A3 modifications to Task::modify.
2014-05-25 17:58:12 -04:00
Paul Beckingham
bbbe690307 CmdDelete
- Converted from A3 modifications to Task::modify.
2014-05-25 17:38:55 -04:00
Paul Beckingham
a1a58bdc32 CmdDone
- Converted from A3 modifications to Task::modify.
2014-05-25 17:35:06 -04:00
Paul Beckingham
03d4aacc5c CmdDuplicate
- Converted from A3 modifications to Task::modify.
2014-05-25 17:32:42 -04:00
Paul Beckingham
58bf88f425 CmdLog
- Converted from A3 modifications to Task::modify.
2014-05-25 17:30:49 -04:00
Paul Beckingham
6291f16e1d CmdAnnotate
- Converted from A3 modifications to Task::modify.
2014-05-25 17:28:56 -04:00
Paul Beckingham
969db3a9ed CmdStop
- Converted from A3 modifications to Task::modify.
2014-05-25 17:27:34 -04:00
Paul Beckingham
350b73cb8c CmdStart
- Converted from A3 modifications to Task::modify.
2014-05-25 17:24:59 -04:00
Paul Beckingham
e0e71bb065 CmdPrepend
- Converted from A3 modifications to Task::modify.
2014-05-25 17:23:32 -04:00
Paul Beckingham
0551e70967 CmdAppend
- Converted from A3 modifications to Task::modify.
2014-05-25 17:18:52 -04:00
Paul Beckingham
f2eb34d66a CmdAdd
- Converted from A3 modifications to Task::modify.
2014-05-25 17:12:32 -04:00
Paul Beckingham
3a71fac1ee Task
- Added Eval sources.
2014-05-25 17:02:55 -04:00
Paul Beckingham
79ac26cb02 Filter
- The domSource function is no longer static, and is prototyped in Filter.h
  for general use.
2014-05-25 16:57:46 -04:00
Paul Beckingham
5a0c07782e CmdModify
- Converted from A3 modifications to Task::modify.
2014-05-25 16:51:56 -04:00
Paul Beckingham
6f32fa9b54 Command
- Marked obsolete methods as such.
2014-05-25 16:51:36 -04:00
Paul Beckingham
1bdfb5d431 Task
- Implemented an overloaded ::modify method that walks the parse tree instead
  of iterating over an A3 list.
- ::modify takes a Task::modType argument, which specifieѕ how words are
  handled (replace description, prepend to description, append to description,
  add annotation), and this eliminates the need for multiple modify methods.
- Marked existing methods as obsolete.
2014-05-25 16:47:27 -04:00
Paul Beckingham
949063102a Diagnostics
- Further removal of diagnostic output.
2014-05-25 14:59:09 -04:00
Paul Beckingham
fa02eb4ed2 CmdCustom
- Eliminated A3.
2014-05-25 14:38:51 -04:00
Paul Beckingham
7688bdc6c4 Context
- Removed obsolete A3::dump call.
- Marked all a3 references as obsolete.
2014-05-25 14:33:46 -04:00
Paul Beckingham
4a4cdd6324 Eval
- Removed more diagnostics.
2014-05-25 14:30:02 -04:00
Paul Beckingham
d62c4428a9 Eval
- Removed exception handlers in ::infixParse, thereby relying on the caller to
  set up appropriate handling.
2014-05-25 14:26:20 -04:00
Paul Beckingham
d79c86ebb5 Eval
- ::dump method now colorizeѕ tokens according to a map.
2014-05-25 14:22:19 -04:00
Paul Beckingham
fee493bcc0 Eval
- Removed std::cout diagnostics, stubbed the A3::dump replacement.
2014-05-25 14:11:55 -04:00
Paul Beckingham
6b2a71770d Code Cleanup
- Removed unnecessary diagnostics.
2014-05-25 13:48:26 -04:00
Paul Beckingham
c0c1eca0fc Filter
- Filter diagnostics include which data file was loaded.
2014-05-25 13:21:36 -04:00
Paul Beckingham
f8bb948b90 Text
- Added formatter for <int, int, std::string>.  There cannot be many
  combinations remaining.
2014-05-25 13:18:30 -04:00
Paul Beckingham
9bea83c2c3 Filter
- Generates debug message about filtering process.
2014-05-25 13:07:56 -04:00
Paul Beckingham
79abddd03d Parser
- Renamed A3t to Parser.
2014-05-25 09:44:22 -04:00
Paul Beckingham
ecd64456ae A3
- Removed obsolete ::sequence method.
2014-05-25 09:26:32 -04:00
Paul Beckingham
543651055f A3
- Removed obsolete ::expand method.
2014-05-25 09:19:44 -04:00
Paul Beckingham
1a75039cf7 A3
- Removed obsolete ::infix method.
2014-05-25 09:15:49 -04:00
Paul Beckingham
87a48ab7f5 A3
- Removed obsolete _read_only_command member.
2014-05-25 09:06:49 -04:00
Paul Beckingham
562beac12b A3
- Removed obsolete ::find_limit method and _limit member.
2014-05-25 09:04:36 -04:00
Paul Beckingham
3f8a723903 A3
- Removed obsolete ::extract_filter.
2014-05-25 08:58:24 -04:00
Paul Beckingham
f5a13e5e42 Filter
- Full transition to the new filtering mechanism, using the new expression
  evaluator. It is working well enough to start the dogfood.  Many tests
  now broken.
2014-05-25 08:51:56 -04:00
Paul Beckingham
df173d7d84 Command
- Removed unnecessary #includes.
2014-05-25 00:25:21 -04:00
Paul Beckingham
6b53cf4027 Command
- Removed obsolete ::filter, ::filter_shortcut and ::safety methods.
  These are now implemented in the Filter object, and use A3t.
2014-05-25 00:02:27 -04:00
Paul Beckingham
4ba2761aa6 CmdStop
- Converted from A3 to Filter.
2014-05-24 23:53:26 -04:00
Paul Beckingham
9f7bc7b11c CmdStart
- Converted from A3 to Filter.
2014-05-24 23:53:09 -04:00
Paul Beckingham
82ccc80e9a CmdProjects
- Converted from A3 to Filter.
2014-05-24 23:52:51 -04:00
Paul Beckingham
510be02b64 CmdPrepend
- Converted from A3 to Filter.
2014-05-24 23:52:32 -04:00
Paul Beckingham
1cbada6bc5 CmdModify
- Converted from A3 to Filter.
2014-05-24 23:52:06 -04:00
Paul Beckingham
cc5ae78f31 CmdDuplicate
- Converted from A3 to Filter.
2014-05-24 23:51:46 -04:00
Paul Beckingham
09d4941bc1 CmdDone
- Converted from A3 to Filter.
2014-05-24 23:51:25 -04:00
Paul Beckingham
1964ffc053 Filter
- Implemented the safety mechanism that checks for confirmation is a
  write command processes a filter, but the filter expression is blank.
  For example, running "task delete" would delete all tasks unless this
  safety check is in place.
2014-05-24 23:48:20 -04:00
Paul Beckingham
4e9c8ede2b CmdDenotate
- Converted from A3 to Filter.
2014-05-24 23:01:42 -04:00
Paul Beckingham
df1f571061 CmdDelete
- Converted from A3 to Filter.
2014-05-24 22:59:54 -04:00
Paul Beckingham
2495c1606a CmdAppend
- Converted from A3 to Filter.
2014-05-24 22:58:48 -04:00
Paul Beckingham
47b1321028 CmdAnnotate
- Converted from A3 to Filter.
2014-05-24 22:58:20 -04:00
Paul Beckingham
46b360beb0 CmdTags
- Converted from A3 to Filter.
2014-05-24 22:55:00 -04:00
Paul Beckingham
7a196bac9c CmdIDs
- Converted from A3 to Filter.
2014-05-24 22:52:04 -04:00
Paul Beckingham
644b1ae7ef CmdSummary
- Converted from A3 to Filter.
2014-05-24 15:18:53 -04:00
Paul Beckingham
7ac1a7d5e5 CmdStats
- Converted from A3 to Filter.
2014-05-24 15:17:00 -04:00
Paul Beckingham
6cb64e370e Filter
- Added more stubbed transition code.
2014-05-24 15:16:07 -04:00
Paul Beckingham
1561075b51 CmdHistory
- Converted from A3 to Filter.
2014-05-24 15:09:08 -04:00
Paul Beckingham
581c310631 CmdBurndown
- Converted from A3 to Filter.
2014-05-24 15:06:58 -04:00
Paul Beckingham
614331aa23 CmdInfo
- Converted from A3 to Filter.
2014-05-24 15:01:24 -04:00
Paul Beckingham
410f4a3983 CmdCustom
- Converted from A3 to Filter.
2014-05-24 14:58:13 -04:00
Paul Beckingham
3799b5dc9c A3t
- Added ::getLimit to find the 'limit:n' pseudo attribute.
2014-05-24 14:51:27 -04:00
Paul Beckingham
051a92bf91 Unit Tests
- Test was not setting proper verbosity level.
2014-05-24 14:29:09 -04:00
Paul Beckingham
7558527823 Unit Tests
- Test was looking for 'one', and found a false positive of 'none'.
2014-05-24 14:26:07 -04:00
Paul Beckingham
856e777004 Unit Tests
- Test was not specifying correct verbosity for the tests.
2014-05-24 14:23:23 -04:00
Paul Beckingham
492272dec4 CmdExport
- Converted from A3 to Filter.
2014-05-24 14:16:12 -04:00
Paul Beckingham
7e8e48ff08 Filter
- Stubbed code for eventual elimination of E9 in Filter.
2014-05-24 14:15:39 -04:00
Paul Beckingham
66d8a1267c CmdUrgency
- Converted from A3 to Filter.
2014-05-24 13:34:54 -04:00
Paul Beckingham
2a72d0f1d6 Filter
- Added a static contextTask task reference instead of an iterator that
  domSource cannot dereference.  Idiot.
2014-05-24 13:33:15 -04:00
Paul Beckingham
b7d7646c28 Performance
- Moved DOM stack variable instantiation to immediately before first use, which
  is after more common use cases.
2014-05-24 13:01:53 -04:00
Paul Beckingham
a801ec2f50 CmdUDAs
- Converted from A3 to Filter.
2014-05-24 12:15:39 -04:00
Paul Beckingham
c3a759c63d Dates
- Moved an invariant to greater scope.
2014-05-24 11:37:21 -04:00
Paul Beckingham
b532b94b81 Dates
- Implemented midsommar and midsommarafton.
2014-05-24 11:34:40 -04:00
Paul Beckingham
4851e0ed2b Unit Tests
- Added TW-1267 unit tests (thank to Renato Alves).
2014-05-24 11:10:28 -04:00
Paul Beckingham
f4fc65e1ed Unit Tests
- Added DOM id --> UUID --> id round trip tests.
2014-05-24 11:04:32 -04:00
Paul Beckingham
958848656a A3t
- Uses rc.abbreviation.minimum for autocompletion.
2014-05-24 10:56:41 -04:00
Paul Beckingham
704e85fcbc TD-57
- TD-57 taskdctl script assumes /bin/sh is /bin/bash (thanks to Tatjana Heuser).
2014-05-23 16:34:08 -04:00
Paul Beckingham
30dc62703d TD-56
- TD-56 File.cpp needs to include <string.h> on Solaris (thanks to Tatjana
        Heuѕer).
2014-05-23 16:26:55 -04:00
Paul Beckingham
c60ec0b6ee TD-55
- TD-55 TLSServer/Client need to include <errno.h> on Solaris (thanks to Tatjana
        Heuser).
2014-05-23 16:23:51 -04:00
Paul Beckingham
cdf9f3c04e Eval
- Protection against array overrun.
- Typo in diagnostic output.
2014-05-23 15:49:15 -04:00
Paul Beckingham
8d45e73744 A3t
- ::findUUIDList no longer assumes success after matching the first
  UUID.
2014-05-23 15:47:38 -04:00
Paul Beckingham
42f3419bd3 Eval
- Added range checking to the while loop for the parser, to prevent
  runnig over, which caused some of the problems with segfaults on
  Debian & Ubuntu.
2014-05-22 22:52:23 -04:00
Paul Beckingham
5893bfede5 Revert "Unit Tests"
This reverts commit 93a241417e.
2014-05-22 22:48:31 -04:00
Paul Beckingham
14a74fefdc A3t
- ::getWords now only extracts original args, not synthetics.
2014-05-22 16:14:35 -04:00
Paul Beckingham
93a241417e Unit Tests
- Removed tests that are no longer relevant, and fail.
2014-05-22 16:14:05 -04:00
Paul Beckingham
213f889a55 A3t
- Removed diagnostic output.
2014-05-21 23:53:39 -04:00
Paul Beckingham
ea00f20425 A3t
- When a pattern or UUID is found, quote the literal.
2014-05-21 23:47:02 -04:00
Paul Beckingham
6a9b95079c A3t
- Inserts an 'or' between ID/UUID range/lists, and inserts an 'and' between
  consecutive non-operators.
2014-05-21 23:39:35 -04:00
Paul Beckingham
1b2b110a1c A3t
- Implemented ::insertMissingOperators.
- Eliminated unused code.
2014-05-21 23:06:14 -04:00
Paul Beckingham
5f143bee49 Context
- Found another case where an empty verbosity token list was being examined.
2014-05-21 20:22:38 -04:00
Paul Beckingham
ad0c349684 Context
- Verbose control bug fix which was caused by verbose=off due to a
  missing rc.verbose setting, then later comparison with the first
  token, which did not exist.
2014-05-21 20:11:37 -04:00
Paul Beckingham
d53c432ff9 Verbosity
- New verbosity token 'filter' shows the complete filter used by the last
  command.
2014-05-21 17:21:22 -04:00
Paul Beckingham
58d8938fda A3t
- Switch sub nodes from using 'value' to the more uniform 'raw'.
2014-05-21 00:07:50 -04:00
Paul Beckingham
2f46c5de31 A3t
- ::findMissingOperators now detects all locations where a logicl operator
  is needed.
2014-05-21 00:03:05 -04:00
Paul Beckingham
c9a94f0205 A3t
- ::findAttribute now properly inserts sub nodes.
2014-05-20 23:51:46 -04:00
Paul Beckingham
9562fad396 A3t
- Removed tag 'EXPANDED', which can be replaced by a call to node.size ().
2014-05-20 23:50:55 -04:00
Paul Beckingham
195fa20a48 A3t
- Implemented the stubbed outline of ::findMissingOperators, for injecting
  'and' or 'or' into filter expressions, where needed.
2014-05-20 23:49:41 -04:00
Paul Beckingham
10d08ad4f9 A3t
- Filter expressions are parenthesized.
2014-05-20 23:48:14 -04:00
Paul Beckingham
5aeb35663b A3t
- ::getFilterExpression now has a simplified implementation.  Sure, it
  returns bad filters, but that will change.
2014-05-20 18:29:05 -04:00
Paul Beckingham
2cd0494221 A3t
- ::findAttributeModifier now creates sub nodes.
2014-05-20 18:26:32 -04:00
Paul Beckingham
6c6c3df104 A3t
- ::findIDSequence now creates sub nodes.
2014-05-20 18:25:47 -04:00
Paul Beckingham
81614dda84 A3t
- ::findUUIDList now creates sub nodes.
2014-05-20 18:24:58 -04:00
Paul Beckingham
5f6230da3a A3t
- ::findTag now creates sub nodes.
2014-05-20 18:24:21 -04:00
Paul Beckingham
922b80a5be A3t
- ::findPattern now creates sub nodes.
2014-05-20 18:23:25 -04:00
Paul Beckingham
623b1619df Dates
- Converted atoi to strtol, and added the missing include.
2014-05-20 18:01:35 -04:00
Paul Beckingham
d9e1607f05 Eval
- Attempts named source resolution as part of primitive parsing.
2014-05-19 22:06:58 -04:00
Paul Beckingham
52edc9b7cf Dates
- Easter needs time set to 0:00:00.
2014-05-19 22:06:11 -04:00
Paul Beckingham
23f6840b95 Dates
- Supports '21st' as a date.  Theoretically.
2014-05-19 22:02:08 -04:00
Paul Beckingham
05fbdd594e CmdEdit
- Now diplays an unmodifiable 'modified' attribute.
2014-05-19 20:16:25 -04:00
Paul Beckingham
c9f6a4b9df Unit Tests
- Added Variant::operator_partial unit tests, based initially on
  ::operator==.
2014-05-19 20:15:32 -04:00
Paul Beckingham
592b3bdcb9 Eval
- Connected operator '=' to Variant::operator_partial.
2014-05-19 20:13:35 -04:00
Paul Beckingham
c74d45b15a Variant
- Added ::operator_partial.
2014-05-19 20:12:38 -04:00
Paul Beckingham
5513a0c843 Hooks
- Updated method comments.
2014-05-18 16:10:36 -04:00
Paul Beckingham
e7af475a2e Path/Directory
- Uses proper macros for st_mode inspection (thanks to Wim Schuermann).
2014-05-18 12:18:35 -04:00
Paul Beckingham
550d592abe CmdDiagnostics
- Now shows sizeof (time_t) in bits.
2014-05-17 22:16:55 -04:00
Paul Beckingham
14bfbb80b3 Merge pull request #3 in TM/task from ~UNODE/task:2.4.0 to 2.4.0
* commit '08c11da7022c424ce1301d2b3923b254c8e7a305':
  Testing
  Testing
  Testing certificates
  Unittesting basemodule
2014-05-18 01:35:10 +00:00
Renato Alves
08c11da702 Testing
Expose location of taskd.log and taskd.pid
2014-05-17 22:05:30 +01:00
Renato Alves
29d5de1154 Testing
Add a class to manage one or more taskd servers running on the same
machine.
2014-05-17 21:44:51 +01:00
Renato Alves
1d85416692 Testing certificates
Add certificates for use with taskd and task
2014-05-17 21:44:51 +01:00
Renato Alves
f54494d45a Unittesting basemodule
merge_streams was not having the desired effect
2014-05-17 21:44:51 +01:00
Paul Beckingham
f6607168ad Path
- Now uses 'lstat' instead of 'stat' to determine whether a path is
  a symlink. This doesn't work either.
2014-05-17 14:28:35 -04:00
Paul Beckingham
924182e12c Diagnostics
- Now displays all installed hook scripts, with executable/symlink status.
2014-05-17 14:25:02 -04:00
Paul Beckingham
92010eeb2c Path
- Implemented Path::is_link, although it doesn't work.  Why?
2014-05-17 14:21:19 -04:00
Paul Beckingham
0ffc95e312 Hooks
- Added Hooks::list method to provide a list of known hooks.
2014-05-17 14:20:46 -04:00
Paul Beckingham
e660f61cd2 Hooks
- Added 'Hooks' section to diagnostics command output.
2014-05-17 14:20:08 -04:00
Paul Beckingham
2897005e25 Documentation
- Updated developer docs.
2014-05-17 13:52:01 -04:00
Paul Beckingham
db37b0d4ed Hooks
- Corrected comment in sample hook script.
2014-05-17 11:41:32 -04:00
Paul Beckingham
11058396c8 Hooks
- Cleaned up せxample hooks, with clearer inline documentation.
2014-05-17 11:16:32 -04:00
Paul Beckingham
de34095eb5 Merge branch 'hooks' into 2.4.0 2014-05-16 19:02:53 -04:00
Paul Beckingham
9248f1569f Hooks
- Corrected check for trivial input.
2014-05-14 22:47:12 -04:00
Paul Beckingham
d70c8eef5c Hooks
- ::onLaunch now conforms to design.
2014-05-14 22:39:56 -04:00
Paul Beckingham
3010ac667b Hooks
- ::onAdd now conforms to design.
2014-05-14 22:39:35 -04:00
Paul Beckingham
0d2bc00527 Hooks
- ::onExit now comforms to design.
2014-05-14 22:10:40 -04:00
Paul Beckingham
b1c0e67581 Hooks
- ::onModify now conforms to design.
2014-05-14 21:44:22 -04:00
Paul Beckingham
0b6e94280e Hooks
- Debug diagnostics now include exit status of hook script.
2014-05-14 21:43:03 -04:00
Paul Beckingham
3f2df5a3b6 Hooks
- Added example hook scripts.
2014-05-14 20:10:37 -04:00
Paul Beckingham
8c36392fb0 Hooks
- Added diagnostics for debugging.
2014-05-14 17:47:28 -04:00
Paul Beckingham
c86853fd03 Hooks
- Added helper method ::scripts to filter by event and accessibility.
2014-05-14 17:45:42 -04:00
Paul Beckingham
dee6f3a713 Hooks
- Implemented ::onModify.
2014-05-14 00:11:13 -04:00
Paul Beckingham
0bb3be73da Hooks
- Implemented ::onAdd.
2014-05-14 00:05:47 -04:00
Paul Beckingham
8f14d83955 Hooks
- Implemented ::onExit.
2014-05-14 00:05:22 -04:00
Paul Beckingham
398bec3dbe Hooks
- Implemented ::onLaunch.
2014-05-14 00:04:51 -04:00
Paul Beckingham
ad1dc807ea Context
- Added special integer catch handler for hook terminations.
2014-05-14 00:03:56 -04:00
Paul Beckingham
d30fb54a62 Hooks
- Implemented ::execute to run a command, feed it input, read it's output and
  return the exit status.
2014-05-14 00:03:02 -04:00
Paul Beckingham
68436d0d50 TDB2
- Integrated hooks to TF2::add_task and TF2::modify_task.
2014-05-13 22:06:19 -04:00
Paul Beckingham
631e4176c7 Hooks
- Added ::onAdd.
2014-05-13 22:04:35 -04:00
Paul Beckingham
2f5435c50f Hooks
- Added ::onModify.
- Stubbed out functionality in all three hook methods.
2014-05-13 21:49:56 -04:00
Paul Beckingham
ff52a2ab59 Hooks
- Defined the interface for ::onLaunch and ::onExit.
2014-05-13 18:58:57 -04:00
Paul Beckingham
f1451b2670 Hooks
- Enumerates installed hook scripts and sorts it, thus defining the
  execution sequence.
2014-05-13 18:58:15 -04:00
Paul Beckingham
446fd88b8b Config
- When creating <rc.data.location>, also creates the hook subdirectory.
2014-05-13 18:56:13 -04:00
Paul Beckingham
12a2012f20 Hooks
- Scans <rc.data.location>/hooks for files on initialize.
2014-05-13 17:12:30 -04:00
Paul Beckingham
cc112aeec7 Context
- Relocated the hooks.onExit call to a location where it can still influence
  output.
2014-05-13 16:49:29 -04:00
Paul Beckingham
7bf2b4039e Context
- Added a hook timer.
2014-05-13 16:49:10 -04:00
Paul Beckingham
d12c519380 Hooks
- Added ::onExit.
2014-05-13 16:48:26 -04:00
Paul Beckingham
39c476134f Hooks
- Added ::onLaunch.
2014-05-13 16:34:23 -04:00
Paul Beckingham
6cff8d9ff6 Hooks
- Added ::initialize method.
2014-05-13 16:31:27 -04:00
Paul Beckingham
bfb19e0a64 Hooks
- Gutted the Hooks object.
- Commented out on-launch and on-exit triggers.
2014-05-13 16:23:50 -04:00
Paul Beckingham
e9178f6b34 TW-1264
- TW-1264 Project | Tags assigned ratio of tasks (thanks to Benjamin Weber).
2014-05-13 00:50:36 -04:00
Paul Beckingham
20fe380a5e TW-253
- TW-253 Unrecognized taskwarrior file format. in
         /Users/user/Dropbox/.task/completed.data at line 1 (thank to Kosta
         Harlan).
2014-05-13 00:40:18 -04:00
Paul Beckingham
7f3e42e4e1 TLS
- Reworded error messages for bad PEM files (thanks to catern).
2014-05-12 22:04:01 -04:00
Paul Beckingham
23f02b2268 Command
- Marked obsolete methods.
2014-05-12 00:26:41 -04:00
Paul Beckingham
8a92c36916 CmdEdit
- Converted from A3 to Filter.
2014-05-12 00:18:22 -04:00
Paul Beckingham
468e02c73b Eval
- Marked the partial match operator as needing special consideration for
  proejct and UUID.
2014-05-12 00:17:36 -04:00
Paul Beckingham
ffec82701d A3t
- Added ID and UUID sequence generation, as part of the filter expression.
  Now creates efficient filters, like '(id >= 1 and id <= 10)'
2014-05-12 00:16:32 -04:00
Paul Beckingham
9095cedd5e CLI Samples
- Added a multi-UUID sample test.
2014-05-11 23:57:51 -04:00
Paul Beckingham
454c1a5211 Documentation
- Updated DEVELOPER doc with latest branches, build instructions.
2014-05-11 18:05:04 -04:00
Paul Beckingham
73ecd13597 Code cleanup
- Tidied CMakeLists.txt to trigger a flod build as a test.
2014-05-11 16:23:56 -04:00
Paul Beckingham
4357f9c545 Unit Tests
- hyphenate.t was maing assumptions about report output that can be reduced.
2014-05-11 15:05:56 -04:00
Paul Beckingham
702e4e41fc Calendar
- Typo.
2014-05-11 14:48:32 -04:00
Paul Beckingham
7ffd391faa Filter
- Filter mismatch reports now only show in debug mode.
2014-05-11 14:46:46 -04:00
Paul Beckingham
980ab680f3 Unit Tests
- Calendar command needs to be explicit (because calendar/calc share the first
  three letters).
2014-05-11 14:33:49 -04:00
Paul Beckingham
8f02fb1b13 Filter
- Clearly marked the obsolete code.
2014-05-11 13:54:28 -04:00
Paul Beckingham
e6817033d3 TW-1321
- TW-1321 Unit test view.t fails oddly on Ubuntu 13.10 (thanks to John West).
2014-05-11 17:39:44 +00:00
Paul Beckingham
60e29f6f52 Merge branch '2.4.0' of ssh://git.tasktools.org/tm/task into 2.4.0
Conflicts:
	ChangeLog
2014-05-11 10:46:19 -04:00
Paul Beckingham
ea6ff48d58 Portability
- Attempt 4 to eliminate build warning without causing problems.
2014-05-11 10:44:51 -04:00
Paul Beckingham
a899fb941d Code Cleanup 2014-05-11 10:44:17 -04:00
Paul Beckingham
b6ca326707 TW-1320
- TW-1320 Provide output of malformed row if invalid Taskwarrior file format
          (thanks to Kost Harlan).
2014-05-11 10:20:17 -04:00
Paul Beckingham
a97ce45cdf Eval
- Debug mode can now be disabled.
2014-05-11 10:15:10 -04:00
Paul Beckingham
567f242e6d Documentation
- Typo in reference sheet (thanks to Milos Svantner).
2014-05-11 08:05:56 -04:00
Paul Beckingham
e1eb3acc1c Merge branch '2.4.0' of ssh://git.tasktools.org/tm/task into 2.4.0 2014-05-10 11:46:35 -04:00
Paul Beckingham
a5cf624ba1 TW-1263
+- TW-1263 Command Reference Redesign.
2014-05-10 11:46:16 -04:00
Paul Beckingham
25abf04fdf TW-1318
- TW-1318 creating a UDA in the wrong sequence will cripple taskwarrior (thanks
          to Onion).
2014-05-09 22:57:40 -04:00
Paul Beckingham
49d39984d9 Regex
- Regular expressions are now enabled by default.
2014-05-08 07:07:08 -04:00
Paul Beckingham
eb6c38ac17 Code Cleanup
- Removed obsolete configuration variable 'patterns', which is no longer
  used.
2014-05-08 07:05:29 -04:00
Paul Beckingham
fa2af30857 A3t
- Implemented ::findPlainArgs, for locating words that can be promoted to
  patterns.
2014-05-06 21:26:30 -04:00
Paul Beckingham
07a1f9d6b5 Unit Tests
- Added tests for Tree::countTags.
2014-05-06 21:17:09 -04:00
Paul Beckingham
d00c685699 Tree
- Added ::countTags method.
2014-05-06 21:16:30 -04:00
Paul Beckingham
9cfd3e7d34 Dcoumentation
- Flod test 2.
2014-05-04 22:18:14 -04:00
Paul Beckingham
b158b1ac06 Test
- Flod test 1.
2014-05-04 19:16:51 -04:00
Paul Beckingham
656dcde272 Filter
- Implemented ::pendingOnly (was named ::shortcut), for detecting filters
  that do not need to access completed.data.
2014-05-02 23:39:03 -04:00
Paul Beckingham
fcb039f801 Eval
- Labeled the (now differentiated) = and == operators.
2014-05-02 23:09:00 -04:00
Paul Beckingham
159f632eff Reports
- Removed redundant sorting for report defs.
2014-04-30 23:15:11 -04:00
Paul Beckingham
1e796bb276 A3t
- Implemented attmod expansion.
2014-04-27 13:15:29 -07:00
Paul Beckingham
9ee3e03922 Args
- Modified FILTER output to match debug output of tw.
2014-04-27 13:14:45 -07:00
Paul Beckingham
6f611d07f1 DOM
- Converted from A3::is_attribute to A3t::canonicalize.
2014-04-27 12:51:02 -07:00
Paul Beckingham
dea9d3f4ef Filter
- rc.debug=1 propagates to Eval::debug.
- Corrected comments.
2014-04-27 12:49:54 -07:00
Paul Beckingham
899e65714a Filter
- Added domSource, and a context Task so that Eval can access attributes.
  Doesn't work.
2014-04-27 11:06:02 -07:00
Paul Beckingham
e924468de6 CmdCount
- Converted from Command::filter to Filter::subset.
2014-04-27 10:17:34 -07:00
Paul Beckingham
e3a1789b3f Eval
- Added support for compiled expressions that are compiled once and
  evaluated multiple times in different contexts.
2014-04-27 10:07:11 -07:00
Paul Beckingham
fe2634b472 Filter
- New Filter object to control filtering, instead of commands/Command.cpp.
2014-04-27 10:05:05 -07:00
Paul Beckingham
3e7052b500 A3t
- Inserts implicit AND operators into filters that otherwise don't.
2014-04-26 17:10:01 -07:00
Paul Beckingham
3add6c3c7e A3t
- Stubbed attmod expansion, copied over from A3.
2014-04-26 15:24:18 -07:00
Paul Beckingham
4a392a53a2 A3t
- ::getFilterExpression expands +tag to tags _hastag_ tag,
  -tag to tags _notag_ tag.
2014-04-26 15:15:10 -07:00
Paul Beckingham
2770f0388c A3t
- Stubbed ::patchInfix to insert missing and implied logical operators.
2014-04-26 14:56:48 -07:00
Paul Beckingham
c1d02a7730 A3t
- ::getFilterExpression expands /pattern/ to description ~ pattern
2014-04-26 13:53:12 -07:00
Paul Beckingham
db0f147b72 A3t
- Reordered recognition of PSEUDO, UDA and ATTRIBUTE, which is a better
  precedence.
2014-04-26 13:48:16 -07:00
Paul Beckingham
17c7c9646a A3t
- Attributes in filter now properly expanded.
2014-04-26 13:34:05 -07:00
Paul Beckingham
942e2ddbc1 Code Cleanup
- Removed diagnostics from default command handling.
2014-04-26 13:32:32 -07:00
Paul Beckingham
49aadb7636 Command
- Added filter expression debug diagnostics.
2014-04-26 13:31:59 -07:00
Paul Beckingham
2e0b7c8052 CmdCustom
- After injecting custom filter, re-parse.
2014-04-26 13:26:54 -07:00
Paul Beckingham
d70df55c2d CmdBurndown
- Converted from A3 to A3t.
2014-04-26 12:03:28 -07:00
Paul Beckingham
1f8763829d CmdUndo
- Converted from A3 to A3t.
2014-04-26 11:58:35 -07:00
Paul Beckingham
f89f5469a4 Shell
- Converted from A3 to A3t.  Still doesn't work though.
2014-04-26 11:53:05 -07:00
Paul Beckingham
22c5bc28e1 CmdCalendar
- Converted from A3 to A3t.
2014-04-25 22:32:49 -07:00
Paul Beckingham
b5bd3e44c8 A3t
- Added ::clear method.
- Handles ::captureFirst with an empty tree.
2014-04-25 22:31:52 -07:00
Paul Beckingham
74cfc972fc Code Cleanup
- Converted use of isspace (which doesn't know Unicode) to Lexer::is_ws.
2014-04-24 17:06:05 -04:00
Paul Beckingham
763ded488c CmdExec
- Converted from A3 to A3t.
- Standardized on A3t::getWords, and unquoted args to run. This ought to
  fix a bug, but I'm on a plane and cannot look at the bug right now.
2014-04-24 13:21:22 -04:00
Paul Beckingham
c5fd2700ef A3t
- Modified ::findCommand to scan for already-found commands, so as not
  to find a second, if the method is called again.
- Fixed a bug where all likely commands were tagged, not just the first.
2014-04-24 13:05:39 -04:00
Paul Beckingham
6cd6910968 Unit Test
- Modified rc.t to use the lightweight _version command, instead of invoking
  all the default command machinery, for a simple rc creation.
2014-04-24 13:04:28 -04:00
Paul Beckingham
3e7c323086 A3
- Removed obsolete A3::extract_words method.
2014-04-24 12:33:09 -04:00
Paul Beckingham
42c078d0b7 CmdTimesheet
- Converted from A3 to A3t.
2014-04-24 12:30:56 -04:00
Paul Beckingham
91485d444e CmdSync
- Converted from A3 to A3t.
2014-04-24 12:30:08 -04:00
Paul Beckingham
51a735cfba CmdImport
- Converted from A3 to A3t.
2014-04-24 12:29:28 -04:00
Paul Beckingham
bd69f8ad6c CmdGet
- Converted from A3 to A3t.
2014-04-24 12:28:37 -04:00
Paul Beckingham
fd0eb4a683 CmdConfig
- Converted from A3 to A3t.
2014-04-24 12:27:03 -04:00
Paul Beckingham
7da9b6b2ed CmdColumns
- Converted from A3 to A3t.
2014-04-24 12:25:45 -04:00
Paul Beckingham
e0254b1b71 CmdCalendar
- Converted from A3::extract_words to A3t::getWords.
2014-04-24 12:24:28 -04:00
Paul Beckingham
7fdd014c2f CmdColor
- Converted from A3 to A3t.
2014-04-24 12:22:46 -04:00
Paul Beckingham
464626bcb4 CmdCalc
- Converted from A3 to A3t.
2014-04-24 12:21:27 -04:00
Paul Beckingham
9a9e07c3fc CmdShow
- Converted from A3 to A3t.
2014-04-24 12:20:20 -04:00
Paul Beckingham
1d298c9068 A3t
- Implemented A3t::getWords, to replace A3::extract_words.
2014-04-24 12:17:28 -04:00
Paul Beckingham
b01906cd62 Unit tests
- New command line parser is live for DOM access and DOM testing.
2014-04-24 12:00:50 -04:00
Paul Beckingham
0dc73d759b DOM
- Migrated DOM off A3, onto A3t.  First live use of new parser.
2014-04-24 11:48:43 -04:00
Paul Beckingham
d99f40eaad Code Cleanup
- Removed obsolete text.cpp splitq funciton, which is superceded by
  Lexer::split.
2014-04-24 09:35:02 -04:00
Paul Beckingham
b0b176827e A3
- Switched from splitq to Lexer::split for improved arg separation.
2014-04-24 09:32:26 -04:00
Paul Beckingham
8a5d7bb569 Unit Tests
- Added more Lexer::split tests.
2014-04-24 09:08:19 -04:00
Paul Beckingham
26d9be8164 Lexer
- Reduced Lexer::word to simply distinguish quoted and unquoted strings, that
  may contain escaped characters.
2014-04-24 09:06:04 -04:00
Paul Beckingham
386bcea60e Text
- Removed splitq function and tests, migrated code over to the new
  Lexer::split.
2014-04-23 23:20:56 -04:00
Paul Beckingham
611812007a Lexer
- Implemented Lexer::word, which is just like ::token, but does not
  understand dates, durations or operators.
- Implemented Lexer::split, which uses Lexer::word.
- Added unit tests.
2014-04-23 23:19:41 -04:00
Paul Beckingham
d099a4edfd Text Handling
- Migrated the splitq implementation over to the Lexer. Now it handles all
  Unicode spaces.  Jsut need to obsolete the old version.
2014-04-23 17:34:07 -04:00
Paul Beckingham
45453de477 TW-1309
- TW-1309 memory error, if misconfigured calendar.details.report (thanks to
          Onion).
2014-04-23 08:02:43 -04:00
Paul Beckingham
a2410bdba9 Testing
- Removed unsupported command line constructs.
2014-04-23 00:24:47 -04:00
Paul Beckingham
9d33691cab TW-253
- Added details in debug mode, for unrecognized data (thanks to Kosta H).
  Note: does not close TW-253.
2014-04-22 22:21:40 -04:00
Paul Beckingham
3786e58b88 Args
- Added a more complete set of entities.
2014-04-21 16:25:47 -04:00
Paul Beckingham
45bd916a1a Args
- Added call to A3t::getFilterExpression, for testing.
2014-04-21 16:25:09 -04:00
Paul Beckingham
997bdbdb90 A3t
- Implemented first pass as getFilterExpression.
2014-04-21 16:24:19 -04:00
Paul Beckingham
b690a8d2a3 A3t
- Renamed methods for consistency.
2014-04-21 16:23:17 -04:00
Paul Beckingham
26fb3c1686 Merge branch '2.4.0' of ssh://git.tasktools.org/tm/task into 2.4.0 2014-04-21 16:17:48 -04:00
Paul Beckingham
57b876f005 Tree
- Parse tree is now colored to match the old one, somewhat.
2014-04-21 16:17:31 -04:00
Paul Beckingham
e82cffe8ac Cleanup
- Updated comments, docs.
2014-04-21 16:04:18 -04:00
Paul Beckingham
3e5dc56773 A3t
- ::findFilter and ::findModications now remove the '?' tag.
2014-04-20 10:42:44 -04:00
Paul Beckingham
0771ee2399 A3t
- Cleaned up ::validate, added notes for further validation.
- Removed obsolete comments.
2014-04-20 10:27:47 -04:00
Paul Beckingham
e05610d1d7 A3t
- Implemented ::findModifications to identify nodes that comprise the
  task modifications.
2014-04-20 10:12:24 -04:00
Paul Beckingham
2390838894 A3t
- Implemented ::findFilter to identify nodes that comprise a filter.
2014-04-20 10:09:30 -04:00
Paul Beckingham
3d2dd05332 A3t
- Default and assumed commands are tagged accordingly.
2014-04-20 09:30:55 -04:00
Paul Beckingham
ca887131a4 CmdCustom
- Custom report filters are now tagged acordingly in the parse tree.
2014-04-20 09:30:06 -04:00
Paul Beckingham
3cb10a4850 Command
- Added a debug mode parse tree dump in Command::filter, which is the
  first opportunity to see the complete tree.  There will be other places
  where this occurs too.
2014-04-20 09:28:35 -04:00
Paul Beckingham
6f948826a7 A3t
- Combined ::findFileOverride and ::findConfigOverride into ::findOverride.
- Made ::findBinary public, and corrected comment.
2014-04-20 09:26:01 -04:00
Paul Beckingham
13c0efb178 Add-on
- Updated the import-todo.sh with the latest examples from todotxt.org, and
  tested that the import is still good.
2014-04-20 08:16:24 -04:00
Paul Beckingham
e8e25bb7c6 A3t
- The ::capture_first method now returns a pointer to the new branch.
2014-04-19 11:57:46 -04:00
Paul Beckingham
24d7411aa8 I18N
- Updated all L10N language/country references to use ISO 639-3 (language)
  and ISO 3166-1 alpha 3 (country) codes.
- Note that holiday files are not updated.
2014-04-19 09:26:22 -04:00
Paul Beckingham
ab6150c298 A3t
- Removed diagnostics.
2014-04-19 08:43:52 -04:00
Paul Beckingham
3c701c8d5b A3t
- Removed obsolete ::findAliases method.
2014-04-19 08:28:02 -04:00
Paul Beckingham
a353cbaf91 Alias
- Integrated new Alias object into new command line processing.
2014-04-19 08:22:27 -04:00
Paul Beckingham
93e28c1707 Alias
- Broke out alias handling into a separate object.
2014-04-19 08:20:03 -04:00
Paul Beckingham
c65670278c A3t
- Added tree accessor.
2014-04-19 08:19:12 -04:00
Paul Beckingham
1a731500e6 Args
- Updated 'run' script to exercise the old 2.0 command line examples, as well
  as the new 2.4.0 examples.
2014-04-18 00:07:36 -04:00
Paul Beckingham
aa9e3da77b Args
- Updated args.cpp to be at parity with Context::initialize.
2014-04-17 23:52:09 -04:00
Paul Beckingham
f439cd4813 A3t
- Renamed resolve_aliases to findAliases, for a better fit.
- Partially implemented findAliases.
2014-04-17 22:01:55 -04:00
Paul Beckingham
6ad9ef78ba TW-1307
- TW-1307 burndown is aliased to burndown.weekly (thanks to darkfeline).
2014-04-17 06:50:35 -04:00
Paul Beckingham
3afaa2fd0b A3t
- Implemented A3t::capture_first, for command injection.
2014-04-16 17:03:38 -04:00
Paul Beckingham
16fc71e2ef Code Cleanup
- Readability.
2014-04-16 16:56:45 -04:00
Paul Beckingham
43be3edb31 A3t
- Testing structㄩre of A3t::inject_defaults.
2014-04-16 16:01:42 -04:00
Paul Beckingham
b5649fca8c A3t
- Relocated calls to findCommand, findUUIDList, findIdSequence from
  A3t::parse to Context::initialize.
2014-04-16 15:59:56 -04:00
Paul Beckingham
9b0e4d6eb1 Args
- Added specific calls to locate the command, rc: an rc. overrides.
2014-04-16 15:57:12 -04:00
Paul Beckingham
ca8d22ab54 A3t
- Added stubbed A3t::inject_defaults and A¾t::resolve_aliases methods.
2014-04-16 00:51:49 -04:00
Paul Beckingham
de5204adb9 A3t
- Added operator entities.
2014-04-16 00:48:27 -04:00
Paul Beckingham
bf30fb3085 Eval
- Added Eval::getOperators to expose suported operator symbols.
2014-04-16 00:38:43 -04:00
Paul Beckingham
fff1ae2d6e A3t
- Fixed segfault caused by combined map lookup and method call.
2014-04-16 00:12:18 -04:00
Paul Beckingham
8d10d81198 Columns
- Removed ColUDA::is_uda override, because it was wrong.  Now in the base class
  a member variable is referenced.
2014-04-16 00:06:29 -04:00
Paul Beckingham
2aa224d278 TW-1298
- TW-1298 The color 'orange' is not recognized. - taskwarrior will not start
          anymore (thanks to Bernd Humpa).
2014-04-15 23:37:05 -04:00
Paul Beckingham
c03df08d1e TW-1278
- TW-1278 Next report filters tasks with due date set until due date arrives
          (thanks to Renato Alves).
2014-04-15 23:22:31 -04:00
Paul Beckingham
c0ed08e5e2 A3t
- Tags attributes as MODIFIABLE.
2014-04-15 21:14:38 -04:00
Paul Beckingham
194db8634e Columns
- The Columns::is_uda() method allows identification of UDA attributes.
2014-04-15 21:11:10 -04:00
Paul Beckingham
416b597c8a TW-1304
- TW-1304 Minor build and install fix for NetBSD (thanks to atomicules).
2014-04-15 21:06:26 -04:00
Paul Beckingham
3d79abb106 Portability
- Fixed cmake issues on NetBSD (thanks to atomicules).
2014-04-15 20:55:26 -04:00
Paul Beckingham
d0ebf4c354 Context
- Now distinguishes between readcmd and writecmd entities.
2014-04-14 01:16:54 -04:00
Paul Beckingham
a933109700 A3t
- Added 'helper' entity support.
2014-04-14 01:14:56 -04:00
Paul Beckingham
26c353dd2d Context
- Added helper, command and attribute entities.
2014-04-14 00:59:31 -04:00
Paul Beckingham
e5ceb15365 Code Cleanup
- Removed odd comment and unused member.
- Removed commented-out code.
2014-04-14 00:58:32 -04:00
Paul Beckingham
410e3890c6 Code Cleanup
- Removed redundant A3::apply_overrides call.
2014-04-14 00:44:54 -04:00
Paul Beckingham
1c24ec9c20 Context
- Merged new and old code so that A3 and A3t calls are interleaved, making
  it easier to transfer processing.
2014-04-14 00:31:26 -04:00
Paul Beckingham
5c6486427b A3t
- Implemented A3t::apply_overrides.
2014-04-14 00:24:54 -04:00
Paul Beckingham
a91101919d Code Cleanup
- Removed obsolete A3::rc_overrides and A3::get_data_location methods.
2014-04-14 00:07:40 -04:00
Paul Beckingham
ebd522dfee Context
- Enabled initial A3t setup, migrating some functionality away from A3.
- Added table of attribute modifiers, for use as parsing entities.
- Context::initialize is now a hybrid of A3 and A3t processing, with the
  transition under way.
2014-04-13 23:57:08 -04:00
Paul Beckingham
cf01cc4d02 A3t
- Added (disfunctional) A3t::append_stdin method.  Disfunctional in that
  it breaks a lot of tests because they use pipes, although it works.
- Added A3t::get_overrides to extract rc:<file>.
- Added A3t::get_data_location to extract rc.data.location:<location>.
2014-04-13 23:53:04 -04:00
Paul Beckingham
70ea3fec8c Bug
- With FEATURE_STDIN defined, iostream is required.
2014-04-13 23:50:59 -04:00
Paul Beckingham
6c698d5733 A3T
- Added TERMINATED tag to all args following the terminator.
- Added braces for clarity.
2014-04-13 22:34:49 -04:00
Paul Beckingham
9ad5502ad5 Merge branch '2.4.0' of ssh://git.tasktools.org/tm/task into 2.4.0 2014-04-13 16:43:30 -04:00
Paul Beckingham
d12a33989a Code Cleanup
- Removed unused 'locale' configuration setting.
2014-04-13 15:53:46 -04:00
Paul Beckingham
588753e2a3 Merge pull request #2 in TM/task from ~UNODE/task:2.4.0 to 2.4.0
* commit '13d79618136a3aa1c5e97c19af2d20100a31415e':
  Refactor some tests to avoid redoing setUp/tearDown once per test
  Refactor testing framework to allow using callTask* methods inside @classmethods
  Rename method to match the current testing API
  Tests - Include task stdout/err if exit code != 0
2014-04-13 19:51:34 +00:00
Paul Beckingham
a49d1bfbc0 Code Cleanup
- Removed unused Context::extension_dir.
2014-04-13 15:22:23 -04:00
Renato Alves
13d7961813 Refactor some tests to avoid redoing setUp/tearDown once per test 2014-04-13 20:12:55 +01:00
Renato Alves
2e64231886 Refactor testing framework to allow using callTask* methods inside @classmethods 2014-04-13 20:11:28 +01:00
Renato Alves
be59e526f1 Rename method to match the current testing API 2014-04-13 19:51:00 +01:00
Renato Alves
e0a39b0bc3 Merging in latest from upstream (TM/task:refs/heads/2.4.0)
* commit '75f938463e588b9cc3b603446d2670ef3ee44e36':
  TW-285
2014-04-13 18:45:56 +00:00
Paul Beckingham
75f938463e TW-285
- Fixed unit test structural error.
2014-04-13 14:40:11 -04:00
Renato Alves
0b1732fcef Merging in latest from upstream (TM/task:refs/heads/2.4.0)
* commit 'd8b7d914acca17f8b8850c057c29bb32b9703078': (31 commits)
  TW-5
  TW-306
  Code Cleanup
  Documentation
  TW-285
  Unit Tests
  Unit Tests
  Code Cleanup
  TW-115
  TW-1257
  TW-1300
  Code Cleanup
  Bug
  ChangeLog
  TW-1301
  Bug TW-1302
  Diagnostics
  Bug TW-1254
  Documentation
  Bug TW-1295
  ...
2014-04-13 18:23:10 +00:00
Paul Beckingham
d8b7d914ac TW-5
- TW-5 color.due.today does not work (thanks to Max Muller).
- Inadvertently fixed while addressing TW-285.
2014-04-13 12:00:17 -04:00
Paul Beckingham
fe0d03664c TW-306
- TW-306 Wrong date format in burndown view (thanks to Michele Santullo).
2014-04-13 10:34:17 -04:00
Paul Beckingham
ac45f263d8 Code Cleanup
- Modified burndown code to conform to coding convention, and be more
  readable while researching TW-306.
2014-04-13 10:26:43 -04:00
Paul Beckingham
cbb32b4747 Documentation
- Gradually replacing support email with answers.tasktools.org.
2014-04-13 09:55:25 -04:00
Paul Beckingham
3038b11780 TW-285
- TW-285 DUETODAY doesn't give any output (thanks to Jostein Berntsen).
- Added unit tests.
2014-04-13 09:18:58 -04:00
Paul Beckingham
88346f8ed3 Unit Tests
- Cleaned up unit tests.
2014-04-12 18:23:48 -04:00
Paul Beckingham
adde9eec2a Unit Tests
- Renaming new tests from bug.*.t and feature.*.t to tw-*.t. It is not
  important whether the test covers a bug or a feature.
2014-04-12 16:07:32 -04:00
Paul Beckingham
c933ed2cf7 Code Cleanup
- Migrated the recur.cpp getDueState() function into Task::getDateState(),
  which can assess any date attribute.
- Improved implementation to distinguish between:
    - not due, or not due for rc.due days
    - due after today
    - due later today
    - due earlier today
    - due before today
  This greater precision should address some outstanding issues.
2014-04-12 16:03:19 -04:00
Paul Beckingham
5706cca207 TW-115
- TW-115 allow "0day" durations for UDAs.
2014-04-12 14:12:59 -04:00
Paul Beckingham
1922c4f6a4 TW-1257
- TW-1257 The 'Syncing with <host>:<port>' message ignores verbosity tokens.
2014-04-12 14:01:48 -04:00
Paul Beckingham
501194abfa TW-1300
- TW-1300 _get could use return codes (thanks to Scott Kostyshak).
2014-04-12 13:32:35 -04:00
Paul Beckingham
32272addd0 Code Cleanup
- Simplified leap year code.
- Began documenting date constants (eom, eow ...).
- Implemented 'soq', 'eoq'.
- Stubbed all the missing named dates.
- Removed unrelated constants.
2014-04-12 12:29:06 -04:00
Paul Beckingham
05c90b1779 Bug
- Fixed bug in named entity lookup.
- Removed obsolete failing test.
2014-04-12 12:28:48 -04:00
Paul Beckingham
62eafb6639 ChangeLog
- No longer separating bugs from features. Too difficult to keep it all
  straight. Now the ChangeLog is a sorted list of issues resolved.
2014-04-12 11:33:57 -04:00
Paul Beckingham
c6b0c0d927 TW-1301
- TW-1301 Virtual tag +PENDING (thanks to Profpatsch).
- Also added +COMPLETED and +DELETED.
2014-04-12 11:31:47 -04:00
Paul Beckingham
a49ed165c3 Bug TW-1302
- TW-1302 CmdShow.cpp:244: bad length in substr ? (thanks to David Binderman).
2014-04-12 11:12:24 -04:00
Paul Beckingham
25b8082fbd Diagnostics
- Added diagnostic token dump to 'calc' in debug mode, after token substitution
  so the new tokens can be seen.
- Added unit tests to look for parser syntax errors.
- Added test for '2--3'.
2014-04-06 23:57:15 -04:00
Paul Beckingham
70ba19fd5e Bug TW-1254
- TW-1254 Calc command can segfault on negative numbers (thanks to Renato
          Alves).
- Implemented a recursive descent parser to syntax check the expression,
  and disambiguate unary minus. The syntax checking is not generating any
  diagnostics yet.
2014-04-06 00:29:14 -04:00
Paul Beckingham
620f9b40b2 Documentation
- Added man page updates to reflect new 'taskd.trust' settings.
2014-04-05 12:13:02 -04:00
Paul Beckingham
6354bc09ab Bug TW-1295
- TW-1295 test/time.t fails on the last day of the month (thanks to Jakub
          Wilk).
2014-04-05 11:25:20 -04:00
Paul Beckingham
5965a85151 - Bug TW-1296
- TW-1296 make test/run_all exit with non-zero code if a test fail (thanks to
          Jakub Wilk).
2014-04-05 10:39:38 -04:00
Paul Beckingham
325d0d1738 Documentation
- Mentioned the hostname verification.
2014-04-05 10:37:53 -04:00
Alexander Sulfrian
7fb1487993 TLSClient: add hostname verifcation
The CN or subjectAltNames of the TLS certification is now matched with
the hostname connected to.

taskd.trust is now a tristate value (allow all, ignore hostname,
strict) to optionally disable the new hostname verification.
2014-03-22 13:17:40 -04:00
Alexander Sulfrian
fdcc04d13e TLSClient: add verify_certificate as member function
Certificate verification is now done in a member function of the
TLSClient, so that the member variables could be accessed.
2014-03-22 12:55:06 -04:00
Paul Beckingham
40dd95ddfb Code Cleanup
- Removed debugging and redundant code.
- Removed socket cast.
- Added diagnostic message on handshake fail.
2014-03-17 18:45:02 -04:00
Alexander Sulfrian
88b94ac2fc TLSClient: do certification verification with old gnutls
The automatic verification for the server certificate with
gnutls_certificate_set_verify_function does only work with gnutls
>=2.9.10. So with older versions we should call the verify function
manually after the gnutls handshake.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-03-17 14:38:42 -04:00
Paul Beckingham
5774c31dfd E9
- Removed dead code.
2014-03-14 23:50:05 -04:00
Paul Beckingham
122cc2f56d ISO8601
- Simplified and debugged ISO8601::resolve method regarding UTC, local and
  specified time offsets.
2014-03-14 23:48:56 -04:00
Paul Beckingham
f05b01f9fa Eval
- Enabled unary minus operator.
2014-03-14 23:46:14 -04:00
Paul Beckingham
065cb2ef01 Bug
- Correct a DST error in date handling.
2014-03-13 21:15:42 -04:00
Paul Beckingham
d52eebaa66 Bug TW-1288
- TW-1288 Added missing locking for task modifications (thanks to Kosta H,
          Ralph Bean, Adam Coddington).
2014-03-11 23:28:57 -04:00
Renato Alves
02d175b10b Tests - Include task stdout/err if exit code != 0 2014-03-07 01:09:23 +00:00
Jochen Sprickerhof
4ae8431f96 Bug TD-45
- TD-45 Fix preprocessor define.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-03-06 18:26:39 -05:00
Renato Alves
39efcf11bd Unit Tests TW-1254
- Added unit tests for TW-1254.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-03-06 16:40:05 -05:00
Paul Beckingham
08bead5017 Bug TW-1282
- TW-1282 incorrect URLs in man task-sync (thanks to Jeremiah Marks).
2014-03-05 23:31:04 -05:00
Paul Beckingham
ed8741e242 Bug TD-42
- TD-42 Cannot compile taskd - GNUTLS_VERSION undefined in diag.cpp (thanks
        to Michele Vetturi).
2014-03-03 21:15:02 -05:00
Paul Beckingham
26260ec44c Merge pull request #1 in TM/task from ~UNODE/task:2.4.0 to 2.4.0
* commit '08fc7c3978cdb743048c368b426219af16fb2759':
  Remove unecessary import from bug.360
2014-02-27 20:51:08 +00:00
Renato Alves
08fc7c3978 Remove unecessary import from bug.360 2014-02-27 19:40:02 +00:00
Paul Beckingham
68529d8119 Documentation
- ChangeLog cleanup, standardized form.
2014-02-22 11:57:48 -05:00
Paul Beckingham
61a9703ab4 Bug TW-1274
- TW-1274 Map 'modification' attribute to 'modified' (thanks to jck).
2014-02-22 11:57:21 -05:00
Paul Beckingham
14b1ba4151 Improvement TW-1261
- Migrated bug.360.t to the new unit test framework (thanks to Renato Alves).
2014-02-19 23:34:35 -05:00
Paul Beckingham
70f5588867 Unit Tests
- Fixed project.t tests that were broken after the projects report was
  truncated.
2014-02-19 23:26:01 -05:00
Renato Alves
3a45a2f639 Unit tests - Migrated bug.360 to python 2014-02-19 23:01:21 -05:00
Renato Alves
3c28566590 Unit tests - version.t now uses BaseTestCase 2014-02-19 23:01:18 -05:00
Renato Alves
74bca0e5bf Unit tests - Add a BaseTestCase which prepares and isolates the environment of each test 2014-02-19 23:01:16 -05:00
Renato Alves
b250ded517 Unit tests - Replace old version.t with the new python based version.py 2014-02-19 23:01:11 -05:00
Renato Alves
5daca69b4b Unit tests - Keep a template as example for the new unittesting framework 2014-02-19 23:01:07 -05:00
Paul Beckingham
132935c04e Themes
- New themes: dark-default-16.theme, dark-gray-blue-256.theme
2014-02-19 22:52:49 -05:00
Paul Beckingham
292e0fb743 Code Cleanup
- Removed priority counts from the 'projects' report.
2014-02-15 16:03:08 -05:00
Paul Beckingham
b7760dc3ef Bug TW-278
- Cygwin throws warnings building mk_wcwidth() in wcwidth6.c.
2014-02-15 15:14:08 -05:00
Paul Beckingham
5f4a5bdec7 Reports
- Modified report filters to take advantage of new virtual tags.
2014-02-15 14:43:07 -05:00
Paul Beckingham
9853fb9cb4 Report
- Restored the empty filter on the 'all' report, which is the only way
  to show all tasks.
2014-02-15 14:42:10 -05:00
Paul Beckingham
5ca55e75cf Feature TW-197
- TW-197 New virtual tag READY.
2014-02-15 14:39:46 -05:00
Paul Beckingham
b9c853fece Feature TW-1260
- TW-1260 New virtual tags YESTERDAY, TOMORROW.
2014-02-15 14:36:49 -05:00
Paul Beckingham
1170a43f6b Unit Tests
- Removed name of old module from unit tests.
2014-02-15 13:28:49 -05:00
Paul Beckingham
04a70bced8 ChangeLog
- Removed '#' from changelog entries for 2.4.0.  Trying to standardize.
2014-02-15 10:02:16 -05:00
Paul Beckingham
e90b467d42 Bug TW-261
- TW-261 Easy to create "not deletable" task (thanks to Jan Kunder).
2014-02-15 10:00:04 -05:00
Renato Alves
9846a2e3f2 Portuguese (por-PRT) localization
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-02-14 22:49:05 -05:00
Paul Beckingham
9eaac5ccd5 Unit Tests
- Typo in test (thanks to Jakub Wilk).
2014-02-13 18:19:38 -05:00
Paul Beckingham
bf0ef119e7 Code Cleanup
- Changed .gitignore to ignore bug fix dirs in the new bug naming style.
2014-02-13 08:59:17 -05:00
Johannes Schlatow
7700bd809d Install
README has been renamed to README.md
2014-02-13 08:18:48 -05:00
Paul Beckingham
35657bc689 Migration
- Updated repository URL.
2014-02-11 21:27:26 -05:00
Paul Beckingham
14396cd305 Documentation
- Added markdown for stash overview.
2014-02-11 20:41:51 -05:00
Renato Alves
112d4bfb14 Improvement TW-1255
- #TW-1255 New testing framework (thanks to Renato Alves).

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-02-09 20:10:24 -05:00
nocejo
d83f90f82b L10N
- New strings translated from en-US to es-ES.
- Strings equal in en-US and en-ES marked with a comment: // |es-ES|==|en-US|
2014-02-09 16:22:30 -05:00
Paul Beckingham
2c95bc0701 Documentation
- Updated task-ref.  Soon to be relocated.
2014-02-09 16:18:53 -05:00
Paul Beckingham
00062f4dae Unit Tests
- Added shebang.
2014-02-09 16:18:08 -05:00
Paul Beckingham
28fe7420fc Bug #TW-255
- #TW-255 'Mask' instead of 'iMask' shown in info report (thanks to Benjamin
          Weber)
2014-02-09 13:25:36 -05:00
Paul Beckingham
41e8a8b20d Code Cleanup
- Unwritten tutorial removed.  Now taking form in the docs repo.
2014-02-08 10:44:53 -05:00
Paul Beckingham
7ec24658b5 Code Cleanup
- Removed obsolete parser info.
2014-02-08 10:42:49 -05:00
Renato Alves
93f0e14073 Initial unittest skeleton using python and TAP 2014-02-02 20:57:36 -05:00
Paul Beckingham
523dce8f32 Code Cleanup
- Standardized headers.
2014-02-01 14:33:37 -05:00
Paul Beckingham
adb0c6755e Bug #1508
- Updated ChangeLog, AUTHORS for #1508.
- Removed 'alias._query' from Config.cpp.
2014-02-01 08:10:20 -05:00
Nicolas Appriou
9c0e4053c4 bug #1508 configurable color output 2014-02-01 08:01:46 -05:00
Marton Suranyi
c7ebe6b3e2 iBug #1511
- #1511 sync init crashes if client certification file is empty or invalid
        (thanks to Marton Suranyi).

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-01-31 09:00:28 -05:00
Paul Beckingham
27d879540c Bug #1503
- #1503 build failure with musl libc due to undefined GLOB_BRACE and GLOB_TILDE
        (thanks to Natanael Copa)
2014-01-31 08:44:36 -05:00
Natanael Copa
192b905a05 Fix build with musl libc
GLOB_BRACE and GLOB_TILDE is not defined in posix and thus not implemented
in musl libc.

We fix this by defining it to 0 if its undefined.

fixes issue #1503
2014-01-31 08:26:42 -05:00
Paul Beckingham
72aa8df029 Code Cleanup
- Removed unused strings.
2014-01-30 21:41:41 -05:00
Renato Alves
c854196af0 Feature #1255
- l10n now accepts an additional --single argument to restrict
  localization comparison to reference vs specified
- 3 letter localization now also supported (ISO 639-2)
- reference (en-US.h) is now always the first column
2014-01-28 12:48:18 -05:00
Paul Beckingham
22303e8e1c Portability
- Now uses POSIX mktime instead of timelocal calls.
2014-01-27 17:24:42 -05:00
Paul Beckingham
6e1b6c8de0 Version
- Set version to 2.4.0.dev.
2014-01-26 17:34:16 -05:00
Paul Beckingham
a95ff5a165 Unit Tests
- Added a Python TAP-compliant module so that unit tests in Python are now
  supported.  Not that there are any, yet.
2014-01-26 14:04:41 -05:00
Paul Beckingham
f729c5ca80 Unit Tests
- Removed color.deprecated.t, which existed only to make sure that
  deprecated color was marked accordingly.  Now that this is removed,
  the test is moot.
2014-01-26 14:03:06 -05:00
Paul Beckingham
e435c1655b Removed Feature
- Old-style color names including underscores are no longer supported.
2014-01-26 14:01:03 -05:00
Paul Beckingham
a77c04e100 Feature Removed
- Removed version 1.x sort column support.
2014-01-26 13:52:59 -05:00
Paul Beckingham
4f86602ded Deprecation
- Removed version 1.x column name mapping support.
2014-01-26 13:51:00 -05:00
Paul Beckingham
885946a24e Unit Tests
- It is not an error to have deprecated variables in a release.  Test was bad.
2014-01-26 13:39:13 -05:00
Paul Beckingham
2036ebf03e Deprecated Feature
- Deprecated '_query' alias.
2014-01-26 13:35:47 -05:00
Paul Beckingham
38c460d713 Feature #1501
- #1501 info report streamlining - partially implemented.
2014-01-26 13:26:07 -05:00
Paul Beckingham
b354ed7bd2 Feature #1492
- #1492 task show to display default values when appropriate (thanks to Renato
        Alves).
2014-01-26 12:58:53 -05:00
Paul Beckingham
149c3c8d9e Documentation
- Updated files based on patch from Elias Probst.
2014-01-22 18:36:34 -05:00
Elias Probst
39148dbc51 Fixed the usage of TASK_RCDIR which was introduced by #1473. Until now, the content of doc/rc was still installed to TASK_DOCDIR instead of TASK_RCDIR. 2014-01-22 18:18:37 -05:00
Paul Beckingham
274ec31b6b Bug #1487
- #1487 `tasksh` segmentation fault (thanks to Hector Arciga).
2014-01-20 11:11:06 -05:00
Jakub Wilk
01a78bb4b4 Bug #1486
- #1486 Truncated sentence in task-sync(5) manpage (thank to Jakub Wilk).

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2014-01-20 09:52:15 -05:00
Paul Beckingham
f30a0e599b Documentation
- Updated the DEVELOPER document.
2014-01-19 13:41:04 -05:00
Paul Beckingham
aa70a14a2d Documentation
- Added comment explaining why '--version' is supported in main.cpp, as several
  questions have come up.
2014-01-19 13:40:24 -05:00
Paul Beckingham
ad3525c235 Shell
- Changed the external command from 'xc' to '!'.
2014-01-18 19:33:53 -05:00
Paul Beckingham
8b736934d7 Code Cleanup
- Removed deprecated 'push', 'pull' and 'merge' commands.
2014-01-18 19:12:48 -05:00
Paul Beckingham
341c2fb474 Bug
- Removed debugging code.
2014-01-15 23:19:41 -05:00
Paul Beckingham
cd6067a39f Merge branch 'master' into 2.4.0 2014-01-15 22:17:30 -05:00
Federico Hernandez
00204e0191 Added SHA1 of tagged release commit 2014-01-16 00:23:16 +01:00
Federico Hernandez
c4eb465070 Version number and release date for 2.3.0 2014-01-15 23:41:22 +01:00
Federico Hernandez
50dc972da1 Minor documentation updates 2014-01-15 23:28:07 +01:00
Fidel Mato
36d49cb004 taskshell
- Add external calls from taskshell
2014-01-15 16:20:33 -05:00
Paul Beckingham
6ecb984f84 Bug
- Corrected #define spelling.
2014-01-12 16:34:28 -05:00
Paul Beckingham
591ef02bbd Revert "Shell"
This reverts commit 9a2149788e.
2014-01-12 16:31:07 -05:00
Paul Beckingham
b32a846828 Code Cleanup
- Removed unnecessary cmake processing for shell.
2014-01-12 16:30:22 -05:00
Paul Beckingham
3e04ff5e44 Shell
- Coded around the absence of wordexp on some BSD systems.
2014-01-12 16:30:01 -05:00
Paul Beckingham
6018a174e0 Code Cleanup
- Removed unnecessary vector.
2014-01-12 16:03:59 -05:00
Paul Beckingham
ddbf04c4ad Documentation
- Cleaned up mixed indentation, trailing spaces in man page.
2014-01-12 15:25:14 -05:00
Paul Beckingham
9a2149788e Shell
- Removed references to the shell which does not work.
2014-01-12 15:23:21 -05:00
Paul Beckingham
9c4682fb90 Cleanup
- Removed unnecessary README_TASKD, which was for beta.
2014-01-12 15:12:42 -05:00
Paul Beckingham
f4e8fd2e47 Readline
- Moved non-wordexp substitute inside "#else".
2014-01-12 14:59:21 -05:00
Paul Beckingham
cdc0c0a01a Readline
- Made use of readline wordexp conditional upon the presence of wordexp.h,
  which is correct, but excludes certain BSDs.
2014-01-12 14:49:42 -05:00
Paul Beckingham
b81891c78f Merge branch '2.3.0' of tasktools.org:task into 2.3.0 2014-01-10 07:10:53 -05:00
Scott Kostyshak
dc2e0c1c97 Bug
- Fix a bug where CmdEdit reported modifications to a duration UDA
  when no modifications were made.
2014-01-10 07:01:37 -05:00
Scott Kostyshak
de1e413d73 Code Cleanup
- Fix style of a constructor call.
2014-01-10 07:00:25 -05:00
Paul Beckingham
af0b43a6a5 Bug #1479
- #1479 bug_annual.t failure (thanks to Jakub Wilk).
2014-01-08 06:54:03 -05:00
Paul Beckingham
f816725050 Bug #1478
- #1478 pri_sort.t failure (thanks to Jakub Wilk).
2014-01-08 06:47:54 -05:00
Paul Beckingham
1ac4ff8ac9 Merge branch '2.3.0' into 2.4.0 2014-01-08 00:10:17 -05:00
Paul Beckingham
6819c21600 Bug #1477
- Pre-compiled static library (*.a) in source tarball (thanks to Jakub Wilk).
2014-01-08 00:07:07 -05:00
Paul Beckingham
15524650d8 Portability
- Improved platform recognition (thanks to Jakub Wilk).
2014-01-07 23:47:43 -05:00
Paul Beckingham
89d536c901 Bug #1196
- Applied patch to fix the need for PATH_MAX on GNU/Hurd (thanks to Jakub
  Wilk).
2014-01-07 23:34:06 -05:00
Paul Beckingham
02116a9a93 Feature - Calc
- Gave the calc command access to DOM resolution.  Needs a Lexer change to
  recognize DOM addresses.
2014-01-07 23:32:12 -05:00
Paul Beckingham
3e4972ba4b Bug #1476
- #1476 Unicode indicators increase column width (thanks to Paul Kishimoto).
2014-01-07 22:23:39 -05:00
Paul Beckingham
9c41610f56 Merge Errors
- Fixed errors from merge mistakes.
2014-01-07 19:23:54 -05:00
Paul Beckingham
98f740e9d1 Merge branch '2.3.0' into 2.4.0
Conflicts:
	AUTHORS
	CMakeLists.txt
	NEWS
	src/A3.cpp
	src/CMakeLists.txt
	src/Config.cpp
	src/Duration.cpp
	src/Duration.h
	src/Nibbler.cpp
	src/Nibbler.h
	src/RX.cpp
	src/RX.h
	src/columns/ColDate.cpp
	src/columns/ColScheduled.cpp
	src/commands/Command.cpp
	src/legacy.cpp
	src/utf8.cpp
	src/utf8.h
	test/CMakeLists.txt
	test/bug.mergedeps.t.postponed
	test/duration.t.cpp
	test/merge.duplicates.t
	test/merge.simple_duplication.t
	test/merge.t
	test/nibbler.t.cpp
	test/roundtrip.t
	test/rx.t.cpp
	test/utf8.t.cpp
2014-01-07 19:10:03 -05:00
Paul Beckingham
ab0d929a3c Dates
- Added support for eom and eocm.
- Added more named date unit tests.
2014-01-06 23:42:02 -05:00
Paul Beckingham
55cc02bbc1 Merge branch '2.4.0' of tasktools.org:task into 2.4.0 2014-01-06 17:55:25 -05:00
Paul Beckingham
09f6160880 Unit Tests
- Updated named dates tests.
2014-01-05 21:23:34 -05:00
Paul Beckingham
76db5a45e1 Unit Tests
- Prevented test descriptions containing '*' from expanding in the shell.
2014-01-05 16:54:31 -05:00
Paul Beckingham
c4ecf613ac Bug #1474
- Typo: accomodate → accommodate (Thanks to Jakub Wilk).
2014-01-04 12:36:17 -05:00
Paul Beckingham
31c0b36b44 Feature #1473
- Make TASK_RCDIR customizable (thanks to Jakub Wilk).
2014-01-04 12:34:36 -05:00
Jakub Wilk
9e6b755cec Add TASK_RCDIR configuration variable. 2014-01-04 12:16:39 -05:00
Paul Beckingham
d12aeeca6a Unit Tests
- Migrated missing subtraction unit tests from libexpr.
2014-01-04 11:38:52 -05:00
Paul Beckingham
e78b8dc463 Documentation
- Added 'calc' utility to docs.
- Code cleanup.
2014-01-02 02:20:45 -05:00
Paul Beckingham
c52bf5cf8d Calc
- Cleaned up usage text.
2014-01-02 02:18:24 -05:00
Paul Beckingham
0dd10767ac Args Testing
- Removed parser binary from 'run' script.
2014-01-02 02:09:41 -05:00
Paul Beckingham
664eef7b42 Documentation
- Specified the version where deprecated features will be removed.
2014-01-02 02:01:36 -05:00
Paul Beckingham
93779f634f Code Cleanup
- Removed obsolete grammar file.
- Cleaned up .gitignore.
2014-01-02 02:00:06 -05:00
Paul Beckingham
5409d014c5 Code Cleanup
- Removed obsolete parser code.
2014-01-02 01:58:20 -05:00
Paul Beckingham
eb7c8e2365 Unit Tests
- Added calculator bug unit tests.
2014-01-02 01:52:38 -05:00
Paul Beckingham
409c6ddcd8 Unit Tests
- Added calculator tests.
2014-01-02 01:52:06 -05:00
Paul Beckingham
d65a844814 Calculator
- Added standalone calculator utility.
2014-01-02 01:49:37 -05:00
Paul Beckingham
fae592f921 Unit Tests
- Merged libexpr eval tests.
2014-01-02 01:28:41 -05:00
Paul Beckingham
0fd9c495bc Eval
- Merged libexpr Eval support.
2014-01-02 01:25:18 -05:00
Paul Beckingham
f6d0be24da Dates
- Merged libexpr Dates support.
2014-01-02 01:24:25 -05:00
Paul Beckingham
12520715af Unit Tests
- Merged libexpr Variant tests.
- Updated .gitignore.
2014-01-02 01:21:40 -05:00
Paul Beckingham
9b13fadba1 Variant
- Merged libexpr changes.
2014-01-02 01:15:15 -05:00
Paul Beckingham
2b747e2df2 Unit Tests
- Merged libexpr Lexer tests.
- Updated .gitignore.
2014-01-02 01:12:38 -05:00
Paul Beckingham
fae0e35241 Unit Tests
- Added libexpr Duration unit tests.
2014-01-02 01:09:42 -05:00
Paul Beckingham
18f03c25b4 Duration
- Renamed Duration object to OldDuration so that the two implementations can
  coexist in a binary.
2014-01-02 01:06:48 -05:00
Paul Beckingham
9bfe40fac7 Lexer, Duration
- Merged libexpr code.
2014-01-02 00:55:53 -05:00
Paul Beckingham
9c5adc432c Unit Tests
- Renamed duration.t.cpp to old_duration.t.cpp, ready for the new duration
  tests.
2014-01-02 00:48:55 -05:00
Paul Beckingham
712b0bb4b5 ISO8601
- Merged libexpr ISO8601 code.
2014-01-02 00:45:16 -05:00
Paul Beckingham
4cf0763845 Nibbler
- Merged libexpr changes.
2014-01-02 00:34:51 -05:00
Paul Beckingham
57106c86a9 UTF8
- Merged libexpr changes.
2014-01-02 00:26:23 -05:00
Paul Beckingham
2c2e94bb0f RX
- Merged libexpr changes.
2014-01-02 00:19:41 -05:00
Paul Beckingham
7f4c16c6f0 Copyright
- Updated (visible) copyright to 2014.
2014-01-02 00:15:04 -05:00
Paul Beckingham
2d4a1e93d9 Unit Tests
- The cal.t tests use an abbreviated 'cal' command, which is no longer unique
  given the new 'calc' command.
2014-01-02 00:13:41 -05:00
Paul Beckingham
d27451590a Duration Rename
- In preparation for a new (different) Duration object, the source files need
  to be renamed.
2014-01-02 00:12:28 -05:00
Paul Beckingham
8ed92ca498 Copyright
- Bumped copyright to 2014, ready for release.
2014-01-01 13:32:22 -05:00
Paul Beckingham
f50067dfa6 Performance
- Improved I/O performance with better buffer default sizes to reduce the
  number of reallocations.
2014-01-01 12:52:47 -05:00
Paul Beckingham
68aed90cad Merge branch '2.3.0' of tasktools.org:task into 2.3.0 2013-12-14 12:56:48 -05:00
Paul Beckingham
fa7a8389fe Unit Tests
- Corrected output for skipped, pass and fail tests.
2013-12-14 12:55:49 -05:00
Paul Beckingham
69933626aa Unit Tests
- Corrected test output for skipped, pass and fail tests.
2013-12-14 12:54:47 -05:00
Paul Beckingham
561e3b5a9b Calc command
- Added framework for new 'calc' command.
2013-12-13 22:43:02 -05:00
Paul Beckingham
26267a7473 Version
- Updated version to 2.4.0.
2013-12-13 22:38:29 -05:00
Fidel Mato
d96c7cc5a3 L10N
- Corrections and newly translated strings from en-US to es-ES.
2013-12-13 16:54:47 -05:00
Paul Beckingham
efae57d56b Merge from libexpr
- Incorporated Nibbler changes from libexpr.
2013-12-08 16:19:38 -05:00
Dirk Deimeke
d4620108ff Administration
- Ignore *.exe (Cygwin users)
2013-12-02 08:27:00 +01:00
Paul Beckingham
bde6daf441 Code Cleanup
- Removed debugging code (thanks to Kostia H).
2013-11-26 16:27:25 -05:00
Paul Beckingham
1bbee9cde0 Diagnostics
- Added more info to the sync configuration details.
2013-11-25 16:10:21 -05:00
Paul Beckingham
174066c1d6 Code Cleanup
- Found a redundant operator symbol indicator and removed it.
2013-11-22 21:12:36 -05:00
Paul Beckingham
97ef13a1b1 Bug
- Fixed Config.cpp so that it doesn't JSON encode a default rc file, and in so
  doing, bork the format.
2013-11-18 23:42:52 -05:00
Paul Beckingham
f18390ee79 Unit Tests
- Finally fixed an age-old bug in unit tests.  The bug was that whenever a test
  output contained '*', shell globbing expanded that to a list of all test
  files.  Even though it was simply diagnostic output text.
2013-11-18 17:11:19 -05:00
Paul Beckingham
6bc352f713 Documentation
- Now uses proper name 'Taskserver'.
2013-11-16 16:08:22 -05:00
Paul Beckingham
0df30a5be0 Sync
- Default TLS cipher selection, with override (thanks to Zed Jorarard).
- Updated documentation.
2013-11-16 15:07:45 -05:00
Paul Beckingham
c6032d99f9 Documentation
- Fixed rc.nag documentation (thanks to Jeroen Budts).
2013-11-16 13:22:47 -05:00
Federico Hernandez
42d0c110cf Bumped version number to beta2 prior to release 2013-11-03 22:09:22 +01:00
Paul Beckingham
d211337315 Performance
- Optimizes indexing into pending.data for direct task access.
2013-11-03 14:02:11 -05:00
Paul Beckingham
2ce8f4a416 Documentation
- Updated task-sync man page discussion of different syncing options.
2013-11-03 13:43:54 -05:00
Paul Beckingham
6c63c4a196 Documentation
- Added notes regarding the use of CA or trust override.
2013-11-03 13:37:45 -05:00
Paul Beckingham
b42ca26631 Diagnostics
- Added new server configuration settings to diagnostics output.
2013-11-03 13:21:46 -05:00
Paul Beckingham
7fa3f71575 TLS
- Connected code paths to use CA or trust.
2013-11-03 12:51:13 -05:00
Paul Beckingham
f1f93aa5d5 TLS
- If a CA is provided, it is used.
2013-11-03 12:49:56 -05:00
Paul Beckingham
8c9bc99af6 Feature #1423
- #1423 sync vs. push, pull, merge collision avoidance.
2013-11-03 12:04:21 -05:00
Paul Beckingham
56d8734e1a Documentation
- Added the taskd.key configuration setting to the task-sync man page.
- Added discussion of taskd.ca and taskd.trust options.
2013-11-03 11:46:07 -05:00
Paul Beckingham
8baaa1031c Code Cleanup
- Removed obsolete comments and code.
2013-11-03 10:43:39 -05:00
Paul Beckingham
65cf836776 Code Cleanup
- Removed dead code.
2013-11-02 12:44:16 -04:00
Paul Beckingham
8ad29bded7 Bug #1381
- #1381 Invalid JSON exported by Task 2.3.0-beta1 (thanks to Kosta H).
2013-11-01 17:35:35 -04:00
Paul Beckingham
2eac71801a Documentation
- Updated platform support, AUTHORS.
2013-10-31 21:00:50 -04:00
Paul Beckingham
ef6153334a Merge branch '2.3.0' of tasktools.org:task into 2.3.0 2013-10-31 19:18:23 -04:00
Paul Beckingham
d9d7affec0 Unit Tests
- OpenBSD has the same limitations as other BSD variants, with respect to regex
  \b support.
2013-10-31 19:17:45 -04:00
Paul Beckingham
9a7752b07a Portability
- Fixed OpenBSD build error (thanks to Aaron Bieber).
2013-10-31 19:17:06 -04:00
Paul Beckingham
9dbad51062 Portability
- Added version-specific GnuTLS calls.
2013-10-30 23:51:07 -04:00
Paul Beckingham
169cc7b5cb Code Cleanup
- Removed unused header.
- Added ctor initialization.
- Removed misleading comment.
2013-10-30 00:20:38 -04:00
Paul Beckingham
cf051ba174 Documentation
- Added recently closed bugs to ChangeLog.
2013-10-29 23:20:34 -04:00
Paul Beckingham
517e48506e TLS
- Corrected ::recv error handling.
2013-10-29 23:05:21 -04:00
Paul Beckingham
b77ac4114c Certificates
- Added feedback from GnuTLS to the handshake diagnistic message.
2013-10-29 23:04:48 -04:00
Paul Beckingham
1725460728 Certificates
- Stores the socket in the session.
2013-10-29 23:04:12 -04:00
Paul Beckingham
7c08ce749f Certificates
- Stores the host name in the session, for handѕhake validation.
2013-10-29 23:03:21 -04:00
Paul Beckingham
eda9ac56da Certificates
- Added certificate verification callback.
2013-10-29 23:02:32 -04:00
Paul Beckingham
5a0dfa634c Certificates
- Implemented TLSClient::trust, which overrides certifcate validation.
2013-10-29 22:59:04 -04:00
Paul Beckingham
d6d6a098f3 Documentation
- Added new configuration settings to 'show' command and man page.
2013-10-29 22:51:55 -04:00
Paul Beckingham
6e0603234e Documentation
- Added references to new configuration settings.
2013-10-29 22:44:59 -04:00
Paul Beckingham
6c985b76c3 L10N
- Added an error message for missing key file.
2013-10-29 21:03:39 -04:00
Paul Beckingham
02f1b90e94 Merge branch '2.3.0' of tasktools.org:task into 2.3.0 2013-10-27 16:52:43 -04:00
Paul Beckingham
f55bf67fc7 Documentation
- Corrected suported platforms.
2013-10-21 17:09:16 -04:00
Paul Beckingham
4efe5d4a52 Parser Testing
- Added helper binaries for parser testing.
2013-10-20 15:11:20 -04:00
Paul Beckingham
626f89c263 Deprecated Feature Removal
- Removed deprecated 'edit.verbose' setting, in favor of the 'edit' verbosity
  token..
2013-10-20 14:54:03 -04:00
Paul Beckingham
2cbae3fb9c Deprecated Feature Removal
- Removed deprecated 'echo.command' setting, in favor of the 'header' and
  'affected' verbosity tokens.
2013-10-20 14:40:57 -04:00
Paul Beckingham
49c07acb05 Linkage
- More build system cleanup and sync betweee 2.4 and 2.3.
2013-10-20 14:20:46 -04:00
Paul Beckingham
02aaba2f1a Linkage
- Removing last remnants of parser lib.
2013-10-19 23:27:49 -04:00
Paul Beckingham
14e017695e Linkage
- More link order changes.
2013-10-19 22:57:23 -04:00
Paul Beckingham
4941248b6f Linkage
- Changing linkage order.
2013-10-19 22:48:39 -04:00
Paul Beckingham
d27bd24355 Code Reorganization
- Eliminated the parser lib, merged into task.  Failed experiment.
2013-10-19 22:33:16 -04:00
Paul Beckingham
6f8e115c1c Reports
- New 'blocking' report.
2013-10-19 21:14:48 -04:00
Paul Beckingham
ad2255b113 Reports
- New 'unblocked' report.
2013-10-19 21:12:50 -04:00
Paul Beckingham
772627c1da Reports
- New 'ready' report.
2013-10-19 21:09:58 -04:00
Paul Beckingham
c2c2db546e Reports
- New 'next' report.
2013-10-19 21:07:51 -04:00
Paul Beckingham
55a6703ba3 Reports
- New 'waiting' report.
2013-10-19 21:04:02 -04:00
Paul Beckingham
91995a6faf Reports
- New 'recurring' report.
2013-10-19 21:02:12 -04:00
Paul Beckingham
0639180a6b Reports
- New 'completed' report.
2013-10-19 21:00:06 -04:00
Paul Beckingham
7c85bc9067 Reports
- New 'active' report.
2013-10-19 20:58:16 -04:00
Paul Beckingham
d86ad2de2c Reports
- New 'overdue' report.
2013-10-19 20:56:23 -04:00
Paul Beckingham
069a707e92 Reports
- New 'newest' report.
2013-10-19 20:54:04 -04:00
Paul Beckingham
ad98552a3b Reports
- New 'oldest' report.
2013-10-19 20:50:01 -04:00
Paul Beckingham
693c097c95 Reports
- New 'minimal' report.
2013-10-19 20:42:05 -04:00
Paul Beckingham
09fce4df46 Reports
- New 'ls' report.
2013-10-19 20:38:09 -04:00
Paul Beckingham
c8aca24e63 Reports
- New 'list' report.
2013-10-19 16:44:33 -04:00
Paul Beckingham
325c80b7e4 Reports
- New 'long' report.
2013-10-19 16:25:00 -04:00
Paul Beckingham
685c66c416 Reports
- New 'all' report.
2013-10-19 16:03:24 -04:00
Paul Beckingham
ac1d79048d Unit tests
- Removed tests for features deprecated in previous release.
2013-10-19 15:25:54 -04:00
Fidel Mato
044f830144 L10N
- Newly translated strings.
2013-10-08 07:03:51 -04:00
Paul Beckingham
7a79e3b673 Documentation
- Removed double entry in AUTHORS.
2013-10-08 07:03:06 -04:00
Rainer Müller
fa59d0d77d Unit Tests
- Set well-known umask for permissions test. When started with another
  umask value the permissions of the created directory would be
  different and the tests fail.
2013-10-07 21:18:07 -04:00
Paul Beckingham
2074a6e31b Merge branch '2.3.0' of tasktools.org:task into 2.3.0 2013-10-06 20:55:28 -04:00
Paul Beckingham
dde99939e9 L10N
- Eliminated two unused strings.
2013-10-06 20:55:09 -04:00
Paul Beckingham
1872a87838 Bug #1268
- #1268 Edit doesn't accept changes, if task has completed dependency (thanks
  to Dmitriy Matrosov, Michele Santullo).
2013-10-06 17:59:55 -04:00
Paul Beckingham
bc3bae9fd2 Bug #1410
- #1410 Incomplete Date Synonym List in man task (thanks to Benjamin Weber).
2013-10-06 16:46:41 -04:00
Paul Beckingham
c1492d8010 Bug #1273
- #1273 Query with negative relative date differs greatly from absolute date
  in past (thanks to John West).
2013-10-06 16:23:43 -04:00
Paul Beckingham
9099a353ea Bug #1286
- #1286 Cannot use "sow", "som", etc in "entry.after", "end.after" filters
  (thanks to Jake Bell).
2013-10-06 15:30:35 -04:00
Paul Beckingham
316faaa411 Bug #1388
- #1388 Updated task(1) man pages with import/export script examples (thanks to
  Benjamin Weber).
2013-10-06 14:47:08 -04:00
Paul Beckingham
b105fd8440 Feature #1297
- #1297 The task₋sync(5) man pages is rewritten with examples.
2013-10-06 14:35:00 -04:00
Paul Beckingham
2ddfed7abe Merge branch '2.3.0' of tasktools.org:task into 2.3.0
Conflicts:
	ChangeLog
2013-10-06 14:32:33 -04:00
Paul Beckingham
812459bcdc Bug #1352
- Added reference to #1352 in the NEWS file.
2013-10-06 14:31:46 -04:00
Paul Beckingham
56c85534d3 Bug #1356
- #1356 Command reference now mentions /from/to/g.
2013-10-06 14:24:07 -04:00
Paul Beckingham
69378ab099 Merge branch '2.3.0' of tasktools.org:task into 2.3.0
Conflicts:
	ChangeLog
2013-10-06 14:15:40 -04:00
Paul Beckingham
c0c935e8fa Documentation
- #1279 Assorted corrections to the task-ref.pdf document (thanks to Benjamin
  Weber).
2013-10-06 14:14:30 -04:00
Paul Beckingham
5f98e41801 Unit Tests
- Added more undo tests, to cover both cases for backlog rollback.
2013-10-06 13:55:42 -04:00
Paul Beckingham
f367989afa Bug #1270
- The 'undo' command is now properly removing backlog entries.
2013-10-06 13:43:21 -04:00
Paul Beckingham
7a6c534636 Code Cleanup
- Restructured 'undo' code to make backlog rollback more readily implementable.
2013-10-06 11:02:25 -04:00
Paul Beckingham
d5bb53d0ee Platforms
- Updated platforms list.
2013-10-06 10:38:46 -04:00
Paul Beckingham
d0776c83b5 Bug #1387
- #1387 ZSH Auto-Completion dates are not current (thanks to Benjamin Weber).
2013-09-29 11:54:52 -04:00
Paul Beckingham
2599f1a0c6 L10N
- Added new TLS error messages.
- Removed unused UUID checking strings.
2013-09-16 00:07:09 -04:00
Paul Beckingham
6fc065e03e Certificates
- CA is now checked for existence before use.
- Error messages no longer have 'ERROR:' prepended.
2013-09-16 00:06:49 -04:00
Paul Beckingham
9e7e807909 Sync
- Verifies presence of the certificate on sync, instead of blindly assuming it
  exists.
2013-09-15 23:32:31 -04:00
Paul Beckingham
27f65a821f Portability
- Removed unused compiler options for the OpenBSD port (thanks to kili, jasper).
2013-09-15 19:21:05 -04:00
Paul Beckingham
f31116f287 Portability
- Removed unused compiler options for the OpenBSD port (thanks to kili, jasper).
2013-09-15 19:20:47 -04:00
Paul Beckingham
cc5a56ebfa Portability
- Removed unused compiler options for the OpenBSD port (thanks to kili, jasper).
2013-09-15 19:19:49 -04:00
Pietro Cerutti
8455e5c250 Fix man pages destination on FreeBSD 2013-09-15 12:07:48 -04:00
Paul Beckingham
2a5bf05590 TLS
- Error strings were being constructed incorrectly.
- Client-side handshake errors were treated as recoverable.
- TLS errors were being displayed as debug messages, not errors.
2013-09-15 01:55:03 -04:00
Pietro Cerutti
10c626b18c Use the native readline library on FreeBSD as well 2013-09-14 11:54:17 -04:00
Paul Beckingham
04e0df6965 FreeBSD
- Converted __FreeBSD__ to FREEBSD for consistency.
2013-09-14 11:51:56 -04:00
Pietro Cerutti
da7cc6eed7 Fix uuid on FreeBSD
In FreeBSD, just as in DARWIN, uuid functions are in libc and no external libuuid is required.
The API is quite different from Linux's though, so a different implementation of uuid () (util.cpp) is needed.
2013-09-14 11:38:47 -04:00
Paul Beckingham
05afa911d3 Configuration
- Added taskd configuration examples to Config.cpp.
2013-09-11 01:00:19 -04:00
Paul Beckingham
55cd425ff4 Deprecation
- Properly marked more deprecated items.
2013-09-11 00:58:47 -04:00
Paul Beckingham
0f416a9f01 Documentation
- Cleaned up obsolete references.
2013-09-11 00:35:25 -04:00
Paul Beckingham
64e8f34933 Documentation
- Rewrote task-sync(5) man page.
2013-09-11 00:17:01 -04:00
Paul Beckingham
1282d545d6 Documentation
- Cleaned up a few old references.
2013-09-10 23:26:36 -04:00
Paul Beckingham
f7a6d07d71 Code Cleanup
- The 'diagnostics' command no longer generates 1000 UUIDs as a uniqueness
  test, because libuuid is now mandatory.
2013-09-10 23:16:03 -04:00
Paul Beckingham
89d1bfefe3 L10N
- Removed unused strings.
2013-09-10 23:06:48 -04:00
Paul Beckingham
e441b8ca8e Deprecated Features
- Marked the push/pull/merge features as deprecated.
2013-09-10 22:52:38 -04:00
Paul Beckingham
bcc9eb3d7a Bug
- Fixed bug where specifying an ID of 0 yielded all completed/deleted tasks
  (thanks to greenskeleton).
2013-09-10 22:00:44 -04:00
Federico Hernandez
938077115e OS versions in NEWS file 2013-09-08 21:10:04 +02:00
Paul Beckingham
26e2b17a44 Unit Tests
- Fixed bug where version.t would not run unless a .taskrc file existed.
2013-09-08 15:08:29 -04:00
Paul Beckingham
1f3230716f Unit Tests
- Added test to make sure copyright is current.
2013-09-08 01:42:47 -04:00
Paul Beckingham
7c356a943c Bug
- Running 'task sync init' was not clearing the existing backlog.data file.
2013-09-07 23:45:04 -04:00
Paul Beckingham
af38b3bb7b Documentation
- Updated docs for beta.
2013-09-07 14:42:59 -04:00
Paul Beckingham
88abd93e52 Feature
- Protects against interrupt during critical DB commit and sync operations.
2013-09-07 14:24:35 -04:00
Paul Beckingham
ada6e49dab Bug #1251
- #1251 tests should sanitize TASKDATA and TASKRC env vars (thanks to Jakub
  Wilk).
2013-09-07 13:52:16 -04:00
Paul Beckingham
a295ddce2d Feature #1339
- #1339 The configuration file now supports JSON encoding of Unicode
  characters, by specifying \uNNNN.
2013-09-07 12:49:01 -04:00
Paul Beckingham
82f4603a6b Bug #1195
- #1195 Random seed not random enough - removed all random number code (thanks
  to Jakub Wilk).
2013-09-07 12:44:57 -04:00
Paul Beckingham
ba8a3fec70 L10N
- #1226 A new French translation has begun, and will continue to be a work in
  progress for a while (thanks to YBSA R).
2013-09-07 12:40:24 -04:00
Paul Beckingham
70f4f9dbb2 Merge branch '2.3.0' of tasktools.org:task into 2.3.0 2013-09-07 12:36:20 -04:00
Paul Beckingham
1e0dfd2091 Bug #1304
- Made the 'task shell' replacement by 'taskѕh' more prominent in the NEWS file.
- Added default alias 'alias.shell=exec tasksh' for continuity.
2013-09-07 12:35:32 -04:00
Paul Beckingham
8951a79027 Bug #1248
- #1248 Merge tests no longer connect to takwarrior.org (thank to Jakub Wilk).
2013-09-07 12:24:03 -04:00
Paul Beckingham
4cc9e90362 Date Formats
- Fixed broken documentation for custom report definitions regarding column
  formats.
- Modified date access to use the more efficient Date::get_date method, which
  also shrinks the code.
- Added the 'remaining' format for all date columns.
2013-09-07 11:43:57 -04:00
Paul Beckingham
8252095174 L10N
- Localized the new _get command.
2013-09-02 15:33:52 -04:00
Paul Beckingham
3caf05b0c1 Parser Lib
- Relocated all old code into the parser lib.
2013-09-01 21:58:13 -04:00
Paul Beckingham
0bd6363e1c Linking Voodoo
- We have multiple inter-dependent libraries now, so linking is a pain.
2013-09-01 15:40:19 -04:00
Paul Beckingham
56c2326fda Unit Tests
- Disabled the new parser temporarily.  Because the test suite coverage is good,
  the new parser needs a complete set of entities, otherwise it whines too much
  during the tests.  Let's just sweep that under the rug for now.
2013-09-01 15:18:04 -04:00
Paul Beckingham
6f85dac5b8 Build Warning
- Eliminated a sign warning.
2013-09-01 15:02:31 -04:00
Paul Beckingham
94dc0c1b2d Build Error
- Fixed lib deps for one platform.
2013-09-01 14:57:57 -04:00
Paul Beckingham
bdf88d10a7 Tree::dump
- The dump method now composes a string, instead of writing to std::cout, which
  make integration easier.
2013-09-01 14:31:48 -04:00
Paul Beckingham
314d0e9d01 Parser Integration
- New parser integrated and functioning, but only shadows the A3 parser.  In
  debug mode, there is new output, but that's all that happenѕ.
2013-09-01 14:14:15 -04:00
Paul Beckingham
9ee17a5b51 Parser
- New parser lib is linked.
2013-09-01 14:13:10 -04:00
Paul Beckingham
c3bf3b79a4 A3t::initialize
- Migrated ctor functionality over to the new initialize method, for integration
  with Context.
2013-09-01 13:57:24 -04:00
Paul Beckingham
eb55c64f34 Symlink
- Added 'tw' as a symlink to the 'task' binary.  In the future, the binary will
  be named 'tw', and 'task' will be the symlink.  But not for a while.
- Install of 'tw' symlink still needed.
2013-09-01 13:53:24 -04:00
Paul Beckingham
560791be49 Parser
- New parser lib is linked in to the tw binary.
2013-09-01 13:45:55 -04:00
Paul Beckingham
eaeace7e98 Testing
- Added more attribute names for testing.
- Extended test script.
- Added list of remaining work.
2013-09-01 12:46:15 -04:00
Paul Beckingham
ee9552e23b Code Cleanup
- Renamed A3t::identity to A3t.entity.  Illiterate fool.
2013-09-01 12:26:23 -04:00
Paul Beckingham
b83e6d0dea A3t::findOperator
- Added support for operator identification.
- Extended test script.
2013-09-01 12:25:04 -04:00
Paul Beckingham
8fddf97c73 A3t::findUUIDList
- Added support for UUID lists.
- Extended test script.
2013-09-01 12:13:05 -04:00
Paul Beckingham
ed085bd09e A3t::findIdSequence
- Added support for ID ranges and lists.  Creates a min/max range instead of
  enumerating all IDs, which is an improvement.
- Extended test script.
2013-09-01 11:54:41 -04:00
Paul Beckingham
020a415e83 Enhancement
- Better support for quoted values in attributes.
2013-09-01 11:10:33 -04:00
Paul Beckingham
34db02515c A3t::findAttributeModifier
- Added support for attmods including :/= alternatives, which is an improvement.
2013-09-01 11:08:05 -04:00
Paul Beckingham
70d37ab7be Entities
- Added more entities for wider testing.
- Added attmod example to the test script.
2013-09-01 11:04:58 -04:00
Paul Beckingham
8f9a48c3ff Unit Tests
- Added Tree object unit tests.
2013-08-31 19:01:51 -04:00
Paul Beckingham
f293e74ae6 Tree Cleanup
- Switched from the addition of a LOCK tag to the removal of a ? tag.  The
  result is cleaner.
- Moved metadata into the ORIGINAL node.
2013-08-31 19:00:09 -04:00
Paul Beckingham
e4671dd518 Tree::unTag
- Added a method for removing a tag.
2013-08-31 18:44:36 -04:00
Paul Beckingham
04fb751678 A3t::findAttribute
- FindAttribute implemented, supporting pseudo- and uda- attribute recognition,
  which is an improvement.
- Fully parsed arguments are now locked against further parsing.
- Validation consists of looking for unlocked args.
- Added more entities for testing.
- Updated test script.
2013-08-31 18:04:02 -04:00
Paul Beckingham
5a29042d3b A3t::findTag
- Supports single-word tag add/remove, presence/absence, allowing any non-space
  character in the tag, which is an improvement.
2013-08-31 16:23:57 -04:00
Paul Beckingham
272450ff9b A3t::findSubstitution
- Added support for standard and escaped '/from/to/g' constructs, which is an
  additional feature.
2013-08-31 16:05:14 -04:00
Paul Beckingham
663c82837c Nibbler::backN
- Added a method to support multi-byte backstep through a string.
- Added unit tests.
2013-08-31 16:02:51 -04:00
Paul Beckingham
2281c5a6bf A3t::findPattern
- Now parses patterns and extracts the pattern, which may include escaped /
  characters, which is an improvement.
2013-08-31 12:24:30 -04:00
Paul Beckingham
96a06eafbf A3t::find*Override
- Locates and parses rc:<file>.
- Locates and parses rc.<name>=<value>.
- Adds a stubbed validate method to check for a sane tree.
2013-08-31 10:55:30 -04:00
Paul Beckingham
ac1497ff1a Code Cleanup
- Removed 9 useless methods by making members public.  Accessors are nice
  sometimes, but also an unnecessary layer.
2013-08-30 14:39:22 -07:00
Paul Beckingham
50d4b37519 A3t::findTerminator
- Locates and tags the terminator operator, suppressing all subsequent parsing.
  This is done early in the process, and every other step must observe the
  TERMINATOR tag.
2013-08-30 14:08:09 -07:00
Paul Beckingham
46cd57b4aa A3t::findBinary
- Locates it's own binary, and adds a 'basename' attribute.
2013-08-30 13:55:24 -07:00
Paul Beckingham
8429df3b5c Command Location
- Locateѕ, cnaonicalized and categorizes first command.
2013-08-30 13:42:43 -07:00
Paul Beckingham
1495710aca A3t::canonicalize
- Added entity canonicalization.
2013-08-30 13:12:24 -07:00
Paul Beckingham
f03d1af431 Tree::addBranch
- Now returns a pointer to the new node, for convenience.  Throws on error.
2013-08-30 12:35:22 -07:00
Paul Beckingham
e651f7f759 Arg Classifier
- Added test framework for the arg classifier (A3t).
2013-08-30 12:21:04 -07:00
Paul Beckingham
ef4d318276 Entities
- Added parser support for @entities, by merely allowing them to exist as
  terminals.
- Added sample entities.
- Extended grammar to test entities.
2013-08-30 12:15:30 -07:00
Paul Beckingham
60336d6f6a Documentation
- Added (preliminary) example of the resultant parse tree.
2013-08-30 11:57:13 -07:00
Paul Beckingham
66bcf26aa0 Entity Lists
- LRParser::addEntity accumulates categorized entities for the parser.
2013-08-30 11:41:20 -07:00
Paul Beckingham
888a77213a Testing
- Added test script and initial grammar file.
2013-08-30 11:25:04 -07:00
Paul Beckingham
6ebee13fa4 LRParser
- Added old (non-task) parsing code, as a basis for the new parser.
- Added Tree object for parse trees.
- Added top-level entry point for testing.
2013-08-30 11:24:15 -07:00
Paul Beckingham
7e5b43bb9d Function: visible
- Added helper function to render control characters visible.  This may be
  replaced by JSON::encode.
2013-08-30 10:51:43 -07:00
Paul Beckingham
bc41e7378a Feature
- New virtual tags (WEEK, MONTH, YEAR, PARENT).
2013-08-26 09:25:29 -07:00
Paul Beckingham
3a8a513d17 Date Support
- Added Date::week helper method.
2013-08-26 09:15:48 -07:00
Paul Beckingham
6555811ca5 Bug
- Fixed bug in DOM access where the attribute name was not being properly used
  for UUID-based lookup.
2013-08-26 08:43:02 -07:00
Paul Beckingham
06d905b633 Unit Tests
- Corrected two broken DOM unit tests.
2013-08-26 02:47:31 -04:00
Paul Beckingham
166723e632 Feature
- New '_get' is a DOM accessor helper command.
2013-08-25 23:35:32 -07:00
Ben Armstrong
ac811c6930 Initial support for context and focus (see Issue #218). 2013-08-21 17:34:19 -04:00
Paul Beckingham
b09d928da9 Documentation
- Fixed mis-formatted text.
2013-08-19 07:37:00 -04:00
Paul Beckingham
74bbd6cefe Unicode
- The configuration file now supports JSON encoding of Unicode characters, by
  specifying \uNNNN.
2013-08-18 00:00:46 -04:00
Paul Beckingham
67f20d96bc Code Cleanup
- Fixed typo, for consistency.
2013-08-04 15:56:17 -04:00
Scott Kostyshak
38bba72001 Documentation
- Fix typos (thanks to Ben Armstrong).
2013-08-01 20:29:13 -04:00
Paul Beckingham
4b574c5de4 Build Warning
- Fixed FreeBSD build warning.
2013-07-26 19:45:53 -04:00
Paul Beckingham
235fb9f054 Command Line Grammar
- Updated documentation.
2013-07-22 20:31:09 -04:00
Martin Natano
4d10afbb08 remove missing imports
- time.h was included for random seed
2013-07-21 11:27:41 -04:00
Paul Beckingham
c92631b4b0 Code Cleanup
- One less include needed.
2013-07-20 16:45:01 -04:00
Paul Beckingham
bda3674578 Code Cleanup
- Removed the rand/random/srand/srandom calls that are no longer used.
2013-07-20 16:07:25 -04:00
Martin Natano
fcfd50bd25 require libuuid
- require libuuid at build time and remove insufficiently seeded
  replacement for uuid()
2013-07-20 15:52:42 -04:00
Paul Beckingham
779e32540a Portability
- Included the wrong errno.h (thanks to natano).
2013-07-20 09:17:19 -04:00
Paul Beckingham
dd14388b1b Sync
- Implemented (weak) handling for a 310 "Redirect" server response.
2013-07-14 12:25:31 -04:00
Paul Beckingham
a5a38a1137 Bug #1305
- Updated ChangeLog.
2013-07-13 21:39:29 -04:00
Ben Boeckel
6a9f6a9c82 Guard COMMIT and commit.h usage behind HAVE_COMMIT 2013-07-13 21:24:43 -04:00
Paul Beckingham
12809fd0bf Message Format
- Relaxed message parsing slightly.
2013-07-07 14:57:02 -04:00
Paul Beckingham
82c4b05fe4 File, Directory Permissions
- Added default and override permissions for files and directories.
2013-07-07 13:04:19 -04:00
Paul Beckingham
061bf4882e Bug #1300
- Encode/decode pairing is now properly balanced.
2013-07-07 09:07:10 -04:00
Paul Beckingham
d4fabba8ee Performance
- Now detects whether any sync merging needs to happen, and if not, skips the
  loading of all data.
2013-07-06 14:44:55 -04:00
Paul Beckingham
ba1e318d7e Alpha Docs
- Improved instructions for sync setup.
2013-07-05 09:17:17 -04:00
Paul Beckingham
2aadf445bc Code Cleanup
- Removed unused timing from the sync command.
2013-07-05 08:58:05 -04:00
Paul Beckingham
16c5314cfa Feedback
- Restored 'sync needed' feedback for when backlog contains data, and the 'sync'
  verbosity token is present (which it is by default).
2013-07-05 08:04:37 -04:00
Paul Beckingham
6aa5e0824d L10N
- Removed '?' from STRING_CMD_SYNC_INIT.  Thanks to Fidel Mato.
2013-07-04 23:09:40 -04:00
Fidel Mato
132d6d0c74 L10N
- Newly translated strings.
2013-07-04 23:08:45 -04:00
Paul Beckingham
8851bec3fa Alpha
- Preparation for alpha.
2013-06-16 10:23:27 -04:00
Thomas
f39120dd73 Integrated Priority column modification to the ColPriority object, from Task core. 2013-06-14 22:44:49 -04:00
Thomas
55a8b157b1 Migrated core task modification code to the Task object, leaving wrappers behind for legacy usage. 2013-06-10 17:18:33 -04:00
Paul Beckingham
1072852ca8 Bug
- #1263 The 'waiting' report properly lists only pending tasks with a wait date
  (thanks to Fidel Mato).
2013-06-09 16:09:24 -04:00
Paul Beckingham
11051fbf61 Build
- Eliminated build warnings.
2013-06-09 00:55:18 -04:00
Paul Beckingham
19077f76df Bug
- Fixed bug with backlog parsing.
2013-06-09 00:44:59 -04:00
Paul Beckingham
8e5b57954d TLS
- Fixed loop termination bug.
- Chose a better default buffer size.
2013-06-08 23:34:06 -04:00
Paul Beckingham
907862b741 Bug
- Shortcut for counting backlog transactions was wrong.
2013-06-08 18:18:03 -04:00
Paul Beckingham
14d3fd00e3 Sync
- Adds a new 'initialize' synchronize command argument that uploads all pending
  tasks for first-time initialization.
2013-06-08 18:00:50 -04:00
Paul Beckingham
f13208479d Unit Tests
- Modified 'version' to 'client' in the msg.t tests.
2013-06-08 15:56:10 -04:00
Paul Beckingham
d9676aefd4 Task Server
- The old 'version' message header is now the 'client' message header.
2013-06-08 15:08:02 -04:00
Paul Beckingham
8c11c6c895 Unit Tests
- Added unit test to ensure correct F4 and JSON parse/compose.
2013-06-03 00:44:25 -04:00
Paul Beckingham
58084f6d7a Sync
- Modifed the column 0 task indicator from '[' to '{', for backlog.data lines.
2013-06-02 22:38:20 -04:00
Paul Beckingham
4133d29cca FF4/JSON Interop
- Removed the \n characters from Task::composeFF4 and Task::ComposeJSON.
- Tasks in backlog.data file are now written as JSON.
- Tasks are recognized in FF4 or JSON format.
2013-06-02 20:38:58 -04:00
Paul Beckingham
29e9dbcea6 Convergence
- Task.{h,cpp} code is converging on a shared taskwarrior/task server version.
2013-06-02 17:46:34 -04:00
Paul Beckingham
dd0b01e487 Code Sharing
- Cleaned up the #ifdef in Task.cpp for sharing with taskd.

(cherry picked from commit af94ac2e12d84fddb735d6931aaf2c46176c794c)
2013-06-02 13:58:21 -04:00
Paul Beckingham
530e9c0118 Unit Tests
- Corrected unit tests due to rc.print.empty.columns.

(cherry picked from commit af12285d4585c1274d8d005ba042f31158527e3e)
2013-06-02 13:58:09 -04:00
Paul Beckingham
d03c4cda8a Build Error
- Many files were missing an explicit cmake.h include.  Some were not including
  it at all.  Now it's used almost everywhere.

(cherry picked from commit 82ae86979c497e6d1d0c6b2b5a55aa379ec82c98)
2013-06-02 13:57:36 -04:00
Paul Beckingham
7b89bc92e1 Performance
- It it not necessary to make a copy of all configuration variable names, if the
  Config::const_iterator is sufficient.

(cherry picked from commit 5708cb90780f1f6c8f58f5b549796c4af612b1ab)
2013-06-02 13:56:00 -04:00
Paul Beckingham
c16a735040 Decoupling
- Eliminated some calls to context.config from Task‥cpp, reducing the coupling.
  If context can be eliminated from Task.cpp, via statically initialized
  variables, then Taskwarrior and the task server can share Task.{ḩ,cpp} which
  would be an enormous saving in effort.

(cherry picked from commit 215b03b1a7f47299a0d3e64331c7e3c962b4caf0)
2013-06-02 13:55:45 -04:00
Paul Beckingham
a3f158d399 Diagnostics
- Added GC setting to the diagnostics output.
2013-05-24 16:27:55 -04:00
Frédéric Mangano
ea6861e7f0 fr-FR: column labels 2013-05-23 16:13:53 -04:00
Paul Beckingham
85341d521e Build Error
- Missing include.  What do ya know.
2013-05-20 20:47:13 -04:00
Paul Beckingham
a340528de8 Performance Testing
- Added import and export to the testing.  As an extension mechanism, it needs
  to perform well.
2013-05-20 20:35:40 -04:00
Paul Beckingham
4672d16091 Shared Code
- Added '#ifdef PRODUCT_TASKWARRIOR' in enough places that taskd can now share an
  identical copy of Task.{h,cpp}.
2013-05-20 18:17:05 -04:00
Paul Beckingham
222cd9a8d7 Unit Tests
- Added a non-trivial JSON task to parse.
2013-05-20 16:35:42 -04:00
Paul Beckingham
b408458439 Import
- The import command now uses the built-in Task::parseJSON method.
- Began t3.t.cpp for JSON parsing tests.
2013-05-20 16:31:57 -04:00
Paul Beckingham
6a97017c79 File Format
- File format 2 (used in version 0.9.3 - 1.5.0) is no longer supported.
- Task::parseJSON implemented.
- PRODUCT_TASKWARRIOR defined, to facilitate code sharing.
- Strings renamed for sharing purposes.
2013-05-20 16:14:34 -04:00
Paul Beckingham
00f8f56c00 TLS
- Associated debugging output with log level > 0.
- Fixed bug where TLSClient::_limit was uninitialized.
2013-05-19 20:04:19 -04:00
Paul Beckingham
adf374eb06 Build Warnings
- Eliminated warnings in TLS code.
2013-05-15 00:44:52 -04:00
Paul Beckingham
39228808eb Build Error
- More missing/wrong includes.
2013-05-12 15:43:03 -04:00
Paul Beckingham
2db34640a6 Build Error
- Missing include.
2013-05-12 12:19:36 -04:00
Paul Beckingham
dcc9554da8 Build Errors
- Added missing includes.
2013-05-12 12:15:15 -04:00
Paul Beckingham
51c339e49f Documentation
- Documented the new configuration settings for task server communication.
2013-05-12 01:21:24 -04:00
Paul Beckingham
1e9fb8eebc Sync
- Implemented sync over TLS.
- Obsoleted the Socket code, replacing it with TLSClient, TLSServer.
- Added task server details to the 'diagnostics' command output.
- 'rc.debug.tls' controls the GnuTLS log level.
- Removed redundant cmake diagnostics.
2013-05-12 01:05:58 -04:00
Paul Beckingham
f15c9a1b7e Documentation
- Added missing dateformat components 'j' and 'J' to the man page.
2013-05-11 18:05:28 -04:00
Paul Beckingham
6d2cbd77f8 Sync
- Added task server details to the 'diagnostics' command output.
- Added new configuration variables to the 'show' command.
- rc.taskd.server specifies host:port of the task server.
- rc.taskd.credentials specifies user credentials for the task server.
- rc.taskd.certificate specifies the task server certificate.
- rc.debug.tls shows TLS log information, for debugging.
2013-05-11 16:49:39 -04:00
Paul Beckingham
a973ccf8f2 Sync
- When taskwarrior is built without GnuTLS, there will be a message to that
  effect.
- Stubbed the TLSClient calling code.  The current Socket code will become
  obsolete soon.
2013-05-11 13:07:14 -04:00
Paul Beckingham
157699cbde Feature #1256 Follow-up
- Extended unit tests to cover 'add' failures.
- Removed whitespace at EOL.
- Updated ChangeLog, AUTHORS, NEWS.
- Updated taskrc.5.in.
- Updated CmdShow to allow new config settings.
2013-05-07 16:26:58 -04:00
Thomas
56eab7da0d Added ability for UDAs to have a default value. 2013-05-07 16:07:20 -04:00
Paul Beckingham
a1132f0028 Code Cleanup
- Cmake was not updating HAVE_ST_BIRTHTIME.
- NIBBLER_FEATURE_DATE was not properly applied everywhere.
- FEATURE_COLOR was not properly set.
- Some source files failed to include cmake.h, and therefore were not properly
- Removed inefficient use of std::string::substr for guaranteed single character
  strings.
- Integrated Directory::cd.
- Integrated File::ctime, ::btime.
- Integrated Path::operator+.
- Integrated Nibbler::getDigit{2,4,6}.
- Integrated HighResTimer.
  enabling/disabling code.
- All Path objects now expanded internally to absolute form.
- Modified unit tests to accomodate absolute paths.
- Merged new nibbler.t.cpp tests.
- Made various methods const.
- Includes removed from some files, added to others.
2013-05-05 08:33:52 -04:00
Paul Beckingham
ebaf09cbe0 Enhancement
- The 'due' urgency component is now calculated at a higher resolution.
2013-05-04 07:36:53 -04:00
Paul Beckingham
bc49cb8e77 Documentation
- Added it-IT translation details.
2013-05-02 17:58:57 -04:00
Tullio Facchinetti
c00d49e233 Fixed some few inconsistencies in IT translation strings (removed old strings). 2013-05-02 17:55:00 -04:00
Tullio Facchinetti
1b405e4975 Italian translation. 2013-05-02 06:24:07 -04:00
Haitham Gad
6981893a2e Disallowing tasksh to start in interactive mode (not in batch mode) if no ~/.taskrc exists 2013-04-28 22:51:16 -04:00
Fidel Mato
f6ef9249b8 L10N translated new (in 2.3.0) es-ES.h STRING_s
- Translated 17 strings, mostly STRING_CMD_SYNC_*
 - Also new strings from tasksh, usage message included.
2013-04-28 14:56:18 -04:00
YBSAR
fefe944246 Translated date-related strings into French. 2013-04-18 06:59:31 -04:00
Paul Beckingham
2232ff7a21 Documentation
- Started the new parser documentation.
2013-04-16 01:23:32 -04:00
Paul Beckingham
8a3b1e207b Merge branch '2.3.0' of tasktools.org:task into 2.3.0 2013-04-16 00:12:17 -04:00
Paul Beckingham
f0048395fb L10N Utility
- Combined three l10n utiity scripts into one, which can now do the following:
  - Automatically locate all the localized string files.
  - Look for missing strings in the localized string files.
  - Point out strings that are not used in the code.
  - Count strings.
  - Warn when strings are unchanged across languages.
  - Exit with a status code, so it can be used in unit tests.
- Thanks to Wim Schuermann and Fidel Mato for providing code and ideas.
2013-04-16 00:11:07 -04:00
Paul Beckingham
1641bcf592 White Space
- White space cleanup, to avoid further git hook warnings.
2013-04-15 00:06:37 -04:00
Paul Beckingham
b6797b6242 Virtual Tags
- Started using virtual tags in the report definitions.
- Fixed compilation problem.
2013-04-14 23:52:13 -04:00
Paul Beckingham
09f577536a Feature #1250
- #1250 Support out-of-tree test runs (thanks to Jakub Wilk).
2013-04-13 15:02:50 -04:00
Paul Beckingham
5cfd7b0cc6 Portability
- Added support for GNU/Hurd and GNU/kFreeBSD systems (thanks to Jakub Wilk).
2013-04-13 14:49:59 -04:00
Paul Beckingham
31b44de8b0 Bug #1247
- #1247 Tests now create a local dir, rather than use the insecure /tmp dir
  (thanks to Jakub Wilk).
2013-04-13 14:08:39 -04:00
Paul Beckingham
68a12908d2 Bug #1200
- #1200 Directory d_type==DT_UNKNOWN is now handled correctly (thanks to Jakub
  Wilk).
2013-04-13 13:37:16 -04:00
Paul Beckingham
0ea28ef8a3 Bug #1196
- #1196 Now builds on Hurd (thanks to Jakub Wilk).
2013-04-09 20:50:05 -04:00
Paul Beckingham
773b55d374 Code Cleanup
- Removed L10N define.  It served its purpose.
2013-04-07 23:50:51 -04:00
Paul Beckingham
af079bb5b0 Feature
- Began fr-FR localization.
2013-04-07 23:19:30 -04:00
Paul Beckingham
5862c7dc4f ChangeLog
- Combined the two change logs.
2013-04-07 18:14:31 -04:00
Paul Beckingham
8af0a7f3ba Merge branch 'master' into 2.3.0
Conflicts:
	AUTHORS
	CMakeLists.txt
	INSTALL
	NEWS
	cmake.h.in
	doc/man/task-faq.5.in
	package-config/osx/README
	scripts/utils/verify_l10n
	src/API.h
	src/Config.cpp
	src/Context.cpp
	src/DOM.cpp
	src/Hooks.cpp
	src/TransportShell.h
	src/commands/CmdDiagnostics.cpp
	src/commands/CmdShell.cpp
	src/commands/CmdVersion.cpp
	src/en-US.h
	src/shell/Readline.h
	src/wcwidth6.cpp
	test/CMakeLists.txt
	test/color.uda.t
	test/duration.t.cpp
	test/hook.on-launch.t
	test/template.t
	test/uuid.t
2013-04-07 17:56:59 -04:00
Federico Hernandez
0fb9a4e979 Added SHA1 of tagged release commit 2013-04-07 22:36:17 +02:00
Federico Hernandez
05f7948f7e Version number and release date for 2.2.0 2013-04-07 22:11:26 +02:00
Paul Beckingham
066d2a54ad Unit Tests
- Modifed the color.duetoday.t test to look for 'red', which for some reason
  fails on Ubuntu 12.10, *sometimes*.  This change removes the red/rgb400
  duality, which was wrong anyway.  We'll call this 'cleanup'.
2013-04-07 15:08:54 -04:00
Paul Beckingham
e746a95969 L10N
- A new 'verify_l10n' utility ensures the localizations are in sync (thanks to
  Wim Schuermann).
2013-04-07 15:05:21 -04:00
Paul Beckingham
daae1749bc L10N
- Removed unnecessary es-ES.h entries for STRING_COLUMN_LABEL_FG and
  STRING_COLUMN_LABEL_BG that have been deprecated (thank to Wim Schuermann).
2013-04-07 13:56:07 -04:00
Fidel Mato
dbabeef54c Typo in several tips.something files: 'task edit 1' changed to 'task 1 edit'. 2013-04-07 12:56:35 -04:00
Paul Beckingham
168027cb9a Unit Tests
- Any test that contains a '*' in the description output has a chance of failing
  because that '*' gets expanded by the shell, somewhere in the run_all script.
  While I can't find that problem (yet) and fix it, I can remove the '*' from
  the output.
2013-04-07 11:38:42 -04:00
Fidel Mato
d1cac8c958 L10N
- Translated STRING_LABEL_COLUMN_MOD .
2013-04-07 09:52:18 -04:00
Paul Beckingham
66996b5eab L10N
- Added tips.es-ES (thanks to Fidel Mato).
2013-04-07 09:51:37 -04:00
Paul Beckingham
61fdc0da52 Unit Tests
- Updated test class to conform to coding standards.
- Implemented TAP.py to allow Python unit tests.
2013-04-07 00:09:16 -04:00
Paul Beckingham
d72c6567b0 Bug #1222
- #1222 The 'summary' report now obeys the 'color.label' setting (thanks to
  Steve Rader).
2013-04-06 17:18:17 -04:00
Paul Beckingham
3606b6ab65 Bug #1211
- #1211 The 'dateformat' settings now default to the ISO-8601 standard of
  'Y-M-D' (thanks to Robin Björklin).
2013-04-06 14:09:23 -04:00
Russell Steicke
51fd11a535 Adjust performance script for POSIX /bin/sh.
- Don't use brace expansion.
- Add the -f flag so we don't get errors on the first run.

Signed-Off-By: Russell Steicke <russells@adelie.cx>
2013-04-03 17:35:47 -04:00
YBSAR
be7628449a Added French translation of the tips file. 2013-04-03 17:34:36 -04:00
Paul Beckingham
b99834e130 Merge branch '2.3.0' of tasktools.org:task into 2.3.0 2013-04-02 23:46:36 -04:00
Paul Beckingham
bc94816184 Performance
- Removed Context::timer_sync, as it makes no sense now that sync is not an
  automatic operation like gc.
2013-04-02 23:45:34 -04:00
Paul Beckingham
2b8cb3e251 Bug
- Fixed a bug so that the report filter order is preserved, to enable an
  optimization that was being skipped.
2013-04-02 17:41:13 -04:00
Paul Beckingham
f420fb434e Code Cleanup
- Removed unused L10N string.
2013-04-02 16:35:18 -04:00
Federico Hernandez
d99e0db108 cmake
- removed the obsolete extensions directory from the
  install target
2013-04-02 22:18:17 +02:00
Federico Hernandez
7db5377d3b Removed the incomplete support for the Lua extensions. 2013-04-02 21:52:13 +02:00
Federico Hernandez
c7df1f7acc Bumping to 2.2.0.beta3 2013-04-02 17:51:06 +02:00
Fidel Mato
3cfd57b46f L10N
- Translated STRING_VIEW_TOO_SMALL .
2013-04-02 06:43:11 -04:00
Paul Beckingham
7e4adbc091 Build Warnings
- Eliminated a build warning.
2013-04-01 21:05:50 -04:00
Paul Beckingham
656e350291 Date Formatting
- Some bad inefficiencies in date formatting were noticed, and when addressed,
  caused a bug to surface.  The length of a formatted date can be calculated
  from the dateformat, but was done incorrectly.  Very, very incorrectly.
- Added unit tests.
- Promoted date column-specific "countdown" size measurements up to the ColDate
  base class.  This neatly falls out from work on #1218.
- Noted a potential I18N problem in Date.cpp.
2013-04-01 20:01:54 -04:00
Paul Beckingham
d895c4a249 Bug #1218
- Fixed bug #1218 so that description columns minimum width is calculated
  correctly.
2013-04-01 18:07:25 -04:00
Paul Beckingham
d14a9cacec Text Formatting
- Added a format overload for three integers.
2013-04-01 15:50:16 -04:00
Paul Beckingham
1de2f9e6f1 Virtual Tag
- Added 'ANNOTATED' virtual tag.  This fell out of a change mandated by #1218.
2013-04-01 15:47:51 -04:00
Paul Beckingham
e4d641c701 Merge branch '2.3.0' of tasktools.org:task into 2.3.0 2013-04-01 08:26:06 -04:00
Paul Beckingham
9e9f90343b Tutorial
- NN_configuration describes rc settings, overrides and the show and config
  commands.
2013-03-31 21:43:48 -04:00
Paul Beckingham
b9a21f1092 Tutorial
- Broke out 02_help section from the 01_intro section.
2013-03-31 19:54:24 -04:00
Paul Beckingham
dea3fd1551 Tutorial
- 01_intro written.  The first of many mini tutorials.
- README added.
2013-03-31 18:49:02 -04:00
Paul Beckingham
6824fb1527 Doc, Unit Tests
- Updated DEVELOPER file to be accurate once 2.2.0 is released.
- Added unit test for utf8_codepoint.  The tests have been siting there for a
  while, and may as well be committed.  Low risk.
2013-03-31 17:30:43 -04:00
Federico Hernandez
baeee7566d Bumping to 2.2.0.beta2 2013-03-31 14:51:08 +02:00
Paul Beckingham
03cb5af7be Defaults
- The 'dateformat' settings now default to the ISO-8601 standard of 'Y-M-D'.
2013-03-30 17:42:45 -04:00
Fidel Mato
16635a4262 L10N
- Translated STRING_TRANSPORT_SHELL_NOPATH .
- Translated STRING_SHELL_FAIL .
- Changed (to plural) STRING_CMD_HISTORY_ADDED, _COMP, _DEL, and _NET .
2013-03-30 16:19:23 -04:00
Russell Steicke
e4da3aca0d Expand braces internally, as POSIX /bin/sh does not do {} expansion.
Signed-off-by: Russell Steicke <russells@adelie.cx>
2013-03-30 14:15:33 -04:00
Russell Steicke
0cc7bc337d Test for bug 1192 - brace expansion.
Commit 968d1c3 (Portability) introduced a bug with some very POSIX
compliant shells (eg dash), which don't do brace expansion.  So add a
test for that.

The test runs by adding a new protocol in Uri, sh+cp://path/.  This
protocol is not intended to be used normally, but is only for testing
the push and pull code.

Signed-off-by: Russell Steicke <russells@adelie.cx>
2013-03-30 14:08:50 -04:00
Paul Beckingham
983e07ab01 Feature
- Added some more low-effort, low-risk virutal tags.  Why not.
- Updated man page.
2013-03-30 13:06:06 -04:00
Paul Beckingham
a7b06bd0ee Bug #1199
- Fixed bug #1199, where 'stat' was used instead of 'lstat' (thanks to Jakub
  Wilk).
2013-03-30 12:43:29 -04:00
Paul Beckingham
6d852a96ca Bug #1200
- Fixed bug #1200, where directory removal didn't handle d_type==DT_UNKNOWN
  (thanks to Jakub Wilk).
2013-03-30 10:56:04 -04:00
Paul Beckingham
0fd3ddbe57 Bug #1197
- Fixed bug #1197 so that 'tasksh' now recognized Ctrl-D to exit (thanks to
  Haitham Gad).
2013-03-26 23:25:18 -04:00
Haitham Gad
e6b7445788 - Changed FindReadline.cmake to search for Readline in macports paths before system paths. - Fixed CTRL-D. Now it exits tasksh. - Fixed a crash when a task description had any special characters. 2013-03-26 23:19:34 -04:00
Scott Kostyshak
6c0561cb4d Bug #1210
- Fixed bug #1210 so that widths are taken from localized strings
  instead of hardcoded.
2013-03-26 22:37:05 -04:00
Paul Beckingham
e88b52b67d Documentation
- Updated AUTHORS.
2013-03-26 22:21:53 -04:00
Federico Hernandez
4afcc14ca4 Update Changelog with bug fix #1209 2013-03-19 20:49:21 +01:00
Federico Hernandez
9fea189d25 Bug #1209
- fixed bug #1209, spelling mistake in reference page.
2013-03-19 20:47:19 +01:00
Johannes Schlatow
168266febf Documentation 2013-03-12 07:40:46 +01:00
Johannes Schlatow
0a8c54ae57 Bug (missing quotes in execute command)
Fixed a bug where special characters within arguments passed to the
"execute" command needed to be escaped twice.
2013-03-12 07:34:38 +01:00
Paul Beckingham
e3afa04e2d Performance Testing
- Added 'performance' make target that constructs an 8,000+ task database and
  runs benchmark queries against it.
2013-03-11 23:55:17 -04:00
Paul Beckingham
9ed67f1a45 Documentation
- Updated the developer information.
2013-03-11 23:34:02 -04:00
Paul Beckingham
864b46a1b1 Unit Tests
- Improved two tests that always fail around summer time clock changes, by
  eliminating the dependence on 86,400.
- Fixed feature.891.t tests that fail on certain fortuitous random UUID
  permutations.  Now hard-coded UUID.
2013-03-11 23:05:30 -04:00
Paul Beckingham
da8258256d Documentation
- Updated docs to highly recommend libuuid.
2013-03-11 22:45:19 -04:00
Fidel Mato
14b7e9ff6e L10N
- Translated new error.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2013-03-11 22:40:02 -04:00
Paul Beckingham
e15859b6e2 Cleanup
- Updated .gitignore with correct paths, new stuff.
2013-03-10 16:39:37 -04:00
Paul Beckingham
2a7c8c2aad Feature #328
- #328 Replaced the 'shell' command with a standalone 'tasksh' binary, which
  includes GNU readline support (thanks to Haitham Gad).
2013-03-10 15:23:06 -04:00
Haitham Gad
881e4995e0 Fixing some style issues. 2013-03-10 12:38:15 -04:00
Haitham Gad
50d201a7f0 Porting on Ubuntu 2013-03-10 12:38:15 -04:00
Haitham Gad
1ebc802a89 Adding a man page and refering to it from other man pages 2013-03-10 12:38:14 -04:00
Haitham Gad
a5f55bf2f4 Putting Readline code inside #ifdefs 2013-03-10 12:38:14 -04:00
Haitham Gad
60a7d2128e Fixing tests and updating documentation. 2013-03-10 12:38:14 -04:00
Haitham Gad
f5d6da2a7b Separating the 'task shell' command in a separate executable 'tasksh' and enabling command history traversal using GNU Readline 2013-03-10 12:38:14 -04:00
Haitham Gad
69a23b05a9 Separating the 'task shell' command in a separate executable 'tasksh' and enabling command history traversal using GNU Readline 2013-03-10 12:38:14 -04:00
Haitham Gad
b6ac337828 Finding Readline. 2013-03-10 12:38:14 -04:00
Haitham Gad
14717cb2da Adding a Readline finder CMake module because Readline is not in the default CMake module list. 2013-03-10 12:38:13 -04:00
Haitham Gad
5a360ef208 Adding shell module. 2013-03-10 12:38:13 -04:00
Haitham Gad
c801380f42 Adding shell module 2013-03-10 12:38:13 -04:00
Paul Beckingham
82bd13bc7a Bug #1194
- Fixed bug #1194, so that $HOME has precedence over the passwd db when looking
  for the user's home directory (thanks to Jakub Wilk).
2013-03-09 17:36:48 -05:00
Paul Beckingham
a790cce6f6 Unit Tests
- Fixed hook tests to work on released code (thanks to Jakub Wilk).
2013-03-09 17:05:34 -05:00
Paul Beckingham
a40f424dad Documentation
- Documented virtual tags.
2013-03-09 16:53:43 -05:00
Paul Beckingham
88968ac36c Bug #1191
+ The 'execute' command should not be considered a 'write' command.
2013-03-06 21:04:46 -05:00
Paul Beckingham
08b959aafc Merge branch '2.2.0' of tasktools.org:task into 2.2.0 2013-03-06 20:53:34 -05:00
Johannes Schlatow
d4fee2b799 Merge branch '2.2.0' of tasktools.org:task into 2.2.0 2013-03-07 02:47:04 +01:00
Johannes Schlatow
7388cec75e Bug #1191
Added missing close().
2013-03-07 02:46:37 +01:00
Rainer Müller
48b9fdc152 [PATCH] Bug
- Do not print xterm titles without a tty. Writing escape sequences for xterm
  titles is unnecessary when the output is piped into another tool.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2013-03-05 21:15:51 -05:00
Rainer Müller
631d03ce38 [PATCH] Documentation
- Update the default value of rule.precedence.color in task-color.5 and taskrc.5
  manual pages.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2013-03-05 20:58:11 -05:00
Paul Beckingham
f3967e7d97 Revert "Fix: manpages were not installed when running an out-of-source build"
This reverts commit 9395a4d112.
2013-03-04 20:20:18 -05:00
Paul Beckingham
bcd414aad7 Unit Test
- Unfixed a unit test that got its date bumped along with the copyright.
2013-03-04 18:13:02 -05:00
Federico Hernandez
a409923916 Further date changes to 2013 2013-03-05 00:02:48 +01:00
Federico Hernandez
c2c4152669 Bumped 2012 to 2013 in doc/man 2013-03-04 23:54:23 +01:00
Federico Hernandez
699852b43b Merge branch '2.2.0' of git://tasktools.org/task into 2.2.0 2013-03-04 23:49:05 +01:00
Federico Hernandez
39dbbbda35 Bumped OS in NEWS file 2013-03-04 23:47:25 +01:00
Paul Beckingham
1dccd29643 Copyright 2013
- Updated copyright notices.
2013-03-04 17:47:12 -05:00
Federico Hernandez
430acab7ea Bumping version number 2.2.0.beta1
- Releasing first beta of 2.2.0
2013-03-04 23:03:10 +01:00
Paul Beckingham
c978b2b65a Transport Errors
- The 'push' and 'pull' commands now properly distinguish between a missing
  transport utility and other errors (thanks to Russell Steicke).
2013-03-03 09:34:54 -05:00
Russell Steicke
1428a4135b Clean up Transport::execute() and callers.
- Ensure that the real exit code of the child program is retrieved
  using WEXITSTATUS().

- Centralise the handling of code 127, which means that the child
  shell process could not execute its child (ssh, rsync, or curl.)

Signed-off-by: Russell Steicke <russells@adelie.cx>
2013-03-03 09:00:48 -05:00
Paul Beckingham
3dab5a1cb1 Bug #1181, #1087
- Fixed bug #1181, probably a result of other compounded fixes (thanks to Max
  Muller).
- Fixed bug #1087, forgot to update changelog.
2013-03-02 23:40:31 -05:00
Paul Beckingham
1b3165a18f Bug #1185
- Fixed bug #1185, correcting man page install location for out-of-tree
  builds (thanks to Jakub Wilk).
2013-03-02 18:39:53 -05:00
Paul Beckingham
6aa0277749 Bug #1189
- Fixed bug #1189, which caused wide Asian UTF8 characters to be measured as
  narrow characters (thanks to Roy Zuo).
2013-03-02 18:22:21 -05:00
Paul Beckingham
914447c885 UTF8
- Added more UTF8 unit tests for calculating string length, string width,
  formatted string length, formatted string width.
- Implemented UTF8 text width method for symmetry.
2013-03-02 18:14:56 -05:00
Paul Beckingham
551b4dbe90 UTF8
- Added UTF8 string width calculation.
2013-03-02 17:15:28 -05:00
Paul Beckingham
8e536fa4a8 Merge branch '2.2.0' of tasktools.org:task into 2.2.0 2013-03-02 10:59:46 -05:00
Paul Beckingham
fcf9ba983c Unit Tests
- Added unit tests for specific character width calculations.
2013-03-02 10:47:43 -05:00
Paul Beckingham
7327b0d537 Bug #1184
- Fixed bug #1184, correcting man page formatting (thanks to Jakub Wilk).
2013-02-26 16:37:57 -05:00
Paul Beckingham
7fc7093f68 Bug #1183
- Fixed bug #1183, correcting error message typos (thanks to Jakub Wilk).
2013-02-26 16:34:59 -05:00
Paul Beckingham
3d4bad3034 Horizontal Space
- Modified default report definitions to use shorter column labels, namely
  'Proj' and 'Urg'.  This results in less horizontal space use.
- Adjusted unit tests accordingly.
2013-02-24 16:31:31 -05:00
Paul Beckingham
330761e997 Blank Durations
- Instead of dispalying '-' for a zero-length duration, nothing is ('') is
  displayed instead.  This allows a completely empty duration column to be
  culled by the rc.print.empty.columns=no feature.
- Unit tests updated accordingly.
2013-02-24 14:26:52 -05:00
Scott Kostyshak
089b3e7d66 Enhancement
- 'print.empty.columns' now defaults to 'no'.
- Unit tests are updated accordingly.
2013-02-21 17:53:56 -05:00
Rainer Müller
0bcb22f8e4 Bug
- Do not print new line after xterm title.
  With xterm.title=on, each command displayed an empty line on the
  terminal, which is not only unnecessary but also changes output format
  for the helper subcommands starting with an underscore.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2013-02-19 22:19:47 -05:00
Rainer Müller
2bb601e6f2 Bug
- Match localized answers for confirmation

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2013-02-19 22:17:08 -05:00
Paul Beckingham
f9d74c9bed Documentation
- Forgot to update AUTHORS file.
2013-02-18 09:24:58 -05:00
Paul Beckingham
62dcd6398c Documentation
- Updated ChangeLog for prior commit.
2013-02-18 09:22:45 -05:00
Vincent Petithory
9395a4d112 Fix: manpages were not installed when running an out-of-source build 2013-02-18 09:19:43 -05:00
Paul Beckingham
ca330dc05d Unit Tests
- Corrected test count.
2013-02-18 08:40:26 -05:00
Scott Kostyshak
c68b2a149f Bug
- The bash completion script no longer expands IDs after 'depends:'.
  (Such expansion required running gc() which is not correct.)
- The unit tests for expanding 'depends:' were commented out (and not
  removed) in the case that someday we implement a command to list IDs
  without running gc().
- Unit tests to check that gc() is not run after 'depends:' were added.
2013-02-18 08:39:17 -05:00
Paul Beckingham
c87ce366a9 Documentation
- Added missing bug fix.
2013-02-18 08:38:29 -05:00
Paul Beckingham
2be52e1be2 Bug #1137
- Fixed bug #1137, which caused file locks to be non-blocking (thanks to Steve
  Rader).
2013-02-10 23:25:27 -05:00
Paul Beckingham
adacb96581 Bug #1047
- Fixed bug #1047, which caused extra commas in exported JSON when UDA orphans
  were present (thanks to Thomas Sullivan).
2013-02-10 22:39:01 -05:00
Paul Beckingham
36e371c5c0 Documentation
- Updated ChangeLog to reflect the completion of Bug #1177.
2013-02-10 22:23:05 -05:00
Paul Beckingham
aca76da3e5 Bug #642
- Fixed bug #642, so that the default 'data.location=~/.task' preserves the
  '~', leading to more portable .taskrc files (thanks to alparo).
2013-02-10 18:00:30 -05:00
Paul Beckingham
b6c28ecb7a Bug #1136
- Fixed bug #1136, which incorrectly line-wrapped tasks with annotations
  (thanks to Steve Rader).
2013-02-10 16:08:45 -05:00
Paul Beckingham
509f818b91 Merge branch '2.2.0' of tasktools.org:task into 2.2.0 2013-02-10 15:39:46 -05:00
Paul Beckingham
e6804a1679 UTF8 Line Extraction
- Minor efficiency modification, made while fixing a bug.
2013-02-10 08:46:19 -05:00
Paul Beckingham
09683f0bb9 Unit Tests
- Added confirmation to prevent hang on various platforms.
2013-02-08 15:15:01 -05:00
Federico Hernandez
f2ae8a13fa Bug #1178
- Fixed bug #1178, which inlcuded binary libraries in the source
  package.
2013-02-07 22:28:15 +01:00
Johannes Schlatow
b230da75e6 Feature #1054
Require confirmation for replacing the entire description of a single task.
2013-01-25 00:15:00 +01:00
Paul Beckingham
c6c99c2e38 Unit Tests
- Added template.t as an example for all new unit tests.
2013-01-19 15:47:41 -05:00
Paul Beckingham
e180dce1bc Bug #1063
- Fixed bug #1063, so that numeric UDA fields are now sortable (thanks to Max
  Muller).
2013-01-19 15:45:58 -05:00
Paul Beckingham
7e3ee1b284 Portability
- Fixed compiler error for new unit tests.
2013-01-19 13:45:58 -05:00
Louis-Claude Canon
a0d6b3198e Unit Tests
- More robust tests strategy: captured outputs are always compared to some
  expected result.
- Clearer and more consistent test.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2013-01-19 12:38:25 -05:00
Paul Beckingham
ee7fd7add0 Unit Tests
- Added more utf8 tests.
2013-01-17 06:11:28 -05:00
Paul Beckingham
01e589a172 I18N
- One does not simply std::string::substr a UTF8 string, like a bloody caveman.
  Implemented utf8_substr, and added unit tests.
2013-01-16 18:36:54 -05:00
Fidel Mato
ae58b85339 L10N - Error message
- Corrected error message in es-ES.h.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2013-01-16 16:06:06 -05:00
Scott Kostyshak
45202c292b Bug
- Fix regression introduced in 73043b86 where UDA edits
  were not detected for non-date types.
2013-01-15 07:55:03 -05:00
Johannes Schlatow
55813b6a09 Bug
- Colons are evil, fixed ZSH completion commands.
2013-01-15 01:05:28 +01:00
Paul Beckingham
26dbd8e790 Code Cleanup
- Made code more compact and consistent while reviewing sorting for UDAs.
2013-01-13 16:52:57 -05:00
Paul Beckingham
8271e973d8 Bug #1118
- Fixed bug #1118, which dropped changes after edits were rejected (thanks to
  Ben Boeckel).
2013-01-12 17:30:28 -05:00
Paul Beckingham
dd1f154376 Bug #1091
- Fixed bug #1091, allowing filters to use 'urgency.over:4.5'.
2013-01-12 16:49:48 -05:00
Paul Beckingham
76468f3ddd Code Cleanup
- Removed unused, untested DOM cache.
2013-01-12 14:47:34 -05:00
Paul Beckingham
19cdf25a8f Extension Mechanism Cleanup
- Cleaned up existing extension debris, in anticipation of the new mechanisms to
  be included in future releases.  This includes install/uninstall and a full
  set of triggers.
2013-01-12 14:47:14 -05:00
Paul Beckingham
30072cb75b UTF8
- Integrated latest UTF8 character width calculations from Markus Kuhn.
2013-01-12 13:54:49 -05:00
Paul Beckingham
46d5b34091 Unit Tests
- Fixed test with ambiguous Test::is signature.
2013-01-12 13:43:17 -05:00
Scott Kostyshak
19cc9177b9 Code Cleanup
- 'measure' now accepts unsigned ints for 'minimum' and 'maximum' args.
2013-01-09 17:37:49 -05:00
Paul Beckingham
40f2afeb8e Add-ons
- Suppressed output using rc.verbose=nothing.
- Removed [...] from output with rc.json.array=no.
2013-01-08 16:13:40 -05:00
Fidel Mato
d60af770a3 es-ES L10N
- Changed every occurrence of 'límite' to 'vencimiento'
2013-01-08 07:08:51 -05:00
Scott Kostyshak
3583e2ff58 Code Cleanup
- 'uft8_length' and 'utf8_text_length' now return unsigned ints.
2013-01-07 06:40:57 -05:00
Scott Kostyshak
4ca5c85054 Bug
- Fix a bug where 'print.empty.columns=no' resulted in never printing the
  project column because ColProject::measure did not take into account
  the length of the last word of the project name.
- Unit tests.
2013-01-03 23:43:16 -05:00
Paul Beckingham
21704e6705 Bug #1154
- Fixed bug #1154, which now allows priorities to be specified in any case.
2013-01-01 14:18:09 -05:00
Paul Beckingham
650c6cf6bb Documentation
- Updated NEWS file to include new config setting.
- Updated 'show' command so it knows about the new setting.
2013-01-01 10:13:09 -05:00
Scott Kostyshak
d7c225c87b Feature
- Add the configuration variable 'print.empty.columns'.
- If this variable is set to 'no', columns with all empty values are not
  printed. This variable defaults to 'yes' (thus nothing is changed
  by default).
- Updated taskrc.5.in to mention the new variable.
- Added unit tests.
2013-01-01 10:08:44 -05:00
Paul Beckingham
a7b20b7a4e Unit Tests
- Fixed some tests so they no longer fail at EOM, by using "30d" to project into
  the future, instead of just "eom".
- The count.t test script has 4 tests still failing at EOM, but warnings are now
  emitted until we figure out how to improve them.
- Added a test to bug.1110.t.
2012-12-31 10:07:48 -05:00
Paul Beckingham
cfac0c42e8 Dates
+ Fixed bug with 'socm' date calculation that failed on some days, by
  simplifying the implementation.
2012-12-31 08:48:57 -05:00
Paul Beckingham
b0bb56cfa8 Documentation
- Restored missing bug fix log entry.
2012-12-31 08:41:42 -05:00
Scott Kostyshak
0f4a366752 Bug #1110
- Fixed bug #1110, which did not treat 'status:Completed' the same
  as 'status:completed' (thanks to Aikido Guy).
2012-12-31 08:40:28 -05:00
Paul Beckingham
28523e97c6 Unit Tests
- Added unit tests to illustrate bug #1136.
2012-12-30 14:44:15 -05:00
Fidel Mato
5ec68d3e0c L10N
- Newly translated string.
2012-12-27 12:01:53 -05:00
Scott Kostyshak
73043b868e Bug
- Fix a bug where CmdEdit reported modifications to a date UDA when no
  modifications were made.
2012-12-27 11:46:45 -05:00
Paul Beckingham
eeb4cf3dd8 Bug #1053
- Fixed bug #1053, where ' characters were not escaped by export-csv.pl (thanks
  to John Florian).
2012-12-22 18:38:46 -05:00
Paul Beckingham
9b63fd6068 Bug #1128
- Fixed bug #1128, which caused 'age' columns to be right-justified instead of
  left-justified (thanks to Steve Rader).
2012-12-22 11:06:38 -05:00
Paul Beckingham
5d0e4249e3 Bug #1150
- Fixed bug #1150, which referenced deprecated features in the tutorial man
  page (thanks to Benjamin Weber).
2012-12-22 10:46:13 -05:00
Paul Beckingham
b515111f2b Code Cleanup
- Style: cuddled braces
- Style: one declaration per line
- Omission: ChangeLog not updated
- Omission: AUTHORS not updated
- Omission: en-US.h change not propagated to es-ES.h
2012-12-22 10:06:26 -05:00
Justin Forest
c0fbfcc58c Display duration of each activity session 2012-12-22 09:33:21 -05:00
Scott Kostyshak
745d24e124 Documentation
- Fix some typos in developer files.
- Add information on grid testing with flod.
2012-12-22 09:11:01 -05:00
Paul Beckingham
144ca70a36 Typo
- Fixed configuration setting typo (thanks to trHD).
2012-12-06 08:25:29 -05:00
Scott Kostyshak
14c17d5c4d Code Cleanup
- Move a newline out of localization and into source code.
2012-12-03 17:02:09 -05:00
Paul Beckingham
d89ee4d19c Merge branch '2.2.0' of tasktools.org:task into 2.2.0 2012-12-03 07:45:41 -05:00
Scott Kostyshak
8e5dd60687 Code Cleanup
- Some typos for the English localization suggested by Fidel Mato.
2012-12-03 07:38:24 -05:00
Paul Beckingham
1d3248bb1f Unit Tests
- Fixed problem with color.uda.t leaving default color.alternate active.
2012-12-01 23:30:33 -05:00
Paul Beckingham
f0bd5a4f20 Bug #947
- Looks like it was already fixed along with #1031.
2012-12-01 16:58:45 -05:00
Paul Beckingham
8659ff8292 Export
- Added sample TSB export add-on.
2012-12-01 16:28:08 -05:00
Paul Beckingham
3a2a500eb1 L10N
- Placeholder for date range checking.
2012-12-01 15:55:07 -05:00
Paul Beckingham
6ce3a8e27f Bug #1123
- Fixed bug #1123, which caused the undo of a 'log' command to corrupt the data
  file (thanks to Tim None).
2012-12-01 15:05:03 -05:00
Paul Beckingham
4e03832b68 Feature #1039
- Added Feature #1039, which adds new date shortcuts, 'socm' and 'eocm',
  meaning start and end of current month (thanks to Thomas Sullivan,
  Louis-Claude Canon).
2012-12-01 14:22:09 -05:00
Paul Beckingham
12b12c3a62 Feature #1061
- Added Feature #1061, which allows the 'columns' command to use a search
  string for the column name (thanks to Uli Martens).
2012-12-01 14:07:58 -05:00
Paul Beckingham
d8579730f5 Feature #1099
- Added Feature #1099, which supports the 'color.uda.<uda-name>' color rule
  (thanks to Florian Hollerweger).
2012-12-01 13:29:23 -05:00
Johannes Schlatow
7710c7a623 Merge bug
Hopefully found the ultimate cause of duplicated (completed) tasks.

The corresponding test case

 1. does not rely on the fact that there are modifications with equal
    timestamps and
 2. is a LOT simpler than the other ones.
2012-11-23 13:14:40 +01:00
Johannes Schlatow
0e28374131 Bug #1117
Fixed some other merge issues with the sorting order of equally timestamped
entries in undo.data (see #1104).

1. The fact that both files can begin with equal timestamps but different
   modifications has not been taken into account.

2. Besides the fact that the relative order within the same data file must
   be preservered as introduced before, we also need a unique order for entries
   of different data files so that each machine comes to the same merge result.
   This has now been achieved by taking the UUIDs into account as soon as the
   timestamps are equal.
2012-11-23 13:03:32 +01:00
Fidel Mato
69b63189f6 L10N
- Corrections, new strings.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-11-18 09:14:26 -05:00
Paul Beckingham
638a242476 Build System
- Removed code that searches for the pthreads and Lua51 libraries.
2012-11-17 15:20:31 -05:00
Paul Beckingham
92c3f0862d Feature #1124
- Added '_show' command to generate a machine-readable configuration settings
  list for use by third-party software (thanks to Jake Bell).
2012-11-17 12:48:30 -05:00
Scott Kostyshak
973e0ed56b Spanish (es-ES) Localization
- The latest translation update from Fidel Mato.
2012-11-11 13:08:35 -05:00
Scott Kostyshak
2afb893b2a Feature
- Bash now completes "rc:" with file names and
  "rc.data.location:" with folder names.
2012-10-30 17:02:06 -04:00
Paul Beckingham
9929dbb543 Spanish (es-ES) Localization
- The latest translation update from Fidel Mato.
2012-10-29 16:11:00 -04:00
Paul Beckingham
d9e24098b5 C -> C++
- Integrated wcwidth6.c more into text.cpp.
- Moved wcwidth6.c to wcwidth6.cpp, to cure some strange build issue.
2012-10-29 16:09:32 -04:00
Paul Beckingham
a736568e68 GnuTLS
- Added GnuTLS discovery, linking.
- Added '+/-tls' indicator to diagnostics command.
- Added libgnutls version number to diagnostics command.
- Renamed wcwidth6.c to wcwidth6.cpp, to eliminate a strange build error.
2012-10-29 02:27:33 -04:00
Paul Beckingham
2f4c9b2653 Unit Tests
- Typo on several hundred lines where a , was used in place of ; but seems to
  have no ill effects.  Strange.
2012-10-22 00:56:59 -04:00
Paul Beckingham
6239a5b0c9 Unit Tests
- The tdb2.t test program was reporting 9 tests but running 12.  This also was
  throwing off the test counts.
2012-10-22 00:46:37 -04:00
Paul Beckingham
73192fa99a Unit Tests
- Fixed syntax error in test script that was causing test counts to be off.
2012-10-22 00:38:24 -04:00
Paul Beckingham
c5a31631aa Localizations
- Added ES_ES as language 2.
- Removed obsolete readline reference.
2012-10-21 23:50:46 -04:00
Scott Kostyshak
4baaf52610 Bug
- Hyphenation is not needed when words are split with commas.
- Unit test added.
2012-10-20 14:34:12 -04:00
Scott Kostyshak
d6ce938c4a Code Cleanup
- Rename the class CmdStatistics to CmdStats for consistency
  because 'stats' is the command.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-10-18 22:45:04 -04:00
Paul Beckingham
cda35c03d6 Sockets
- Suppports IPv4 and IPv6 task server addresses.
- Cleaned up error message when server is not available.
2012-10-14 02:10:12 -04:00
Paul Beckingham
fb427a4c6f Merge branch '2.2.0' of tasktools.org:task into 2.2.0 2012-10-13 22:20:33 -04:00
Paul Beckingham
42661312d6 Portability
- Detected birth time in struct stat.
2012-10-13 22:20:08 -04:00
Paul Beckingham
879ecf9505 Internationalization
- Fixed the mechanism used to select translations (thanks to Fidel Mato).
2012-10-13 15:32:00 -04:00
Paul Beckingham
47d94f370e Sync Feedback
- Added a detailed sync summary message, indicating what happened.
- Improved and localized the feedback messages for the sync command.
- Added color to the add/modify feedback, matching the merge command.
- Enabled the sync timer for debugging output.
2012-10-13 12:14:46 -04:00
Paul Beckingham
8fa7d135db Sync
- Provided protocol version in sync message.
- Improved feedback messages.
2012-10-10 23:34:52 -04:00
Paul Beckingham
d060bf166d Sync
- Distinguishes between new upstream tasks and deltas.
- Handles 201 (nop) code from task server.
- Removed unnecessary \r\n from messages.
- Cleaned up some of the diagnostic output.
2012-10-08 17:47:07 -04:00
Paul Beckingham
4a6b9e6104 TDB2
- Added an option to bypass backlog recording to TDB2::add and TDB2::modify.
  This is required when handling backlog data, to prevent perpetual syncing.
2012-10-08 17:45:43 -04:00
Paul Beckingham
98d9a367f3 Sync
- Corrected handling of backlog.data after a synch, using TF2::clear_tasks.
2012-10-08 17:43:14 -04:00
Paul Beckingham
c5ff24358c Feature #934
- Feature #934, supports 'reserved.lines' to indicate a multi-line prompt for
  use in conjunction with 'limit:page' (thanks to Robert Gill).
- Removed 'locale' from the taskrc.5 man page.
- Added verbosity token 'sync'.
- Fixed bug in size calculation for 'limit:page', but there is still one more.
- Corrected unit test limit.t given the above fix.
2012-10-06 15:29:00 -04:00
Paul Beckingham
9cbd729553 Sync
- Added server credential handling.
- Added server error handling.
- Added task download handling.
- Added backlog truncation and synch_key handling.
- Added display of server-side messages.
- Cleaned up NEWS file for 2.3.0.
- Removed duplicate info in diagnostics command output.
2012-10-06 14:15:51 -04:00
Paul Beckingham
27df379f1d Statistics
- Added a backlog transaction count to the statistics.
2012-10-06 12:21:32 -04:00
Paul Beckingham
8d3e340819 Sync
- Properly marked sync command as not displaying IDs, therefore no GC.
2012-10-06 10:23:29 -04:00
Paul Beckingham
936720220c Sync
- Implemented the high-level communications, still without TLS.
- Includes temporary diagnostics, and unlocalized error messages.  These will
  converge upon proper and useful error messages as the command matures.
2012-10-06 10:15:06 -04:00
Paul Beckingham
e7e34b7148 Sync
- Added a ::send method to CmdSync to perform the transfer.  Note that this
  does not yet include any TLS.
2012-10-06 09:07:30 -04:00
Paul Beckingham
5a9810a423 Diagnostics
- Added server info to the diagnostics command output.
2012-10-06 09:05:20 -04:00
Paul Beckingham
ce2f7054f7 Messaging
- Migrated taskd messaging code over, for client-side communications.
2012-10-06 09:03:27 -04:00
Paul Beckingham
b5e90f08d8 Sockets
- Migrated taskd socket code, for client-side transactions.
2012-10-06 09:01:49 -04:00
Paul Beckingham
9fe9f96f8f File::rename
- Added a rename method to permit safe file writes.
2012-10-03 22:13:47 -04:00
Paul Beckingham
cd6d08f97c Code Cleanup
- Removed last traces of synch.key.
2012-10-02 00:00:43 -04:00
Paul Beckingham
b1443e831b Unit Tests
- Removed mention of synch.key from all unit tests.  This is an obsolete file.
2012-10-01 23:56:09 -04:00
Paul Beckingham
337e5557b3 Backlog
- Added backlog handling for add/modify.
2012-10-01 23:30:57 -04:00
Paul Beckingham
becd8f155c Synchronize Command
- Added the stub of the sync command.
2012-10-01 23:16:08 -04:00
Federico Hernandez
b3bd522f73 Bumped version number to 2.3.0 2012-10-01 23:54:25 +02:00
Paul Beckingham
d2f267a7da Unit Tests
- Made test output minimal by removing verbosity.
- Made the regexes more generalized, while still remaining valid.
2012-09-27 21:21:43 -04:00
Paul Beckingham
68963ad3e4 Feature #953
- Added Feature #953, which includes the total number of blocked and blocking
  tasks to the 'statistics' command output (thanks to T. Charles Yun).
2012-09-27 01:06:21 -04:00
Paul Beckingham
bb167b2275 Feature
- New 'modified' attribute, which contains the most recent modification date,
  if a modification has occurred.
2012-09-27 00:56:41 -04:00
Paul Beckingham
8d8bd653fa Feature #685
- Added Feature #685, which provides a 'blocking' report, and new color rule
  (thanks to Michelle Crane).
2012-09-26 23:52:06 -04:00
Paul Beckingham
61ccccabd8 Bug #1031
- Fixed bug #1031, which kept expanding aliases after the '--' operator (thanks
  to Jim B).
- Cleaned up mess in the ChangeLog, which should list features before bugs,
  reported issues before ad hoc issues, and in ascending numerical order.
2012-09-26 23:06:42 -04:00
Scott Kostyshak
9fb15b0d7d Bug #1056
-Complete the fix of #1056 by having CmdSummary print abstract parent
 names and not prefix children project names with parent project names.
-Unit tests for above.
2012-09-24 08:04:47 -04:00
Scott Kostyshak
be5dc8ab90 Bug #1056
- Fix #1056: the 'projects' command now outputs abstract parents
  and reduces repetition by not printing parent names in front of
  children names.
- Project name indentation is not affected by the first character
  being a period and/or the last character being a period.
- Unit tests for above.
2012-09-23 08:07:11 -04:00
Federico Hernandez
a3242f7b5b Merge branch 'master' into 2.2.0
- merge of 2.1.2 release being now the current released version in
  master.

Conflicts:
	CMakeLists.txt
	NEWS
	test/bug.1104.t
	test/run_all
2012-09-18 22:58:59 +02:00
Federico Hernandez
b93f384b3a Added SHA1 of tagged release commit 2012-09-18 21:58:23 +02:00
Federico Hernandez
1e3176ed70 Version number and release date for 2.1.2 2012-09-18 21:07:43 +02:00
Pietro Cerutti
1c5068edb2 Bug
- Fixed bug where shadow files are not properly created when there is a missing
  .taskrc file.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-09-18 07:50:55 -04:00
Scott Kostyshak
d8a4aab85b Enhancement
- Improve bash completion for 'project:', 'depends:', and 'priority:'.
- 'projABC:' no longer expands (same for 'depends:' and 'priority:').
- 'proj:' only expands if abbreviation.minimum is less than 5
  (same for 'depends:' and 'priority:' and for other values of
  abbreviation.minimum).
- Unit tests for the above.
2012-09-16 22:11:52 -04:00
Paul Beckingham
ad3e249a64 Merge branch '2.2.0' of tasktools.org:task into 2.2.0 2012-09-16 15:19:39 -04:00
Paul Beckingham
c2ccd1b3ee Unit Tests
- Enhanced the bug #956 tests to cover both supported methods of eliminating
  extraneous output from commands (redirect stderr, and verbose=nothing).
2012-09-16 15:16:32 -04:00
Paul Beckingham
9d1ae99656 Virtual Tags
- Added virtual tag TODAY as a synonym for DUETODAY.
2012-09-16 14:57:59 -04:00
Paul Beckingham
2f10e8d2e2 Bug #1083
- Partially fixed #1083, which showed 'task 0 ...' when modifying a non-
  pending task (thanks to Aikido Guy).
2012-09-16 14:57:07 -04:00
Federico Hernandez
eb09f4da9a Unit tests
- removed special characters in the logging output that
  disturbed the correct counting of ok unit tests when
  using flod.
2012-09-15 00:20:00 +02:00
Federico Hernandez
112d0d8771 Unit tests
- portability to help flod
2012-09-12 00:00:54 +02:00
Federico Hernandez
31bbc0ea2f Unit testing
- verbose unit testing to help flod tinderbox in displaying the results.
2012-09-11 22:38:40 +02:00
Paul Beckingham
8cd43ce2b2 Chase warning due to the opaque type time_t in printf
Signed-off-by: Paul Beckingham <paul@beckingham.net>

Conflicts:
	src/Duration.cpp
2012-09-11 20:58:16 +02:00
Paul Beckingham
724f29a50b Unit Tests
- Fixed ids, uuids, zshids, _ids, _uuids, _zshids commands to suppress
  headers that prevent these from being used.
2012-09-10 22:55:50 -04:00
Johannes Schlatow
bbd8a9556e Merge branch '2.1.2' of tasktools.org:task into 2.1.2 2012-09-10 23:42:30 +02:00
Johannes Schlatow
68c1ca3f69 Bug #1104
Fixed the bug where the sort order of transactions with equal timestamps
 was not stable, i.e. due to the lack of a total order, different merges
 produced different sortings and hence messed up transactions which
 have already been merged.
2012-09-10 22:53:44 +02:00
Paul Beckingham
d868294d90 Unit Tests
- Corrected FreeBSD rx unit tests.

Conflicts:
	test/rx.t.cpp
2012-09-10 22:41:34 +02:00
Paul Beckingham
36e3317907 Prebuild
- Removed obsolete WIN32 reference that causes lots of verbose warnings
  from cmake.
2012-09-10 22:40:51 +02:00
Federico Hernandez
da37c08dbd Documentation
- bumped information in related files to 2.1.2
2012-09-10 21:45:49 +02:00
Federico Hernandez
89a7f2a459 Unit tests
- run_all should also look for *.t.exe files on cygwin
2012-09-10 21:07:05 +02:00
Johannes Schlatow
98da8ddcb8 Bug #1104
Added unit test.

 Implemented a quick fix for the issue with a broken branch-off algorithm
 which disregarded the transaction boundaries in the undo.data file.
2012-09-10 20:33:32 +02:00
Federico Hernandez
cf634a22c9 Bumped version number to 2.1.2 2012-09-10 20:27:05 +02:00
Johannes Schlatow
55fe8810ce Bug #1104
Added unit test.

 Implemented a quick fix for the issue with a broken branch-off algorithm
 which disregarded the transaction boundaries in the undo.data file.
2012-09-10 14:42:44 +02:00
Scott Kostyshak
6a4fd6b133 Code Cleanup
- Remove an unused parameter.
2012-09-05 06:57:58 -04:00
Scott Kostyshak
ed8be2e2f2 Bug #1059
- Fixed Bug #1059, where CmdEdit incorrectly ran gc.
  (Thanks to Louis-Claude Canon)
2012-09-04 22:11:53 -04:00
Scott Kostyshak
7a6cdde571 Code Cleanup
- Constify some catches.
2012-09-04 22:04:41 -04:00
Paul Beckingham
589d8fab5c Prebuild
- Removed obsolete WIN32 reference that causes lots of verbose warnings
  from cmake.
2012-08-31 14:24:54 +02:00
Pietro Cerutti
b0af5f1496 Portability
- Use Time::Local (in Perl core) instead of Date::Parse

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-08-28 17:27:13 +02:00
Paul Beckingham
e4e58e6571 Unit Tests
- Corrected FreeBSD rx unit tests.
2012-08-28 15:19:17 +02:00
Paul Beckingham
efeb00d423 Code Cleanup
- Typo in unit test.
- Removed obsolete ANALYSIS file.
2012-08-28 14:41:18 +02:00
Paul Beckingham
e796d7a2f1 Unit Tests
- Fixed syntax error in test.
- Fixed tests that were broken, but did not detect that.
2012-08-28 14:36:21 +02:00
Paul Beckingham
660f7bd98e Unit Tests
- Added direct TAP support to run_all via the '--verbose' option.
- Disabled regex tests that use \b for Cygwin.
2012-08-27 12:46:42 +02:00
Owen Clarke
7c408f4c5f Portabality
- Added comment to explain the use of perl in run_all to get the current
  epoch time in seconds
2012-08-23 08:42:01 +10:00
Owen Clarke
c5de9df963 Portability
- Changed bash-style syntax to sh syntax
- Reverted date printing to using perl as per 0cb71a8 for support on
  Solaris
2012-08-22 20:34:01 +10:00
Pietro Cerutti
98a5788a40 Use sh instead of bash in test/run_all 2012-08-21 16:23:09 +01:00
Paul Beckingham
968d1c32e8 Portability
- Removed unnecessary dependence on Bash: sh is POSIX, bash is not.
2012-08-21 16:13:45 +01:00
Paul Beckingham
23cd59a9a1 Chase warning due to the opaque type time_t in printf
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-08-21 15:41:30 +01:00
Paul Beckingham
945127ad05 Portability
- Fixed warning that only appears on FreeBSD.
2012-08-21 11:11:55 +01:00
Scott Kostyshak
8850bc849f Documentation
- Updated the ChangeLog.
2012-08-15 22:46:43 -04:00
Scott Kostyshak
e89aa6cdbc Feature #1069
- Throw a custom error if uda.<uda-name>.type is not set
  but, for example, uda.<uda-name>.label is set.
2012-08-15 21:37:01 -04:00
Federico Hernandez
f1c156be39 Merge branch '2.2.0' of tasktools.org:task into 2.2.0 2012-08-14 00:59:11 +02:00
Federico Hernandez
b02bbb3c2c Unit tests
- run_all should also look for *.t.exe files on cygwin
2012-08-14 00:50:22 +02:00
Scott Kostyshak
60c1017e68 Code Cleanup
- Show no longer indents the warning.
2012-08-13 17:31:42 -04:00
Scott Kostyshak
109c6434f5 Code Cleanup
- Recycle an object.
- A second argument to task show now gives an error.
2012-08-13 08:10:22 -04:00
Scott Kostyshak
7b0b3210a5 Bug #1065
- Fixed bug #1065, where CmdShow issued messages in incorrect situations.
- Added unit tests.
2012-08-12 17:49:27 -04:00
Paul Beckingham
8d66d801c0 Enhancement
- Added virtual tag support for the first batch.  There will be follow-up
  work, tests and so on.
2012-08-12 13:46:23 -04:00
Scott Kostyshak
d73766484d Bug
- Fixed Bug #1060 where an error that was thrown by undo was not
  correctly caught and reported.
- Added a couple of tests to ensure that the correct error was
  caught and reported.
2012-08-11 07:03:56 -04:00
Scott Kostyshak
bd085a820d Code Cleanup
- Improved style and efficiency of Perl test code.
- Added alias expansion to feature log of bash completion script.
- Added comments to bash completion script.
2012-08-05 16:41:09 -04:00
Scott Kostyshak
54b2e10da4 Unit Tests
- Create a framework for testing bash completion.
- Test that aliases are expanded.
- Test that task commands are expanded.
2012-08-05 08:43:24 -04:00
Paul Beckingham
fd731dfd6e Bug
- Fixed ambiguous operator precedence in unit test.
2012-08-02 00:27:18 -04:00
Louis-Claude Canon
61b128ca88 Code Cleanup
- Failing test on last quarters.
2012-08-02 00:22:19 -04:00
Louis-Claude Canon
e9abac1d0f Code Cleanup
- Keep date formatting intact in arguments (necessary if the initial string
  contains optional information, as start or end of day).
2012-08-02 00:19:41 -04:00
Louis-Claude Canon
ec330921de Code Cleanup
- Factorize code for parsing date elements.
- Better order of blocks for parsing date elements.
- Add corresponding minimal-digit date parsing method for reading seconds,
  minutes and week.
- Update documentation and test.
2012-08-02 00:11:12 -04:00
Louis-Claude Canon
384be4b249 Code Cleanup
- Remove the code related to the format "day of year" (number of day starting
  from the January 1) as mktime does not allow to specify it with the field
  tm_yday.
- Cleaner check of the date (everything is done by Date::valid).
- Correct hour, minute and second is also checked.
2012-08-02 00:04:07 -04:00
Louis-Claude Canon
b5cd5ea188 Enhancement
- Allows relative dates such as "1st" to be entered with capital ("1ST").
2012-08-01 23:59:55 -04:00
Louis-Claude Canon
ee0a16f663 Enhancement
- Undefined variables are put to today in dates (if year and month is not
  specified, the current ones are considered). But if a global ones is
  specified, lower one are put to their default values (0 or 1).
2012-08-01 23:41:28 -04:00
Paul Beckingham
d623a6f9af Bug #1048
- Fixed bug #1048, which segfaulted rather than complain about syntax (thanks
  to Bryce Harrington, Štěpán Henek).
2012-08-01 23:37:25 -04:00
Federico Hernandez
90108e5394 README file
- added disclaimer about the risk with using a dev branch.
2012-07-30 23:34:38 +02:00
Johannes Schlatow
affda052c8 Zsh tab completion
Added missing attributes and operators.
2012-07-30 11:55:42 +02:00
Owen Clarke
31769a1fa4 Portability
- Changed the interpreter of the test files to use /usr/bin/env to find
  perl in the user's path instead of hard-coding /usr/bin/perl
2012-07-30 18:49:50 +10:00
Johannes Schlatow
5db7b6c290 Bug #1045
- Fixed bug where zsh completion did not work for aliases (see #1043).
2012-07-29 14:09:56 +02:00
Paul Beckingham
ff1cc85d38 Unit Tests
- Fixed a regex length in a test.
2012-07-28 20:45:49 -04:00
Scott Kostyshak
7b04ae43a0 Unit tests
- Added bug.1043.t which makes sure that aliases are listed by '_aliases'
  and not by '_commands' or '_zshcommands'.
2012-07-28 20:32:58 -04:00
Federico Hernandez
58a87b5ed0 Unit tests
- basic.t now looking correctly for version number in cmake file.
  (thanks to Owen Clarke)
2012-07-29 00:06:01 +02:00
Scott Kostyshak
4f76e0ed7c Bug #1043
- Fixed bug where bash autocompletion did not work for aliases.
- Added new '_aliases' helper command.
2012-07-28 15:36:17 -04:00
Paul Beckingham
275132c1fa Enhancement
- The 'diagnostics' command now reports libuuid details.
2012-07-28 09:19:05 -04:00
Louis-Claude Canon
0ac6578899 Enhancement
- When formating real numbers that are between 0 and 1, the width controls the
  number of characters that are shown (with width "4", "0.01234" is shown as
  "0.01").
2012-07-27 08:19:21 -04:00
Louis-Claude Canon
afcbaa20a9 Code Cleanup
- The symbols '@' is part of the tag and not a special delimiter (adding a new
  item makes it more explicit).
2012-07-27 08:18:01 -04:00
Louis-Claude Canon
0a3de2b867 Unit test
- Check that quitting when doing bulk changes ignores subsequent tasks.
2012-07-27 08:17:12 -04:00
Louis-Claude Canon
0857b451d6 Bug #1044
- 'task projects' discard now newly deleted tasks and it includes only filtered
  tasks for its summary.
2012-07-27 08:13:37 -04:00
Louis-Claude Canon
154d99385a Code Cleanup
- Indentation.
2012-07-27 08:09:26 -04:00
Federico Hernandez
fc45484069 Authors file 2012-07-27 00:14:52 +02:00
taskwarrior
1e938593d4 Documentation
- typos in INSTALL file (thanks to Erik Wenzel)
2012-07-26 23:59:36 +02:00
Owen Clarke
c20ce334f9 Merge branch '2.2.0' of tasktools.org:task into 2.2.0 2012-07-26 22:11:05 +10:00
Louis-Claude Canon
0a00f3cde4 Documentation
- Clearer documentation on relative dates.
2012-07-26 08:09:46 -04:00
Owen Clarke
276971675a Bug #1042
- Fixed a bug where the diagnostics command failed to detect missing
  external utilities on Solaris and NetBSD.
2012-07-26 22:08:34 +10:00
Louis-Claude Canon
160260ff48 Code Cleanup
- Remove duplicate modify call to TDB2.
- Check if quitting in bulk change only if permission fails.
- Correct test logic (the unit for each operation is the second, not the day).
- Consistency in test for feature.1013.t
- Correctly color deleted tasks.

test
2012-07-26 08:06:15 -04:00
Paul Beckingham
39456a3243 Performance
- Moved an expensive operation inside an if statement.
2012-07-25 23:14:15 -04:00
Paul Beckingham
d89d51e7e1 Deprecation
- Removed deprecated 'fg:' and 'bg:' attributes, which involves code,
  documentation and tests.
- Cleaned out NEWS file.
- Cleaned out config import synonyms, which should have been deleted a while
  ago.
- Removed unused localized strings, but left the 'deprecated' one behind,
  because it will be needed.
2012-07-25 22:44:25 -04:00
Louis-Claude Canon
1d99260cb9 Enhancement
- Stop consider new tasks after quitting a bulk change.
2012-07-25 08:06:18 -04:00
Louis-Claude Canon
e5d142a468 Bug #1038
- Cleaner solution (less code duplication and blank space only when a
  confirmation is needed) for bug #1038.
2012-07-25 08:06:15 -04:00
Paul Beckingham
3bf9ebad62 Documentation
- Manually added ChangeLog delta that wouldn't apply as a patch.
2012-07-24 20:52:48 -04:00
Louis-Claude Canon
60e7260920 Code Cleanup
- Print a message in bulk change when the user choose not to denotate a
  specific task (more consistent behaviour with other bulk changes).
2012-07-24 20:51:15 -04:00
Louis-Claude Canon
406f098263 Bug #1038
- Fixed bug #1038, which prints blank lines with bulk changes and when the
  verbose attributes does not specify it.
- Lines do a better separation between each changes also.
2012-07-24 20:51:03 -04:00
taskwarrior
54e3de8118 Merge branch 'master' into 2.2.0
- after 2.1.1 release that went into master
2012-07-25 01:38:35 +02:00
taskwarrior
4400a6f6ca Added SHA1 of tagged release commit 2012-07-25 01:34:38 +02:00
Federico Hernandez
46c5f8b826 Bumped version number to 2.1.1 in cheat sheet 2012-07-24 23:58:21 +02:00
Federico Hernandez
254d5c6fd7 Version number and release date for 2.1.1 2012-07-24 23:41:11 +02:00
Louis-Claude Canon
c71146611c Bug #1036
- Remove the test that prevents 'until' attributes to be modified for
  non-recurring tasks (thanks to Stéphane Pezennec).
- Unit test.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-07-24 16:55:59 -04:00
Scott Kostyshak
99849e55b4 Documentation
- Man page corrections.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-07-24 16:28:07 -04:00
Paul Beckingham
c247cf11ad Documentation
- Added #734 to ChangeLog.
2012-07-24 08:31:55 -04:00
Paul Beckingham
28e66a28aa Bug
- Fixed bug that caused miplaced commas in JSON export (thanks to greenskeleton).
2012-07-23 23:31:45 -04:00
Federico Hernandez
7b298a1b3d Bumped version number to 2.2.0 2012-07-23 23:04:38 +02:00
Federico Hernandez
98fbd28501 Added SHA1 of tagged release commit 2012-07-23 22:59:42 +02:00
Federico Hernandez
a413331c94 Version number and release date for 2.1.0 2012-07-23 21:26:14 +02:00
Federico Hernandez
4fe671f895 Documentation
- Fixed several typos in man pages.
  (Thanks to Scott Kostyshak for the comprehensive patch)
2012-07-23 13:13:30 +02:00
Federico Hernandez
09074dc708 Man page
- Fixed missing scheduled attribute in task.1
  (Thanks to Dirk Deimeke)
2012-07-23 11:59:40 +02:00
Paul Beckingham
14a8511056 AUTHORS
- Added Scott, as thanks for all the recent help.
2012-07-22 12:52:48 -04:00
Owen Clarke
16bef4a29e Bug
- Fixed platform detection of OpenBSD and NetBSD
2012-07-22 20:15:11 +10:00
Paul Beckingham
a469a2c6d5 Feature #1033
- Feature #1033 allows UDAs to contribute to urgency (thanks to Max Muller).
2012-07-18 23:33:30 -04:00
Paul Beckingham
6a2c047beb Bug #1032
- Fixed bug #1032, which prevented negative urgency coefficients from working
  for projects and tags.
2012-07-18 06:53:58 -04:00
Federico Hernandez
9a2ab14a34 Bumped version number to 2.1.0.beta3 2012-07-18 00:41:52 +02:00
Paul Beckingham
c20c025c8e Bug
- Fixed a bug that caused a commond dateformat (YDM-HN) to be misinterpreted
  as a UUID.  Solution is to increase minimum partial UUID length from 9 to
  14.
2012-07-17 18:30:58 -04:00
Paul Beckingham
561102b70b Build Broken
- Forgot to include the updated strings.
2012-07-16 23:02:37 -04:00
Paul Beckingham
051274b960 Bug
- Fixed bug that caused a segfault when an invalid sort column was specified
  (thanks to Uli Martens).
2012-07-16 17:04:25 -04:00
Federico Hernandez
1920b6249e Bumped version number to 2.1.0.beta2 2012-07-16 18:27:28 +02:00
Owen Clarke
0022cfe10b Bug
- Include limits.h in Directory.cpp to fix compilation on Solaris 11
2012-07-17 00:53:39 +10:00
Owen Clarke
92adb5e266 Bug
- Added include util.h in Nibbler.cpp, forgot to add it to make the fix
  for bug #1030 compile on Solaris.
2012-07-16 23:43:12 +10:00
Owen Clarke
a655be823b Bug #1030
- Added portable implementation of timegm for non GNU/BSD platforms that
  don't have their own implementation
- Removed the use of tm_gmtoff on non GNU/BSD platforms that don't have
  it as part of the tm struct in time.h
- Added CMake tests HAVE_TIMEGM and HAVE_TM_GMTOFF
2012-07-16 22:45:11 +10:00
Federico Hernandez
7e48eb9ec2 Bumped version number to 2.1.0.beta1 2012-07-16 12:55:48 +02:00
Federico Hernandez
72ca3f68ea Missing include statement for Linux gcc
- #include <algorithm>
2012-07-16 09:41:16 +02:00
Paul Beckingham
a3b56feb1f Bug
- On the 'udas' report, the orphans were not counted separately for
  the totals.
2012-07-16 01:21:58 -04:00
Paul Beckingham
2815fcb90d UDA
- Implemented UDA sorting.
2012-07-16 01:08:42 -04:00
Paul Beckingham
f42fa76e45 Unit Tests
- Added test for deferred bug #697.
2012-07-16 00:32:55 -04:00
Paul Beckingham
21b7bebf5d Unit Tests
- Added uda_report.t to test the behavior of reports that contain a UDA
  and an orphan UDA.
2012-07-16 00:32:36 -04:00
Paul Beckingham
57aa2de98c UDA
- Implemented UDAs in the 'edit' command for all four UDA data types.
2012-07-16 00:16:36 -04:00
Paul Beckingham
1d593c39e0 Bug
- Fixed bug that saw annotations as UDA orphans in the 'info' command.
2012-07-15 20:42:07 -04:00
Paul Beckingham
9028ca4945 UDA Edit
- Added UDA and Orphan support to the 'edit' command.  It will show the
  data, but not yet recognize changes to that data.
2012-07-15 19:34:55 -04:00
Federico Hernandez
360ab3138a Reference pdf
- rearranged the attributes, in particular the dates.
2012-07-15 23:14:45 +02:00
Paul Beckingham
d4a46eaf04 Documentation
- Errors in reference PDF.
2012-07-15 16:21:14 -04:00
Federico Hernandez
e3691f3fb9 Merge branch '2.0.1' of tasktools.org:task into 2.0.1 2012-07-15 22:06:41 +02:00
Federico Hernandez
0973486d38 Updated OS versions in NEWS file. 2012-07-15 22:05:48 +02:00
Paul Beckingham
4c901e2fe4 Documentation
- Updated reference PDF with new stuff.
- Minor reorganization to make more room.
- Updated version and date.
2012-07-15 16:04:50 -04:00
Paul Beckingham
81563ec624 Bug
- Improved 'ready' report filter so that it actually works.
2012-07-15 15:25:54 -04:00
Paul Beckingham
10a22e293e Unit Tests
- As #982 was deferred to 2.2.0, so is bug.982.t by renaming it to
  bug.982.x.  It will be renamed back after 2.1.0 release.
2012-07-15 09:53:57 -04:00
Paul Beckingham
89a738e8be Documentation
- Referenced the list of external script features that are accumulating,
  as suitable projects for someone wishing to contribute.
2012-07-15 00:41:18 -04:00
Paul Beckingham
43c2b402cd Bug #967
- Fixed bug #967, which did not properly determine character widths for UTF8
  characters (thanks to Victor Roetman, Jörg Plate, Markus Kuhn).
2012-07-15 00:14:04 -04:00
Paul Beckingham
76c8d616d9 Bug #1028
- Fixed bug #1028, so that UDA durations are stored in seconds, not in raw form
  (thank to Uli Martens).
2012-07-14 09:39:05 -04:00
Paul Beckingham
da9bd8faa9 UDA
- Only 'recur' durations are stored in raw form.  All others resolve to seconds.
  Thanks to Uli Martens.
2012-07-12 00:14:23 -04:00
Paul Beckingham
550031f5d8 Documentation
- Added missing contributor.
2012-07-09 21:25:17 -04:00
Paul Beckingham
cc5ecafc30 Unit Tests
- Testing whether recurring tasks can be deleted, with and without
  the parent being deleted.  Cannot replicate #955.
2012-07-09 21:22:06 -04:00
Paul Beckingham
d0397f8481 Bug #1012
- Fixed bug #1012, which failed to install add-on scripts with execute
  permission.
2012-07-09 21:08:19 -04:00
Louis-Claude Canon
08b37c9943 Code Cleanup
- Unnecessary test replaced by an assertion.
2012-07-09 08:36:20 -04:00
Louis-Claude Canon
573e0b2a65 Unit Test
- Fix the purpose of the test for bug #1006: checking that completion is active
  when necessary.
2012-07-09 08:34:34 -04:00
Paul Beckingham
19b01131ce Unit Tests
- Redirected output in unit test.
2012-07-09 08:33:22 -04:00
Louis-Claude Canon
3f158bc546 Bug #982
- Unit test.
2012-07-09 08:32:16 -04:00
Louis-Claude Canon
a7e2918953 Documentation fix 2012-07-09 08:31:54 -04:00
Louis-Claude Canon
95df0baeae Bug #1022
- Fix initialization of Task variables when parsing from a string.
- Correction on default colors.
2012-07-09 08:29:25 -04:00
Paul Beckingham
c8ce91e4be Documentation
- Missed adding #872 when closing #1006.
2012-07-09 08:27:59 -04:00
Paul Beckingham
7fb25a21df Bug#968
- Fixed bug #968, which calls for better documentation of dependencies
  which will be included in the next PDF cheat sheet release, and in
  the upcoming new tutorials, in addition to the man page and wiki
  (thanks to Marek Vitek).
2012-07-09 01:59:40 -04:00
Paul Beckingham
79e2c591f1 Bug #1022
- Fixed bug #1022, where dependencies were note released when a blocking task
  was completed (thanks to Arkady Grudzinsky).
- The Task object now caches ::is_blocked and ::is_blocking Booleans that are
  determined on pending.data load.
- Simplified and sped up color rule processing using cached values, reducing
  the number of map lookups, and removed loop invariants when the rules are
  not defined.
- Simplified urgency calculations given the cached values for blocked/blocking.
- On load, pending.data is scanned for accurate blocked/blocking status
  determination.
- Obsoleted and removed complex single-task dependency calculations.
- Sped up 'nag' processing by using cached values..
- Modified the 'show' command to consider color.blocking to be valid.
- Added default config value for color.blocking, and included it in the
  precedence list ahead of blocked, as it is more important.
- Updated taskrc.5 man page to include the new color.blocking rule, and its
  place in the rule precedence.
2012-07-09 01:29:51 -04:00
Paul Beckingham
02053f7300 Themes
- Added the new color.blocking to each theme.  In most cases it is the
  same as color.blocked, with something slightly 'bolder' about it, but
  in the more quirky ones it is the same.  These need tweaking.
2012-07-09 01:12:44 -04:00
Paul Beckingham
d59aaa6427 TDB2
- Pushed task lookup by ID and UUID down a level from TDB2 to TF2.  This allows
  reuse at the low level for things like proper dependency evaluation.
2012-07-08 16:04:34 -04:00
Paul Beckingham
88fcdab515 Feature #1026
- Feature #1026, command line overrides are now applied before and after the
  creation of the default rc file and data directory, which allows for
  programmatic initialization without keystroke synthesis (thanks to Nicholas
  Rabenau).
2012-07-08 15:16:23 -04:00
Paul Beckingham
b702251431 Performance
- When there is only one element in A3, no point firing up the Dijkstra
  shunt of the infix processing.
2012-07-08 14:38:13 -04:00
Paul Beckingham
99b0c5568a Bug #972, #1018
- Fixed bug that accepted a recurrence duration of '7' as '7secs' instead
  of the intended '7days'.  It is now an error to omit the units.  Thanks to
  Vlad Zhivotnev, Stanley G.
- Modified unit tests to avoid a different error.
2012-07-08 14:24:39 -04:00
Paul Beckingham
c4a61566af Documentation
- Modified developer files to get them up to date.
2012-07-08 11:03:01 -04:00
Paul Beckingham
4d4f286330 Bugs
- Added an A3::is_attr type override for 'recur', which needs to be
  treated as an un-expanded 'string' type, most, but not all of the
  time.
- Documented the above in ColRecur.cpp.
- Modified Command.cpp to recognize both type 'duration' and name 'recur'.
- Removed Command::next_mod_group argument coalescing for date types,
  which was not used anyway.
- Improved the error message for unrecognized durations, which previously
  included the word 'date'.
- Modified unit tests to accomodate the above error message change.
- Added bug.972.t unit tests, which fail, because it isn't fixed yet.
- Made A3::dump const so it can be used anywhere.
2012-07-08 10:47:01 -04:00
Paul Beckingham
5fcc33f1f8 UDAs
- UDA definitions that have the same name as a core attribute are not
  permitted.
2012-07-05 00:11:54 -04:00
Paul Beckingham
d8b0b0f594 Version
- Bumbed version from 2.0.1 to 2.1.0, reflecting the size of the new
  features.
2012-07-04 17:19:39 -04:00
Paul Beckingham
b0b8bfe1d2 Bug #1023
- Fixed bug #1023, which applied default.project and default.priority during
  modification (thanks to Christoph Lange).
- Added unit tests.
- Added Christoph to the AUTHORS file.
2012-07-04 16:45:09 -04:00
Paul Beckingham
d16f434899 Bug #1006, #1024
- Fixed bug #1006, #1024, which caused words like the German 'im' and 'des' in
  a description to be expanded into 'imask' and 'description' (thanks to
  Louis-Claude Canon and Martin U).
- Promoted Louis-Claude Canon in the AUTHORS file, added Martin U.
2012-07-04 16:05:42 -04:00
Paul Beckingham
416cb40e3d Import
- Orphaned UDAs now survive import.
2012-07-04 14:29:12 -04:00
Paul Beckingham
7eebfba1ef Unit Tests
- Error in unit tests.  UDAs are in better shape than was reported.
2012-07-04 14:14:45 -04:00
Paul Beckingham
1b329d34b3 UDAs
- The 'udas' command now accepts a filter, and reports UDA usage counts.
- The 'udas' command also detects and lists orphaned UDAs and usage counts.
2012-07-04 13:42:36 -04:00
Paul Beckingham
19cfd5453d Documentation
- Updated man pages for UDAs.
2012-07-04 11:18:12 -04:00
Paul Beckingham
2be691c2c5 Enhancement
- The 'udas' command now reports allowable values for UDAs.
2012-07-04 10:16:08 -04:00
Paul Beckingham
66eb09ab25 UDAs
- Orphaned UDA name/value pairs show up in the 'info' report, but with
  the name listed as '[name      value]'.  The brackets indicate that the
  data is not modifiable.
2012-07-03 15:58:00 -04:00
Paul Beckingham
da575c4043 Unit Tests
- Modified testing to accomodate new split between stdout/stderr.
2012-07-03 15:43:19 -04:00
Louis-Claude Canon
75822eed47 Code Cleanup
- Reduce the number of project change messages when annoting and denoting.
2012-07-03 09:06:01 -04:00
Louis-Claude Canon
1668aef66b Code Cleanup
- Consistent scheme for printing project change information: always
  shows the progress estimation and add a notification that the project
  has changed if the number of tasks is changed.
2012-07-03 09:05:19 -04:00
Paul Beckingham
7f1d8c3682 UDAs - User Defined Attributes
- Added support for named allowable values.
2012-07-02 22:22:19 -04:00
Paul Beckingham
0d3f6f990d Unit Tests
- Added unit tests to monitor the behavior of UDAs in various scenarios.
2012-07-02 21:47:30 -04:00
Paul Beckingham
9a9453a57f Directory::cwd
- Made use of Directory::cwd instead of get_current_working_dir.
2012-07-02 15:40:54 -04:00
Louis-Claude Canon
2b20009b7f Code Cleanup
- No blank line when printing information about project changes.
2012-07-02 15:00:30 -04:00
Louis-Claude Canon
b1e63e575a Bug #1001
- Actual resolution of Bug #1001. The Edit command was actually changing
  the working directory without going back to the original one
  afterwards.
2012-07-02 14:59:29 -04:00
Louis-Claude Canon
e1407437e0 Enhancement
- Allow a separate color for error messages via the 'color.error'
  configuration variable.
2012-06-28 00:25:09 -04:00
Louis-Claude Canon
eaae2d84da Unit Test
- Check that errors, headers, footnotes and debugs are sent only to
  stderr.
2012-06-28 00:24:03 -04:00
Louis-Claude Canon
8ef9ec9b9f Code Cleanup
- Redundant debug message.
- More consistent check for messages aggregation.
2012-06-28 00:23:56 -04:00
Louis-Claude Canon
c84e3cc893 Code Cleanup
- With the separation between standard output and standard error, the solution
  for bug #956 is obsolete. The mechanism (putting verbose to "nothing") is
  still kept for easing the management of the standard error.
2012-06-16 16:09:34 -04:00
Louis-Claude Canon
1e632fea66 Code Cleanup
- More specific test (checking message either in the standard output or the
  standard error).
2012-06-16 16:09:18 -04:00
Louis-Claude Canon
e5fe704f6a Code Cleanup 2012-06-16 16:08:51 -04:00
Louis-Claude Canon
3cea8889e3 CMake
- Automatically link taskwarrior executable before launching tests with
  "make test".
2012-06-16 16:08:14 -04:00
Louis-Claude Canon
b45a305df2 Enhancement
- Output error, header, footnote and debug messages on standard error.
2012-06-16 16:07:27 -04:00
Louis-Claude Canon
b093d23f1f Typos
- Fix various typos in comments and documentation.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-06-12 16:44:14 -04:00
Paul Beckingham
bfba1c725d Documentation Cleanup
- Modified order of entries.
2012-06-10 17:05:35 -04:00
Paul Beckingham
b2a1c327f4 Typos
- Fixed minor typos in comments.
2012-06-10 17:04:40 -04:00
Louis-Claude Canon
bc2addeb41 Enhancement
- Solve bug #962.
- Improve completion by proposing column names (used when filtering and
  modifying tasks).
2012-06-10 17:01:58 -04:00
Paul Beckingham
1201d0b485 Feature #435
- Feature #435 requests a means to indicate that a task required the
  action of another person.  This is achieved via User Defined Attributes.
2012-06-10 16:54:21 -04:00
Paul Beckingham
fe886b5865 Feature #339
- Feature #339, last review date supported by User Defined Attributes.
2012-06-10 16:50:24 -04:00
Paul Beckingham
fc4a71aa5c Bug #1001
- Fixed bug #1001, which caused a segv (thanks to Bryce Harrington).
2012-06-10 16:47:27 -04:00
Paul Beckingham
0b75fe1311 Feature #325
- Feature #325, User Defined Attributes.
2012-06-10 16:46:09 -04:00
Paul Beckingham
30d3a36f47 Bug #960
- Fixed bug #960, which caused tab-completion to fail after any non-ASCII alpha
  characters were used in a description (thanks to Hyde Stevenson).
2012-06-10 16:30:47 -04:00
Paul Beckingham
858c95e557 AUTHORS
- Added Bruno Bigras for a very helpful and revealing bug annotation.
2012-06-10 16:19:13 -04:00
Paul Beckingham
9a6319a210 Parsing
- Use of broken 'isalpha' caused 'entrée' to be parsed by Nibbler::getName
  as 'entr'.  This is part of bug #1006, but only a small part.
2012-06-10 16:17:09 -04:00
Paul Beckingham
e8309fcf49 Unit Tests
- Added unit test to nibbler.t that illustrates one of the problems
  associated with bug #1006: Nibbler::getName read "entrée" and finds
  "entr".
2012-06-10 15:54:39 -04:00
Paul Beckingham
180ff95649 Bug #1017
- Fixed bug #1017, which exported invalid JSON when there were no tasks (thanks
  to Nicholas Rabenau).
2012-06-10 15:21:55 -04:00
Paul Beckingham
128b139b17 Bug #1016
- Fixed bug #1016, which caused segfaults when importing JSON with annotations
  that lack description or entry date (thanks to Nicholas Rabenau).
2012-06-10 15:03:56 -04:00
Paul Beckingham
3e36438597 Merge branch '2.0.1' of tasktools.org:task into 2.0.1 2012-06-02 12:52:41 -04:00
Paul Beckingham
65e8cc63fc Enhancement
- Added ostream converter for Path object.
2012-06-02 12:52:13 -04:00
Paul Beckingham
f23d8921e4 Enhancement
- Modified the closeEnough function to accept a minimum match length.
  Useful, but initially not used.
2012-06-02 10:05:32 -04:00
Paul Beckingham
b63bd9e985 Feature #921
- Feature #921, which implements a 'udas' command that describes defined UDAs,
  and a '_udas' for completion purposes.
2012-05-28 16:06:33 -04:00
Paul Beckingham
ca1fce280b Feature #922
- Feature #457, #922, tasks may now be given an 'until' date, after which they
  expire and are deleted.
2012-05-28 15:01:38 -04:00
Paul Beckingham
c42706a3dc Bug #1008
- Fixed bug #1008, which failed to remove tasks with the special tag '+nocal'
  from the calendar report output with 'calendar.details=full' set (thanks to
  Bryan Kam).
2012-05-28 12:51:27 -04:00
Paul Beckingham
e99bbf6213 Documentation
- Added new '.' to precedence values in documentation.
2012-05-28 09:20:47 -04:00
Louis-Claude Canon
7a8e292fe8 Bug #990
- Precise in the documentation that the wildcards for color precedence must
  terminate with a dot. If not, 'tag' is completed as 'tagged', which violates
  the default precedence rule.
- Change default precedence rule to reflect this.
- Unit test.
- ChangeLog and AUTHORS file updated.
2012-05-28 09:16:12 -04:00
Louis-Claude Canon
90c420263c Code Cleanup
- Check systematically if the color is non-trivial before blending.
2012-05-28 09:16:05 -04:00
Jörg Plate
f2f6b788e8 Bug #919
- Modified to allow multiple holiday file sources, in other words
  duplicate dates.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-05-26 13:29:50 -04:00
Paul Beckingham
ddd7bc3f0a Enhancement
- Directory handling enhancements with Directory::cwd and Directory::up
  methods, with unit tests.
2012-05-25 18:03:06 -04:00
Paul Beckingham
a9058612a7 ChangeLog
- Added Paul Kishimoto, for bug reporting.
2012-05-24 00:57:43 -04:00
Jörg Plate
43076a6cd7 Bug #919
- Applied patch for bug #919, so the holidays listed on the 'calendar' report
  are sorted (thanks to Jörg Plate).

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-05-24 00:52:46 -04:00
Paul Beckingham
003f092bf4 Unit Tests
- Modified unit tests after the #956 fix.
2012-05-23 07:02:57 -04:00
Louis-Claude Canon
542f1e0f82 Code Cleanup
- Clearer commands for sumarizing the test results.
2012-05-23 06:53:12 -04:00
Louis-Claude Canon
ed5ecb3aa5 ChangeLog Update 2012-05-23 06:53:08 -04:00
Louis-Claude Canon
eae4cae13b Documentation
- Precise that the 'uuids' command applies the filter on all tasks contrarily
  to 'ids'.
2012-05-23 06:53:02 -04:00
Paul Beckingham
f70cad081f Code Cleanup
- Removed whitespace at EOL.
2012-05-23 06:52:36 -04:00
Louis-Claude Canon
988288f6d2 Code Cleanup
- Simpler code for 'ids' command.
- Sort the uuids with 'uuids' and '_uuids' commands (stabler output).
2012-05-23 06:49:31 -04:00
Louis-Claude Canon
0b1b677aa5 Bug #956
- Prevent any verbose information to be printed with the 'ids', 'uuids' and
  helper subcommands.
- Unit tests.
- Precise this behavior in the man pages.
2012-05-23 06:49:25 -04:00
Louis-Claude Canon
fe954a6acc Enhancement
- Similar subcommands for 'uuids' as there is for 'ids' ('_uuids' and '_zshuuids').
- Extends the scope and the precision of the unit tests for ids.
- Corresponding documentation in the man pages.
2012-05-23 06:48:54 -04:00
Louis-Claude Canon
82a4607ec6 Enhancement
- Separate date format when editing from the default one.
2012-05-21 08:20:27 -04:00
Louis-Claude Canon
ba992a631e Enhancement
- Clarify the dateformat related variables for 'task information'.
2012-05-21 08:20:12 -04:00
Louis-Claude Canon
84e1d0e7d2 Code Cleanup
- Centralize the date format determination when editing.
2012-05-21 08:20:01 -04:00
Louis-Claude Canon
72621febd4 Code Cleanup
- Factorize code when printing dates with edit.
2012-05-21 08:19:40 -04:00
Louis-Claude Canon
db2a01ba08 Bug
- Fix the solution for bug #959 (setting new dates was not working properly).
2012-05-21 08:19:36 -04:00
Louis-Claude Canon
9d37262d12 Documentation
- report.info.dateformat is now applied on the entry dates in the journal.
2012-05-21 08:15:52 -04:00
Paul Beckingham
9fe43611d1 Filter Mods
- Changed split type, to improve filter support.
2012-05-21 08:14:16 -04:00
Paul Beckingham
665bc197dc Feature #457
- Tasks may now be given an 'until' date, after which they expire and are
  deleted.
2012-05-13 23:43:53 -04:00
Paul Beckingham
d122173103 Bug
- Fencepost error in colorization.
2012-05-13 18:17:23 -04:00
Paul Beckingham
981121799c Color Rules
- Corrected bug in colorizeScheduled to properly consider the scheduled date.
2012-05-13 18:12:33 -04:00
Paul Beckingham
52dfa8da1e Documentation
- Updated more documentation regarding 'scheduled' dates.
- Added color.scheduled to the rule.precedence.color setting.
- Added 'ready' report to the main man page.
2012-05-13 18:04:48 -04:00
Paul Beckingham
98f215b1b5 Feature: scheduled date
- Supports 'scheduled' date for tasks, which represent the earliest opportunity
  to work on a task.
- Added unit tests for urgency.
- Implemented color rule.
- Added scheduled to 'info' report.
- Updated assorted documentation.
- Removed comments in default rc because they are never seen.
- Added (broken) 'ready' report, which is like 'next' but only for ready tasks.
2012-05-13 17:19:22 -04:00
Paul Beckingham
d08f189769 Holiday Data
- Removed duplicate Patriot's Day from en-US.
2012-05-13 16:56:45 -04:00
Paul Beckingham
b0916904bf Documentation
- Updated DEVELOPER file with info about how to contribute.
2012-05-12 13:16:57 -04:00
Paul Beckingham
4f98c8d9b5 Code Cleanup
- Upgraded the magic number 10 to a constant with dynamic debug warning.
2012-05-12 12:43:54 -04:00
Louis-Claude Canon
66b39f6797 Documentation
- Updated ChangeLog regarding UUID use in dependencies.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-05-07 23:01:42 -04:00
Louis-Claude Canon
1364202d30 Feature
- Allow UUIDs and IDs range when modifying task dependencies.
- Update man page.
- Add unit tests.
- Fatorize code when adding and removing dependencies in Task.cpp.
2012-05-07 22:59:25 -04:00
Louis-Claude Canon
5ffb65b5ac Enhancement
- More consistent test of when adding or deleting a dependency.
- Update one unit test.
2012-05-07 19:59:10 -04:00
Louis-Claude Canon
20ae5fed81 Documention
- Precision on the format for filtering IDs, UUIDs and ranges in the man page.
2012-05-07 19:57:57 -04:00
Louis-Claude Canon
38078e9228 Feature
- Allow ID ranges when editing dependencies.
2012-05-07 19:04:51 -04:00
Louis-Claude Canon
4ee64a52de Feature
- Applied patch to allow ID ranges when editing dependencies.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-05-07 19:03:59 -04:00
Jörg Plate
26420d74c2 Feature #1005
- Applied patch for feature #1005, which prevents the update-holidays.pl script
  from creating duplicate holidays (thanks to Jörg Plate).

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-05-07 18:44:14 -04:00
Paul Beckingham
a15be33713 Performance
- Tweaked sorting defaults.
- Removed obsolete comments in (unwritten) default config file.
2012-05-05 16:09:27 -04:00
Paul Beckingham
dc404d76b9 Unit Tests
- Added tests for bug #1006 (thanks to Louis-Claude Canon).
2012-05-05 14:14:01 -04:00
Paul Beckingham
873376c287 Performance improvements:
- Added parse-free convenience functions
2012-05-05 13:28:02 -04:00
Bryce Harrington
53d829cfc1 A couple minor typo fixes to ChangeLog
Signed-off-by: Bryce Harrington <bryce@canonical.com>
Signed-off-by: Federico Hernandez <f@ederi.co>
2012-05-02 00:09:19 +02:00
Paul Beckingham
ef8486ea1a Unit Tests
- Renamed bug.987.t to bug.987.x until faketime is available to us.
2012-04-30 10:37:39 -04:00
Louis-Claude Canon
1a267aa708 Unit tests
- Added tests for bug #987

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-04-30 10:36:00 -04:00
Louis-Claude Canon
3d6536d1f5 Unit tests
- Added tests for bug #991

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-04-30 10:35:00 -04:00
Louis-Claude Canon
f656c2024d Bug
- Fix sanity check for the first digit of day in a date.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-04-30 09:03:35 -04:00
Louis-Claude Canon
ebdcccbf41 Code Cleanup
- Clean duplicated and unused function.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-04-30 09:01:21 -04:00
Paul Beckingham
0f2901c60c Documentation
- Added missing bug fixes.
2012-04-30 09:00:45 -04:00
Louis-Claude Canon
3440eb0c10 Bug #986
- Complete the previous fix: dates in the journal entries are also formatted
  according to the correct configuration variable.
- Add unit tests.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-04-30 08:49:09 -04:00
Louis-Claude Canon
8b18ee6f50 Bug #959
- Instead of checking if a date in its epoch representation has changed, 'task
  edit' checks if a date has changed in its 'dateformat' representation.
- The check has not been extended to the annotations for a technical reason
  (bug #705).

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-04-30 08:13:03 -04:00
Louis-Claude Canon
ba48cc35d8 Bug #985
- The dates shown and accepted when editing are formated using dateformat even
  for annotations (dateformat.annotation is thus ignored).
- No test is provided because it involves an external editor.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-04-30 08:04:51 -04:00
Paul Beckingham
7b58d9c18c Bug #996
- Fixed bug #996, so that verbosity code and documentation are in agreement,
  and that the 'verbose=off' works as intended (thanks to Peter De Poorter,
  Louis-Claude Canon).
2012-04-30 07:53:09 -04:00
Paul Beckingham
0ae66f457a Bug #954
- Fixed bug #954, which caused bulk deletions when using a UUID filter term and
  the delete command (thanks to Bryce Harrington).
2012-04-29 00:33:51 -04:00
Paul Beckingham
f4bfa1b2fd Bug #995
- Fixed bug #995, which mis-parsed UUIDs in filters as other elements (thanks
  to Bryce Harrington).
- Nibbler no longer permits 8-character UUID abbreviations, because too often
  they resemble other forms, such as '1111111d' which looks like a duration.
- Modified unit tests accordingly.
2012-04-29 00:28:28 -04:00
Paul Beckingham
10aa70a53b Bug #997
- Fixed bug #997, so that output is correctly conrolled by the 'affected'
  verbosity token.
2012-04-29 00:09:34 -04:00
Louis-Claude Canon
9bfda55000 Bug #986
- Update man page relatively to the fix of bug #986

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-04-28 18:10:26 -04:00
Paul Beckingham
b5f4fa03d2 Performance
- Implemented Task::get_ref, which is a lower-cost attribute accessor.
- Called this in a few places.
2012-04-28 18:01:40 -04:00
Paul Beckingham
0c0f767688 Performance
- Added locally cached configuration for urgency coefficients, which effectively
  relocates expensive loop-invariants for the 'next' report.
2012-04-28 17:59:48 -04:00
Paul Beckingham
2668b04901 Performance
- Added std::string::reserve in high-use locations.
- Used Task::get_date over Task::get where possible.
- Added missing code (bug) for waking up any completed tasks that are freshly
  waited.
- Greater use of STL methods for bulk copying.
2012-04-27 02:46:01 -04:00
Paul Beckingham
cd552231e9 Performance
- Eliminated the 'contents' layer, which was never used to the degree
  anticipated.  This reduces memory footprint significantly.
2012-04-27 01:49:26 -04:00
Paul Beckingham
f47648c71f Code Cleanup
- Removed unused defines.
2012-04-27 01:33:11 -04:00
Louis-Claude Canon
9a18d77005 Bug #991
- Fixed bug #991, which removes an obsolete consistency check.
- Removed 'annotations' example from man page, because it is obsolete.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-04-24 23:45:28 -04:00
Louis-Claude Canon
b4d09d1c30 Bug #987
- Fixed bug #987, so that total active time does not continue to accumulate
  after an active task is completed.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-04-24 23:36:04 -04:00
Paul Beckingham
8cbacdacf7 Performance
- Sped up task sorting by skipping re-interpretation of certain data types.
2012-04-24 23:28:42 -04:00
Paul Beckingham
e16b33745e Documentation
- Fixed bug #988, updating the documentation so that 'undo.data' usage is more
  clearly stated (thanks to Louis-Claude Canon).
2012-04-24 00:58:02 -04:00
Paul Beckingham
139011e1ae Performance
- Introduced a new filter optimization that recognizes filters with no 'OR', or
  'XOR' operators, includes IDs, but does not include UUIDs.  This combination
  means completed.data is not referenced.
2012-04-24 00:53:04 -04:00
Paul Beckingham
35122154ef Bug #986
- Fixed bug #986, so that the 'info' report uses the correct date format
  (thanks to Louis-Claude Canon).
2012-04-21 13:02:31 -04:00
Paul Beckingham
5468365b85 Bug
- Missed an 'else' in the code.
2012-04-16 15:31:11 -04:00
Paul Beckingham
fb7c227814 Documentation
- Updated developer docs.
2012-04-16 10:54:44 -04:00
Paul Beckingham
21e172a75a Merge branch '2.0.1' of tasktools.org:task into 2.0.1
Conflicts:
	AUTHORS
2012-04-16 10:54:10 -04:00
Paul Beckingham
d26749fd39 Feature #516
- Feature #516, which allows the duplication of completed tasks (thanks to
  Peter De Poorter, Ethan Schoonover).
2012-04-16 09:03:55 -04:00
Paul Beckingham
0918a7c79a Bug #973
- Fixed bug #973, including 'urgency' in the 'export' output (thanks to Andy
  Spiegl).
2012-04-15 19:45:42 -04:00
Paul Beckingham
d6d9fbd8e7 Code Propagation
- Took a patch to tw from the clog version of Nibbler.
2012-04-14 17:02:04 -04:00
Paul Beckingham
0288fd1ec9 Bug
- Fixed incorrect Lua API return value (thanks to Oleksii Tsai).
2012-04-14 16:18:40 -04:00
Paul Beckingham
062c4a0342 Documentation
+ Fixed man page typos.
2012-04-13 15:13:33 -04:00
Paul Beckingham
4d7369ad5e Documentation
- Added tutorial scripts, which are the 1.9.3 scripts, largely unmodified.
  This is a work in progress.
2012-04-13 00:45:18 -04:00
Paul Beckingham
c51b472694 Bug #968
- Fixed bug #968, a typo in the 'edit' command text (thanks to Victor Roetman).
2012-04-11 07:43:05 -04:00
Paul Beckingham
dd989be887 Documentation
- Removed obsolete section from task-tutorial.5.
- Corrected typos in task-tutorial.5.
2012-04-09 00:30:15 -04:00
Paul Beckingham
8951a2ce23 Documentation
- Removed all the 2.0.0 NEWS items.
- Cleaned up some minor inconsistencies.
2012-04-09 00:22:24 -04:00
Paul Beckingham
2c07837852 Bug
- Fixed bug where ISO dates were parsed and the TZ was modified, which should
  have no bearing on a Zulu time.
2012-04-09 00:16:09 -04:00
Paul Beckingham
dd73cc1ccf Bug #964
- Fixed bug #964, where the 'projects' command showed the wrong priority labels
  (thanks to Ali Mousavi).
2012-04-06 18:55:26 -04:00
Paul Beckingham
6090330d7a Merge branch '2.0.1' of tasktools.org:task into 2.0.1 2012-04-04 20:17:04 -04:00
Paul Beckingham
2203d3364d Bug
- Fixed bug where '6 months' was interpreted as 180 days, but when rendered
  was shown as '5 months' (thanks to Aikido Guy).
- Multiple unit test corrections.
2012-04-04 18:42:11 -04:00
Federico Hernandez
e1d0f6002b Package config
- removed obsolete package config files
- added placeholder READMEs for time being
2012-04-03 21:25:24 +02:00
Paul Beckingham
d4cc4c5745 Documentation
- Added notes in the DEVELOPER file about the need for an external script
  that can fix duplicate UUID problems.
2012-04-02 17:03:29 -04:00
Christoph Robbert
f5b841e8a6 Unit Tests
- Added test for bug #954.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-03-31 15:33:49 -04:00
Paul Beckingham
fee5aad2fa Documentation
- Added an FAQ question that has been asked enough.
2012-03-31 09:35:05 -04:00
Paul Beckingham
6100748511 Bug
- Corrected rounding errors on burndown chart bar size calculations (thanks to
  Uli Martens).
2012-03-26 18:16:09 -04:00
Paul Beckingham
a73c711188 Feature
- The 'summary' report now uses 'project.indented' format.
2012-03-25 18:00:22 -04:00
Paul Beckingham
adb6785931 Feature
- The 'projects' report now uses 'project.indented' format.
2012-03-25 17:59:37 -04:00
Paul Beckingham
17c605502c Feature
- Added new 'indented' format for the 'project' attribute.  Note that
  this is really only useful when a report is sorted by project.
2012-03-25 17:57:55 -04:00
Paul Beckingham
95e36d1145 Enhancement
- Broke the indentTree function into two pieces - one that processes
  a list, the other that processes a single item.  This makes it more
  efficient for use places that have only one element.
2012-03-25 16:54:13 -04:00
Paul Beckingham
29b0d24745 Documentation
- Corrected old information in DEVELOPER file.
2012-03-25 16:29:26 -04:00
Paul Beckingham
667a6e6ef9 Bug
- Fixed grammar in feedback string (thanks to Uli Martens).
2012-03-21 07:39:42 -04:00
Paul Beckingham
f45c9edf2b Code Cleanup
- Removed default configuration value for the obsolete 'annotations' setting.
2012-03-18 10:15:32 -04:00
Paul Beckingham
1274f2ba07 Code Cleanup
- Addressed valgrind complaints by freeing allocations for commands and columns.
  This leaves one complaint about getpwuid, which is either an optional free,
  or not valid, depending on OS.  (Thanks to Bryce Harrington).
2012-03-18 00:27:47 -04:00
Federico Hernandez
3f233e4644 Bumped version number to 2.0.1 2012-03-17 23:05:28 +01:00
Federico Hernandez
b19229b272 Added SHA1 of tagged release commit 2012-03-17 22:59:02 +01:00
Federico Hernandez
03799eba9f Release date for 2.0.0 2012-03-17 21:34:41 +01:00
Federico Hernandez
f0924d9adf Bumped date in man pages to release date 2012-03-17 21:32:00 +01:00
Paul Beckingham
ac4d90f1f6 Feature Pulled
- Removed the feature that allows commands to be piped in to stdin,
  and appended to any existing command line.  This feature is
  conditionally compiled, controlled by the FEATURE_STDIN define in
  main.h
- Many unit tests contained "echo '-- y'", and now use "echo 'y'"
  because the '--' is no longer supported on stdin.
- Thanks to the IRC team for testing, including Bryce Harrington,
  Sam Stuck, Owen Clarke, Greg Grossmeier.
2012-03-17 10:46:05 -04:00
Paul Beckingham
80d6655709 Bug
- Fixed problem where 'project' was not supported as a verbosity token (thanks
  to Adam Gibbins).
2012-03-17 10:11:55 -04:00
Paul Beckingham
deb12102f6 Delay Decrease
- Reduced the delay to 1ms.  Note: this is still a hack.
- Added error checking around the 'select' call.
2012-03-15 22:34:37 -04:00
Paul Beckingham
c5d3042bbf Delay Increase
- Increased delay to 0.05s.
- Added Sam Stuck to AUTHORS, by way of thanks.
2012-03-15 20:41:15 -04:00
Paul Beckingham
5f13019d05 Ubuntu 'select' Fix
- Added a delay before the 'select' call on STDIN, to allow time for
  the data to buffer.  Experimental patch.
2012-03-15 20:20:08 -04:00
Paul Beckingham
773b028865 Portability
- Fixed code that generated warning on Ubuntu.
2012-03-14 17:53:24 -04:00
Paul Beckingham
2c90bca134 Bug #950
- Fixed bug #950, which warned about dependency chain problems during
  annotation, which makes no sense (thanks to Uli Martens).
2012-03-14 00:32:45 -04:00
Paul Beckingham
948bbe8745 Bug #946
- Fixed bug #946, which caused 'edit' command problems when
  'dateformat.annotation' did not contain any date elements (thanks to Tuomas
  Toivola).
2012-03-14 00:17:56 -04:00
Paul Beckingham
99e058cbe7 Bug #952
+ Fixed bug #952, which caused cmake complaints under Cygwin.
2012-03-14 00:03:01 -04:00
Paul Beckingham
86e74c1020 Code Cleanup
- Removed unused function and corresponding unit tests.  YAGNI.
2012-03-11 15:33:45 -04:00
Paul Beckingham
166f3202e1 Documentation
- Updated reference card for accuracy.
- Updated task-color.5.in man page.
2012-03-06 18:18:15 -05:00
Owen Clarke
9951da5710 Bug
- Added bounds check before call to string::substr to avoid passing a
  negative start pos. Test rc.t was broken from commit 0ac9a4b because
  it contains 'report.:b' and legacyCheckForDeprecatedVariables was
  trying to substr starting from pos 'length() - 12' (-3).
2012-03-06 23:32:24 +11:00
Paul Beckingham
507ee20f3b Unit Tests
- Fixed UDA test that didn't allow for missing data.
2012-03-06 01:33:26 -05:00
Paul Beckingham
7a1b219c2c Documentation
- Updated taskrc.5.in to match the 2.0 supported set.
2012-03-06 01:23:01 -05:00
Paul Beckingham
0ac9a4b3df Deprecated
- Made proper note of deprecated configuration variables.
2012-03-06 01:22:16 -05:00
Paul Beckingham
202959898d Documentation
- Added the version info to the task.1.in man page.
2012-03-06 01:21:16 -05:00
Paul Beckingham
6db7285f70 Documentation
- Corrected man page against reality.
2012-03-06 00:37:21 -05:00
Paul Beckingham
8537ddbb5a Documentation
- Corrected command usages.
- Corrected help command output.
2012-03-06 00:36:37 -05:00
Paul Beckingham
2ab2497126 Configuration
- Removed obsolete configuration defaults.
2012-03-06 00:35:21 -05:00
Paul Beckingham
c8027a17c1 Feature
- Missing data now tolerated for UDAs.
- Info command includes all column data, even for unrecognized types.
2012-03-05 22:49:41 -05:00
Owen Clarke
8177b74a52 Unit Tests
- Fixed compile warning caused by an ambiguous decimal type.
2012-03-05 19:57:14 +11:00
Paul Beckingham
a95832ff3b Unit Tests
- Changed a test that adds a task that is due in one hour, then
  verifies that the task is 'due'.  This fails when run between
  the times 2300 and 2400.  Now the test makes the task due in
  5 minutes, which narrows the window when the test can fail.
  This no longer coincides with the time the tinderbox runs.
2012-03-04 20:30:54 -05:00
Paul Beckingham
27c30d1b65 Unit Tests
- Fixed warning caused by misinterpretation of arguments, by coercion.
2012-03-04 19:37:26 -05:00
Paul Beckingham
6d1e14ea3e Portability
- Modified cmake files to allow for clang/llvm as well as gcc.
2012-03-04 18:58:40 -05:00
Owen Clarke
4792517515 Bug #936
- Fixed nag.t failing with Perl 5.8.4
2012-03-05 09:16:11 +11:00
Paul Beckingham
77ac156060 AUTHORS
- Promoted Owen.
2012-03-04 16:39:08 -05:00
Owen Clarke
f36f483d1e Bug #944
- Fixed merge.t failing when run on an NFS share
2012-03-05 08:26:08 +11:00
Paul Beckingham
f898120829 Documentation
- Updated taskrc.5 to reflect deprecated configuration values.
2012-03-04 12:54:40 -05:00
Paul Beckingham
77200d7eb4 Bug #837
- Fixed bug #837, which caused incorrect urgency calculations for tasks that
  have completed dependencies, and problems when editing those tasks (thanks
  to Matt Kraai).
- Added Task::addDependency (const std::string&) method for reconstructing
  dependencies on tasks with no ID.
- Modfified Task::urgency_blocked so that it considers the blocking task's
  status.  This is an expensive test, and so it is wrapped by a cheaper test
  to see if there are/were any dependencies at all.  This means that urgency
  calculations are not slowed for tasks without dependencies, and is slower
  but more accurate for tasks that do have dependencies.
- Modified edit command so that dependencies are shown as IDs or UUIDs
  depending on whether the task is pending or not.
- Modified edit command so that dependencies are parsed as IDs or UUIDs
  depending on whether the task is pending or not.
- Modified wording in the template of the edit command to reflect the above.
- Added unit tests bug.837.t.
2012-03-04 00:05:11 -05:00
Paul Beckingham
1582fb1f88 Version bumped. 2012-03-03 17:05:22 -05:00
Paul Beckingham
94627df5de Portability
- Fixed compiler warnings on Ubuntu.
2012-03-03 16:25:55 -05:00
Paul Beckingham
761ef296ad Code Cleanup
- Eliminatd helpers.cpp, and the redundant getFullDescription function
  therein.
- The timesheet report now uses standard description formatting.
2012-03-03 16:08:21 -05:00
Paul Beckingham
a300dba2df Code Cleanup
- Removed use of getFullDescription in CmdInfo.
2012-03-03 15:41:07 -05:00
Paul Beckingham
ee92438ba8 Documentation
- Updated DEVELOPER information.
2012-03-03 15:34:13 -05:00
Paul Beckingham
facb795f88 Code Cleanup
- Eliminated redundant getDueDate helper function.
2012-03-03 14:40:35 -05:00
Paul Beckingham
0f4bcefcff Code Cleanup
- Relocated code from helper.cpp to feedback.cpp.
- Fixed typo.
2012-03-03 14:24:41 -05:00
Paul Beckingham
524f7f0919 Unit Tests
- Now that the 'diagnostics' command can detect duplicate UUID
  values, it makes sense to incorporate that into unit tests that
  employ multiple recurring tasks.
2012-03-03 10:05:27 -05:00
Paul Beckingham
173d24b3fb Oops
- Inadvertently committed a UDA formatting change that isn't ready.
2012-03-03 09:50:43 -05:00
Paul Beckingham
46b275c3ce Feedback
- When bulk tasks are modified, the "project changed" messages are
  now retained until processing is completed, so that only one message
  per project is generated.
2012-03-03 09:46:11 -05:00
Paul Beckingham
d4f85484df Internals
- Modified color processing so that it can be disabled completely at
  compile time.  This is to assist the Windows port.
2012-03-03 09:08:46 -05:00
Paul Beckingham
d230ea4001 Diagnostics
- The 'diagnostics' command now checks for duplicate UUID values in the data.
2012-02-28 01:22:57 -05:00
Paul Beckingham
50825bc61a Bug #851
- Fixed bug #851, which failed to recognize durations like '1day' when
  filtering date attributes (thanks to Philipp Woelfel).
- Added unit tests.
2012-02-28 00:27:48 -05:00
Paul Beckingham
9eee2e3e3e Bug #447
- Indicated that #447 was fixed alongside #942.
2012-02-27 20:18:11 -05:00
Paul Beckingham
8c0971425f Bug #942
- Fixed bug #942, which only allowed dates to be edited if they changed day
  (thanks to Owen Clarke).
2012-02-27 20:10:19 -05:00
Paul Beckingham
e42a5a831a Bug #865, #886
- Fixed bugs #865 and #886, which caused silent failure of unrecognized dates
  (thanks to Michelle Crane).
2012-02-27 00:36:53 -05:00
Paul Beckingham
5feb736939 Bug
- Fixed problem where urgency was not properly calculated for waiting tasks.
- Tweaked urgency coefficients to make most of the values closer together, and
  therefore more sensitive.
- Inverted 'waiting' coefficient.
- Boosted 'next', 'due' and 'blocking' coefficients.
- Modified unit tests accordingly.
- Lessened the impact of 'blocked', 'project', 'tags' and 'age'.
2012-02-26 23:13:15 -05:00
Owen Clarke
9fb015f72c Portability
- Added new 'format' overload to resolve compiler warnings on Solaris.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-02-26 18:49:13 -05:00
Paul Beckingham
0fe5887af8 Unit Tests
- Change #819 test to pass, because the bug is deferred.
- Change #884 test to pass, because the bug is deferred.
- Added Najmi Ahmad Zabidi to AUTHORS file, for suggesting a specific
  verbosity control.
- Added some stealth unit tests.
2012-02-26 17:56:15 -05:00
Paul Beckingham
8af872e289 Bug
- Fixed problem where update-holidays.pl did not use the YYYYMMDD date foramt.
2012-02-26 17:05:16 -05:00
Paul Beckingham
824cba7152 Bugs #552, #863
- Fixed bug #552, where 'rc.verbose=off' suppressed warnings (thanks to Peter
  De Poorter).
- Fixed bug #863, which suppressed report labels with rc.verbose=off (thanks to
  Michelle Crane).
2012-02-26 17:01:13 -05:00
Paul Beckingham
45dba8805c Documentation
- Added deprecated configuration file values.
2012-02-26 15:06:55 -05:00
Paul Beckingham
5b3cba2e70 Unit Tests
- Enabled more recurring task tests.
2012-02-26 14:57:21 -05:00
Paul Beckingham
bcf416e71f Unit Tests
- Added tests for #884.
2012-02-26 14:38:48 -05:00
Paul Beckingham
ceabcdd6c3 Unit Tests
- Reduced complexity in the test.
2012-02-26 14:37:01 -05:00
Paul Beckingham
5396c718ef Unit Tests
- Added test to illustrate the workaround.
2012-02-26 14:02:40 -05:00
Paul Beckingham
1f5146e7a0 Unit Tests
- Corrected test count and removed diag output.
2012-02-26 13:39:55 -05:00
Paul Beckingham
9d74b55d48 Feature #725
- Added feature #725, which provides feedback when tasks become unblocked.
- Added unit tests.
2012-02-26 13:08:40 -05:00
Paul Beckingham
56f0281ab1 Git
- Added doc/misc/tutorial to .gitignore to get it out of my face.
2012-02-26 12:35:43 -05:00
Paul Beckingham
3133616b67 Unit tests
- Enabled some disabled regex filter tests.
2012-02-26 10:57:59 -05:00
Owen Clarke
7c2d97d939 Unit Tests
- Fixed 'witching hour' bug in unit tests that causes problems when run
  in assorted time zones.  By using str2time to get the epoch value of
  a known local time, this should fix failures that occur.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-02-25 23:13:41 -05:00
Owen Clarke
049f34d339 Portability
- Improved run_all script to run on Solaris.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-02-25 23:10:11 -05:00
Paul Beckingham
a9de8a6596 Verbosity
- Tweak to 'affected' token.  Needs more.
2012-02-24 18:27:39 -05:00
Paul Beckingham
e0aabe08bf Unit Tests
- Fixed broken DOM tests.
2012-02-24 18:26:35 -05:00
Paul Beckingham
a495b05d6b Bug #938
- Made alternate fix to CmdUrgency.cpp, to avoid the ambiguity around
  the format() signatures (thanks to Owen Clarke).
2012-02-23 20:48:01 -05:00
Owen Clarke
87853bdd78 Bug #938
- Fixed compiler warnings on Solaris.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-02-23 20:43:54 -05:00
Owen Clarke
25a1b89156 Bug #938
- Fixed incorrect return type.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-02-23 20:33:05 -05:00
Paul Beckingham
9c641fd778 Credit
- Updated ChangeLog to reflect recent patches.
2012-02-23 20:27:38 -05:00
Owen Clarke
3ba0b62783 Bug #937
- Fixed problem with incomplete 'stat' path.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-02-23 20:23:05 -05:00
Owen Clarke
8e5afa0d8a Bug #936
- Fixed failing tests on Solaris.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-02-23 20:16:39 -05:00
Owen Clarke
ed6bdd7bdc Bug #936
- Fixed failing tests on Solaris.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-02-23 20:13:44 -05:00
Owen Clarke
3b9a737ac4 Bug #936
- Fixed failing tests on Solaris.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-02-23 19:58:42 -05:00
Paul Beckingham
15a0d7a801 Bug #880
- Fixed bug #880, which listed the wrong file paths for themes (thanks to Peter
  Lewis).
2012-02-23 17:26:52 -05:00
Federico Hernandez
8521e6d1e7 New try for RC1 2012-02-22 01:39:45 +01:00
Paul Beckingham
21e006319a Beta5
- Set version back to beta5 for a quick patch.
2012-02-21 19:30:33 -05:00
Paul Beckingham
33e2a1b52c Merge branch '2.0.0' of tasktools.org:task into 2.0.0 2012-02-21 19:29:11 -05:00
Paul Beckingham
1a7ed9e137 Debugging
- Inadvertently left in a debug statement.
2012-02-21 19:26:17 -05:00
Federico Hernandez
efa1914be5 Bumped version number to RC1 2012-02-22 01:09:49 +01:00
Paul Beckingham
1f8e823593 Holidays Updated
- Modified update-holidays.pl script to include the MIT license.
- Added the URLs used to download the data, in the data.
- Added a refresh script to freshen the files.
2012-02-21 17:23:57 -05:00
Paul Beckingham
b17be021db Credit
- Added Luke Macken to the AUTHORS file.  Forgot to include it in the
  previous patch.
2012-02-20 17:37:38 -05:00
Luke Macken
1358a8302f Portability
Manually include unistd.h in a couple of places get things building with gcc
4.7, which removed it from the global namespace. This fixes the following build
errors:

    src/A3.cpp:283:3: error: 'STDIN_FILENO' was not declared in this scope
    src/commands/CmdEdit.cpp:598:30: error: 'getpid' was not declared in this scope
    src/commands/CmdEdit.cpp:603:47: error: 'chdir' was not declared in this scope

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-02-20 17:31:30 -05:00
Paul Beckingham
39998d5cc5 Bug #932
- Fixed bug #932, which fixed change propagation for recurring tasks (thanks to
  Jennifer Cormier).
- Added unit tests, corrected some.
2012-02-20 17:25:31 -05:00
Paul Beckingham
259f39f2d2 Performance
- Corrected performance measurement.  The TDB2::gc requires data to
  be loaded first, but load time is measured separately.  This resulted
  in repeat counting.  Now the gc time subtracts any load time that is
  accumulated *during* the gc.  This is now a fair accounting of the time.
2012-02-20 09:26:52 -05:00
Paul Beckingham
d386081c4c Bug
- Modified format 'uuid.short' to show the leftmost 8 characters from
  a UUID, which is the same as partial UUID matching implemented in
  #891.
2012-02-20 01:23:34 -05:00
Paul Beckingham
9f8165e3c6 Bug #932 (part 1)
- Fixed bug that caused only parent recurring tasks to have their attributes
  properly removed.
- When duplicating a parent recurring task, a new recurring parent task is
  created.  When a child recurring task is duplicated, a plain task is created.
- Added unit tests.
- Thanks to Jennifer Cormier.
2012-02-20 01:10:42 -05:00
Paul Beckingham
0a0e8f0d6b Bug - UTF8
- Fixed bug in the handling of UTF8 JSON data from holidata.net, when
  update-holidays.pl when decoding and writing files.
2012-02-19 23:22:45 -05:00
Paul Beckingham
7a45db4d0f Feature #891
- Added feature #891, which allows for leftmost partial matches of UUID values.
  Makes direct comparisons for full-length values, and regular expressions for
  partial values.  Note that there is a minimum length of 8 hex digits.
- Added safety parsing mechanism that fails a partial UUID if immediately
  followed by a hex digit.  This allows for numbers longer than 8 digits to not
  be misinterpreted as a UUID.
- Implemented Nibbler::getPartialUUID.
- Implemented unit tests.
@@ -1145,12 +1145,23 @@ const A3 A3::sequence (const A3& input) const

   for (unsigned int i = 0; i < uuids.size (); ++i)
   {
-    if (ids.size ())
+    if (ids.size () + i > 0)
       sequenced.push_back (Arg ("or", Arg::cat_op));

-    sequenced.push_back (Arg ("uuid",        Arg::type_string, Arg::cat_dom));
-    sequenced.push_back (Arg ("=",                             Arg::cat_op));
-    sequenced.push_back (Arg (uuids[i],      Arg::type_string, Arg::cat_literal));
+    // A full-length UUID requires a string comparison.
+    if (uuids[i].length () == 36)
+    {
+      sequenced.push_back (Arg ("uuid",         Arg::type_string, Arg::cat_dom));
+      sequenced.push_back (Arg ("=",                              Arg::cat_op));
+      sequenced.push_back (Arg (uuids[i],       Arg::type_string, Arg::cat_literal));
+    }
+    // A UUID fragment is a leftmost comparison.
+    else
+    {
+      sequenced.push_back (Arg ("uuid",         Arg::type_string, Arg::cat_dom));
+      sequenced.push_back (Arg ("~",                              Arg::cat_op));
+      sequenced.push_back (Arg ("^" + uuids[i], Arg::type_string, Arg::cat_rx));
+    }
   }

   sequenced.push_back (Arg (")", Arg::cat_op));
@@ -1674,11 +1685,11 @@ bool A3::is_uuid (Nibbler& n, std::string& result)
   n.save ();
   result = "";
   std::string uuid;
-  if (n.getUUID (uuid))
+  if (n.getPartialUUID (uuid))
   {
     result += uuid;
     while (n.skip (',') &&
-           n.getUUID (uuid))
+           n.getPartialUUID (uuid))
     {
       result += ',' + uuid;
     }
@@ -1997,13 +2008,13 @@ bool A3::extract_uuid (
   Nibbler n (input);

   std::string uuid;
-  if (n.getUUID (uuid))
+  if (n.getPartialUUID (uuid))
   {
     sequence.push_back (uuid);

     while (n.skip (','))
     {
-      if (!n.getUUID (uuid))
+      if (!n.getPartialUUID (uuid))
         throw std::string (STRING_A3_UUID_AFTER_COMMA);

       sequence.push_back (uuid);
2012-02-19 22:27:40 -05:00
Paul Beckingham
c785836083 Feature #632
- Added feature #632, which allows environment variables TASKRC and TASKDATA
  to override .taskrc and .task directory locations (thanks to Steve Rader).
- Added unit tests.
+
2012-02-19 18:59:28 -05:00
Paul Beckingham
09431caf1c Bug
- Tag matching was being performed using the regex \b<tag>\b, which makes
  taskwarrior dependent on regex lib bugs for basic functionality.  This is
  now modified to use pseudo-operators _hastag_ and _notag_.
2012-02-19 17:20:11 -05:00
Michal Vyskocil
78e5891cd3 Portability
- lua_open has been declared as deprecated in lua 5.1 and removed from
  5.2. Usage of luaL_newstate is thus recommended in both series.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-02-15 19:26:26 -05:00
Paul Beckingham
26cc4e11f5 Unit Tests
- Improved verbosity unit tests.
2012-02-13 06:16:18 -05:00
Uli Martens
7fe5fc80e9 Bug #636
- Fixed bug #636, which causes the burndown reports to not honor the
  _forcecolor=off setting (thanks to Steve Rader, Uli Martens).

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-02-13 06:15:27 -05:00
Paul Beckingham
28a4947234 Bug #818
- Fixed bug #818, which caused partial tag matching (thanks to Joe Holloway).
- Note that the regex word boundary anchors are different for Solaris
  and Linux, and largely broken on OSX.
- Added unit tests.
2012-02-12 10:42:24 -05:00
Paul Beckingham
efb2476c15 Unit Tests
- Added bug.924.t unit tests.  I cannot replicate the bug, but a
  regerssion test should prevent any recurrence.
2012-02-12 08:41:08 -05:00
Uli Martens
0f60e8c758 Bug #929
- Fixed bug #929, which corrected argument handling for aliases.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-02-12 08:15:45 -05:00
Ralph Bean
53ac325705 Patch to fix broken build.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-02-05 22:47:36 -05:00
Paul Beckingham
96fe3f42ba Minor Refactoring
- Added support for more type-specific checks of attribute values.
- Added support for more type-specific attribute rendering.
- Improved generalized methods for checking columns in a report.
- Added unit tests.
- Minor code cleanup.
- Added secret hidden feature for internal testing.
2012-02-05 20:56:46 -05:00
Paul Beckingham
cffc42484e Code Cleanup
- Removed non-STL Nibbler method, which makes way for a future optimization
  in the form of a non-copying Nibbler.
2012-02-05 15:28:09 -05:00
Paul Beckingham
c0f8ab3249 Configuration Cleanup
- Fixed typos in default config file.
- Removed default values for edit.verbose and echo.command, both of
  which are deprecated.
2012-02-05 14:37:22 -05:00
Paul Beckingham
412396d35b Code Cleanup
- Removed restriction on waiting recurring tasks.
- Removed unused L10N string.
- Removed unnecessary include.
2012-02-05 10:08:10 -05:00
Paul Beckingham
86f113a24c Feature #609
- Added feature #609, which allows suppression of output labels and verbose
  text.
2012-02-03 00:05:46 -05:00
Paul Beckingham
8abc541777 Bug #906
- Fixed bug #906, which caused problems with inverted project matching (thanks
  to Uli Martens).
2012-02-02 23:51:31 -05:00
Paul Beckingham
565d14962d Bug #910
- Fixed bug #910, which caused unexpected behavior when duplicating a recurring
  task (thanks to Jennifer Cormier).
- Fixed typo in duplicate command that failed to remove the 'mask' attribute.
2012-02-02 23:31:22 -05:00
Paul Beckingham
2ce9322a28 Bug #917
- Fixed bug #917, which mis-encoded quotes (thanks to Uli Martens).
- Added unit tests.
- Minor unrelated edits.
2012-02-02 22:58:36 -05:00
Paul Beckingham
89b5c91a35 Unit Tests
- Corrected method name.
2012-01-30 20:27:50 -05:00
Paul Beckingham
1619441f87 Theme Sample generation
- Generating snapshots of themes now automated.
2012-01-30 20:27:17 -05:00
Paul Beckingham
bff868145d Bug #901
- Fixed bug #901, which was preventing multiple IDs and UUIDs from being used
  as a filter (thanks to Bryce Harrington).
2012-01-30 01:00:45 -05:00
Paul Beckingham
36e5e650d4 Feedback
- Converted std::cout to context.footnote, for custom reports and burndown.
  Not sure why they were wrong.
2012-01-30 00:42:15 -05:00
Paul Beckingham
5e4f7feff8 Performance
- Added a shortcut test that speeds up the decode process for most cases.
2012-01-30 00:18:53 -05:00
Paul Beckingham
5609711d47 Feature #571 - Special tag feedback
- The verbosity token 'special' now controls whether the feedback is provided
  when special tags are added to a task.
- Added new 'special' verbosity token documentation to man page.
- Added missing 'next' special tag to man page.
- Added new localized strings for describing special tags.
2012-01-29 18:28:07 -05:00
Paul Beckingham
bf9e14f581 Bug 899
- Fixed bug #899, which displayed incorrect project completion numbers (thanks
  to Paul-Gheorghe Barbu).
- Added unit tests.
2012-01-29 17:44:43 -05:00
Paul Beckingham
c092b027a6 Code Cleanup
- Removed 'synch_key' tests and file I/O.  Soon, soon...
2012-01-29 17:42:52 -05:00
Paul Beckingham
ec96d929a0 Bug 879 - Description/Annotation ending with Slash Causes Problems
- Backslashes actually.  The escaping mechanism in the low-level parser
  was eating leading \ characters when it should not.  Very hard bug to
  find, trivial to fix.
- Added unit tests to several components while narrowing this down.
2012-01-29 15:36:05 -05:00
Paul Beckingham
7a2bf28005 ChangeLog
- Updated ChangeLog to reflect several bugs that have been fixed, but
  were not reported.
2012-01-28 17:18:34 -05:00
Paul Beckingham
e05b3633f2 Bug - Summary report broken linefeeds
- Applied same #907 patch for CmdHistory.cpp to CmdSummary.cpp.
2012-01-28 10:43:11 -05:00
Paul Beckingham
6cf9790fac Code Cleanup
- Removed code that creates the ~/.task/extensions directory, which will not be
  needed until 2.1.  Until then, it is clutter.
2012-01-28 10:37:14 -05:00
Uli Martens
529161b711 Bug #905
- The problem was that the routine dependencyIsCircular() changed its behaviour
  in git revision 726fc33fe4, and the new version
  only checked tasks by id - but all completed/deleted tasks have the id0, which
  led to the problem.  The fix is extremelly simple, just get the dependencies
  by uuid instead of by id.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-01-23 06:24:51 -05:00
Paul Beckingham
6145f2d4a8 Typo
- Fixed typo in L10N name month names.
2012-01-22 14:41:00 -05:00
Uli Martens
851347fccc Bug #907
- The bug first occured in commit 36ed70ad93 and
  seems to be caused by the rewritten break point detection. This adds linefeeds
  into the table output, where they're not wanted.  This can be fixed by marking
  the respective tables as nonbreakable, as done in the attached patch.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-01-18 07:29:08 -05:00
Ralph Bean
184ba60df4 Portability
- Fixed GCC 4.3 compilation error.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-01-17 18:12:27 -05:00
Paul Beckingham
fe467640ca Bug #902 - 'task version' requires a .taskrc
- Added special case support for '--version' which bypasses all
  configuration.  Not documented.  For extension prgorams like
  'taskhelm', that need to determine whether taskwarrior is
  sufficiently current.
2012-01-16 22:44:59 -05:00
Paul Beckingham
15d25d4fdf Lua
- Tweaks to the Lua and extension API.  Note that this is a documentation-only
  change, meaning the design is being honed.  No support exists yet.
2012-01-15 11:39:53 -05:00
Paul Beckingham
15030599fd Unit Tests
- Added more verbosity token tests, which show up some unimplemented
  loose ends.
2012-01-12 16:49:54 -05:00
Paul Beckingham
35fdb4058d Doucmentation
- Updated PUNCHLIST doc, which at this point isn't very useful.
2012-01-12 16:48:38 -05:00
Paul Beckingham
7cc3544f74 Bug #897
- Fixed bug #897, which omitted the UUID field from the 'completed'
  report, which is essential if you need to modify a completed task
  (thanks to Eli Lev).
2012-01-12 16:47:08 -05:00
Paul Beckingham
205d4fe29f Cleanup
- Removed git conflict marker (thanks to Uli Martens).
2012-01-12 01:06:26 -05:00
Paul Beckingham
71a15f9d44 Documentation
- Corrected some example command lines (thanks to Eric Fluger).
2012-01-10 23:21:21 -05:00
Paul Beckingham
9853bfee46 Unit Tests
- Restored a 'skip' unit test, because it works most of the time, and
  only fails during the one end of daylight savings day.  Along with
  several others.
2012-01-10 23:19:54 -05:00
Paul Beckingham
0c93d22720 Merge branch '2.0.0' of tasktools.org:task into 2.0.0
Conflicts:
	DEVELOPER
2012-01-10 18:00:08 -05:00
Ralph Bean
36ed70ad93 Exports
- Provided sample sqlite3 export script in Python, to serve as a
  starting point for anyone wanting to migrate taskwarrior data into
  a SQL database.  Illustrates JSON parsing and separation of the
  relational data.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-01-10 17:58:34 -05:00
Ralph Bean
76e87173e1 Exports
- Provided sample sqlite3 export script in Python, to serve as a
  starting point for anyone wanting to migrate taskwarrior data into
  a SQL database.  Illustrates JSON parsing and separation of the
  relational data.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-01-07 12:31:08 -05:00
Paul Beckingham
0215e708ad Unit Tests
- Fixed bug in TAP 'diag' output generation, which was missing a newline.
2012-01-05 23:29:33 -05:00
Paul Beckingham
938a33f236 Unit Tests
- Typo in #ifdef caused incorrect number of reported tests.
2012-01-05 20:17:03 -05:00
Owen Clarke
7c90d1e8cc Bug - Default TZ not always UTC.
From Owen:

I tried mktime on Darwin an Linux; looks like they both default to UTC if the TZ
environment variable is unset but on Solaris it defaults to the local timezone.
I compiled and ran the tests and checked the behaviour by running:

date
TZ="" date
TZ="UTC" date

On Solaris the first two are in local time and the third is in UTC.
On Darwin and Linux the first one is in local time and the other two are in UTC.

Found this as a reference, too, which mentions the suggested implementation in
'man 3 timegm':

http://stackoverflow.com/questions/6467844/is-c-mktime-different-on-windows-and-gnu-linux

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-01-05 18:08:24 -05:00
Owen Clarke
afcd362f67 + Fixed problem with duplicate 'project changed' messages.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-01-05 17:43:29 -05:00
Paul Beckingham
fb38dca1db Parsing
- Integrated modified Nibbler and test code from kronisk.  These
  changes make both test and Nibbler standalone objects, with configurable
  features.
2012-01-05 17:37:50 -05:00
Paul Beckingham
a262d41828 Backlog
- Removed backlog file processing, which slows down processing.  When
  2.1 has taskd support, the backlog will be cleared, but until then there
  is no point in accumulating transactions.
2012-01-03 00:55:20 -05:00
Paul Beckingham
bdc1d558f5 Cleanup
- Removed stats message that was taskd-specific.  It will be re-added
  for 2.1.
2012-01-03 00:45:26 -05:00
Paul Beckingham
6580095002 Copyright
- Year change.
2012-01-02 23:32:10 -05:00
Paul Beckingham
4eb5c8a0db Urgency
- Made the default urgency.age.coefficient non-zero.
- Updated documentation regarding new configuration settings.
2012-01-02 22:33:25 -05:00
Paul Beckingham
b35a2f54bb Documentation
- Removed "suspicion" comment about the autovivifying of map keys.
  Credited Dmitriy properly.
2011-12-31 11:39:50 -05:00
Paul Beckingham
2e2521a4cf Bug #892
- Possible fix for bug #892, which I cannot replicate anyway.  This fix
  involves testing my suspicion that std::map autovivifies via
  std::map::operator[], which is not nice.  Will ask Dmitriy to confirm.
2011-12-31 11:00:30 -05:00
Paul Beckingham
0c0999e9a8 Documentation
- Added note about the failing unit tests that always happens at
  EOY.
2011-12-31 10:12:50 -05:00
Paul Beckingham
0001457612 Enhancement
- Added indentTree function that will provide the basis for a new 'projects'
  command, and potentially more.  Includes unit tests.  Based on a patch from
  Ralph Bean.
2011-12-27 15:32:51 -05:00
Paul Beckingham
fb842cd5f5 Documentation
- Finished incomplete sentence.
2011-12-18 12:37:09 -05:00
Wilhelm Schuermann
726fc33fe4 Bug #887
- Fixed circular dependency detection by implementing a basic DFS

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-12-18 12:11:14 -05:00
Wilhelm Schuermann
30a97f5f52 Cleanup
- Removed unnecessary definitions of max() and min(), replaced existent calls
  with std::max().  Precursor to Bugfix #887.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-12-18 10:13:21 -05:00
Johannes Schlatow
69fecbb2c0 Urgency
- Age-dependet urgency calculation now normalizes.
2011-12-17 19:08:31 +01:00
Johannes Schlatow
3d33d90d57 Urgency
- Added a coefficient for ageing which is the increase (or decrease)
   of urgency per day. The calculated urgency offset due to ageing
   can be limited by setting urgency.age.max.
2011-12-16 20:54:03 +01:00
Paul Beckingham
52f70f6901 Regexes
- Added support for \< and \> for Solaris (thanks to Owen Clarke).
2011-12-16 07:44:19 -05:00
Owen Clarke
f173469f98 Unit Tests
- Fixed test so it work on Solaris and Perl 5.8.4.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-12-16 07:36:46 -05:00
Owen Clarke
c978baf36a Bug
- Fixed bug that was not properly evaluating cases where recurrence was
  being removed from a task.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-12-15 21:06:46 -05:00
Paul Beckingham
dac2838ecc Documentation
- Removed completed item from DEVELOPER file.
2011-12-10 10:39:07 -05:00
Martin Klepsch
782e3936b8 - Adds "monthly" as frequency to manpage
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-12-10 10:20:01 -05:00
Johannes Schlatow
56d652d058 Unit Tests
- re-opened bug #819
2011-12-02 17:11:50 +01:00
Paul Beckingham
e99a03dbcb Unit Tests
- Automatically passes tests that are known problems on OSX.  These are
  limitations in the regex library that cannot be worked around.
2011-12-01 01:01:16 -05:00
Paul Beckingham
1d9a11f8ea I18N
- Localization of CmdEdit.cpp, which means L10N is complete.
2011-12-01 00:46:54 -05:00
Paul Beckingham
c25bb6404f Merge branch '2.0.0' of tasktools.org:task into 2.0.0 2011-12-01 00:04:04 -05:00
Paul Beckingham
375faf8cd8 I18N
- Localized feedback.cpp, helpers.cpp.  One more source file left!
2011-12-01 00:03:26 -05:00
Johannes Schlatow
38aef0d8b4 Bug
- Fixed that 'ssh://host/~/path' was wrongly translated into
   scp syntax; it must be 'host:~/path' instead of 'host:/~/path'
2011-11-30 00:15:08 +01:00
Johannes Schlatow
d8d2060b39 Bug #871
- Fixed escaping of spaces for scp and curl
2011-11-30 00:12:20 +01:00
Johannes Schlatow
edad4d2ee6 Feature #881
- Passwords in URIs will now be obscured
   (affects the commands show, merge, pull and push)
2011-11-29 22:38:33 +01:00
Johannes Schlatow
f20163ef7d Bug
- Fixed bug that marked config variables
   {push,pull,merge}.*.uri as "unrecognized".
2011-11-29 22:35:03 +01:00
Johannes Schlatow
ab575372d7 Feature #881
* fixed output for local URIs
2011-11-28 23:37:28 +01:00
Johannes Schlatow
ea44eaac1c Feature #881
* Output of URIs (during merge, pull, push) now omits passwords.
2011-11-28 22:45:31 +01:00
Dirk Deimeke
93337f499e Bug
- Applied patch from Dirk to fix a problem on Cygwin with a $PATH
  that contain spaces.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-11-22 07:08:51 -05:00
Paul Beckingham
e7428663d2 L10N
- Added mechanism that displays the target language and tranlator's name
  for non-standard localizations.
2011-11-20 19:52:54 -05:00
Matt Kraai
3a4871e975 Signed-off-by: Paul Beckingham <paul@beckingham.net>
Bug #836

 - Make A3 use same the number representation as the user.
2011-11-14 23:46:56 -05:00
Paul Beckingham
6473c9f39b Unit Test Bug
- Fixed an odd bug in the unit tests.  If today is the 14th of the month,
  then subtracting 14 * 86_400 from the current time results in a date that
  is in the prior month.  Except of course, for one month following the shift
  from summer time to standard time, when the test is run between 11:00pm and
  midnight.  The reverse happens in the spring.
2011-11-14 23:40:19 -05:00
Paul Beckingham
9e28b5311c I18N
- Improved an error message that really needed to state that the error
  is in the config file.
2011-11-14 23:03:14 -05:00
Johannes Schlatow
064eacd6bc Bug
- Fixed problem with execute; the rc argument and rc.* overrides
   were added to the command line.
2011-11-11 00:05:04 +01:00
Paul Beckingham
70124972c2 Documentation
- Updated reference sheet with new 'uuids' command.
2011-10-30 00:01:27 -04:00
Paul Beckingham
e13ad1bbaf Feature
- Added a 'uuids' command that parallels the 'ids' command.  This allows
  task UUIDs to be selected if the task is not pending.
- Updated documentation.
2011-10-29 23:53:36 -04:00
Paul Beckingham
01087c0ff4 Bug
- Fixed problem with DOM-checking the 'limit' pseudo-attribute (thanks to
  Barton Meeks).
2011-10-29 23:47:21 -04:00
Paul Beckingham
f7b593e958 Themes
- Updated solarized themes from Stefan Keel.
2011-10-29 10:58:46 -04:00
Paul Beckingham
7f577e8885 Code Cleanup
- Minor edits.
2011-10-29 10:49:41 -04:00
Paul Beckingham
ef68d1785f Documentation
- Shorted the command usage strings shown in the 'help' output, to
  match the names in the reference PDF.
2011-10-24 00:30:42 -04:00
Paul Beckingham
4e7d2e01fa Documentation
- Updated reference doc to properly align the edges.
2011-10-24 00:15:29 -04:00
Paul Beckingham
e5303a2180 Deletion
- An already-completed task may now also be deleted.
- Added unit tests.
2011-10-23 23:49:25 -04:00
Paul Beckingham
fce2469f41 Deletion
- Allows the deletion of an already-completed task, provided it is
  addressed by UUID.
- Displays UUID in cases where there is no ID.
2011-10-22 23:44:54 -04:00
Paul Beckingham
28133f8567 Legacy Checking
- Added previously deprecated configuration variables to the list that
  are mentioned by the 'show' command.
2011-10-22 23:33:30 -04:00
Paul Beckingham
0aa953dc4e Legacy Checking
- The 'show' command now mentions use of any deprecated configuration
  variables.
2011-10-22 23:28:31 -04:00
Paul Beckingham
dc3470a9a8 Bug
- Fixed problem where burndown chart titles were displayed in postfix,
  rather than original form.
2011-10-22 23:04:36 -04:00
Paul Beckingham
56f33cf96a Statistics
- Added last synch time to the stats command output.
2011-10-21 18:07:20 -04:00
Paul Beckingham
dd88965d3a Unit Tests
- The timesheet tests were doing data math wrong.
2011-10-21 00:42:26 -04:00
Paul Beckingham
ba0d471981 Unit Tests
- rx.t was mis-reporting the expected number of tests.
2011-10-21 00:27:02 -04:00
Paul Beckingham
222c44b6f1 Project Status
- The modify command was calling the wrong onProjectChange variant, which
  yielded the wrong status message.
2011-10-21 00:17:35 -04:00
Paul Beckingham
670fe1f3e5 Performance
- Added std::vector::reserve calls to reduce allocations and copying.
2011-10-21 00:12:45 -04:00
Paul Beckingham
bc12ac1ee6 DOM
- Fixed DOM bug that was performing the lookup '1.due' by locating task
  1, then attempting a get of the '1.due' attribute, instead of just 'due'.
2011-10-16 23:33:06 -04:00
Federico Hernandez
330cc0218b Merge branch '2.0.0' of tasktools.org:task into 2.0.0 2011-10-16 22:57:09 +02:00
Federico Hernandez
da573ef717 Bumped version number to 2.0.0.beta5 2011-10-16 22:56:46 +02:00
Federico Hernandez
821a0720c4 Bumped version number to 2.0.0.beta4 2011-10-16 22:54:46 +02:00
Federico Hernandez
1fa48f7a89 License
- re-licensed vim scripts under MIT.
2011-10-16 22:31:28 +02:00
Paul Beckingham
605d4db4c4 Documentation
- Made the DEVELOPER file current.
- Completed draft 1 of the EXPOSITION file.  Needs feedback.
2011-10-16 13:29:44 -04:00
Paul Beckingham
c33d67949b Feedback
- Corrected algorithm for detecting task differences.  It was mis-
  reporting removed attributes as both deleted and changed.
2011-10-16 11:20:28 -04:00
Paul Beckingham
fc9f9980b8 Unit Tests
- Added more word-boundary tests, even though they are broken on OSX.
  I don't think there is anythign we can do about this.
2011-10-16 11:19:33 -04:00
Paul Beckingham
4f26b13d82 Documentation
- Made the DEVELOPER file current.
2011-10-16 11:19:13 -04:00
Paul Beckingham
c1cf2b743d Unit Tests
- Fixed several test files that were reporting an incorrect test count.
2011-10-16 01:02:19 -04:00
Paul Beckingham
6e72430a58 Unit Tests
- Corrected cleanup code for bug.hang.t which was removing the wrong
  config file.
2011-10-16 00:46:38 -04:00
Paul Beckingham
45262be011 Bug #860
- Fixed bug #860, which prevented lower-case priority values from being
  accepted (thanks to Michelle Crane).
- Added unit tests.
- Also included ChangeLog updates from other fixes that were misseed.
2011-10-16 00:46:13 -04:00
Paul Beckingham
aaa8c5e950 Confirmation
- Modified the 'modify' command so that it only applies changes if
  the requested changes made a difference.  For example if the command

    task 1 mod pri:H

  was followed by:

    task 1 mod pri:H

  then the second command will report 'task not changed'.
2011-10-15 23:07:35 -04:00
Paul Beckingham
3786e6cff3 Confirmation
- The 'delete' command now requires confirmation by default, unless
  rc.confirmation=off.  Implemented properly this time.
2011-10-15 23:06:38 -04:00
Paul Beckingham
27d6407493 Bulk
- Modified the meaning of 'rc.bulk'.  The old meaning was: the largest number
  of tasks that could be modified without confirmation.  New meaning is: the
  number of tasks that trigger bulk confirmation.  Default was 2 (meaning that
  2 tasks affected were not in need of confirmation), is now 3 (meaning 3 tasks
  now trigger confirmation.
  Despite the dog's dinner I made of the preceding statement, the configuration
  variable is now easier to understand.
2011-10-15 23:02:01 -04:00
Paul Beckingham
44e7fdac4b Unit Tests
- Improved signal to noise ratio of all remaining unit tests.
2011-10-15 22:25:38 -04:00
Paul Beckingham
548272fb3a Confirmation
- Removed confirmation override imposed by the 'delete' command.  Consistency
  prevails.
2011-10-15 19:11:55 -04:00
Paul Beckingham
23991f72da Unit Tests
- Removed bulk tests that are obsoleted by those in bulk.t.
2011-10-15 19:09:32 -04:00
Paul Beckingham
88cab4825c Unit Tests
- Implemented new 'bulk.t' to test confirmation and bulk confirmation for
  sets of 1, 2 and 3 tasks (single, multiple, bulk).  This test file obsoletes
  several unit tests in other files.
2011-10-15 19:06:34 -04:00
Paul Beckingham
4d03cdce3b Unit Tests
- Marked the 'soq' test as skipped for now, because it is wrong.
2011-10-15 17:00:24 -04:00
Paul Beckingham
6677dd2104 Unit Tests
- Now that bulk modifications trigger confirmation properly, the tests
  need to raise bulk=3 to a higher value.
2011-10-15 16:59:34 -04:00
Paul Beckingham
a06bba7379 Unit Tests
- Reworded test to match the new confirmation.
2011-10-15 16:52:54 -04:00
Paul Beckingham
f04304d24b Unit Tests
- Added rc.confirmation=off to unit tests to bypass the new, stringent
  confirmation rules.
2011-10-14 03:04:16 -04:00
Paul Beckingham
75571a47de L10N Cleanup
- Removed obsolete strings.
2011-10-14 02:54:41 -04:00
Paul Beckingham
bebd38c6d8 Confirmation
- Implemented consistent confirmation.
2011-10-14 02:53:42 -04:00
Paul Beckingham
a36cd3cbd1 Confirmation
- Implemented consistent confirmation.
2011-10-14 02:46:52 -04:00
Paul Beckingham
af3bbc21d2 Confirmation
- Implemented consistent confirmation.
2011-10-14 02:41:26 -04:00
Paul Beckingham
e73c255612 Confirmation
- Implemented consistent confirmation.
2011-10-14 02:35:24 -04:00
Paul Beckingham
02e7c4f3ce Confirmation
- Implemented consistent confirmation.
2011-10-14 02:23:22 -04:00
Paul Beckingham
1b54516b45 Confirmation
- Implemented consistent confirmation.
2011-10-14 02:13:18 -04:00
Paul Beckingham
a5961f6847 Confirmation
- Implemented consistent confirmation.
2011-10-14 02:01:36 -04:00
Paul Beckingham
6aee2fc7b9 Permissions
- Merged old Permission functionality into Command::permission, and
  updated it to handle single vs bulk updates and verbosity tokens.
2011-10-14 01:52:33 -04:00
Paul Beckingham
cd6c681ba5 Feedback
- Implemented consistent 'affected' feedback across all write commands.
2011-10-14 01:51:43 -04:00
Paul Beckingham
95ff528e60 Code Cleanup
- Removed obsolete Permission object.
2011-10-14 01:50:46 -04:00
Paul Beckingham
6b40b0fb4a Confirmation
- Implemented consistent confirmation.
2011-10-14 01:50:16 -04:00
Paul Beckingham
821c554e41 Confirmation
- Implemented consistent confirmation.
2011-10-14 01:49:39 -04:00
Paul Beckingham
6e1ad5207d Unit Tests
- Corrected unit tests to match task output.
2011-10-12 01:26:59 -04:00
Paul Beckingham
8497e86800 Logic Bug
- Fixed logic bug in bulk and recurring task modifications.
2011-10-12 01:09:48 -04:00
Paul Beckingham
d11c1bfe51 Logic Bug
- Fixed logic bug in bulk and recurring task duplication.
2011-10-12 01:03:28 -04:00
Paul Beckingham
4feb1e2121 Logic Bug
- Fixed logic bug with bulk and recurring task denotations.
2011-10-12 00:30:17 -04:00
Paul Beckingham
afe7cbef91 White Space
- Removed blank lines.
2011-10-12 00:25:45 -04:00
Paul Beckingham
f4cd733311 Logic Bug
- Fixed logic bug with bulk and recurring task annotations.
2011-10-12 00:25:14 -04:00
Paul Beckingham
4d7d0f04f3 Logic Bug
- Fixed logic bug with bulk and recurring tasks prepends.
2011-10-12 00:21:49 -04:00
Paul Beckingham
988ab7ada0 Logic Bug
- Fixed logic bug dealing wiht bulk updates and recurring tasks.
2011-10-12 00:20:05 -04:00
Paul Beckingham
9a7d631873 Logic Bug
- Fixed bug in bulk operation handling for recurring tasks.
2011-10-12 00:12:00 -04:00
Paul Beckingham
887439b914 Logic Bug
- Fixed large logic bug in start command for bulk operations and
  changes to recurring tasks.
2011-10-11 23:56:25 -04:00
Paul Beckingham
3ec00d9443 Code Cleanup
- Removed blank lines.
2011-10-11 23:55:19 -04:00
Paul Beckingham
98c6a94625 Whitespace
- Context::footnote and Context::header were accepting and displaying
  blank lines, which is silly.
2011-10-11 23:54:42 -04:00
Paul Beckingham
b7ab366c71 Unit Tests
- Improved signal to noise ratio.
2011-10-11 00:29:55 -04:00
Paul Beckingham
f64f45ac26 Unit Tests
- Improved signal to noise ratio.
2011-10-10 23:42:22 -04:00
Paul Beckingham
c879eb6811 Code Cleanup
- Renamed recur.t to recur.sort.t, because more recur unit tests are on the
  way, and this one was a misnomer.
- Minor edits - whitespace.
2011-10-10 22:54:28 -04:00
Paul Beckingham
cc168b137f Code Cleanup
- Removed incorrect comment.
2011-10-10 22:53:39 -04:00
Paul Beckingham
04614f536c Documentation
- Fixed typo (thanks to Aaron Jackson).
2011-10-10 07:46:04 -04:00
Paul Beckingham
c0d04a7bcd AUTHORS
- Added Greg Grossmeier, as thanks for the tremendous and perfectly-timed help.
2011-10-09 16:57:13 -04:00
Federico Hernandez
6346c5ed81 License
- last files with reference to GPL or GNU changed to MIT
2011-10-08 17:01:42 +02:00
Federico Hernandez
8d38725306 Merge branch '2.0.0' of tasktools.org:task into 2.0.0 2011-10-08 16:57:31 +02:00
Federico Hernandez
23e3bc56fb License
- perl unit tests
2011-10-08 16:57:13 +02:00
Paul Beckingham
997ed7079a Unit Tests
- Fixed unit test that relied on certain wording of the 'version'
  command output.
2011-10-08 10:48:50 -04:00
Federico Hernandez
af2a29ce3b License
- fish completion
2011-10-08 15:07:15 +02:00
Federico Hernandez
6aeed144ef License
- zsh completion
2011-10-08 15:03:50 +02:00
Federico Hernandez
e6a455f31d License
- scripts/utils
2011-10-08 14:51:08 +02:00
Federico Hernandez
f300daad39 License
- task bash completion
2011-10-08 14:46:24 +02:00
Federico Hernandez
487ad4e4bb License
- add-ons
2011-10-08 14:05:13 +02:00
Federico Hernandez
d97fc2fc6e License
- doc/rc files
2011-10-08 12:50:11 +02:00
Federico Hernandez
4d7a424c2e License
- files in scripts/extensions
2011-10-08 12:26:03 +02:00
Federico Hernandez
bbe218a6f1 License
- first round of unit tests
2011-10-08 12:17:42 +02:00
Federico Hernandez
571195b7b0 License
- task version output
2011-10-08 11:09:27 +02:00
Federico Hernandez
9df72bb5a2 License
- manpages
- reference page (wrong color format for link to licemse)
2011-10-08 10:56:45 +02:00
Federico Hernandez
3c1339cc4f License
- Change on reference page
2011-10-08 10:29:28 +02:00
Federico Hernandez
bdbbade620 License
- remaining files in src/Transport* src/Uri*
2011-10-08 10:25:02 +02:00
Federico Hernandez
961a1a9366 License
- moving from GPL to MIT license
  src/commands
2011-10-08 01:13:30 +02:00
Federico Hernandez
198cf16837 License
- moving from GPL to MIT license
  src/columns directory
2011-10-08 01:00:51 +02:00
Federico Hernandez
6fde8438d1 LICENSE
- replace GPL in COPYING file
- created new LICENSE file
- pointing to the LICENSE file from the README file
2011-10-08 00:09:34 +02:00
Federico Hernandez
8116c6a103 License
- moving task from GPL to MIT license
  top level src directory
2011-10-08 00:04:01 +02:00
Paul Beckingham
5c685153dc Bug #859
- Fixed bug #859, which used only one color for the 'ghistory.*' report
  legends (thanks to Uli Martens).
2011-10-06 23:05:23 -04:00
Paul Beckingham
d0d2bba614 Merge branch '2.0.0' of tasktools.org:task into 2.0.0
Conflicts:
	doc/ref/task-ref.pages
	doc/ref/task-ref.pdf
2011-10-06 22:58:10 -04:00
Paul Beckingham
4cab84fad9 Bug #861
- Fixed errors on the reference page (thanks to Michelle Crane).
2011-10-06 22:55:44 -04:00
Paul Beckingham
1009af83d0 Bug #862
- Fixed bug #862, which suppressed feedback from the 'denotate' command.
2011-10-06 08:44:16 -04:00
Federico Hernandez
084c2e5bc7 Install new reference page 2011-10-06 00:42:51 +02:00
Federico Hernandez
95af39148f Small corrections on the ref page 2011-10-05 16:17:54 +02:00
Paul Beckingham
d1a61b3d0e Documentation
- Added command reference for 2.0.  Based on the command reference
  by Stefan Keel.
2011-10-04 23:13:38 -04:00
Paul Beckingham
4a98cfa62b I18N
- Minor L10N edits and changes arising from the task-ref.pdf effort.
2011-10-04 01:10:47 -04:00
Federico Hernandez
348a75d216 Bumped version number to beta4 2011-10-03 21:44:54 +02:00
Paul Beckingham
83081c87bd I18N
- Localized 'calendar' command.
- Localized Date object, somewhat.
2011-10-02 23:08:23 -04:00
Paul Beckingham
6e21cc5b2a Legacy
- Relocated legacy checks from Config.cpp to legacy.cpp.
2011-10-02 18:05:20 -04:00
Paul Beckingham
d62ea4e223 Synch
- Added server configuration test to synch command.
2011-10-02 17:33:36 -04:00
Paul Beckingham
148eaa5e58 Task Server
- Added 'taskd.server' and 'taskd.credentials' as supported configuration
  variables.
- Added the 'taskd.server' values to the 'diagnostics' command output.
- Updated taskrc.5.in to mention the new variables.
2011-10-02 17:20:16 -04:00
Paul Beckingham
eed3cf5d0f Utilities
- Renamed 'verify' to 'verify_strings', because the old name is too
  generic.
2011-10-02 17:04:00 -04:00
Paul Beckingham
b656f3c7e0 Documentation
- Updated ChangeLog with bugs that mysteriously fixed themselves.
2011-10-02 17:01:18 -04:00
Paul Beckingham
4470a5f156 I18N
- Localized TDB2.
- Removed old debugging comments.
- Formatting fix in CmdBurndown.
2011-10-02 17:00:40 -04:00
Paul Beckingham
48796c5364 Documentation
- Added more deprecated stuff to the NEWS file.
2011-10-02 15:26:21 -04:00
Paul Beckingham
eaecc13cae Configuration
- Removed bizarre entries 'project' and 'column.spacing' from the list
  of allowed settings.
- Removed obsolete 'export.ical.class' setting.
2011-10-02 15:12:24 -04:00
Paul Beckingham
fdd660fb75 Configuration
- Corrected wording in a comment in the .taksrc defaults.
- Removed obsolete 'export.ical.class' setting.
2011-10-02 15:11:38 -04:00
Paul Beckingham
42f0252c4d Documentation
- For the help command, removed the trailing period from command
  descriptions.
- Removed unnecessary text.
2011-10-02 15:10:56 -04:00
Paul Beckingham
af10306b33 Documentation
- Major update of the task.1.in man page.
2011-10-02 15:09:05 -04:00
Paul Beckingham
d8b2b334d7 Documentation
- Updated taskrc.5.in to match the 2.0 supported settings.  This
  involved adding new and missing items, as well as removing items.
2011-10-02 15:02:13 -04:00
Paul Beckingham
d6e8a34984 Documentation
- Updated task-tutorial.5.in with new syntax.
- Removed examples using implicit 'info' command.
- Updated examples for new syntax.
- Updated copyright.
- Note that the tutorial is still firmly a 1.9.3 tutorial, with no
  new examples other than syntax changes.
2011-10-02 14:13:42 -04:00
Paul Beckingham
df0181940b Documentation
- Updated task-sync.5.in with updated copyright and simplified URLs.
2011-10-02 14:12:52 -04:00
Paul Beckingham
f91255d692 Documentation
- Updated task-color.5.in with various edits, corrections.
2011-10-02 14:12:17 -04:00
Paul Beckingham
d1986de1e3 Documentation
- Updated the task-faq.5.in man page, various edits.
- Now confrms to new syntax.
- Includes new questions on multiple simultaneous installations.
- Corrected answer to the xterm title question.
2011-10-02 14:08:56 -04:00
Paul Beckingham
562dfe7b81 Documentation
- Shrank the width of the 'help' command output somewhat.  It was a
  width hog.
2011-10-02 10:05:58 -04:00
Paul Beckingham
8ba2dc1fa1 Unit Tests
- Fixed tests that were broken by the new 'help' command output.
2011-10-02 09:49:55 -04:00
Paul Beckingham
4495e93f8d Legacy
- Moved more legacy checking code to legacy.cpp.
2011-10-02 01:04:16 -04:00
Paul Beckingham
66ca9add3a I18N
- Localized and updated the 'help' command.
2011-10-01 23:47:35 -04:00
Paul Beckingham
2826f1918e I18N
- Localized 'burndown.monthlu', 'burndown.weekly' and 'burndown.daily' commands.
2011-10-01 14:28:30 -04:00
Paul Beckingham
164a6b97ce I18N
- Localized 'merge' command.
2011-10-01 13:16:59 -04:00
Paul Beckingham
81ca87b7da I18N
- Localized E9.
2011-10-01 13:13:30 -04:00
Paul Beckingham
2c69d4871d I18N
- Localized 'diagnostics' command.
2011-10-01 12:24:14 -04:00
Paul Beckingham
a59a2f7234 I18N
- Localized 'timesheet' command.
2011-10-01 12:03:34 -04:00
Paul Beckingham
14343e8e4d Documentation
- Improved the working in the 'edit' command template.
2011-10-01 11:49:41 -04:00
Paul Beckingham
7b34344626 Debug Output
- Removed unnecessary A3::dump call.
- Corrected comment.
2011-10-01 11:47:54 -04:00
Paul Beckingham
160c9708a5 Verbosity
- Deprecated 'rc.edit.verbose'.
- Added support for verbosity token 'edit'.
- Updated documentation.
2011-10-01 11:34:05 -04:00
Paul Beckingham
8ccce069d9 Documentation
- Missed a verbosity token.
2011-10-01 11:26:50 -04:00
Paul Beckingham
78f91ffa91 Verbosity
- Added 'affected' verbosity token.
- Deprecated 'rc.echo.command'.
- Updated config defaults.
- Labelled all deprecated 'echo.command' references with '// Deprecated 2.0'
- Added unit tests to start the verbosity testing.  Not complete.
- Updated taskrc.5 man page.
2011-10-01 11:16:12 -04:00
Paul Beckingham
de481a7eba Help
- Made all the usage strings for the 'help' command consistent with the
  implementation and with visual alignment.
2011-10-01 00:42:27 -04:00
Federico Hernandez
87bca169c5 Cleanup ANALYSIS 2011-09-29 23:51:13 +02:00
Paul Beckingham
87d940c46d Bugs #822, #845
- Fixed bug #822, #845, which generated incorrect IDs (thanks to Matt Kraai and
  Michelle Crane).
2011-09-29 00:00:36 -04:00
Paul Beckingham
a99aa217d0 Bug #856
- Fixed bug #856, which prevented filters on missing project from working
  (thanks to Michelle Crane).
2011-09-28 23:26:07 -04:00
Federico Hernandez
373af5ba65 Updated ANALYSIS file 2011-09-27 23:30:16 +02:00
Paul Beckingham
9604cca68d Merge branch '2.0.0' of tasktools.org:task into 2.0.0 2011-09-26 23:46:14 -04:00
Paul Beckingham
781c77085d Unit tests
- Fixed project.t fail.
2011-09-26 23:40:08 -04:00
Paul Beckingham
6faed76833 Synch
- Added pseudo-code TODO reminders in synch command.
2011-09-26 23:38:49 -04:00
Paul Beckingham
2daca679b3 I18N
- Localized Context.
2011-09-26 23:24:17 -04:00
Paul Beckingham
e069503dff I18N
- Localized A3.
2011-09-26 23:17:33 -04:00
Paul Beckingham
f2283b575f I18N
- Localized Arg.cpp.
2011-09-26 23:01:01 -04:00
Paul Beckingham
e56e670300 I18N
- Localized custom reports.
2011-09-26 22:59:08 -04:00
Paul Beckingham
376c79ef6f I18N
- Localized the 'config' command.
2011-09-26 22:39:08 -04:00
Paul Beckingham
8e78d9ff48 I18N
- Localized 'color' command.
2011-09-26 22:07:48 -04:00
Paul Beckingham
30cf3a19fb I18N
- Localized the 'modify' command.
2011-09-26 21:49:57 -04:00
Paul Beckingham
b56035d4f5 I18N
- Localized 'shell' command.
2011-09-26 21:28:03 -04:00
Paul Beckingham
6c8aae11b7 I18N
- Localized 'install' command.
2011-09-26 21:20:31 -04:00
Paul Beckingham
a544431ed7 I18N
- Localized 'import' command.
2011-09-26 21:14:11 -04:00
Federico Hernandez
7d974b2130 Configure instructions for 32bit on OSX 2011-09-26 23:50:25 +02:00
Federico Hernandez
24c3b45b46 Missing include i18n.h 2011-09-26 22:45:55 +02:00
Paul Beckingham
d1594e5123 I18N
- Localized the _commands and _zshcommands commands.
2011-09-26 01:30:47 -04:00
Paul Beckingham
4858931592 Bug #846, Feature #827
- Added feature #827, which allows augmentation of default.command with extra
  arguments, when default.command itself contains mulitple arguments (thanks to
  Aikido Guy).
- Fixed bug #846, which prevented the default.command configuration from
  handling multiple arguments (thanks to Uli Martens).
2011-09-25 11:37:57 -04:00
Federico Hernandez
4a87ab74f4 Unit tests
- shell.t addapted to new commandline parsing
2011-09-24 21:39:57 +02:00
Federico Hernandez
993844d600 Unit tests
- date.iso.t failed due to a timestamp too close to midnight
2011-09-24 21:05:41 +02:00
Paul Beckingham
31aa0de426 I18N
- Localized more commands.
2011-09-24 10:56:14 -04:00
Paul Beckingham
63203cd91a Minor Edits 2011-09-24 10:59:13 -04:00
Federico Hernandez
fa67569093 Bumped version number to 2.0.0.beta3 2011-09-21 23:27:45 +02:00
Paul Beckingham
a40d1bbf76 Bug #839
- Fixed hard-coded '1m'.  Must have been sleepy.
2011-09-21 07:34:48 -04:00
Paul Beckingham
d3c6ddb87f Bug #839
- Fixed bug #839, which caused problems when recurrence frequencies of '1m'
  were used.  This is an obsolete form, and should now be '1mo' (thanks to
  Gour D).
2011-09-21 00:32:13 -04:00
Paul Beckingham
e478f6626b Bug #835
- Fixed bug #835, which prevented hierarchical projects from being recognized.
2011-09-21 00:19:42 -04:00
Paul Beckingham
965e15fe91 Bug #831
- Fixed bug #831 that imposed an arbitrary and incorrect assumption that
  caused some date fields from being parsed properly.
2011-09-20 23:58:33 -04:00
Paul Beckingham
4901089408 Unit Tests
- Added unit tests for bug 839.
2011-09-19 20:55:32 -04:00
Paul Beckingham
5a760cb1b2 Command: tags
- CmdTags was missing one special tag.
2011-09-19 20:14:43 -04:00
Johannes Schlatow
b018042130 Scripts
- added conjunctions to zsh tab completion
2011-09-16 15:12:17 +02:00
Paul Beckingham
db279ee237 Documentation
- Fixed formatting problem, which has been there for a long time.
2011-09-16 00:31:44 -04:00
Paul Beckingham
c5a834dc98 Documentation
- Added rc.regex back to the taskrc.5 man page.
2011-09-16 00:08:35 -04:00
Paul Beckingham
a732733950 Unit Tests
- Began unit tests for DOM support.
2011-09-15 22:33:50 -04:00
Paul Beckingham
ea633e9e7c Unit Tests
- Added unit tests to prove the support of ISO and epoch format dates,
  regardless of rc.dateformat.
2011-09-15 22:31:37 -04:00
Johannes Schlatow
711e943c25 Scripts
- changed naming in zsh tab completion
2011-09-15 23:17:33 +02:00
Johannes Schlatow
3e73f43272 Scripts
- modified zsh tab completion to support 2.0 syntax
2011-09-15 23:04:33 +02:00
Federico Hernandez
25e3453321 Disabled gcov for the time being - cygwin. 2011-09-14 23:17:29 +02:00
Federico Hernandez
8920f5c10c Bug #832
- gcc feature prevents one from using _L
  task under cygwin compiles again
2011-09-14 22:24:14 +02:00
Federico Hernandez
38c4bd3760 Bumped version number to 2.0.0.beta2 2011-09-14 20:34:03 +02:00
Federico Hernandez
4ea74101db Merge branch '2.0.0' of tasktools.org:task into 2.0.0 2011-09-14 20:00:42 +02:00
Federico Hernandez
ee0ef16487 task export. Clarified the export to other formats 2011-09-14 20:00:29 +02:00
Johannes Schlatow
70919803a8 Unit Test - Bug #835 2011-09-14 13:03:23 +02:00
Paul Beckingham
c927cd34b2 Documentation
- Improved consistency among command descriptions.
2011-09-13 23:54:01 -04:00
Federico Hernandez
e37f0c0db0 Removed 2 #ifdef in CmdDiagnostics due to cmake only builds 2011-09-14 01:42:36 +02:00
Federico Hernandez
90184081cf Bumped version number to 2.0.0.beta1 2011-09-14 01:12:28 +02:00
Federico Hernandez
070ec91566 Fixed bugs #533 and #536
- correct paths are now written to default .taskrc
2011-09-14 01:10:52 +02:00
Paul Beckingham
6e52194ab0 Documentation
- While the man pages were not exactly updated for 2.0, the harmful and
  obsolete stuff was removed.
2011-09-13 18:33:14 -04:00
Paul Beckingham
761def8fb7 Merge
- Applied patch to correct autopush after merge, thanks to Johannes.
2011-09-13 18:07:56 -04:00
Johannes Schlatow
295e23aac4 Merge
- removed previous hack that created a zero-byte undo.data file.
  Now the undo.data is created as needed in TDB2::merge.
2011-09-13 10:28:30 +02:00
Paul Beckingham
561af0a0f5 ANALYSIS
- Updated info to be current.
2011-09-13 01:05:43 -04:00
Paul Beckingham
87df2f66ec Merge
- Fixed merge, with an egregious hack for now, by creating zero-byte undo.data
  file.  This goes against the whole TDB2 philosophy, so it is temporary.
- Updated PUNCHLIST.
- Removed old tdb comment from CmdMerge.
2011-09-13 00:51:58 -04:00
Paul Beckingham
dcd0bd1de7 TDB2
- Fixed a bug, or rather a side-effect of more efficient i/o.  Now that
  a TDB2::GC call does not write out files until the final TDB2::commit,
  the GC has the effect of not modifying task IDs based on shuffling tasks
  between pending.data and completed.data until the next command.  Fixed.
2011-09-13 00:22:11 -04:00
Paul Beckingham
776bfea402 Dependencies
- Fixed bug in Task::addDependency where a 'dup dep' error string was not
  properly composed, which cause the error message to be shown as 'k'.
- Relocated expression evaluation on modification to only be processed for
  date attributes.  This impacts DOM, but fixes more than it breaks.
- Corrected unit test that was expecting an old-style error message.
- Added protection against array overrun in next_mod_group.  Again.
2011-09-12 23:53:46 -04:00
Paul Beckingham
d1e52c05d6 Unit Tests
- While fixing bug.360.t, discovered a bigger problem, which is not yet
  fixed.  When a due date is removed from a recurring child task, the
  imask, parent and recur attributes should also be removed.  Similarly
  when a recur frequency is removed from a recurring child task, the
  imask and parent should also be removed.
- Net result: two new failing tests.
2011-09-12 22:57:32 -04:00
Paul Beckingham
02047a6e99 Legacy
- Created legacy checking function to determine whether deprecated or obsolete
  attributes are being used.
2011-09-12 22:45:58 -04:00
Paul Beckingham
fa22b98dc4 Legacy
- Created a home for all the legacy checks.
2011-09-12 22:39:00 -04:00
Federico Hernandez
664e4deb6a ANALYSIS
- project.t Failed test 'project with spaces'
2011-09-12 22:42:30 +02:00
Paul Beckingham
157dad0026 Unit Tests
- Fixed broken unit test.
- Updated PUNCHLIST.
- Clarified task counting in helpers.cpp.
2011-09-12 01:38:35 -04:00
Alexei Romanoff
082f7d703e [PATCH] GCOV support added for measuring code test coverage.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-09-12 00:51:20 -04:00
Paul Beckingham
03e53ceaf2 Miscellaneous
- Minor edits of little consequence.
2011-09-11 23:06:51 -04:00
Federico Hernandez
147dd61758 ANALYSIS file 2011-09-12 00:41:58 +02:00
Federico Hernandez
cf9b5ca5c6 CmdCalendar
- fix for failing unit tests as calendar args are treated special
2011-09-12 00:40:01 +02:00
Paul Beckingham
9ada2f554a Bug
- The modify command no longer claims that a task was modified if no
  changes were applied.
2011-09-11 13:49:07 -04:00
Paul Beckingham
19f598419e Bug
- Dependencies were disabled during TDB2 development and not re-enabled.  Oops.
- Removed stray debug statement.
2011-09-11 13:23:47 -04:00
Paul Beckingham
dcc0ab19c2 Bug
- Fixed crash bug on Linux where Command::next_mod_group just walked off
  the end of a vector.
2011-09-11 11:46:19 -04:00
Paul Beckingham
6e649f3f45 Recurring Tasks
- Rewrote updateRecurrenceMask, which was hopelessly muddled after the
  TDB -> TDB2 change.
- Modified associated code.
- Improved signal to noise ratio in unit tests.
2011-09-11 01:56:56 -04:00
Paul Beckingham
6e8d2ca79c Build
- Fixed broken build due to missing include.  Just like the old days.
2011-09-11 01:19:26 -04:00
Paul Beckingham
b0abe5a5ba Unit Tests
- Improved signal to noise ratio, which in this case helps with testing.
2011-09-11 01:03:51 -04:00
Paul Beckingham
038687b801 Helpers
- Forced the format(double) helper function to not use scientific notation,
  which was causing problems.
2011-09-11 01:02:43 -04:00
Paul Beckingham
e31e80961a Expressions
- Implemented Command::next_mod_group, which walks the A3 list looking for
  consecutive grouped args for modification purposes.
2011-09-11 00:49:56 -04:00
Paul Beckingham
c7464a59b3 Parsing
- Tags may no longer begin with a digit.
2011-09-11 00:49:08 -04:00
Paul Beckingham
966501f5da Parsing
- Implemented Nibbler::getUnsignedNumber.
2011-09-11 00:47:54 -04:00
Paul Beckingham
22e9d84074 Expressions
- Implemented E9:operator_negate, the unary -.
2011-09-11 00:47:11 -04:00
Paul Beckingham
d9fa6fbac8 Unit Tests
- Improved signal to noise ratio for op_*.t tests.
- Updated ANALYSIS file.
2011-09-10 13:27:14 -04:00
Paul Beckingham
1994240899 Parsing
- Created A3::is_operator to allow for more complex processing.  Renamed
  old A3::is_operator to A3::which_operator.
2011-09-10 13:25:46 -04:00
Paul Beckingham
562fd8ce3c Helpers
- Implemented isTokenEnd, as a special case of isWordEnd, but considers
  consecutive punctuation to be a set of individual tokens.
2011-09-10 13:24:54 -04:00
Federico Hernandez
94bb98edac uuid.t TZ problem solved 2011-09-09 06:51:35 +02:00
Federico Hernandez
1dc0230aba Merge branch '2.0.0' of tasktools.org:task into 2.0.0 2011-09-09 06:38:57 +02:00
Federico Hernandez
2836ae66c7 The usual TZ problem... 2011-09-09 06:38:38 +02:00
Paul Beckingham
c42179aff4 ANALYSIS
- Removed some fixed items, added more info about other tests.
2011-09-09 00:34:44 -04:00
Paul Beckingham
66a8ebe014 EXPOSITION
- Began an overview document of how the processing works.
2011-09-09 00:24:50 -04:00
Paul Beckingham
2de82aa3c1 Enhancement
- Added the onProjectChange call to CmdModify.
2011-09-09 00:22:01 -04:00
Paul Beckingham
d37e46cc48 Enhancement
- Re-enabled the onProjectChange function, and upgraded it to TDB2.
  Now it does a lot less, which is another way of saying it is faster.
2011-09-09 00:13:08 -04:00
Paul Beckingham
c54bb8a42a Beta Punchlist
- Added beta punch list.  This will go away eventually.
2011-09-09 00:12:28 -04:00
Paul Beckingham
22e39538c7 Unit Tests
- The bug.uuid.t test was relying on 'stats' to perform a GC, which is
  no longer true.
2011-09-08 23:13:59 -04:00
Paul Beckingham
a297756ff0 Unit Tests
- Improved the signal to noise ratio for unit tests.
2011-09-08 22:51:17 -04:00
Paul Beckingham
38c325d469 Bug - Tag Recognition
- Lowered the precedence of tag detection so that dates and durations are
  recognized first.
- Modified the allowable tokens for a tag to be almost anything.
2011-09-08 22:49:58 -04:00
Paul Beckingham
8cd1efd609 Bug - Confirmation
- Confirmation for multiple task changes was not being sought.
2011-09-08 22:47:56 -04:00
Federico Hernandez
9fee765d35 ANALYSIS
- delete.t  task info with a filter on ID matches completed tasks
2011-09-09 01:23:23 +02:00
Federico Hernandez
2d338b218e ANALYSIS
- merge.duplicate.t several tests fail because of missing undo.data
                    and ignoring URI
2011-09-09 00:44:37 +02:00
Federico Hernandez
d4e90e8857 ANALYSIS
- confirmation.t CmdModify doesn't ask for confirmation.
2011-09-08 23:53:28 +02:00
Paul Beckingham
b9ad044eef Expressions - hasnt (!~)
- The operator_nomatch was not properly defaulting a "true" result.
- Improved signal to noise ratio in bug.hasnt.t.
- Removed obsolete entries in ANALYSIS file.
2011-09-07 00:54:46 -04:00
Paul Beckingham
5a07dce93a Unit Tests
- Improved the signal to noise ratio.
2011-09-07 00:42:38 -04:00
Paul Beckingham
40aca079eb Unit Tests
- Unit test relied on capturing parentheses, which are no longer necessary.
2011-09-07 00:41:07 -04:00
Paul Beckingham
255af9e110 Nibbler
- Removed unnecessary addition of capturing parentheses to a regex.
2011-09-07 00:39:02 -04:00
Paul Beckingham
70eba976ae Unit Tests
- Many tests referred to 'synch_key.data', which is not the correct
  name.  It should be 'synch.key'.  This has no effect on the number
  of passing tests though.
2011-09-07 00:33:02 -04:00
Paul Beckingham
9ed0c5c86d Shadow Files
- Re-enabled shadow files, but in a new, simpler manner, that allows the
  rc.shadow.command to override settings like color if necessary.
- Modifed A3 to capture program name and store it in the Context.
2011-09-07 00:24:00 -04:00
Paul Beckingham
c62f36ef87 Bug - tags
- Modified A3::is_tag to allow @, # and $ in tag names.
2011-09-06 23:54:31 -04:00
Paul Beckingham
69aa041218 Bug - tags
- Modified A3::is_tag to allow @, # and $ in tag names.
- Reduced the precedence of tag parsing to ensure that durations are
  detected first.
2011-09-06 23:52:38 -04:00
Paul Beckingham
36db62728b Unit Tests
- Improved signal to noise ratio for caseless.t.
- Added test count markers to nibbler.t.cpp.
2011-09-06 23:39:57 -04:00
Paul Beckingham
bbe69fd129 Bug - substitutions
- Fixed bug in Task::substitute that contained incorrect assumptions about
  regex matches.
- Fixed bug in Task::substitute that matched against the annotation name,
  rather than the value for non-regex substitutions.
- Fixed bug that caused improper functioning of the 'global' substitution
  indicator.
- Removed unnecessary capturing parentheses that were added for regex searches.
2011-09-06 23:36:45 -04:00
Paul Beckingham
646117c213 Unit Tests
- Improved the signal-to-noise ratio for the args tests.
2011-09-06 23:22:16 -04:00
Paul Beckingham
0da3e12e36 Unit Tests
- Fixed bug in test that caused an inconsistent sample task to be parsed.
2011-09-06 23:20:56 -04:00
Paul Beckingham
2ab11655db Bug - regular expressions
- Fixed bug where regexec was not being properly called.
- Fixed bug where multiple subexpressions were not being properly handled.
- Fixed bug that allowed regex matching to run off the end of a string.
- Fixed bug that causes regex captures to not be properly offset into the input
  string.
- Removed () from unit tests.
2011-09-06 23:18:26 -04:00
Federico Hernandez
bfca3766b6 Unit test
Added more unit tests to uuid.
2011-09-07 00:33:03 +02:00
Federico Hernandez
a8759c9196 Bug fix - Task.cpp
completing a task did set a entry date to completed date.
2011-09-07 00:10:40 +02:00
Federico Hernandez
92f7d805d0 Unit tests
- new uuid.t to test access of tasks via uuid
2011-09-06 00:26:46 +02:00
Federico Hernandez
b3d991449f Unit tests
- analysis of bug.480.t
2011-09-05 23:15:05 +02:00
Federico Hernandez
15c939c3d7 Nibbler
- using wrongly ispunct instead of isPunctuation
2011-09-05 22:36:57 +02:00
Paul Beckingham
4346001c94 ANALYSIS
- Filled in a few blanks.
2011-09-05 15:10:25 -04:00
Paul Beckingham
59d184e2db Bug - Expressions
- Fixed a bug that confused left and right operands.
- Fixed a bug where E9::coerce was dropping data.
2011-09-05 14:11:10 -04:00
Paul Beckingham
60c45b5035 Bug
- Fixed bug in statistics command that gave zero counts for pending,
  waiting and recurring tasks.
- Made some counting code more efficient.
2011-09-05 11:26:58 -04:00
Paul Beckingham
56b9b23988 L10N Review
- Reviewed (and made notes) of all commands for the L10N punch list.
2011-09-05 11:13:19 -04:00
Paul Beckingham
297ec6dd1f Bug - timesheet
- Converted the timesheet report to use raw word arguments instead of
  filters.
- Uses new TDB2:all_tasks method.
- Cleaned up unit tests.
2011-09-05 10:47:38 -04:00
Paul Beckingham
195c7d5142 TDB2
- Added TDB2::all_tasks as a helper function to load and combine tasks
  from pending and completed.
2011-09-05 10:45:58 -04:00
Paul Beckingham
a3cb1172a1 Code Cleanup
- The .gitignore file listed old junk.
2011-09-05 09:34:01 -04:00
Paul Beckingham
47b948c866 Command - synchronize
- Added a placeholder synchronize command, which will be implemented
  in mumble for the mumble mumble.
2011-09-05 08:49:10 -04:00
Paul Beckingham
402ac5b418 Code Cleanup
- Removed .gitignore entries for obsolete tests.
2011-09-05 02:10:18 -04:00
Paul Beckingham
d1bc46c355 Unit Tests
- Minor bug fixes.
2011-09-05 01:48:25 -04:00
Paul Beckingham
e2d0126415 Unit Tests
- Fixed minor unit test problems.
2011-09-05 01:27:57 -04:00
Paul Beckingham
751e8e7f90 Import YAML
- Implemented the import-yaml.pl external script.
- Added unit tests.
- Fixed problem where the pending tasks were not loaded prior to uuid
  verification.
2011-09-05 01:11:37 -04:00
Paul Beckingham
fa973f734b Safety Valve
- Added safety valve processing.  Whenever a write-command omits a
  filter, the command will affect every task.  This is dangerous.
  If rc.confirmation is disabled, the command is terminated.
2011-09-04 08:44:22 -04:00
Paul Beckingham
f74c33dc02 Bug
- Fixed a silly bug whereby TDB2::gc, once it loaded the data, wiped the TF2
  objects, such that TDB2::commit didn't know there was data to write.
  Hmm.  Time for a vacation.
2011-09-03 16:32:30 -04:00
Paul Beckingham
8bf1386b78 Bug
- Fixed an even worse bug whereby TDB2::gc never even bothered to load
  the data before running the GC.  Sigh.
2011-09-03 16:31:03 -04:00
Paul Beckingham
1e510f66ef Bug
- Fixed nasty bug whereby TF2::clear wiped the file names (pending.data etc) and
  so any subsequent TDB2::commit never even opened the file.  Yikes.
2011-09-03 16:30:15 -04:00
Paul Beckingham
2b7c2f6a21 Unit Tests
- Improved the signal to noise ration for more unit tests.
2011-09-03 16:25:48 -04:00
Paul Beckingham
1691ce2764 Code Cleanup
- I think the 'show' command may have prematurely obsoleted something useful,
  so added a note to review.
2011-09-03 16:23:50 -04:00
Paul Beckingham
b84f212112 Code Cleanup
- Removed obsolete 'foreach' macro.
2011-09-03 13:54:11 -04:00
Paul Beckingham
f245fa808c Code Cleanup
- Removed obsolete TDB, Att and Location code.
- Removed associated unit tests, unfortunately all ones that pass.
2011-09-03 13:17:03 -04:00
Paul Beckingham
6b3dfd0891 TDB2
- Eliminated TDB from the unit test builds.
2011-09-03 13:03:17 -04:00
Paul Beckingham
1b3ac82d7e TDB2
- Eliminated the now obsolete TDB code from Context.
- Added auto-commit code for commands that auto-gc.
2011-09-03 13:02:17 -04:00
Paul Beckingham
5d6f6e2073 TDB2
- (Partially) Converted helper code to TDB2.
2011-09-03 13:01:30 -04:00
Paul Beckingham
6c9bebec24 TDB2
- (Partially) Converted dependency handling code to TDB2.
2011-09-03 12:59:57 -04:00
Paul Beckingham
b05d4535f8 TDB2
- Converted 'project' and '_projects' commands to TDB2.
2011-09-03 12:59:30 -04:00
Paul Beckingham
72627268dc TDB2
- Converted 'tags' and '_tags' commands to TDB2.
2011-09-03 12:58:57 -04:00
Paul Beckingham
a04ce55544 TDB2
- Added a necessary TDB2::commit call.
2011-09-03 12:58:18 -04:00
Paul Beckingham
84ccf4399c TDB2
- Converted 'delete' command to TDB2.
2011-09-03 12:57:26 -04:00
Paul Beckingham
eb992d3523 TDB2
- Implemented TDB2::gc.  Probably with a few really nasty bugs, to
  provide nice entertainment for the rest of the weekend.
2011-09-03 12:56:26 -04:00
Paul Beckingham
1c837822fc Merge branch '2.0.0' of tasktools.org:task into 2.0.0 2011-09-03 11:30:20 -04:00
Paul Beckingham
54866864ad Code Cleanup
- Removed unnecessary Task::setEnd call.
2011-09-03 11:29:23 -04:00
Paul Beckingham
aef24c0c54 TDB2
- Converted the sort routine to TDB2.
2011-09-03 11:29:08 -04:00
Paul Beckingham
e379af9751 Task Validation
- Removed the newly obsoleted Command::apply_defaults, which is now
  merged into Task::validate, and therefore applied to all modifications
  and new tasks.
2011-09-03 11:19:45 -04:00
Paul Beckingham
3d1a5acafb TDB2
- Implemented high-level TDB2::id and TDB2:uuid that delegates to TF2.
- Fixed a bug in TDB2::modify that failed to properly overwrite a task.
2011-09-03 11:17:12 -04:00
Paul Beckingham
49965f8115 Commands - modify
- Converted the 'modify' command to TDB2.  This has a negative impact
  on unit tests, but that represents bugs and ommissions in TDB2,
  not flaws in the 'modify' command.  I hope.
2011-09-03 11:16:03 -04:00
Paul Beckingham
2886151e64 Commands - done
- Converted the 'done' command to TDB2.  This has a negative impact
  on unit tests, but that represents bugs and ommissions in TDB2,
  not flaws in the 'done' command.
2011-09-03 11:14:59 -04:00
Paul Beckingham
e7a255ca16 TDB2 integration
- Enabled the TDB2::clear call, paving the way for TDB elimination.
2011-09-03 11:14:24 -04:00
Paul Beckingham
cc24a3d2f0 Task Validation
- Made the validation more gentle - it no longer stomps on the status,
  which may help with bug #824.
2011-09-03 11:13:09 -04:00
Paul Beckingham
af404a5b5e Unit Tests
- Increased the signal to noise ratio.
2011-09-03 10:53:27 -04:00
Federico Hernandez
4083883ec4 Feature #813
- applied patch for eoq and soq (thanks to Paulo Almeida)
2011-09-03 16:38:26 +02:00
Johannes Schlatow
45a07f4d85 Merge
added missing gc, unit tests ok (almost)
2011-09-03 12:33:48 +02:00
Federico Hernandez
92d9b980b5 Unit tests
- project.t analysis
2011-09-02 15:35:04 +02:00
Federico Hernandez
04fab0c37a Unit tests
- added file test/ANALYSIS
  containing information about the different unit tests failing
  while finalizing 2.0.0. To be removed when releasing 2.0.0.
2011-09-02 09:25:29 +02:00
Paul Beckingham
5118b61f60 Commands - shell
- Enabled the shell command.
- Cleaned up unit tests.
2011-09-02 00:28:31 -04:00
Paul Beckingham
7b0bf9f3c2 Unit Tests
- Modified the merge.t tests to accomodate the use of 'export' instead
  of the now obsolete 'export.csv' command.
2011-09-02 00:01:18 -04:00
Paul Beckingham
63eb22fc7e TDB2 Merge
- Migrated TDB::merge to TDB2::merge.
- Removed obsoleted code from TDB.
- Modified unit tests for merge to use export instead of export.csv.
2011-09-01 23:48:35 -04:00
Paul Beckingham
45666ebfc5 Documentation
- Added the required Perl module to the developer doc, for running the
  test suite.
2011-09-01 23:24:07 -04:00
Paul Beckingham
e9c5b96344 Build
- Missed an include file.
2011-09-01 01:20:33 -04:00
Paul Beckingham
f19a09b390 Bug
- When handleRecurrence was cloning the parent task, it failed to set
  a new ID, so all the child tasks were given the ID of the parent.
- Cleaned up bug.annual.t.
2011-09-01 01:05:59 -04:00
Paul Beckingham
63dfb17bbc Undo
- Undo functionality restored, although not ideal.
2011-09-01 00:46:35 -04:00
Paul Beckingham
e0ee80b1a9 Import todo.sh
- Added more unit tests to todo.sh import.
2011-09-01 00:04:18 -04:00
Paul Beckingham
c1a21ce5a4 Export YAML
- Implemented export-yaml.pl as a filter.
- Reimplemented export.yaml.t to use the filter.
2011-08-31 23:52:07 -04:00
Paul Beckingham
5f4571b0d0 Expressions
- Implemented expression escalation: when matching against description,
  escalate to include annotations on failure.  Needs adjustment to
  DOM eval before it will work.
2011-08-31 23:36:16 -04:00
Federico Hernandez
dfe72d7de7 Unit tests
- count.t
  log now puts tasks directly into completed
2011-09-01 00:14:16 +02:00
Paul Beckingham
7789692678 Import
- Fixed priority and tag bugs in the todo.sh transform.
- Began (but have not finished) writing unit tests for this.
2011-08-31 02:29:02 -04:00
Paul Beckingham
641d4356c4 Task Validation
- Cleaned up the 'import' command due to the new validation code.
2011-08-31 02:14:05 -04:00
Paul Beckingham
12e1a30d2f Task Validation
- Cleaned up 'duplicate' command due to the new validation code.
2011-08-31 02:11:34 -04:00
Paul Beckingham
12cfdf1b5a Task Validation
- Cleaned up the 'delete' command due to the new validation code.
2011-08-31 01:50:13 -04:00
Paul Beckingham
4cc368da82 Task Validation
- Cleaned up the 'annotate' and 'denotate' code due to the new
  validation code.
2011-08-31 01:48:00 -04:00
Paul Beckingham
885bde51f1 Task Validation
- Cleaned up the 'append' and 'prepend' commands due to the new
  validation.
2011-08-31 01:45:31 -04:00
Paul Beckingham
66f8591fcd Task Validation
- Cleaned up the 'start' and 'stop' commands due to the new validation.
2011-08-31 01:43:08 -04:00
Paul Beckingham
2ecafd5d5e Task Validation
- Cleaned up 'log' command due to the new validation.
2011-08-31 01:39:53 -04:00
Paul Beckingham
b09351c517 Task Validation
- Fixed validation bug whereby recurring child tasks inherited the
  parent status ("recurring") instead of the expected "pending".
- Modified 'add' command to code duplicated in Task::validate.
- Cleaned up associated bug.period.t unit test.
2011-08-31 01:34:59 -04:00
Paul Beckingham
8e34a02811 Task Validation
- Implemented more relaxed validation rules.
- Added quiet corrections for missing data.
2011-08-31 01:15:12 -04:00
Paul Beckingham
b4a583b951 Import - todo.sh
- Wrote a todo.sh parser based on Gina's specs.
- Started unit tests (not finished).
2011-08-30 18:29:57 -04:00
Paul Beckingham
4f73d7232f Code Cleanup
- Removed support for the CSV import synonyms.
2011-08-30 17:33:27 -04:00
Paul Beckingham
c6837d927f Unit Tests
- Cleaned up 'append' unit tests.
2011-08-30 17:32:58 -04:00
Paul Beckingham
aefe4fa81c Unit Tests
- Cleaned up prepend unit tests.
2011-08-30 17:32:28 -04:00
Paul Beckingham
6746f4d5ba Code Cleanup
- Removed obsolete code from 'import'.
2011-08-30 17:31:52 -04:00
Paul Beckingham
965dabadf9 TDB2
- Converted 'denotate' command to TDB2.
2011-08-30 17:31:24 -04:00
Paul Beckingham
ba5daece99 TDB2
- Converted 'prepend' to TDB2.
2011-08-30 17:31:00 -04:00
Paul Beckingham
40724e120e TDB2
- Converted 'append' to TDB2.
2011-08-30 17:30:40 -04:00
Paul Beckingham
402f1f1b41 TDB2
- Converted 'annotate' to TDB2.
2011-08-30 17:30:12 -04:00
Paul Beckingham
2708aabddf Unit Tests
- Changed error wording to match the unit tests, which were correct.
2011-08-30 01:09:19 -04:00
Paul Beckingham
eeedfc48de Unit Tests
- Removed obsolete import/export unit tests.
2011-08-30 00:57:00 -04:00
Paul Beckingham
d501e9009b TDB2
- Converted the 'history', 'history.annual', 'ghistory' and
  'ghistory.annual' commands to TDB2.
2011-08-30 00:48:20 -04:00
Paul Beckingham
c1f33a23d3 Undo
- Stubbed the undo implementation in TB2::revert (undo as a name is
  already taken), and in the process lose the capability.
- Add detection of <modifications> when running the 'undo' command
  and generate an error.
2011-08-30 00:42:04 -04:00
Paul Beckingham
94ce784f33 Bug
- The 'duplicate' command used TDB2::commit, but TDB::nextId.
2011-08-30 00:35:45 -04:00
Paul Beckingham
72bd579cf4 Bug
- The 'add' command was calling TDB2::add, but TDB::nextId.
2011-08-30 00:29:24 -04:00
Paul Beckingham
f07ea0a26a TDB2
- Converted 'duplicate' to TDB2.
2011-08-30 00:27:27 -04:00
Paul Beckingham
90404c287e TDB2
- Converted 'timesheet' command to TDB2.
2011-08-30 00:23:27 -04:00
Paul Beckingham
9fefd4f283 TDB2
- Converted 'edit' command to TDB2.
2011-08-30 00:21:56 -04:00
Paul Beckingham
7f1e517754 Bug
- Added missing TDB2::commit call to commands that handleRecurrence.
  The missing commit would have meant no updates to the data when
  recurring tasks are generated.
2011-08-30 00:15:40 -04:00
Paul Beckingham
32164680ab TDB2
- Converted 'summary' command to TDB2.
2011-08-30 00:14:07 -04:00
Paul Beckingham
c340520bcc TDB2
- Converted 'ids', '_ids' and '_zshids' to TDB2.
2011-08-30 00:06:48 -04:00
Paul Beckingham
dde399f765 TDB2
- Converted 'burndown.{m,d,y}' to TDB2.
2011-08-30 00:00:23 -04:00
Paul Beckingham
77b647dfb0 TDB2
- Converted 'stop' command to TDB2.
2011-08-29 23:57:13 -04:00
Paul Beckingham
c72a556492 TDB2
- Converted 'start' command to TDB2.
2011-08-29 23:51:22 -04:00
Paul Beckingham
f14b414b9c Code Cleanup
- Eliminated obsolete composeYAML and composeCSV methods.  With export
  capabilities moving outside the core, these are no longer needed.
2011-08-29 21:33:34 -04:00
Paul Beckingham
5276bfd473 TDB2
- Converted 'export' to TDB2.
2011-08-29 21:12:23 -04:00
Paul Beckingham
380aadd76a Unit Tests
- The export.yaml.t test now verifies env access to task.
2011-08-28 18:16:43 -04:00
Paul Beckingham
1a4916ff03 Unit Tests
- Corrected PATH in env command.
2011-08-28 17:45:28 -04:00
Paul Beckingham
de5bee4353 Bug
- Import was not properly handling tags as a JSON array.  It assumed it
  was a string.
- Modified roundtrip.t tests so they work.
2011-08-28 17:21:49 -04:00
Paul Beckingham
6ab7cec36c Unit Tests - export-yaml.pl
- Rewrote the unit tests for the old export.yaml command to use the
  new export-yaml.pl add-on.
2011-08-28 16:53:49 -04:00
Paul Beckingham
4d328a1e46 Bug - Exec
- The execute command was not putting spaces between combined arguments
  when constructing a command line.
2011-08-28 16:44:31 -04:00
Paul Beckingham
aace091329 Add-ons: Exports
- Modified the export scripts to use the right command, which is now
  'export', not '_query', although '_query' is now an alias for backward
  compatibility.
2011-08-28 16:43:12 -04:00
Paul Beckingham
28183711c4 Bug
- The export command included the value of date fields instead of the
  name of date fields.
2011-08-28 16:39:05 -04:00
Paul Beckingham
0f627bd44e TDB2
- Added TDB2::clear and TF2::clear methods.
2011-08-28 08:13:41 -04:00
Paul Beckingham
8ec130d3c0 Command: info
- Converted to use TDB2.
2011-08-28 00:18:56 -04:00
Paul Beckingham
0dd4e6d360 Command: count
- Now generates recurring tasks.
- Cleaned up unit tests.
2011-08-28 00:17:51 -04:00
Paul Beckingham
eeb6479440 Command: Statistics
- Modified implementation to make better use of TDB2 features, and
  remove a set of static strings.
2011-08-28 00:16:24 -04:00
Paul Beckingham
50fa2c0ddf TDB2
- Every task in pending.data an ID.
2011-08-28 00:02:15 -04:00
Paul Beckingham
1e70f00c29 TDB2
- Properly handles cases where tasks are added, then existing data files
  are loaded.  The 'add' list and the 'loaded' list needed to be merged.
2011-08-27 23:30:51 -04:00
Paul Beckingham
1b25c415b0 TDB2
- Converted _urgency command from tdb to tdb2.
2011-08-27 21:24:36 -04:00
Paul Beckingham
c23f663408 TDB2
- Fixed problem with backlog - TDB2::modify should call backlog.add_task
  but was calling backlog.modify_task.
2011-08-27 20:56:41 -04:00
Paul Beckingham
d22871b265 Import
- Added unit tests for the 'import' command, which uses JSON as the
  native format.  This is the new default import/export format.  All
  other import/export formats are (to be) implemented as transforms
  to JSON.
2011-08-27 18:42:08 -04:00
Paul Beckingham
0eec42ce4a TDB2
- Corrected maintenance of the _lines vector during TDB2::add_line.
- Implemented TDB2::modify_task undo maintenance.
- Added unit tests for TDB2.  Which fail.
2011-08-27 16:33:19 -04:00
Paul Beckingham
ab931b6af2 Legacy
- Added legacy warnings about use of fg: or bg:.
2011-08-27 14:29:08 -04:00
Paul Beckingham
1c98544380 Columns - 'fg' and 'bg'
- Added columns 'fg' and 'bg', despite their being deprecated.  Can't
  remove capabilities without appropriate forewarning.
2011-08-27 11:56:03 -04:00
Paul Beckingham
17dfbabb39 TDB2 & Task
- Fixed next_id handling in load_tasks.
- Removed unnecessary load in next_id.
- Added missing encode call.
index 8c0d2e9..3d1b7ce 100644
--- a/src/Task.cpp
+++ b/src/Task.cpp
@@ -528,7 +528,7 @@ std::string Task::composeF4 () const
     {
       ff4 += (first ? "" : " ")
            + it->first
-           + ":\"" + json::encode (it->second) + "\"";
+           + ":\"" + encode (json::encode (it->second)) + "\"";
       first = false;
     }
   }
2011-08-27 11:18:43 -04:00
Paul Beckingham
1392c8e619 Typo
- Wrong variable name.  Should have run the tests first.
2011-08-27 10:46:49 -04:00
Paul Beckingham
df2a319201 Enhancement
- The 'stats' command now includes the new data files in the 'data size'
  calculation.
2011-08-27 10:39:21 -04:00
Paul Beckingham
bceccba6eb Code Cleanup
- The str_replace is no longer needed.
2011-08-27 10:38:48 -04:00
Paul Beckingham
74c12e1dec Encode/Decode
- The tasks are now using JSON encodings, but in addition to JSON
  decodings, also need legacy decoding, providing backward compatibility.
2011-08-27 10:31:27 -04:00
Paul Beckingham
1c2a4981ac Helper functions
- Rescued the str_replace function from Att.
2011-08-27 10:22:40 -04:00
Paul Beckingham
e5acabc452 Helper functions
- Rescued the ::encode and ::decode funtions and put them in util.cpp.
  This is because 2.0 will still need to perform the same encode/decode
  operations without Att.cpp around.
2011-08-27 10:21:49 -04:00
Paul Beckingham
f92b13fbf7 Visuals
- Cleaned up 'info' command output when the task is not pending and
  has no ID.  It displays '-' instead of the misleading "0".
2011-08-26 02:41:51 -04:00
Paul Beckingham
64be6e1cf4 Unit Tests
- Added unit tests for bug 819, on behalf of Matt Kraai.
- Created a new, single test for cleanup that replaces 6.  It's makes
  for shorter unit tests, and adds less test count inflation.  Over
  time, all tests should be modified in a similar way.  This will
  probably cut the total number of unit tests in half, but that's not
  the important metric.
2011-08-26 02:13:32 -04:00
Matt Kraai
ea3f0e8567 Bug #819
- Patch applied to fix problem with parsing, where this:
    aa'a
  is parsed as
    aa 'a

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-08-26 02:00:41 -04:00
Paul Beckingham
e127f33e3a TDB2::siblings
- TDB2 helper function to locate sibling tasks.
2011-08-26 01:58:07 -04:00
Paul Beckingham
4f0276c062 DOM
- Implemented lookup for <id>.<attr> and <uuid>.<attr>.
2011-08-25 22:19:25 -04:00
Paul Beckingham
60ca284e3a TDB2::get
- Implemented high-level accessors for tasks, by ID and UUID.  This
  permits full DOM implementation.
2011-08-25 22:13:47 -04:00
Paul Beckingham
dab06f8672 Code Cleanup
- All objects now use the same convention for naming members.  The
  consistency is a good thing.
2011-08-25 21:54:28 -04:00
Paul Beckingham
fb6dc5058f TDB2
- Full implementation of TDB2::add, which includes pending/completed, undo
  and backlog.
- Removed obsolete TF2::commitUndo, which is no longer necessary.
- Added File::truncate method, to allow a TDB2 shortcut.
2011-08-25 00:29:54 -04:00
Paul Beckingham
02df3853f7 Unit Tests
- Fixed more unit tests that were out of synch with the latest
  functionality, text messages or rendering.
2011-08-24 00:47:44 -04:00
Paul Beckingham
6f38e10cab Feature #682
- Added feature #682, which allows the configuration variable 'defaultheight'
  to override the assumed height of 24 lines when 'detection' is not enabled
  (thanks to Steve Rader).
2011-08-23 23:29:36 -04:00
Paul Beckingham
397d1c2d09 Feature #806
- Added feature #806, which provides the ability to compare dates using the
  relational operator '>=' (thanks to Miguel de Val Borro).
2011-08-23 23:01:56 -04:00
Paul Beckingham
257f5ab3da Bug #458
- Fixed bug #458, removing the ambiguous 'm' as a duration, leaving 'mi[nutes]'
  and 'mo[nths]' requiring at least two characters for a match.
2011-08-23 22:46:32 -04:00
Paul Beckingham
d15cccdb7d Bug #694
- Fixed bug #694, which allows attributes to be modified while annotating a
  task (thanks to Aikido Guy).
2011-08-23 22:30:01 -04:00
Paul Beckingham
2f60bdf9d0 Bug #720
- Fixed bug #720, so that when the 'info' report renders total active time,
  it uses a lossless format (thanks to Bernhard B).
2011-08-23 22:15:00 -04:00
Paul Beckingham
89d3b4e805 Bug #737
- Fixed bug #737, which allows wait dates after due dates, but provides a
  warning (thanks to Arkady Grudzinsky).
2011-08-23 21:36:09 -04:00
Paul Beckingham
2e09ddd900 Unit Tests
- Fixed some tests that used old message text.
- Fixed tests that relied on 'log'ed tasks still being written into
  pending.data.
- Removed obsolete auto-info tests.
2011-08-23 20:12:19 -04:00
Paul Beckingham
9641dde54f Debug Mode
- No longer generates parsing diagrams if debug mode is off.
2011-08-23 07:14:26 -04:00
Paul Beckingham
1dc2257156 TDB2 Conversion
- Migrated several commands over to use TDB2.  Have to start somewhere.
2011-08-23 00:47:46 -04:00
Paul Beckingham
e573801517 TDB2 - Diagnostics
- Added a diagnostic dump of the TDB2 state in debug mode.
- Added a call to TDB2::dump at the start of TDB2::commit.
- Removed unnecessary calls to TDB2::dump.
2011-08-22 23:04:38 -04:00
Paul Beckingham
013061803f Helper Functions
- Implemented rightJustifyZero for zero-padded integer strings.
2011-08-22 22:24:43 -04:00
Paul Beckingham
589627852f Duration Bug
- Removed the unnecessary ::getInt parse before ::getNumber, which was
  causing "-1.2d" to not parse.
- Removed verbose debug statement.
2011-08-21 23:32:37 -04:00
Paul Beckingham
6ed2bcd605 Durations
- Removed support for ' 1 wk', namely spaces before and after the ordinal.
  This removes (some) ambiguity in more complex command lines.
- Fixed unit tests accordingly.
2011-08-21 23:19:10 -04:00
Paul Beckingham
501953a6da TDB2
- Verifies that a UUID is not already found in the data.  This prevents
  erroneous double-import.  Or triple...
2011-08-21 22:37:02 -04:00
Paul Beckingham
d7ba2b2b62 Portability
- Fixed compiler warning.
2011-08-21 22:36:11 -04:00
Paul Beckingham
7a778ba317 E9 operator_equal
- Fixed broken logic in operator_equal.
- Fixed typos in op_and.t unit test.
- Fixed descriptions in op_or.t.
2011-08-21 18:38:04 -04:00
Paul Beckingham
e0ecb7a2d8 E9 - Relational Operators
- Added missing-data handling for the relational operators <, <=, >
  and >=.
2011-08-21 16:54:50 -04:00
Paul Beckingham
f11c8ee5c6 Unit Tests
- Added unit tests for the '<=' and '>=' operators.  All tests pass,
  which makes a nice treat.
- Added more tests to '<' and '>' operators, so that all three data
  types are covered.
2011-08-21 16:45:38 -04:00
Paul Beckingham
a4fca31e7d Unit Tests
- Added unit tests for the '<' and '>' operators.  Many fail.  Sigh.
2011-08-21 16:28:01 -04:00
Paul Beckingham
ee42f9898f Unit Tests
- Added unit tests for the 'and', 'or' and 'xor' operators.  Many of
  them fail.  As expected.
2011-08-21 15:59:47 -04:00
Paul Beckingham
788eea8d80 E9 operator_not
- Corrected the implementation of the ! operator, which was previously
  doing ... nothing.
2011-08-21 15:38:07 -04:00
Paul Beckingham
6e976e7d7c E9 - operator_equal
- Added proper handling for missing dates to the '=' operator.  This
  is a trial run of enhancements to lots of other operators to come.
2011-08-21 14:33:10 -04:00
Paul Beckingham
2b961c128a DEVELOPER File
- Added some clarification, minor changes.
2011-08-21 14:31:49 -04:00
Paul Beckingham
de9dbbbb3d A3, Arg
- Some attribute values (ie wait:tomorrow) when parsed, need to take
  the data type of the attribute (date) and use that as an implied type
  of the value (date literal).
- Arg renders type-less and category-less values as "", instead of "none".
  Cleaner output.
2011-08-21 14:24:26 -04:00
Paul Beckingham
a3ba91c2a3 Recurrence
- Recurrence values are now stored in a parsed state, and rendered by
  Duration::formatCompact.
2011-08-21 13:43:54 -04:00
Paul Beckingham
1714601ce4 Duration
- Allowed durations to be specified numerically as seconds, in string form.
  This flexibility allows the removal of special-case handling that stores
  recurrence periods in raw form ('monthly'), reducing code size.  As a
  consequence this means that recurrence may now be rendered according to
  Duration::formatCompact, which is desirable.
- Added supporting unit tests.
2011-08-21 13:32:55 -04:00
Paul Beckingham
9a126ce717 Error Handling
- Improved some task validation errors by including data.
- Improved the phrasing of some error to be less pompous.
- Marked validation errors that need to be downgraded to warnings.
2011-08-21 12:35:47 -04:00
Paul Beckingham
1b55a48757 Unit Tests
- Eliminated obsolete benchmark.t.
- Removed the 'quick' mode logic to skip benchmarks in run_all.
- Restored bug.480.t tests that hung earlier.
2011-08-21 01:09:32 -04:00
Paul Beckingham
7aa4efef8d Expression Refactor
- Refactoring complete.  Arg objects now uses enumerations for _type
  and _category, which should help with performance.
2011-08-21 01:06:50 -04:00
Paul Beckingham
9086f51d29 Merge branch '2.0.0' of tasktools.org:task into 2.0.0 2011-08-20 17:09:04 -04:00
Paul Beckingham
215364958e Expressions Refactor - Clarified expansion rules
- Arg now has a _value member that reflects the value in play, rather
  than the input _raw value.  Only _value is used in eval.
- DOM expansion capabilities are now controlled by rc.dom.
2011-08-20 17:06:50 -04:00
Federico Hernandez
556ee1165d Portability
Added a reference to the Darwin 32bit version task to the task-faq
man page as well.
2011-08-20 23:01:47 +02:00
Paul Beckingham
c6229a6ca6 Unit Tests
- Removed benchmark2.t - it is no longer useful, and duplicates benchmark.t,
  which is itself not long for this world.
2011-08-20 14:56:09 -04:00
Paul Beckingham
438e65036b Expression Refactor
- Arguments are now categorized as either "literal" or a specific
  category, with accompanying type.  Type is inferred for literals,
  and referenced for attributes.
2011-08-20 14:02:48 -04:00
Paul Beckingham
a2a9bfc933 Portability - Building on 32-bit Darwin
- Added notes on building for 32-bit hardware running Darwin (thanks
  to John Hammond).
2011-08-20 11:16:30 -04:00
Paul Beckingham
516e368df0 Expression Refactor
- E9 now uses Arg object in place of Term.  This means A3 and E9 are
  now using a common object.
2011-08-20 10:11:24 -04:00
Paul Beckingham
816b07e868 Expressions - Refactor
- The A3::Arg object is very similar to the E9::Term object, so the two are
  being merged.  First step is to separate A3::Arg into it's own space, then
  add a _type member.
- Added more valid stop characters as terminators for various arg types.
- Removed redundant E9 special handling for dates, which is already built in
  to the Date object.
2011-08-19 22:42:19 -04:00
Paul Beckingham
7dd3e081c7 Bug #804 - URL link and break line
- Addressed bug #804 by allowing rc.hyphenate to control whether hyphens are
  inserted when long lines are broken.  This may help prevent xterm from
  mis-parsing URLs in task annotations, when wrapped (thanks to Yann Davin).
- Added unit tests.
2011-08-17 22:39:28 -04:00
Paul Beckingham
08fcb5362e Bug - Durations
- Duration were parsed as <int><unit> in A3, whereas <number><unit> is
  correct.
- Added Nibbler::str method for internal access.
- Nibbler::save, ::restore now return positions.  Useful for extracting
  substrings.
- Modified countdown.t to use the (now) correct units for durations.
2011-08-17 00:45:09 -04:00
Paul Beckingham
ee2960b9b0 Date/Duration Distinction
- When a date attribute is updated, the expression may have evaluated to
  a duration, which at this point is simply a number.  If it is below a
  certain threshold (5y) then it is considered a duration and added to
  'now', otherwise it is considered a date.
2011-08-16 23:50:26 -04:00
Paul Beckingham
ac9d1f3bfa Performance Timing
- Change the was performance measurements are taken.  This in preparation
  to automated daily perf charts, leading to efforts to speed up certain
  operations.
2011-08-15 21:53:01 -04:00
Paul Beckingham
ad38d5b92e Bug - File open issue
- If a file (pending.data) is open and locked, trying to open it again
  caused an error, whereas is now does nothing and reports success.
- Corrected timing info in Command::filter.
2011-08-14 21:23:01 -04:00
Paul Beckingham
e403574c34 Unit Test - bug.605.t
- Enabled the (failing) unit test, which now stands a chance of being
  fixed.
2011-08-14 21:03:40 -04:00
Paul Beckingham
8af6d70685 TDB2 - Timing
- Added timing information to TDB2 for performance measuring.
2011-08-14 21:02:30 -04:00
Paul Beckingham
49cabc1bfd Unit Tests
- All unit tests now clean up the new backlog.data and synch.key files.
2011-08-14 14:09:12 -04:00
Paul Beckingham
b0c8cff6a2 A3 - attribute modifier syntax
- Restored the <name>.<modifier>[:=]<value> syntax that was reduced
  to just <name>.<modifier>:<value> to make parsing easier.  Now that
  A3 is more sophisticated, we can have our sugar back.
2011-08-14 13:29:06 -04:00
Paul Beckingham
d59cddcc6c Default Command - next
- The new 'next' report is now the default command.  It was 'list', but
  'next' is much better.
2011-08-14 13:14:12 -04:00
Paul Beckingham
ef35a0cc18 TDB2 - Task IDs
- TF2::load_tasks now properly assigns task IDs.
- TDB2::next_id properly determines the next ID.
2011-08-14 13:08:37 -04:00
Paul Beckingham
f1d429cc96 E9 - Date Handling
- Made dateformat a class member, to reduce multiple lookups to one.
- Added operator-specific data handling.
2011-08-14 12:32:37 -04:00
Paul Beckingham
06d54b2e72 Commands - Calendar
- Converted the 'cal' command to TDB2.
- Reinstated command line handling for 'cal' command, but realized there
  is a conflict with filters.  Filtering disabled for 'cal' until a good
  solution is found.
- Converted recur.cpp to use TDB2, which eliminates the file locking
  problems that occur when both TDB and TDB2 are in use at the same time.
  This will cause other issues until all commands are converted to TDB2.
2011-08-14 12:04:34 -04:00
Paul Beckingham
b1ad00313f TDB2 & CmdCustom
- Converted CmdCustom to use TDB2, which means that for the first time,
  2.0 is now optimizing data load based on filter characteristics.  This
  means that "task list" and "task next" etc are now *fast*.
- Improved diagnostics for TDB2, for debugging.
2011-08-14 12:00:10 -04:00
Paul Beckingham
9a862bc75a File - locking
- Made locking an integral part of the File object, so that a client
  may now call File::lock multiple times with no effect beyond the first
  call.  This simplifies situations like the 'cal' command that must scan
  for recurrence changes, modify tasks, then optionally run a second
  report, all without locking issues.
2011-08-14 11:54:53 -04:00
Paul Beckingham
1f58856299 TDB2 - Recurrence
- Re-enabled the recurrence handling code and converted from TDB to
  TDB2.  Time for some difficult TDB2 work.  But first, coffee.
2011-08-14 10:19:59 -04:00
Paul Beckingham
f3f6cd260a E9 - Typo
- In one of the dumbest typos yet, I entered "fasle" instead of "false"
  and the copy/pasted it around.
2011-08-14 10:04:04 -04:00
Paul Beckingham
5a95b96631 A3 Parsing
- Durations now parse at higher precedence than operators, so that durations
  like '-3d' are not parsed as '-' '3d'.
2011-08-14 00:55:53 -04:00
Paul Beckingham
3e58453693 Unit Tests - filter-prefix.t
- I had forgotten to remove the unit tests for the ~ inversion modifier.
  This feature, though well implemented, is removed because enhancements
  to filtering are going to be added to the new expressions.  Attribute
  modifiers will continue to be supported, but not enhanced beyond 1.9.4
  functionality..
2011-08-14 00:42:39 -04:00
Paul Beckingham
dba950fcf7 A3 Parsing
- Added an 'until whitespace' clause to the attmod parser.  Results are
  better.
- Noted the need for more specific forms to be recognized.
2011-08-14 00:14:48 -04:00
Paul Beckingham
b5053f3711 Unit Tests - view.t
- Added logic to detect whether the unit tests were being run with output
  attached to a TTY or not, and adjust the expected lines of output
  accordingly.  The !TTY case is the important one.
2011-08-14 00:08:54 -04:00
Paul Beckingham
0ead416574 Unit Test - bug.495.t
- Modified the test to reflect the new handling of -- on the command
  line with respect to quoted text.
2011-08-13 23:58:28 -04:00
Paul Beckingham
beac5ed7e9 Unit Tests - bug.489.t
- The command line construct "tags.none:" is translated into the expression
  "tags = ''", but instead of '=' I had entered '=='.  Force of C/C++/Perl
  habit.
2011-08-13 23:40:22 -04:00
Paul Beckingham
38959d6446 Unit Tests
- Another broken unit test because a localized string lost the full
  stop.
2011-08-13 23:36:15 -04:00
Paul Beckingham
eec0abd1e7 Unit Tests - t2.t
- Removed two unit tests for data file syntax that is no longer
  supported, namely unquoted values.
    Supported:      status:"pending"
    Not supported:  status:pending
2011-08-13 23:34:14 -04:00
Paul Beckingham
fb9e82ed0e TDB2 parsing
- TDB2::load_lines was splitting the text on \n, but because the last
  line contains \n, there was an additional blank line.  This is what
  split_minimal is for.
- split_minimal contained a copy/paste bug that added the extra line
  if the input was non-trivial, instead of if the remainder was non-
  trivial.
- Fixed incorrect unit test accordingly.
2011-08-13 23:19:11 -04:00
Paul Beckingham
587f2a002f A3 Duration
- When parsing duration literals, look-ahead now prevents an ordinal
  such as '31st' (August 31st) from being interpreted as two tokens
  '31s' (duration) and 't' (word).  This is the same fix that was
  applied to A3::is_number.  I'll be there are more that I missed.
2011-08-13 22:29:39 -04:00
Paul Beckingham
a4fc8aee6a Unit Tests - bug.628.t
- Quoting problem.  To prevent the shell from stripping quotes, the
  command line must include \" ... \", but in a Perl string, that
  needs to be \\" ... \\".  Silly mistake.
2011-08-13 22:27:59 -04:00
Paul Beckingham
77dc2c47d4 Unit Tests - typo
- Unit test bug.434.t was thwarted by the L10N effort, which left off
  a full stop from a display string.
2011-08-13 22:26:17 -04:00
Paul Beckingham
be0522d567 Annotation Collisions
- Annotation timestamps are now incremented until unique.  This prevents
  rapid, successive annotations colliding.  The kind that occur during
  unit tests and when using UI wrapper programs.
- Removed 'sleep' commands in unit tests that were added to circumvent
  this.  This speeds up the test suite somewhat.
2011-08-13 21:53:10 -04:00
Paul Beckingham
cb366e0270 Unit Tests - rx.t
- Added a \b word-boundary unit test that isn't working.  Documentation
  says it does.  Computer says no.
2011-08-13 21:09:57 -04:00
Paul Beckingham
bfad448f82 TDB2 - id <--> uuid mapping
- Migrated TDB mapping over to TDB2 mapping, which occurs at the TF2 level.
  This should (soon) restore task dependencies.
2011-08-13 17:43:07 -04:00
Paul Beckingham
30034f057b Bug - A3::extract_modifications
- Broadened the list of argument categories that are downgraded to
  'word' for the purpose of task modification.
2011-08-13 16:24:07 -04:00
Paul Beckingham
7ba5e67050 Code Cleanup
- Removed unnecessary debug statements.
2011-08-13 14:31:29 -04:00
Paul Beckingham
7aa7fe083f Parsing
- Added special look-ahead rules to remove cases where '3M' was considered
  a number.
2011-08-13 14:10:24 -04:00
Paul Beckingham
e238b94d1b Urgency
- Urgency recalc was not properly set with the task was modified.
- Corrected urgency formatting.
- Cleaned up some code in A3 and E9.
2011-08-12 23:08:54 -04:00
Paul Beckingham
5a2fba607e Unit Tests
- New 'problems' script to help identify problem areas in the test
  suite.
2011-08-11 18:25:10 -04:00
Paul Beckingham
92ad842ab8 Unit Tests
- Fixed sorting errors, which were in the tests, not the code.
2011-08-11 18:13:46 -04:00
Paul Beckingham
678e08ca0f Portability
- When HAVE_SRANDOM is undefined in 1.9.4, the timeval struct can be omitted
  causing a compile error.  Patch received, but not applied to 2.0.0 branch
  because that code has been rewritten already (thanks to Paolo Almeida).
2011-08-10 01:28:04 -04:00
Paul Beckingham
47ae2ee9f6 Unit Tests
- Added unit tests for Nibbler::getNumber when the input is simply "2.0".
2011-08-10 00:25:03 -04:00
Pietro Cerutti
2274be16d8 Documentation
- Italian translation of the tips file.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-08-09 22:46:41 -04:00
Johannes Schlatow
413f2f6db6 Bug
- merge was playing ping-pong with different undo.data results
  in a setup with three machines
2011-08-09 00:13:21 +02:00
Paul Beckingham
e2a8f85a2f Task Refactoring
- Task is no longer a map of string to Att.  Att is itself a name/
  value pair, so the name was redundant.  Task is now a map of string
  to string.  This brings the obsoletion of Att much closer.
2011-08-07 22:41:25 -04:00
Paul Beckingham
85e77c1958 Code Cleanup
- Merging Record and Task objects, step 5.  Done.
2011-08-07 17:06:06 -04:00
Paul Beckingham
6f980490bd Code Cleanup
- Merging Record and Task objects, step 4.
2011-08-07 17:03:39 -04:00
Paul Beckingham
740cacc49f Code Cleanup
- Merging Record and Task objects, step 3.
2011-08-07 16:40:02 -04:00
Paul Beckingham
33cfdec5a6 Code Cleanup
- Merging Record and Task objects, step 2.
2011-08-07 16:28:40 -04:00
Paul Beckingham
6d00337db3 Code Cleanup
- Merging Record and Task objects, step 1.
2011-08-07 16:23:23 -04:00
Paul Beckingham
6140f4af9d Columns - mask, imask, parent
- Implemented column objects for the mask, imask and parent attributes.
  Why not.
2011-08-07 02:58:43 -04:00
Paul Beckingham
cdda791c84 Command - import
- Implemented the import command, which only suports JSON.  It is
  the basis for all other import formats, which will be implemented
  as external scripts.
2011-08-07 02:10:50 -04:00
Paul Beckingham
e8a49b3e8e Commands - timesheet
- Added stubs for the start of a command rewrite, possibly.
2011-08-06 16:28:45 -04:00
Paul Beckingham
fb23bf73a3 Import
- Trying different methods of making this code cleaner.  Not working
  so far.
2011-08-06 16:27:38 -04:00
Paul Beckingham
3e5bb713eb Merge branch '2.0.0' of tasktools.org:task into 2.0.0 2011-08-06 01:02:49 -04:00
Paul Beckingham
ffa5bc43fe E9
- Working towards arg date/duration eval.
2011-08-06 00:59:14 -04:00
Federico Hernandez
6e1ba161b1 Relative dates
- eoq and soq to refer to the end and start of the quarter
  (thanks to David French)
2011-08-04 01:40:31 +02:00
Paul Beckingham
e5ae145df2 Command - denotate
- Implemented denotate in the new style.
2011-08-02 00:56:29 -04:00
Paul Beckingham
8154222ef1 Documentation
- Updated DEVELOPER file.
2011-08-01 02:12:24 -04:00
Paul Beckingham
cc51c50f84 Configuration
- Added support for rc.dom, which enables/disables DOM support.
2011-08-01 01:39:21 -04:00
Paul Beckingham
a7f694386a Code Cleanup
- Eliminated obsolete Variant code.
2011-08-01 01:26:59 -04:00
Paul Beckingham
76760fe434 Command - show
- Fixed the show command to accept 'all' or a substring to search for
  in the configuration file.
2011-08-01 01:18:12 -04:00
Paul Beckingham
9275f3460f Unit Tests
- Fixed unit test.
2011-08-01 01:17:18 -04:00
Paul Beckingham
9403bc8e49 Operators
- Implemented Priority and string based <, <=, >, >= operators.
2011-08-01 01:05:03 -04:00
Paul Beckingham
ac7bcc81ee Unit Tests
- Corrected all unit tests that used the old syntax "task done 1" to
  use the new syntax "task 1 done".  Similarly, "task 1 ..." is now
  "task 1 modify ...".
2011-07-31 19:03:19 -04:00
Paul Beckingham
9ce7f63d85 Bug
- Fixed bug where argument processing was not properly shut off by
  the terminator -- in A3::tokenize.
2011-07-31 16:18:25 -04:00
Paul Beckingham
a91b6d4564 Attribute Parsing
- Attributes do not contain spaces unless specifically quoted and
  escaped.
2011-07-31 15:19:06 -04:00
Paul Beckingham
a171f6e4ac Bug
- Fixed bug whereby arguments were categorized, then defaults were injected
  but no subsequent categorization occurred.
- Added debug diagnostics for default.command, 'modify' and 'information'
  default processing.
2011-07-31 14:01:41 -04:00
Paul Beckingham
ccd32cb7d6 Unit Tests
- add.t contained a broken test that did not take into account a
  (working) substitution.
2011-07-31 13:34:10 -04:00
Paul Beckingham
e61e08c2ca Annotation Bug
- Fixed DOM lookup of special-case attributes: id and urgency are
  not stored in the usual manner, and must be handled differently.
- Removed the responsibility of DOM to evaluate literals, because
  they are handled more effectively in A3::tokenize.
- Fixed old code that assumed ".id" instead of "id".
- Removed unnecessary diag call from annotate.t.
2011-07-31 12:11:36 -04:00
Paul Beckingham
1884223a2e Arguments
- rc:___ and rc.___ arguments are no longer propagated to commands
  that modify tasks.
2011-07-31 11:18:16 -04:00
Paul Beckingham
c244132476 Unit Tests
- Fixed bug in Nibbler::getN.
- Added unit test for Nibbler::getN.
2011-07-31 11:14:56 -04:00
Paul Beckingham
01d3da90ae Unit Tests
- Filters must precede write-commands on the command line.
2011-07-31 09:49:23 -04:00
Paul Beckingham
4a99723129 CmdShow
- Added 'json.array' to the list of allowed configuration variables.
2011-07-30 14:52:53 -04:00
Paul Beckingham
100af304b7 A3
- Added copy ctor, operator=.
- Included proper handling of the _limit member.
2011-07-30 14:22:15 -04:00
Paul Beckingham
d6dd1fe8ac Holidays
- Added Japanese holidays for 2012, 2013 (thanks to Takanobu Watanabe).
2011-07-30 07:58:36 -04:00
Ben Boeckel
acc00e67ea [PATCH 1/2] Add monthly recurrence
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-07-29 22:45:13 -04:00
Paul Beckingham
c002e8e24f Holidays
- Added Japanese holiday file for 2011 (thanks to Takanobu Watanabe).
2011-07-29 22:42:26 -04:00
Ben Boeckel
a29097d9e0 [PATCH 2/2] Fix default task directory path
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-07-29 22:39:13 -04:00
Ben Boeckel
4f06e454a9 [PATCH] Add a missing trailing space
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-07-29 22:37:05 -04:00
Paul Beckingham
a691dfd6ed Developer File
- Added more required code "specs", removed the burndown y-axis function
  that was provided by Ben Boeckel.
2011-07-29 22:34:25 -04:00
Paul Beckingham
ecfce5091e Burndown
- Modified burndown command to use the Y-Axis calculation from Ben Boeckel.
2011-07-29 22:31:58 -04:00
Ben Boeckel
210b5f54d5 [PATCH] Compute the height of a burndown chart
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-07-29 22:30:27 -04:00
Paul Beckingham
402bac02a6 Legacy columns, formats
- Marked legacy columns and formats as deprecated.
2011-07-29 00:54:03 -04:00
Paul Beckingham
a26b4ca12f Expression Operators
- Implemented operator_equal, operator_inequal.
- Removed diagnostics for completed operators.
2011-07-28 23:38:37 -04:00
Paul Beckingham
eb1154235a Expression reboot
- Implemented =, !=, ~, !~ operators.
- Generates lots of diagnostics for now.
2011-07-28 00:40:09 -04:00
Paul Beckingham
40a71e2aae Feature #811
- Added feature #811, which makes the 'execute' command optional, and
  controlled by '#define HAVE_EXECUTE 1' in cmake.h.  This allows a build
  that does not have the potential security hole, in the event that taskwarrior
  is run at elevated privilege, or run in the context of a web server.
2011-07-28 00:14:33 -04:00
Paul Beckingham
2460502be8 AUTHORS
- Added Daniel Kullmann as thanks for the code patches, although they
  are not being applied.  We still appreciate the effort.
2011-07-27 22:43:05 -04:00
Paul Beckingham
8651bbec8e DEVELOPER
- Updated the file with holiday data info.
2011-07-27 22:39:51 -04:00
Paul Beckingham
7e3a207d63 Bug #808
- Fixed bug #808, which generated compiler warnings on Solarix (thanks to
  Owen Clarke).
2011-07-26 21:40:31 -04:00
Paul Beckingham
0ee1f9c1c6 Bug #807
- Fixed bug #807, which caused a lack of Lua to prevent tests from building
  (thanks to Owen Clarke).
2011-07-26 21:26:21 -04:00
Paul Beckingham
fde7ec107a Code Cleanup
- Removed obsolete Nibbler::getDOM.
2011-07-26 00:40:29 -04:00
Paul Beckingham
9bf1ec2f7c Code Cleanup
- Eliminated Lexer.
2011-07-26 00:37:49 -04:00
Paul Beckingham
0c08b29e48 Code Cleanup
- Eliminated obsolete Arguments.h, Arguments.cpp.
2011-07-26 00:25:57 -04:00
Paul Beckingham
ab8a6d9e88 Code Cleanup
- Eliminated Expression.{h,cpp}.  E9 now replaces it.
2011-07-25 23:53:41 -04:00
Paul Beckingham
879356fad2 AUTHORS
- Added Miguel de Val Borro, for various contributions.
2011-07-25 23:23:13 -04:00
Matt Kraai
0e2da7f1d4 Code Cleanup
- When compiling the 2.0.0 branch of Taskwarrior with GCC 4.6.1, the compiler
  generates a number of warnings.  This patch eliminates these warnings.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-07-25 23:17:37 -04:00
Paul Beckingham
b9ea9ca2db Code Cleanup
- Removed obsolete deltaXXXX helper functions.
2011-07-25 23:08:56 -04:00
Paul Beckingham
83c0ea6ab2 E9
- Implemented the shell of E9::eval.
- Stubbed out operator_xxx helper methods.
2011-07-25 22:59:47 -04:00
Paul Beckingham
b1048ddfa3 Documentation
- Added DEVELOPER file to give hints, clues as to what needs work, and
  what should be avoided.
2011-07-25 22:51:00 -04:00
Paul Beckingham
3d13ac9f12 Expression reboot
- A3::postfix implemented.
2011-07-25 01:33:23 -04:00
Paul Beckingham
af2f44ca5a Expression reboot
- Implemented selective ID/UUID detection, allowing only a single
  block of consecutive ID/UUID values to be considered a sequence.
- Implemented A3::sequence to expand task IDs and UUIDs into an
  algebraic filter.
2011-07-25 01:10:15 -04:00
Matt Kraai
f86b497fa8 Portability
- Patch provided to define uint32_t types, etc in util.cpp.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-07-24 23:50:12 -04:00
Paul Beckingham
d167842e36 Date
- Implemented Date::get_relatives to retrieve a list of all the supported
  relative date constructs.
2011-07-24 23:34:15 -04:00
Paul Beckingham
8e691d5c5f Expression reboot
- Implemented A3::expand to include all expandable types.
2011-07-24 23:20:06 -04:00
Paul Beckingham
5daabd2548 Expression reboot
- Implemented A3::extract_pattern.
- Implemented A3::infix, which inserts 'and' operators where necessary
  in expressions.
- Began implementation of A3::expand which converts old-style filters
  (pri:H) to the new algebraic style (priority = H).
2011-07-24 21:53:03 -04:00
Matt Kraai
0962b66928 Bug #803
- Here's a patch to make Taskwarrior not display the prompt and not delete the
  parent task if a recurring task is deleted when rc.confirmation is false.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-07-24 21:48:09 -04:00
Paul Beckingham
56af60ceaf Arguments
- Converted from Arguments to A3.
2011-07-24 17:03:32 -04:00
Paul Beckingham
2f5bb14d33 Arguments
- Converted from Arguments to A3.
2011-07-24 17:01:28 -04:00
Paul Beckingham
5b0197300f Arguments
- Converted from Arguments to A3.
2011-07-24 16:55:32 -04:00
Paul Beckingham
852484beb2 Arguments
- Converted from Arguments to A3.
2011-07-24 16:50:58 -04:00
Paul Beckingham
67fb1e9be4 Expression reboot
- Downgraded A3::extract_words to return a simple vector of strings.
  Any more is unnecessary.
2011-07-24 16:44:05 -04:00
Paul Beckingham
b30b187b4c Expression reboot
- Implemented A3::is_tag.
- Removed obsolte A3::extract_* code.
2011-07-24 14:46:22 -04:00
Paul Beckingham
b3a73f2da1 Expression reboot
- Implemented A3::is_id and A3::is_uuid.
- Obsolted old is_operator.
- Obsolted old is_modifier.
- Obsolted old is_expression.
2011-07-24 14:27:10 -04:00
Paul Beckingham
0ecf93553c Nibbler
- Implemented Nibbler::getN, which allows for faster extraction of
  compound tokens if the length is known.
2011-07-24 14:25:53 -04:00
Paul Beckingham
10c1203c87 Expression reboot
- Implemented A3::is_subst.
2011-07-24 13:41:04 -04:00
Paul Beckingham
c39f8bd6af Expressions reboot
- Implemented A3::is_dom obsoleting Nibbler::getDOM.
- Implemented A3::is_duration.
- Implemented A3::is_pattern to replace Nibbler::getQuoted call.
- Improved A3::is_attr, A3::is_attmod.
- Obsoleted A3::is_multipart.
2011-07-24 13:33:20 -04:00
Paul Beckingham
f502ee0c52 Duration
- Implemented Duration::get_units to return the list of supported
  duration units (wk, week, weekly ...).
2011-07-24 13:15:27 -04:00
Paul Beckingham
f174caccbc DOM
- Implemented DOM::get_references to return a list of all the
  fixed-string DOM references supported.
2011-07-24 13:11:49 -04:00
Paul Beckingham
bfe5edd35d Nibbler
- Improved ::getDOM while it waits to be obsoleted.
2011-07-24 12:58:00 -04:00
Paul Beckingham
a4eb390a04 Duration
- The "annual" and "yearly" options were listed twice.
2011-07-24 12:57:10 -04:00
Paul Beckingham
b55f47ec9a Expression reboot
- Implemented A3::is_modifier which canonicalized modifiers.
- Implemtned A3::is_attmod.
2011-07-24 10:57:30 -04:00
Paul Beckingham
94dfc68cca Expression reboot
- A3::tokenize recognizes strings, patterns, attr, ops, dates.
- A3::tokenize canonicalizes attributes.
2011-07-24 01:06:26 -04:00
Paul Beckingham
3fd83ca400 Nibbler
- Implemented Nibbler::getName to parse an alpha-numeric name.
- Added appropriate unit tests.
2011-07-24 01:00:24 -04:00
Paul Beckingham
91225d808f Expression reboot
- A3 now tracks whether a command is read-only, and builds filters accordingly.
- Implemented extract_filter, extract_modfications and extract_words stubs.
- Removed all E9 implementation details - this is going to be written from
  scratch.
2011-07-23 23:39:11 -04:00
Paul Beckingham
c344c07579 Diagnostics
- Removing render timing info to ViewText::render.  It's not useful.
2011-07-23 23:13:19 -04:00
Paul Beckingham
abcda0bcfa Expression reboot
- More integration of A3 into Context.
- Now ready for filter/modification/word extraction.
2011-07-23 17:03:44 -04:00
Paul Beckingham
4fc4e0f637 Expressions reboot
- Now handles argument captures from argv, stdin.
- Now handles rc overrides, aliases, default command.
2011-07-23 15:24:39 -04:00
Paul Beckingham
5b5978952a Expressions reboot
- Created A3.{h,cpp} which will be a simpler, lightweight version of
  Arguments.{h,cpp} that does less, but does it better.
- Created E9.{h,cpp} which will be a better implementation of
  Expression.{h,cpp} that does less, but does it better.
- Integrated A3 into Context::initialize, and Arguments and A3 will
  coexist until A3 surpasses Arguments.
2011-07-23 13:38:33 -04:00
Paul Beckingham
1164ea5cf1 Expression support
- Added Context::getColumns to return a vector of column names.
  This is to help a shift toward using the Column objects to assist
  in the parsing/validation of data entry/modifications.
- Added Column::modifiable to delegate an attributes readable/writeable
  state.  This means the columns will be in charge of their own
  mutability, which will simplify and generalize Command::modify_task.
2011-07-23 12:08:13 -04:00
Paul Beckingham
ee9199b4e0 Bug
- Fixed bug where the command line was incorrectly scanned, looking
  for 'cal', '/cal', 'calendar' or '/calendar'.
2011-07-22 00:31:54 -04:00
Paul Beckingham
197524a5fc Expression
- Added configurable 'abbreviation.minimum' (default:2) setting to
  control how auto-completion works.
2011-07-20 10:51:13 -04:00
Paul Beckingham
a6fadaee67 Expressions
- DOM lookups now canonicalize attribute names, and no longer return
  the unmodified name if the lookup yields nothing.
2011-07-19 22:34:29 -04:00
Paul Beckingham
19cb6110bd Expressions
- Removed unnecessary enquoted blank strings.
2011-07-19 00:51:42 -04:00
Paul Beckingham
09d94a0712 Expressions
- Eliminated the . prefix for DOM references to the current task - it is
  unnatural to state ".due < today".
- Prioritized parsing dates ahead of integers, which were masking all
  dates.
2011-07-19 00:25:26 -04:00
Paul Beckingham
e564827be7 Expressions
- Added recognition of individial words to the tokenize method.
2011-07-18 23:35:35 -04:00
Paul Beckingham
ab6e230f10 Expressions
- Implemented Nibbler::getWord.
- Re-implemented Nibbler::getDOM.
- Modified DOM addressed for context-based attributes from "due" to ".due",
  the help disambiguate DOM references in expressions.  There is now a
  consistency:

      <id>.due         Task-specific
          .due         Contextual
    <uuid>.due         General

- Implemented associated unit tests.
2011-07-18 23:08:05 -04:00
Paul Beckingham
dd75c1af1e Expressions
- Attribute values are now run through the expression evaluator.  This
  is good.  The evaluator fails.  This is bad, but progress has been
  made.
2011-07-17 15:33:09 -04:00
Paul Beckingham
ddbf9d374e Expressions
- Reclassified attr (name:value) and attmod (name.mod:value) values
  as "exp", to be tokenized.
2011-07-17 14:25:49 -04:00
Paul Beckingham
137b00a14a Expressions
- Commented out troublesome "distance_from_command" code.
- Commented out DOM diagnostics, for now.
- Commented out TDB2 diagnostics, for now.
- Category "seq" arguments are now assigned type "exp".
- All type "exp" arguments are now tokenized.
2011-07-17 13:52:55 -04:00
Paul Beckingham
f0a9796683 Expressions
- Any "exp" arguments are given the "exp" type (_second) as well as
  "exp" category (_third).
2011-07-17 13:02:23 -04:00
Paul Beckingham
30b5c6c048 Expression
- Implemented automatic downgrade of arguments to 'word' in the
  context of modifications.
2011-07-17 12:45:59 -04:00
Paul Beckingham
e08d840ba1 Expressions
- Broke out expression handling into two distinct flavors: filter
  and expression.  Filters need lots of preparation and mapping,
  which includes implicit 'AND' operators, expansion of syntactic
  sugar like /pattern/ etc and evaluate to a Boolean.  Expressions
  are simpler wiht less preparation, and evaluate to a Variant.
2011-07-17 12:04:38 -04:00
Paul Beckingham
d66729adf3 Code Cleanup
- Assorted minor edits.
- Snapshot before E9 work.
2011-07-16 23:58:03 -04:00
Paul Beckingham
1bec1c0934 Typo
- Fixed typo in message (thanks to Bryce Harrington).
2011-07-16 18:05:41 -04:00
Paul Beckingham
7fbe124fe0 Unit Tests
- Added proper handling for when no command or filter is specified, and
  no rc.default.command exists.
- Improved wording on above error message.
- Fixed typo in previous commit (managed to check in code before the
  build completed, and ultimately failed).
- Now reports errors that occur during initialization at the same level
  of verbosity as during command execution.
2011-07-16 15:33:09 -04:00
Paul Beckingham
8aeef40b80 Unit Tests
- variant.t.cpp was reporting 6 tests but performing none.  That
  certainly doesn't help our pass rate.
2011-07-16 14:22:42 -04:00
Paul Beckingham
2135cb141d Task Validation
- Shifted test for priority values from Att.cpp to Task.cpp.
2011-07-16 14:22:12 -04:00
Paul Beckingham
1b5648c922 Calendar Shortcut
- Added 'cal' and 'calendar' symlinks to illustrate the supported
  argv[0] values.
2011-07-16 13:20:26 -04:00
Paul Beckingham
05a53778ea Helper Command
- Implemented _columns to simply list all supported columns, in a
  machine-readable format.
2011-07-16 13:18:06 -04:00
Paul Beckingham
27a04b29f5 Feature #800
- Added feature #800, adding a new command 'columns' that lists all the columns
  available for custom reports, and includes their formatting options (thanks
  to T. Charles Yun).
2011-07-16 13:08:23 -04:00
Paul Beckingham
3a5370ddf1 Filters
- Implemented Command::filter_shortcut to detect when a filter begins
  with "status:pending" and skip the loading/parsing of completed.data.
- Removed obsolete att.t.cpp tests.
- Removed diagnostics from TDB2::TDB2 that were causing a segfault.
  I suppose there is no std::cout available during global ctors?
2011-07-14 00:46:01 -04:00
Paul Beckingham
424dc50a36 Command - install
- Temporarily removed CmdInstall from the build.  This is deferred
  until 2.1 or so, when extensions are supported.
2011-07-14 00:04:07 -04:00
Paul Beckingham
8827f9c978 TDB2
- Implemented CmdAdd.cpp and CmdLog.cpp using TDB2.
- Implemented simple append writes in TDB2.
- Modified CmdImport to accept and parse JSON.
- Added more const-ness in DOM, Expression and Task, to allow TDB2::get_tasks
  to return a const vector ref, which is a Very Good Thing.
- Corrected usage for the export command.
- Implemented Task::urgency as a call to Task::urgency_c, which is a const
  overload to allow urgency calculations (without caching) for const Task
  objects.
- Removed obolete code from TDB.
- Added lots of diagnostic output for TDB2 - it's annoying, but will be
  gone soon.
- Added mention in CmdHelp of the new <filter> and <modifications>
  syntax elements.  Needs more.
- Added Command::filter overload which uses TDB2.  Not in use yet.
2011-07-13 23:53:57 -04:00
Paul Beckingham
523c4dfcca Code Cleanup
- Eliminated obsolete or unused methods.
2011-07-12 22:19:18 -04:00
Paul Beckingham
4d410972d4 Command Usage
- Enhanced CmdHelp by adding aliases.
- Corrected usage for CmdModify.
- Renamed CmdQuery --> CmdExport.
- Added an alias _query --> export.
2011-07-12 00:51:05 -04:00
Paul Beckingham
3ef8f3f31a AUTHORS
- Added Brendan O'Flaherty for his export-html.py contribution.
2011-07-12 00:32:40 -04:00
Paul Beckingham
5b4c46fe42 TDB2
- Began serious TDB2 development by adding TDB2::dump, which shows
  all the file-related data in debug mode.
2011-07-11 23:19:21 -04:00
Paul Beckingham
f059c27bf0 Feature #607
- Added feature #607, which allows modification of a task during annotation
  (thanks to Peter De Poorter).
2011-07-11 02:10:50 -04:00
Paul Beckingham
877d8efa8e Bug #744
- Fixed bug #744, which omitted new ID feedback for all but the first
  duplicated task (thanks to Uli Martens).
2011-07-11 02:03:17 -04:00
Paul Beckingham
2bf4276bda Unit Tests
- Renamed bug.485.x to bug.485.t to reflect that it is not only
  fixed, but relevant.
2011-07-11 01:55:56 -04:00
Paul Beckingham
4522877b43 Bug #683
- Fixed bug #683, in which the 'config' command sometimes edited comments
  instead of the proper line in .taskrc (thanks to Erlan Sergaziev).
2011-07-11 01:51:14 -04:00
Paul Beckingham
523173e27e Bug #403
- Fixed bug #403, which disambiguates certain commands involving numbers.
2011-07-11 01:11:48 -04:00
Paul Beckingham
6009507209 Enhancement
- When a command is encountered on the command line, followed by an
  ID or UUID, the distance (in arguments) between the command and
  the sequence is measured in terms of arguments that are not rc: or
  rc. overrides.  It cannot exceed 1.  This helps disambiguate
  commands like 'task list Fedora 13', because the '13' is more than
  one argument away from 'list', and is therefore not an ID.
2011-07-11 00:59:11 -04:00
Paul Beckingham
21ad7a3d3f Unit Tests - add.t
- Corrected typo in unit test results.
2011-07-11 00:26:28 -04:00
Paul Beckingham
ef61981041 Commands - modify
- Re-enabled the modify command.
- Re-implemented Arguments::inject_defaults to accomodate the idea
  of the default command, the modify command without the modify
  keyword, and the automatic info command.
2011-07-10 23:41:30 -04:00
Paul Beckingham
7f84fa0c80 Bug
- The arguments // and /// were being mis-identified as patterns.
2011-07-10 18:20:46 -04:00
Paul Beckingham
8e0296468e Unit Tests
- Improved args.5.t, which was attempting to stop tasks that were
  not started.
2011-07-10 18:04:49 -04:00
Paul Beckingham
d5849b0160 Aliases
- Allowed aliases to nest up to 10 levels.
2011-07-10 17:58:07 -04:00
Paul Beckingham
2d30275889 Push/Pull/Merge
- Re-enabled the commands.
2011-07-10 14:59:30 -04:00
Paul Beckingham
254bce5dc2 I18N
- Forgot to modify a string.
2011-07-10 13:21:15 -04:00
Paul Beckingham
d33de00eac I18N
- Localized more commands.
2011-07-10 13:19:41 -04:00
Paul Beckingham
44d835947b I18N
- Localized more commands.
2011-07-10 12:54:15 -04:00
Paul Beckingham
e5139780ea I18N
- Localized more commands.
2011-07-10 11:08:40 -04:00
Paul Beckingham
ba723db9d7 Helpers
- Implemented Task::setEnd.
- Updated all code to use Task::setEntry and Task::setEnd.
2011-07-10 11:07:00 -04:00
Paul Beckingham
ad55fa2d79 Verbosity
- Implemented new verbosity token 'new-id' which controls whether
  newly generated task IDs are reported.
2011-07-10 10:08:23 -04:00
Paul Beckingham
3456a24749 Documentation Update
- Brought the ChangeLog up to date with recent multiple bug closings.
2011-07-10 02:06:59 -04:00
Paul Beckingham
9b3f9ee4ff Feature #514
- Added feature #514, which allows duplication of tasks based on a generalized
  filter, rather than just IDs (thanks to Peter De Poorter).
2011-07-10 01:48:21 -04:00
Paul Beckingham
f0d2af2651 Filter Bugs
- A substitution arg is categorized as "subst", but was tested for
  "substitution".
- The Arguments::is_multipart method was triggering on '/', which is
  wrong, but I can't remember why I put it in there.  Hmmm.
- When extracting a write-filter, substitutions after the command
  were generating an error, whereas they should be ignored.
- Task::substitute was modifying data even when the patterns were not
  matching.  Yikes.
- Added unit tests for en-passant modification of all types during
  done, delete, start, stop.
2011-07-10 01:03:52 -04:00
Paul Beckingham
69e70889be Unit Tests
- Prevented the info command from running a GC first, which breaks
  certain unit tests.
- Modified delete.t to test annoation on delete.
2011-07-10 00:01:48 -04:00
Paul Beckingham
d087bdfd38 Enhancement
- Various commands now allow modification and annotation.
2011-07-09 23:45:31 -04:00
Paul Beckingham
b5f04a3ebc Code Cleanup
- Obsoleted Context::disallowModifications, because they are no longer
  disallowed.
2011-07-09 23:27:20 -04:00
Paul Beckingham
a16b8366cd TDB
- Integration TDB2 into the initialization process.  It begins...
2011-07-09 21:25:46 -04:00
Paul Beckingham
10b97fc967 Feature #340
- Added feature #340, which implements new color rules 'color.completed' and
  'color.deleted'.
2011-07-09 19:00:58 -04:00
Paul Beckingham
7986227ea2 Bug #691
- Fixed bug #691, which was a mis-reporting of file lock state even when file
  locking was turned off (thanks to Tom Duffy).
2011-07-09 18:30:27 -04:00
Paul Beckingham
63308441ec Documentation
- Added internal documentation on the use of categorized arguments
  in filters.
2011-07-09 18:08:54 -04:00
Paul Beckingham
3abb4d7dd6 I18N
- Completed localizing CmdLog.cpp.
2011-07-09 17:50:43 -04:00
Paul Beckingham
f483d1ed9d Unit Tests - arguments.t
- Removed two obsolete expression operators, % and ^.
2011-07-09 17:49:41 -04:00
Paul Beckingham
322824567f Unit Tests - args.1.t
- Added tests to verify that '<id> <command>' and '<command> <id>'
  both work as expected.
2011-07-09 17:48:14 -04:00
Paul Beckingham
9b2e61f9b3 Arguments
- Corrected mishandling of sequence in both read-only and write
  command filters.
2011-07-09 17:05:25 -04:00
Paul Beckingham
1cb4d19c3c Argument Parsing
- On task modification, all attributes are canonicalized.
2011-07-09 09:51:19 -04:00
Paul Beckingham
2b135ed3c2 Expressions
- Variants can now construct dates and duration from std::string.
2011-07-09 09:03:15 -04:00
Paul Beckingham
aea1c8fea6 Command - config
- Reenabled the config command with new argument processing.
2011-07-08 01:32:26 -04:00
Paul Beckingham
8731bf9ac6 Calendar
- If the program is renamed 'cal' or 'calendar', or symlinked to
  either 'cal' or 'calendar', then the calendar report is run.
2011-07-08 01:16:05 -04:00
Paul Beckingham
e92a7fdf7d Commands - color
- Reenabled the color command using new argument processing.
2011-07-07 01:35:37 -04:00
Paul Beckingham
2ce0b5a1ab closeEnough
- Implemented closeEnough, which does a truncated, caseless compare
  between two strings.  For example, "FoO" is cloneEnough to "food."
  to be a match.  Used to allow mixed case and abbreviated arguments.
2011-07-07 01:33:43 -04:00
Paul Beckingham
63e3f5711e Merge branch '2.0.0' of tasktools.org:task into 2.0.0 2011-07-06 22:53:32 -04:00
Paul Beckingham
01253f1cdf Error Handling
- Errors that occur during initialization no longer prevent the
  display of debug info.
2011-07-06 22:52:59 -04:00
Paul Beckingham
7a544489ae Command Line
- Added a method for extracting unstructured text from the command line.
2011-07-06 22:47:47 -04:00
Bryce Harrington
5e693b2530 Bug #799
- Applied documentation patch for #799, fixing a broken link in the man page.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-07-06 18:39:44 -04:00
Paul Beckingham
8ff3a1675d Duration
- Implemented operator+=, operator-=.
- Added unit tests.
2011-07-04 14:22:33 -04:00
Paul Beckingham
b70f4e8528 Variant
- Cleaned up some operator implementations.
- Added Date, Duration formatting.
2011-07-04 13:51:36 -04:00
Paul Beckingham
fc793e7b1d Duration
- Implemented missing operator<=, operator>=.
- Added corresponding unit tests.
2011-07-04 13:34:20 -04:00
Paul Beckingham
33bb6b6d85 Expressions
- Improved categorization by using the Triple to represent the three
  (raw/inferred/category) values to aid in extraction.
2011-07-04 11:58:55 -04:00
Paul Beckingham
2d4ee13a46 Urgency
- Broke out urgency into separate functions.
2011-07-04 00:28:44 -04:00
Paul Beckingham
42becb9e41 Expressions/Arguments
- Converted the arguments parsed from a pair (token/modified-category)
  to a triple (token/type/category)
2011-07-02 11:47:39 -04:00
Paul Beckingham
e1aea08f81 Unit Tests
- Fixed test that assumed old-style command usage.
- Corrected duration unit tests.
2011-07-02 10:09:37 -04:00
Paul Beckingham
32392b8650 Edit - reenabled
- Reenabled the edit command with the new filtering mechanism.
2011-07-02 09:59:50 -04:00
Paul Beckingham
f1b5999983 Bug - ColDescriptionf indent
- Fixed bug in description.default rendering that inserted the indentation
  twice.
2011-07-02 09:57:42 -04:00
Paul Beckingham
72fa53ad3d I18N
- Localized more files.
2011-07-01 22:55:46 -04:00
Paul Beckingham
59ccad5b62 I18N
- Localized more files.
2011-07-01 22:33:49 -04:00
Paul Beckingham
99d25bd0db Enhancement
- Implemented Record::get_duration as a helper.
2011-07-01 22:21:25 -04:00
Paul Beckingham
63f91c2f88 Enhancement
- Implemented Record::get_date to eliminated the need to obtain a date
  as a string, then convert to time_t, then instantiate a Date.
2011-07-01 22:13:34 -04:00
Paul Beckingham
7d5f4fdfc7 I18N
- Localized Task.cpp
2011-07-01 21:50:23 -04:00
Paul Beckingham
a9a4c1c692 I18N
- Localized more files.
2011-07-01 21:16:28 -04:00
Owen Clarke
3b2e93f1a0 Bug #772
- Implemented custom uuid function that doesn't suffer from the precision
  and cyclic lack of randomness of the previous implementation.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-07-01 15:34:41 -04:00
Ben Boeckel
9f2c5a6190 Bug #798
- Applied patches for bug #798 which allows out-of-source builds (thanks to
  Ben Boeckel).
- Added Ben to the AUTHORS file.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-07-01 09:21:23 -04:00
Owen Clarke
3af5194442 Bug #797
- Fixed bug #797 which corrects a build problem with 'srandom' (thanks to Owen
  Clarke).

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-07-01 09:04:52 -04:00
Paul Beckingham
fd484ee264 Feature
- The duration 'm' is now interpreted as 'months', not 'minutes'.
2011-06-30 18:35:54 -04:00
Paul Beckingham
829a26d70b I18N
- Localized projects and _projects commands.
2011-06-29 23:05:53 -04:00
Owen Clarke
f5e155e54d Bug 795
- Improved detection of uuid library, and the uuid_unparse_lower
  function.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-06-29 22:38:41 -04:00
Paul Beckingham
9ceae7c5c2 Expressions
- Eliminated % modulus operator - who cares?
- Found a potential problem with argv[0].
2011-06-28 00:47:28 -04:00
Paul Beckingham
3096364352 Expressions
- Implemented type-specific <, <=, >, <= for "priority".  Untested.
2011-06-28 00:35:15 -04:00
Paul Beckingham
2c621eaadc Unit Tests
- The dom.t tests were segfaulting because they used a blank Context
  with no arguments, and when the DOM referecne 'context.program' was
  queried, it failed because there was no Context::args[0].
2011-06-27 23:26:51 -04:00
Paul Beckingham
45a757832a Feature #559
- Added feature #559, which implements a new configuration variable,
  rc.exit.on.missing.db, which causes taskwarrior to exit if the
  rc.data.location is missing (thanks to Sander Marechal).
2011-06-27 23:23:28 -04:00
Owen Clarke
526fa07326 Bug #795
- Addressed lack of uuid_unparse_lower on Solaris.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-06-27 22:57:58 -04:00
Owen Clarke
2bc8dfbfe7 Bug #793
- Replaced timegm with equivalent code.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-06-27 22:49:37 -04:00
Owen Clarke
8fbce0288e Bug #794
- Corrected typo and missing ; for Solaris builds.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-06-27 22:40:45 -04:00
Owen Clarke
e4c173771f Bug #792
- Applied patch to allow Solaris to be recognized by cmake.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-06-27 21:59:38 -04:00
Paul Beckingham
8c6e5277ec Expressions
- Project and Recur attributes now match leftmost by default.
2011-06-27 00:40:56 -04:00
Paul Beckingham
43e72b8ac8 Footnotes
- Relocated 'N tasks' style message to footnotes.
2011-06-27 00:22:18 -04:00
Paul Beckingham
1813f67230 Clean Build
- Removed a warning for a clean build on CentOS.
2011-06-27 00:10:33 -04:00
Paul Beckingham
f5ea55031c Commands - add, log
- Made code more consistent between the two commands.
2011-06-26 23:58:17 -04:00
Paul Beckingham
32cbe7a049 Bug
- rc.default.due needs to be converted to an epoch before storage.
2011-06-26 23:45:17 -04:00
Paul Beckingham
2ac33089b1 Commands - delete
- The delete command is now working.
2011-06-26 23:36:48 -04:00
Paul Beckingham
877ecbc864 Commands - done
- The 'done' command now functional.
- Localized CmdDone.cpp.
2011-06-26 23:28:21 -04:00
Paul Beckingham
1b90adc1aa Bug
- Fixed 'limit:N' bug, whereby when a report specifies a limit, and
  the user overrides it, there are potentially two limit arguments,
  in which case the last one, not the first one is needed.
2011-06-26 15:19:14 -04:00
Paul Beckingham
37edd06027 I18N
- Localized more files.
2011-06-26 14:41:59 -04:00
Paul Beckingham
e83b468ade Bug - Seg fault
- Fixed seg fault caused when a custom report had no override labels.
2011-06-26 12:47:51 -04:00
Paul Beckingham
58a04b9813 Bug - DOM lookup for 'id' was not supported
- Removed DOM caching, which appears to be a problem.
- Added 'id' and 'uuid' to DOM::get, which were missing, and therefore
  caused all filters with sequences to fail.
- Modified CmdInfo to load all tasks, until TDB2 is here.
2011-06-26 12:45:48 -04:00
Paul Beckingham
41a6ff29c8 Build
- Fixed broken build on CentOS.
2011-06-26 11:34:45 -04:00
Paul Beckingham
a0f87499e8 Documentation Update
- Added missing contributor to AUTHORS.
- Added missing bug/feature fixes to ChangeLog.
2011-06-26 01:53:18 -04:00
Paul Beckingham
7faad5fb44 Command Line Defaults
- Implemented support for rc.default.command.
- Implemented support for assumed info command.
- Implemented Arguments::inject_defaults to insert default arguments
  at just the right location.
- Corrected CmdCustom handling of limit:page.
2011-06-26 01:21:11 -04:00
Paul Beckingham
91e5a5e02e Commands - info
- When no command is specified, assume 'info' command.
2011-06-26 00:43:18 -04:00
Paul Beckingham
c9cc43dc5f I18N
- Localized more files.
2011-06-25 23:32:40 -04:00
Paul Beckingham
42ead6b34d Report Filters
- Report filters are now properly loaded and injected into the argument
  list.
2011-06-25 21:56:57 -04:00
Paul Beckingham
b58438bdd4 Regexes
- Added regex support to substirutions.
- Fixed bug that prevented 1.9.4 from shipping with regexes.  If the
  description is "aXXaaXXa", and the substitution is /XX/.../ then the
  first substitutions changes the length of the string to "a...aaXXa"
  and therefore invalidates the index for the second match, and makes
  this change: "a...a...Xa".  The fix is to keep a running 'skew' count
  of the difference in 'from' and 'to' length, to adjust the match
  indexes.
- Moved the helper deltaSubstitutions function into the Task object,
  which makes more sense.
- Cleaned up output composition for CmdAdd.
- Eliminated #ifdef FEATURE_REGEX.  They are here to stay.
2011-06-25 16:41:17 -04:00
Paul Beckingham
622e9c5e1e Burndown
- Corrected label placement.
2011-06-25 14:50:39 -04:00
Paul Beckingham
20bb5bf648 I18N
- Localized more commands.
2011-06-25 13:14:47 -04:00
Paul Beckingham
6d4bf3dc75 I18N
- Localized 'ids', '_ids' and '_zshids' commands.
2011-06-25 12:01:12 -04:00
Paul Beckingham
5972272de2 I18N
- Missed a string in CmdAdd.
2011-06-25 11:54:47 -04:00
Paul Beckingham
b70fa61f34 Limits
- Implemented built-in support for limits.
2011-06-25 11:53:35 -04:00
Paul Beckingham
9603864924 Commands - add, log
- Implemented add and log commands using new infrastructure.
- Relaxed restriction about creating completed tasks with no dependencies.
- Localized CmdAdd.cpp CmdLog.cpp.
- Implemented Command::modify_task to apply command line arguments to a
  specified task.
- Implemented Command::apply_defaults to apply various initial values to
  a specified task, such as entry date.
2011-06-24 00:58:26 -04:00
Paul Beckingham
3c1c900b5b Columns
- Refactored column objects to contain a ::validate method, for the
  validation of incoming data.
- Context.columns is now a vector of one of each column object,
  indexed by attribute name, for validation purposes.
2011-06-24 00:39:28 -04:00
Paul Beckingham
a7d6b91ad3 Cleanup
- Renamed RegX to RX.  Got sick of the RegX name - looked too much like GenX.
2011-06-21 18:15:58 -04:00
Paul Beckingham
03dbf7f468 Regex
- Added regex support to expressions.
- Implmented configurable case sensitivity.
2011-06-21 18:07:12 -04:00
Paul Beckingham
8040ed5430 I18N
- More localization.
2011-06-21 18:06:27 -04:00
Paul Beckingham
b63835757f I18N
- Localized more files.
2011-06-21 18:05:17 -04:00
Paul Beckingham
393ebae8aa Cleanup
- Removed obsolete grammar.bnf file.
- doc/misc scripts relocated to screencast.git.
2011-06-21 18:02:08 -04:00
Paul Beckingham
5808e2073f DOM Caching
- Implemented DOM caching on name.  May need a 'clear' method later.
2011-06-21 02:02:53 -04:00
Paul Beckingham
b49523c06d Regex
- Implemented RegX class to maintain a separate compile, and match
  method, thereby allowing efficient re-use of the regex.  This is
  critical to Expression::eval, where an identical regex might be
  applied to every task.
- Obsoleted rx.{h,cpp}, which combined the compile and match steps
  into a single call, and is therefore not efficient when used in
  the context of filtering.
- Fixed some unit tests that weren't building.  Now they do.  They
  don't work of course (don't be silly) but that's a problem for
  another day.
- Modified all code that relies on rx.h to use RegX.h.
2011-06-21 01:43:57 -04:00
Paul Beckingham
aa8d872466 Expressions
- Implemented !~ operator.
- Hid debug output for now.
2011-06-19 23:50:05 -04:00
Paul Beckingham
1bf6c8a9fa Expressions
- DOM::get now returns the input name by default, rather than "", which
  was the cause of many filter elements not working.
- Modified Variant to have no private data, which means fewer copies of
  Variants and less code.
- Eliminated Variant::operator^ - not needed.
2011-06-19 18:15:09 -04:00
Paul Beckingham
7762ee2f9e Commands
- Promoted filtering code to the Command base class.
- Added filtering short-circuit.
2011-06-19 10:25:53 -04:00
Paul Beckingham
db17536266 Expressions
- Filter processing short-circuits if there is no filter.
- Variant code was not only incomplete, but very broken.  It should not have
  been used.  It still doesn't handle dates and durations.
- Converted all logical and relational Variant operators to return Boolean
  values.
- Stack size is now checked for every operator.
- All operators implemented (without any advanced special case handling) except
  %, ~ and !~.
- Added lazy DOM expansion at the last possible moment.
- Implemented Expression::create_variant to create appropriate Variant instances
  based on categorized and inferred type.
- Removed Variant math functions.  No point.
- Debug code left in place for now.
2011-06-19 09:49:43 -04:00
Paul Beckingham
c57f880be7 Expressions
- Simplified ::eval.
- Added standard operand handling.
- Added type information to the value_stack.
2011-06-17 23:53:26 -04:00
Paul Beckingham
c77c6f172f Expressions
- Many operators implemented
- DOM::get partially implemented
2011-06-17 01:00:03 -04:00
Paul Beckingham
4fca40fc69 Expressions
- Added Expression::eval short-circuit.
- Added int/number exlclusions for Nibbler::getDOM.
- Added Variant::boolean for exatracting filter results.
2011-06-16 20:30:48 -04:00
Paul Beckingham
6a48d86f2c L10N
- Localized all column objects, some commands.
2011-06-16 20:28:46 -04:00
Paul Beckingham
c7bfba103e I18N
- Localized some more.
2011-06-16 00:42:03 -04:00
Paul Beckingham
f971fcd110 Code Cleanup
- Obsoleted Filter.{h,cpp}.
- Obsoleted Sequence.{h,cpp}.
- Eliminated Context::autoFilter.
- Stubbed Expression::eval.
2011-06-15 23:45:50 -04:00
Paul Beckingham
6b85669812 Build
- Fixed a broken build.
2011-06-15 07:22:08 -04:00
Paul Beckingham
c23c374b17 Duration
- Implemented operator- for us by the Variant.
2011-06-14 21:29:17 -04:00
Paul Beckingham
6242c4a8ae Bug #788
- Fixed bug #788, which reported regex and readline versions, even though they
  are not used.
2011-06-14 21:27:28 -04:00
Paul Beckingham
8f6bf9ff45 I18N
- Localized a few more files.
2011-06-14 21:02:38 -04:00
Paul Beckingham
e0abee7f9f Expressions
- Command line arguments are now handled a little differently.  Each
  argument is subjected to further splitting, to break up expressions
  early in the process, prior to categorization.
- Patterns are now treated as quoted string, where the quote character
  is /.
2011-06-13 23:06:54 -04:00
Paul Beckingham
087cf7e5ed Feature #479
- Added filtering to the calendar command.
2011-06-13 23:03:50 -04:00
Paul Beckingham
ded55c360b Export - query
- Output from the query command is now optionally surrounded by [ ... ]
  to make this a syntactically correct JSON document.  This is off by
  default.
- Updated documents.
2011-06-13 18:11:44 -04:00
Paul Beckingham
69fc2c3be8 View
- Modified layout algorithm to not attempt to distribute negative
  overage.
- Modified wrapText to enforce a minimum wrap width of 1.
2011-06-13 00:57:04 -04:00
Paul Beckingham
5d2528bff6 Command: tip
- Removed (stubbed) 'tip' command from core.  Will be external, if
  and when it is developed.
2011-06-13 00:49:37 -04:00
Paul Beckingham
d6670ba198 Expressions
- Reordered operator table so that longer operators match first, thus
  disambiguating between ! and !=.
- Eliminated Expression::expand_expression.
- Modified Nibbler to know what a DOM reference looks like.
- Removed alpha equivalent operators (lt, le, gt, ge, not, eq, ne) because
  these are common in descriptions (French: le, ne).
- Modified Arguments and Nibbler unit tests.
2011-06-13 00:45:06 -04:00
Paul Beckingham
a749f83da3 Parsing
- Nibbler learned how to parse formtted dates.  Date now uses Nibbler.
- Added Nibbler unit tests.
2011-06-12 13:59:25 -04:00
Paul Beckingham
236738c708 Date Processing
- Dates now support 'j' and 'J' julian day format.
2011-06-12 13:23:13 -04:00
Paul Beckingham
c8d9a2a268 Expressions
- Support and documentation for rc.patterns, which enables/disables
  support for /pattern/ command line arguments.
- Support and documentation for rc.expressions, which enables/disables
  support for command line expressions.
- Now canonicalizes attribute names.
- Now canonicalizes modifier names.
- New colorization (temporary) that colors all Arguments::dump output
  green when processed.
- New distinction between 'old' and 'new' style command lines.  Old style
  is "pro:A +foo pri.not:M" with implicit "and" operators.  New style
  includes operators but does not include "+foo" and "/foo/".
- Many tokens are converted directly to primitive types (int, number,
  string) when no further processing is required.
- Restored CmdShow to functionality, and linearized the list of supported
  configuration variables, for easier insertion.
- Modified arguments.t.cpp unit tests.
2011-06-12 09:17:50 -04:00
Paul Beckingham
94fa671522 Expressions
- Arguments::categorize is now functioning as designed.
2011-06-11 17:12:11 -04:00
Paul Beckingham
a9b942e913 Expressions
- Corrected interpretation of integers outside the location of a
  sequence as a word.
- Corrected interpretation of uuids outside the location of a
  sequence as a word.
2011-06-11 16:08:38 -04:00
Paul Beckingham
62d2dd316b Build
- Fixed broken build on CentOS.
2011-06-11 15:32:33 -04:00
Paul Beckingham
56bc5cf755 Code Cleanup
- Removed the last uses of 'foreach'.  What remains is only code that
  is being obsoleted, and therefore there is no need to clean that up.
- The definition of 'foreach' in util.h must remain until last.
2011-06-11 15:15:47 -04:00
Paul Beckingham
76b30d8d10 L10N
- More file conversions.
2011-06-11 14:57:11 -04:00
Paul Beckingham
63e6c08fdd Expressions
- Re-enabled read-only commands that were broken because expressions
  were not implemented.  Currently they don't work, but the mechanism
  is in place.
2011-06-11 14:30:19 -04:00
Paul Beckingham
ad75ba49a4 Expressions
- Broke up the parsing process into smaller steps to allow second pass
  parsing when "exp" tokens are expanded.
2011-06-11 13:44:11 -04:00
Paul Beckingham
8f20efc739 Parsing
- Nibbler now understands parsing from a list of tokens, with getOneOf.
2011-06-11 11:13:56 -04:00
Paul Beckingham
a5feb6ef83 Parsing
- Implemented Nibbler::getDigit to retrieve a single numeric digit.
- Implemented Nibbler::getISODate.
2011-06-11 08:12:05 -04:00
Paul Beckingham
ffcc2a49d8 Duration
- Converted Duration::valid to a static method, to match Date.
2011-06-10 18:36:10 -04:00
Paul Beckingham
74d9eac588 L10N
- Localized API.cpp.
2011-06-10 18:35:23 -04:00
Paul Beckingham
f8d9338102 Expressions
- Added list of non-word characters to assist is_attr.
2011-06-10 00:17:52 -04:00
Paul Beckingham
2ab24fa08b Expressions
- Fixed some compiler warnings.
- Added DOM detection of primitives: int, double, string.
- Began implementation of DOM task access.
- Implemented support for .startswith, .endswith, .word and .noword.
- Removed obsolete subst.t.cpp.
2011-06-09 22:19:10 -04:00
Paul Beckingham
199bb85d88 Expressions
- Improved strictness of attr and attmod detection, although it needs
  more.
- Added unit tests arguments.t.cpp, to test the detection methods.
2011-06-08 00:16:19 -04:00
Paul Beckingham
390ffb65f9 Bug #785
- Fixed bug #785, which fixes a broken build on Solaris (thanks to Owen Clarke).
2011-06-07 22:51:16 -04:00
Paul Beckingham
90f6f537fe Bug #783
+ Fixed bug #783, which fixes completed and deleted tasks still showing as
  active (thanks to Adam Wolk).
2011-06-07 01:21:46 -04:00
Paul Beckingham
7c910e46be Code Cleanup
- Just found out about std::vector::back, after all these years.
2011-06-07 00:48:00 -04:00
Paul Beckingham
d83b2d5e36 Expressions
- Implemented an operator lookup table with type, associativity and
  precedence.
- Implemented Expression::to_postfix that generates a postfix
  expression list using a Dijkstra Shunt.
2011-06-07 00:25:21 -04:00
Paul Beckingham
ed8454c202 Expressions
- Implemented sequence --> infix converter.
- Added new Lexer code.
- Added Lexer unit tests.
2011-06-06 01:46:11 -04:00
Paul Beckingham
86dcec8aea Expressions
- Began Expression::toInfix to upgrade old-style filters to infix
  algebraic filters.
- Added operator support to Arguments::categorize.
- Modified CmdCustom.cpp as a read-only command guinea-pig for the
  new argument processing.
2011-06-05 13:47:52 -04:00
Paul Beckingham
68a749ee16 Argument Parsing
- Implemented Arguments::extract_read_only_filter to isolate the
  arguments that pertain to read-only command filters
- Implemented Arguments::extract_write_filter to isolate the arguments
  that pertain to write command filters.
- Implemented Arguments::extract_modifications to isolate the arguments
  that pertain to write command modifications.
- Created stubbed Expression object.
- Began integration of Expression and Arguments into commands/CmdCustom.
2011-06-05 02:09:25 -04:00
Paul Beckingham
61e549c80c Code Cleanup
- Removed many more uses of the 'foreach' macro.
2011-06-04 23:02:18 -04:00
Paul Beckingham
f9c1820740 Argument Parsing
- Added proper handling for sequences, in that they must be contiguous.
- Added placeholder code for default command, and automatic info report.
- Eliminated Context::parse.
- Eliminated Context::run Timer, because when it goes out of scope, it
  adds timing messages to the deubg output, which at the end of Context::run
  has already been displayed.  In addition, the Context::dispatch timer
  is about 0.2 milliseconds shorter, so the two are redundant.
2011-06-04 18:42:33 -04:00
Paul Beckingham
19aa78a922 Argument Parsing
- Fixed bug in Nibbler::getUUID.
- Implemented Arguments::is_id.
- Implemented Arguments::is_uuid.
- Implemented Arguments::is_tag.
- Implemented Arguments::extract_id.
- Implemented Arguments::extract_uuid.
- Implemented Arguments::extract_tag.
- Implemented Arguments::valid_modifier.
- Implemented nibbler.t.cpp unit tests.
2011-06-04 17:02:19 -04:00
Paul Beckingham
354d66a5ac Parsing
- Implemented Nibbler::getUUID to assist parsing efforts.
2011-06-04 16:15:44 -04:00
Paul Beckingham
58a677ffb5 Argument Parsing
- Eliminated stored arg_overrides and file_override in Context.
- Removed Filter, Subst, Task, Sequence from Context.
- Remove shadow file support.  Hallelujah.
- Disabled/commented out most commands, ready for the big transition
  to the new parsing style.
- Obsoleted Subst.{h,cpp}.
2011-06-04 15:11:34 -04:00
Paul Beckingham
b4c1e47ab4 Argument Parsing
- Added argument categorization, and a colorful diagnostic output
  in debug mode.
- Localized all argument parsing in Arguments object, while still
  allowing specific commands to choose which elements are parsed
  from the command line.
2011-06-04 14:30:45 -04:00
Paul Beckingham
644d027a87 Argument Parsing
- Obsoleted Command::exectute  'commandLine' argument.  It is worse
  than unnecessary, it is an uncategorized raw argument string, which
  is only really useful for the 'execute' command, which itself now
  calls Arguments::combine to reconstruct the command line string.
2011-06-04 12:33:58 -04:00
Paul Beckingham
c2e1757fb6 AUTHORS
- Added Dirk, and his role.
2011-06-03 08:13:27 -04:00
Paul Beckingham
5732833da2 Build
- Converted more atoi to strtol calls.
2011-06-02 23:20:15 -04:00
Paul Beckingham
223c7b3c56 Build
- Fixed case-sensitive include file name.
2011-06-02 23:16:52 -04:00
Paul Beckingham
617e0ebe54 Build
- Migrated atoi to strtol, and added missing include.
2011-06-02 23:14:34 -04:00
Paul Beckingham
460a2c5617 Build
- Missing include.
2011-06-02 23:03:08 -04:00
Paul Beckingham
e200b2a502 L10N
- Localized Hooks.cpp
2011-06-02 22:26:19 -04:00
Paul Beckingham
fa36931064 Bug
- Fixed bug that showed the 'due' date, under the heading 'until' date, in the
  info report (thanks to Michael McCann).
2011-06-02 21:39:50 -04:00
Paul Beckingham
e19f087931 Refactor
- Prepared CmdCustom for new command line processing code.
2011-06-02 00:47:05 -04:00
Paul Beckingham
a3912d9123 Refactoring
- Obsoleted Cmd object.
- Removed Context::dispatch, renamed dispatch2 --> dispatch.
- Commented out import and custom report functionality that depends
  on Cmd.  This should be about as broken as taskwarrior gets.  It's
  all uphill from here.
2011-06-02 00:17:16 -04:00
Paul Beckingham
bcbff8d99b Bug
- Fixed bug so that columns of type "string*" calculate ideal size
  by taking into account \n characters in the data, rather than simply
  the string length.
2011-05-31 00:46:56 -04:00
Paul Beckingham
5d9fb1fff9 Help
- Modified command usage help output.
2011-05-31 00:43:26 -04:00
Paul Beckingham
067f5920bb Documentation
- Updated ChangeLog, etc with recent issue completion.
2011-05-31 00:41:29 -04:00
Paul Beckingham
56ccd16730 Helpers
- Implemented longestLine, which finds the longest line in a string.
2011-05-30 21:22:26 -04:00
Paul Beckingham
6f17e80461 Refactoring
- Combined the remains of command.cpp and report.cpp into helpers.cpp.
2011-05-30 16:01:36 -04:00
Paul Beckingham
a2da93b681 Commands - modify
- Migrated handleModify to CmdModify.
2011-05-30 15:48:20 -04:00
Paul Beckingham
510ce650a6 Commands - merge
- Migrated handleMerge to CmdMerge.
2011-05-30 14:45:39 -04:00
Paul Beckingham
af90a14cb5 Commands - push
- Migrated handlePush to CmdPush.
2011-05-30 14:37:39 -04:00
Paul Beckingham
99fae1f9a8 Command - pull
- Migrated handlePull to CmdPull.
2011-05-30 14:30:14 -04:00
Paul Beckingham
abd51e81a3 Commands - delete
- Migrated handleDelete to CmdDelete.
2011-05-30 14:00:34 -04:00
Paul Beckingham
908fbd8ca4 Commands - done
- Migrated handleDone to CmdDone.
2011-05-30 13:53:57 -04:00
Paul Beckingham
75a24f5113 Commands - timesheet
- Migrated handleReportTimesheet to CmdTimesheet.
2011-05-30 13:46:08 -04:00
Paul Beckingham
2fb743992f Command - undo
- Migrated handleUndo to CmdUndo.
2011-05-30 13:38:45 -04:00
Paul Beckingham
4c47748dd7 Commands - calendar
- Migrated handleReportCalendar to CmdCalendar.
2011-05-30 13:30:18 -04:00
Paul Beckingham
a7d5641d00 Commands - import
- Migrated handleImport to CmdImport.
2011-05-30 13:18:10 -04:00
Paul Beckingham
4603bdb509 Commands - _query
- Migrated handleQuery to CmdQuery.
2011-05-30 13:00:51 -04:00
Paul Beckingham
75e651626d Commands - summary
- Migrated handleReportSummary to CmdSummary.
2011-05-30 12:49:45 -04:00
Paul Beckingham
61c2e2b439 Commands - duplicate
- Migrated handleDuplicate to CmdDuplicate.
2011-05-30 12:35:56 -04:00
Paul Beckingham
73e9f52793 Feature #655
- New command that lists reports and their descriptions.
2011-05-30 12:25:50 -04:00
Paul Beckingham
37b48c56d5 Commands - export
- The default export format is now JSON, with an alias that maps 'export'
  to '_query'.
2011-05-30 11:42:35 -04:00
Paul Beckingham
6cf7644e02 Commands - config
- Migrated config and _config to CmdConfig.
2011-05-30 11:18:59 -04:00
Paul Beckingham
0f5a4434ff Bug #511
- Fixed bug #511, which caused display problem on Cygwin when colored output
  used the full width of the terminal.  The 'avoidlastcolumn' configuration
  variable forces taskwarrior to never use the last column.
2011-05-30 10:21:50 -04:00
Paul Beckingham
a1dee148b4 Build
- Added missing includes.
2011-05-30 01:24:25 -04:00
Paul Beckingham
9e3c6f5bc1 Commands - stop
- Migrated handleStop to CmdStop.
2011-05-30 01:19:11 -04:00
Paul Beckingham
86ab605bd4 Commands - start
- Migrated handleStart to CmdStart.
2011-05-30 01:11:34 -04:00
Paul Beckingham
0429949de5 Commands - color
- Migrated handleColor to CmdColor.
2011-05-30 00:59:15 -04:00
Paul Beckingham
d021bb8188 Commands - denotate
- Migrated handleDenotate to CmdDenotate.
2011-05-30 00:48:43 -04:00
Paul Beckingham
f775341fd5 Commands - annotate
- Migrated handleAnnotate to CmdAnnotate.
2011-05-30 00:24:48 -04:00
Paul Beckingham
c8eb5df1b2 Commands - log
- Migrated handleLog to CmdLog.
2011-05-29 21:43:37 -04:00
Paul Beckingham
cb613c0691 Commands - add
- Migrated handleAdd to CmdAdd.
2011-05-29 19:17:16 -04:00
Paul Beckingham
b0cbc7f757 Commands - burndown.monthly, burndown.weekly, burndown.daily
- Migrated burndown charts to CmdBurndown.
2011-05-29 01:20:58 -04:00
Paul Beckingham
398380d390 Build
- Need to link to libtask.a twice.  Nice.
2011-05-29 00:10:06 -04:00
Paul Beckingham
0260aff441 Build
- Enabled compiler warnings, which were off.  Yikes.
- Fixed all compiler warnings on OSX.
2011-05-28 23:59:43 -04:00
Paul Beckingham
36e24fa1fb Build
- More missing includes.
2011-05-28 18:18:48 -04:00
Paul Beckingham
94318a6925 Build
- More missing include files.
2011-05-28 18:15:56 -04:00
Paul Beckingham
08c4d4bdfe Build
- Fixed more case-sensitivity problems, and missing include files.
2011-05-28 17:53:58 -04:00
Paul Beckingham
17f3717871 Bug
- Fixed typo in CMakeLists.txt file that worked on the OSX case-insensitive
  file system.
- Man page correction.
2011-05-28 17:46:45 -04:00
Paul Beckingham
82eebc93bf Commands - history.monthly, history.annual, ghistory.monthly, ghistory.annual
- Migrated all history reports into CmdHistory objects.
2011-05-28 17:34:30 -04:00
Paul Beckingham
b9246e04b2 Command - append
- Migrated handleAppend to CmdAppend.
2011-05-28 16:41:21 -04:00
Paul Beckingham
ef65617258 Command - prepend
- Migrated handlePrepend to CmdPrepend.
2011-05-28 16:40:39 -04:00
Paul Beckingham
920e1c6c86 Commands - projects, _projects
- Migraged handleProjects and handleCompletionProjects to CmdProjects.
2011-05-28 16:18:53 -04:00
Paul Beckingham
a7bc09d487 Command - count
- Migrated handleCount to CmdCount.
2011-05-28 16:05:07 -04:00
Paul Beckingham
27d6e7cc81 Commands - ids, _ids, _zshids
- Migrated handleIds, handleCompletionIds, handleZshCompletionIds
  to CmdIDs.
2011-05-28 15:40:18 -04:00
Paul Beckingham
56e4c8172b Commands - stats
- Migrated handleReportStats to CmdStatistics.
2011-05-28 15:11:32 -04:00
Paul Beckingham
33d13ddb1d Commands - _commands, _zshcommands
- Migrated handleCompletionCommand and handleZshCompletionCommands
  to CmdCommands.
2011-05-28 14:57:48 -04:00
Paul Beckingham
330b148ca9 Commands - _tags
- Migrated handleCompletionTags to CmdTags.
2011-05-28 14:34:06 -04:00
Paul Beckingham
b075f1252c Commands - shell
- Migrated handleShell to CmdShell.
- Note there is a segfault bug that will probably go away by itself when
  Context::parse is obsoleted.
2011-05-28 14:22:38 -04:00
Paul Beckingham
4857269d12 Commands - help
- Help command now displays helper functions after the regular commands.
2011-05-28 14:11:04 -04:00
Paul Beckingham
bd93126f4e Commands - _urgency
- Migrated _urgency to CmdUrgency.
2011-05-28 14:07:21 -04:00
Paul Beckingham
9af1c71daf Commands - edit
- Migrated edit.cpp to CmdEdit.
2011-05-28 13:38:44 -04:00
Paul Beckingham
ed97fcc108 Commands - diag
- Migrated diag.cpp to CmdDiagnostics.
2011-05-28 13:15:19 -04:00
Paul Beckingham
0ce198ab8c Commands - info
- Migrated 'info' command to CmdInfo.
- Renamed 'info' command to 'information'.
2011-05-28 12:55:45 -04:00
Paul Beckingham
306f10b420 Command Line Parsing
- Implemented Arguments::extract_command to locate the command
  keyword in an argument list.
- Implemented Arguments::extract_sequence to locate and remove an ID
  sequence from an argument list.
- Added unit test for extract_sequence.
- Stubbed all Argument::extract_<object> methods.
- Simplified code in (soon to be obsolete) Sequence.cpp.
2011-05-28 12:09:25 -04:00
Paul Beckingham
8f85b0e194 Utils - combine
- Implemented combine, which takes two integer vectors and combines
  them resulting in a single vector contianing the unique values of
  both.
2011-05-28 09:49:22 -04:00
Paul Beckingham
8fabffe18c Code Cleanup
- Eliminated '#include "x"' by changing all to '#include <x>'.
2011-05-28 00:19:59 -04:00
Paul Beckingham
f67706c28e L10N
- Added '#define L10N' marker to all source files that are localized.
2011-05-28 00:02:04 -04:00
Paul Beckingham
d51bd3f445 Refactoring
- Moved argument handling out of Context, into Arguments.
2011-05-27 23:20:17 -04:00
Paul Beckingham
3de1275afe l10n
- Localized CmdShow.cpp.
2011-05-26 22:20:35 -04:00
Paul Beckingham
0caea22f08 Extensions
- The extensions directory is now created, if needed.
2011-05-26 22:01:36 -04:00
Paul Beckingham
32e7af4610 i18n
- Added several overloaded positional string formatters.  May need
  more.
2011-05-26 21:56:23 -04:00
Paul Beckingham
5e71003558 Utils
- 'verify' is a utility intended to make sure that all the i18n strings
  defined in src/en-US.h (and any other languages) are all used.  In other
  words it detects unused strings, which can presumably be removed.
2011-05-25 18:05:44 -04:00
Paul Beckingham
02065c3cdc i18n
- Localized a few strings, for fun.
2011-05-25 01:13:19 -04:00
Paul Beckingham
62203a45f8 Commands
- Migrated handleShow to CmdShow.
2011-05-25 00:38:21 -04:00
Paul Beckingham
54d98a6b2d Commands
- Migrated the _version command from handleCompletionVersion to
  CmdVersion.
2011-05-24 20:57:24 -04:00
Paul Beckingham
fc77e04b54 Commands
- Migrated handleVersion to CmdVersion.
2011-05-24 20:43:50 -04:00
Paul Beckingham
d892a0cbd2 Code Cleanup
- Fixed comments, compilation warnings.
- Decomposed Context::initialize into several, single-purpose methods.
- Replaced Context::initialize with Context::initialize2.
2011-05-24 19:37:03 -04:00
Paul Beckingham
a20a4da412 Code Cleanup
- Eliminated custom.cpp by implementing CmdCustom.cpp.
2011-05-24 19:31:47 -04:00
Paul Beckingham
bedc28f517 Commands
- Eliminated the Command::implements method.
- Implemented CmdCustom to handle all custom reports.
- Implemented CmdTags.
2011-05-24 19:29:47 -04:00
Paul Beckingham
31e865e823 Documentation
- Corrected typo (thanks to T. Charles Yun).
2011-05-24 19:21:25 -04:00
Paul Beckingham
7e55c0c786 Aliases
- Implemented the first part of enhanced aliases.
2011-05-23 23:46:00 -04:00
Paul Beckingham
f1635c3eff Code Cleanup
- Removed obsolete Rectangle code.
2011-05-23 23:24:43 -04:00
Paul Beckingham
8fa18d0da2 Bug #761
- Fixed bug #761, in which the 'prepend' and 'append' commands failed to
  generate an error when no text was provided (thanks to Aikido Guy).
2011-05-23 23:16:01 -04:00
Paul Beckingham
3f58e5a2ee Code Cleanup
- Removed unused Tree code.
2011-05-23 22:29:24 -04:00
Paul Beckingham
8e4a757200 Commands
- Rewrote Command::factory to construct all commands, indexed by
  primary command keyword.
2011-05-23 22:12:40 -04:00
Paul Beckingham
f53d509930 Code Reorganization
- Added the ability for a command to specify it's own pirmary keyword.
2011-05-23 20:23:53 -04:00
Paul Beckingham
f8b44b68d7 View
- Fixed problem with incorrect Color vector addressing.
- Modified ViewText to not underline empty column headers.
- Implemented ViewText::set method to set only color.
2011-05-23 20:16:37 -04:00
Paul Beckingham
f0f3e55cc6 Text Handling
- Implemented nontrivial (), which detemines whether a string contains
  any non-space characters.  Used to detect strings with no content.
2011-05-23 20:08:33 -04:00
Paul Beckingham
f669b5f56f Unit Tests
- Added JSON samples to test the parser.
2011-05-22 14:41:40 -04:00
Paul Beckingham
df1920d75c JSON
- Completed JSON parser with the addition of syntax error messages.
2011-05-21 15:06:42 -04:00
Paul Beckingham
409fa216b8 Color
- Corrected some cases where rc.color was not obeyed.
2011-05-21 11:29:34 -04:00
Paul Beckingham
df652d2ec7 Unit Tests
- Added unit tests to verify that appending or prepending nothing
  generates an error.
2011-05-21 10:35:46 -04:00
Paul Beckingham
bb24701f36 Unit Tests
- Added the first few JSON unit tests.
2011-05-20 01:17:46 -04:00
Paul Beckingham
690fa6e206 JSON
- Replaced old Tree-based parser with a faster, leaner parser.
  Currently lacking good error handling and a large test suite.
- Integrated new parser into Task object, for encode/decode.
- Replicated same basic unit tests.  Needs more.
- Fixed bug in handleShell that failed to call the new Context::initialize2.
- Removed debugging code from CmdInstall.
- Implemented format() that does not require width and precision args.
2011-05-20 00:18:36 -04:00
Paul Beckingham
05b3fa0bb6 Text Processing
- Implemented splitq, which can handle quoted and oddly-quoted string
  splits.
2011-05-16 00:22:14 -04:00
Paul Beckingham
0308ee953a Build
- Added missing include.
2011-05-15 23:07:12 -04:00
Paul Beckingham
bc756637da Commands
- Implemented CmdHelp object that replaces the report.cpp longUsage
  function, and builds the output dynamically from other Command
  objects.  This is also why the help text right now is very short,
  as only a few commands are migrated.
- Obsoleted longUsage function.
- Updated task.1 man page with 'execute' command details.
- Modified command.lua sample to include command usage.
- Removed "help" from old Context::dispatch, which means "help" is
  the first migrated command.
- Added usage and description to all Cmd* objects.
- Implemented Command::usage and Command::description as base class
  methods that simply return data that is specified by the derived
  classes.
2011-05-15 01:14:13 -04:00
Paul Beckingham
afc97d566c Commands
- New 'exec' command that runs external programs, implemented by
  CmdExec.
- Restructured code so that only Commands implements ::read_only
  and ::displays_id methods, while derived objects simply set flags.
- Corrected column alignment in summary report.
2011-05-15 00:18:24 -04:00
Paul Beckingham
52599dca63 Unit Tests
- Fixed tests that assumed no color.
2011-05-14 16:02:35 -04:00
Paul Beckingham
902ed48243 Commands
- Implemented the ability to iterate over installed Command objects,
  to augment the '_commands' command.
- Renamed verbosity tokens, to de-pluralize them.
2011-05-14 15:45:52 -04:00
Paul Beckingham
14bea5e1b4 Verbose
- The 'verbose' configuration variable now accepts a specific list of items to
  be verbose about.  See taskrc(5).
2011-05-14 15:38:03 -04:00
Paul Beckingham
557440db0c Commands
- Implemented stubbed Context::initialize2.
- Implemented combined command line.
- Migrated some code from Context::initialize to ::initialize2.
- Integrated ::initialize2 into the startup sequence.
- Implemented Context::dispatch2.
- Integrated ::dispatch2 into the run sequence.
- Implemented Context::updateXtermTitle.
- Added debug messages to new Command objects.
- Implemented CmdLogo, which implements the _logo command, for fun.
- Removed unnecessary base class overrides from Cmd* objects.
2011-05-14 12:18:39 -04:00
Fumihito YOSHIDA
02c2023dc4 i18n
- Added tips.ja-JA thanks to Fumihito Yoshida.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-05-14 09:59:05 -04:00
Paul Beckingham
bb04a58bdc Unit Tests
- Corrected use of rc.fontunderline with the new Views.
- Added new sample todo.sh import data, thanks to Daniel Wilcox.
- Added rc.defaultwidth to various tests.
- Modified tests to accomodate new next report.
- Corrected regex in rc.override.t.
2011-05-13 23:55:01 -04:00
Paul Beckingham
73f72c54c1 Bug
- Fixed bug that required the '%YAML' prologue in a YAML import.
2011-05-13 20:23:32 -04:00
Paul Beckingham
1d10370341 Bug
- Fixed bug that caused dependencies to be sorted by UUID, although
  they are shown as IDs.
- Updated unit test to accomodate new comma-less formatting of
  dependencies.
2011-05-13 18:05:26 -04:00
Paul Beckingham
4f8c503a04 View
- Implemented new string formats: left_fixed and right_fixed, which
  do not word-wrap.  This is used for the history report.
2011-05-13 18:04:49 -04:00
Paul Beckingham
291818c33d i18n
- Added function utf8_text_length which calculates the length of
  text in characters, not bytes, and excludes color control codes.
2011-05-13 18:02:20 -04:00
Paul Beckingham
46b799a5b7 Bug
- The ColumnDepends object was failing to map uuid --> id and so
  rendered no data for the blocked report.
- Code used the term 'blocked' when it should have used the term
  'blocking'.
2011-05-13 17:59:01 -04:00
Paul Beckingham
3d69f70d66 Bug
- Lack of Task default constructor, copy constructor and operator=
  implementation details caused tasks stored in an STL container to
  lose their cached urgency value.
- Info report now specifically formats urgency values, whereas the
  default formatting adds justification spacing.
2011-05-13 17:54:08 -04:00
Paul Beckingham
6fb3bc5b03 View
- Integrated ViewTask and ViewText completely.
- Obsoleted Table.{h,cpp}, Grid.{h,cpp}, grid.t.cpp
- Fixed ViewTask rendering bug that caused the full width to be used every time.
2011-05-13 01:10:30 -04:00
Paul Beckingham
c8c7e02bc8 View
- Converted projects to use TextView.
2011-05-12 00:43:15 -04:00
Paul Beckingham
e5555b579d View
- Converted undo to use TextView.
2011-05-12 00:34:34 -04:00
Paul Beckingham
9e3e40c3a9 View
- Converted info report to ViewText.
- Fixed bug in history report.
- Removed rc.blanklines from Config.cpp defaults.
2011-05-12 00:19:56 -04:00
Paul Beckingham
c1b4f34a70 Sorting
- Added missing custom sorting for due dates.
2011-05-11 22:21:43 -04:00
Paul Beckingham
5fa77a36de Verbose
- Implemented rc.verbose=on|off|list...
- Migrated rc.blanklines to a verbosity token.
- Updated documentation.
2011-05-11 21:49:31 -04:00
Paul Beckingham
adc8605b06 Credit
- Added Jonathan Hankins, as thanks for the help diagnosing a Cygwin
  problem.
2011-05-11 21:34:35 -04:00
Paul Beckingham
ec7d9ed765 View
- Converted history reports to use ViewText.
- Fixed unit test.
2011-05-11 00:20:35 -04:00
Paul Beckingham
fcb711d673 View
- Converted 'help' and 'stats' reports to use ViewText.
- Modified Column.cpp to omit column headers if blank.
2011-05-10 23:46:47 -04:00
Paul Beckingham
1a833af2a4 View
- Broke out View into ViewTask and ViewText, where the former uses an
  external std::vector <Task> as storage, thus eliminating the additional
  copy, and the latter that duplicates data and color into 2D vectors
  for rendering non-task data.
2011-05-10 22:49:20 -04:00
Paul Beckingham
ac60ee8d33 Code Cleanup
- Removed unnecessary include files.
2011-05-09 20:27:33 -04:00
Paul Beckingham
6464a2bca5 Color
- Implemented Color::strip which can remove the color codes from a
  string.
2011-05-09 20:24:16 -04:00
Paul Beckingham
93cfbf8dd2 Error Messages
- Improved error messages with specific field names rather than types.
2011-05-09 01:05:21 -04:00
Paul Beckingham
e22a07156f Reports
- Made the minimal report more minimal by using the description.truncated
  format.
2011-05-09 01:04:47 -04:00
Paul Beckingham
b4fba5b08d Next Report
- Removed all traces of the old next report.
- Removed rc.next support.
2011-05-08 19:33:05 -04:00
Paul Beckingham
5da435e70d Unit Tests
- Corrected several tests with respect to the new custom report columns
  and sort fields.
2011-05-08 18:10:03 -04:00
Paul Beckingham
868a7a2249 Reports
- Migrated all reports to use the new columns and sort fields.
2011-05-08 17:48:48 -04:00
Paul Beckingham
04033911c3 Unit Tests
- Modified several unit tests to accomodate new column names.
2011-05-08 17:14:28 -04:00
Paul Beckingham
0d9d01324e View
- Stubbed new render method for generic string grids.
2011-05-08 17:13:55 -04:00
Paul Beckingham
590273d4e8 Code Reorganization
- Changed the ::measure and ::render methods from pure virtual to
  virtual.
- Fixed bug where recur.indicator used the length of the indicator
  instead of the indicator.
- Implemented ColString.{h,cpp} to support generic Views based on
  strings, not tasks.
- Implemented newly virtual Column:: methods.
2011-05-08 17:12:05 -04:00
Paul Beckingham
00125c19d1 Unit Test
- Reworded new error message to more closely match an old error message,
  modified unit test accordingly.
2011-05-08 16:28:36 -04:00
Paul Beckingham
949e702c98 Bug
- ColDescription::measure did not correctly account for annotation size.
- The macro 'max' was used with expensive arguments, which get evaluated
  twice.
2011-05-08 15:15:48 -04:00
Paul Beckingham
001769997d Bug
- The entry.age column did not modify the column label of 'Added' to
  be 'Age'.
2011-05-08 15:14:42 -04:00
Paul Beckingham
f05fedfc7a Urgency
- Set initial urgency value to zero.
2011-05-08 11:04:57 -04:00
Paul Beckingham
041bcfdf21 Custom Reports
- Integrated new View in place of Table for all custom reports.
- Implemented legacy field mapping for columns and sort fields.
- Implemented rc.indent.report.
- Implemented rc.row.padding.
- Implemented rc.column.padding.
- Implemented rc.color.label.
- Modified default rc.indent.annotation from 1 to 2.
- Implemented urgency value caching.
- Implemented View truncation by line and row.
- Columns now know which report thy belong to, so they can use the
  rc.report.<report>.dateformat override.
- Assorted bugs remain.
2011-05-08 09:29:55 -04:00
Paul Beckingham
67a43d6099 Color
- Added 'inverse' swatch to the color command output.
2011-05-07 14:55:30 -04:00
Paul Beckingham
0231a6c412 Documentation
- Documented the 'inverse' color attribute.
2011-05-07 10:24:29 -04:00
Paul Beckingham
9c53810d3e Color - Inverse
- Added support for the 'inverse' color attribute.  Documentation
  still needs to be updated.  Thanks to David Patrick.
2011-05-07 10:19:55 -04:00
Christopher J. Pilkington
06cab5a1ca Bug #771
- Applied patch for Bug #771, which looks for libuuid if uuid_unparse_lower is
  not located (thanks to Christopher J. Pilkington).

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-05-06 22:56:34 -04:00
Christopher J. Pilkington
62334201d1 Bug #770
- Applied patch for Bug #770, which fixed a broken build (thanks to Christopher
  J. Pilkington).

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-05-06 22:51:36 -04:00
Paul Beckingham
250c98f03c Build
- Missing include file (thanks to Uli Martens).
2011-05-06 07:48:09 -04:00
Paul Beckingham
ebeb935975 Documentation update
- Caught up ChangeLog with missing entries for fixed bugs.
2011-05-06 00:11:57 -04:00
Paul Beckingham
7c38641263 Bug Fix #763
- Fixed bug #763, so that modifications to tasks are considered 'write'
  commands, and therefore update shadow files (thanks to Aikido Guy).
2011-05-05 23:51:36 -04:00
Paul Beckingham
58f2b9789e Bug #762
- Fixed bug #762, so that modifications to task are considered 'write' commands,
  and there update shadow files (thanks to Aikido Guy).
2011-05-05 23:49:51 -04:00
Paul Beckingham
4584da8895 Sorting
- Sorting implemented using a non-relocatable task list, a stable
  sort, and type-specific comparisons.
2011-05-05 22:37:54 -04:00
Paul Beckingham
9268e552d8 View
- Integrated new longestWord helper function.
2011-05-05 19:55:00 -04:00
Paul Beckingham
1d0ad3838b Text Handling
- Implemented longestWord, a UTF8-aware helper for word-wrapping.
2011-05-05 19:45:09 -04:00
Paul Beckingham
28b0960015 View
- Implemented 'description.default', 'description.count', and
  'description.oneline'.
- New 'indent.annotation' for the 'description.default' field format.
2011-05-04 23:15:17 -04:00
Paul Beckingham
f37a250894 View
- Implemented description.desc
2011-05-03 00:58:06 -04:00
Paul Beckingham
d0cbf43478 View
- Implemented due.countdown.
- Fixed formatting bug in description.truncated.
- Fixed bug in start.indicator.
2011-05-02 23:43:41 -04:00
Paul Beckingham
f9ab8f2a1c View
- Implemented start.active.
2011-05-02 22:53:47 -04:00
Paul Beckingham
27752bd510 Date
- Implemented Date::dayOfYear which yields a number, 1 to 366.
2011-05-02 22:13:15 -04:00
Paul Beckingham
b4be5991b8 View
- Implemented urgency.default.
2011-05-02 21:44:42 -04:00
Johannes Schlatow
7e1f8591f6 exec
- moved function that executes external commands from Transport.cpp
  to util.cpp since it is not dedicated to push/pull/merge anymore
2011-05-02 16:25:40 +02:00
Johannes Schlatow
398371d324 Bug #732
- changed the parsing of ssh:// URIs, paths are now absolute by default
2011-05-02 16:18:40 +02:00
Paul Beckingham
df8496edae View
- Implemented ColDate, ColDue, ColEntry, ColEnd, ColStart, ColUntil,
  ColWait.
- Implemented formats: default, iso, julian, epoch.
2011-05-02 01:50:48 -04:00
Paul Beckingham
8f00665268 Unit Tests
- Added extra format test for the Julian date format.
2011-05-02 01:50:15 -04:00
Paul Beckingham
5e851c4c98 View
- Implemented status.default, status.short.
2011-05-01 12:17:19 -04:00
Paul Beckingham
1506ee67f4 Code Cleanup
- Implemented Context::color to hide the color override details,
  then integrated it.
2011-05-01 11:53:13 -04:00
Paul Beckingham
b0ff1ff55b I18N
- Renamed text.cpp/characters to utf8.cpp/utf8_length, which is more
  appropriate.
2011-05-01 11:10:32 -04:00
Paul Beckingham
0b3281d01d View
- Implemented recur.default and recur.indicator.
2011-05-01 00:42:57 -04:00
Paul Beckingham
a033300a7d View
- Implemented depends.default, depends.indicator, depends.count
  field formats.
2011-04-30 18:31:15 -04:00
Paul Beckingham
ac69c02876 View
- Implemented (a fraction of) description columns.
2011-04-30 18:03:18 -04:00
Paul Beckingham
6974e48290 Configuration
- Added the new dependency.indicator, which works the same way the
  other indicator configuration variables do.
- Added documentation to taskrc.5.in.
2011-04-30 17:54:59 -04:00
Paul Beckingham
8a87db6163 View
- Implemented tags.default, tags.indicator, tags.count.
2011-04-30 00:06:07 -04:00
Paul Beckingham
ed7fc44685 View
- Implemented uuid.default and uuid.short.
2011-04-29 23:23:13 -04:00
Paul Beckingham
9849b4082d View
- Removed debugging code.
- Implemented intra, extra and alternate colorization.
- Column::factory now parses <type>.<style> and properly initializes
  the column objects.
2011-04-29 20:06:21 -04:00
Paul Beckingham
a722064d80 I18N
- Reviewed UTF8-safety.
2011-04-29 19:41:18 -04:00
Paul Beckingham
9fd819e3a0 Columns
- Implemented ColPriority, with 'default' and 'long' formats.
- Implemented ColProject 'parent' format.
2011-04-29 19:33:54 -04:00
Paul Beckingham
dd1be996a6 Commands
- Added logo command, for fun.
- Renamed commands to CmdXxxxx for clarity and commonality with columns.
2011-04-29 19:31:29 -04:00
Paul Beckingham
8bc7d5932b Code Cleanup
- Thread object removed - not needed.
2011-04-29 19:28:48 -04:00
Paul Beckingham
683a269991 View
- Implemented View::lines.
2011-04-29 01:57:53 -04:00
Paul Beckingham
4dca2a5a2d View
- Documented the new layout algorithm.
- Used Nibbler for decomposing fields into word chunks.
- Implemented variable intra padding.
- Implemented variable left margin.
- Implemented variable extra padding.
- Implemented colored headers.
- Implemented wrappable headers.
- Eliminated need to specify fixed column size.
2011-04-29 01:45:10 -04:00
Paul Beckingham
66afc7c057 Enhancement
- Modified leftJustify and rightJustify to handle UTF8.
2011-04-29 01:10:58 -04:00
Paul Beckingham
937f2d9c8f Enhancement
- Added integer versions of leftJustify, rightJustify.
2011-04-29 01:01:08 -04:00
Paul Beckingham
d0a91acf28 Enhancement
- Implemented leftJustify, rightJustify for composing justified strings.
2011-04-29 00:49:05 -04:00
Paul Beckingham
9b85cb47ce Documentation
- Corrected color precedence order that differed between taskrc.5.in
  and task.1.in (thanks to Stefan Keel).
2011-04-27 19:20:31 -04:00
Paul Beckingham
d6f2c5d04f Themes
- Two additional solarized theme files, solarized-dark-256.theme and
  solarized-light-256.theme (thanks to Stefan Keel).
2011-04-27 02:02:34 -04:00
Paul Beckingham
9f672d0b06 View
- Implemented column sizing algorithm.
2011-04-27 01:50:32 -04:00
Paul Beckingham
29649bdf07 View
- Code reorganization.  Much can be moved to default behavior in the
  base class.
2011-04-27 00:22:56 -04:00
Paul Beckingham
63c84129f2 Hooks
- Removed last vestiges of old hook triggers.
2011-04-26 23:09:40 -04:00
Paul Beckingham
c5f71051ad View
- Added unit tests - blank for now.
- Added stubbed ColProject, just so that ColID is not the only column.
- Renamed files for clarity and namespace reasons.
2011-04-26 22:46:04 -04:00
Paul Beckingham
74d799acea View
- First pass at the interface, structure and algorithm used by the
  new View object that will ultimately obsolete Table, Grid and Cell.
2011-04-26 18:19:57 -04:00
Paul Beckingham
120562a7e9 Enhancement
- Began detailed implementation of commands and columns objects.
2011-04-24 19:11:56 -04:00
Paul Beckingham
1c23b28514 Interaction
- Modified 'You have higher priority tasks' to 'You have more urgent tasks',
  which is more accurate (thanks to Eric Fluger).
2011-04-24 18:27:38 -04:00
Paul Beckingham
01df9e189e Extensions
- Removed the redundant README file, which is now better presented in
  rfc5-hooks.txt.
- Modified all the sample Lua to be rfc5 compliant.
2011-04-24 16:25:11 -04:00
Paul Beckingham
638fcd8ca0 Commands
- Modified command object design.
2011-04-24 12:41:38 -04:00
Paul Beckingham
a7c3858729 Extensions
- Clarification in the extensions document.
2011-04-24 12:40:50 -04:00
Paul Beckingham
86ef048cb0 Bug #605
+ Fixed bug #605, which gave misleading project completion percentages under
  certain circumstances (thanks to Steve Rader).
2011-04-24 11:36:43 -04:00
Paul Beckingham
5f8b3cf989 Code Cleanup
- Further attemps at removing 'foreach'.
2011-04-23 23:06:00 -04:00
Paul Beckingham
10e3f306dd Export
- Added export-html.pl.
- Added error handling to export scripts.
2011-04-23 21:38:01 -04:00
Paul Beckingham
8a7f1e03c7 Unit Tests
- Added variant tests.
2011-04-23 21:15:40 -04:00
Paul Beckingham
f183201f6f Export
- Added the ability to include the ID in _query command results.
2011-04-23 21:13:57 -04:00
Paul Beckingham
0471c17f12 Build System
- Added new src/commands and src/columns intermediate libs.
- Began implementation of the first Command object.
- Began implementation of the first Column object.
- TDB2, Variant updates.
2011-04-23 16:41:37 -04:00
Paul Beckingham
f1fa315342 Themes
- Added new gray theme to the same .taskrc.
2011-04-22 17:58:57 -04:00
Paul Beckingham
75fd846399 Unit Tests
- Fixed hook tests that broke when 'hooks' was renamed to 'extensions'.
2011-04-22 00:48:29 -04:00
Paul Beckingham
d7cbd46653 Bug #741
- Fixed Bug #741, which miscounted columns widths when a table header used
  unicode characters (thanks to Tomas Cech).
2011-04-22 00:39:30 -04:00
Paul Beckingham
83320a3e07 Feature #679
+ Added feature #679, which makes color rules match project names in a left-
  most fashion, like filters (thanks to ch077179).
2011-04-22 00:29:30 -04:00
Paul Beckingham
4f4a04738f Bug #745
- Fixed Bug #745, which allows projects names with spaces, provided the values
  are quoted (thanks to Duane Waddle).
- Added unit test.
2011-04-22 00:04:24 -04:00
Paul Beckingham
76f11cb73c Extensions
- Missed a 'hooks' -> 'extensions' rename.
2011-04-21 23:52:06 -04:00
Paul Beckingham
d08e1dab76 Extensions
- Documented the 'extensions' master control switch.
2011-04-21 23:28:34 -04:00
Paul Beckingham
07faa663b4 Documentation
- Typo
2011-04-20 23:34:54 -04:00
Duane Waddle
a675c35876 Doucmentation
- Man page patch from Duane Waddle applied.  This documents the
  reportable 'entry' field.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-04-19 19:01:29 -04:00
Paul Beckingham
f049ab3432 Feature #523, #657, #658, #659
- Added 'status' as a reportable column (thanks to Peter De Poorter
  and Bryce Harrington).
- Closed features pertaining to the 'task ids ... | task ...' (thanks
  to Bryce Harrington and Eric Fluger).
2011-04-18 01:41:08 -04:00
Paul Beckingham
60a5d271f4 Extensions
- Created scripts/extensions/README to describe samples.
- Created sample extension scripts of each type.
2011-04-18 00:51:34 -04:00
Paul Beckingham
bac4610580 Hooks
- Removed obsolete field hook.
2011-04-17 21:54:06 -04:00
Paul Beckingham
48eb4757f8 Hooks
- Removed all obsolete hooks, except from commands.cpp, which is being
  worked on in parallel.
- Implemented new on-launch and on-exit unit tests.
2011-04-17 21:09:58 -04:00
Paul Beckingham
2f4efb28d6 Lua
- Created new scripts/extensions directory.
- Added README for extensions.
- Started priority.lua extension.
- Implemented api_task_get and api_task_set DOM accessors.
- Removed more obsolete API.
2011-04-17 00:48:05 -04:00
Paul Beckingham
9d0037bc78 DOM
- Added more variables.
- Removed unnecessary API.
2011-04-17 00:14:35 -04:00
Paul Beckingham
0240ffa1d2 Hooks
- Removed obsolete hook unit tests.
2011-04-16 15:19:07 -04:00
Paul Beckingham
87c285e6b2 File/Directory Enhancement
- Migrated enhanced code out of taskd.
2011-04-16 00:44:07 -04:00
Paul Beckingham
e9273cd6c3 TDB2
- Implemented most of the layered I/O for the pending.data file.
- Needs File::xxxxx support that doesn't exist yet.
2011-04-15 01:29:22 -04:00
Paul Beckingham
b72173bb0e DOM
- Stubbed shell of DOM, with limited support for 'system....'.
- Added unit tests.
2011-04-15 01:28:06 -04:00
Paul Beckingham
17d1e59e29 Hooks
- Eliminated the concept of list hooks.
- Eliminated unnecessary API functions.
2011-04-13 23:20:55 -04:00
Paul Beckingham
dbb556bce9 Unit Tests
- Eliminated obsolete unit tests pertaining to Hooks that are no
  longer needed.
2011-04-13 23:19:30 -04:00
Paul Beckingham
6e1e709564 Code Cleanup
- Removed obsolete Keymap object.
2011-04-13 23:18:01 -04:00
Paul Beckingham
49fcb7a104 Merge branch '2.0.0' of tasktools.org:task into 2.0.0 2011-04-13 00:22:03 -04:00
Paul Beckingham
b8a19b52e0 Typo 2011-04-13 00:21:57 -04:00
Paul Beckingham
9b3f565e90 Enhancements
- Added stubbed DOM code.
- Added stubbed TDB2 code.
2011-04-12 23:47:38 -04:00
Paul Beckingham
2ce54f10f8 Lua
- Eliminated unimplemented API calls, which are all going to be replaced
  by DOM get/set.
- Documented new 2.x hooks.
2011-04-12 23:01:49 -04:00
Paul Beckingham
139e55fca3 Code Cleanup
- Eliminated "itask" interactive mode code.
2011-04-12 20:47:41 -04:00
Johannes Schlatow
4c7c8cf195 Bug #732
* fixed misleading documentation and messages on
  merge/pull/push URIs (thanks to Thomas Cech).
2011-04-11 14:31:31 +02:00
Paul Beckingham
4245d83812 Code Cleanup
- Eliminated obsolete Lisp code.
2011-04-10 20:41:38 -04:00
Paul Beckingham
f1525df48a Urgency
- Corrected unit tests for urgency.
- Modified default 'blocked' coefficient to be negative, to compensate
  for the bug fix for #707 that inverted the test.
2011-04-10 20:40:29 -04:00
Paul Beckingham
19582dd139 Holidays
- Renamed all holiday files to include a locale, rather than just
  a country code.
- Enhanced update-holidays.pl add-on script to support regions,
  provide better error handling, error on missing Perl module,
  warnings on unavailable data, and help text.
- Updated documentation accordingly.
2011-04-10 15:37:30 -04:00
Paul Beckingham
40b2258589 Bug 707
- urgency.blocked.coefficient logic was inverted.
2011-04-08 00:42:00 -04:00
Paul Beckingham
14b184089d Code Cleanup
- Fixed broken build on tt.
2011-04-07 18:27:03 -04:00
Paul Beckingham
039bf15df1 Holiday Update Script
- Script to download current data from holidata.net.
2011-04-07 18:26:30 -04:00
Paul Beckingham
e163ef71e8 Holiday Data
- Added Czech Republic holiday files (thanks to Tomas Cech).
2011-04-06 07:34:16 -04:00
Paul Beckingham
d9b2ac0f33 Variant
- Salvaged Variant code from older project, for use in expression
  evaluation.
2011-04-05 23:47:09 -04:00
Paul Beckingham
7961ca136f Code Cleanup
- Removed FEATURE_TDB_OPT conditional compilation.
2011-04-03 19:44:58 -04:00
Paul Beckingham
2ad3d0d449 Code Cleanup
- Removed FEATURE_URL conditional compilation.
2011-04-03 19:43:22 -04:00
Paul Beckingham
77ba7946f5 Code Cleanup
- Removed conditional compilation of the shell, controlled by FEATURE_SHELL.
2011-04-03 19:41:19 -04:00
Paul Beckingham
e4b0c6e7c0 Configuration
- Forgot the NEWS file.
2011-04-03 18:29:37 -04:00
Paul Beckingham
585151f184 Configuration
- The old 'curses' configuration variable is now replaced by 'detection', and
  has the same meaning - whether or not to auto-detect terminal size.
2011-04-03 18:24:50 -04:00
Paul Beckingham
df41ea9988 Code Cleanup
- The FEATURE_NCURSES_COLS define was not used anywhere.  Removed.
2011-04-03 17:37:43 -04:00
Paul Beckingham
fb2fd79a52 Diagnostics
- Removed unnecessary "Alias foo -> bar" debug message.
2011-04-02 21:56:42 -04:00
Paul Beckingham
44e6b27560 Bug
- Wrong include.
2011-04-01 23:32:54 -04:00
Paul Beckingham
b63e92b540 Code Cleanup
- Converted atoi to strtol.
- Added include, which is causing tinderbox fail.
2011-04-01 23:30:12 -04:00
Paul Beckingham
38576ba08a Unit Tests
- Because taskDifferences now uses ucFirst on attribute names, three
  tests fail.
2011-03-30 00:35:06 -04:00
Paul Beckingham
628fbd6b64 Enhancement
- Broke out the "taskDiff" family of functions into feedback.cpp,
  which is where all subsequent user feedback text composition will
  occur.
2011-03-29 23:40:19 -04:00
Paul Beckingham
036aee2a8d Enhancement
- Began the new Context::initialize2, which will offer a different
  rabbit-hole to go down.  This method will instantiate Command
  objects and the new Parser, rather than the monolithic alternative
  dispatch method and command.cpp/report.cpp/custom.cpp files.
2011-03-29 23:38:16 -04:00
Paul Beckingham
a994baae75 Tips
- Added great tip from Michelle Crane.
2011-03-29 23:19:54 -04:00
Paul Beckingham
976e480903 i18n
- Added en-US.h, which will be a header file full of string defines.
- Added logic to i18n.h to include en-US.h based on cmake command
  line argument (cmake ... -DPACKAGE_LANGUAGE=1).
- Added one sample string.
2011-03-29 23:18:02 -04:00
Paul Beckingham
ed3b4d587c Enhancements
- Added src/columns/*.{h,cpp}
- Added src/commands/*.{h,cpp}
2011-03-29 23:16:05 -04:00
Paul Beckingham
84fb46f233 Code Cleanup
- Eliminated 'Sensor' code and tests, which would only have been used
  for the interactive version.
- Eliminated obsolete ui code.
2011-03-27 12:36:25 -04:00
Paul Beckingham
c502f0216a i18n
- Eliminated StringTable.{h,cpp}.
- Eliminated strings.<locale> files.  This is not the way to do it.
2011-03-27 02:06:09 -04:00
Paul Beckingham
3cccdf722e Bug #723
- Fixed Bug #723, which displayed a misleading message when the output was
  truncated to a page.
2011-03-26 10:59:02 -04:00
Paul Beckingham
a1d47e9509 Bug #703 - /foo/bar/g doesn't operate globally on annotations
- Fixed bug #703 that was failing to reset a moving pattern cursor between
  annotations.
- Added unit tests to  verify this functionality.
2011-03-26 09:50:26 -04:00
Cory Donnelly
437bb95f01 Standardized journal messages
- Made journal messages more consistent with one another
2011-03-23 17:28:55 -04:00
Alexei Romanoff
4dfa6d3648 Documentation
- Corrected typos concerning BY holidays.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-03-21 18:53:35 -04:00
Paul Beckingham
7c9ebec557 Feature
- Enhanced diagnostics command.
2011-03-20 17:12:47 -04:00
Paul Beckingham
81e6af427f Bug
- Corrected terminal size calculation for "limit:page", which was
  assuming 2 blank lines, instead of 1.
2011-03-20 11:20:16 -04:00
Alexei Romanoff
9a80216e89 Feature #714
- Added feature #714, including Belarus holidays (thanks to Alexei Romanoff).

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-03-19 16:44:24 -04:00
Alexei Romanoff
7f9938d4f1 Bug #713
- Fixed Bug #713, which fixes typos in the holidays-UK.rc file (thanks to
  Alexei Romanoff).

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-03-19 16:35:17 -04:00
Paul Beckingham
bd0dbe3af6 Unit Tests, Documentation
- Added 'ids' command to task.1.in.
- Added unit test for 'ids' command.
- Reformatted 'help' output for the ~ modifier.
2011-03-19 01:18:56 -04:00
Dan White
4b71fa73f8 Feature #710
- Added feature #710, which adds an attribute modifier prefix to return the
  complement of a filtered set (thanks to Dan White).
- Added missing description to the 'help' command.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-03-19 00:56:45 -04:00
Federico Hernandez
17f97651a3 AUTHORS
- added Timm Reitinger to the AUTHORS file for providing the N900
  package
2011-03-17 00:22:29 +01:00
Cory Donnelly
994404d6e1 Merge branch '2.0.0' of tasktools.org:task into 2.0.0 2011-03-16 08:40:02 -04:00
Cory Donnelly
45e0ef20da Bug #708
- Project completion report didn't account for multiple changes made
  at once. For example, task 1-3 done, task 4-6 del, task 7-9 pro:new
2011-03-16 08:37:29 -04:00
Paul Beckingham
9470e9af17 New 'ids' command, and stdin reading
- New 'ids' command that returns a filtered set of task ID numbers, instead
  of the actual tasks.  For advanced pipeline use.
- Now supplements the command line with data read from standard input, which
  allows commands like:  echo 'add Pay the bills' | task
2011-03-16 00:53:29 -04:00
Cory Donnelly
dd8bceecf7 Bug #706
- Journal was recording deletions twice, once as a deletion and
  again as a modification to ""
2011-03-14 22:55:29 -04:00
Cory Donnelly
d3447165c8 Bug #704
- Polished journal messages
2011-03-14 21:35:51 -04:00
Cory Donnelly
18f82c1207 Logic error in util.cpp
- taskDiff() was returning true whenever beforeOnly.size() or
  afterOnly.size() were nonzero, which made no sense and was
  clearly a typo
2011-03-14 19:44:43 -04:00
Johannes Schlatow
6d6a5492bb Feature #700
- added tab-completion of built-in tags
2011-03-13 01:32:44 +01:00
Johannes Schlatow
236b017d57 Merge/Uri support
- fixed autopush bug where e.g. 'ssh://' was omitted
  (Uri::parse() was wrongly modifying the data member)
2011-03-11 00:56:37 +01:00
Paul Beckingham
96d406960d Enhancement
- Corrected sorting to use std::stable_sort instead of std::sort, which is not
  guaranteed stable (thanks to Stefan Hacker).
2011-03-09 12:45:45 -05:00
Paul Beckingham
954db75b37 Packaging
- Updated the packaging scripts for OS X to accomodate the new files.
2011-03-05 08:38:38 -05:00
Paul Beckingham
589b84982f Documentation Update
- Removed 1.9.x references.
- Cleared out NEWS file.
2011-03-03 22:34:26 -05:00
Federico Hernandez
4de854a3c3 CMake
- zapped autoh*ll from build system. No more pain.
2011-03-04 03:58:55 +01:00
Federico Hernandez
dbdba4c59e Bumped version number to 2.0.0 2011-03-04 03:24:06 +01:00
Federico Hernandez
5eff2f4176 Added SHA1 of tagged release commit 2011-03-04 03:07:54 +01:00
Federico Hernandez
2d99b80672 Release date for 1.9.4 2011-03-04 00:07:56 +01:00
Federico Hernandez
949d71a81b CMake
- a few words on the cmake config variables special to task
2011-03-03 23:35:30 +01:00
Federico Hernandez
df1fc5a6da Release
- bumped version number to 1.9.4
2011-03-03 23:09:48 +01:00
Federico Hernandez
7745733001 Man page
- fixed bug in taskrc.5 that caused 3 variables not to be displayed
  (thanks to Michelle L Crane)
2011-03-01 19:07:43 +01:00
Federico Hernandez
10ef12b008 CMake
- cmake variables for the different installation paths
  (thanks to Pietro Cerutti)
2011-03-01 18:59:40 +01:00
Paul Beckingham
19ef6a672d Unit Tests
- Fixed assumption that "task add ...; sleep 1; task list" will never yield
  results with "2 secs" as a task age.
2011-02-27 12:05:10 -05:00
Federico Hernandez
6c110a641d Bumped version number to 1.9.4.beta1 2011-02-18 00:11:30 +01:00
Paul Beckingham
2ec296088a Documentation
- Minor doc edits.
2011-02-17 12:36:37 -05:00
Federico Hernandez
14cc9c6873 Typo 2011-02-17 00:51:44 +01:00
Federico Hernandez
05c157e449 More deprecated autotools stuff 2011-02-17 00:48:55 +01:00
Federico Hernandez
73fd2cefca Build system
- missing source code files for deprecated autotools
- exclude test cmakefile in packaged source
2011-02-16 23:39:45 +01:00
Federico Hernandez
f2f590e193 Unit test
- disabled unit test that requires faketime
  which is not available on Mac OS X
2011-02-16 23:38:08 +01:00
Federico Hernandez
a840b6505b Unit tests
- bug 605 is postponed
2011-02-14 20:13:15 +01:00
Paul Beckingham
467f0a477e Themes
- Added new dark-gray-256 color theme.
2011-02-14 11:49:17 -05:00
Paul Beckingham
e046b37287 Grammar
- Almost complete grammar, with some 2.x enhancements.
2011-02-14 11:13:24 -05:00
Cory Donnelly
9efe1d45cc Bug #677
- _query incorrectly displayed 'No tasks specified.' message when 'No matches'
message is more appropriate
2011-02-13 21:12:30 -05:00
Cory Donnelly
2ed73c0700 Bug #605
- Added unit test
2011-02-13 18:31:23 -05:00
Cory Donnelly
d845dca3af Feature #608
- Unit test added (will need to be updated when journal text is finalized)
2011-02-13 18:14:15 -05:00
Cory Donnelly
930e695ea4 Bug #628
- Unit test had noncritical spelling mistake (yes, I realize I have problems)
2011-02-13 18:09:05 -05:00
Johannes Schlatow
079bcff893 Unit test
* was using the default data.location
2011-02-13 01:51:51 +01:00
Johannes Schlatow
ea57b560d9 Bug
* fixed bug in merge command where the first match of a uuid in
  pending.data was on the depends attribute
2011-02-13 01:51:34 +01:00
Federico Hernandez
436c152fde Regex
- Removed reference to regex in NEWS file
2011-02-13 00:06:46 +01:00
Paul Beckingham
f93273ef23 Related to bug #649
- You can no longer directly complete or delete parent recurring tasks.
2011-02-12 15:30:05 -05:00
Paul Beckingham
6608cbf287 Code Cleanup
- Removed tabs.
2011-02-12 15:14:00 -05:00
Paul Beckingham
a65fe591b8 Bug #634
- Fixed bug #634, so that 'undo' obeys the 'confirmation' setting (thanks to
  Steve Rader).
2011-02-12 15:08:57 -05:00
Paul Beckingham
afb89f0add Themes
- Added the three new burndown chart colors to all themes, with
  variations.
2011-02-12 14:41:44 -05:00
Paul Beckingham
2ac5c2f897 Bug #628
- Fixed bug #628, where dateformats containing spaces were not properly
  parsed (thanks to Steve Rader).
2011-02-12 14:16:06 -05:00
Paul Beckingham
2e9bc3194b Bug #653
- Fixed bug #653, which caused undo information to be recorded when no changes
  were made by the 'edit' command.
2011-02-12 02:29:22 -05:00
Paul Beckingham
691931adf9 Bug #485
- Fixed bug #485, which caused filters of 'recur' to fail for partial matches
  (thanks to T. Charles Yun).
2011-02-12 01:39:25 -05:00
Paul Beckingham
b2828b9702 Bug #656
- Fixed bug that caused multiple recurring child tasks to be generated
  under certain circumstances.
- Removed text.t.cpp tests that are not in task.
- Added Bryce Harrington to AUTHORS file.
- Corrected tests that were broken by the fix.
2011-02-12 01:00:33 -05:00
Paul Beckingham
776a56fa67 Merge branch '1.9.4' of tasktools.org:task into 1.9.4 2011-02-11 11:13:07 -05:00
Paul Beckingham
bc5cdfecb4 Regex
- Removed references to rc.regex in the man pages.
2011-02-11 11:12:43 -05:00
Cory Donnelly
d80e9aa7c5 Bug #674
- Unit test created based on Peter Lewis's bug report
2011-02-11 09:12:46 -05:00
Paul Beckingham
1e2b551795 AUTHORS
- Added Pete Lewis for finding a big nasty bug.
2011-02-10 08:25:47 -05:00
Paul Beckingham
ea374c05df Bug
- Edit wasn't properly parsing annotation entry dates since a recent
  commit changed the length of the pattern used to find annotations.
2011-02-09 00:17:27 -05:00
Paul Beckingham
3a7e620ce6 Unit Tests
- Inherited improved text.cpp unit tests from taskd.
2011-02-08 23:55:57 -05:00
Paul Beckingham
589c918f79 Documentation
- Clarified the need for quoting substitutions containing spaces (thanks
  to Eric Fluger).
2011-02-08 23:55:07 -05:00
Federico Hernandez
1ea513ad75 AUTHORS file
- Patrick R McDonald submitted a detailed bug report and backtrace
  through Fedora's bugzilla. Worth a mention in the AUTHORS file,
  although the bug is already fixed.
2011-02-05 17:48:10 +01:00
Paul Beckingham
036d77e08f Bug
- Disallowed @ and / from an attribute name or modifier.  This causes
  input like 'user@host:path' to now be parsed as description, and not
  as an unrecognized attribute.
2011-02-04 12:14:52 -05:00
Paul Beckingham
783a326b11 Bug #641
- Fixed bug #641, where certain reports broke when 'dateformat' differed from
  'dateformat.report'.
2011-02-04 11:16:14 -05:00
Paul Beckingham
a650847201 Bug #671
- Fixed bug #671, removing the claim in the 'edit' command claims that
  description text can wrap over multiple lines, because it cannot.
2011-02-04 10:44:40 -05:00
Paul Beckingham
7e1e187d6c Export
- Added the alias 'export.json' that maps to the _query command.
2011-02-04 10:25:43 -05:00
Cory Donnelly
3a623af363 Bug #668
- Inconsequential typo in bug.668.t
2011-01-31 18:37:52 -05:00
Cory Donnelly
6b5253e6a0 Bug #669
- A test for due date < wait date in command.cpp only sometimes added
  an extra context.footnote complaining about the condition and was removed.
2011-01-31 18:31:57 -05:00
Johannes Schlatow
feb19cafdd Unit tests
* Bug #668
2011-01-31 22:09:42 +01:00
Paul Beckingham
c963fd30ba Code Review
- Incorporated (most of the) feedback from John's review of the code.
  Got stuck on replacing 'import commands' with 'import subprocess',
  and all that entails.
2011-01-30 16:16:35 -05:00
Paul Beckingham
eee4d05b77 Feature #41
- Feature #41 (export.xml) is now satisfied by the new export-xml.{pl,py,rb}
  add-ons.
2011-01-29 17:37:56 -05:00
Paul Beckingham
5f8858856b Merge branch '1.9.4' of tasktools.org:task into 1.9.4 2011-01-29 17:20:34 -05:00
Paul Beckingham
8b28b013c4 Export commands deprecated
- Provided examplars of export commands re-implemented using the new
  _query command.
- Implemented export-xml.pl, export-xml.py, export-xml.rb.
- Implemented export-csv.pl.
- Implemented export-yaml.pl.
- Implemented export-ical.pl.
2011-01-29 17:11:06 -05:00
Paul Beckingham
074ae41ee6 Documentation
- Clarified that the 'all' report does not have a filter, and can
  therefore show all tasks, including recurring parent tasks.
2011-01-29 12:01:32 -05:00
Paul Beckingham
06e15b6e25 Regex
- Removed regex support (controlled in main.h by #ifdef FEATURE_REGEX),
  because it has proven buggy.
2011-01-25 23:54:44 -05:00
Paul Beckingham
14f06e98b7 Merge branch '1.9.4' of tasktools.org:task into 1.9.4 2011-01-25 23:18:03 -05:00
Paul Beckingham
18aa5c5b69 JSON
- Tags are now a JSON array:  "tags":["one","two"]
2011-01-25 23:17:28 -05:00
Federico Hernandez
6e872c69dd feature #46
- proper sortable age column
2011-01-25 23:55:03 +01:00
Federico Hernandez
3ba877b078 Added a few example of using H:N:S in dateformats to taskrc.5 2011-01-24 23:47:18 +01:00
Cory Donnelly
4d95dcf1da Bug c001
- Added unit test bug.c001.t to test for an unreported issue in 1.9.4
  commit 2d50d1c that involves the creation of a recurring task not
  incrementing the displayed Task ID.
2011-01-23 17:47:52 -05:00
Cory Donnelly
03d8cf1114 Bug #656
- Unit test bug.656.t added (thanks Bryce Harrington)
2011-01-23 17:34:05 -05:00
Paul Beckingham
2d50d1cbf5 Bug
- The .not modifier was accidentally inverted when rc.regex=on.
2011-01-23 01:31:04 -05:00
Paul Beckingham
ad2614c452 Bug #651
- Fixed bug #651, which broke the edit command when a task description
  contained certain tokens (like 'Due:').
2011-01-23 00:54:54 -05:00
Paul Beckingham
eaf184c833 Bug
- The _query command now generates JSON with the string entities
  properly encoded.
2011-01-23 00:08:47 -05:00
Paul Beckingham
57c1983e07 Code Migration
- Migrated taskd JSON parser into task, to provide encode/decode
  capability to Task::composeJSON.
- Migrated taskd utf8 code, replacing old unused code.
- Added unit tests or JSON.
- Migrated Tree updates from taskd.
2011-01-22 23:33:47 -05:00
Paul Beckingham
2f4e0d9e17 Bug #654
- By misplacing a } I broke the info command for tasks without undo
  history, which subsequently broke 28 unit tests.
2011-01-22 23:20:26 -05:00
Cory Donnelly
43e68f73d3 Documentation
- Made changes to INSTALL reflecting cmake build process
- Added cygwin and Darwin troubleshooting tips
2011-01-22 21:12:24 -05:00
Cory Donnelly
6fd2fb08bb Bug #652
- Removed extra line in edit.cpp introduced by the patch discussed in Bug #618
2011-01-22 19:44:44 -05:00
Cory Donnelly
c5b61a3125 Bugs #628, #634, #635
- Unit tests added for a few issues.
2011-01-22 14:29:58 -05:00
Cory Donnelly
5317703dcc Merge branch '1.9.4' of tasktools.org:task into 1.9.4 2011-01-21 15:16:46 -05:00
Cory Donnelly
f820e7a8be Bug #649
- Unit test bug.649.t added to demonstrate issue with 1.9.4 commit ae4e286
2011-01-21 15:15:32 -05:00
Paul Beckingham
cc0b0b00af Merge branch '1.9.4' of tasktools.org:task into 1.9.4 2011-01-21 12:00:46 -05:00
Paul Beckingham
8ed1cc6006 Bug
- The _query command emitted this:
    [ {}, {}, {} ]
  which is not valid JSON.  It should instead be:
    {}, {}, {}
2011-01-21 11:59:51 -05:00
Paul Beckingham
103bcef6ab Bug
- The edit command included two entries for the tags, parsing then only
  found the first.
2011-01-21 11:59:15 -05:00
Federico Hernandez
0dd969cc24 CMake
- missing cmake message
2011-01-20 22:19:34 +01:00
Paul Beckingham
e301cda990 Bug, Reorg
- Fixed bug in journal annotations that omitted \n characters for
  certain events, creating an unreadable journal entry.
- Relocated the 'Total active time' into the journal table, made
  the text bold, and changed from "Xh XXm" format to Duration::format.
2011-01-20 10:42:37 -05:00
Federico Hernandez
200fbe3334 Fixed broken unit tests that use _version
- _verstion now outputs the short git sha1 id and not longer the
  task version when building from the git repository.
2011-01-18 02:37:06 +01:00
Federico Hernandez
0cac03ad4a Feature #638
- added worded dates "later" and "someday" to enable the hiding of
  a task until doomsday.
2011-01-18 02:21:00 +01:00
Federico Hernandez
be0357da4a CMake
- added information to task diag to indicate if task is built with
  cmake (to support the upcoming move away from autotools).
2011-01-18 00:00:28 +01:00
Federico Hernandez
32235ca60a CMake
- improve compilation by removing the git sha1 dependency into its
  own include file that is just used 2 times instead of auto.h that
  is included in more places.
2011-01-17 23:27:38 +01:00
Johannes Schlatow
792eab8621 Info report
* added a line to the journal which shows the total time a task was active
2011-01-17 15:21:55 +01:00
Paul Beckingham
8e5ad1288c Holidays
- Added three missing holiday files to Makefile.am.
2011-01-16 20:03:06 -05:00
Paul Beckingham
332dbc4a08 Holidays
- Added new holiday configuration file for Austria (thanks to Andreas Poisel).
2011-01-16 17:01:47 -05:00
Paul Beckingham
0fda4b060c Bug
- _query command used {} instead of [] for task collection.
2011-01-16 01:03:28 -05:00
Federico Hernandez
55de71feca SHA1
- removed previously introduced _sha1 helper command
- modified helper command _version to either display the version
  or the sha1 depending if build from source tar ball or from git.
2011-01-15 22:18:44 +01:00
Federico Hernandez
c0c58f9aff Added _sha1 helper command to quickly identify a
task dev version.
2011-01-15 21:41:28 +01:00
Paul Beckingham
ae4e28689d Holiday Files
- Updated all holiday files to have a complete set of 2011 definitions,
  and remove 2010 definitions.
2011-01-14 23:04:29 -05:00
Paul Beckingham
7ca51e78f0 Feature - enhanced date parse error
- When a date fails to parse, the expected format is displayed, as a reminder
  (thanks to Eric Fluger).
2011-01-14 22:56:52 -05:00
Paul Beckingham
d4772fe060 Bug
- Fixed bug that caused entry, end, start and wait dates to not use report-
  specific date format overrides (thanks to Eric Fluger).
2011-01-14 22:12:17 -05:00
Paul Beckingham
47f2758c8f Holidays
- Added new holiday configuration file for Italy (thanks to Nicola Busanello).
2011-01-11 00:51:12 -05:00
Paul Beckingham
dac31390cb Merge branch '1.9.4' of tasktools.org:task into 1.9.4 2011-01-11 00:08:23 -05:00
Paul Beckingham
68fe437889 Taskd
- Modified Task::composeJSON to use ISO 8601 date format, and the new
  hierarchical annotation format.
2011-01-11 00:07:11 -05:00
Federico Hernandez
d358af4a53 Merge branch '1.9.4' of tasktools.org:task into 1.9.4 2011-01-11 00:37:23 +01:00
Federico Hernandez
e3269984ce Feature #629 - Holidays
- new configuration file for New Zealand (thanks to Stephen Haywood)
2011-01-11 00:36:41 +01:00
Federico Hernandez
e9b9adad06 Holidays
- new configuration file for New Zealand (thanks to Stephen Haywood)
2011-01-11 00:33:44 +01:00
Paul Beckingham
c08c280dd9 Feature #608
- Added feature #608, and now completing a task, with journal.time turned on
  will stop the task first (thanks to Andy Kriger).
2011-01-09 23:39:05 -05:00
Paul Beckingham
109f22051d Bug #603
- When an ID was not specified, delete gave no feedback (thanks to
  Steve Rader).
- Closer inspection showed this to be true for the urgency, query, delete,
  start, stop, done, modify, append, prepend, duplicate, annotate and denotate
  commands.
2011-01-09 23:15:30 -05:00
Paul Beckingham
9764fe310a Documentation
- Mentioned import from a URL in the NEWS file.
2011-01-09 23:07:22 -05:00
Paul Beckingham
10a69c4d3d Import
- Modified man page to acknowledge import from file or URL.
- Changed FEATURE_URL from #if to #ifdef, for consistency.
- Modified import.url.t to accomodate a new URL for the test.
2011-01-09 23:05:01 -05:00
Paul Beckingham
77f26994a6 Merge branch '1.9.4' of tasktools.org:task into 1.9.4 2011-01-09 21:25:59 -05:00
Paul Beckingham
1d8a60a9ba Bug
- Fixed bug that caused the 'done' command to always exit with a non-zero
  status (thanks to Steve Rader).
2011-01-09 21:25:09 -05:00
Johannes Schlatow
59e2e102e6 Merge branch '1.9.4' of tasktools.org:task into 1.9.4 2011-01-10 01:03:49 +01:00
Johannes Schlatow
f52e98d8df Zsh completion
* improved naming conventions of tags for use with zstyle
* added file completion for push/pull
2011-01-10 01:03:38 +01:00
Paul Beckingham
08c089258f Documentation
- Added missing documentation - bugs/features that were closed, but
  not listed in the ChangeLog.
2011-01-09 16:48:10 -05:00
Johannes Schlatow
976cd284ff Zsh completion
* fixed ID completion after edit/info/annotate/start/...
* now IDs will be updated any time the completion function is called
2011-01-09 18:01:53 +01:00
Federico Hernandez
914626e2b2 Merge branch '1.9.4' of tasktools.org:task into 1.9.4 2011-01-08 21:25:32 +01:00
Federico Hernandez
a5f8762570 Msg for sha1 searching in cmake 2011-01-08 21:25:18 +01:00
Paul Beckingham
8d4deda2bb Feature #309
- Added feature #309, which sets the xterm title when reports are run,
  according to the configuration variable 'xterm.title', which defaults to off.
2011-01-08 11:30:58 -05:00
Paul Beckingham
0c05069baf Bug #624
- Enhanced unit tests in response to bug #624 (thanks to Steve Rader).
2011-01-08 11:12:39 -05:00
Paul Beckingham
b5c46062c6 Feature - dependency column justification
- The dependency columns are now right-justified (thanks to Eric Fluger).
2011-01-08 11:10:39 -05:00
Federico Hernandez
022b219c0f CMake
- added sha1 of git commit to task diag
2011-01-08 01:10:26 +01:00
Federico Hernandez
e28d03df82 CMake
- build only target for the unit tests - to be used by the tinderbox
2011-01-07 23:04:04 +01:00
Federico Hernandez
733101a560 CMake
- made lua optional
- included a package_source stub for cpack
2011-01-07 22:23:42 +01:00
Federico Hernandez
32144fb6b0 Removed README.build from Makefile.am 2011-01-06 23:56:51 +01:00
Federico Hernandez
4cdec31803 CMake
- fixed scripts dir that just installed the directories but not the
  files
2011-01-05 23:08:48 +01:00
Federico Hernandez
70a83dad4d CMake
- the version number in the man pages is now set automatically via
  the ${PACKAGE_STRING} cmake variable
2011-01-05 22:46:25 +01:00
Steve Rader
86eef4c184 Bug #618
- Applied patch to fix bug #618, so that the configuration setting
  'edit.verbose' can be set to 'no' and eliminate the help text when using
  the 'task edit' command (thanks to Steve Rader).

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-01-05 08:56:28 -05:00
Paul Beckingham
8fefc8c12a Merge branch '1.9.4' of tasktools.org:task into 1.9.4 2011-01-05 08:30:21 -05:00
Federico Hernandez
75a3266929 Merged README.build to INSTALL 2011-01-05 09:58:07 +01:00
Federico Hernandez
7f0c3bf94b Prepared gitignore for upcoming CPack 2011-01-05 01:26:32 +01:00
Federico Hernandez
506799cac4 CMake
- finalized install target
2011-01-05 01:10:26 +01:00
Paul Beckingham
fca8c43d47 Merge branch '1.9.4' of tasktools.org:task into 1.9.4 2011-01-04 17:37:02 -05:00
Federico Hernandez
198e69f8d1 CMake
- install target: included man pages and rc files
2011-01-04 23:26:35 +01:00
Paul Beckingham
28ceaaaaab Merge branch '1.9.4' of tasktools.org:task into 1.9.4 2011-01-04 16:30:03 -05:00
Paul Beckingham
2bee2f4aa5 Unit Tests
- Added new "is" method for double-precision floating point comparison,
  with tolerance value.
2011-01-04 16:29:31 -05:00
Johannes Schlatow
86f778f504 Merge branch '1.9.4' of tasktools.org:task into 1.9.4 2011-01-04 21:57:23 +01:00
Johannes Schlatow
2181c48eb7 Zsh completion
- added features #585 and #586
2011-01-04 21:57:15 +01:00
Federico Hernandez
9429c96172 CMake
- install command for task binary had wrong target
2011-01-04 08:44:59 +01:00
Steve Rader
e2d11d8575 Bug #590
- Applied patch to fix bug #590, which makes the yes/no/all/quit
  confirmation prompts consistent (thanks to Steve Rader).
- Patch modified to work with autocomplete.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-01-03 23:11:38 -05:00
Paul Beckingham
b553954d37 Bug #597
- Fixed bug #597, which caused a missing project to be counted as a project
  in the projects command (thanks to Steve Rader).
2011-01-03 22:21:51 -05:00
Steve Rader
07755e2c56 Bug #613
- Missing projects are now consistently reported as "(none)" in the
  summary chart and the projects command.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2011-01-03 22:04:10 -05:00
Paul Beckingham
6b18a2842f Build
- Made pthreads usage conditional upon HAVE_LIBPTHREAD.
2011-01-03 19:34:00 -05:00
Paul Beckingham
6a7e741b02 Bug
- Fixed visual problem where two consecutive months are rendered on the
  x-axis as "OctNov".  Now it renders as "Oc Nov", truncating the earlier
  label.
2011-01-03 14:51:43 -05:00
Paul Beckingham
96851c1d34 Cmake
- Removed NOPE define.
2011-01-02 20:45:24 -05:00
Federico Hernandez
2663f437fc CMake
- foreach loop in test to compile the unit tests
2011-01-03 01:41:48 +01:00
Federico Hernandez
94224d0ac5 CMake
- finalized unit tests transition to CMake
- introduced 2 variables to collect inlcude dirs and libraries
2011-01-03 01:05:39 +01:00
Federico Hernandez
3a599b66f5 CMake
- added stub for the cmake file in test
- proof of concept to generate the test binaries by linking to libtask
2011-01-02 23:53:50 +01:00
Federico Hernandez
51fd0afade CMake
- moved configuration stuff from src to top level cmake file
- building static library task and using it for building task binary
- the static library will then be used as well in the unit tests
2011-01-02 23:45:25 +01:00
Federico Hernandez
101bc8045b with_lua description not longer needed with cmake 2011-01-02 20:21:43 +01:00
Federico Hernandez
3e68bc9ec5 CMake
- added library checks to cmake
- added configuration of include files to cmake
- move package information into configurable include file
- cmake.h.in generates auto.h to be compatible with current
  implementation of autoconf
2011-01-02 16:26:33 +01:00
Paul Beckingham
462caf5bd4 Copyright
- Updated copyright to 2011.
2010-12-31 22:03:05 -05:00
Paul Beckingham
98f3e6e61d Code Cleanup
- Used File object inside Sensor.
2010-12-31 17:25:13 -05:00
Paul Beckingham
8543bd457b Documentation Update
- Added discussion of "less -FrX" and the reported problems with Linux
  'more' (thanks to Steve Rader).
2010-12-31 12:41:44 -05:00
Paul Beckingham
08f32cb9e9 Bug
- Sorting bug in which 'urgency' column was not identified as numeric.
2010-12-31 00:34:23 -05:00
Paul Beckingham
57d577a140 Bug #595
- Fixed bug #595, where taskwarrior ignored changes to the wait date during
  the edit command, consequently not changing task status (thanks to Eric
  Fluger).
2010-12-31 00:33:43 -05:00
Paul Beckingham
1b66904550 Urgency/next
- Added 'urgency' as a reportable, sortable column.  This will allow
  us to test the urgency coefficients.  Note that this is experimental,
  and as such will not be documented.
2010-12-30 22:20:33 -05:00
Paul Beckingham
77f3269f09 Bug #589
- Fixed bug #589, where the man page did not adequately describe searching
  or usage of attribute modifiers (thanks to Steve Rader).
2010-12-30 09:37:40 -05:00
Paul Beckingham
317b7f5d40 Bug #587
- Fixed bug #587, where the man page needed clarification on quoting some
  arguments to prevent them from being broken up by the shell (thanks to
  Steve Rader).
2010-12-29 22:54:32 -05:00
Paul Beckingham
552c594d3f Documentation
- Updated the INSTALL file to discuss cmake, not autoconf.
- Removed the transient test/Makefile from git.
2010-12-29 16:48:54 -05:00
Paul Beckingham
429709a426 Documentation
- Added brief discussion of the reasons Lua is the chosen plugin
  langauge (thanks to Eric Fluger).
2010-12-29 10:19:52 -05:00
Paul Beckingham
f5f1b38fe8 CMake
- Added cmake transient files to the .gitignore file.
2010-12-29 10:19:15 -05:00
Federico Hernandez
b2a7b91a7c Cmake:
- added parts of the configure.ac checks to src/CMakeList.txt as
  comments/TODOs
2010-12-29 01:14:04 +01:00
Federico Hernandez
fb24835ac5 First commit of cmake stubs - more to come 2010-12-29 00:31:20 +01:00
Federico Hernandez
dd10bf52e7 Unit tests:
- TZ related bug in date.t.cpp (test 78). 1234567890 is 2/14 in CET.
  Changed epoch to 1234526400 which is 2/13/2009 12:00:00 UTC.
2010-12-28 22:33:18 +01:00
Federico Hernandez
5d775fdc3e Cmake:
- adapted makefile and unit tests to new place of test dir
2010-12-28 21:38:03 +01:00
Federico Hernandez
17ef077e27 Moved src/tests to test (cmake preperations) 2010-12-28 21:17:23 +01:00
Federico Hernandez
02dcdf83b5 Fixed auto.h includes to point to top level dir for cmake 2010-12-28 21:12:30 +01:00
Paul Beckingham
d572383e76 Merge branch '1.9.4' of tasktools.org:task into 1.9.4 2010-12-27 16:34:09 -05:00
Paul Beckingham
a6cf99a83c Code Cleanup
- Migrated format helper functions over from taskd.
- Converted much of the sprintf usage to format calls.
2010-12-27 16:31:11 -05:00
Federico Hernandez
74607341ff New platform: NetBSD 2010-12-27 22:11:47 +01:00
Paul Beckingham
5f007ed1d9 Bug
- The burndown chart was reserving space for the y-axis labels based
  on the maximum value in the data.  This is wrong.  Instead it should
  have used the maximum *label*.  Consider a graph with a maximum value
  of 99, having a width of 2 characters.  The graph labels should go up
  to 100, not 99, and therefore will take up 3 characters.
2010-12-27 01:11:03 -05:00
Paul Beckingham
8d720cacc5 Bug
- When rc.regex:on is set, filters with "+tag" elements were causing
  a segfault because the "tag" word was converted to a non-capturing
  regex, no results were captured, and array[0] failed.  Now it is
  implemented that tag elements in a filter never use regexes, which
  maintains the idea the tags are not really words, but tokens that
  either match or don't.
2010-12-27 00:57:24 -05:00
Paul Beckingham
4a58fbdd53 Merge branch '1.9.4' of tasktools.org:task into 1.9.4 2010-12-27 00:24:30 -05:00
Paul Beckingham
3d7bb9d253 Bug #564
- Fixed bug #564, which allowed the deletion of parent recurring tasks (thanks
  to Peter De Poorter).
2010-12-27 00:22:57 -05:00
Paul Beckingham
7f32435ce9 Helper Command
- Added _query helper command for script writers, which accepts a filter like
  any other report, but returns raw JSON.
2010-12-26 10:00:41 -05:00
Johannes Schlatow
126a3d88b5 Zsh completion
- added completion of attributes
- added completion of projects and tags
- added completion of special dates and frequencies
2010-12-25 23:57:00 +01:00
Paul Beckingham
367c32c050 Error
- Forgot to uncomment the lua line.  Oops.
2010-12-24 00:29:09 -05:00
Paul Beckingham
d9bd9c3532 Merge branch '1.9.4' of tasktools.org:task into 1.9.4 2010-12-24 00:28:35 -05:00
Paul Beckingham
879f0fed78 Feature #574
- Added feature #574, default due dates (thanks to Erlan Sergaziev).
2010-12-24 00:28:06 -05:00
Paul Beckingham
07050a35f3 Portability
- Added preliminary enhancement to configure.ac (thanks to Sander Marechal),
  but this still needs work.
2010-12-23 23:53:28 -05:00
Paul Beckingham
05d664cae1 Bug #541
- Fixed bug #541, which prevented sorting by 'age' column in some situations.
2010-12-23 23:26:01 -05:00
Paul Beckingham
18c770141d Merge branch '1.9.4' of tasktools.org:task into 1.9.4
Conflicts:
	ChangeLog
2010-12-23 23:16:05 -05:00
Paul Beckingham
595dd9f3f4 Bug #581
- Applied patch to fix bug #581, in which backslashes in annotations and
  descriptions caused problems (thanks to Itay Perl).
- Corrected unit tests that were shown to be incorrect, after the patch
  corrected other behavior.
2010-12-23 23:14:20 -05:00
Paul Beckingham
1d4c79b897 Code Cleanup
- Applied refactoring patch from Itay Perl.
2010-12-23 22:58:55 -05:00
Johannes Schlatow
ee77debfce Bug #540
- fixed issue with user names containing @ characters
- updated ChangeLog
- updated task-sync.5
2010-12-24 01:00:03 +01:00
Johannes Schlatow
d44e592635 Bug #580
- reuse merge uri for autopush
2010-12-23 22:15:11 +01:00
Paul Beckingham
4840708090 Bug #579
- Fixed bug #579, which displayed incorrect counts when using the 'limit:N'
  filter (thanks to Thomas Sattler).
- Changed wording from 'lines' to 'tasks', because the former was inaccurate.
- Adjusted limit.t tests accordingly.
2010-12-22 09:31:00 -05:00
Johannes Schlatow
bad31d83b1 Bug #570
- fixed execvp parameter
2010-12-16 22:36:24 +01:00
Paul Beckingham
1c29c2c87d Diagnostics
- Added mention of $TERM and the size of the terminal.
2010-12-16 09:29:46 -05:00
Paul Beckingham
ca4b15bc0b Holidays
- Added feature #575, including Danish holidays (thanks to Irfan Siddiqui).
2010-12-15 16:13:27 -05:00
Paul Beckingham
c73f131f32 Eliminated ncurses
- Removed autoconf ncurses detection.
- Modified man pages.
- Inserted vitapi replacement code.
- Cached terminal size values for reuse.
- Modified packaging info for OSX.
- Removed -lncurses from unit test makefile.
- Removed obsolete taskrc example.
- Modified (simplified) source build instructions.
2010-12-14 14:40:03 -05:00
Johannes Schlatow
551c4b99c4 Bug #570
- fixed merge/push/pull bug (missing brace expansion in dash)
2010-12-14 10:27:28 +01:00
Federico Hernandez
4ca35fb956 Feature #567
- added a calendar offset that effectively changes the first
  month to be displayed in the calendar report (thanks to
  Michelle Crane)
- calendar.offset turns the featue off or on
- calendar.offset.value controls the number of month to be
  applied for the offset
2010-12-01 23:25:13 +01:00
Paul Beckingham
14ab7ba7bd GC
- Forgot to add 'gc' as a valid configuration variable.
2010-11-29 23:43:36 -05:00
Paul Beckingham
068d85b1f3 Unit Tests
- Added a context value for gc=1, which otherwise defaults to 0 when
  the Config object is empty.
2010-11-29 08:37:20 -05:00
Paul Beckingham
d2fdc10f39 iUnit Tests
- Corrected test that changed columns in the ls report, but not the
  corresponding sort order.
2010-11-29 08:19:12 -05:00
Paul Beckingham
2b7452f9a7 Feature #561
- Added taskrc.5 documentation for rc.gc=off.
2010-11-28 16:32:51 -05:00
Paul Beckingham
0ac2b43ad3 Feature #561
- Added ability to temporarily suspend GC (rc.gc:0) for a given command, which
  helps scriptwriters implement shadow files externally (thanks to Sander
  Marechal).
2010-11-28 16:26:21 -05:00
Paul Beckingham
5bf8feefca Shadow Files
- Added a missing check for file overwrites.
2010-11-28 12:04:44 -05:00
Paul Beckingham
bdc167fd6a Miscellaneous Edits
- Added Max Muller to AUTHORS for suggestions.
- Fixed a unit test Perl warning.
2010-11-28 08:44:25 -05:00
Paul Beckingham
aa98ca42c8 Shell
- Added support for 'bye' and 'exit' as well as 'quit' from the task
  shell.  Thanks to foucist.
2010-11-27 21:33:20 -05:00
Paul Beckingham
5adc86bbbf Sorting
- Added 'description+' to all reports with duplicate sort keys, to stabilize
  the sequence.
2010-11-27 19:52:15 -05:00
Paul Beckingham
bfc2367bdb Code Cleanup
- Removed used of foreach macro.
2010-11-27 19:42:34 -05:00
Paul Beckingham
4c3354fa50 Journal Feature
- Added change log display to the 'info' command, controlled by the
  'journal.info' configuration setting.
2010-11-27 16:38:36 -05:00
Paul Beckingham
31cf470cc8 Copyright
- Made all the copyright notices consistent.  It was bothering me.
2010-11-27 09:13:09 -05:00
Paul Beckingham
fe85e28605 Show Command Defaults
- Added highlighting for the show command that indicates which values differ
  from the defaults.
2010-11-26 19:32:37 -05:00
Paul Beckingham
7a95c38290 Diagnostics
- Added configuration settings for 'regex' and 'locking', which might
  be useful.
2010-11-26 17:38:52 -05:00
Paul Beckingham
fe65d28f99 Feature #158
- Added feature #158, regular expression support for filters and substitutions.
- Added unit tests to att.t and filter.t.
- Updated docs.
2010-11-26 17:26:03 -05:00
Paul Beckingham
09ce815fc5 Feature #247
- Added feature #247, providing infinite width reports when redirecting output
  to a file, by setting defaultwidth to 0.
2010-11-26 14:54:55 -05:00
Paul Beckingham
38ffa390ea Bug #542
- Fixed bug #542, which sorted the countdown columns incorrectly (thanks to
  Michelle Crane).
- Duration could not parse all varieties of it's own output, which is why the
  sorting was broken, in particular negative durations and real numbers in
  durations (such as (1.2y').
- Sorting in Table::sort_compare for Table::periodAscending and
  Table::periodDescending was broken.
- Missing unit tests for countdown_compact.
- Imported Nibbler::getNumber from the Attitash project.
- Additional Duration unit tests.
- Additional Nibbler unit tests.
- Additional countdown.t unit tests.
2010-11-26 14:00:49 -05:00
Paul Beckingham
c2a84c7cf6 Unit Tests
- Added unit tests for bug #495, which cannot be replicated.
2010-11-26 11:40:27 -05:00
Paul Beckingham
da5e2925ad Bug #530
- Fixed bug #530, where unrecognized periods on recurring tasks were not
  being properly handled (thanks to T. Charles Yun).
2010-11-26 11:23:09 -05:00
Paul Beckingham
6ef5650129 Bug #515
- Fixed bug #515, which displayed an incorrect message after duplicating a
  non-existent task (thanks to Peter De Poorter).
2010-11-26 11:08:51 -05:00
Paul Beckingham
d7de67d242 Feature #546
- Added feature #546, which is a 'count' command that counts tasks, and is
  intended to help scripts that manipulate task output.
- Added unit tests.
- Added man page description.
2010-11-26 10:39:00 -05:00
Paul Beckingham
4c40784328 Merge branch '1.9.4' of tasktools.org:task into 1.9.4 2010-11-24 18:18:21 -05:00
Paul Beckingham
b581e5d3c4 Burndown
- Added discussion of the new burndown.bias configuration variable
  to the NEWS file.
- Changed 'major' and 'minor' string names to avoid some clash with
  gnu_version_major etc.
- Added missing include for Linux.
- Added new burndown configuration variables to the allowed list.
2010-11-24 18:16:57 -05:00
Paul Beckingham
fd27fe3392 Portability
- Added missing include.
- Apparently, you cannot have a string name 'major' or 'minor', which
  clashes with gnu_version_major etc.
2010-11-24 23:14:48 +00:00
Paul Beckingham
955634c35b Burndown Chart
- Added debug output showing calculations.
- Made the bias configurable, defaulting to 0.666.
- Added 'burndown.bias' to the taskrc.5 man page.
2010-11-24 15:11:02 -05:00
Paul Beckingham
42c0b33f07 Burndown Chart
- Implemented rate calculations
- Implemented completion estimate
- Added debug diagnostics for the inevitable questions that will arise
2010-11-24 13:01:34 -05:00
Paul Beckingham
c5158a6457 Burndown Chart
- Now renders (and wraps if necessary) a chart title, with additional
  filter description.
- Removed more redundant code.
- Fixed divide-by-zero bug when the filter resulted in zero matches.
- Made the burndown commands read-only, so that filters apply.
2010-11-22 23:54:16 -05:00
Paul Beckingham
9fd9e8e3a8 Recurrence
- Child tasks now have their own entry date, instead of inheriting it
  from the parent.  This improves the ability to report new tasks in
  the burndown charts, history report.
2010-11-22 23:11:45 -05:00
Paul Beckingham
ead7cfe2b8 Burndown Chart
- Completed chart rendering for all three variations.
- Updated assorted documentation.
- Removed most of the obsolete code.
- Not completed:
  - find rate calculation/algorithm
  - fix rate calculation/algorithm
  - completion date algorithm
2010-11-22 22:42:03 -05:00
Paul Beckingham
3a4fff1683 Merge branch '1.9.4' of tasktools.org:task into 1.9.4 2010-11-22 01:48:59 -05:00
Paul Beckingham
c4a5a75fd6 Burndown Chart
- Infrastructure rewritten with the following benefits:
  - greater performance
  - reduced memory footprint
  - generalized periods (daily, weekly, monthly)
- Currently graphs do not render, daily chart is still the old implementation
2010-11-22 01:47:10 -05:00
Johannes Schlatow
4cb5caa342 Bug #548
- Fixed issue with push command where curl transfers
  only pending.data
- Differentiate between "command not found" and other errors
2010-11-22 01:16:07 +01:00
Paul Beckingham
652b7d9c8d Burndown Chart
- Implemented burndown.daily, which is functional, but has outstanding
  problems that need to be addressed:
    - Slow
    - Does not optimize output (i.e. contains /\S\s+$/)
    - Needs generalized helper functions to reduce the size of the handler
2010-11-21 00:28:34 -05:00
Paul Beckingham
94480c23d2 Bug 555
- Fixed #555 that caused a segfault when 'log' was used with a project,
  because the onProjectChange code assumes the files are still open, and
  they were not.  Checked all other commands for similar problem.
- Added Itay Perl to the AUTHORS file.
- Added unit test.
2010-11-20 09:48:19 -05:00
Paul Beckingham
d3303f6a98 Code Cleanup
- Obsoleted the monthlyEpoch and yearlyEpoch functions, which are better
  served by the Date::startOf{Month,Year} methos.
2010-11-15 12:04:27 -05:00
Paul Beckingham
125058093f Dates
- Added Date::startof{Day,Week,Month,Year} methods to facilitate the
  history, ghistory and burndown charts.
2010-11-15 11:43:21 -05:00
Paul Beckingham
891136788f Documentation
- New task-sync man page not mentioned in default .taskrc file.
2010-11-12 08:51:48 -05:00
Paul Beckingham
d1b7e66694 Bug #538
- Fixed bug #538, where some color legend items were not readable.
2010-11-11 14:47:13 -05:00
Paul Beckingham
914007c7e5 Merge branch '1.9.4' of tasktools.org:task into 1.9.4 2010-11-11 13:16:34 -05:00
Paul Beckingham
e9d60e693e Packaging
- Added Andraž 'ruskie' Levstik to the AUTHORS file for his contribution
  which is to add task to the sourcemage distribution.
2010-11-11 13:08:15 -05:00
Johannes Schlatow
e6ea471cbe ChangeLog
- added note for previously fixed bug #537
2010-11-11 18:42:23 +01:00
Johannes Schlatow
a3ba025d22 Bug
- fixed #537, URIs in task-sync.5
2010-11-11 18:34:22 +01:00
Paul Beckingham
b9f10addf8 Bug #539
- Fixed but #539, where the man page task-color(5) contained a line that
  began with a ' and was not displayed.
2010-11-11 10:36:37 -05:00
Paul Beckingham
c8e35fab88 Bug #535 - Missing holidays-NO.rc file in package
- Fixed bug #535 which omitted the file from the top-level Makefile.am
  (thanks to Jostein Berntsen).
2010-11-10 17:47:55 -05:00
Paul Beckingham
cc8299f0cc Bug #529
- Fixed bug #529, where the 'depends' attribute was not mentioned in the
  task man page (thanks to Dirk Deimeke).
2010-11-09 07:56:48 -05:00
Paul Beckingham
55ad0cb8b7 Version number
- Removed all the changes from the NEWS file, ready for whatever
  comes next.
- Bumped version number in task-tutorial.5, othewise it looks dated.
2010-11-08 22:30:13 -05:00
Federico Hernandez
3c9bf20798 Bumped version number to 1.9.4 2010-11-09 02:26:35 +01:00
Federico Hernandez
6b77459286 Added SHA1 of tagged release commit 2010-11-09 02:18:37 +01:00
Federico Hernandez
bf36b47593 Release date for 1.9.3 2010-11-08 23:01:19 +01:00
Federico Hernandez
58b077df0e Pushed version to 1.9.3 prior to release 2010-11-08 22:27:24 +01:00
Paul Beckingham
9c93fe7c88 Bug #467, #493
- Fixed bug #467, where recurring tasks were not honoring wait values.
- Fixed bug #493, which made waiting, recurring tasks invisible (thanks to
  Alexander Schremmer).
2010-11-07 15:35:30 -05:00
Paul Beckingham
73110ae033 Portability
- Modfied diag.cpp to get a clean build on Ubuntu, and the latest gcc.
2010-11-06 17:27:58 -04:00
Johannes Schlatow
08bbd38615 Bug
- fixed is_local() in Uri
2010-11-03 13:02:19 +01:00
Johannes Schlatow
6cb5c7a104 Bug
- fixed #527
- extended directory check in Uri for local uri/paths
2010-11-03 10:59:36 +01:00
Johannes Schlatow
b56b5bc29d Bug
- fixed #526, false warning about wait date, when both are modified simultaneously
2010-11-02 22:41:38 +01:00
Paul Beckingham
558bf2ca50 Feedback
- Improved feedback when announcing 'depends' attirubte changes.  Now
  uses task IDs instead of UUIDs, resulting in a shorter, clearer
  message (thanks to Peter De Poorter).
2010-10-31 11:22:36 -04:00
Paul Beckingham
5ba23a4ecd Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-10-31 10:59:22 -04:00
Paul Beckingham
46c031c45c Documentation
- The help command now includes the task-sync man page.
- The help command now includes export.csv and export.yaml.
2010-10-28 21:46:26 -04:00
Paul Beckingham
f553915b2f Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-10-28 21:45:34 -04:00
Paul Beckingham
01bb76b3b6 Feedback
- Modified feedback when the number of pending tasks in a project changes
  (thanks to Peter De Poorter).
2010-10-27 22:26:11 -04:00
Paul Beckingham
f8d8d2f6b5 Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-10-27 17:44:48 -04:00
Paul Beckingham
fe9eb9cacb Holidays
- Added Norwegian holidays (thanks to Jostein Berntsen).
2010-10-27 17:44:10 -04:00
Federico Hernandez
50f23d4b75 New distribution: SuSE 11.3 2010-10-27 21:09:17 +02:00
Federico Hernandez
62d2c6bb5f Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-10-26 21:16:34 +02:00
Federico Hernandez
4a1edfb9be Lua
- fixed task_exit hook throwing exception under certain
  circumstances under Ubuntu.
- task_exit now exits with exit (0) instead.
2010-10-26 21:14:31 +02:00
Johannes Schlatow
c20bfffbce Merge
- fixed output
2010-10-26 15:17:21 +02:00
Paul Beckingham
cfdd7efea9 Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-10-25 20:13:26 -04:00
Federico Hernandez
5bc1bfe331 Bumped version to 1.9.3.beta3 2010-10-25 20:47:07 +02:00
Johannes Schlatow
9eed851fbb Merge
- fixed if statement
2010-10-25 18:53:44 +02:00
Paul Beckingham
6dca4dd056 Code Cleanup
- Simplified one call.
2010-10-25 01:15:17 -04:00
Paul Beckingham
a5123dd2b7 Bug
- Now CYGWIN has special handling for srand/srandom.
2010-10-25 00:49:42 -04:00
Paul Beckingham
488b23f42f Bug
- Flipped the test and error message for wait dates that must be before due
  dates.
2010-10-25 00:37:56 -04:00
Paul Beckingham
ffa1bac193 Unit Tests
- Corrected test to match newly modified error message.
2010-10-24 23:49:15 -04:00
Paul Beckingham
2aac37dcb7 Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-10-24 19:54:41 -04:00
Paul Beckingham
e6d47f233b Bug - Duplicate UUIDs under Cygwin
- Fixed bug caused by using a high-resolution timer (gettimeofday) on
  Windows, which only has a 10ms resolution timer.  Consequently the
  random number seed used was from a significantly reduced pool, which
  leads to duplicate UUIDs.
2010-10-24 18:35:32 -04:00
Paul Beckingham
191d8ef355 Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-10-23 15:03:16 -04:00
Paul Beckingham
ca6bfeb2f2 Documentation
- Corrected use of "reportdateformat" in taskrc.5 to "dateformat.report".
- Corrected duplicate comment in Config.cpp defaults.
2010-10-23 15:02:28 -04:00
Paul Beckingham
0a5e380bbf Correction
- Committed too many chunks in the last modification.
2010-10-23 11:29:20 -04:00
Paul Beckingham
79a4f666aa Correction
- Certain fixed issues were omitted.
2010-10-23 11:27:02 -04:00
Paul Beckingham
f74bed4355 Diagnostics
- Redirected STDERR into STDOUT to eliminate stray output.
2010-10-22 08:23:37 -04:00
Federico Hernandez
18e9f6e8ec Bumped version to 1.9.3.beta2 2010-10-21 00:52:54 +02:00
Johannes Schlatow
6e11267724 Makefile
- fixed undefined reference to handeDiagnostics()
2010-10-20 22:48:06 +02:00
Johannes Schlatow
af490fb634 Sync
- added description substrings to output of merge command
2010-10-20 22:41:45 +02:00
Paul Beckingham
1e38cbd6a0 Diagnostics
- Added checks for external utilities, for sync operations.
2010-10-20 01:07:46 -04:00
Paul Beckingham
1e37d7a784 Diagnostics
- Added new 'diagnostics' command to assist with bug reporting,
  testing.  It answers questions such as "did you compile it yourself?",
  and more.
- Specifically, it runs a UUID generation test to prove that the UUIDs
  are really unique.
2010-10-20 00:22:20 -04:00
Paul Beckingham
314f64f775 Import
- Added a \n where missing in an import error message.
2010-10-18 23:10:39 -04:00
Federico Hernandez
f285ae535f Added correct credits to task-tutorial.5 2010-10-17 23:39:36 +02:00
Johannes Schlatow
34f80d03e3 Bug
- fixed unrecognized config variable 'push.default.uri'
2010-10-17 22:50:05 +02:00
Paul Beckingham
6de940acf1 Documentation
- Fixed typos.
2010-10-17 11:25:07 -04:00
Paul Beckingham
837b89dd2d Sync
- More work on the output text from merge.  Improved, but not yet finished.
2010-10-17 01:12:00 -04:00
Paul Beckingham
d177acfcbd Cleanup
- Removed redundant message from duplication command.
2010-10-16 21:24:12 -04:00
Paul Beckingham
354debcf96 Documentation
- Completed task-tutorial.5.
2010-10-16 17:44:40 -04:00
Paul Beckingham
12a90fb477 Bug
- Fixed underlining in color legend command when color is off - the dashes
  were not being used.
2010-10-16 11:06:28 -04:00
Paul Beckingham
47b5586d45 Bug
- Fixed underlining in undo command when color is off - the dashes
  were not being used.
2010-10-16 10:37:20 -04:00
Paul Beckingham
12146a6f01 Bug
- Fixed underlining in projects report when color is off - the dashes
  were not being used.
- Cleaned up formatting in main.h.
2010-10-16 10:36:28 -04:00
Paul Beckingham
e9301257f8 Documentation
- task-tutorial.5 formatting complete.  Now for the response output.
2010-10-15 23:05:10 -04:00
Paul Beckingham
bfb29998bf Documentation
- More formatting for task-tutorial.5.  Still not finished.
2010-10-15 08:55:45 -04:00
Paul Beckingham
c5427c91fc Sync
- Added Path::operator== for expanded path comparisons.  Why was
  that not already implemented?
- Added checks that the push/pull destination is not equal to
  rc.data.location.  That would be bad.
- Added comments, tweaked the wording on some messages.  Stubbed out
  confirmation of pull overwrite, while I think about it.
2010-10-15 08:46:04 -04:00
Paul Beckingham
9e5f1787d0 Bug
- Fixed erroneous unit test that considered '/a/b/x' a valid substitution,
  which is false because of the 'x'.
2010-10-15 00:50:12 -04:00
Paul Beckingham
783867c512 Sync
- Colorized the merge process.
- Added whitespace to the merge output for alignment and a less cramped
  look.
- De-tabbed.
- Changed "(*foo).method ()" to "foo->method ()" or clarity.
- Removed two tests that relied upon the (removed) "Redo" message.
2010-10-15 00:41:52 -04:00
Paul Beckingham
bb6f456e04 Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-10-14 22:03:27 -04:00
Paul Beckingham
6d653f720d Sync
- Now verifies that any potential subst is not also a valid absolute
  path.
2010-10-14 21:55:24 -04:00
Paul Beckingham
4e62d8fddc Sync
- Removed unnecessary diagnostic message.
2010-10-14 21:54:55 -04:00
Johannes Schlatow
c6bde0aaba Bug
- fixed "Database is up to date" exception in merge command,
  which led to autopush being suppressed when changes were
  made on the local branch only
2010-10-15 00:21:10 +02:00
Johannes Schlatow
d39d5af03b Uri support
- TransportCurl now supports non-anonymous ftp
2010-10-15 00:12:42 +02:00
Johannes Schlatow
36800e0a35 Documentation
- additions to task-sync.5
2010-10-15 00:10:40 +02:00
Paul Beckingham
a921ea4ed6 Samples
- Added a sample script to generate a dependencies screen shot.
2010-10-13 21:21:49 -04:00
Paul Beckingham
0159cfde2f Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-10-13 21:06:06 -04:00
Paul Beckingham
2708b37ce5 Bug
- Fixed GC bug that attempted to clean up dangling dependencies but
  actually failed to update the tasks.
2010-10-13 20:57:50 -04:00
Paul Beckingham
98861d87d6 Documentation
- More formatting of task-tutorial.5.  Not fininshed yet.
2010-10-13 08:57:27 -04:00
Paul Beckingham
8823ba5bfa Documentation
- New task-tutorial man page not fully formatted yet. but the
  content is good.
- Modified run.193 shell script to match movie.
2010-10-12 23:25:39 -04:00
Paul Beckingham
96d2acef42 Feature #499
- Relocated change to inside the Permission object, thus making the change
  smaller.
2010-10-12 23:24:48 -04:00
Federico Hernandez
0e1d12f5b1 Feature #499
- added extra line of output when doing bulk done changes.
2010-10-12 16:06:16 +02:00
Paul Beckingham
1f8ae07b8e Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-10-09 22:53:24 -04:00
Paul Beckingham
0bc7dd11a8 Movie
- Completed the program that runs through all the commands.
- Compelted the command and spoken copy.
2010-10-09 22:52:33 -04:00
Federico Hernandez
a288a19c16 Man pages
- synced date in man pages
2010-10-09 22:40:18 +02:00
Paul Beckingham
fec2af34bc Movie
- Finalized (hopefully) the movie script for 1.9.3.
2010-10-09 12:29:07 -04:00
Paul Beckingham
b609cdb8a0 Urgency
- Removed the urgency rating from the info report.  Otherwise, we
  will need to explain it, and without the corresponding new next
  report, what can we say?  It will be reenabled later.
2010-10-09 12:27:57 -04:00
Paul Beckingham
bde1e0dd9a Dependencies
- Added a new 'unblocked' report to complement the 'blocked' report.
- Updated docs.
2010-10-09 12:27:10 -04:00
Paul Beckingham
a75c018106 Report
- New report, unblocked, which is the opposite of the blocked report.
2010-10-09 12:00:24 -04:00
Paul Beckingham
70306de6bd Unit Tests - roundtrip.t
- Corrected tests to accommodate the new rule that stipulates uuids
  must always be unique.
2010-10-09 10:36:22 -04:00
Paul Beckingham
30f757ba13 Documentation
- Added first draft of task-sync.5.
- Updated other man pages to reference the new task-sync.5 page.
- Added new man page to the distribution.
2010-10-09 00:51:08 -04:00
Paul Beckingham
6af7540fe7 Bug
- Fixed a divide-by-zero bug in the project completion calculations, that
  was uncovered by sync testing.
2010-10-07 23:40:03 -04:00
Paul Beckingham
533bbedd81 Sync
- Softened the wording in an error message.
- Added WARNING commends to the Config sample.
2010-10-07 23:38:34 -04:00
Paul Beckingham
42521fea8b Sync
- Managed to cut/paste a superfluous semicolon.  Oops.
2010-10-06 23:54:15 -04:00
Paul Beckingham
74dcdd897a Sync
- Changed the wording on most error messages and diagnostics so that
  the user is not alarmed, and is somewhat guided toward a solution.
2010-10-06 23:29:45 -04:00
Paul Beckingham
4028a2fce4 Documentation
- Added (incomplete) scripts to generate more sample runs, showcasing
  features.
2010-10-06 23:28:31 -04:00
Federico Hernandez
1b5178c456 Added missing uri.t to .gitignore 2010-10-06 21:45:39 +02:00
Johannes Schlatow
1a16b3ae6b Feature #462: url support
- curl enhancements (push/pull multiple files)
- now supports push/pull to/from filesystem
2010-10-06 18:53:02 +02:00
Johannes Schlatow
042d7b40de Feature #462: url support
- added uri class for proper uri and path handling
2010-10-06 18:52:12 +02:00
Johannes Schlatow
b041e54be6 Merge command
- improved merge.autopush=ask
- fixed newline issues
- fixed: entries for new tasks got lost in undo.data
2010-10-06 12:57:14 +02:00
Federico Hernandez
5c36013ddd Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-10-06 00:40:22 +02:00
Federico Hernandez
b630138e8b Bumping version to 1.9.3.beta1 2010-10-06 00:29:13 +02:00
Federico Hernandez
9e9807a52a Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-10-06 00:25:12 +02:00
Paul Beckingham
0aa87d04da Themes
- Changed the default color.blocked color for high-color systems.
2010-10-05 18:24:48 -04:00
Paul Beckingham
cb14ed128e Bug
- Fixed bug whereby after a merge, the undo.data file had all lines
  concatenated without \n characters.
2010-10-05 18:24:01 -04:00
Paul Beckingham
6fd876b8dd Themes
- Updated themes to include new color.blocked.
2010-10-05 18:23:07 -04:00
Paul Beckingham
616e230920 Holidays
- Added missing files to makefile.
2010-10-05 18:22:21 -04:00
Federico Hernandez
a043b42373 import.yaml.t was broken for European TZs 2010-10-06 00:16:36 +02:00
Federico Hernandez
952845b1b0 Naming new holiday file in NEWS and ChangeLog 2010-10-05 22:29:45 +02:00
Federico Hernandez
0e355b45e1 Holiday file for Spain 2010-10-05 22:26:07 +02:00
Federico Hernandez
fc26eebea6 Minor corrections for German holidays 2011 2010-10-05 22:02:41 +02:00
Federico Hernandez
0c0cb7b0f5 Minor corrections for Swedish holidays 2011 2010-10-05 21:40:44 +02:00
Paul Beckingham
84b609f518 Dependencies
- Implemented dependencies in "task edit".
2010-10-05 01:34:59 -04:00
Paul Beckingham
dece0a8dca Bug #494
- Imported text was not assigned a uuid.
- Although bug #494 was fixed a month ago, it was never acknowledged in
  the issue list.  This commit corrects that, and thanks Elizabeth for
  reporting this serious issue (thanks to Elizabeth Maxson).
2010-10-05 01:12:49 -04:00
Paul Beckingham
5d4cafb7a6 Bug #493
- Not a fix for the bug, but improved task consistency checking.  The
  real fix can only be made when the Task::waiting status is abolished.
2010-10-05 00:39:22 -04:00
Paul Beckingham
9e4786e4fe Documentation
- Added explanation of the new settings.
2010-10-04 22:14:44 -04:00
Paul Beckingham
fa46fcf8ca i18n
- Added localized holiday file for NL (thanks to T. Charles Yun).
2010-10-04 18:13:25 -04:00
Paul Beckingham
59fa056c4b Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-10-04 17:46:46 -04:00
Paul Beckingham
9f567aa3c6 Holidays
- New Netherlands holiday file from T. Charles Yun.
- Modified French file.
2010-10-04 17:45:19 -04:00
Johannes Schlatow
70360cadec Bash completion
- Added filename/path completion for import
2010-10-04 02:26:53 +02:00
Johannes Schlatow
89f82847fb Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-10-04 02:20:52 +02:00
Johannes Schlatow
bf316974d9 Url support #462
- Added TransportCurl for http, https and ftp
- Added url support for import command
2010-10-04 02:20:41 +02:00
Paul Beckingham
7fdfcbacc6 Dependencies - #410
- Completed support for 'task 1 depends:2,-3' to manipulate the
  dependencies.
- Now supports rc.dependency.reminder to indicate when to nag about
  dependency chain violations, defaulting to on.
- Now supports rc.dependency.confirm to require confirmation before
  fixing dependency chains, defaulting to on.
- New source file dependency.cpp which implements a low-level API for
  determining dependency status, and assorted handlers for task state
  changes.
- Adds blocking tasks to the 'next' report.
- Added more dependency unit tests, changed the wording in a couple of
  them and numbered them for easy reference.
2010-10-03 18:52:59 -04:00
Paul Beckingham
dea7b72b70 Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-10-03 18:49:52 -04:00
Paul Beckingham
d73601c0b2 Dependencies
- Modified rules.cpp for color.blocked so that it correctly determines
  the need for coloration.
2010-10-03 18:48:42 -04:00
Johannes Schlatow
adc7992608 Bash completion
- Added hostname completion for merge, push and pull
2010-10-03 02:23:41 +02:00
Johannes Schlatow
68d5e3f296 Pull command
- Added pull command for cloning databases
2010-10-03 02:22:36 +02:00
Johannes Schlatow
0d364746c7 Merge/push command
- Added TransportRSYNC
2010-10-03 02:15:07 +02:00
Paul Beckingham
eb2cb99532 Performance
- Removed "std::endl" in cases where the autoflush is only going to
  slow things down.
2010-10-02 12:02:06 -04:00
Paul Beckingham
1d3aa891d6 Performance
- Removed "std::endl" in cases where the autoflush is only going to
  slow things down.
2010-09-30 23:44:38 -04:00
Paul Beckingham
dd86c2c875 Dependencies
- Code now in final form, but still incomplete.
2010-09-29 01:06:39 -04:00
Paul Beckingham
0388bcf259 Documentation
- Corrected the sample script that failed to wait for at least a second
  between annotations.
2010-09-28 01:02:02 -04:00
Paul Beckingham
f351bf6dec Minor Edits
- Corrected typo in tips file.
- Added explanatory comment regarding dependency chains.
2010-09-22 22:23:24 -04:00
Paul Beckingham
1e7bebb3b2 Bug - timesheet report
- The headers for the second table ('Started') were not underlined like
  those of the first table ('Completed').
2010-09-18 23:13:00 -04:00
Cory Donnelly
77815c080f Holidays
- Fixed inconsistent punctuation and used official names for a few US Federal holidays
2010-09-17 22:30:24 -04:00
Paul Beckingham
8a2e979726 Holidays
- Added UK file.
- Updated NEWS and ChangeLog.
2010-09-17 20:23:24 -04:00
Cory Donnelly
895a86903e i18n
- Missed Victoria Day
2010-09-17 12:42:10 -04:00
Cory Donnelly
3be6ef4bfd Documentation
- Added CA to list of included holiday files
2010-09-17 11:36:43 -04:00
Cory Donnelly
1639d5952a i18n
- Added Canadian holiday file
- Added Canadian holiday file to Makefile
- Fixed errors in 2011 US calendar
2010-09-17 11:31:47 -04:00
Paul Beckingham
f9f3ae720d Documentation
- Added mention of the new holiday files.
2010-09-17 00:31:07 -04:00
Paul Beckingham
34c21f5d43 Documentation
- Cleaned up ugly message.
2010-09-17 00:28:38 -04:00
Paul Beckingham
7752b37139 i18n
- Added French holiday file.
- Added new holiday files to the makefile.
2010-09-17 00:26:37 -04:00
Paul Beckingham
22bd31059d Holidays
- Added 2010/2011 US holidays.
- Added 2010/2011 German holidays, to welcome our German users.
- Added 2010/2011 Swedish holidays, but butchered it.  Fredde?
2010-09-16 22:43:34 -04:00
Paul Beckingham
ec3c1c4def Dependencies
- Added support for rc.dependency.reminder.
- Modified man page.
2010-09-16 22:09:03 -04:00
Paul Beckingham
975c2bbcb9 Dependencies
- Added dependencyGetBlocking and dependencyGetBlocked API calls, in
  the ongoing effort to find a workable API for dependencies.  The
  goal is to make the calling code as small as possible when dealing
  with dependencies.
- Corrected the algorithm for determining whether a task is blocked or
  blocking to also check that the other task is pending or waiting.
  For example:
    task add one
    task add two depends:1
    task do 1
  As the first task is completed, task 2 still depends on 1, but is
  no longer blocked due to the completed status.
- Modified the "info" report to use the modified API.
2010-09-16 21:54:18 -04:00
Paul Beckingham
8904daf9e5 Debug message
- Added debug message when a task is woken from the waiting state.
2010-09-16 21:18:42 -04:00
Paul Beckingham
afbbc87ec4 Samples
- Added more banner samples for taskwarrior.org.
2010-09-13 23:06:56 -04:00
Paul Beckingham
347dda7fa7 Documentation Update
- Corrected typo in man page.
2010-09-13 22:48:02 -04:00
Paul Beckingham
084d104c2f Samples
- Added more sample banners for taskwarrior.org.
2010-09-12 15:12:05 -04:00
Paul Beckingham
9aedaba7f2 Unit Tests
- Cleaned up message that is generated when a recurring task is past
  its until: date and all child tasks have been dismissed, as the
  parent task is deleted.
- Added unit tests recur.until.t to prove that the above is working.
2010-09-12 11:43:46 -04:00
Paul Beckingham
b1933c5d25 Themes
- Added Kathryn's new themes into the default .taskrc file template.
2010-09-10 00:51:11 -04:00
Paul Beckingham
87158f505a Bug - #489 - tags.none: is not filtering tagless tasks
- Context::autoFilter was suppressing 'tags' filter terms due to the
  +tag/-tag syntax, which we now know only augments attribute modifiers,
  and doesn't replace them.
2010-09-09 21:56:16 -04:00
Paul Beckingham
0dd71612e4 Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-09-09 20:51:11 -04:00
Paul Beckingham
73ff6ea973 Task 2.0.0 Code Salvage 2010-09-09 20:49:17 -04:00
Cory Donnelly
3b7b7b5b23 i18n
- Added a tip.
2010-09-09 15:06:42 -04:00
Paul Beckingham
7f54b89f24 Unit Tests
- Removed inadvertent binary checkin.
2010-09-07 21:00:44 -04:00
Johannes Schlatow
0930f3c5f7 Unit tests
- Added tests for Transport class
2010-09-07 15:44:50 +02:00
Paul Beckingham
04c6c11175 Tarball
- Added new themes.
2010-09-07 01:26:27 -04:00
Paul Beckingham
8076a70225 Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-09-07 01:23:46 -04:00
Paul Beckingham
e562fc8fd4 Themes
- Two new color themes (thanks to Kathryn Andersen).
2010-09-07 01:22:58 -04:00
Paul Beckingham
9d41d9046d Build System
- Added missing '-lpthread' argument to unit test makefile.
2010-09-05 11:43:15 -04:00
Paul Beckingham
9b46520ae1 Autoconf
- Added a check for pthread_create, which should trigger inclusion of
  '-lpthread' on the link command line.
2010-09-05 10:55:14 -04:00
Paul Beckingham
3d5656fb57 Unit Tests
- The lisp.t.cpp tests were written for an older and different Tree
  object.  This change brings it more up to date.
2010-09-05 09:14:36 -04:00
Paul Beckingham
f0a5c917c9 Unit Tests
- Fixed three sets of unit tests that recently broke when TDB::add
  started checking whether the uuid was really unique.  This was
  intended to prevent accidental double import, but also caused these
  tests to break because they all shared the same uuid, which is wrong.
2010-09-05 08:54:20 -04:00
Paul Beckingham
6e1a386ec8 i18n
- Added more tips.
2010-09-05 08:53:48 -04:00
Paul Beckingham
d012fc9717 Code Salvage
- Integrated some code from the (soon to be obsolete) 2.0.0 branch,
  which is general in nature and will be needed.
- And the corresponding unit tests.
2010-09-05 08:48:27 -04:00
Paul Beckingham
366c59e25d i18n
- Salvaged the tips files from the (now obsolete) 2.0.0 branch.
2010-09-04 12:29:05 -04:00
Paul Beckingham
1cc67e9895 Enhancement
- Importing the same YAML twice now generates an error.
2010-09-02 21:32:33 -04:00
Paul Beckingham
b32d731010 Demo
- Checking in demo scripts for creating the teaser banners that go
  up on the main tw page.
2010-09-02 21:22:25 -04:00
Cory Donnelly
21c3d1ab80 Unit Test - Bug #476
- Added test to wait.t for Bug #476 - User can specify due: dates that are before wait: dates
2010-09-02 09:08:28 -04:00
Paul Beckingham
ceb7a188bf Corrected ChangeLog. 2010-09-01 23:09:19 -04:00
Paul Beckingham
db9333ec64 Bug #476
- Fixed bug #476, so that task now issues a warning when a wait date falls
  after a due date (thanks to T. Charles Yun).
2010-09-01 23:08:21 -04:00
Paul Beckingham
04ddf74a07 Documentation Update
- Fixed typo in copyright.
- Added new feature to NEWS file.
- Added 'merge.autopush' as a valid configuration variable.
2010-09-01 22:39:37 -04:00
Paul Beckingham
4d46be0767 Copyright
- Fixed typo in copyright.
- Added 'merge.autopush' as a valid config variable.
2010-09-01 22:26:09 -04:00
Johannes Schlatow
2eaba55481 Merge branch '1.9.3' of tasktools.org:task into 1.9.3
Conflicts:
	src/Config.cpp
2010-09-02 01:53:25 +02:00
Johannes Schlatow
869655e818 Merge
- Added support for URIs
 - Added push command (pushes *.data to remote location)
 - Added config option: merge.autopush
2010-09-02 01:27:31 +02:00
Johannes Schlatow
d362088305 Merge
- Fixed segmentation fault if undo.data is empty
2010-09-02 01:24:58 +02:00
Johannes Schlatow
87ce13c8e0 Merge
- Added Transport classes to handle URIs like ssh://user@host:port/
2010-09-02 01:24:05 +02:00
Paul Beckingham
4139f32acf Unit Tests
- Added more unit tests to verify that @ in a tag does not interfere
  with multiple inclusions (+) and exclusions (-).
2010-08-31 23:03:12 -04:00
Paul Beckingham
d3ca5c04e3 Code Cleanup
- Improved the consistency of info output regarding recurring task
  parent and child tasks.
2010-08-31 23:02:16 -04:00
Paul Beckingham
d8913c2f15 Unit Tests
- Bug 485 refers to the fact that recurrence values are not autocompleted,
  and are stored literally.
2010-08-31 23:00:47 -04:00
Paul Beckingham
808934483f Recurrence
- Removed vestigial mask:"..." attribute from newly generated recurring
  task instances.
2010-08-31 01:30:20 -04:00
Paul Beckingham
d738f778ee Dependencies
- Restricted dependency nag message to only tasks that have dependencies.
2010-08-31 01:29:48 -04:00
Paul Beckingham
3a566460a2 Unit Tests
- Renamed bug.425.t to bug.425.x to reflect that fact that we're
  going to address this bug in 1.9.4, not 1.9.3.
2010-08-30 23:35:04 -04:00
Paul Beckingham
69ac9a4296 Bug #461 - due:today doesn't work as a filter - due.is:today does
- Fixed bug #461, in which the filter 'due:today' failed, but 'due.is:today'
  worked.  This is because while iterating over tasks, not every task has a
  due date, in which case Date::Date ("") was called, which fails.
- Moved 'wait' up to second position in the Att::type method, for efficiency.
2010-08-30 23:30:48 -04:00
Paul Beckingham
f2a5dde3a6 Themes
- Updated themes to include blank entries for the new color.tag.none
  and color.project.none rules.
2010-08-30 20:37:44 -04:00
Paul Beckingham
d85feef7ea Documentation - taskrc.5
- Corrected man page on the subject of color rule defaults and themes.
2010-08-29 14:15:49 -04:00
Paul Beckingham
4cd528661a Feature #481 - color should follow rc order
- Added feature #481, allowing for user control of the color rule order
  of precedence via the 'rule.precedence.color' configuration variable.
- Color rules now obey the rc.search.case.sensitive configuration option.
- The color.keyword.XXX color rule now applies to annotations too.
2010-08-29 13:40:53 -04:00
Paul Beckingham
c27097e286 Bug
- Fixed a precision problem with average age on the summary report.
  The problem was that average age is calculated as the sum of all
  ages, divided by the count.  The sum was already being stored as
  a double, to allow for very high values, but was being truncated
  to an int before being divided by the count.  Classic precision
  mishandling.
2010-08-28 09:37:32 -04:00
Paul Beckingham
e619f8c91d Dependencies
- Added dependency nagging to the 'start', 'done' and 'delete' commands.
2010-08-27 17:45:22 -04:00
Paul Beckingham
199114abcd Dependencies
- Improved error message when entering "task 1 dep:2; task 1 dep:2".
- Documented circularity checking.
- Stubbed dependencyChainBroken ().
- Stubbed dependencyNag ().
- Improved existing unit tests, added more.
2010-08-27 17:19:15 -04:00
Paul Beckingham
0e2c090dc5 Dependencies
- Added check for circular dependencies.
2010-08-26 22:52:57 -04:00
Paul Beckingham
58d678f927 Bug #480 - @ Symbol in context not returning
- Fixed bug #480, which didn't properly support @ characters in tags.
  The problem was that the ctype.h ispunct() function considers @,
  # and $ to be punctuation, which I don't.  An override now allows
  these characters in tags, and specificallt '+@context' style tags.
- Added unit tests.
2010-08-24 19:08:08 -04:00
Paul Beckingham
3cfcc9fb6b Bug
- The 'verbose' configuration variable was not considered valid.
2010-08-23 23:09:53 -04:00
Paul Beckingham
a1488d0504 Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-08-23 23:08:37 -04:00
Paul Beckingham
547d3bfdbb Documentation
- Updated script with feedback.
2010-08-23 23:07:38 -04:00
Cory Donnelly
7d048a8ef8 Unit Tests - wait.t
- added unit test to demonstrate wait:tomorrow report issue
2010-08-23 12:42:06 -04:00
Paul Beckingham
44fe227595 Product Name Change
- Converted all (appropriate) uses of 'task' to 'taskwarrior'.
2010-08-21 12:31:00 -04:00
Paul Beckingham
a9b18da214 Feature #478
- Added feature #478, which uses the colorization rules in the 'info'
  report.
2010-08-21 00:30:24 -04:00
Paul Beckingham
5c235ce1ef Feature #471
- Added feature #471, which makes greater use of projects by reporting
  changes to the completion percentage when it changes.
- Added unit tests.
2010-08-20 23:53:57 -04:00
Paul Beckingham
d460e604ff Bug #470 - 'task rc.color.alternate:none list' shows incorrect colors
- Fixed bug #470, which caused task to not support the color 'none'.
  Simultaneous vitapi bug fix.
2010-08-17 23:17:44 -04:00
Paul Beckingham
612c613764 Dependencies
- Improved a few of the unit tests.
- Minor progress on the support functions.
2010-08-17 21:36:58 -04:00
Paul Beckingham
d9ec233d23 Packaging
- Updated the 'update' script that helps populate the package directory
  structure for OSX packages, to include the scripts/fish directory and
  contents.
2010-08-14 22:23:20 -04:00
Mick Koch
2c055157e6 Taskwarrior tab completion for the fish shell
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2010-08-14 11:24:50 -04:00
Paul Beckingham
91d5448a5a Enhancement - Nibbler
- Added Nibbler::getQuoted with support for unescaping escaped quotes
  and for including the original quotes.
2010-08-13 00:48:05 -04:00
Paul Beckingham
80f9af08e3 Code Cleanup
- Removed unnecessary includes.
2010-08-13 00:47:23 -04:00
Paul Beckingham
63384abd14 Bug 466
- Fixed #466, which gave the wrong error message when a custom report
  was missing a direction indicator for the sort order.
- Added unit tests.
2010-08-13 00:42:36 -04:00
Paul Beckingham
c7cd2d2619 Bug #460
- Added rc.verbose that for now, just controls whether header and footer
  messages are displayed, but will ultimately control much more.
2010-08-10 22:10:01 -04:00
Paul Beckingham
d2fe093107 Unit Tests
- Fixed problem with determination of 'due today', which should have
  used Date::sameDay, but was based on old midnight dates.
2010-08-11 01:30:16 +00:00
Paul Beckingham
7c8793b146 Code Cleanup
- Fixed compiler warning on CentOS.
2010-08-11 01:29:01 +00:00
Paul Beckingham
ae56165c80 Bug
- Modified argument parsing to prevent assertions and seg faults.
- Added support for month names, with autocomplete.
- Added autocomplete for "due".
- Added unit tests to exercise all combinations, and errors.
2010-08-09 01:20:05 -04:00
Johannes Schlatow
d1abda2561 Code formatting 2010-08-09 00:44:22 +02:00
Paul Beckingham
d02eac07a9 Bug
- Fixed problem with extra blank line in the ghistory reports.
2010-08-08 18:16:36 -04:00
Paul Beckingham
2334911b34 Bug #440 - Parser fails to simultaneously subst and append
- The code wasn't even trying to apply the substitutions for the
  append and prepend commands.
2010-08-08 18:06:40 -04:00
Paul Beckingham
36c3cad5a5 Documentation
- Updated demo of aliases.
- Updated advanced filters section.
- Added import/export section.
2010-08-08 16:29:10 -04:00
Paul Beckingham
07e36e695d Bug - import
- Fixed bug that only allowed import of *text* if there was more
  than one line of it.
- Fixed some whacko formatting.
2010-08-08 16:26:40 -04:00
Paul Beckingham
1093119f40 Documentation - task-faq.5
- Added "how can I help?".
- Updated the question on regenerating a .taskrc file, because it is now
  a minimal set of settings.
- Updated the question on Cygwin color to mention mintty.
- Updated the question on building under Cygwin, referring to the README.build
  file.
2010-08-08 14:21:12 -04:00
Paul Beckingham
8789afb7da Documentation
- Added discussion of special tags.
- Referred more to the man pages for in-depth information.
2010-08-08 14:02:12 -04:00
Paul Beckingham
94bca5443a Documentation
- Added #421 'Data sync' to the ChangeLog.
2010-08-08 13:29:23 -04:00
Paul Beckingham
98042548dd Unit Tests
- All tests (I hope) now properly remove completed.data on exit, which
  should prevent certain non-deterministic tinderbox results caused by
  residual data.
2010-08-08 13:00:05 -04:00
Paul Beckingham
5b8dbd8ff1 Bug - import.yaml
- Fixed bug in import for YAML and TODO that failed to recognize that
  a task was completed or deleted, and consequently set a Task::pending
  status.
- Enhanced unit tests to verify this.
2010-08-08 11:06:58 -04:00
Paul Beckingham
41f2520094 Documentation
- Added merge command to the NEWS file.
2010-08-08 00:05:01 -04:00
Paul Beckingham
982ae87ec0 New Unused Code
- Added the outlines of the new Column code.  This is not compiled
  in 1.9.3, but will be in 1.9.4.
2010-08-07 23:55:14 -04:00
Paul Beckingham
0fe75eeedf Unit Tests
- Implemented YAML import/export roundtrip tests.
- Corrected export.yaml.t regarding headers.
- Modified export.yaml, export.csv and export.ical to clear any
  context.headers messages so they don't interfere with the output.
2010-08-07 22:38:03 -04:00
Paul Beckingham
3ae5b6ddc5 Bug #442 - "task edit" fails on Cygwin when using a Windows editor
- Made a partial fix that at least allows any editor to be launched,
  and that can then locate the file.
- Not addressed is the fact that some launchable Windows editors need
  Windows line encodings, and other are flexible.
2010-08-07 22:13:12 -04:00
Paul Beckingham
a306892509 Code Cleanup
- Removed unreachable code from Table::sort_compare.
2010-08-07 20:34:54 -04:00
Paul Beckingham
a8c8bf4671 Documentation
- Added the 'merge' command to the help output.
2010-08-07 20:14:01 -04:00
Paul Beckingham
6d5a03ac45 Documentation
- Changed 'remote' to 'second' in the merge discussion, which matches
  the term used in the paragraph.  This avoids using the loaded term
  'remote'.
2010-08-07 20:07:57 -04:00
Paul Beckingham
3bb7abf9c3 Bug - limit
- When the 'limit:N' filter was used, a confusing message was displayed,
  especially when there were fewer filtered tasks that the limit.
2010-08-07 20:05:34 -04:00
Paul Beckingham
f83cc3f39a Sorting
- Completed sort_compare routine to mimic 1.9.2, but using std::sort.
- Added blank task to the unit tests to prove the sorting is working
  (it wasn't), then fixed all.
2010-08-07 19:58:56 -04:00
Paul Beckingham
c95a55128a Documentation
- Added more to the movie script.
2010-08-07 13:34:49 -04:00
Paul Beckingham
3302a30145 Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-08-07 11:53:51 -04:00
Paul Beckingham
599a90ad58 Documentation
- Promoted Johannes to significant contributor.
2010-08-07 11:53:31 -04:00
Johannes Schlatow
5f8f8b51c4 Bash completion
- Added filename completion for the merge command
2010-08-07 17:52:46 +02:00
Johannes Schlatow
7294869d07 Merge command
* Renamed command _merge into merge
2010-08-07 17:50:02 +02:00
Johannes Schlatow
b8a3c1b565 Man pages
- Added documentation of merge commmand to task.1 and task-faq.5
2010-08-07 17:49:17 +02:00
Paul Beckingham
03c9b96955 Output Cleanup
- No point display "blocked by" and "is blocking" in the info report
  if there are no other tasks to list.
2010-08-07 00:40:45 -04:00
Paul Beckingham
80d1c03457 Unit Tests
- All tests that sleep will now announce the duration of the sleep
  beforehand.
2010-08-07 00:22:05 -04:00
Paul Beckingham
6dd4067167 Unit Tests - urgency
- Implemented unit tests for calculating urgency.
2010-08-07 00:15:46 -04:00
Paul Beckingham
2c858c6988 Feature - urgency
- Added the urgency value to the 'info' report.
2010-08-06 19:04:56 -04:00
Paul Beckingham
d8544181ce Feature - Urgency
- Implemented the urgency algorithm according to rfc31.
- Added a new '_urgency' command to test the algorithm.
2010-08-06 19:04:01 -04:00
Paul Beckingham
3ac627978c Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-08-06 19:00:40 -04:00
Paul Beckingham
fce4633de6 Bug #459 - Error when using limit:n where n < lines on screen and < results
- Fixed bug that displays 'limit' result lines when it has no need to.
2010-08-06 18:58:34 -04:00
Johannes Schlatow
f6cfa1dfa5 Merge command
- Added call of gc() before executing the merge algorithm
- Removed workaround in unit test merge.t
2010-08-06 14:58:38 +02:00
Johannes Schlatow
aa891401e4 Hooks
- Applied patch from Johannes to add missing hooks.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2010-08-04 14:39:17 -04:00
Johannes Schlatow
c640e05049 Unit tests
- Added tests for class Taskmod
- Added tests for _merge command
2010-08-04 19:04:16 +02:00
Paul Beckingham
3945ccf019 Unit tests
- color.duetoday.t now tolerates 16- and 256-color variants of 'red'.
2010-08-04 08:18:15 -04:00
Paul Beckingham
1687e85335 Dependencies
- Implemented/stubbed some of the dependency helper functions.
2010-08-04 00:55:08 -04:00
Paul Beckingham
b050d67ba9 Dependencies
- Added TDB::gc code to remove dangling dependencies.
2010-08-04 00:43:38 -04:00
Paul Beckingham
cade134f40 Unit tests
- Fixed bug in color.duetoday.t:  now that the definition of overdue
  means 'due < now', adding a task with 'due:now' instantly creates
  an overdue task, not a due task.  To create a due task, use 'due:1hr'
  or some duration which gets added to now.
2010-08-03 23:12:40 -04:00
Paul Beckingham
92ede80e4b Unit tests
- Fixed export.yaml.t because 'tail +2 file' does not work on tasktools.org.
2010-08-03 23:07:18 -04:00
Paul Beckingham
448f865cf1 Code Cleanup
- Fixed compiler warning in text.cpp.
2010-08-03 22:55:08 -04:00
Paul Beckingham
e26f29537a Documentation
- Added sections on the task shell and advanced filters.
2010-08-03 13:39:57 -04:00
Cory Donnelly
d85579d69f Documentation
- Fixed a few typos in the script for the new movie and revised tutorial.
2010-08-03 12:57:22 -04:00
Paul Beckingham
462c3e1c55 Documentation
- Updates to the script for the new movie and revised tutorial.
2010-08-03 00:05:49 -04:00
Paul Beckingham
70bf3099ee Bug
- Fixed bug in extractLine that performed std::string::length when it
  should have use the new characters function.  The problem was incorrect
  hyphenation with utf8 text in narrow fields.
2010-08-02 17:58:55 -04:00
Paul Beckingham
db27328558 Unit tests
- The dependencies.t unit test script failed to unlink completed.data,
  which polluted the subsequent test script.
- Simplified some Perl in start.t.
- Allowed for line wrapping in start.t.
2010-08-02 17:56:34 -04:00
Paul Beckingham
e090f556da Feature #244, #272, #274, #275
- Implemented export.yaml, import (yaml).
- Updated man page.
- 'export' is now an alias to 'export.yaml'.
- Added missing 'tags' attribute as an internal Att.
- Improved recognition of YAML.
- Added unit tests for export.yaml, import (yaml).
- Added missing unlink from dependencies.t
2010-08-02 17:55:23 -04:00
Paul Beckingham
f60205c704 Documentation
- Modified old task movie script.
- Added new 1.9.3 task movie script, which will form the basis of the
  new tutorial.
2010-08-02 01:16:29 -04:00
Paul Beckingham
233a6ae951 Bug
- Fixed problem with the 'undo' command not observing the rc.color or the
  rc._forcecolor settings.
2010-08-02 01:00:20 -04:00
Paul Beckingham
d890e05298 Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-08-01 13:08:00 -04:00
Paul Beckingham
2f1c582d7d Code Cleanup
- Relocated the Table::getCharLength() from Johannes to text.cpp/characters()
  because it is a general-purpose function, and will be the start of the UTF8
  conversion of all text.cpp code.
- Added unit tests for characters().
2010-08-01 13:05:53 -04:00
Cory Donnelly
cddc2d5f10 Revert "Documentation"
This reverts commit 44e7a24170. I just saw that
Fredde intentionally removed X-2 versions from the OS list in NEWS.
2010-08-01 10:11:11 -04:00
Cory Donnelly
44e7a24170 Documentation
- Added Mac OS X Tiger to NEWS
2010-08-01 10:05:16 -04:00
Cory Donnelly
471571e493 Unit Tests - UTF-8 characters in reports
- Added bug.455.t for Bug #455 - Text alignment in reports is broken when text
  contains utf8 characters
2010-08-01 09:56:41 -04:00
Johannes Schlatow
6e1aa42d1a Bug #455 - Text alignment in reports is broken when text contains utf8 characters
- Applied patch from Johannes.
- Also included extra calls to getCharLength in other parts of the code.

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2010-08-01 09:30:42 -04:00
Johannes Schlatow
3939503377 Bug #453 - Priorities are sorted inconsistently (asc vs. desc)
- Patch to correct the sorting of priorities, which had a condition
  flipped making the Table::descendingPriority consider a missing
  priority to be 'higher' than 'H'.
2010-07-31 09:03:01 -04:00
Paul Beckingham
fecdb930d4 Enhancement (related to #452)
- A task is now considered overdue if it is past the due date, not
  due before today.
2010-07-30 22:54:55 -04:00
Paul Beckingham
d0db821298 Bug 452 - Need relative date value 'now' to fully support times
- Added 'now' as a relative date.
- Modified 'overdue' report to use 'now' instead of 'today' as the
  distinction between due and overdue.
2010-07-30 22:50:20 -04:00
Paul Beckingham
1cf1e79e43 Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-07-30 22:33:08 -04:00
Cory Donnelly
69c3ba6f59 Documentation
- Comment for getDueState() updated to reflect actual return values
2010-07-30 09:47:55 -04:00
Paul Beckingham
9cab648d8a Merge branch 'sort' into 1.9.3 2010-07-29 14:50:54 -04:00
Paul Beckingham
2ef30b1183 Bug 449 - Inconsistent wait: attribute results
- Fixed bug #449, so the wait: attribute can be applied to a task at any
  time, not just on add.
- While searching for problems with the waiting status, noticed that
  importCSV doesn't appear to set any tasks to pending status.
2010-07-28 23:22:59 -04:00
Paul Beckingham
4d266412ee Unit Tests - Date
- Added unit tests for Date::operator-.
2010-07-28 19:58:32 -04:00
Paul Beckingham
e44c4ffb82 Unit Tests - Duration
- Added tests for Duration::negative.
2010-07-28 19:46:51 -04:00
Paul Beckingham
bef7b9b655 Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-07-28 17:56:43 -04:00
Paul Beckingham
209a7b8cee Unit Tests - wait
- Added unit tests to prove that the wait: attribute is working,
  which it is not.
2010-07-28 17:54:11 -04:00
Paul Beckingham
3952765de0 Bug 445 - The command 'task h' should be ambiguous, yet works
- Fixed bug #445, which caused task to not notice that the command 'h' is
  ambiguous.  This was caused by mistakenly first autoCompleting against
  a set of alias names, during canonicalization, instead of autoCompleting
  against the whole set of possible commands and aliases, then doing the
  canonicalization.  The order was reversed.
- Also populated list of all commands with alias names, so the above
  could be corrected.
2010-07-28 17:50:47 -04:00
Paul Beckingham
e886f7635b Enhancement
- When presenting lists of ambiguous command, attributes and modifiers
  to the user, it is now a sorted list.
2010-07-28 17:47:58 -04:00
Federico Hernandez
76fa56d3fb Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-07-28 18:08:44 +02:00
Federico Hernandez
903b5b34d4 Feature #446 - start of {week, month, year}
- Bug fix for som and soy.
- Added synonyms soww and eoww for sow and eow.
- Added start/end of calendar week: socw and eocw.
2010-07-28 18:07:09 +02:00
Cory Donnelly
189fdaf9ac Bug #444 - Interactive undo locks pending.data and doesn't give it up
- TDB::undo () now exits gracefully when a user declines to proceed with
  the undo, ensuring context.tdb.unlock () is called
2010-07-28 10:18:34 -04:00
Federico Hernandez
96bd3ff8db Feature #446 - start of {week, month, year}
- Added sow (depending on rc.weekstart), som and soy as possible
  dates (similar to eow, eom and eoy).
2010-07-28 00:15:26 +02:00
Federico Hernandez
a6fbb40a12 Added GPL and copyright information to color themes and holiday files 2010-07-27 23:17:26 +02:00
Cory Donnelly
78edb61c4c Bug #444 - Interactive undo locks pending.data and doesn't give it up
- flock() now uses LOCK_EX | LOCK_NB so it won't wait for the file lock
2010-07-26 14:02:37 -04:00
Paul Beckingham
3846954c42 Feature #43 - Relative dates: +3d, -2w
- Added feature #43, now task supports relative dates like '3wks',
  '1 month', '4d' for 'due', 'wait' and 'until' dates.  Essentially
  durations are now allowed where dates are expected, and are treated
  as relative to the current date/time.
2010-07-25 23:14:52 -04:00
Paul Beckingham
7468a2d81d Feature #43 - relative dates: +3d, -2w
- Now dates (due, wait, limit) are parsed first as Durations, and on
  error reparsed as Date.  When a Duration is found instead of a Date,
  the Duration is added to the current date/time.
2010-07-25 22:11:25 -04:00
Paul Beckingham
123a46eef9 Enhancement/Fixes - Duration
- Reorganized Duration::valid and Duration::parse to use the same list
  of supported constructs.
- Added missing copy constructor.
- Added missing ctor initializer list.
- Corrected handling of negative time_t values.
- Added support for more duration formats.
- Corrected autoComplete use.
- Added Duration::negative.
- Corrected unit test descriptions.
2010-07-25 22:05:02 -04:00
Paul Beckingham
cb4fe4fffb Enhancement - Date::operator-
- Implemented Date::operator-, to allow subtractions of Durations.
2010-07-25 22:02:41 -04:00
Paul Beckingham
031c4c484d Instrumentation
- Added timing measurement for table sorting.
- Added timing measurement for table composition.
2010-07-25 15:02:35 -04:00
Paul Beckingham
43266a825f Feature #391 - legendary enhancement
- Added feature #391, now the 'task color legend' command will show
  samples of all the defined colors and color rules from your .taskrc
  and theme.
2010-07-25 14:50:20 -04:00
Paul Beckingham
7dc55d831d Code Reorganization
- Beginning to stub out the dependency helper functions in the new
  file dependency.cpp.
2010-07-24 06:38:08 -07:00
Paul Beckingham
6f67c0093d Code Cleanup
- Made the Color::blend code structure match that in vitapi, for
  easier comparison.
2010-07-23 22:47:51 -07:00
Paul Beckingham
eeeff7d389 Bug
- Fixed problem with command line configuration overrides that had no
  values.
2010-07-23 22:33:02 -07:00
Paul Beckingham
5cecc3d772 Enhancement - color.alternate
- The 'stats' and 'info' reports now obey color.alternate.
2010-07-23 22:31:38 -07:00
Paul Beckingham
a3f1aba6f0 Code Cleanup
- Reorganized sort_compare code to make certain shortcuts occur
  earlier in processing.
2010-07-23 20:57:36 -07:00
Paul Beckingham
30cb5fa4f4 Bug #441 - A colon messes up text replacement with ///
- Fixed bug #441, which misparsed '/a/a:/' as an attribute, rather than a
  substitution (thanks to Michelle Crane).
2010-07-23 17:30:14 -07:00
Paul Beckingham
e8c0c8861b Unit tests - bug.441.t
- Added unit test for bug 441, where /one/one:/ fails to substitute,
  and instead clobbers the whole description.
2010-07-23 17:16:54 -07:00
Cory Donnelly
9906174547 Unit Tests - dependencies.t
- More progress made on dependencies.t, getting to the point where
additional unit tests will need to wait until features exist.
2010-07-23 13:43:30 -04:00
Cory Donnelly
fb2d08581e Unit Tests - dependencies.t
- Added more unit tests to dependencies.t, still more still to go
2010-07-22 21:28:28 -04:00
Paul Beckingham
feeafb9b23 Enhancement - special tags
- Implemented the 'nocal' special tag.
2010-07-22 16:17:28 -07:00
Paul Beckingham
a345541ff7 Documentation - special tags
- Special tags are now documented in task.1.
- The 'tags' command now highlights special tags.
2010-07-22 16:02:12 -07:00
Federico Hernandez
9a973770d8 Missing include under Linux 2010-07-22 13:10:40 +02:00
Paul Beckingham
e0c60346dc Unit Tests - countdown
- Made tests a bit more generic and less sensitive to time of day.
2010-07-21 23:37:27 -07:00
Paul Beckingham
faa96dbf6b Enhancement - sort
- Tweaks to the comparison function.
2010-07-21 23:36:54 -07:00
Paul Beckingham
f9e78142be Merge branch 'sort' into 1.9.3 2010-07-21 15:33:24 -07:00
Paul Beckingham
da9985058b Enhancement - Sorting
- Replaced the hand-written combsort with std::sort.
- Added exhaustive set of unit tests to cover the single and double
  column sort orders.
2010-07-21 15:30:37 -07:00
Cory Donnelly
bdbe4ba78a Unit Tests
- Added many unit tests to dependencies.t, with many more still to go
2010-07-21 12:17:49 -04:00
Cory Donnelly
3ec8d2fece Bug #433 - Missing punctuation in some command output
- Missed something in Filter.cpp
2010-07-21 11:55:56 -04:00
Cory Donnelly
1528fdc7e1 Unit Tests
- Created unit test bug.425.x for unaddressed Bug #425 - Parser preventing
  editing of an existing task depending on description
2010-07-20 21:35:28 -04:00
Paul Beckingham
e34f278e1d Documentation
- Commented the code to suggest that T and Z should never be used in
  Date::Date.
2010-07-20 17:36:24 -07:00
Paul Beckingham
455be5b8b7 Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-07-20 17:21:57 -07:00
Paul Beckingham
9df86d9aab Documentation Update
- Removed deprecated fields.
2010-07-20 17:21:40 -07:00
Cory Donnelly
0e9ce4c85f Bug #440 - Parser recognizes an attempt to simultaneously subst and append, but doesn't do it
- Added unit test
2010-07-20 20:17:31 -04:00
Paul Beckingham
4ca69b013f Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-07-20 16:57:59 -07:00
Paul Beckingham
1a34a29b7a Bug #438 - Reports sorting by end_time, start_time, and entry_time are ordered incorrectly
- Fixed bug #438, correcting the sorting of the entry_time, start_time
  and end_time columns (thanks to Michelle Crane).
- Reordered ChangeLog so that bugs, features are in sequence.  Don't know
  why I did this.  Some inner compulsion.
- Deprecated silly start_time, end_time and entry_time columns, which are
  now (and were) superseded by start, end and entry columns with time formats.
- Config.cpp now detects use of these deprecated fields and complains to the
  show command.
- Date.cpp now uses the variable 'input' instead of 'mdy', which was confusing
  and implied that it contained a date without a time.
- Obsoleted and removed Date::toStringWithTime, which ignored requested formats.
- When checking for an epoch, Date::isEpoch just looked for strings of more
  than 8 digits.  The additional restriction of less than or equal to 10 digits
  was added.  This was breaking unit tests using the dateformat YMDHNS, which is
  reasonable.
- Removed the obsolete field format hooks format-entry_time, format-start_time
  and format-end_time
- Removed the obsolete field format hook unit tests hook.format-entry_time.t,
  hook.format-start_time.t and hook.format-end_time.t.
- Removed use of deprecated field in hook.format-countdown_compact.t.
- Added missing shortcut comparisons in Table::sort that was causing an
  unnecessary full parse of dates even if they were identical as strings.
- Coded entry_time as a synonym for entry.  Ditto for start_time and end_time.
- Marked the new synonyms as deprecated.
- Added bug.438.t unit test.
- Added deprecated fields to the NEWS file.
2010-07-20 16:57:41 -07:00
Cory Donnelly
1bb21f9982 Unit Tests
- Added a unit test for sorting reports by countdown value
  (there was some confusion about proper behaviour, see
  Bug #432.)
2010-07-20 19:37:44 -04:00
Paul Beckingham
a57326a026 Documentation
- Modified description of journal.time entry.
2010-07-20 14:45:04 -07:00
Paul Beckingham
3f6358fea0 Feature - import.yaml
- Not fully implemented (need research on libyaml first), but the
  file type recognition and stubs are there.
2010-07-20 14:30:07 -07:00
Federico Hernandez
81a5461d92 ChangeLog editing 2010-07-20 22:19:03 +02:00
Federico Hernandez
af3f60cfeb Bug #439 - dateformat.annotation not considered
- dateformat.annotation were not considered when doing annotation=sparse
2010-07-20 22:11:42 +02:00
Federico Hernandez
445dc415d0 Fixed missing color.blocked in the recognized string 2010-07-20 22:06:37 +02:00
Federico Hernandez
afb4d64a0c Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-07-20 20:21:51 +02:00
Federico Hernandez
942f665d71 Feature #189 - annotation of start and stop times
- task can now record the invocation of the 'start' and 'stop'
  command as an annotation by setting journal.time to yes.
- the annoatation test can be customized with
  journal.time.start.annoation and
  journal.time.stop.annotation
2010-07-20 20:19:34 +02:00
Cory Donnelly
51c357af2e Unit Tests
- Added unit tests for history.monthly and history.annual
2010-07-20 12:17:50 -04:00
Federico Hernandez
5ac0bd3800 Feature #428 - detailed listing of new commands
Prepared the new structur to add new or changed commands and configuration
options to the NEWS files.
2010-07-20 15:24:35 +02:00
Federico Hernandez
bdaf403a1c ChangeLog entry for prev. fixed bug #427 2010-07-20 14:08:34 +02:00
Federico Hernandez
1b2cfd427c Bug #427 - Task edit can't correctly parse annotations with times
Task edit was assuming a space as separator between the date and
text field of an annotation. As the dateformat for an annotation
now can be more flexible incl. time and spaces, task couldn't
parse the annotation lines of task edit correctly anymore. The bug
was fixed by introducing a new separator ' --' between the date
and text parts of an annotation.
2010-07-20 13:59:58 +02:00
Cory Donnelly
9a50c0b963 Bug #434 - Task shouldn't prevent users from marking as done tasks with status:waiting
- Added unit test
2010-07-19 13:22:55 -04:00
Cory Donnelly
6864ff91cd Bug #434 - Task shouldn't prevent users from marking as done tasks with status:waiting
- Users can now complete tasks with status:waiting in addition to status:pending
2010-07-19 10:57:20 -04:00
Cory Donnelly
d6a2c1872c Bug #433 - Missing punctuation in some command output
- Made punctuation consistent throughout the code and addressed a few
    broken tests.
2010-07-18 19:06:07 -04:00
Cory Donnelly
c43eb31374 Feature #431 - The log command doesn't provide any output on success
- Now states that the task was logged.
2010-07-17 19:36:42 -04:00
Paul Beckingham
89eb8371ba Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-07-17 19:35:40 -04:00
Cory Donnelly
3dca0283f4 Feature #431
- Added feedback after running the 'log' command, because task was
  otherwise silent.
2010-07-17 19:35:21 -04:00
Cory Donnelly
5776d608c0 Enhancement
- Added feedback after running the 'log' command, because task was
  otherwise silent.
2010-07-17 19:33:19 -04:00
Paul Beckingham
63e42c6607 Feature 429 - The default 'all' report should exclude tasks with status:deleted
- Added feature #429, which improves the 'all' report to exclude deleted
  tasks, provide a new sort order and include the 'end' column.
2010-07-16 22:39:07 -04:00
Paul Beckingham
9385492114 Unit Tests
- Corrected expected number of unit tests so that the tinderbox is not
  thrown off, because tests aren't failing.
2010-07-15 08:39:11 -04:00
Paul Beckingham
beef03af13 Unit Tests
- Fixed several tests that were broken, and generated diagnostic output,
  but didn't fail in the traditional sense.  This was found by looking
  through the tinderbox data file.
2010-07-14 09:13:44 -04:00
Paul Beckingham
10a8916eb1 Merge branch '1.9.3' of tasktools.org:task into 1.9.3 2010-07-12 20:30:53 -04:00
Paul Beckingham
45bb3dd583 Unit Tests
- Added unit tests for the color.blocked rule.
- Added unit tests for dependencies (placeholder).
- Added unit tests for the format-depends hook.
2010-07-12 20:28:44 -04:00
Paul Beckingham
64344d0328 Dependencies - blocked
- The blocked report now shows the dependencies as well as restricting
  the tasks to those that are blocked.
2010-07-12 20:27:46 -04:00
Paul Beckingham
bcd2a79a54 Dependencies - next
- The next report now longer shows blocked tasks.
2010-07-12 20:27:04 -04:00
Paul Beckingham
7233fcd05b Dependencies - add
- Allowed dependencies to be specified when adding a new task.
2010-07-12 20:25:33 -04:00
Paul Beckingham
54cf7e5471 Dependencies - info
- Added blocked and blocking tasks to the info report.
2010-07-12 20:24:29 -04:00
Paul Beckingham
19b803312f Dependencies - TDB
- Allowed const access to the internal lists of the TDB object.
2010-07-12 20:22:51 -04:00
Paul Beckingham
27a56d15db Dependencies - log
- Prevent completed tasks, via the log command, from being marked
  as dependent.
2010-07-12 20:21:46 -04:00
Paul Beckingham
98cef98111 Dependencies - depend on self
- Prevented tasks from being specified as depending on themselves.
2010-07-12 20:19:02 -04:00
Paul Beckingham
d87e7c6934 Performance
- Switched Hooks to a hash lookup, instead of linearly comparison.
2010-07-12 20:17:59 -04:00
Paul Beckingham
fdf7d2203f Dependencies
- Added new color.blocked to all themes (placeholders for now).
- Added new color rule for applying color.blocked.
2010-07-12 20:14:07 -04:00
Federico Hernandez
f814435939 Unit tests
- changed run_all script to bash
2010-07-12 21:52:47 +02:00
Federico Hernandez
5af7e3a7b7 Typo in packaging readme for OS X 2010-07-12 21:52:14 +02:00
Paul Beckingham
8c3fd40c1b Report - blocked
- Added new 'blocked' report.
2010-07-12 02:19:57 -04:00
Paul Beckingham
e9c8bcff63 Enhancement - default .taskrc
- Now relies completely on default colors, but include the seven
  themes, all commented out, for ready use.
2010-07-12 02:10:01 -04:00
Paul Beckingham
7a23b67020 Enhancement
- Minimized the default .taskrc file that is generated.  It now relies
  heavily on default values, but supplies data.location, and includes
  the default theme.
- Updated taskrc.5 man page to include new depends column.
2010-07-12 02:06:46 -04:00
Paul Beckingham
93e862b367 Dependencies
- Added 'depends' to Config.cpp.
- Added formatting for the 'depends' column.
- Added notes to t.t.cpp regarding missing tests.
2010-07-12 01:45:53 -04:00
Paul Beckingham
90c40dbebf Dependencies
- Added 'depends' as a valid report column.
- Added 'depends' to the 'long' report.
- Updated hook.format*t unit tests to accommodate new long report.
- Added new join () function that handles std::vector<int>.
- Updated text.t unit tests.
2010-07-12 01:42:52 -04:00
Paul Beckingham
7e5c0eb9a5 Dependencies
- Supports new "depends" attribute.
- Supports "task <id> depends:1,2".
- Supports "task <id> depends:-1,-2".
- Supports id <--> uuid mapping in TDB.
2010-07-12 01:05:25 -04:00
Paul Beckingham
c6f6d405e3 Documentation
- #423 was a feature, not a bug.
2010-07-11 14:05:50 -04:00
Paul Beckingham
b29f9969e5 Bug - #423
- The report.foo.filter line in a report definition accepts attributes
  as filters, but not rc overrides.
- Added unit tests.
2010-07-11 14:03:15 -04:00
Paul Beckingham
254b418708 Code Cleanup
- The "next" command had two control paths.  One was via custom reports
  (correct) and the other was a residual handler (obsolete), which is
  now removed.  This also simplifies a handleCustomReport/runCustomReport
  issue.
2010-07-11 12:50:41 -04:00
Paul Beckingham
307027a1d9 Documentation Update
- Improved taskrc man page with examples for creating a sort filter.
- Corrected the list of reportable fields.  It was badly out of date.
2010-07-11 11:44:07 -04:00
Paul Beckingham
2b48ae8e38 Enhancement - export.yaml
- Preliminary export.yaml support.  No unit tests yet, and no decision
  on including this feature.  It may be that libyaml is the right choice,
  as an optional dependency.
2010-07-11 10:22:36 -04:00
Federico Hernandez
8b02d2bdeb Bumped version number to 1.9.3 2010-07-11 00:24:36 +02:00
Federico Hernandez
28dd5152d7 RE-Added SHA1 of tagged release commit
- wrongly added sha1sum of release tar ball to ChangeLog
  instead of sha1 of the tagged release commit
2010-07-11 00:12:15 +02:00
Federico Hernandez
9ed05fc1c8 Added SHA1 of tagged release commit 2010-07-11 00:10:34 +02:00
Federico Hernandez
a13989f18e Release date for 1.9.2 2010-07-10 23:14:06 +02:00
Paul Beckingham
97bb07a617 Documentation
- Removed erroneous entry
2010-07-10 12:39:52 -04:00
Paul Beckingham
01d0d036a4 Documentation
- Synched the wiki FAQ with the man page.
2010-07-10 12:30:01 -04:00
Paul Beckingham
7de5b22f1c Unit Tests
- Corrected misspelling of config variable.
2010-07-09 01:32:00 -04:00
Paul Beckingham
cb635c0d6f Unit Tests
- Changed cal.t calendar colors to avoid false assumptions.
2010-07-09 01:01:16 -04:00
Paul Beckingham
111e9f893d Documentation Update
- Updated the OSX package creation instructions document, after feedback
  from Kevin.
2010-07-09 00:42:33 -04:00
Paul Beckingham
f96d2e6609 Documentation update
- Added Kevin Owens to the AUTHORS file for invaluable help with
  creating OSX 10.5 packages, and debugging the instructions
  document.
2010-07-09 00:38:41 -04:00
Paul Beckingham
8a930653a4 Unit Tests
- Correcting more unit tests that made color assumptions that are no
  longer valid.
2010-07-09 00:30:47 -04:00
Paul Beckingham
bc46888bcd Unit Tests
- Added null values for color.tagged and color.alternate, for the
  tests it affects.
2010-07-08 22:26:41 -04:00
Paul Beckingham
67fd7e2faa Themes
- Final tweak.
2010-07-08 22:03:45 -04:00
Paul Beckingham
9f96ab28ce Merge branch '1.9.2' of tasktools.org:task into 1.9.2 2010-07-08 21:13:28 -04:00
Paul Beckingham
a66f59a7e1 Packaging
- PDF of OSX packaging instructions.
2010-07-08 21:13:04 -04:00
Paul Beckingham
24e1522e32 Packaging
- First minor tweaks.
2010-07-08 19:47:10 -04:00
Paul Beckingham
f5bc5dfd0f Packaging
- Finished first version of the OSX packaging document.
2010-07-08 19:13:31 -04:00
Paul Beckingham
82702bffdc Unit Tests
- Modified unit tests for rc.t, in the hopes that task for OSX 10.5
  can pass them.
2010-07-08 01:55:17 -04:00
Paul Beckingham
1a05224816 Portability
- Fixed warning on Solaris.
2010-07-08 01:44:15 -04:00
Paul Beckingham
e4f7bda430 Packaging
- Updated 'update' script.
- Began README that provides instructions on how to create packages for
  OSX.  Unfinished.
2010-07-08 01:43:30 -04:00
Paul Beckingham
38ca8c8fb5 Themes
- Last tweaking.
2010-07-07 09:12:53 -04:00
Paul Beckingham
ad9c89b9fb Performance
- Found some inefficient string initialization in Table.cpp, report.cpp,
  and in switching over to using more std::string capabilities, realized
  a 25% boost in Table::render speed.
- Eliminated Table::suppressWS.
- Eliminated Table::clean.
2010-07-06 01:37:35 -04:00
Paul Beckingham
25db00e97d Unit Tests
- Added specific calendar colors to the rc file used in cal.t, so that
  the colors in the tests (which are in the old theme) match the new
  default theme.
2010-07-05 23:36:08 -04:00
Paul Beckingham
b3f3261190 Themes
- Contrast adjustments.
2010-07-05 18:16:31 -04:00
Paul Beckingham
6efd3299fe Default Theme
- Linux now uses dark-256 equivalent, when a new .taskrc file is created.
2010-07-05 17:56:44 -04:00
Paul Beckingham
844c980bce Enhancement - strippedLength
- Added a text method that calculates a string length but does not
  include color control codes.
2010-07-05 15:55:50 -04:00
Paul Beckingham
ce99cbf2d4 Themes - default
- Task now defaults to *the equivalent of* the dark-16.theme.
2010-07-05 15:01:15 -04:00
Paul Beckingham
5fb349ca9b Code Cleanup
- Minor formatting change.
2010-07-05 13:33:42 -04:00
Paul Beckingham
00041dce41 Themes
- Included first set of 7 theme files, for light and dark backgrounds,
  with 16- and 256-color support.
- Modified man pages accordingly.
2010-07-05 13:32:11 -04:00
Paul Beckingham
d6631767b5 Themes
- Assorted low-effort theme files, as examples.  More coming.
2010-07-05 12:16:51 -04:00
Paul Beckingham
0c4f83377a RC
- Put a 'calendar.holidays=sparse' entry inside the holidays files,
  which serves to enable the holiday feature if a holiday file is
  included.
2010-07-04 18:04:18 -04:00
Paul Beckingham
a45d6b459f Unit Tests - bug.summary.t
- Fixed tests that expected a newly-added task to have an age of '-',
  but on Cygwin, with the lower performance, the age is actually '3 secs'.
2010-07-04 13:26:19 -04:00
Paul Beckingham
d77a790f21 Portability
- Added stdlib.h to rx.cpp, which is needed by Cygwin at least.
2010-07-04 10:50:34 -04:00
Johannes Schlatow
5ecbd85020 Bug - merge command resulted in an error if
completed/deleted tasks were overwritten with pending tasks
2010-07-04 01:19:44 +02:00
Johannes Schlatow
6428b026ba Missing include 2010-07-04 01:08:21 +02:00
Paul Beckingham
716ed39695 Missing include
- The usual problem, this time <algorithm>.
2010-07-03 18:44:29 -04:00
Paul Beckingham
c650edd4f9 Support #383 - odd feedback when changing an existing, recurring project
- Fixed wording (support issue #383) when modifying a recurring task (thanks
  to T. Charles Yun).
2010-07-03 17:57:31 -04:00
Paul Beckingham
484c31f0e4 Documentation
- Modified the wording of the output of the undo command.
2010-07-03 17:54:02 -04:00
Paul Beckingham
d00b57ec65 Feature - #156
+ Task now supports both a 'side' and 'diff' style of undo.
+ Undo now observes the 'color.undo.before' and 'color.undo.after'
  configuration variables.
2010-07-03 15:50:46 -04:00
Paul Beckingham
724e9b8113 Color
- The ghistory graph bars can now be colored with 'color.history.add',
  'color.history.done' and 'color.history.delete' configuration variables.
2010-07-03 12:51:36 -04:00
Paul Beckingham
356519e58f Bug #420 - Missing ID from help output
- Applied patch from Ed Neville to correct help output for the
  append and prepend commands.
2010-07-03 09:27:11 -04:00
Paul Beckingham
213a7a519b Feature - merge command
- Merged patch that implements the first milestone of the merge
  feature.  Thanks to Johannes Schlatow.
2010-07-01 20:22:33 -04:00
Paul Beckingham
d7c446f010 Bug
- Fixed bug that miscalculated terminal width for the ghistory.annual
  report.
2010-07-01 01:06:43 -04:00
Paul Beckingham
14508742f1 Code Cleanup
- Removed obsolete code from Table object.
2010-06-28 17:46:27 -04:00
Paul Beckingham
6ea6c79375 Bug
- Fixed bug that prevented 'task list priority.above:L' from working.
- Added unit tests.
2010-06-28 17:45:42 -04:00
Paul Beckingham
426eac97aa Feature - sorting by age, age_compact
- Now supports correct sorting of the age and age_compact fields.
2010-06-27 19:31:08 -04:00
Paul Beckingham
7f99d39d19 Unit Tests - timesheet report
- Added unit tests to make sure the timesheet report lists the correct
  tasks in the correct section and week.
2010-06-27 18:43:40 -04:00
Paul Beckingham
623f8d869e Portability
- Added missing includes.
2010-06-27 17:06:51 -04:00
Paul Beckingham
b2eb9c3265 Bug #405 - after upgrade, "due:" filter not working for tasks created in version 1.9.0
- Fixed bug #405, which incorrectly compared dates on tasks created by
  versions earlier than 1.9.1 to those created by 1.9.1 or later (thanks to
  Ivo Jimenez).
2010-06-27 16:55:29 -04:00
Paul Beckingham
688233b3a4 Documentation Update
- Fixed formatting problem in taskrc.5, where the indentation was
  not consistent.
2010-06-27 15:40:59 -04:00
Paul Beckingham
12cdee9809 Documentation Update
- Changed the line "New features in 1.9" to "New features in 1.9.2",
  otherwise the list looks a little light.
2010-06-27 15:20:41 -04:00
Paul Beckingham
66fcdfe01f Bug #312 - Task sorting
- Fixed bug #132, which failed to set a sort order so that active tasks sort
  higher than inactive tasks, all things being equal.
- All reports that include the 'active' column now sort on that column.
2010-06-27 15:14:27 -04:00
Paul Beckingham
0f7cf1cd52 Bug #418 - due.before:eow not working
- Fixed bug #418, which caused the attribute modifier 'due.before' to fail
  if the year was not included in the dateformat (thanks to Michelle Crane).
- Bug was probably fixed when #416 was fixed, but now has it's own unit tests.
2010-06-27 14:25:03 -04:00
Paul Beckingham
007c194c8c Bug #417 - Sorting by countdown_compact not working
- Added support for more varied durations when specifying recurring tasks,
  such as '3 mths' or '24 hrs'.
- Fixed bug #417, which caused sorting on countdown fields to be wrong
  (thanks to Michell Crane).
- Durations are now based on seconds, rather than days, and can accept/parse
  negative durations.
2010-06-27 13:44:04 -04:00
Paul Beckingham
ff18241f6f Unit Tests
- Enhanced 'run_all' so that by default, it does not run the benchmark.t
  script, but does if the 'slow' argument is specified.
2010-06-27 00:59:28 -04:00
Paul Beckingham
9477660e02 Enhancement - Duration
- Relocated util/formatSeconds and util/formatSecondsCompact into
  Duration object.
- Relocated unit tests.
- Upgraded Duration object to use seconds, not days.
- Enhanced Duration so that it can now parse '4 mins' etc.
2010-06-27 00:57:52 -04:00
Paul Beckingham
1f8f4c631d Enhancement - Duration
- Durations can now parse '3 wks', '1 wk', '1w', and similar for yrs,
  qtrs, mths, wks, days.
- Added unit tests.
2010-06-26 21:47:52 -04:00
Paul Beckingham
05fd9278a6 Code Cleaup
- Reimplemented Nibbler::getQuoted.
- Reimplemented Nibbler::skipN.
2010-06-26 20:14:45 -04:00
Paul Beckingham
f1a0b842dc Nibbler upgrade
- Merged Nibbler code from Tegelsten.
- Updated unit tests.
2010-06-26 19:55:17 -04:00
Paul Beckingham
cd59f7f510 Code Cleanup
- Corrected comments.
- Eliminated redundant code, at the expense of Task::parse call.
2010-06-26 17:33:58 -04:00
Paul Beckingham
6a1a1cd70f Added regular expression support
- Added rx.{h,cpp} from Tegelsten.
- Added unit tests.
2010-06-26 16:54:31 -04:00
Paul Beckingham
3c2987f53f Bug #416 - Sorting by due date with dateformat MD wrong
- Fixed bug #416, which caused sorting on a date to fail if the year was not
  included in the dateformat (thanks to Michelle Crane).
- Added unit tests.
2010-06-25 09:09:20 -04:00
Paul Beckingham
2ab1df77df Merge branch '1.9.2' of tasktools.org:task into 1.9.2 2010-06-23 17:22:21 -04:00
Paul Beckingham
abf31a6b35 Performance Enhancements
- Nibbler: Now locally stores input length rather than repeatedly calling
  std::string::length.
- Nibbler: Makes greater use of std::string::find_first_not_of, instead of
  looping.
- TDB: No longer applies empty filters to lists - just copies the lists.
- TDB: Now caches data when reading completed.data.
- TDB: During loadPending and loadCompleted, makes fewer copies of the data.
- TDB: In commit, breaks out of search loops after finding the right data.
- TDB: In gc, only writes out minimal pending or completed data, instead of
       all data, all the time.
- TDB: No longer reads completed.data in gc, and simply appends completed
       and deleted tasks to it.
2010-06-23 17:21:56 -04:00
Federico Hernandez
b6d320d311 Adjusted denotate
- partly matched strings are now also detected in the middle of the
  annotation and not only from the beginning.
2010-06-21 22:56:05 +02:00
Paul Beckingham
cd648270ab New alias
- Added export.vcalendar as an alias to export.ical.  They are the same.
2010-06-20 23:17:56 -04:00
Paul Beckingham
2161ffac2c Documentation update
- Added RFC references to ChangeLog, NEWS.
- Replaced the answer in the FAQ regarding annotation deletion.
2010-06-20 23:15:04 -04:00
Paul Beckingham
4f4a32b405 Enhancement
- Swapped std::string::find for find (from text.cpp) to allow
  configurable case sensitivity.
2010-06-20 20:22:39 -04:00
Paul Beckingham
99bce308e6 Bug #414 - Tags filtering not working with unicode characters
- Fixed bug #414, that caused filtering on the presence or absence of tags
  containing Unicode characters to fail (thanks to Michal Josífko).
+ + Fixed bug #414, that caused filtering on the presence or absence of tags
+   containing Unicode characters to fail (thanks to Michal Josífko).

 ------ old releases ------------------------------
2010-06-20 20:10:20 -04:00
Paul Beckingham
916b8641b3 Feature #415
- Added feature #415, which supports displaying just a single page of tasks,
  by specifying either 'limit:page' to a command, or 'report.xxx.limit:page'
  in a report specification (thanks to T. Charles Yun).
- Modified the 'next' report to only display a page, by default.
2010-06-20 17:32:11 -04:00
Paul Beckingham
2f85941d37 Typo
- Removed residual conflict marker.
2010-06-20 16:03:00 -04:00
Federico Hernandez
f3f4ae15eb Merge branch 'denotate' into 1.9.2 2010-06-20 21:03:36 +02:00
Federico Hernandez
5e53226eb8 Feature #408 - Allow deletion of annotations.
- Added new denotate command
- Added unit tests in denotate.t
- Change task.1 man page
2010-06-20 20:58:46 +02:00
Paul Beckingham
2c7552222a Feature #412
- Allows the 'projects' and 'tags' commands to be list all used
  projects/tags, not just the ones used in current pending tasks.
  Controlled by the 'list.all.projects' and 'list.all.tags' configuration
  variables (thanks to Dirk Deimeke).
- Added unit tests.
- Updated man pages.
2010-06-20 13:06:24 -04:00
Paul Beckingham
8572080677 Documentation
- With Charles permission, lifted an excellent description of task from
  a forum message to include in the main man page.  Thanks to T. Charles
  Yun.
2010-06-20 12:22:37 -04:00
Paul Beckingham
ba87499eca FF4
- Removed encodings for ',' -> '&comma;', ''' -> '&squot;', and
  ':' -> '&colon'.
- Retained decodings to provide backward compatibility.
2010-06-20 00:35:09 -04:00
Paul Beckingham
fbe24b3fda Unit Tests
- Added a vramsteg progress bar, which is only used if it is found
  in /usr/local/bin.
2010-06-20 00:31:55 -04:00
Paul Beckingham
5e55166617 Merge branch '1.9.2' of tasktools.org:task into 1.9.2 2010-06-15 08:31:08 -04:00
Paul Beckingham
bcd5524563 Bug #411 - projects command only lists those in use by pending tasks
- Fixed bug in man page that doesn't properly state the above (thanks
  to Dirk Deimeke).
2010-06-15 08:30:15 -04:00
Paul Beckingham
bb19361956 Feature #298 - Configurable recurring task count
- Added new recurrence.limit value (default 1) to control the number of
  future pending tasks generated from a recurring parent task.
- Added unit tests.
- Updated taskrc man page.
2010-06-13 12:45:41 -04:00
Paul Beckingham
78d092c588 Merge branch '1.9.2' of tasktools.org:task into 1.9.2 2010-06-11 20:21:58 -04:00
Paul Beckingham
3da3d3f99d Documentation
- Added FAQ about deleting an annotation.
2010-06-11 20:21:03 -04:00
Paul Beckingham
e2b240fd06 Minor doc edit
- Just to prove push is working.
2010-06-11 18:26:07 -04:00
Federico Hernandez
ee6ab69023 Removed X-2 versions from OS list in NEWS 2010-06-12 00:07:22 +02:00
Federico Hernandez
74e13670d0 Added msg to 'task show' when no config variables are matched 2010-06-08 23:13:38 +02:00
Federico Hernandez
d37c798dbc Enhancement - #407 show command
- finalized the implementation
- a searchstring can now be supplied to limit the display
  of configuration settings
2010-06-08 22:38:35 +02:00
Paul Beckingham
c93db168f3 Typo in comment in config file. 2010-06-08 08:29:57 -04:00
Federico Hernandez
52c029d4d9 Marked place in code with TODO for completion of enhancement #407.
(which was called #307 wrongly in commit 51e5a183)
2010-06-08 10:05:27 +02:00
Federico Hernandez
c9360ad9c4 Minor syntax error in task.1 2010-06-07 23:41:57 +02:00
Federico Hernandez
51e5a18384 Enhancement - #307 show command
- introduced new show command to display configuration settings
- config command is used to just set config values
- modified documentation
- modified some unit tests calling 'task config' to 'task show'
2010-06-07 23:35:58 +02:00
Federico Hernandez
f1368d6ac6 Added missing config variables to the big recognized string 2010-06-04 01:03:21 +02:00
Federico Hernandez
70e6f4f9f6 Enhancement - #390 timestamps in annotations
- added new dateformat for annotations
- documented prev. added format modifiers H, N and S
2010-06-04 00:57:42 +02:00
Federico Hernandez
2bfd220714 Missing include for Ubuntu. 2010-06-03 14:30:13 +02:00
Federico Hernandez
3214c1f02a Added information on bug fix #211 to ChangLog file. 2010-06-03 07:16:07 +02:00
Federico Hernandez
297f48a07c Bug Fix #211 - it was unclear which commands modify a task description
- rearranged commands on man page.
- new subsection for the "modifying" commands.
2010-06-03 06:57:33 +02:00
Paul Beckingham
ea067acb52 Enhancement - Hooks
- Implement task api calls for debug, header and footnote messages.
- Added unit tests.
2010-05-31 20:08:25 -04:00
Paul Beckingham
8a70b78d71 Unit Tests - cmd.t
- Fixed test of whether "export" is a read-only command.  There are now
  two export commands.
2010-05-31 16:45:21 -04:00
Paul Beckingham
e368043fb8 Enhancement - #363 export.ical
- Added feature #363 supporting iCalendar export via the 'export.ical'
  command.
- Updated documentation.
- Removed unnecessary localization of canonical command names.
2010-05-31 16:05:51 -04:00
Paul Beckingham
3ef6aa9f8e Enhancement - Date::toISO
- Added ISO date format support (19980119T070000Z) to Date class, for use
  in export.ical.
- Added unit test.
2010-05-31 13:18:41 -04:00
Paul Beckingham
8cd8c4753b Bug fix - #406
- Fixed bug #406 so that task now includes command aliases in the _commands
  helper command used by shell completion scripts.
2010-05-31 11:40:42 -04:00
Paul Beckingham
24085e0960 Enhancement - consistency checks
- Reintroduced disabled (no idea why) checks that ensure that shadow
  files weren't set up to clobber authoritative task files.
2010-05-30 17:03:42 -04:00
Paul Beckingham
d92e80e289 Enhancement - #36, #37
- Added features #36 and #37, providing annual versions of the 'history'
  and 'ghistory' command as 'history.annual' and 'ghistory.annual'.
- Uses new canonical names history.monthly, history.annual, ghistory.monthly
  and ghistory.annual, with aliases providing original history and ghistory
  commands.
- Updated man pages.
2010-05-30 17:01:38 -04:00
Paul Beckingham
fcbc8a2ee2 Enhancement - #326
- Added feature #326, allowing tasks to be added in the completed state,
  by using the 'log' command in place of 'add' (thanks to Cory Donnelly).
- Added log command to task.1 man page.
- Added log command to task-tutorial.5 man page.
- Added log command to help text.
- Added log command unit tests.
2010-05-30 15:20:12 -04:00
Paul Beckingham
336a4dea01 Bug Fix - Problem with #320
- The new auto-info command interfered with task modification.  Should
  have run all the unit tests before committing that change.
- Added auto-info command to the help text.
2010-05-30 15:03:58 -04:00
Paul Beckingham
67ffd07312 Enhancement - #320
- Added feature #320, so the command "task 123" is interpreted as an
  implicit "task info 123" command (thanks to John Florian).
- Modified task man page.
- Added unit tests.
- Updated supported platform lists with F13 and Ubuntu 10.04.
2010-05-30 13:20:39 -04:00
Federico Hernandez
b2ad305f23 Bumped version number to 1.9.2 2010-05-23 21:38:27 +02:00
Federico Hernandez
fa34f47f8a Packaging for ubuntu and fedora
- Updated packaging details for 1.9.1
2010-05-23 21:29:44 +02:00
Federico Hernandez
9a47e2b748 Added SHA1 of tagged release commit 2010-05-23 21:24:31 +02:00
Paul Beckingham
60d6cd62c8 Packaging for OSX
- Updated packaging details for 1.9.1
2010-05-23 11:03:56 -04:00
Federico Hernandez
60a99725b8 Release date for 1.9.1 2010-05-23 00:03:53 +02:00
Federico Hernandez
635c6432d4 Release date for 1.9.1 2010-05-23 00:03:05 +02:00
Paul Beckingham
eb1304ec41 Unit Tests - fix
- Fixed incorrect regex in hook format unit tests.  Note that this
  doesn't show up in the tinderbox, because that version of task is
  not built with Lua support.
2010-05-22 14:02:33 -04:00
Paul Beckingham
a5b57ec2ac Bug Fix - #395
- When a recurrence period is added to a pending task, the status should
  change from pending to recurring, and a mask attribute should be added.
  The lack of those changes meant that "task 1 recur:1w" did not do what
  was expected.  Thanks to T. Charles Yun.
2010-05-22 13:50:20 -04:00
Federico Hernandez
783225cd70 Typo fixes in ChangeLog 2010-05-13 21:19:18 +02:00
Paul Beckingham
804b6a8cdb Bug Fix - #401
- Fixed bug that ignored the search.case.sensitive configuration
  setting when filtering on project names (thank to John Florian).
2010-05-12 23:13:15 -04:00
Paul Beckingham
a31e9a5a3c Bug Fix - #404
- Refixed #404 that got lost in a recent merge.
2010-05-11 23:52:12 -04:00
Federico Hernandez
8553811889 Automatic computation of easter and related holidays for the calendar 2010-05-11 00:01:17 +02:00
Federico Hernandez
68ae9173ae Added documentation for 'include' to taskrc.5 2010-05-10 23:15:46 +02:00
Federico Hernandez
72763f2a2b Bug Fix
- wrong regexp in cal.t when matching '$month $year'
2010-05-10 21:59:10 +02:00
Paul Beckingham
89267846ca Bug Fix - #404 Compile error on current archlinux
- Applied patch sent by Johannes Schlatow to fix build on Arch Linux.
2010-05-09 18:30:12 -04:00
Paul Beckingham
38d82f6564 Bug Fix
- Deleting a task no longer clobbers any recorded end date (thanks to
  Seneca Cunningham).
2010-04-25 00:57:50 -04:00
Paul Beckingham
ac431ac5c9 Enhancement
- Applied patch from Cory Donnelly to provide default current date to the
  edit command, for new annotations.
2010-04-12 18:19:35 -04:00
Paul Beckingham
fa7ea5cad5 Holidays
- Removed Christmas Eve, which is not really a holiday.
2010-04-12 18:17:24 -04:00
Paul Beckingham
17069843d9 Documentation Update
- Added example of using DeMorgan's theorem when constructing multi-term filters
  to task-faq.5 (thanks to Rich Mintz).
2010-04-12 18:16:59 -04:00
Paul Beckingham
d6251142a2 Unit Tests
- Fixed unit tests that broke because the unit test script took more
  than one second to run.  Ordinarily is a test script does this:

    $ task add foo
    $ task list

  Then the age of the task is listed as '-', which means under one
  second.  But if the test does this:

    $ task add foo
    $ sleep 1
    $ task list

  Then the age is listed as '1 sec'.  Sometimes, as in these tests,
  the host may be just slow enough that the test script expects '-',
  but gets '1 sec'.
2010-04-04 10:00:01 -04:00
Paul Beckingham
a3a941fd92 Documentation
- Correct task-faq.5 so that the sequence \033 shows up properly when
  rendered by 'man', rather than 033.
2010-03-28 23:59:34 -04:00
Paul Beckingham
b6e9b84c80 Portability
- Applied patch from Emil Sköldberg.

Replace 'test ... == ...' with 'test ... = ...',
since [quoted from pkgsrc error message]:

The "test" command, as well as the "[" command, are not required to know
the "==" operator. Only a few implementations like bash and some
versions of ksh support it.

When you run "test foo == foo" on a platform that does not support the
"==" operator, the result will be "false" instead of "true". This can
lead to unexpected behavior.
2010-03-25 17:36:43 -04:00
Paul Beckingham
2791578410 Summary Report
- Made the summary bar colors configurable.
2010-03-25 17:33:43 -04:00
Federico Hernandez
d3628c04db Made easter algorithm static in Date 2010-03-23 02:51:31 +01:00
Federico Hernandez
10450963cb Eeaster algorithm 2010-03-23 02:13:35 +01:00
Paul Beckingham
fa8c33da45 Merge branch '1.9.1' of tasktools.org:task into 1.9.1
Conflicts:
	src/tests/record.t.cpp
2010-03-22 20:35:36 -04:00
Paul Beckingham
e8942d11ee Documentation Update
- Fixed typo.
2010-03-22 20:32:12 -04:00
Paul Beckingham
078e612de0 Unit Tests
- Test claimed to call Record::get_ulong, but was calling Record::get_int.
2010-03-22 20:31:37 -04:00
Federico Hernandez
70da455f1a From: Paul Beckingham <paul@beckingham.net>
Date: Sun, 28 Feb 2010 12:10:06 -0500
Subject: [PATCH] Enhancement - time support in the Date object.

- Added ability to parse and display time, using:
    h - single digit hour
    H - double digit hour
    N - double digit minutes
    S - double digit seconds
- Added a request for mktime() to automatically determine whether
  summer time should be considered.
- Added Date::Date (m, d, y, hr, mi, se) constructor.
- Added Date::sameHour comparison method.
- Added unit tests.
2010-03-22 23:56:45 +01:00
Paul Beckingham
e5f7e18d56 Enhancement - Hooks
- Implemented API calls: task_get_due, task_get_end, task_get_entry,
  task_get_start, task_get_until and task_get_wait.
- Implemented unit tests for API calls.
- Implemented new Record::get_ulong method.
- Implemented unit tests for get_ulong.
2010-03-01 20:53:44 -05:00
Paul Beckingham
98ebe8b7cc Build - with_lua
- Added code to dynamically run different configure scripts depending
  on the OS.
2010-03-01 18:17:14 -05:00
Paul Beckingham
6304ca7c1f Unit Tests - run_all
- Added better formatting of the results.
- Added a count of the skipped tests.
2010-03-01 18:16:29 -05:00
Paul Beckingham
f6ff18e31d Enhancement - Hooks
- Added many more format hooks.
- Added unit tests for all added hooks.
- Added unit tests for format-countdown and format-countdown_compact.
2010-03-01 18:14:06 -05:00
Paul Beckingham
dbf8def7db Unit Tests - record.t
- Cast to size_t to use a (pseudo) appropriate UnitTest::is method.
2010-02-14 12:58:59 -05:00
Paul Beckingham
df8eb7d5ef Unit Tests - record.t
- Fixed bug in unit tests that claimed to be calling Record::get_ulong,
  but was calling Record::get_int instead.  Silly error.
2010-03-14 11:23:15 -04:00
Federico Hernandez
485734e107 Removed space between minus and number in the countdown 2010-03-06 00:19:42 +01:00
Federico Hernandez
f4dc5c3674 Removed space between minus and number in the countdown 2010-03-05 23:47:01 +01:00
Paul Beckingham
95e420bb15 Build - Lua
- Modified the with_lua script to include Ubuntu 9.10 details.
2010-02-14 12:41:56 -05:00
Paul Beckingham
409c6ee9b9 Enhancement - .taskrc timestamp
- Added a "created by ..." entry with timestamp inside the generated
  .taskrc file.
2010-02-28 11:16:35 -05:00
Paul Beckingham
fa195a3cb2 Unit Tests - grid
- Corrected mix of signed and unsigned ints which confuse certain
  combinations of GCC and OS.
2010-02-23 20:38:59 -05:00
Paul Beckingham
cda959a658 Bug Fix - #382
- Changed from testing the ID to testing the sequence size.
2010-02-23 18:07:05 -05:00
Federico Hernandez
a5d8ef524e Bug Fix - #382 task annotate doesn't complain when a task id is omitted
- added error msg when annotating without a task id
2010-02-23 22:50:59 +01:00
Paul Beckingham
cb1b1510a9 Copyright
- Bumped year to 2010.
2010-02-23 01:06:45 -05:00
Paul Beckingham
3f2c68377c Merge branch 'unit-tests' into 1.9.1 2010-02-23 01:05:57 -05:00
Paul Beckingham
846d9bfd83 Merge branch 'config-highlight' into 1.9.1 2010-02-23 01:02:44 -05:00
Paul Beckingham
eac6c3fca9 Merge branch 'lua-test' into 1.9.1 2010-02-23 01:00:08 -05:00
Federico Hernandez
d082a6baad Bumped version number to 1.9.1 2010-02-23 00:21:56 +01:00
Federico Hernandez
251f8e5704 Added SHA1 of tagged release commit 2010-02-23 00:15:41 +01:00
Paul Beckingham
0282e2be28 Packaging - OSX
- Updated packaging files.
2010-02-22 16:12:17 -05:00
Federico Hernandez
dd758f8b33 Release 1.9.0
- Bumped version number to 1.9.0
- Added release date to ChangeLog
- Included Debian in NEWS
2010-02-22 09:46:01 +01:00
Paul Beckingham
8229a96252 Unit Tests - grid
- Added unit tests for Grid object.
2010-02-21 13:32:14 -05:00
John Florian
adf07a9af0 Enhancement - improved vim highlighting of .taskrc
- Added a few more new keywords to bring up to date with current feature set:
    + active.indicator
    + tag.indicator
    + recurrence.indicator
    + color.due.today
    + color.calendar.due.today
2010-02-20 14:21:29 -05:00
Paul Beckingham
be62157308 Documentation Update
- Improved wording in some of the FAQ entries.
2010-02-20 09:05:37 -05:00
Paul Beckingham
061639a370 Bug Fix - #380 Configuration values can no longer be commented out
- Added an explanatory comment to reinforce what is said in the taskrc.5
  man page, about how to deal with defaults, overrides and blanks.
2010-02-17 18:15:24 -05:00
Paul Beckingham
ad7abec3d7 Unit Tests - next.t
- Tests no longer assume that a set of added tasks will show an age
  of /-/, and now uses /(:?-|\d secs?)/.
2010-02-16 07:38:15 -05:00
Paul Beckingham
c34aeba5a4 Enhancement - config error highlights
- Configuration variables that are unrecognized are now highlighted
  in color, as well as being listed out.
2010-02-16 00:16:51 -05:00
Paul Beckingham
816f0533be Unit Tests - Lua
- Added -llua to src/tests/Makefile, to improve the quality of test results.
2010-02-16 00:05:19 -05:00
Paul Beckingham
e923282181 Portability - Haiku
- Added build notes for Haiku, requiring a 'setgcc gcc4' command.
- Modified directory code to accomodate Haiku's struct dirent
  anomalies (same as Solaris).
2010-02-15 23:55:03 -05:00
Paul Beckingham
6554e4d0f4 Packaging
- Latest changes for beta3 package on OSX.
2010-02-15 22:41:06 -05:00
Federico Hernandez
eb65dd42e4 Changes for beta3 2010-02-16 00:09:11 +01:00
Paul Beckingham
d917215417 Merge branch '1.9.0' of tasktools.org:task into 1.9.0 2010-02-15 11:12:30 -05:00
Paul Beckingham
69f2669bee Documentation Update
- Now includes a README.build file that helps troubleshoot problems
  with configure and make.
2010-02-15 11:08:40 -05:00
Federico Hernandez
dfc35f3744 Missing doc for color.due.today and countdown 2010-02-14 23:25:01 +01:00
Federico Hernandez
56dee6975e Fixed failing cal.t unit test due to color blending 2010-02-14 22:11:48 +01:00
Paul Beckingham
9b80017323 Portability - Solaris
- Added include of auto.h to allow #ifdef SOLARIS to work.
- Put #ifdef around glob arguments that aren't supported on Solaris.
- Fixed uninitialized variable that only gcc on Solaris spotted.
2010-02-12 20:58:56 -05:00
Paul Beckingham
75666c56cc Portability - Solaris
- Added a SOLARIS workaround for the lack of de_type member in struct dirent
  that other OSes have.
2010-02-12 01:35:20 -05:00
Paul Beckingham
0a3ee9f0a7 Portability
- Removed obsolete COLOR_* definitions from i18n.h that conflict on Cygwin.
2010-02-12 00:39:07 -05:00
Paul Beckingham
67546f8163 Configuration
- Allows rc.tag.indicator to replace the default + indicator.
- Allows rc.active.indicator to replace the default * indicator.
- Allows rc.recurrence.indicator to replace the default R indicator.
2010-02-11 23:50:55 -05:00
Paul Beckingham
22d99806d0 Build System - with_lua
- Added Cygwin 1.5, 1.7 commands.
2010-02-11 23:34:04 -05:00
Federico Hernandez
883e264319 2 new report columns
- countdown and countdown_compact
2010-02-12 03:01:03 +01:00
Federico Hernandez
e80769794e Added color blending to cal report 2010-02-12 01:15:19 +01:00
Federico Hernandez
4adfec4482 color.due.today and color.calendar.due.today
- tasks due on the current day ("today") can now be colorized with
  their own color.
- this is for reports and the calendar
2010-02-12 00:21:52 +01:00
Paul Beckingham
adb72ef023 Merge branch '1.9.0' of tasktools.org:task into 1.9.0 2010-02-10 23:45:26 -05:00
Paul Beckingham
69e0893c61 Build System
- Modified configure.ac to allow inclusion/exclusion of both ncurses
  and Lua.
- Also allows specification of include and lib directories for ncurses
  and Lua separately.
- This addresses a recent problem with Cygwin 1.7, where the most recent
  patches relocated ncurses from /usr/include to /usr/include/ncurses,
  and consequently broke task's default configuration, which was not
  very clever.
2010-02-10 18:16:46 -05:00
Federico Hernandez
10318fd19e Added Alexander to the AUTHORS file (as he has uploaded task into Debian) 2010-02-09 21:19:20 +01:00
Paul Beckingham
756200676d Packaging
- Modified task.pmdoc for 1.9.0
- Added README.txt and COPYING.txt files for installer to update script.
2010-02-08 22:48:50 -05:00
Paul Beckingham
73d8fb96cb Packaging
- Create 'update' script to handle the population of the tree used to
  create OSX packages.
- Cleaned out the old tree, because it can now be recreated at will.
2010-02-08 22:36:49 -05:00
Federico Hernandez
e9cbedd042 Fixing lintian warning when building deb package.
A man page row should not start with .taskrc as it is mis-interpreted
as groff macro.
2010-02-09 00:37:43 +01:00
Federico Hernandez
b22869f9ef Bumped version number to 1.9.0.beta2 2010-02-08 20:59:20 +01:00
Paul Beckingham
1a02cacc53 Enhancement - Hooks
- Implemented a few hooks.
- Implemented several Lua API calls.
- Unit tests for all hooks and API calls.
2010-02-07 00:22:02 -05:00
Paul Beckingham
cb952329d3 Documentation Update
- Added latest movie script.
2010-02-06 17:09:47 -05:00
Paul Beckingham
579ebe6130 Bug Fix - #372 Color blending/mapping broken
- Corrected problem in unit test that expected the wrong result.
- Fixed Color::Color (const std::string&) so that the foreground and
  background are now considered two different colors, are upgraded
  separately, if necessary, and then blended.  The problem affected
  all instances of "<256-color> on <16-color>".  Hooray for unit
  tests.
2010-02-06 16:59:22 -05:00
Paul Beckingham
89ae64c5fb Unit Tests - color
- Oddly, there were no unit tests for the Color object.  Now there are
  1,033.
- Three of these tests fail, which justifies adding them in the first place.
2010-02-06 15:40:44 -05:00
Paul Beckingham
ad9f318e10 Documentation Update
- Added task-color to the list of man pages referenced in several places.
2010-02-06 15:40:06 -05:00
Paul Beckingham
0e411cd646 Documentation Update
- Changed the default .taskrc file to have the color rules listed
  in their precedence order, along with a comment to that effect
  (thanks to John Florian)
2010-02-06 12:58:09 -05:00
Paul Beckingham
2b2795077b Bug Fix - #371 color.due clobbered by color.alternate
- Fixed bug #371 which caused task to mis-apply certain color rules, like
  color.alternate, which was (a) not applied first, and (b) not blended
  with the other color rules (thanks to Richard Querin).
2010-02-06 12:23:46 -05:00
Paul Beckingham
58910b07ef Unit Tests - hook.*.t
- Some hook tests were using the _version command, and assuming the
  version was \d.\d+.\d+, whereas it was '1.9.0.beta1'.
2010-02-05 18:40:05 -05:00
Paul Beckingham
5567b04277 Bug Fix - #370
- Task was preventing removal of due date from any task that had a due date,
  which is wrong.  It should be any task with a recur: value and a due date
  (thanks to John Florian).
2010-02-05 18:34:12 -05:00
Paul Beckingham
73d6e05c0e Bug Fix - #369 task config color.alternate does not take multiple args
- Fixed bug that meant these commands would not work:
    $ task config name 'one two three'
    $ task config name one two three
  (thanks to Richard Querin).
2010-02-05 18:22:36 -05:00
John Florian
0642c37c04 Documentation Update
- Indicate how to disable a color rule for which there is a built-in default.
- Added description for the new color.alternate configuration setting.
2010-02-03 21:17:30 -05:00
Paul Beckingham
45b66cd785 Merge branch '1.9.0' of tasktools.org:task into 1.9.0 2010-02-03 19:21:04 -05:00
Paul Beckingham
ed7c3fad57 Enhancement - Hooks
- Added more format hooks.
2010-02-03 19:20:45 -05:00
Paul Beckingham
fa37e002f0 Enhancement - Color
- Improved the labelling of colors in the color report.
2010-02-03 19:18:10 -05:00
Federico Hernandez
f99cd158dd Bumping to 1.9.0.beta1 2010-02-04 00:06:52 +01:00
John Florian
a790958daa Fix - vim syntax errors for taskrc
- calendar.details.report missing expected final '.'
- dateformat.holiday and dateformat.report not handled
- Updated header wasn't updated
2010-02-03 13:36:20 -05:00
John Florian
3341f74374 Enhancement - improved vim highlighting of .taskrc
- Added many new keywords to bring up to date with current feature set.
- Fixed incorrect highlighting of 'due' in report definitions.
2010-02-02 20:52:38 -05:00
Federico Hernandez
1505743fbf Merge branch 'master' into 1.9.0
Conflicts:
	package-config/osx/local/share/doc/task-1.8.5/COPYING
	package-config/osx/local/share/doc/task-1.8.5/README
2010-02-02 00:12:42 +01:00
Paul Beckingham
625ad3d7cf Merge branch '1.9.0' of tasktools.org:task into 1.9.0 2010-01-31 23:32:43 -05:00
Paul Beckingham
f351e17a63 Enhancement - Hooks
- Implemented all command hooks.
- Implemented several field hooks.
- Implemented several task hooks.
- Reorganized event validation code.
- Finalized Hooks -> API::call* mechanism.
- Implemented several hook unit tests.
- Corrected unit tests that didn't specify rc.hooks=on.
- Corrected builds that include Lua.
2010-01-31 23:29:22 -05:00
Federico Hernandez
c1360506c9 Note on task-tutorial 2010-01-31 23:33:36 +01:00
Paul Beckingham
50f27e0952 Merge branch 'special_tags' into 1.9.0
Conflicts:
	ChangeLog
	src/recur.cpp

- Implemented unit tests for the +nonag and +nocolor special tags.
2010-01-31 12:17:55 -05:00
Paul Beckingham
dd423d315b Enhancement - Hooks
- Implemented lots of command hooks.
2010-01-30 23:39:51 -05:00
Paul Beckingham
78c7408380 Build
- Added new theme files to the dist.
- Added new holiday files to the dist.
2010-01-30 21:16:47 -05:00
Paul Beckingham
d09a079199 Enhancement - Hooks
- Implemented a master switch rc.hooks=off that can shut off all
  hooks.  Seems like a good idea.
- Added support for 'hooks' and 'hook.*' as valid configuration
  entries.
2010-01-30 17:43:33 -05:00
Paul Beckingham
ea8b4beede Documentation Update
- Updated the taskrc.5 man page to match 1.9.0 functionality.
- Removed obsolete colorizeMessage code.
2010-01-30 16:08:42 -05:00
Paul Beckingham
30e8b03038 Enhancements - Hooks
- The config command now reports missing or unreadable hook scripts.
2010-01-30 13:34:25 -05:00
Paul Beckingham
79050c29d7 Enhancement - Hooks
- Added timing information for event trigger calls.
2010-01-30 13:25:25 -05:00
Paul Beckingham
98f4e22950 Enhancement - Hooks
- Started to make the 'with_lua' script multi-platform.
2010-01-30 12:53:53 -05:00
Paul Beckingham
47f5a45e47 Bug Fix - #368 Recur until date in task info table displays epoch seconds
- Fixed bug.
- Added unit tests to prevent recurrence.
2010-01-28 09:53:26 -05:00
Paul Beckingham
c37f36510a Documentation Update
- Added a couple of good questions to the task-faq man page.  One is
  a discussion of the ID number resequencing, which really should have
  been addressed in this way years ago.
2010-01-27 23:58:18 -05:00
Paul Beckingham
c65cb536cc Documentation Update
- Added description of the new search.case.sensitive configuration
  setting.
2010-01-27 23:36:44 -05:00
Paul Beckingham
4a8b356867 Documentation update - script-hooks.txt
- Included the script for the hooks movie.
2010-01-27 22:56:41 -05:00
Paul Beckingham
ea2d57edd3 Enhancements - Hooks
- Make the hooks unit tests pass if Lua support is not included.
  We don't like yellow in the tinderbox.
2010-01-27 22:54:40 -05:00
Paul Beckingham
585cbdfcac Merge branch 'hooks' into 1.9.0
Conflicts:
	src/command.cpp
	src/report.cpp
2010-01-27 22:46:20 -05:00
Paul Beckingham
572a833a51 Merge branch '1.9.0' of tasktools.org:task into 1.9.0 2010-01-27 16:53:41 -05:00
Paul Beckingham
b1700f3cf6 Enhancement - caseless compare
- Fixed bug detecting multiple failed negative attribute matches.
2010-01-27 16:52:54 -05:00
Paul Beckingham
4f1183a358 Enhancement - caseless compare
- Fixed bug in text.cpp:find that failed to locate a substring if it occurred
  at the end of the string.
2010-01-27 16:28:57 -05:00
Federico Hernandez
180d4ece77 Spelling... 2010-01-27 18:42:16 +01:00
Paul Beckingham
0c5a71b02f Enhancement - caseless substitution
- Substitutions "task <id> /from/to/" now obey the rc.search.case.sensitive
  setting.
2010-01-27 12:26:06 -05:00
Paul Beckingham
9cab749016 Enhancement - caseless find
- Fixed bug that didn't properly consider the starting offset in find.
2010-01-27 10:38:38 -05:00
Paul Beckingham
06ecef76d3 Enhancement - caseless find
- Added support for a starting offset.
2010-01-27 09:50:10 -05:00
Paul Beckingham
2dfe144236 Enhancement - caseless string compare, find
- Switched the sense of the Boolean parameter to match a more natural
  name in the .taskrc file.
2010-01-27 09:33:26 -05:00
Paul Beckingham
3e5ea8cb6c Enhancement - Caseless string compare, find
- Merged compare and find functions in from metatask.
- Merged unit tests in from metatask.
2010-01-27 09:12:06 -05:00
Federico Hernandez
56edf73d93 Wrong Pingstdagen in holidays-SE.rc 2010-01-25 22:51:34 +01:00
Federico Hernandez
2b63f781e9 Edited ChangeLog according to changes in 401f1b6496 2010-01-25 01:14:49 +01:00
Federico Hernandez
ccb6327131 Merge branch '1.9.0' of tasktools.org:task into 1.9.0 2010-01-25 01:09:43 +01:00
Federico Hernandez
401f1b6496 Holidays and dates
- improved dateformat handling now defaulting to YMD set via
  dateformat.holiday variable
- fixed missing sorting in holiday table output when running
  calendar.holidays=full
- renamed reportdateformat to dateformat.report
- added config file checking for calendar.holidays and calendar.details
- added 2 holiday files for SE and US (watertown, MA)
2010-01-25 01:06:15 +01:00
Paul Beckingham
48bf9d9f85 Bug Fix - #299 Can't use multiple project.hasnt:foo
- Fixed bug that prevented a filter from containing multiple references
  to the same attribute (thanks for John Florian).
- Added unit tests to verify.
2010-01-24 18:40:04 -05:00
Paul Beckingham
cc82823c47 Documentation Update - task-color.5
- Added the new task-color man page to the makefile, so it gets installed
  properly.
- Added the new man page in the ChangeLog file.
2010-01-24 17:48:49 -05:00
Paul Beckingham
383962173e Bug Fix - #360 Huh? "You cannot remove the recurrence from a recurring task. "
- The logic for detecting changes to a recurring task was wrong.
- Added unit tests for this bug.
2010-01-24 17:35:37 -05:00
Paul Beckingham
c8d208b9be Enhancement - Hooks
- Implemented pre-info-command, post-info-command hook.
2010-01-23 13:57:38 -05:00
Paul Beckingham
d6daa336ca Enhancement - Hooks
- Implemented pre-delete, post-delete events.
- Implemented pre-delete-command, post-delete-command events.
2010-01-23 13:43:50 -05:00
Paul Beckingham
b02374c3f5 Enhancement - Hooks
- Implemented pre-completed, post-completed events.
- Added debug info for event triggers.
- Removed support for pre-file-unlock, post-file-unlock, as they are
  called from TDB::~TDB in Context::~Context, which is after Hooks::~Hooks,
  which means segfault.
2010-01-23 13:12:49 -05:00
Paul Beckingham
03f7e0686f Enhancement - Hooks
- Implemented API::callTaskHook.
- Implemented Hook object inside Hooks.cpp, not Hooks.h.
- Implemented Hooks.setTaskId to provide context for task hooks.
- Implemented pre-tag, post-tag, pre-detag, post-detag
  events.
- Implemented pre-file-lock, post-file-lock, pre-file-unlock, post-file-unlock
  events.
2010-01-23 12:47:48 -05:00
Paul Beckingham
545013e839 Enhancement - config command
- Added validation of rc.annotations and rc.default.priority to the config
  command.
2010-01-23 00:12:34 -05:00
Federico Hernandez
4025488cf8 Updated ChangeLog and NEWS 2010-01-22 01:57:01 +01:00
Federico Hernandez
4ce2a1d071 Merge branch '1.9.0' of tasktools.org:task into helg 2010-01-22 01:45:33 +01:00
Federico Hernandez
a7244a999e Holidays
- added displaying of holidays in 'task cal'
  via calendar.holidays
- the legend in the calendar can now be turned off
- weeknumbers in the calendar can now be color-coded
2010-01-22 01:42:32 +01:00
Paul Beckingham
5b2cde4e30 Documentation - task-color.5
- Added new color tutorial man page.
2010-01-20 20:45:17 -05:00
Paul Beckingham
21d5607af2 Unit Tests - post-start, pre-exit
- Implemented unit tests for the post-start and pre-exit hooks.
2010-01-19 23:24:24 -05:00
Paul Beckingham
1cd6d4c7e7 Enhancement - Hooks
- Implemented pre-debug, post-debug.
- Implemented pre-header, post-header.
- Implemented pre-output, post-output.
- Implemented pre-footnote, post-footnote.
- Implemented pre-gc, post-gc.
- Implemented pre-undo, post-undo.
- Implemented pre-add-command, post-add-command.
2010-01-19 23:01:52 -05:00
Paul Beckingham
8540cab0a6 Enhancement - hooks
- Improved diagnostics of C++ side of the Lua API.
2010-01-19 22:19:40 -05:00
Federico Hernandez
e3c28f3fb3 Include statement for Linux 2010-01-20 00:31:41 +01:00
Paul Beckingham
f6f84aaf42 Tweak - default.command
- Trims whitespace off the default command that is reported via Context::header.
2010-01-19 18:04:47 -05:00
Paul Beckingham
b927d95d58 Merge branch '1.9.0' of tasktools.org:task into 1.9.0 2010-01-19 17:53:53 -05:00
Paul Beckingham
dd5623be65 Unit Tests
- Fixed tests that were broken when the config defaults changed.
2010-01-19 17:53:17 -05:00
Paul Beckingham
78063c4df7 Enhancement - Hooks
- Multiple hooks for the same event are now triggered, in the sequence
  they are found in .taskrc
- Program hooks can now cause task to exit.
2010-01-18 20:19:51 -05:00
Federico Hernandez
ab86490b37 Clean up annotation details
- changed variable name from annotation.details to annotations
- added report.X.annotations
- changed values from 2, 1, 0 to full, sparse, none
- made reportdateformat available in timesheet
2010-01-19 00:46:25 +01:00
Paul Beckingham
69cae7731f Enhancement - Hooks
- First fully functioning Lua hooks.  Woohoo.
2010-01-18 18:03:31 -05:00
Paul Beckingham
eeefc8a992 Color
- Removed coloring of only the due date, which is operating outside of
  the colorization rules.
- Removed commented out code.
2010-01-18 00:53:01 -05:00
Paul Beckingham
77e98c8c03 Enhancement - Hooks
- Improved the conditional compilation.
2010-01-17 23:41:02 -05:00
Federico Hernandez
fccd0d6c96 Report date format
Added report.X.dateformat which gives each report the possibility
to have a custom format for the due dates.
2010-01-18 03:45:49 +01:00
Federico Hernandez
4f70969306 Modification of the confirmation dialog for task config name value 2010-01-17 21:30:16 +01:00
Paul Beckingham
57e94585e8 Enhancement - Hooks
- Added Lua copyright notice to the version command.
- Added Lua copyright details to API.cpp, which is the only file that
  interacts with Lua.
- Added hook-type detection.
- Added a hook-type calling mechanism in Hooks.
- Implemented the post-start and pre-exit event triggers.
- Context::initialize now calls Hooks::initialize, which in turn calls
  API::initialize.  We have liftoff!
2010-01-17 14:24:40 -05:00
Paul Beckingham
c66d6b0500 Enhancement - Hooks
- Added bare bones autoconf changes to support Lua.
- Added API class from metatask.git.
- Added skeleton Hooks class.
- Added 'with_lua' helper script.
2010-01-17 01:12:28 -05:00
Paul Beckingham
31055360dc Merge branch '1.9.0' into hooks 2010-01-17 00:35:08 -05:00
Paul Beckingham
229a3d309c Feature - #296 Setting configuration variables in .taskrc
- Now supports 'task config name value', 'task config name ""', and
  'task config name' to directly modify the .taskrc file.
- Updated man page.
- Added unit tests.
- Modified existing config command to also display configuration
  variables that have no values.
2010-01-17 00:13:19 -05:00
Paul Beckingham
c82469fa2c Merge branch '1.9.0' of tasktools.org:task into 1.9.0 2010-01-16 17:47:22 -05:00
Paul Beckingham
5a886f6e58 Unit Tests
- Now sorts the results of a glob, so that the results are in a
  consistent order on all platforms.
2010-01-16 17:46:32 -05:00
Paul Beckingham
abffaa184b Enhancement - Path integration
- Obsoleted util.cpp spit, slurp calls
2010-01-16 17:45:45 -05:00
Federico Hernandez
70a0cd670b Merge branch '1.9.0' of tasktools.org:task into 1.9.0
Conflicts:
	src/Context.cpp
2010-01-16 23:45:07 +01:00
Federico Hernandez
720f28c09c Clean up in Context.cpp 2010-01-16 23:37:37 +01:00
Paul Beckingham
a8f03679ed Demo - color
- Preparing a script for a movie demonstrating color.
2010-01-16 16:05:28 -05:00
Paul Beckingham
0b67dfa38c Review - Config defaults
- Pass 1 of the review, identifying variables that may need to be
  changed.
2010-01-16 14:58:50 -05:00
Paul Beckingham
e53ba8110b Enhancement - Path integration
- Implemented Path::operator (std::string) const, to provide an
  automatic cast to std::string for any Path, File or Directory.
- Made use of new cast in various code.
- Changed use of spaces in atoi () calls.
- Switched from std::string::data () to std::string::c_str () calls.
2010-01-16 14:42:36 -05:00
Paul Beckingham
a6875ced6e Copyright etc
- Added Federico Hernandez to the task copyright, based on the amount
  of work and commits to the project, in the areas of Date handling and
  the calendar report.
- Bumped Cory Donnelly up to Contributing Author for the large quantity
  of ideas, suggestions and testing.
2010-01-16 13:51:11 -05:00
Paul Beckingham
57cac49362 Documentation Update
- Added more Qs the FAQ.
2010-01-16 12:26:59 -05:00
Paul Beckingham
81acaa6ae0 Enhancement
- Eliminated all unlink calls.
2010-01-16 10:35:18 -05:00
Paul Beckingham
b596e96b43 Enhancement - Path, File, Directory integration
- Replaced all access calls.
- Replaced all stat calls.
- Obsoleted util.cpp isAbsoluteDirectory calls.
- Obsoleted util.cpp expandPath calls.
2010-01-16 10:27:31 -05:00
Paul Beckingham
8e47342a18 Unit Tests
- Modified config.t.cpp according to the recent Config.cpp changes.
2010-01-15 22:04:41 -05:00
Paul Beckingham
cb821c2a25 Config - defaults
- Implemented replacement Config::get* methods.
- Replaced all calls throughout the code, with the new methods which
  have no static values as defaults.
2010-01-15 20:55:06 -05:00
Paul Beckingham
0faf7fa8ee Config - defaults
- Config is now providing a default set of all configuration variables.
- The default set is used to both initialize a Config object, and to
  create a sample .taskrc.
2010-01-15 02:50:46 -05:00
Paul Beckingham
0002376f2a Color Themes
- Better names.
2010-01-14 23:44:58 -05:00
Paul Beckingham
f87b2ee636 Color Themes
- Created the four basic themes, with no contents yet.  TBD.
2010-01-14 23:43:00 -05:00
Federico Hernandez
3aae7b180b Feature - #283 verbosity of annotations
- the configuration variable annotation.details now controls the
  verbosity of the output of annotations.
2010-01-14 00:03:52 +01:00
Federico Hernandez
b001c2f40b Merge branch '1.9.0' of tasktools.org:task into 1.9.0 2010-01-12 23:15:19 +01:00
Federico Hernandez
660d0cca3e Report date format
- added new reportdateformat to extend the formatting of due dates
  in the reports and "task info"
- added new conversion sequences a, A, b, B and Y to be used with
  reportdateformat
2010-01-12 23:12:22 +01:00
Paul Beckingham
db1a6601eb Merge branch '1.8.5' of tasktools.org:task into 1.8.5 2010-01-12 08:24:30 -05:00
Paul Beckingham
78778c2819 Packaging
- This is the structure that the OSX package requires.  Note that the
  task binary is 'represented' by an empty file.
- With more time, this could possibly be converted to a tree of symlinks,
  but I'm not sure whether PackageManager deals with them as expected.
2010-01-12 08:22:29 -05:00
Paul Beckingham
585020ef97 Documentation
- Added a few questions to the FAQ.
2010-01-12 08:16:06 -05:00
Paul Beckingham
e1f3f2355a Enhancement
- Added Path::is_absolute, and corresponding unit tests.
- Replaced expandPath and isAbsolutePath call in Config.cpp.
2010-01-12 01:30:59 -05:00
Paul Beckingham
c02cfd594c Path Integration
- Replaced calls to ::access
2010-01-12 01:18:55 -05:00
Paul Beckingham
5dbadda512 Build
- Removed duplicate entry.  Oops.
2010-01-12 01:16:59 -05:00
Paul Beckingham
c73376cb2f Build
- Removed obsolete files that will be replaced soon by the new OSX
  packaging currently on the 1.8.5 branch.
2010-01-12 01:06:29 -05:00
Paul Beckingham
0b5a105b9b Build
- Included the new scripts/vim/syntax/taskrc.vim file in the distribution
  (thanks to John Florian).
2010-01-12 00:58:55 -05:00
Federico Hernandez
e92fb9287a Man pages
- Bumped rest of man pages to same date as FAQ man page.
- Added name section to FAQ man page.
2010-01-10 21:42:34 +01:00
Paul Beckingham
875c5c1880 Build Error
- Fixed missing include.
2010-01-10 01:34:16 -05:00
Paul Beckingham
2b71317e09 Build Error
- Fixed build error on Ubuntu caused by using a Darwin-specific struct
  member.
2010-01-10 01:32:28 -05:00
Paul Beckingham
44aeea8e45 Hooks - starting...
- Tried to include an autoconf Lua detector.  Failed.  Waiting on mailing
  list response.
2010-01-10 01:11:38 -05:00
Paul Beckingham
f435eeed7a Documentation Update
- Changed the official code repo URL from github to tasktools.org.
  The github copy is going away.
- Added an FAQ about recreating a .taskrc, or creating a second one
  for comparison.
2010-01-09 21:30:23 -05:00
Paul Beckingham
a5cb041ef2 Code Reorganization
- Merged Path, File and Directory handling objects from metatask.git.
- Merged unit tests.
- These objects will replace a fair amount of code in task 1.9 and
  more in 2.0.
2010-01-09 17:48:32 -05:00
Paul Beckingham
bfdeee2cea Unit Tests - shell.t
- Began a set of unit tests for shell mode.  Needs work.
2010-01-09 15:17:44 -05:00
Paul Beckingham
414cdf8669 Documentation Update
- Added new 'task-faq' man page.
- Added references to the new man page in various places.
2010-01-09 11:01:06 -05:00
Paul Beckingham
3b52b75d2a Report - minimal
- Added a really minimal report.
2010-01-08 17:01:36 -05:00
Federico Hernandez
f56e1bef54 Minor cleanup. 2010-01-08 22:29:58 +01:00
Federico Hernandez
1b60c20bad Calendar coloring
- Now all due tasks are colorized.
- Setting due=0 now colorizes all due tasks in reports.
2010-01-08 16:49:18 +01:00
Federico Hernandez
7ef5233547 Calendar coloring
- Added 1 new color configuration variables to colorize weekend days
  in the calendar: 'calendar.color.weekend'.
- Changed the default colors in the calendar.
2010-01-08 16:21:27 +01:00
Federico Hernandez
d552b208dd Calendar coloring
- Added 3 new color configuration variables to colorize today, days with due tasks
  and days with overdue tasks in the calendar:
  'calendar.color.today', 'color.calendar.due' and 'calendar.calendar.overdue'
2010-01-08 12:23:26 +01:00
Federico Hernandez
6dd00f41e9 Calendar details
- added 2 new configuration variables 'calendar.details' and
   'calendar.details.report' that make it possible to display
   details of task with due date when doing 'task cal'
2010-01-08 00:15:00 +01:00
Paul Beckingham
a75e7978ab Color Command
- Added support for displaying color samples.  If you run the command
  'task color red on grey12' then task will show you a sample of this
  color, along with other examples.  This is helpful if you are trying
  to choose colors for auto colorization rules.
2010-01-03 12:35:53 -05:00
Paul Beckingham
6abc40ef46 Documentation Update
- Edited and improved the task tutorial, with mention of --, and tips
  on tricking task into allowing special arguments into the description.
2010-01-03 11:36:02 -05:00
Paul Beckingham
0ab2169c65 Documentation Update
- Added a task-tutorial man page mention to the help and version command.
- Corrected comment about attribute entity encoding/decoding.
2010-01-02 22:35:56 -05:00
Federico Hernandez
93067f3c3b Fixed floating point arithmetic when type casting.
See http://stackoverflow.com/questions/1989708/type-casting-with-printf-statements-under-mac-osx-and-linux
2010-01-01 23:58:15 +01:00
Federico Hernandez
8d8f7ddb40 Fixed 2 unit tests that behaved wrong at the end/beginning of a year. 2010-01-01 22:11:10 +01:00
Federico Hernandez
be75b4bf3a Fixed 2 unit tests that behaved wrong at the end/beginning of a year. 2010-01-01 22:05:08 +01:00
Paul Beckingham
3031cf8da9 Merge branch '1.9.0' of tasktools.org:task into 1.9.0 2009-12-31 13:02:03 -05:00
Paul Beckingham
db707d5e15 Feature - new field 'priority_long'
- The new 'priority_long' field can be shown in custom reports, and will
  display 'High' rather than the abbreviated 'H'.
- Unit tests.
2009-12-31 12:57:03 -05:00
Federico Hernandez
065384027e Added ChangeLog entry for new 'config' command. 2009-12-29 21:48:12 +01:00
Federico Hernandez
dca4772f33 New command config
- version now only displays the version number and copyright notice
- config displays the task configuration that version used to show
- configuration variable longversion is not longer needed
2009-12-29 02:46:16 +01:00
Federico Hernandez
48daf13d7f Copyright
- Updated the copyright notices to 2010, for the 1.9.0 release.
- added "unmaintained" comment to zsh completion script asking for
  contributions
2009-12-28 21:37:55 +01:00
Paul Beckingham
79113668cd Feature - color rules for partial project names
- The color.project.foo colorization rules now matches on partial
  project names (like foobar), matching the functionality of filters.
2009-12-27 13:46:55 -05:00
Paul Beckingham
167b9aa8eb Documentation Update
- Reorganized entries in ChangeLog.
- Added missing rc.name= feature description.
2009-12-27 13:43:50 -05:00
Paul Beckingham
9ce55bcf67 Copyright
- Updated the copyright notices to 2010, for the 1.9.0 release.
2009-12-27 12:39:42 -05:00
Paul Beckingham
6cfb913e45 Unit Tests - benchmark2.t
- Gathers timing for runs of the list report for 1, 10, 100 and 1000
  tasks.  This will create a history of data in the tinderbox runs
  for later analysis.
2009-12-27 10:14:45 -05:00
Paul Beckingham
5ef3bcc243 Unit Tests - benchmark2
- Fixed Timer class to use a fixed precision, that for some reason,
  does not work on Haiku.  Put a conditional compile around it for
  now - perhaps later Haiku alpha releases will change things?
- Added benchmark2.t, which enables high-resolution timers for a
  single 'list' command, with 10, 100 and 1000 task databases. Then
  it emits readily-found and parsed data for charts.
- Eliminated obsolete benchmark data for hardware I no longer own.
2009-12-26 19:44:52 -05:00
Paul Beckingham
f43e093515 Unit Tests - util.t
- Added unit tests to make sure formatSeconds is doing the right thing.
  It isn't, and it needs to change, but at least now we can see what is
  wrong with it.
2009-12-22 13:36:47 -05:00
Federico Hernandez
ecb4190e0b Added unknown OS clause for the version command output 2009-12-22 01:03:24 +01:00
Federico Hernandez
338e4dfbc7 basic.t
- check version number against configure.ac
- added test for _version command
2009-12-22 00:18:26 +01:00
Paul Beckingham
1046555c9c Unit Tests - abbreviation.t, basic.t
- Fixed broken unit tests that relied on the string 'ABSOLUTELY NO
  WARRANTY' being present in the output of the version command.  The
  tests now rely upon 'GNU General Public License' instead.
2009-12-20 10:51:51 -05:00
Paul Beckingham
b8377b7e5c Feature - version command
- Added FreeBSD as a recognized operating system.
2009-12-20 10:51:03 -05:00
Paul Beckingham
2a8acaf351 Feature - version command
- Rearranged output of the version command.
- Added build information (OS) and packages (ncurses ...).
2009-12-18 22:31:54 -05:00
Paul Beckingham
2ec5a315cb Feature - simple version report for scripts
- Added a simple _version command that displays only the version
  number and a newline.  This makes it easier for external task support
  scripts to determine which version of task is installed - easier than
  parsing the version command output.
2009-12-18 21:41:48 -05:00
Paul Beckingham
be86c52dc0 Bug Fix - typo
- Typo in message after prepend has finished.
2009-12-16 22:03:35 -05:00
Paul Beckingham
2cf25b7c35 Code Cleanup
- Used the shorter form of std::string::substr that defaults the second
  argument to std::string::npos.
2009-12-13 16:59:28 -05:00
Paul Beckingham
75e738a9c9 Unit Tests - list.t
- Added listIntersect and a Boolean listDiff implementation in main.h.
- Added a set of unit tests for the above.
2009-12-13 12:30:49 -05:00
Paul Beckingham
42981c746e Completion Script - zsh
- With P.C. Shyamshankar's blessing, updated the _task script for zsh
  by using the new task built-in _commands command to enumerate all
  supported commands.  This replaces code that forces task usage output,
  and parses it for commands.
- Note that _task for zsh lacks attribute completion.  We need a zsh
  developer to make this enhancement.
2009-12-13 10:03:59 -05:00
Paul Beckingham
5a66ac94ee Bug Fix - unit tests util.t
- Algorithm uses different numbers to represent a year in the same
  condition.  Bad.
2009-12-12 11:41:47 -05:00
Paul Beckingham
eaeca45eae Bug Fix - broken unit tests on Ubuntu
- Fixed util.cpp formatSeconds and formatSecondsCompact, that were using
  an algorithm that accentuated rounding errors.
- Fixed unit tests that were expecting wrong answers from the wrong
  algorithm above.
2009-12-12 11:30:20 -05:00
Paul Beckingham
37411c7521 Documentation Update - Config
- Updated the generated config file to include examples of the new
  report columns.
2009-12-11 20:44:44 -05:00
Paul Beckingham
4ea71c939a Enhancement - New columns for custom reports
- Added 'entry_time', 'start_time' and 'end_time' columns that include
  the time as well as the date.
2009-12-11 19:08:45 -05:00
John Florian
81ce844d79 Feature - #307 vim support for taskrc
- Added support for syntax highlighting of taskrc within vim.
2009-12-10 18:39:24 -05:00
Paul Beckingham
0780919c2e Feature - #352 rc file should support includes
- Added include file support to Config.cpp.
- Implemented isAbsolutePath helper.
- Added unit tests for isAbsolutePath.
- Fixed small bug in bug.bulk.t.
- Added TODO items to config.t.cpp.
2009-12-09 17:21:09 -05:00
Paul Beckingham
8d43a35ca4 Unit Tests - util.t
- Added unit tests for formatSeconds and formatSecondsCompact.
- Fixed small boundary but in formatSeconds.
2009-12-09 17:12:50 -05:00
Paul Beckingham
42c1b30c31 Feature - Config validation
- The 'version' command now complains about use of deprecated color names and
  duplicate entries.
- Unit tests verify duplicate detection.
- Unit tests verify deprecated color detection.
- Most validation code moved from command.cpp to Config.cpp.
2009-12-08 22:56:01 -05:00
Federico Hernandez
b032a00283 Merge branch '1.9.0' of tasktools.org:task into 1.9.0 2009-12-09 01:16:18 +01:00
Federico Hernandez
b684ded845 Bug #347 - Confirmation dialog is lowercase for "all"
- changed confirmation to be now "All" for multiple changes
- added unit tests for all answers to multiple changes
2009-12-09 01:15:31 +01:00
Federico Hernandez
780d9bb7e7 Bug #347 - Confirmation dialog is lowercase for "all"
- changed confirmation to be now "All" for multiple changes
- added unit tests for all answers to multiple changes
2009-12-09 01:11:14 +01:00
Paul Beckingham
7acef0c9fd Enhancement - related to, but not fixing bug #293
- Added new attribute modifiers 'word' and 'noword' which find the existence
  of whole words, or prove the non-existence of whole words.  If a task has
  the description "Pay the bill", then "description.word:the" will match, but
  "description.word:th" will not.  For partial word matches, there is still
  "description.contains:th".
- Added unit tests for the text.cpp functions.
- Added unit tests including the new modifiers in filters.
- Added unit tests to parse the new modifiers.
- Modified man page.
- Modified the Context::autoFilter processing to use the new modifiers for
  +tag and -tag filtering.
- Added a support email to an error message, while looking at the filter code.
- Added new modifiers to the help report.
- Modified a utf8.t unit test to include an alphanumeric tag, rather than a
  smiley face.
2009-12-07 01:35:47 -05:00
Paul Beckingham
d019126086 Documentation Update
- Included sample maximal taskrc for inclusion as the auto-generated
  .taskrc.  It will be complete, self-documenting, and nicely formatted.
2009-12-06 20:21:22 -05:00
Paul Beckingham
a7feed2ae9 Documentation Update - NEWS
- Cleared out 1.8 NEWS items, added 1.9 items.
- Mentioned 256 color support
- Mentioned Richard Querin's alternate line coloration feature
2009-12-06 13:41:47 -05:00
Paul Beckingham
64c643920f Feature - Special tags
- Implemented the 'nonag' tag that prevents nag messages for a task.
2009-12-06 11:54:23 -05:00
Paul Beckingham
2c5f590fed Feature - Special tags
- Implemented the 'nocolor' special tag.
2009-12-06 11:48:09 -05:00
Paul Beckingham
3003cdaf08 Code Cleanup
- Clarified autoComplete special case comment.
2009-12-06 11:40:19 -05:00
Paul Beckingham
5f353f800d Unit Tests - cal.t
- Fixed a broken fix (e7c8114dff) for
  the calendar command - previously if task could find no tasks with
  due dates, no calendar was displayed, and an error message shown.
  That broken fix was only on the 1.9.0 branch and never released.
  The correct behavior is to show a line of months.  This bug broke
  15 unit tests.
- Fixed minor problem in unit tests where the output was not captured,
  although this has no bearing on the results.
2009-12-06 11:30:51 -05:00
Federico Hernandez
f3d31834ee Merge branch 'master' into 1.9.0
due to release of 1.8.5

Conflicts:
	ChangeLog
	configure.ac
	doc/man/task-tutorial.5
	doc/man/task.1
	doc/man/taskrc.5
	src/Config.cpp
	src/rules.cpp
2009-12-06 04:30:56 +01:00
Federico Hernandez
28377502f6 Added SHA1 of taged release commit 2009-12-06 04:14:40 +01:00
Federico Hernandez
a6c7236ff3 Release date for 1.8.5 2009-12-06 01:49:05 +01:00
Paul Beckingham
204d287b20 Feature - #341 man pages
- Added feature #341 that makes explicit references to the task and taskrc
  man pages, both in the auto-generated .taskrc file and the version command
  output (thanks to Cory Donnelly).

Signed-off-by: Federico Hernandez <ultrafredde@gmail.com>
2009-12-05 22:49:30 +01:00
Paul Beckingham
6fc34eef42 Merge branch '1.9.0' of tasktools.org:task into 1.9.0 2009-12-05 13:43:47 -05:00
Paul Beckingham
e99c01c92c Enhancement - deprecated color
- Improved the warning about deprecated color usage to include actual
  examples from .taskrc.
2009-12-05 13:43:00 -05:00
Paul Beckingham
b3e3c36d50 Documentation Update
- Added missing ChangeLog entry for #310.
2009-12-05 12:46:29 -05:00
Paul Beckingham
e717345f20 Feature - #310 'task add' with external editor
- Simplified and make clearer and error message that complained about
  things that were beyond user control (thanks to John Florian).
(cherry picked from commit a2152628251c6d8c9bc840b8f36851f4ce680c99)

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2009-12-05 12:23:32 -05:00
Paul Beckingham
850135376d Feature - #341 man pages
- Added feature #341 that makes explicit references to the task and taskrc
  man pages, both in the auto-generated .taskrc file and the version command
  output (thanks to Cory Donnelly).
2009-12-05 11:24:05 -05:00
Paul Beckingham
5d0e6c3435 Feature - #336 prepend command
- Added feature #336 which gives task a 'prepend' command for symmetry
  with the 'append' command.
2009-12-04 22:47:44 -05:00
Federico Hernandez
3b354b6d47 Bug Fix - #332 output field "recur_ind" not valid?
- changed man page to include the correct fields
2009-12-02 21:41:20 +01:00
Paul Beckingham
2c0da35225 Bug Fix - #319 Removing tag from many tasks, incorrect change summary
- Fixed bug that caused task to not properly detect the removal of a
  tag when obtaining confirmation from the user fora bulk modification
  (thanks to Cory Donnelly).
2009-12-02 00:14:17 -05:00
Paul Beckingham
13955bc6ae Unit Tests - text.t
- Added more unit tests to cover the new split_minimal function.
2009-12-01 23:41:44 -05:00
Paul Beckingham
1d80a2ebdc Unit Tests - default.t
- The fix to bug #322 means the way default commands are specified
  is now a little different.  If the command "task rc:x" is run, the
  default command no longer needs to also include "rc:x".
2009-12-01 23:29:01 -05:00
Paul Beckingham
d4910f65eb Bug Fix - #332 output field "recur_ind" not valid?
- Fixed bug #332 where task complained that the 'recur_ind' custom report
  column was invalid.  It was misnamed in the documentation, which should
  have read 'recurrence_indicator'.  Also, the 'tag_indicator' column was
  not mentioned anywhere (thanks to T. Charles Yun).
- Added ChangeLog entry for the #333 fix.
2009-12-01 22:12:59 -05:00
Federico Hernandez
2b44d513e8 Added unit tests for bug fix #333 2009-12-02 00:28:34 +01:00
Federico Hernandez
7f11f1b560 Bug Fix - #333 duplicate command should display the ID of the created task
- Added missing "Created task" output to duplicate command (thanks to
  Cory Donnelly).
2009-12-01 23:00:40 +01:00
Paul Beckingham
b246fae889 Unit Tests - fixing broken tests
- The split tests are all broken after a recent change.  They need
  to be extended to accommodate the new split_minimal functions.
2009-11-29 22:41:55 -05:00
Federico Hernandez
8c5508de4b Merge branch '1.8.5' of tasktools.org:task into 1.8.5 2009-11-30 00:16:40 +01:00
Federico Hernandez
b3db2245fa Updated OS that task runs on 2009-11-30 00:16:10 +01:00
Paul Beckingham
00b246ce8a Bug Fix - shell mode
- Removed redundant messages when exiting shell mode.
2009-11-29 16:17:26 -05:00
Paul Beckingham
b94706c56e Bug Fix - #322 rc: override for shell command does not propagate
- Fixed bug #322 which failed to propagate rc overrides to shell commands.
- Context now properly records overrides to file and variables.
- The text.cpp:split (...) functions can now skip trivial split results.
2009-11-29 14:23:22 -05:00
Paul Beckingham
8d784da0ae Bug Fix = #317, sorting
- Fixed bug #317 which colored tasks in the 'completed' report according to
  due dates, which are no longer relevant to a completed task (thanks to
  Cory Donnelly).
- Fixed bug that was causing the 'completed' report to sort incorrectly.
2009-11-29 08:21:33 -05:00
Paul Beckingham
b5f65850f8 Bug Fix - #327 Deleting due date on recurring task wraps to 1969
- Task now prevents removal of either a due date or a recurrence
  from a recurring task.
2009-11-28 09:53:15 -05:00
Paul Beckingham
b7726bce21 Bug Fix - #329 task shell convert all characters to lowercase
- Fixed bug that inadvertently converted the entire command line to
  lower case in the shell, rather than just the command, for testing
  against the "quit" string (thanks to Juergen Daubert).
2009-11-26 09:41:47 -05:00
Paul Beckingham
d44e9363f0 Enhancement - better confirmation
- Added feature to allow the user to quit when asked to confirm multiple
  changes.  Now task asks "Proceed with change? (Yes/no/all/quit)".
2009-11-21 17:39:50 -05:00
Paul Beckingham
5e905742ad Bug Fix - #317, timesheet report
- Fixed bug #317 which colored tasks in the 'completed' report according to
  due dates, which are no longer relevant to a completed task (thanks to
  Cory Donnelly).
- Fixed bug that was causing the 'completed' report to sort incorrectly.
2009-11-18 20:29:45 -05:00
Paul Beckingham
549e700bc8 Bug Fix - timesheet
- The timesheet report was being sorted as though the 'end' date was
  not being considered a date, but simply a string.
2009-11-18 20:28:25 -05:00
Paul Beckingham
b2fc4969b9 Documentation Update
- Minor doc edits.
2009-11-18 20:27:54 -05:00
Federico Hernandez
e319359935 Merge branch 'master' into 1.9.0
Conflicts:
	AUTHORS
	ChangeLog
	configure.ac
	doc/man/task-tutorial.5
	doc/man/task.1
	doc/man/taskrc.5
2009-11-18 10:44:35 +01:00
Federico Hernandez
331b08055a Bumped version number to 1.8.5 2009-11-18 10:22:33 +01:00
Federico Hernandez
847a8b6d49 Added SHA1 of taged release commit 2009-11-18 09:56:14 +01:00
Paul Beckingham
3abce22f0c Bug Fix - color
- Fixed bug that failed to upgrade from 16- to 256-color mode when
  a color like "black on rgb003" was parsed.
2009-11-18 00:36:57 -05:00
Paul Beckingham
c090367eb8 Enhancement - warns on deprecated color use
- If a color is specified using the deprecated 'on_red' instead of
  'on red', generate a warning in the version report.  The version
  report is becoming a report where .taskrc sanity checks occur.
  Is this good?
2009-11-17 23:56:21 -05:00
Paul Beckingham
fff789a509 Bug Fix - #316 timesheet report oddly sorted
- Fixed bug #316 which caused the timesheet report to display an
  oddly sorted list.  Mistakenly used 'std::cout << ...' instead of
  'out << ...'
2009-11-17 22:55:29 -05:00
Paul Beckingham
e7c8114dff Bug Fix - calendar
- Fixed bug that showed a calendar for the year 2037 when 'task calendar due'
  was run, and there are no tasks with due dates.
2009-11-17 22:41:55 -05:00
Paul Beckingham
fbb217538e Code Cleanup
- Removed unnecessary use of the scope resolution operator.
2009-11-17 22:34:28 -05:00
Federico Hernandez
12c4983936 Release date for 1.8.4 2009-11-17 12:00:36 +01:00
Paul Beckingham
39d9f235de HACK - case-insensitive file system problem again. 2009-11-16 23:42:32 -05:00
Paul Beckingham
7aa0c3698a HACK - case-insensitive file system problem again. 2009-11-16 23:42:00 -05:00
Paul Beckingham
bc40ab63b3 Bug Fix - #312 Changing one task changes another
- Added a warning when modifying recurring tasks, that all instances of
  that task may be modified.  When task confirms a bulk edit the
  recurrence is again indicated (thanks to Cory Donnelly).
2009-11-16 23:24:47 -05:00
Paul Beckingham
6e673d2834 Bug Fix - #313 Edit command fails when data.location includes spaces
- Applied patch from Cory Donnelly.
2009-11-16 22:10:47 -05:00
Federico Hernandez
30c6dd0047 Added Joe to AUTHORS file 2009-11-13 23:32:40 +01:00
Paul Beckingham
64bc2a165a Bug fix - hang on cygwin when task updated.
- Fixed bug that caused a hang on cygwin, when a task with multiple
  annotations was edited (thanks to Joe Pulliam).
2009-11-09 22:35:51 -05:00
Paul Beckingham
5b96dbbce8 Bug Fix - wait date editing
- The "wait" date was not being properly formatted, as are all the other
  dates, in the "edit" command.  The result is that an epoch integer date
  was rendered, instead of something readable and in the preferred format.
2009-11-09 18:19:04 -05:00
Paul Beckingham
3214dc5d37 Merge branch '1.9.0' of tasktools.org:task into 1.9.0 2009-11-08 12:54:24 -05:00
Paul Beckingham
bb89e1a70f Unit Tests - annotate.t
- Fixed bug in annotate.t, where a custom report named 'r' was used
  in the unit tests.  This name had to be lengthened to 'rrr' to avoid
  conflict with the 'recurring' report.  This, in itself, is a different
  bug.
2009-11-08 12:51:57 -05:00
Federico Hernandez
a16122bbe9 Fixed regexp matching for colorcoded duedates in unit test 2009-11-06 23:03:47 +01:00
Federico Hernandez
57ef35441d Fixed bug in regexp matching of whitespace between month and year. 2009-11-05 21:37:47 +01:00
Federico Hernandez
77dd930574 Fixed bug in regexp matching of whitespace between month and year. 2009-11-05 21:36:46 +01:00
Paul Beckingham
e222090d1f Feature - default alias
- Added a default alias of "rm" as a synonym of "delete" (thanks to
  Ivo Jimenez).
2009-11-05 01:08:54 -05:00
Federico Hernandez
bf077c0f97 Merge branch 'master' (1.8.3) into 1.9.0
Conflicts which were fixed:
	ChangeLog
	configure.ac
	doc/man/task-tutorial.5
	doc/man/task.1
	doc/man/taskrc.5
	src/report.cpp
2009-10-22 22:55:01 +02:00
Federico Hernandez
f6842941f3 Bumped version number to 1.8.4 2009-10-22 22:40:18 +02:00
Federico Hernandez
e2e0851a69 Merge branch '1.8.3' 2009-10-22 22:27:21 +02:00
Federico Hernandez
1299fe468b Added sha1 for 1.8.3 to Changelog 2009-10-22 22:09:53 +02:00
Federico Hernandez
de50b2902c Merge branch '1.8.3' 2009-10-22 22:02:32 +02:00
Federico Hernandez
bcdcbeeea0 Preparing release
- Updating dist documentation
- Release date in man pages
2009-10-21 22:53:26 +02:00
Pietro Cerutti
469cafa053 Make run_all more portable.
- Changed shebang for portability
- Fix date command for FreeBSD

Signed-off-by: Federico Hernandez <ultrafredde@gmail.com>
2009-10-21 22:20:32 +02:00
Pietro Cerutti
fdb359c180 Fix confirm() to handle EOF
Signed-off-by: Federico Hernandez <ultrafredde@gmail.com>
2009-10-21 22:19:37 +02:00
Paul Beckingham
d321ee242d Bug Fix - Layout on color report
- Fixed layout to include a \n between basic colors and effects.
2009-10-13 11:30:13 -04:00
Paul Beckingham
9f9c19d4ae Unit Tests - fix
- The unit tests for color were still linking against color.o, instead
  of the new Color.o.  Subtle, but wrong.
2009-10-11 16:17:26 -04:00
Paul Beckingham
179b51278f Bug Fix - Color endianness
- Fixed "bug" that caused "red on black" to be emitted as ^[[40;31m
  instead of the expected ^[[31;40m, which is what the unit tests are
  looking for.
2009-10-11 11:49:35 -04:00
Paul Beckingham
1bb907f76d Unit tests - rc.t
- Added tests for the new rc.name=value form, in addition to the
  existing rc.name:value form.
2009-10-10 11:18:38 -04:00
Paul Beckingham
99641e7b0b Enhancement - rc.name=value
- Task now supports both "rc.name:value" and "rc.name=value", not because
  this is generally a good idea, but because it is a very common mistake
  that we are all making, and shouldn't the software be forgiving in an
  unambiguous case like this?
2009-10-10 11:15:32 -04:00
Paul Beckingham
d7bded0d73 Enhancement - Color::colorize
- Made Color::colorize (const std::string&, const std::string&) static,
  so that it is now simple to colorize a string:

      std::cout << Color::colorize ("text", "red");

- Added sample foreground and background colors to the "color" command,
  and used the above shortcut to simplify handleOnColor.
2009-10-10 10:55:48 -04:00
Paul Beckingham
80a3196097 Bug Fix - color.alternate ignoring color/forcecolor overrides
- Fixed bug that caused the alternate line coloration to ignore whether
  color was enabled or not.  This (once again) added color codes to the
  shadow file.  This happens repeatedly - I think a unit test for this
  mistake is needed.
2009-10-06 10:12:07 -04:00
Paul Beckingham
010ef7cd07 Bug Fix - Color::Color (color_id, color_id)
- Removed temporary fix from task code to accommodate above bug.
2009-10-06 00:20:50 -04:00
Paul Beckingham
e5fce9ac08 Bug Fix - missing color
- There's something wrong with Color::Color (int, int), so this is a
  temporary fix.
2009-10-05 23:53:28 -04:00
Paul Beckingham
175dd3eb4f Feature - #292 Alternate line coloration
- Implemented alternate line coloration, triggered by the 'color.alternate'
  configuration variable.
2009-10-05 22:09:19 -04:00
Paul Beckingham
3cd45c3acd Feature - 256 color support
- Inverted the _COLOR_NOFG to be _COLOR_HASFG, for better readability and
  the added benefit of having newly constructed color with no specification
  having a value of 0.
2009-10-04 09:55:06 -04:00
Paul Beckingham
157b32e93b Documentation Update
- Tweaked the output of the "color" command.
2009-10-03 16:03:32 -04:00
Paul Beckingham
0b187f3ff8 Feature - 256-color support
- Improved blending algorithm.
- Added 16- to 256-color upgrade algorithm.
2009-09-27 22:58:40 -04:00
Paul Beckingham
b3d40b2554 Portability - Haiku R1/alpha1
- Added necessary include files and edits in order to build task on
  Haiku R1/alpha1.
2009-09-27 17:02:20 -04:00
Paul Beckingham
bb2eb5f266 Feature - 256-color support
- Added precautionary bit reset for bold and bright in 256-color mode.
  Not sure if it is important, but it's cleaner.
2009-09-23 23:26:39 -04:00
Paul Beckingham
675df6487a Feature - 256-color support
- Added the colorN variants to the rgbRGB and grayN labels.
2009-09-23 23:21:46 -04:00
Paul Beckingham
b2b4fc6b54 Feature - 256-color support
- Implemented new "task color" command to showcase 256-color support.
2009-09-23 23:12:07 -04:00
Paul Beckingham
2074c8bb27 Feature - 256-color support
- Fixed bug that caused \033[m sequences to be emitted when no color
  is specified, in 16-color mode.
2009-09-22 21:36:36 -04:00
Paul Beckingham
ff3b7cf337 Feature - 256-color support
- Integrated new Color object into task.
- Debugging needed - the cyan, green, and yellow colors are mixed up!
2009-09-22 17:01:59 -04:00
Paul Beckingham
58730a48b3 Feature - 256-color support
- Eliminated old color implementation.
- Integration, debugging remains.
2009-09-22 16:42:46 -04:00
Paul Beckingham
37436071a0 Feature - 256-color support
- Added new Color object.
2009-09-22 12:10:13 -04:00
Paul Beckingham
de8a2c36a0 Feature - 256-color support
- Temporary reorganization of files to prepare for a case change in
  from color.* -> Color.* on a Mac.
2009-09-22 12:07:56 -04:00
Federico Hernandez
1d4c942675 Bumped version number to 1.9.0 2009-09-07 16:25:40 +02:00
Federico Hernandez
fba076a0d0 Bumped version number to 1.8.3 2009-09-07 16:13:37 +02:00
Federico Hernandez
09d7940dd3 Revert "Bumping version number to 1.8.3"
This reverts commit 00031dc1ab.
2009-09-07 16:04:24 +02:00
Federico Hernandez
00031dc1ab Bumping version number to 1.8.3 2009-09-07 15:52:51 +02:00
Paul Beckingham
3ef844de5f Packaging
- Adding updated package files for OSX, from the 1.8.2 release.
2009-09-07 09:51:20 -04:00
Federico Hernandez
bb45d91ddb Added sha1 of 1.8.2 to ChangLog 2009-09-07 15:41:51 +02:00
Federico Hernandez
f243f0ed44 Release date in man pages 2009-09-07 10:18:44 +02:00
Federico Hernandez
b305cc0a60 Release date in ChangeLog 2009-09-07 09:57:09 +02:00
Paul Beckingham
53609b2837 Bug Fix - #288
- Fixed bug which failed to propagate rc overrides from the command
  line to the default command (thanks to Zach Frazier).
2009-09-06 16:27:28 -04:00
Federico Hernandez
bdaa0f89d9 Platform update 2009-09-02 12:50:43 +02:00
Federico Hernandez
2fd8d8aa83 Bug Fix #291
- Fixed bug #291 which generated a false warning about an unrecognized
  variable when enabling default.projects in .taskrc (thanks to Thomas@BIC)
2009-09-02 10:43:04 +02:00
Federico Hernandez
e69fb81b2b Documentation update in Changelog for #289 2009-09-01 21:12:49 +02:00
Federico Hernandez
d2aa0f31b0 Bug Fix - #289
- Fixed bug #289 which imported task from todo.sh
      without valid uuids (thanks to Ben Jackson).
2009-09-01 21:08:13 +02:00
Paul Beckingham
05f67db429 Bug Fix - #287
- Fixed bug #287 which caused color control codes to be written to
  the shadow file (thanks to Richard Querin).
2009-08-29 13:55:59 -04:00
Paul Beckingham
62be3f8acb Feature #282
- Applied large patch to make task return meaningful exit codes.
- Added unit tests to prove this.
- Thanks to Pietro Cerutti.
2009-08-29 09:14:26 -04:00
Federico Hernandez
cc5c99c0a1 Pushing version number to 1.8.2 2009-08-21 01:09:41 +02:00
Federico Hernandez
35792e7874 Added release date for 1.8.1 to ChangeLog 2009-08-20 22:48:22 +02:00
Federico Hernandez
083407f789 Pushing package build scripts for fedora, ubuntu and cygwin to 1.8.1 2009-08-19 23:50:47 +02:00
Federico Hernandez
e1146cdd20 Changed epoch to be 12/22 for UTC 2009-08-18 13:46:19 +02:00
Paul Beckingham
f04205be4c Documentation Update
- Added a load of missing ChangeLog entries, by running the timesheet
  report and comparing.
2009-08-16 23:10:21 -04:00
Paul Beckingham
07da2396fc Bug Fix - #251
- Fixed bug #251 that caused the .hasnt attribute modifier to fail
  when annotations were present.  Thanks to John Florian.
2009-08-16 22:38:33 -04:00
Paul Beckingham
ec7f7cc939 Bug Fix - #260
- Fixed bug whereby the start, stop and delete commands were not
  complaining when filter arguments were specified, even though they
  were ignored.  Thanks to Charles T. Yun.
2009-08-16 18:39:35 -04:00
Paul Beckingham
1b28d8714b Bug Fix - #249
- Fixed bug that caused two annotations with the same date to be parsed
  identically, and therefore were not considered unique annotations after
  the "edit" command.
2009-08-16 17:22:17 -04:00
Paul Beckingham
79f59f12ae Bug Fix - #252
- Fixed bug that prevented using end.after: and end.before: together
  to effect a range.
- Required differentiation between positive and negative attribute
  modifiers, and special handling.
2009-08-16 13:01:28 -04:00
Paul Beckingham
f595bc4731 Bug Fix - #259
- Fixed broken build on Snow Leopard - missing include.
2009-08-15 14:20:20 -04:00
Federico Hernandez
972efc58f4 Pushing man pages to 1.8.1 2009-08-12 14:43:05 +02:00
Paul Beckingham
dc9ba6d6b8 Bug Fix - #250
- Fixed bug #250 whereby rc.dateformat was not observed when parsing the
  creation date of an annotation (thanks to Federico Hernandez).
2009-08-07 16:53:25 -06:00
Paul Beckingham
a7196ca181 Bug Fix - #257
- Fixed bug #257 where an extant ~/.taskrc file prevented the override and
  automatic creation of an alternate rc file (thanks to Zach Frazier).
2009-08-07 16:11:09 -06:00
Paul Beckingham
1355571876 Bug Fix - #252
- Fixed bug that prevented the chaining of two attributes with
  different modifiers to effect a date range, such as:
    task ls due.after:8/1/2009 due.before:8/31/2009
  Thanks to John Florian.
2009-08-05 10:15:33 -06:00
Paul Beckingham
d3fcd40279 Bug Fix - Bug #248
- Fixed bug where both single and double quotes are stored as
  ampersand-quote-semi-colon, leading to the gradual conversion of
  one to the other.  Fix is backward compatible.  Thanks to John
  Florian.
2009-08-05 07:24:00 -06:00
Paul Beckingham
c4dcdbff0f Unit Tests - range
- Added unit tests to check the behavior when a data range is created
  with "task list due.before:... due.after:...".
2009-08-04 17:24:06 -06:00
Paul Beckingham
d39e45841d Bug Fix - Bug #241
- Fixed bug #241 that caused redirected output to retain color control codes
  for colored header and footnotes (thanks to John Florian).
2009-08-04 16:59:52 -06:00
Paul Beckingham
b28575625e Bug Fix - Bug #243
- Fixed bug that caused due dates and recurrence periods to be quoted on
  export, which then caused confusion on a subsequent import (thanks to
  John Florian).
2009-08-04 16:47:49 -06:00
Paul Beckingham
fc8f8957c4 Bug Fix - recurring task with no due date
- A recurring task may not be added without a due date.  Previously,
  this restriction only applied to modified tasks.
2009-08-04 16:26:23 -06:00
Paul Beckingham
0499bfff49 Bug Fix - Bug #242
-  Fixed bug that caused the reported ID after an add to be incorrect.
2009-08-04 16:08:56 -06:00
Paul Beckingham
af49ccf508 Bug Fix - wrong .taskrc file in message
- When a .taskrc file is overridden (with rc:...) task still refers to
  the default file name in output.
2009-08-04 16:01:20 -06:00
Paul Beckingham
7b0edfdeba Unit Test - recurring task with no due date
- Should generate error, but doesn't.
2009-08-03 07:38:22 -06:00
Federico Hernandez
e5d56e3075 Enhancement:
* Remove trailing whitespace from completions.
	* Complete rc.<variable> with ":'.
2009-08-01 01:24:46 +02:00
John Florian
ede746ba16 Fixed bug #241
Completion behavior has changed from bash-3 to bash-4.  Even the colon
character appears in COMP_WORDBREAKS of both versions, only bash-4 seems to
honor it.  This appears to be a bug in bash-3.  Changes made here work around
the problem so that completion of project names works for either version of
bash.
2009-07-30 23:19:10 -04:00
Paul Beckingham
0bad0277fe Documentation Update
- Added bug fix info to ChangeLog.  This is now ready to release, if
  necessary.
2009-07-26 16:31:40 -04:00
Paul Beckingham
8488cbd1a6 Bug Fix - #231 time_t/int collision on 32-bit systems
- Fixed bug #231 by removing the operator int () cast from the Duration
  class.  On a 32-bit system, "time_t" may be defined as "int", in
  which case the int cast and time_t cast are essentially duplicates.
  Thanks to Pietro Cerutti, who also provided a patch.
2009-07-26 16:11:14 -04:00
Paul Beckingham
6f9356da64 Updated version to 1.8.1
- Changed program version number.
- Changed NEWS file to refer only to 1.8, not 1.8.1.  This means we now only
  need to update the NEWS file on major releases, not patches.  This is the
  right thing to do now that we have only "whats new" in the NEWS file.
2009-07-26 16:06:14 -04:00
Paul Beckingham
90d53245c3 Merge branch '1.8.0'
Conflicts:
	.gitignore
	AUTHORS
	ChangeLog
	DEVELOPERS
	Makefile.am
	NEWS
	README
	configure.ac
	doc/man/task.1
	doc/man/taskrc.5
	src/T.cpp
	src/T.h
	src/TDB.cpp
	src/TDB.h
	src/command.cpp
	src/edit.cpp
	src/import.cpp
	src/parse.cpp
	src/report.cpp
	src/rules.cpp
	src/task.cpp
	src/task.h
	task_completion.sh
2009-07-21 19:15:54 -04:00
Paul Beckingham
14977ef317 Packaging
- Updated Mac OS X package files.
2009-07-21 18:36:40 -04:00
Paul Beckingham
bb5458fd6b Documentation Update
- Bumper version to 1.8.0, for release.
2009-07-21 16:59:43 -04:00
Paul Beckingham
8c692593b4 Documentation Update
- Added correct 1.8.0 release date.
2009-07-21 16:44:26 -04:00
Paul Beckingham
e8fc210ab0 Bug Fix - #206
- Fixed bug that prevented "task list start.after:1/1/2009" from
  working.  Big, nasty bug.
2009-07-18 00:49:04 -04:00
Paul Beckingham
e5f2b0c7d1 Bug Fix - #219
- Missed a spot.
2009-07-17 08:49:34 -04:00
Paul Beckingham
6c2fc108b4 Bug Fix - #219
- Fixed bug in timesheet report.  It was using color without regard
  to whether the output was to a TTY or not.  Thanks to John Florian.
2009-07-16 22:14:50 -04:00
Paul Beckingham
9100217da0 Bug Fix - #213
- Fixed bug that ignored the fact that std:cin was closed by a Ctrl-D
  in the "shell" command.  Thanks to Ian Mortimer.
2009-07-16 22:03:11 -04:00
Paul Beckingham
c5809b6b8d Bug Fix - #209
- Not a fix, but working towards a fix.  When a recurring task is edited,
  the other sibling tasks are not modified.  This is difficult to do.
  Perhaps we can skip for 1.8.
2009-07-14 21:20:43 -04:00
Paul Beckingham
3fce45baa4 Documentation Update
- Added the new complete.all.projects and complete.all.tags configuration
  variables to the man page.
2009-07-12 23:15:30 -04:00
Paul Beckingham
67debb93f7 Enhancement - complete.all.*
- Now supports "rc:complete.all.projects" to show all historical
  project names.
- Now supports "rc:complete.all.tags" to show all historical tags names.
2009-07-12 22:59:13 -04:00
Paul Beckingham
9718fa6924 Beta3
- Bumped version to beta3.
2009-07-12 22:54:36 -04:00
Paul Beckingham
5489cc5a0c Enhancement - task_completion.sh
- Applied Fredde's patch.
2009-07-12 22:54:02 -04:00
Paul Beckingham
8bf0f1176b Enhancement - _config
- Merged Fredde's _config command with prior bug fix.
2009-07-12 22:48:38 -04:00
Paul Beckingham
e2da1d0a9a Bug Fix - #205
- Fixed bug in modify and append that was erroneously reporting "No
  changes" when a bulk update occurred.
- Added bug.bulk.t unit tests to cover this example.
2009-07-12 18:38:57 -04:00
Paul Beckingham
b02c11be0e Bug Fix - #203
- Zero-length command line project was being compared to a zero-length
  truncated task project, and always matching.  Thanks to John Florian.
2009-07-12 14:27:26 -04:00
Paul Beckingham
ab3de212bf Bug Fix
- Conditional compilation (via FEATURE_NCURSES_COLS) to either use
  ncurses COLS and LINES global variables, or determine these from
  the WINDOW structure.
2009-07-12 14:01:36 -04:00
Paul Beckingham
9fb5b34759 Code Cleanup
- Removed parse.t from .gitignore.
2009-07-12 13:49:24 -04:00
Paul Beckingham
1aa856d078 Merge branch '1.8.0' of git@github.com:pbeckingham/task into 1.8.0 2009-07-12 13:10:45 -04:00
Paul Beckingham
81df2f2b19 Bug Fix
- ncurses failed to build on Snow Leopard without this change.
2009-07-12 13:09:52 -04:00
Federico Hernandez
4511d87bc0 Added missing wait: attribute. 2009-07-10 23:43:23 +02:00
Paul Beckingham
4439c07516 Bug Fix - #196
- Fixed bug that caused an unexpected number of tasks to be displayed
  by the next command.
2009-07-09 23:07:50 -04:00
Paul Beckingham
f790d52f62 Bug Fix - #194
- Fixed bug that causes tasks awaking from their waiting state to not
  be written back to the pending file.
2009-07-09 22:16:58 -04:00
Paul Beckingham
c275ded443 Bug Fix - #195
- Fixed problem where the date 7/31/2009, when interpreted with
  rc.dateformat:m/d/y, is truncated to 7/31/20.
2009-07-09 21:58:19 -04:00
Paul Beckingham
1900ee93f7 Merge branch '1.8.0' of git@github.com:pbeckingham/task into 1.8.0 2009-07-08 23:18:33 -04:00
Paul Beckingham
9095934bc0 Bug Fix - #171
- Fixed bug that caused redundant information to be displayed when the
  "done" command was run.  Thanks to John Florian.
2009-07-08 23:17:33 -04:00
Federico Hernandez
2d79e59647 From: John Florian <jflorian@doubledog.org>
Improved VIM Support
 - added vim support for undo.data
 - eliminated misc. whitespace per Bram Moolenaar's request
 - added Updated time stamp per Bram Moolenaar's request
2009-07-09 02:29:58 +02:00
Paul Beckingham
84f48fd056 Bug Fix
- Updated the version number.
2009-07-08 08:55:41 -04:00
Paul Beckingham
bf3e69add6 Bug Fix #191
- Fixed bug that failed to anchor to end of string when searching for
  "cal" or "itask", but instead matched on elements of the path,
  like /usr/local/bin.  Thanks to Eric Farris.
2009-07-08 08:41:29 -04:00
Paul Beckingham
844dd473e6 Bug Fix
- Unescaped - in file.
2009-07-06 20:41:10 -04:00
Federico Hernandez
6ca39b51b6 Merge branch '1.8.0' of git@github.com:pbeckingham/task into 1.8.0 2009-07-07 01:15:19 +02:00
Federico Hernandez
466cc4c362 Spell checking on man pages 2009-07-07 01:14:41 +02:00
Paul Beckingham
56a0997ecf Bug Fix
- Next report once again shows up in the help output.
2009-07-06 19:06:04 -04:00
Federico Hernandez
d45ce09ccc Added license information required for distributions 2009-07-07 00:59:51 +02:00
Paul Beckingham
98553e0196 Merge branch '1.8.0' of git@github.com:pbeckingham/task into 1.8.0 2009-07-06 18:52:19 -04:00
Paul Beckingham
75054617c4 Bug Fix
- Fixed bug found by John Florian that fails to delete all recurring
  tasks, after task has confirmed that is what is wanted.
2009-07-06 18:51:18 -04:00
Federico Hernandez
3e5355bc39 Updated man pages for new release 2009-07-07 00:46:45 +02:00
Paul Beckingham
e8716e68ae Bug Fix
- t.t.cpp was throwing an error because UUID is no longer set in Task::Task
  and so the sample task t3 was 'empty', which doesn't sit well with the
  round trip testing.
2009-07-06 01:24:35 -04:00
Paul Beckingham
cb1313779b Bug Fix
- Fixed bug that caused '--' arguments to be swallowed during processing
  for rc. parameters.
2009-07-06 00:58:05 -04:00
Paul Beckingham
8af0953b63 Vim Syntax Files (John Florian)
- Added the files on behalf of John Florian.
2009-07-06 00:34:47 -04:00
Paul Beckingham
51ad77e952 Bug Fix
- Fixed bug that was causing more non-unique UUIDs.  Here are the
  changes made:
    - Task.cpp, tasks are no longer provided with a UUID in Task::Task.
      This prevents the global context.task from being constructed before
      srandom/srand is called.
    - main.cpp, instead of srandom/srand (time (NULL)), it now uses
      struct timeval tv_usec member, which has a micro-second granularity,
      instead of time (NULL) which has a second granularity.  When
      "task add ..." is called in a unit test, several calls are made per
      second, this the random number generator is seeded with the same
      value.
    - Modified the unit test to cover all 6 tasks created, instead of
      5.
2009-07-05 23:59:11 -04:00
Federico Hernandez
28ab9e36cd Vim syntax highlighting (thanks to John Florian) 2009-07-06 03:31:58 +02:00
Federico Hernandez
b5d8045eb3 Updated man pages and task help documentation 2009-07-06 03:08:41 +02:00
Paul Beckingham
4c6d58549d Code Cleanup
- Working toward a clean build on Ubuntu.
2009-07-05 19:09:43 -04:00
Paul Beckingham
ebff1f48c2 Code Cleanup
- Working toward a clean build on Ubuntu.
2009-07-05 19:01:24 -04:00
Paul Beckingham
6e87e05e15 Enhancement
- Info report now includes number of undo transactions.
2009-07-05 13:51:30 -04:00
Paul Beckingham
fbeadfa313 Code Cleanup
- Removed unnecessary #include <iostream>
2009-07-05 13:48:09 -04:00
Paul Beckingham
e20e05ab54 Bug Fix
- Now allows abbreviations of aliases.
- No longer truncates commands after --.
2009-07-05 13:26:53 -04:00
Paul Beckingham
f2af6cc2dd Bug Fix
- Improved the misleading confirmation for bulk changes.  Now displays
  the task id and description before enumerating differences.
2009-07-05 12:43:03 -04:00
Paul Beckingham
9d85a0e0e2 Merge branch '1.8.0' of git@github.com:pbeckingham/task into 1.8.0 2009-07-05 11:33:45 -04:00
Paul Beckingham
519ee9a7a9 Code Cleanup
- Bumped version to 1.8.0.beta1.
- Fixed compiler warning on Ubuntu.
2009-07-05 11:33:02 -04:00
Federico Hernandez
d5d4de403f Added information about cygwin packaging 2009-07-05 17:29:40 +02:00
Paul Beckingham
6a55549588 Unit Tests - export
- Corrected unit tests after a change was made to the export format,
  to accomodate 1.8.0 -> 1.7.1 export/import downgrade.
2009-07-05 00:58:27 -04:00
Paul Beckingham
d63d396386 Unit Tests - alias
- Implemented unit tests to verify alias -> command, and alias ->
  alias -> command functionality.
2009-07-05 00:46:31 -04:00
Paul Beckingham
f7f8b1aee5 Bug Fix
- Fixed bug that generated an export file that was incompatible with
  task 1.7.1 import.  Now there is a smooth migration path back to
  1.7.1 in case 1.8.0 proves unacceptable.
2009-07-05 00:07:24 -04:00
Paul Beckingham
605eb397fc Bug Fix
- Fixed bug whereby rc: and rc. processing ignored the -- argument.
2009-07-05 00:06:41 -04:00
Paul Beckingham
6f318ecdcf Documentation Update
- ChangeLog is now completely up to date.
2009-07-04 23:19:20 -04:00
Federico Hernandez
0d349bab92 Added information about cal arguments 2009-07-05 02:18:00 +02:00
Federico Hernandez
131f6687ea Enhancement:
- Completion list for commands is now compiled dynamicaly using a task command.
  - Completion now also works for direct task manipulations with IDs
    eg task 3 -FOO pro:ERNIE or task 2 done
2009-07-05 00:43:34 +02:00
Paul Beckingham
6612f3e276 Enhancement - aliases
- Implemented command aliases.
2009-07-04 14:33:44 -04:00
Paul Beckingham
4af2b2dc13 Unit Tests - color.t
- Implemented tests for round-trip color name <--> code testing.
2009-07-04 14:11:10 -04:00
Paul Beckingham
69e839724d Documentation Update
- Removed a comment for 'ncurses' that looked a little too much like
  sarcasm.
2009-07-04 12:32:45 -04:00
Paul Beckingham
abcec98bef Unit Tests - fontunderline
- Implemented unit tests to verify the interaction between fontunderline,
  color, _forcecolor and :isatty.
2009-07-04 12:22:02 -04:00
Paul Beckingham
ca4bae558d Enhancement
- Added new _ids command to support tab completion scripts.
2009-07-04 10:28:55 -04:00
Federico Hernandez
02c7d7607c Fixed include statement for Linux 2009-07-04 14:40:54 +02:00
Paul Beckingham
f633e42597 Enhancement - _commands
- Added undocumented _commands command to support completion scripts.
2009-07-04 00:35:50 -04:00
Paul Beckingham
a6e9e6cdfb Unit Tests - rc
- Now tests whether the default rc and data.location are created
  from scratch.
2009-07-03 23:51:13 -04:00
Paul Beckingham
8473227f52 Enhancement
- When a .taskrc file is automatically generated, it is now nicely
  formatted, and filled with comments.
2009-07-03 23:32:00 -04:00
Paul Beckingham
a23a350b8b Enhancement
- Rewrote the code that checks for and creates ~/.taskrc and ~/.task
  if necessary.
- Takes into consideration the following:
    - rc:<file>
    - <file>:data.location
    - <~/.taskrc>:data.location
    - rc.data.location:<dir>
2009-07-03 20:46:19 -04:00
Paul Beckingham
3072476e53 Enhancement
- Added missing (new) commands to the completion script, and removed
  the newly obsolete undelete command.
2009-07-03 14:13:33 -04:00
Paul Beckingham
66e5c7fd64 Bug Fix
- Code doesn't compile when HAVE_LIBNCURSES is not defined (thanks to
  John Florian).
2009-07-03 12:38:49 -04:00
Federico Hernandez
8312dc1f1d - Support for project names (thanks to John Florian)
- Completes tags and project names for any command,
    not just list variants (thanks to John Florian)
  - bash-completion now completes tags for removal using '-'
  - internal completion list compiled by using underscore
    variants of corresponding commands
2009-07-03 16:10:03 +02:00
Federico Hernandez
03c9cc6005 Fixed bug in single digit day highliting unit test 2009-07-03 14:34:58 +02:00
Paul Beckingham
543fc1727d Bug Fix
- Fixed bug in annotations that caused it to echo back the original
  description, instead of the new annotation, when adding a new
  annotation.
2009-07-03 01:30:58 -04:00
Paul Beckingham
bd89287f05 Documentation Update
- More ChangeLog updates.
- Corrected supported platforms in NEWS file, accirding to Fredde's
  latest update on the Wiki.
2009-07-03 01:21:29 -04:00
Paul Beckingham
ef7c5dc4eb Unit Tests
- The unit tests needed a little love after "undelete" went away, and
  "undo" changed.
- Fixed a few tests that were broken.
2009-07-03 00:51:25 -04:00
Paul Beckingham
367214c57a Documentation Update
- Filled in more blanks in the ChangeLog file.
2009-07-02 23:36:15 -04:00
Paul Beckingham
5726926449 Enhancement - debug mode
- Added terminal width determination in debug mode.
2009-07-02 23:09:18 -04:00
Paul Beckingham
32b951dcc9 Bug Fix
- Allows 'bulk' as a valid configuration variable.
2009-07-02 22:37:48 -04:00
Paul Beckingham
65595220f2 Enhancment - undo
- Now presents a side-by-side table for comparison during undo.
2009-07-02 22:15:10 -04:00
Paul Beckingham
5a1191300c Enhancement - file locking
- While waiting for a lock, display a message to that effect,
  otherwise it looks like task is hung (thanks to John Florian).
2009-07-02 21:16:24 -04:00
Paul Beckingham
73378dd67e Enhancement - completion
- Implemented _projects and _tags reports to assist with tab
  completion scripts.
2009-07-02 20:10:36 -04:00
Paul Beckingham
8145b7b28e Build Change
- Now builds optimized by default.  Can be overridden with:
  ./configure --enable-debug=on
2009-07-02 18:39:18 -04:00
Paul Beckingham
c00e5138e0 Bug Fix
- Fixed compiler warnings on Solaris with --enable-debug=off.
2009-07-02 18:35:00 -04:00
Paul Beckingham
c89a0bbbd8 Bug Fix
- Fixed bug in TDB::loadCompleted that failed to provide a nice value
  for Task::id, and folks not using a Mac saw unitialized int values
  as task IDs.
2009-07-02 18:30:47 -04:00
Paul Beckingham
b692ae3b25 Unit Tests
- Added unit tests to ensure that UUIDs are unique, using the three
  different ways of generating them (add, duplicate, recurring).
2009-07-02 09:09:29 -04:00
Paul Beckingham
a41f0a0256 Bug Fix - uuids not unique
- Fixed bug that caused code to use a combination of srandom and rand,
  or srand and random.  Should be srandom/random, srand/rand, not a
  mix.
- Fixed bug that failed to set uuid in handleAdd, such that the uuid
  already assigned in context.task was used, which was generated before
  srand/srandom was is called.
2009-07-02 01:28:42 -04:00
Paul Beckingham
9f4a9d1325 Enhancement
- When a report displays completed or deleted tasks, there is no ID,
  so display "-" instead of "0".
2009-07-01 21:19:22 -04:00
Paul Beckingham
89e1eeacd2 Bug fix - edit
- Fixed problem with temp file template.
2009-07-01 21:08:39 -04:00
Paul Beckingham
d68b86fe56 Enhancement - projects
- Added priority subtotals to projects report.
2009-07-01 21:04:03 -04:00
Paul Beckingham
edcb719d94 Bug Fix
- Added include, according to random website which claims it makes the
  difference.
2009-07-01 19:59:46 -04:00
Paul Beckingham
389fa400a6 Bug Fix
- Added missing stdlib.h include file.
2009-07-01 19:42:52 -04:00
Paul Beckingham
7fec8a5c9b Enhancement - edit
- The edit command now uses the .task file extension for temporary
  files during editing, so that syntax coloring can be invoked.
2009-07-01 19:32:19 -04:00
Paul Beckingham
10fe3d6b28 Bug Fix - random broken
- Moved srandom/srand call back to where it was in 1.7.1.
2009-07-01 19:24:43 -04:00
Paul Beckingham
f588055b31 Enhancement - tags
- Added usage count to the tags report.
- Filled in some missing details in ChangeLog.
- Removed extraneous "srandom" call.
2009-07-01 18:56:12 -04:00
Paul Beckingham
21c3a0ef48 Code Cleanup - undo
- Improved description of most recent change.
- Added timestamp of most recent change.
2009-07-01 01:00:25 -04:00
Paul Beckingham
e7ba2ab76d Code Cleanup
- Converted std::cout diagnostics to context.debug calls.
2009-07-01 00:52:42 -04:00
Paul Beckingham
569d31da7a Bug Fix - undo
- Fixed bug that didn't properly pop_back off the undo stack.
- Fixed bug that caused an attempt to call taskDifferences when one of
  the tasks was "".
2009-07-01 00:46:15 -04:00
Paul Beckingham
0891d3ea63 Enhancement - undo
- Implemented new undo command.
- Removed old undelete command.
- Does not work yet.
2009-07-01 00:15:32 -04:00
Paul Beckingham
b7a0883212 Unit Tests - Task::validate
- Implemented first (of many) Task::validate tests.
2009-06-30 23:57:27 -04:00
Paul Beckingham
652f9b3c0a Merge branch '1.8.0' of git@github.com:pbeckingham/task into 1.8.0
Conflicts:
	i18n/strings.sv-SE
2009-06-30 18:36:11 -04:00
Paul Beckingham
ed49546eac I18N
- Removed obsolete 'undelete' string.
2009-06-30 18:35:06 -04:00
Federico Hernandez
4c65fa1291 Fixed problems with double word strings where single word strings are required. 2009-06-30 22:37:18 +02:00
Paul Beckingham
af7803ea27 Enhancement - undo
- Removed obsolete undelete command.
- Removed obsolete undo command.
- Implemented new undo command as a call to the stubbed TDB::undo call.
2009-06-28 21:51:43 -04:00
Paul Beckingham
dc2bac1b5e Unit Tests
- All unit tests most now clean up a residual undo.data file, so the
  number of tests increased, but with no benefit.
2009-06-28 17:07:25 -04:00
Paul Beckingham
5d8c28f72f Enhancement - undo
- Added logging of both new tasks, and modified tasks.
- Added size of undo.data file to the statistics report.
2009-06-28 14:17:07 -04:00
Paul Beckingham
c29682b91f Enhancement - undo
- Now creates/opens/closes undo.data file.
- All new tasks are logged in undo.data file.
2009-06-28 12:23:46 -04:00
Paul Beckingham
58d7de8478 Enhancement
- Implemented Task::validate.
2009-06-28 11:10:51 -04:00
Paul Beckingham
b9e1bdc145 Documentation Update
- Addressed concerns in issue #85.
2009-06-28 10:44:50 -04:00
Paul Beckingham
ce4f26bdf3 Unit Tests
- Fixed a series of bugs to improve the test suite results.
2009-06-28 01:04:23 -04:00
Paul Beckingham
f3d3126839 Bug Fix
- Fixed bug that caused asserts in Table.cpp when a column had a blank
  heading and value.
2009-06-27 23:42:49 -04:00
Paul Beckingham
3dcda73e0c Enhancement
- Implemented tri-state confirmation for done command.
2009-06-27 21:51:24 -04:00
Paul Beckingham
8d76eaca88 Enhancement
- Implemented tri-state confirmation in the annotate command.
2009-06-27 21:31:11 -04:00
Paul Beckingham
a2cc75d2c7 Enhancement - confirmation
- Added tri-state confirmation to append command.
2009-06-27 21:23:45 -04:00
Paul Beckingham
1f3092469e Code Cleanup
- Eliminated valid.cpp by relocating functions to more sensible locations.
2009-06-27 20:49:28 -04:00
Paul Beckingham
52052f91f9 Bug Fix - formatBytes
- Corrected code and tests regarding floating point rounding.
2009-06-27 20:39:33 -04:00
Paul Beckingham
029b2d1182 Bug Fix - timesheet end date
- Fixed display of timesheet end date.  It was one day off.
2009-06-27 18:08:09 -04:00
Paul Beckingham
6e4f60c4fe Enhancement - confirmation on big changes
- Implemented confirmation on big changes.  That means if the description is
  changed, or more than 2 tasks are modified in a single command.
- Implemented taskDiff to detect differences between two tasks.
- Implemented taskDifferences to describe differences between two tasks.
2009-06-27 17:09:29 -04:00
Paul Beckingham
8e8f5935b3 Documentation Update
- Added 'bulk' variable to man page and Config.cpp.
2009-06-27 16:46:26 -04:00
Paul Beckingham
facb4dcb41 Bug Fix - Att::match
- Fixed bug in Att::match that causes blank dates to be interpreted
  as 12/31/1969, and therefore pass "xxx.before:" tests.
- Added the "cal" symlink trick to ChangeLog.
- Removed incorrect i18n tags from Config.cpp.
- Allowed .taskrc:confirmation=no to bypass Permission checking.
2009-06-27 16:00:41 -04:00
Paul Beckingham
7e0a1759f9 Enhancement - cal symlink
- Automatically runs "task calendar ..." if "task" is symlinked to "cal".
- Allows task to run as a replacement to Unix cal.
2009-06-27 12:39:05 -04:00
Paul Beckingham
518aea870f Enhancement - Permission
- Implemented new Permission object to manage tri-state confirmation
  of changes to multiple tasks.
2009-06-27 10:07:00 -04:00
Paul Beckingham
6d3df6922b Unit Tests - Att
- Added unit tests to verify functionality of Att::type,
  Att::validInternalName and Att::validModifiableName.
2009-06-27 10:04:38 -04:00
Paul Beckingham
c787e67d9c Bug Fix - 'max' date
- Changed the max date from Jan 19 2038 to Dec 31 2038.  This still
  serves the purpose, but avoids the UTC/EST/CEST timezon problems
  we have seen (thanks to Federico Hernandez).
2009-06-27 10:02:48 -04:00
Federico Hernandez
9aed6ec228 Unit tests for new 'task cal' functionality 2009-06-27 02:02:48 +02:00
Paul Beckingham
bb78f61d2a Unit Tests
- Fixed obsolete test in basic.t
2009-06-26 00:31:30 -04:00
Paul Beckingham
0440189b1d Bug Fix
- Fixed bug that caused Att::match to assume a Date was not already
  converted to an epoch.
2009-06-26 00:05:33 -04:00
Paul Beckingham
53155fcc34 Bug Fix - parsing
- Now properly enumerates ambiguous commands.
- Now properly enumerates ambiguous colors.
- Now displays suitable error when a command like "task x" is entered.
2009-06-25 22:21:43 -04:00
Paul Beckingham
d6168ff6a6 Merge branch '1.8.0' of git@github.com:pbeckingham/task into 1.8.0 2009-06-25 19:32:48 -04:00
Federico Hernandez
f3659cf709 New functionality for "task cal"
- 'task cal'        or 'task cal y'
    Prints a calendar starting from the current month/year
  - 'task cal due'    or 'task cal due y'
    Prints a calendar starting from the month with
    the oldest active due task
  - 'task cal 2010'
    Prints a yearly 12-month calendar
  - 'task cal 4 2010' or 'task cal 4 2010 y'
    Prints a calendar starting from the given month/year

  Calendars are either printed as 12 month calendars (y) or
  printed with the number of months that fits into the terminal width
2009-06-25 23:24:33 +02:00
Paul Beckingham
1cfe879409 Enhancement - Task::operator==
- Implemented Task::operator==.
- Implemented unit tests.
2009-06-25 17:08:39 -04:00
Paul Beckingham
a56eeb9ec2 Enhancements - task diff
- Implemented util.cpp/taskDiff to generate a proxy description of the
  difference between two tasks.
- Implemented unit tests for taskDiff.
2009-06-25 16:58:58 -04:00
Paul Beckingham
c5d7b41d98 Code Cleanup
- Migrated from Context::message to Context::footnote.  This more clear
  to the developer where the messages will be shown.
2009-06-25 15:00:32 -04:00
Federico Hernandez
8bcf459a52 Merge branch '1.8.0' of git@github.com:pbeckingham/task into cal 2009-06-25 12:52:57 +02:00
Paul Beckingham
104ad5a5b5 Enhancement - timer
- Now displays " sec" after timing display.
2009-06-25 01:24:48 -04:00
Paul Beckingham
a32263e7ea Enhancement - next
- The next report is now a custom report.  There is also a nasty
  piece of logic that lets the next report exist as a custom report,
  and also with it's own handleReportNext function to prep and filter
  the tasks, then hand off to runCustomReport.
2009-06-25 00:47:07 -04:00
Paul Beckingham
f31f068322 Code Cleanup
- Broke out the guts of handleCustomReport into runCustomReport, so
  that the next report can generate it's own task list, then allow the
  custom report handling to render it.  This means the next report is
  essentially (but not quite) a custom report.
2009-06-24 21:56:31 -04:00
Paul Beckingham
5632c49945 Code Cleanup
- Removed references to ::strcmp.  Thanks Fredde.
2009-06-24 21:55:44 -04:00
Federico Hernandez
b67b64ea00 task cal modifications 2009-06-25 03:03:08 +02:00
Paul Beckingham
5cb009bc0a Merge branch '1.8.0' of git@github.com:pbeckingham/task into 1.8.0 2009-06-23 19:53:31 -04:00
Federico Hernandez
ed7a9273d0 Introduced longversion configuration variable.
- When off just a short version msg is displayed.
  - When on the current values for the configuration
    variables are also displayed. Default is on.
2009-06-24 00:32:45 +02:00
Paul Beckingham
78afa4e110 Enhancement - Aliases
- Moved alias mapping to Context.
- Added Context::canonicalize to resolve aliases.
- Added Context::loadAliases to reload on config file change.
- Removed old alias processing from Cmd.
- Doesn't work yet, but the data is loaded.
2009-06-23 17:38:58 -04:00
Paul Beckingham
b6bc72c449 Enhancement - confirm3
- Added a tri-state confirmation function for confirming bulk operations
  allowing the user to answer yes/no/all to and optionally allow,
  disallow or bulk-allow big changes.
2009-06-23 14:56:15 -04:00
Paul Beckingham
acb6e3cfdc Enhancement - timers
- Timers now only use fixed precision for even very small numbers.
2009-06-23 09:56:31 -04:00
Federico Hernandez
b31cc639a4 Fixed bug due to incompatible 'date' commands on OS X and Linux
to display runtime of all unit tests
2009-06-23 10:49:55 +02:00
Paul Beckingham
f7c91d6db7 Unit Tests
- Fixed a series of broken tests.
2009-06-23 01:54:16 -04:00
Paul Beckingham
f7d40e8d8d Unit Tests
- Fixed unit test build problem.
2009-06-23 01:32:24 -04:00
Paul Beckingham
50f000988b Debugging
- Added timers to measure performance.
2009-06-23 01:23:46 -04:00
Paul Beckingham
e59e35ae29 Code Cleanup
- Added declared but unimplemented copy constructors and assignment
  operators.
2009-06-23 00:00:50 -04:00
Paul Beckingham
c6a56d444e Bug Fix, Tweaks
- .taskrc debug= now defaults to 'off', which will reduce clutter
  and won't surprise beta testers.
- interactive.cpp did not compile when ncurses was not detected by
  autoconf.  That code branch obviously never got executed.
- The interactive shell now instructs the user to type 'quit' to
  leave the shell.
2009-06-22 22:33:09 -04:00
Paul Beckingham
62449d8b3e Bug Fix - Calendar
- Fixed bug in calendar that failed to consider only pending tasks
  when coloring in the calendar display, and when calculating the
  most overdue task to be displayed.
- Modified util.cpp/formatSeconds to stop displaying fractional days,
  because having a task age represented as 5.1 days is silly.
2009-06-22 16:59:51 -04:00
Federico Hernandez
a4f9493ce7 Added output of runtime 2009-06-22 09:19:10 +02:00
Federico Hernandez
dd3b651767 Fixed include statement for Linux 2009-06-22 08:32:52 +02:00
Federico Hernandez
39da7bddfd Added dummy tips file for German and Swedish 2009-06-22 08:23:01 +02:00
Federico Hernandez
94e4c7b9da Ignore temp data in tests dir 2009-06-22 08:21:17 +02:00
Paul Beckingham
329a78039a Enhancement - wait status
- Supports the new Task::waiting status.
- Supports: task <id> wait:<date>
- Supports: task <id> wait:
- Supports: task waiting
2009-06-21 22:42:32 -04:00
Paul Beckingham
40bde9e765 Enhancement - shadow files
- Properly clears out the context, so shadow files can work.
2009-06-21 15:37:36 -04:00
Paul Beckingham
52fb6abb9b Enhancement - tips
- Added new tips file, in the correct format (unix fortune), with
  dummy entries.  If we are to support a "task tip" command in future
  versions, we need to start gathering the tips now.
2009-06-21 12:01:30 -04:00
Paul Beckingham
343c43a010 Enhancement - filter on annotation
- Description filters now automatically apply to annotations.
2009-06-21 11:31:03 -04:00
Paul Beckingham
245339e7fc Documentation Update
- Added attribute modifiers to the help report.
2009-06-21 09:08:32 -04:00
Paul Beckingham
fab37d3383 Enhancment - interactive shell
- At the request of several, and the great example of John Florian,
  task has an interactive shell.
2009-06-21 08:39:53 -04:00
Federico Hernandez
93a68361a7 Changed dates for epoch conversion due to TZ variations 2009-06-20 23:03:06 +02:00
Federico Hernandez
aae4cbac8b Fixed include statement for Linux 2009-06-20 21:56:54 +02:00
Paul Beckingham
cbecec263a Enhancement - all attribute modifiers working
- Implemented before, below, under, after, above, over.
2009-06-20 15:37:01 -04:00
Paul Beckingham
3bed6bb573 Enhancements - config variables, debug
- "debug" now considered a valid configuration variable.
- "alias.*" now considered a valid configuration variable.
- Moved some messages over to use Context::debug.
2009-06-20 14:14:51 -04:00
Paul Beckingham
344b1aba58 Enhancement - nag
- Improved nagging with respect to multiple tasks.
2009-06-20 13:55:11 -04:00
Paul Beckingham
f5e0f8b7a6 Enhancement - echo ID on add
- When a task is added, the new ID is echoed back, for convenience.
  This requires a scan of the pending file, so there is a performance
  hit, and the feature is controlled by the FEATURE_NEW_ID define.
2009-06-20 13:06:53 -04:00
Paul Beckingham
02518e0223 Enhancement - debug support
- Added debug=on support.
- Added color.debug= support.
2009-06-20 10:54:01 -04:00
Federico Hernandez
173b3f6828 Fixed include statement for Linux 2009-06-19 08:51:44 +02:00
Paul Beckingham
dcb4ae5497 Bug Fix - durations
- Fixed bug where durations (recur:x) were not properly parsed and
  validated.
- Fixed bug where the list output was being improperly parsed.
2009-06-19 00:52:48 -04:00
Paul Beckingham
8dab95e200 Bug Fix - recurrence
- Fixed bug whereby handleRecurrence was being called after the tasks
  were loaded and filtered, and thus handleRecurrence operated on a
  filtered set, and failed.  The fix is to move the call to before the
  TDB::load call, and to add another TDB::loadPending call inside
  handleRecurrence.  This means TDB::load needs to be reentrant without
  re-reading the file, and can therefore be called twice, with the
  likelihood of there being a different filter for each call.  This in
  turn led to the problem whereby handleRecurrence would generate the
  synthetic tasks, which then sat uncommitted in TDB::mNew.  The fix
  for this is that every call to TDB::loadPending gets the contents of
  TDB::mNew appended (with correct IDs).  This bug is what you might
  call a good one.
2009-06-19 00:15:38 -04:00
Paul Beckingham
20bd2cf594 Unit Tests - oldest, tag
- Fixed oldest.t unit tests that relied on "task oldest 3" instead of
  the new "task oldest limit:3".
- Fixed tag.t so that it uses example tags +one +two instead of the
  original +1 +2, because when it comes time to remove those tags
  with -1 -2, the tags are interpreted as a malformed sequence.
2009-06-18 23:23:07 -04:00
Paul Beckingham
3ffb855956 Bug Fixes - Att, Subst
- Fixed but that required all known attributes to be listed by name
  in order to be recognized by creating new Att::validInternalName
  method.
- Fixed bug in non-global Subst that failed to save a modified
  annotation.
2009-06-18 23:14:26 -04:00
Paul Beckingham
cea84b3d3b Bug Fix - export
- Fixed export bug that was emitting quoted blank strings, instead of
  blank strings.
- Fixed undo.t unit tests.
2009-06-18 22:52:27 -04:00
Paul Beckingham
456a493ab5 Bug Fix - Att
- The "due" date was not being parsed according to the desired dateformat,
  but in the default "m/d/Y".
2009-06-18 22:13:05 -04:00
Paul Beckingham
9c2e70b73a Bug Fixes, Unit Tests
- Fixed bug where "foo:bar" was not recognized as an attribute, and
  generated an error rather than demoting is to part of the description.
- Fixed bug where en-passant deltas were applied only to the first task
  in a sequence.
- Fixed various unit test.
2009-06-18 22:01:43 -04:00
Paul Beckingham
1511c1fcfd Enhancments - aliases
- Began implementation of aliases.  All commented out for now.
2009-06-18 20:42:12 -04:00
Paul Beckingham
315c70c503 Enhancement - custom report name collisions
- Task now emits an error if a custom report name collides with
  that of a built-in command.
2009-06-18 20:13:12 -04:00
Paul Beckingham
aeaf443f67 Enhancement - statistics
- Added total data file size to statistics report.
- Implemented util.cpp/formatBytes.
2009-06-18 19:47:57 -04:00
Paul Beckingham
ec17eaaa43 Documentation Update - help
- Added 'limit' to help output.
- Combined /from/to/ and /from/to/g into one help line.
- Added example of -- argument in use.
2009-06-18 18:49:47 -04:00
Paul Beckingham
ae3257b623 Bug Fix - tags report using std::cout
- The tags report was writing directly to std::cout, therefore
  bypassing the header/footer control.
2009-06-18 18:37:53 -04:00
Paul Beckingham
b9a1993692 Bug Fix - limit:
- The limit: attribute can now be specified on the command line, to
  override any custom report filter.
2009-06-18 18:34:40 -04:00
Paul Beckingham
af606598fa Bug Fix - recur.t
- Fixed bug that causes recur.t to fail.  The "recur:" duration was
  being converted to days, whereas it should have been kept as a
  literal.
2009-06-18 17:45:27 -04:00
Federico Hernandez
96be49b78d Replaced nested if statement with boolean logic expression 2009-06-18 09:48:46 +02:00
Federico Hernandez
8cf7888fd5 * Wrong unit test and algorithm for leapyears (year 1900) 2009-06-18 09:18:13 +02:00
Federico Hernandez
0ae76d3bf2 Fixed include statement for Linux 2009-06-18 09:11:59 +02:00
Paul Beckingham
5eb4d23685 Bug Fix - nag
- TDB::gc now displays a header message.
- nag function now piggy-backs on existing locked TDB.
2009-06-18 01:55:04 -04:00
Paul Beckingham
b932d9b9b7 Bug Fix - custom report filters
- Added support for using parent in a filter.
- Fixed bug that ignored custom report filters.
- Made Context::parse and Context::autoFilter reentrant.
2009-06-18 01:41:15 -04:00
Paul Beckingham
4d43b77441 Enhancement - recurring tasks
- Implemented handleRecurringTasks.
- Implemented TDB::nextId.
2009-06-18 00:02:12 -04:00
Paul Beckingham
840c61cbbf Enhancement - nag
- Implemented nag feature.
2009-06-17 23:39:39 -04:00
Paul Beckingham
7e2da42f40 Bug Fix - due date, colorization
- Fixed bug that caused colorization to be way, way off.  Silly
  mistake.
- Fixed bug whereby due dates and durations were stored as-is, but
  should have been converted.
- On a related note, added Date::toEpochString,
  Duration::operator (std::string).
2009-06-17 22:52:04 -04:00
Federico Hernandez
f701f10234 * Files needed for cygwin packaging
- usr <- binary tarball
  - CYGWIN-PATCHES <- source tarball
  - patch to create CYGWIN PATCHES inside source tarball
2009-06-17 22:53:09 +02:00
Paul Beckingham
61cedc3ad1 Enhancement - import command
- Implemented import command
- Implemented Context::clearMessages to remove all accumulated
  messages.  This is needed because parts of the import process are
  recursive and we don't want Context to dump messages for every
  import record on completion.
2009-06-17 00:59:31 -04:00
Paul Beckingham
07cf8d6ee8 Enhancements - edit command
- Implemented edit command.
2009-06-17 00:03:09 -04:00
Paul Beckingham
b2c76f6123 Enhancement - modify command
- Implemented modify command
2009-06-16 23:25:35 -04:00
Paul Beckingham
051720a279 Enhancement - annotate
- Implemented annotation command.
2009-06-16 22:55:05 -04:00
Paul Beckingham
23f0a9658e Enhancement - duplicate
- Implemented duplicate command.
- Now allows duplication (and demotion) of recurring tasks.
2009-06-16 22:40:59 -04:00
Paul Beckingham
8a22ac7cf2 Enhancement - header, footer, message
- Added header, footer and message sinks.
- Added individual colorization of headers, footers and messages.
- Added new configuration variables to Config.cpp, taskrc.5.
- Added colorization functions to rules.cpp
2009-06-16 21:55:30 -04:00
Paul Beckingham
e7a0a20d55 Optimization
- TDB::load can entirely skip the loading of completed.data if the
  specified filter is just so.
- Added FEATURE_TDB_OPT definition to allow disabling of this.
2009-06-16 18:35:02 -04:00
Paul Beckingham
7a77cd6d4a Unit Tests - export.t
- Corrected export unit test to account for the new syntax of the export
  command, which no longer accepts a file name argument, and send the report to
  stdout instead.
2009-06-16 16:34:46 -04:00
Paul Beckingham
78ec411067 Enhancements
- Added text.cpp/ucFirst function to capitalize words, so that "pending"
  can now appear as "Pending" on the info report.  This helps task pass
  many more test cases.
2009-06-16 13:32:11 -04:00
Paul Beckingham
7a2c40626e Unit tests - add.t
- Reduced verbiage in tests.
2009-06-16 12:51:13 -04:00
Paul Beckingham
027b343e49 Bug Fixes - autofilter
- Auto filter now only creates a filter for read-only commands.
- Fixed bug whereby ambiguities were reported twice:
    "could be one of a, b, a, b".
2009-06-16 12:05:04 -04:00
Paul Beckingham
97d732e5f7 Enhancements - filters
- The project attribute is now automatically filtered with
    project.startswith:<value>
  to provide leftmost matching (ie subprojects).
- Unmodifiable attributes (uuid, start ...) are now prevented from
  being updated if the command is designated as a "write" command.
2009-06-16 10:42:53 -04:00
Paul Beckingham
5691ed0588 Bug Fix - custom reports
- Fixed bug that applied an empty sequence as a filter, which passed
  no tasks.
2009-06-16 01:31:49 -04:00
Paul Beckingham
cdd07be331 Enhancement - Att::type
- Implemented Att::type to discern attribute types to assist with
  type-specific modifier evaluation.
- Fixed bug that required attributes to have specified values, whereas
  stating "name:" means no value for name.
2009-06-16 00:51:11 -04:00
Paul Beckingham
db0d85f5e7 Bug Fix - description in filter
- The description attribute may now be used in a filter.
2009-06-16 00:30:56 -04:00
Paul Beckingham
6a77d61faa Enhancements - undo command
- Implemented the undo command.
2009-06-16 00:16:43 -04:00
Paul Beckingham
71b320b361 Enhancement - undelete command
- Implemented undelete command.
2009-06-16 00:08:02 -04:00
Paul Beckingham
41e137a92c Enhancements - stop command
- Implemented stop command
- Fixed bug in TDB that failed to truncate the pending file on
  update.
2009-06-15 23:59:56 -04:00
Paul Beckingham
1551362d1e Enhancements - delete, start
- Implemented delete command.
- Implemented start command.
2009-06-15 23:47:42 -04:00
Paul Beckingham
6e6f86783f Unit Tests - rc override
- Unit tests to make sure rc.name:value is working.
2009-06-15 21:10:57 -04:00
Paul Beckingham
858f34cf95 Bug Fix - std::vector::erase
- Fixed bug whereby code called std::vector::erase, but then continued
  as though the iterator was still good.
2009-06-15 20:15:40 -04:00
Paul Beckingham
108b486ac1 Merge branch '1.8.0' of git@github.com:pbeckingham/task into 1.8.0 2009-06-15 19:28:01 -04:00
Federico Hernandez
0fe4a850df Initial german localization 2009-06-16 00:55:15 +02:00
Federico Hernandez
bc65d7292f * INSTALL file is now jsut include in dist tarball
but no longer "installed" together with the binary
  package documentation.
2009-06-16 00:08:07 +02:00
Paul Beckingham
00c5e61d49 Bug Fix - rc:alternate
- Fixed handling of rc: alternate rc file.
- Reorganized Config.cpp regarding defaults.  More work needed.
2009-06-15 17:31:29 -04:00
Federico Hernandez
717e0f6329 * rpm now installs bash completion
* changes for doc (scripts) and man pages
2009-06-15 23:26:59 +02:00
Paul Beckingham
4470c3b88c Bug Fix - Task::determineVersion
- Fixed determineVersion details.
- Strips \n from  EOL before attempting parse.
2009-06-15 14:22:34 -04:00
Paul Beckingham
62f240aad4 Bug Fix - composeF4 -> parse -> composeF4
- Fixed bug that meant Task::composeF4 added a newline, but Task::parse
  did not expect a newline.  This caused Task::determineVersion to
  detect a format 1 encoding and throw.  Changed TDB::load to not remove
  any \n characters, and Task::parse to accept lines either with or
  without.
2009-06-15 12:37:35 -04:00
Paul Beckingham
b742712bb1 Bug Fix - Cmd
- The two load* methods were conflicting - if loadCustomReports was
  called first, it stomped on the commands list and prevented
  loadCommands from running.  Now there is only one method.
- Rewrote util.cpp/autoComplete to use STL over libc.  Might reduce
  code size.
2009-06-15 12:18:04 -04:00
Paul Beckingham
9f1880e050 Enhancement - done command
- Implemented done command.
2009-06-15 11:27:50 -04:00
Paul Beckingham
c65b6e9f48 Portability - util.cpp #warning
- Removed useless warning pragma - it only confuses people.
2009-06-15 10:37:32 -04:00
Paul Beckingham
91da9440c5 Portability
- Fixed compiler warnings on Fedora/Ubuntu.
- Fixed bug found by compiler warnings.  Woohoo!
2009-06-15 10:00:06 -04:00
Paul Beckingham
98316f7ab1 Enhancement - append
- Implemented append command.
2009-06-15 01:44:42 -04:00
Paul Beckingham
3d9ec60153 Unit Tests - tdb.t
- Now cleans up it's temporary files.
2009-06-15 00:54:25 -04:00
Paul Beckingham
7ff178cecc Integration - TDB write operations
- TDB::gc rewritten.
- TDB::commit fixed.
- Corrected usage of handleRecurringTasks wrt TDB.
- Unit tests for TDB.
2009-06-15 00:52:24 -04:00
Federico Hernandez
314ce572e1 Merge branch '1.8.0' of git@github.com:pbeckingham/task into 1.8.0 2009-06-15 00:44:14 +02:00
Federico Hernandez
f98abbe036 Intitial swedish localization. 2009-06-15 00:43:39 +02:00
Paul Beckingham
80bb9f0a18 Integration - TDB
- Renamed TDB2 to TDB.
- Integration of new code complete.
2009-06-14 18:19:00 -04:00
Paul Beckingham
53d0d1cbac Integration - TDB*
- Obsoleted TDB.h, TDB.cpp
- Implemented missing functionality in TDB2.cpp
2009-06-14 17:58:37 -04:00
Paul Beckingham
1560463f9e Integration - Obsolete T removed
- Removed the obsolete T object (the old Task object), that is no
  longer needed since the Task object is now complete, and there is
  nothing in T to refer to.  This is a big milestone.
2009-06-14 16:14:10 -04:00
Paul Beckingham
ffd887747f Enhancement - calendar report
- Implemented calendar report.
2009-06-14 15:49:58 -04:00
Paul Beckingham
9004b65956 Enhancement - next report
- Implemented next report.
2009-06-14 14:53:22 -04:00
Paul Beckingham
f470acadaa Enhancements - export
- Implemented Task::composeCSV.
- Implemented export command, but removed filename support.  This
  needs to be documented.
2009-06-14 14:26:39 -04:00
Paul Beckingham
efe0b86708 Integration - report helper functions
- Added getDueDate helper function.
- Added getFullDescription (description + annotations) helper function.
2009-06-14 14:02:14 -04:00
Paul Beckingham
8529daaf28 Enhancements - timesheet report
- Implemented timesheet report.
2009-06-14 13:32:53 -04:00
Paul Beckingham
819c33e491 Enhancements - summary report
- Implemented summary report.
2009-06-14 12:46:01 -04:00
Paul Beckingham
a09246fd71 Enhancement - ghistory report
- Implemented the ghistory report.
2009-06-14 12:31:19 -04:00
Paul Beckingham
9f6b112003 Enhancement - history report
- Implemented history report.
- Improved (not to the point of them working) filters.
- Improved automatic filter construction.
- Removed obsolete members from Task.
- Added tag support to the "add" command.
2009-06-14 12:09:57 -04:00
Paul Beckingham
85e38e67d3 Integration - fully eliminated T.cpp, T.h 2009-06-13 19:09:00 -04:00
Paul Beckingham
113c15ef2f Integration - removed T
- T.cpp no longer compiled and linked.  Kept for reference, but no
  longer part of task.
2009-06-13 19:03:35 -04:00
Paul Beckingham
c89a222c7c Integration - removing T
- Removed linkage to T.o in unit tests.  The first step towards
  eliminating T.cpp.
2009-06-13 18:53:01 -04:00
Paul Beckingham
841958d889 Unit Tests - decommission t.t.cpp
- Eliminated obsolete t.t.cpp.
2009-06-13 17:59:54 -04:00
Paul Beckingham
a04bfc468b Integration - mod
- Now handles blank modifiers.  Like it should.
2009-06-13 17:56:48 -04:00
Paul Beckingham
25d27bec93 Integration - attribute validation
- Implemented digitsOnly primitive.
- Implemented noSpaces primitive.
- Added unit tests for above.
- Att now manages the lists of valid attributes and modifier names.
- validName migrated to Att.
- validModifiableName migrated to Att.
- New Att::validNameValue.
- Removed obsolete validDescription.
- Removed obsolete validPriority.
- Removed obsolete valid.cpp/guess.
- Implemented text.cpp/noVerticalSpace.
- Added unit tests for text.cpp/noVerticalSpace.
- Removed final static lists from valid.cpp.
2009-06-13 16:27:13 -04:00
Paul Beckingham
eda17772c9 Enhancement - color
- Color routines are now table driven and much smaller.
- Implemented Text::guessColor.
2009-06-13 14:18:49 -04:00
Paul Beckingham
0665caae55 Enhancements - date
- Relocated valid.cpp/dataValid to Date::valid.
- Added new unit tests in date.t.cpp.
2009-06-13 12:51:51 -04:00
Paul Beckingham
d99dec5556 Enhancements - info report
- Implemented info report.
- Removed odd Subst and Sequence objects from Task - are they just
  vestigial limbs, or did I add them for a good reason?  They are
  gone now.
- Added Filter::applySequence to replace old filterSequence.
- Removed obsolete report.cpp filter function.
2009-06-13 00:50:48 -04:00
Paul Beckingham
5288e167d0 Enhancement - gc/shadow
- shadow file update is now triggered by the type of command, not
  explicitly by name.
- Context::inShadow now keeps track of whether it is running a shadow
  file update to prevent recursion.
2009-06-12 22:45:42 -04:00
Paul Beckingham
788e264378 Enhancements - custom reports
- Converted active, overdue and completed reports to custom reports.
- Added new recurring report.
- Added support for new 'end' column, which is the completion date.
2009-06-12 22:12:35 -04:00
Paul Beckingham
c9807f4636 Unit Tests - parse
- Eliminated parse.t.
- Fixed t.t.cpp tests.
2009-06-12 21:34:42 -04:00
Paul Beckingham
6ac8bdc5ca Enhancements - modifier cleanup
- Removed obsolete modifiers
- Added above/below
2009-06-12 21:23:15 -04:00
Paul Beckingham
bd0309b4ff Enhancements - modifiers
- Now only allows one modifier.
- Removed "not", "synth", "next", "first", "last" modifiers.
- Modified match logic.
2009-06-12 21:11:33 -04:00
Paul Beckingham
5a0535c9b5 Enhancment - Record::has
- Used new Record::has method for efficiency.
2009-06-12 01:54:53 -04:00
Paul Beckingham
0b14efbb76 Enhancements - validation
- Implemented Cmd::isReadOnlyCommand.
- Implemented Cmd::isWriteCommand.
- Added unit tests for above.
2009-06-12 01:45:42 -04:00
Paul Beckingham
bc8aba26a9 Enhancement - limit
- Allow command line limit overrides.
2009-06-12 00:05:19 -04:00
Paul Beckingham
d898f3f509 Enhancement - Annotations
- Annotations are now being parsed properly from FF3.
2009-06-11 22:58:38 -04:00
Paul Beckingham
5836430cc1 Code Cleanup
- Removed obsolete code from main.cpp.
2009-06-11 21:34:40 -04:00
Paul Beckingham
37e08df8ba Enhancements - TDB2::gc
- Stubbed TDB2::gc.
- Fixed broken tests Makefile
- Added handleCustomReport call to Context dispatch.
2009-06-11 21:17:30 -04:00
Paul Beckingham
edd065d80e Code Cleanup
- Renamed parse.cpp -> valid.cpp to reflect its new role of housing
  all the validation routines that don't belong to objects.
- Split report.cpp into report.cpp and custom.cpp.
2009-06-11 21:02:02 -04:00
Paul Beckingham
66011acbf8 Enhancements - rules.cpp
- Converted rules.cpp to work under 1.8.0.
- Relocated validReportColumns, validSortColumns to parse.cpp.
2009-06-11 20:35:58 -04:00
Paul Beckingham
ac9dae9af8 Enhancements - TDB::mId
- Implemented ID assignment.
- Removed unnecessary constructors.
2009-06-11 20:34:55 -04:00
Paul Beckingham
754b79afb2 Enhancement - Record::has
- Implemented Record::has which guarantees no autovivification of
  attributes.
2009-06-11 20:29:53 -04:00
Paul Beckingham
1ff3e73ebc Documentation Update
- Fixed typo in README.
2009-06-11 19:40:59 -04:00
Federico Hernandez
48683370c0 * Reorganize man pages for easier handling
* Install i18n files
2009-06-12 00:44:56 +02:00
Federico Hernandez
c3309cfb54 Small reorg of top level project dir 2009-06-11 23:49:43 +02:00
Federico Hernandez
cebe220344 * Bumping ubuntu build configuration files partly to 1.8.0 2009-06-11 23:12:17 +02:00
Federico Hernandez
9b4262bfc0 * Bumoing version to 1.8.0 in rpm spec file
* Changes to description
2009-06-11 23:00:41 +02:00
Federico Hernandez
41be5fd66a Added information about package build config files 2009-06-11 22:58:39 +02:00
Federico Hernandez
94d8702666 Change of task.cpp should have been to main.cpp and not Task.cpp 2009-06-11 15:42:05 +02:00
Federico Hernandez
e39619e4ce Rename of src/task.cpp to src/Task.cpp 2009-06-11 13:41:18 +02:00
Federico Hernandez
78c770afe6 Initial commit of package build config files 2009-06-11 13:16:51 +02:00
Paul Beckingham
1cac0d6647 Bug Fix - FF4 newline
- Oops - FF4 did not include a newline at EOL.
2009-06-11 02:00:05 -04:00
Paul Beckingham
6066fa51ba Code Cleanup
- Eliminated several parse.cpp functions.
- Implemented missing Cmd::allCustomReports.
2009-06-11 01:49:51 -04:00
Paul Beckingham
9a94ea963c Enhancement - locale variant stripping
- If a locale (locale=en-US) contains variant (locale=en-US.UTF8),
  then task ignores the variant.  For now.
2009-06-11 01:37:13 -04:00
Paul Beckingham
ed2ed7c2e2 Enhancements - shadow file
- Implemented (bug not debugged) the shadow file update.
- Added oddly missing (and bypassed) Context::message and Context::footnote
  methods.
2009-06-11 01:30:14 -04:00
Paul Beckingham
a58aa948b8 Enhancement - default.command
- Implemented default.command handling.
2009-06-11 01:10:53 -04:00
Paul Beckingham
d4a9a387af Bug Fix - add with no status
- Tasks were not assigned a default status of Task::pending when added.
2009-06-11 00:46:04 -04:00
Paul Beckingham
d961dfda59 Enhancement - stats
- Implemented stats report.
- Removed more obsolete code.
2009-06-11 00:44:31 -04:00
Paul Beckingham
7b9cb12308 Enhancement - add
- Modified Record::get* methods to be const.
- Implemented TDB2::add.
- Renamed Task::valid to Task::validate.
- Implemented Task::setEntry to default creation time.
- Fixed bug where TDB2 was opening files "rw" instead of "r+".
2009-06-11 00:11:11 -04:00
Paul Beckingham
8728312da6 Optimization - TDB2 access
- Broke TDB2::load into TDB2::load, TDB2::loadPending and
  TDB2::loadCompleted.
- Converted "projects" and "tags" reports to use this.
2009-06-10 23:12:11 -04:00
Paul Beckingham
9776495286 Code Cleanup - TDB removal
- TDB removed from all code, but source kept for further reference.
2009-06-10 22:54:56 -04:00
Paul Beckingham
fc7b344a8b Enhancement - Context::filter
- Automatic filter should not include "uuid".
2009-06-10 22:21:33 -04:00
Paul Beckingham
8bef5a90cd Enhancement - Context::constructFilter
- After parsing the command line, a filter is now constructed.
2009-06-10 22:11:38 -04:00
Paul Beckingham
df38d5aaa0 Code Cleanup
- Relocated longUsage and shortUsage to report.cpp, where they belong,
  which has the positive side effect of allowing all the compiled unit
  tests to link.
2009-06-10 21:51:01 -04:00
Paul Beckingham
d7da182450 Code Cleanup
- Renamed T2.h -> Task.h, T2.cpp -> Task.cpp.  This permanently avoids
  the problem where g++ on OpenBSD 4.5 fails because of the T class,
  which probably conflicts with C++ templates.  Who knows.
2009-06-10 21:35:07 -04:00
Paul Beckingham
71f4749d56 Code Cleanup
- Renamed files task.h -> main.h, task.cpp -> main.cpp.  This is to
  prepare for the next rename, which addresses the OpenBSD bug.
- Removed utf8.h, utf8.cpp from Makefile.am, which were inadvertantly
  added.
2009-06-10 21:20:00 -04:00
Paul Beckingham
41bcdc2875 Documentation Update
- Delete checklist.txt, because it is (a) out of date, and (b)
  superceded by a much better document Fredde wrote.
2009-06-10 20:02:53 -04:00
Paul Beckingham
2da4f8ba7a Enhancements - Context::getWidth
- Added help function to reduce general code size.
2009-06-10 00:35:37 -04:00
Paul Beckingham
8dfe4bd30a Enhancement - usage and help commands
- Implemented usage and help commands.
2009-06-10 00:18:02 -04:00
Paul Beckingham
0449f9e0a2 Enhancements - version command
- Implemented version command.
- Corrected config handling in version command.
2009-06-09 23:58:05 -04:00
Paul Beckingham
f3f77a4c78 Enhancement - report stubs
- Stubbed all non-1.8.0 reports.
- Updated all handler signatures.
2009-06-09 22:48:03 -04:00
Paul Beckingham
a694ac05b1 Enhancement - colors report
- Implemented colors report.
- Commented out all other commands and reports.
- Eliminated obsolete findT function.
2009-06-09 22:21:56 -04:00
Paul Beckingham
940f4a85a4 Documentation Update
- Incorporated 1.7.1 ChangeLog details.
2009-06-09 19:55:44 -04:00
Paul Beckingham
1422a15cbc Merge branch '1.7.1'
Conflicts:
	doc/man5/taskrc.5
2009-06-09 19:49:36 -04:00
Paul Beckingham
9c15457d7f Merge branch '1.7.1' 2009-06-09 19:35:24 -04:00
Federico Hernandez
f209e4aa93 Added new support email address 2009-06-09 17:34:27 +02:00
Federico Hernandez
20d8124a1d Fixed documentation for 1.7.1 2009-06-09 17:30:09 +02:00
Federico Hernandez
db6de54ccc * Updated project homepage reference and license text 2009-06-09 09:32:23 +02:00
Federico Hernandez
eb864820cf * Removed hard-coded version number 2009-06-09 09:31:44 +02:00
Federico Hernandez
0291e4c72e Changed some more references from beckingham.net to taskwarrior.org 2009-06-09 08:56:59 +02:00
Paul Beckingham
6e27feb8a3 Code Cleanup
- Removed Makefile.in from repository.  This was done in 1.8.0, but
  wasn't in 1.7.0.  It's time.
- Added Makefile.in to the .gitignore files.
2009-06-08 23:24:09 -04:00
Paul Beckingham
1dcba4619e Documentation Update
- Bumped version to 1.7.1.
- Changed references to email addresses, URLs.
2009-06-08 23:14:38 -04:00
Paul Beckingham
7538b43c68 Bug Fix - Build failure on OpenBSD
- Fixed build failure on OpenBSD (thanks to Mike Adonay).
2009-06-08 23:03:30 -04:00
Paul Beckingham
aff828c51b Integration - "tags" report
- The "tags" report is now working under 1.8.0.
2009-06-08 01:24:33 -04:00
Paul Beckingham
fb5fe5f5b4 Integration - "projects" report
- "projects" report converted to 1.8.0.
- Relocated code from task.cpp to recur.cpp to allow unit tests to link
  without includign task.cpp and therefore main.
- Removed obsolete sandbox directory.
- Fixed bug where Config::load deleted the pre-loaded custom reports.
- Fixed bug where Cmd::valid failed to include custom reports properly.
2009-06-08 00:54:49 -04:00
Paul Beckingham
cf67e0142c Bug Fix - Att::match
- Fixed Att::match bug that succeeded when no modifiers were present.
2009-06-07 22:57:14 -04:00
Paul Beckingham
9d48faa759 Enhancements - T2::legacyParse
- T2 can now parse all supported legacy formats (ff2, ff3) as well as
  ff4.
- Added tag and attribute support to T2.
- Added T2 unit tests for all formats.
2009-06-07 22:17:11 -04:00
Paul Beckingham
72e3f76ed9 Integration - tag parsing
- Added +tag, -tag support to Context.
- Unit tests still broken.
- Task is still broken.
2009-06-07 17:27:08 -04:00
Paul Beckingham
bf4cf8e786 Unit Tests - Duration
- Added tests to cover Duration::valid
- Added negative test
2009-06-07 17:14:06 -04:00
Paul Beckingham
ed39b88719 Integration - Context::parse
- Integrated Att parsing.
- Unit tests are broken right now.
- Stubbed Context::shadow.
- Implemented Duration::valid.
- Task is broken right now.
2009-06-07 17:07:49 -04:00
Paul Beckingham
7a219c999e Unit Tests - Config
- Added unit tests for Config.  Why didn't I do this a year ago?
- Shut off old 1.7.0 code (gulp).
- Task now thoroughly broken, and only 1.8.0 can help.
2009-06-07 16:31:10 -04:00
Paul Beckingham
d702ba8f24 Enhancement - Integration
- Integrated Cmd object.
- Enhanced Context object with dispatch and shadow methods.
- Fixed bug in Context::parse.
- Implemented command parsing.
- Fixed Sequence bug, and unit tests.
2009-06-07 16:00:22 -04:00
Paul Beckingham
190c6b53fc Enhancements - Config
- Added processing for context.config overrides, and associated
  argc,argv handling.
- Bug fix in filt.t.cpp, but three tests still fail.  Too big a
  distraction to fix right now.
- Warning: build is not broken, but task is broken.
2009-06-07 14:58:32 -04:00
Paul Beckingham
24f31eeb00 Enhancements - Cmd object
- New Cmd object to handle localized commands, customReports and general
  command parsing.
- Localized new Subst methods.
- Relocate guess method from parse.cpp to text.cpp.
- Converted Att object to use new valid/parse scheme.
- Unit tests for Cmd object.
- Fixed att.t.cpp unit tests.
2009-06-07 14:00:14 -04:00
Paul Beckingham
ffa0c6e758 I18N L10N - Subst
- Localized strings in Subst.
2009-06-07 00:46:58 -04:00
Paul Beckingham
049767484f Enhancement - Integrated Subst
- Subst is now part of Context.
2009-06-07 00:39:50 -04:00
Paul Beckingham
a2a9fa7f35 Enhancement - Subst parsing
- Corrected Subst parsing.
- Added more unit tests.
2009-06-07 00:28:21 -04:00
Paul Beckingham
9b78631e6f Enhancement - Sequence integration
- Sequence object fully integrated.
2009-06-06 23:55:36 -04:00
Paul Beckingham
7965bd5b4f I18N - color.cpp
- Localized color.cpp, fingers ache.
- Made a couple of parse.cpp functions non-static.
2009-06-06 23:31:04 -04:00
Paul Beckingham
db52cf7327 I18N - Record
- Localized Record object.
- Remove copy ctor, operator= from Duration - unnecessary.
2009-06-06 22:06:02 -04:00
Paul Beckingham
36d4ecab43 Code Cleanup
- Broke out all the interactive stuff into it's own source file.
2009-06-06 19:50:22 -04:00
Paul Beckingham
bc13f0be48 Interactive - stub
- Added stub code for the interactive version of task.
2009-06-06 17:41:24 -04:00
Paul Beckingham
e9c45aab85 Documentation Update - man page
- Documented the rc.<name>:<value> configuration file override syntax.
2009-06-06 16:11:44 -04:00
Paul Beckingham
82f94a6999 Enhancement - rc.name:value
- Supports 'rc.name:value' for a command line override to .taskrc data
  (thanks to Federico Hernandez).
2009-06-06 16:09:11 -04:00
Paul Beckingham
37dd592110 I18N - Att, text
- Added localization messages.
- Changed wording in ChangeLog.
2009-06-06 15:30:58 -04:00
Paul Beckingham
f43e47a739 I18N L10N - Sequence
- Sequence object localized.
- StringTable changed to inherit from std::map.
- StringTable copy constructor, assignment operator removed.
- Various source files tagged for further l10n work.
2009-06-06 14:11:18 -04:00
Paul Beckingham
76aa3c535e Aesthetics - stats report
- Widened the gap between columns for readability.
2009-06-06 14:09:34 -04:00
Paul Beckingham
60f3da15a7 Bug Fix - configure.ac
- Fixed a syntax error I introduced into configure.ac moments ago, and
  obviously didn't test it.
2009-06-06 12:48:27 -04:00
Paul Beckingham
292ef5248c Documentation Update
- Changed all email addressed to support@taskwarrior.org.
- Changed task@beckingham.net to paul@beckingham.net.
2009-06-06 12:34:32 -04:00
Paul Beckingham
748e2ea00d Merge branch 'switch' into 1.8.0 2009-06-06 12:28:04 -04:00
Paul Beckingham
c2a386b913 Enhancements
- Context implementation snapshot
2009-06-06 12:13:13 -04:00
Paul Beckingham
0ec3b4b6af Enhancement - Attribute modifiers
- Implemented half the modifiers.  The easy half.
- Implemented unit tests that don't all pass yet, and are incomplete.
2009-06-05 01:49:53 -04:00
Paul Beckingham
2aa43fe4fe Documentation Update
- Removed references to old websites and online groups.
- Removed references to the github issue tracker.
- Added references to http://taskwarrior.org.
2009-06-05 01:01:17 -04:00
Paul Beckingham
32e99b3ed6 Documentation update
- Removed DEVELOPERS file.  Not only does it contain obsolete content,
  it doesn't really provide much help.  Hopefully developers will hit
  the online forums for this kind of help.
2009-06-05 00:35:40 -04:00
Paul Beckingham
a60d54be61 Enhancement - Filters
- Filter implemented.
- Unit tests started, need more as Att::match matures.
2009-06-05 00:15:00 -04:00
Paul Beckingham
531cffdc7f I18N - L10N
- Localized first strings in Context.
2009-06-04 23:13:17 -04:00
Paul Beckingham
da88dfe15a Build Fix
- Removed the now-obsolete Mod from the Makefiles.
2009-06-04 22:20:26 -04:00
Paul Beckingham
54f155f439 Enhancements - Context integration
- Context now gathers messages and footnotes.
- task now calls into the new 1.8.0 code (via Context), then calls
  into the old 1.7.0 code.  Two for the price of one.
2009-06-04 22:14:03 -04:00
Paul Beckingham
f85fc2d8c9 Documentation Removal
- Removed all online docs, which are no longer needed in the repository.
2009-06-04 21:02:08 -04:00
Federico Hernandez
024986fe88 Added include statement for compilation on linux 2009-06-04 08:44:57 +02:00
Paul Beckingham
b887f7267b Unit Tests - Record, T2
- Added Record::get, ::set, ::get_int tests.
- Added T2 tests.
- Fixed Record::composeF4 bug
2009-06-04 00:37:23 -04:00
Paul Beckingham
25450b4a7c Enhancement - T2 implementation
- Improved Att/Mod implementation.
- Implemented more T2 methods.
2009-06-03 22:58:24 -04:00
Paul Beckingham
f295fdf78f Unit Tests - Att
- Merged all old Mod tests into Att.
- Fixed broken tests.
2009-06-03 21:20:09 -04:00
Paul Beckingham
55771cc999 Code Cleanup
- Mod object is no longer necessary, and is removed.
2009-06-03 21:10:12 -04:00
Paul Beckingham
ac871d9e8d Enhancement - new age_compact column
- Added support for a new custom report column called "age_compact",
  which is a more compact version of "age" (thanks to T. Charles Yun).
2009-06-03 02:19:25 -04:00
Paul Beckingham
66bd5fc3c0 Code Cleanup
- Integrated Context.config.
- Eliminated Config& as a function argument.
- Added extern references to Context where needed.
2009-06-03 02:03:49 -04:00
Paul Beckingham
98978c7c00 Code Cleanup
- Consolidated two forms of guess ().
2009-06-03 01:22:02 -04:00
Paul Beckingham
4ede817ead Code Cleanup - removed formatTimeDeltaDays
- Removed util.cpp/formatTimeDeltaDays, as it was a replica of
  util.cpp/formatSeconds with a different signature.  Worthless.
2009-06-03 00:58:49 -04:00
Paul Beckingham
9eb68881af Unit Tests - Att
- Added modifier parsing unit tests.
2009-06-02 22:32:22 -04:00
Paul Beckingham
948380ce96 Enhancement - Context
- Context is now a global variable, otherwise it will end up being
  passed to every function, which is essentially the same as global,
  and will create a horrible coupling problem.
2009-06-02 22:26:02 -04:00
Paul Beckingham
2faa256a55 Enhancements - i18n
- Added attribute modifiers.
- Tagged all Mod strings for processing.
2009-06-01 21:38:59 -04:00
Federico Hernandez
0dab0384ea Halfway through task-tutorial(5) 2009-06-01 23:08:26 +02:00
Federico Hernandez
ddfbfea715 Include statements to compile on Linux 2009-06-01 21:20:56 +02:00
Paul Beckingham
a98951a8c3 Enhancements - Complete Record parsing
- Enhanced Record unit tests
- Fixed broken Att unit tests
- Fixed broken Att
2009-06-01 01:25:07 -04:00
Paul Beckingham
75c220c352 Enhancements - i18n & Subst
- Created initial, empty strings files.
- Converted Subst to use Nibbler.
2009-06-01 00:15:08 -04:00
Paul Beckingham
7248267a72 Enhancements - T2 & Subst
- Implemented more helper functions in T2, prior to integration.
- Completed Subst.
- Completed Subst unit tests.
- Eliminated T::getAnnotationCount.
2009-05-31 23:43:11 -04:00
Paul Beckingham
ccff27b535 Merge branch 'master' of git@github.com:pbeckingham/task into 1.8.0 2009-05-31 20:01:57 -04:00
Paul Beckingham
3274f1f0a6 I18N - Sample strings files, header
- Began proposed format for strings file.
- Began corresponding header file for string IDs.
2009-05-31 19:45:25 -04:00
Paul Beckingham
4ed6dc3cce Enhancements - Prep for T2 integration
- Added all T methods as reference to begin T2 integration.  No
  change in functionality.
2009-05-31 11:56:34 -04:00
Paul Beckingham
97145fbb07 Enhancement - Object integration
- Began the big integration festival by moving all objects out of
  the sandbox.
- Hooked up one error message to context.stringtable, just to make
  a point.
2009-05-31 01:49:24 -04:00
Paul Beckingham
fe4c8f3a9d Enhancement - Object rename prior to integration
- T -> T2
- TDB -> TDB2
2009-05-31 01:10:39 -04:00
Paul Beckingham
766c2d3620 Unit Tests - Complete Att unit tests
- Covers parsing, composition.
2009-05-31 00:10:35 -04:00
Paul Beckingham
ed685a55ce Patch - Fixed wrong reference to task-tutorial
From 0e39a1b71874d8ac6e34e94f5b7932d41bc49b5c Mon Sep 17 00:00:00 2001
From: Federico Hernandez <ultrafredde@gmail.com>
Date: Sat, 30 May 2009 23:25:47 +0200
Subject: [PATCH] Fixed wrong reference to task-tutorial
2009-05-30 18:33:48 -04:00
Paul Beckingham
a57552f8bc Patch - Corrected missing line break
From 88311e6941804f5c697967ce82e6935d07941d02 Mon Sep 17 00:00:00 2001
From: Federico Hernandez <ultrafredde@gmail.com>
Date: Sat, 30 May 2009 23:00:32 +0200
Subject: [PATCH] iCorrected missing line break.
2009-05-30 17:17:54 -04:00
Paul Beckingham
2ac2aafbe7 Patch - Pushed man pages to version 1.8.0
From eb1beb066956f95521298fc699359a20b9aa4ed9 Mon Sep 17 00:00:00 2001
From: Federico Hernandez <ultrafredde@gmail.com>
Date: Sat, 30 May 2009 22:47:45 +0200
Subject: [PATCH 2/2] Pushed man pages to version 1.8.0

Changed references for documentation to taskwarrior.org

Added stub for new man page task-tutorial.5
2009-05-30 17:14:00 -04:00
Paul Beckingham
963574e298 Patch - Added license information (GPLv2+) to shell completion scripts
From 1d182d7260776edb7543cb49ccf7c59fbb95d81e Mon Sep 17 00:00:00 2001
From: Federico Hernandez <ultrafredde@gmail.com>
Date: Sat, 30 May 2009 20:51:24 +0200
Subject: [PATCH 1/2] Added license information (GPLv2+) to shell completion scripts.
2009-05-30 17:07:52 -04:00
Paul Beckingham
cebacc7273 Unit Tests - Nibbler
- Complete rewrite of all Nibbler tests, this time including all
  boundary conditions.
2009-05-30 17:04:20 -04:00
Paul Beckingham
dde044c3d7 Enhancements - Nibbler upgrades.
- Enhancements to ensure that EOS conditions don't break calls.
2009-05-30 14:23:22 -04:00
Paul Beckingham
87ed7dad6c Enhancements - config variables
- Added 'locale' and 'displayweeknumber' as valid configuration variables.
2009-05-30 14:21:21 -04:00
Paul Beckingham
5263147c83 Enhancements - Nibbler + parsing
- New Nibbler object greatly assists in FF4 parsing.
- Unit tests for Nibbler.
- Record now parses itself.
- Att now parses itself.
2009-05-29 01:47:39 -04:00
Paul Beckingham
7c0aee4a5f Enhancement - Record object
- Added Record::Record (const std::string&)
- Added basic unit test for Record, which currently throws.
2009-05-28 21:31:48 -04:00
Paul Beckingham
4fda101f28 Unit tests - subst
- Implemented basic subst tests, awaiting Record/T integration before
  this can be expanded.
2009-05-28 18:23:21 -04:00
Paul Beckingham
54789082c9 Enhancement - StringTable integration
- StringTable now integrated into Context.
- Docs updated for new "locale" configuration variable.
- StringTable unit tests implemented.
2009-05-28 17:59:55 -04:00
Paul Beckingham
8627a924f7 Merge branch 'master' into 1.8.0 2009-05-28 11:49:00 -04:00
Paul Beckingham
64a891e8b1 Documentation Update - ran a spellchecker
- Caught a couple of typos in the man pages.
2009-05-28 11:47:44 -04:00
Paul Beckingham
a7424f90b3 Documentation Update - ready for OS X package
- The README.txt was out of date.
2009-05-28 11:40:03 -04:00
Paul Beckingham
dc52e096ba Merge branch 'master' into 1.8.0
Conflicts:
	html/task.html
2009-05-28 11:36:21 -04:00
Paul Beckingham
7aace1b3db Patch - Support tag exclusion filtering
- Now supports "-tag" in filters to filter out tasks that do not
  have the specified tag (thanks to Chris Pride).
- Added unit tests to prevent regression.
- Updated the filter docs to include examples.
2009-05-28 11:30:30 -04:00
Paul Beckingham
73ecb0480f Patch - "Bug" discovered while creating Ubuntu deb package using lintian tool.
From 6b0bd9f9be642a8f08ea27c937a1c1eb2253565e Mon Sep 17 00:00:00 2001
From: Federico Hernandez <ultrafredde@gmail.com>
Date: Thu, 28 May 2009 08:58:28 +0200
Subject: [PATCH] Fixing line breaks.

"Bug" discovered while creating Ubuntu deb package using lintian tool.
2009-05-28 09:21:01 -04:00
Paul Beckingham
0fcaf85652 Bug Fix - blank annotations now disallowed
- Prevented blank annotations from being added, and the description
  being echoed as though it were the annotation applied (thanks to
  Bruce Dillahunty).
- Added bug.annotate.t unit test to prevent regression.
2009-05-27 01:01:25 -04:00
Paul Beckingham
8dd9690a65 Enhancement - Subst and Keymap
- Implemented Subst object and mored it into place ready for integration.
- Moved skeleton Keymap into place.  Not implemented yet.
2009-05-27 00:35:13 -04:00
Paul Beckingham
2083dc4175 Enhancement - Subst object
- Implemented most of Subst object, except Subst::apply
2009-05-27 00:30:42 -04:00
Paul Beckingham
de08c1d32e Enhancement - Location object
- Moved Location object into place, ready for integration.
2009-05-27 00:00:54 -04:00
Paul Beckingham
2dc566a726 Enhancement - Record::composeF4
- Implemented Record::composeF4.
2009-05-26 23:17:49 -04:00
Paul Beckingham
4cbc67b30b Enhancement - Location object
- Implemented Location object to link a path with the data files
  found in that path.
- Integrated into TDB.
2009-05-26 22:32:18 -04:00
Paul Beckingham
7ff41a222a Enhancement - Removed obsolete file format 1
- Removed support for (but not recognition of) file format 1, which
  was never released.
2009-05-26 20:51:09 -04:00
Paul Beckingham
3b4390a446 Documentation Update - slackware version
- Corrected Slackware version.
2009-05-25 20:06:55 -04:00
Paul Beckingham
09c88baeaf Patch - Added include file for stdlib
From 5fd187d590abd87f65a773d7294daa8eed582f97 Mon Sep 17 00:00:00 2001
From: Federico Hernandez <ultrafredde@gmail.com>
Date: Mon, 25 May 2009 21:27:56 +0200
Subject: [PATCH] Added include file for stdlib
2009-05-25 15:41:53 -04:00
Paul Beckingham
5ff44e2f33 Patch - Display week number in calendar report
From 9eec77085dd07940c02d9071bf2a374c9a9b54c8 Mon Sep 17 00:00:00 2001
From: Federico Hernandez <ultrafredde@gmail.com>
Date: Mon, 25 May 2009 09:28:38 +0200
Subject: [PATCH 2/3] Display dummy week of year number

From e2fc5d537863672c53ede96607508270f02aabaf Mon Sep 17 00:00:00 2001
From: Federico Hernandez <ultrafredde@gmail.com>
Date: Mon, 25 May 2009 13:43:14 +0200
Subject: [PATCH 3/3] Display weeknumbers in 'task cal' output
2009-05-25 10:56:24 -04:00
Paul Beckingham
6af093126e Platform Testing - clean builds
- Added include files (thanks to Federico Hernandez)
2009-05-25 09:32:32 -04:00
Paul Beckingham
4532727a32 Unit Tests - args.t
- Implemented unit tests verifying '--' functionality.
2009-05-24 22:48:55 -04:00
Paul Beckingham
c223d38872 Enhancement - Supports '--' on the command line
- Using '--' on the command line separates the left hand side, where
  task is free to interpret arguments in the usual way, and the right
  hand side, which is then assumed to be part of the task description,
  and is not interpreted by task.
2009-05-24 22:32:36 -04:00
Paul Beckingham
020604334e Patch - Configurable week start day.
- Added ChangeLog entry.
- Modified timesheet report error message on incorrect weekstart
  value to match that of calendar.
2009-05-24 20:28:07 -04:00
Paul Beckingham
d09630a3a0 Patch - Configurable week start day.
From 78fef7b934f6bcac7662c1646e2dd1f8ce4f3eca Mon Sep 17 00:00:00 2001
From: Federico Hernandez <ultrafredde@gmail.com>
Date: Mon, 25 May 2009 01:14:06 +0200
Subject: [PATCH] Configurable weekstart for task cal display
2009-05-24 20:14:49 -04:00
Paul Beckingham
41a6cdea22 Enhancement - Mod/Att interaction
- New unit tests for Mod object.
- Added new constructors to Mod object for ease of use.
- Added Mod handling in Att object.
- Added more Att unit tests.
2009-05-24 14:45:50 -04:00
Paul Beckingham
c860d58641 Enhancement - Att object
- Improved new Att object.
- Added new constructor to accommodate integer attribute values.
- Implemented unit tests.
2009-05-24 12:25:20 -04:00
Paul Beckingham
6600f9bac4 Code Cleanup - reorg
- Renamed 'objects' to 'sandbox', for clarity.
2009-05-23 23:41:00 -04:00
Paul Beckingham
2aa2a4e257 Enhancement - Filter object
- Almost implemented the Filter object.
2009-05-23 23:39:33 -04:00
Paul Beckingham
b7866b7434 Enhancement - FF4 Parsing
- Implemented TDB::load
- Changed Record to inherit from std::map <std::string, Att>
- Changed Filter to inherit from std::vector <Att>
2009-05-23 23:29:47 -04:00
Paul Beckingham
2e5e20e3e5 Enhancement - Record accessors
- Implemented a variety of get/set routines for Record.
2009-05-23 18:51:37 -04:00
Paul Beckingham
0eff6fa2b1 Code Cleanup - obsolete code
- Removed obsolete T::removeAttributes.
- Removed obsolete T::sequenceContains.
- Modified handleInfo so it no longer uses T::sequenceContains, and
  instead uses filterSequence.
2009-05-23 18:30:51 -04:00
Paul Beckingham
8fa38fc4c3 Enhancement - Sequence range limiting
- Prevents overly large ranges.  A bug was reported from a user
  who tried this:

    % task annotate 1 1-987654321

  The 1-987654321 was assumed to be a valid range, and caused task
  to consume all available memory.  The workaround was:

    % task 1 annotate 1-987654321

  But it seems a good idea to range-limit sequences.  Currently
  it is 1000.  Perhaps this should be configurable.
2009-05-23 17:59:45 -04:00
Paul Beckingham
f3724aa714 Enhancement - Sequence object
- Implemented sequence object to encapsulate the worries of parsing
  sequences.
- Implemented unit tests.
2009-05-23 16:10:42 -04:00
Paul Beckingham
3cdfb733de Enhancement - Sequence implemented
- Implemented a sequence object to handle ID sequences.
2009-05-23 12:26:34 -04:00
Paul Beckingham
fbea29e27c Documentation Update - FAQ
- Updated the FAQ with links to the donwload page, rather than mention
  the versions page, which no longer has links to packages.
2009-05-23 12:10:28 -04:00
Paul Beckingham
17979e10f0 Enhancement - attributes and stringtable
- Modified Att to contain a vector of Mods, not std::strings, even
  though a Mod is a std::string.
- Added a StringTable object to Context, to start getting the I18N
  infrastructure in place before it is needed.  Only a few strings
  are expected to be migrated.
2009-05-23 10:32:07 -04:00
Paul Beckingham
627d0a7ae9 Documentation Update - downloads
- Cleaned up task.html regarding pre-built packages.
- Commented download.html.
2009-05-23 09:50:33 -04:00
Paul Beckingham
df3fc9b723 Merge branch 'ff4' into 1.8.0 2009-05-23 09:46:13 -04:00
Paul Beckingham
dd8b181081 FF4 - Renamed directory to 'objects'
- Better name for new object directory.
2009-05-23 09:42:52 -04:00
Paul Beckingham
a9d46a0714 FF4 - Moved new objects into place
- Moved Mod, Att, Record, StringTable into place, ready for unit tests.
2009-05-23 09:38:31 -04:00
Paul Beckingham
1ad23c7bdc FF4 - Mod object to handle attribute modifiers
- New Mod object responsible for evaluating a chain of attribute
  modifiers.
2009-05-23 09:30:52 -04:00
Paul Beckingham
78e9b00a63 Snapshot 2009-05-23 00:49:31 -04:00
Paul Beckingham
5ac3f0c47e FF4 - snapshot 2009-05-23 00:35:47 -04:00
Paul Beckingham
886f8e252e Patch - Added link download page in "Latest stable release" section
From 489260e8c83c2255a8b92e89ffbe8e8c26ef721b Mon Sep 17 00:00:00 2001
From: Federico Hernandez <ultrafredde@gmail.com>
Date: Fri, 22 May 2009 13:54:41 +0200
Subject: [PATCH] * Added link download page in "Latest stable release" section

* On download page: corrected names for distributions and packages
2009-05-22 21:16:33 -04:00
Paul Beckingham
419ab2ad51 Documentation Update - synch with web site
- This commit synchronizes the web site and the master branch.
  Edits have been made on the site but not in the master branch,
  which is wrong.
2009-05-22 20:15:01 -04:00
Paul Beckingham
eb5bd63459 FF4 - Snapshot 2009-05-22 20:12:21 -04:00
Paul Beckingham
cce755e5da Documentation Update - clarification
- Added note about the lack of a need to escape shell metacharacters
  when they are used in a custom report filter (thanks to Bruce
  Dillahunty).
- Corrected wrong header tag.
2009-05-20 20:46:45 -04:00
Paul Beckingham
b194f37f11 Documentation Update - online docs
- Added new download.html page to list current and prior binary
  packages only.
- Removed old binary packages.
- Reduced versions.html to a concatenation of ChangeLog entries.
2009-05-20 20:30:08 -04:00
Paul Beckingham
3156e1c085 Documentation Update - AUTHORS file
- Added Thomas@BIC to the AUTHORS file, for his contribution and
  bug report.
2009-05-19 23:28:16 -04:00
Paul Beckingham
8b17bdc037 Bug Fix - documentation
- Typo in documentation fixed (thanks to Thomas@BIC).
- Added zsh tab completion script to ChangeLog (thanks to P.C. Shyamshankar).
2009-05-19 22:04:58 -04:00
Paul Beckingham
b9448c3a2c Documentation Update - snapshot 2009-05-19 20:32:52 -04:00
Paul Beckingham
179f60ed8d Bug Fix - _forcecolor considered obsolete
- Fixed bug that considered the _forcecolor configuration variable
  to be obsolete.  Thanks to Bruce Dillahunty.
2009-05-19 19:31:26 -04:00
Paul Beckingham
e754fa6eac FF4 - Snapshot
- Sketched out Filter
- Implemented part of TDB
2009-05-19 01:38:05 -04:00
Paul Beckingham
f97dff0125 FF4 - Snapshot
- Implemented TDB::lock, TDB::unlock.
2009-05-18 22:26:51 -04:00
Paul Beckingham
81e96e0ec4 Code Cleanup - removed Makefile.in from git
- Makefile.in is a generated file, and there is no need to track it
  in git (thanks to Federico Hernandez).
2009-05-18 21:08:54 -04:00
Paul Beckingham
f37d39d4ce Merge branch 'fredde' into 1.8.0 2009-05-18 09:11:03 -04:00
Paul Beckingham
124dc75861 Patch - Simplified structure with dist and nobase usage
From 6f8080c6761a35811de5f3870b6ef7887b1a9414 Mon Sep 17 00:00:00 2001
From: Federico Hernandez <ultrafredde@gmail.com>
Date: Mon, 18 May 2009 13:23:09 +0200
Subject: [PATCH] Simplified structure with dist and nobase usage
2009-05-18 09:10:18 -04:00
Paul Beckingham
f933067a09 Merge branch 'fredde' into 1.8.0 2009-05-18 09:06:32 -04:00
Paul Beckingham
c754e35b5b Patch - Changed directory structure for scripts and their installation.
From b6ec4af427c5c5d37f16b80236ccea34e4d8de5a Mon Sep 17 00:00:00 2001
From: Federico Hernandez <ultrafredde@gmail.com>
Date: Mon, 18 May 2009 12:32:55 +0200
Subject: [PATCH] Changed directory structure for scripts and their installation.

$(docdir) now depends on ${VERSION} variable defined from configure.ac

Made EXTRA_DIST variable modular.
2009-05-18 09:05:21 -04:00
Paul Beckingham
3a9c98d342 FF4 - snapshot 2009-05-17 23:31:25 -04:00
Paul Beckingham
04f60a4d8c FF4 - header file reorg
- Added new util.h and text.h header files.
- Corresponding edits.
2009-05-17 23:29:53 -04:00
Paul Beckingham
5d275188e9 Portability - Added Slackware
- Added Slackware 12-12.2 as a supported platform (thanks to
  Mateusz Almannai).
2009-05-17 19:44:33 -04:00
Paul Beckingham
32d89560d5 Patch - completion scripts
From 950acdf2990269a6d054e9608a1fed1dddf020a0 Mon Sep 17 00:00:00 2001
From: Federico Hernandez <ultrafredde@gmail.com>
Date: Sun, 17 May 2009 22:34:28 +0200
Subject: [PATCH] Re-arranged shell completion scipts into more suitable directory structure.
2009-05-17 17:15:46 -04:00
Paul Beckingham
58e1f3691c FF4 - Snapshot
- Added encode/decode Att methods.  Necessary if description is to be an
  attribute, which will be quoted.
2009-05-17 17:11:35 -04:00
Paul Beckingham
fdd43a9619 FF4 - Snapshot
- Added more Context responsibilities.
2009-05-16 22:22:56 -04:00
Paul Beckingham
2e39929d71 FF4 - util.cpp:convertDuration -> Duration
- Replaced util.cpp convertDuration function with Duration object.
2009-05-16 22:14:32 -04:00
Paul Beckingham
5ba1fd6aeb FF4 - New Duration object
- Replaces convertDuration.
2009-05-16 21:56:54 -04:00
Paul Beckingham
fa76326aba FF4 - Duration object complete
- Replaces util.cpp:convertDuration
2009-05-16 21:50:04 -04:00
Paul Beckingham
7a03d819a0 FF4 - Snapshot
- Objects ready for implementation.
- Removed template X.h X.cpp.
2009-05-16 17:50:30 -04:00
Paul Beckingham
69ed1e0ebb FF4 - Skeleton code for 2.0
- Created new objects for the 2.0.0 code base, needed in 1.8.0.
- Sketched out basic interfaces.
2009-05-16 17:38:54 -04:00
Paul Beckingham
833fac3c13 FF4 - Skeleton objects
Created skeleton objects for all new 1.8.0 code.
2009-05-16 15:45:31 -04:00
Paul Beckingham
6bef54cdae Merge branch '1.8.0' of git@github.com:pbeckingham/task into 1.8.0 2009-05-15 21:04:09 -04:00
Paul Beckingham
dbc98c1230 Patch
From a08f3f919f2f4b06503004ca764339918ee5d000 Mon Sep 17 00:00:00 2001
From: Johan Friis <johanfriis@gmail.com>
Date: Fri, 15 May 2009 16:14:26 +0100
Subject: [PATCH] fontunderline boolean config option

Added an option to turn on/off the drawing of table headers with
underlined font. If off, the default asciidashes will be used.
It defaults to on.
2009-05-15 21:02:06 -04:00
P.C. Shyamshankar
59bd54fd37 Moved completion file to its own zsh subdirectory.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2009-05-16 07:14:10 +08:00
P.C. Shyamshankar
9d2b2de494 Updated completion for 1.7.0, dynamically getting subcommands from task.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2009-05-16 07:13:59 +08:00
P.C. Shyamshankar
f974e33fa4 Initial commit of zsh completion, completes only subcommands right now.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2009-05-16 07:13:38 +08:00
Paul Beckingham
a120b4bd89 Documentation Update - corrected mistakes
- Wrong year
- Failed to mention taskrc man page
2009-05-15 18:45:23 -04:00
Paul Beckingham
13aeff1389 New Version - 1.8.0 begins... 2009-05-14 23:22:31 -04:00
Paul Beckingham
f6b8b39d8b Task 1.7.0 2009-05-14 22:38:16 -04:00
Paul Beckingham
11ee827a0d Platform Testing - clean builds
- on Ubuntu 9.04
- on Fedora Core 10
- on Crunchbang Linux
- on Windows XP/Cygwin
2009-05-14 22:20:09 -04:00
Federico Hernandez
89bbce8661 Documentation Update - install newly added taskrc.5 man page 2009-05-14 20:58:58 -04:00
Federico Hernandez
e1a7f61fb1 Added new man page doc/man5/taskrc.5
Added reference for taskrc(5) into task(1) man page

Fixed typo/missing word in html documentation
2009-05-14 20:57:53 -04:00
Federico Hernandez
f310924675 Added 2 include files to compile under Linux 2009-05-14 20:55:12 -04:00
Paul Beckingham
2fd7f6d681 Documentation Update - Referenced edit command
- Added new edit command references to docs.
- Added "#editor=vi" default .taskrc entry.
2009-05-14 00:54:02 -04:00
Paul Beckingham
612b872ed4 Silver Bullet - Complete
- Entry works
- Start works
- End works
2009-05-14 00:46:52 -04:00
Paul Beckingham
f97955ded8 Silver Bullet - Snapshot
- until working
- due working
- Also allows editing of recurring parent tasks
2009-05-14 00:29:08 -04:00
Paul Beckingham
38907ac6d7 Silver Bullet - Snapshot
- Annotations working
- recur working
- parent working
- fg working
- bg working
2009-05-14 00:10:54 -04:00
Paul Beckingham
1da111ad6e Enhancement - info missing color
- Fixed bug whereby the info report was not reporting fg and bg
  color attributes.
2009-05-13 23:59:22 -04:00
Paul Beckingham
c7d0b1c21b Silver Bullet - snapshot
- Project working
- Priority working
- Tags working
- Description working
2009-05-13 23:36:04 -04:00
Paul Beckingham
0c775f7998 Silver Bullet - code complete
- Now it's debug time.
2009-05-13 20:39:56 -04:00
Paul Beckingham
c872e30ef5 Silver Bullet - more fields
- Added more fields, none of which work right now.
2009-05-13 18:24:12 -04:00
Paul Beckingham
2c826b6213 Silver Bullet - snapshot
- Project and priority are properly and completely handled.
2009-05-13 15:52:09 -04:00
Paul Beckingham
9d8777ec7d Silver Bullet - file formatting
- 'before' file formatting completed.  Now the hard part.
2009-05-13 15:03:06 -04:00
Paul Beckingham
ee06280808 Code Reorganization - Silver Bullet
- Broke out Silver Bullet feature into separate edit.cpp file.
  Because it is big.
2009-05-13 12:35:54 -04:00
Paul Beckingham
da8c3c1a16 Documentation Update
- Corrected discussion of the edit command.
2009-05-13 12:14:41 -04:00
Paul Beckingham
4346f83f6e Merge branch 'silver-bullet' into 1.7.0
Conflicts:
	src/command.cpp
2009-05-13 11:55:21 -04:00
Paul Beckingham
8b045156d0 Documentation update - man page patch
From 11b748fcecd0ea0bfa04157b59abb1977c1aae5c Mon Sep 17 00:00:00 2001
From: Federico Hernandez <ultrafredde@gmail.com>
Date: Wed, 13 May 2009 16:52:54 +0200
Subject: [PATCH] Punctuation error in Frequencies section

---
 doc/man1/task.1 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/doc/man1/task.1 b/doc/man1/task.1
index da8270a..8a1a671 100644
--- a/doc/man1/task.1
+++ b/doc/man1/task.1
@@ -257,7 +257,7 @@ task ... due:fri
 .RE

 .SS FREQUENCIES
-Recurrence periods Task supports several ways of specifying the
+Recurrence periods. Task supports several ways of specifying the
 .I frequency
 of recurring tasks.

--
1.6.3.1
2009-05-13 11:52:10 -04:00
Paul Beckingham
c4e459e8d7 Silver Bullet - added more fields.
- Added (presumable) all other fields.  Now looking for a better
  format, and a nice way to parse it all back.
2009-05-13 11:39:07 -04:00
Paul Beckingham
77475136b9 Bug Fix - weekstart is not an obsolete
- The new 'weekstart' configuration variable was being tagged as
  obsolete by handleVersion.
2009-05-13 10:46:51 -04:00
Paul Beckingham
362b4a5bc9 Bug Fix - .taskrc/.task
- Fixed bug whereby task created the default ~/.task directory,
  even if an extant .taskrc:data.location specified otherwise
  (thanks to Federico Hernandez).
2009-05-13 00:43:00 -04:00
Paul Beckingham
ff14f0a28a Documentation Update - install docs
- Makefile.am now installs various docs to <prefix>/share/doc/task-1.7.0
  (thanks to Federico Hernandez).
2009-05-13 00:26:54 -04:00
Paul Beckingham
a6637db232 Documentation Update - man page installation
- The task.1 man page is properly installed in
  <prefix>/share/man/man1/task.1
2009-05-12 23:56:57 -04:00
Paul Beckingham
95f07cf363 Bug Fix - UUID corruption on Solaris 8
- Fixed a bug with an unterminated buffer in uuid() (thanks to
  Steven de Brouwer).
- Added Solaris 8 as another supported platform (thanks to Steven
  de Brouwer).
2009-05-12 23:19:26 -04:00
Paul Beckingham
f9035eec70 Bug Fix - C syntax error in parse.cpp
- Fixed bug where variable instantiation inside a case statement
  was not scoped, but somehow builds on Leopard, but fails on
  Fedora Core 10.  Thanks to Federico Hernandez.
2009-05-12 22:58:59 -04:00
Paul Beckingham
cc5d44ee9d Documentation Update - git usage doc
- Added a page that describes how to use git to contribute to task.
2009-05-12 22:28:42 -04:00
P.C. Shyamshankar
3f97bb0663 Added Federico's changes, other updates. Moved to section 1.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2009-05-13 05:51:12 +08:00
Paul Beckingham
e268b7f71c Enhancement - latest tab completion script
- Installed the latest script from Federico Hernandez.
- Renamed script to task_completion.sh, to avoid conflict with others.
2009-05-12 08:59:18 -04:00
Paul Beckingham
753305a262 Documentation Update - man page
- Added the man page to the distribution (thanks to P.C. Shyamshankar).
2009-05-12 01:05:25 -04:00
Paul Beckingham
cec42bb2c4 Enhancement - tab completion
- Added the new 1.7.0 commands.
2009-05-12 00:09:12 -04:00
Paul Beckingham
de7f70ad3e Documentation Update - tab completion
- Added a first cut at the tab completion web page.  It needs to
  be tightened up.
2009-05-11 23:55:49 -04:00
Paul Beckingham
046f511d66 Bug fix - task now builds on Arch Linux
- Applied patch to allow task to build on Arch Linux (thanks to
  Johan Friis).
2009-05-11 23:44:17 -04:00
Paul Beckingham
e2e5b4884c Enhancement - tab completion script
- Added a new tab completion script (thanks to Federico Hernandez).
2009-05-11 23:36:57 -04:00
Paul Beckingham
05243c9e7a Merge branch '1.7.0' of git@github.com:pbeckingham/task into 1.7.0 2009-05-11 23:10:04 -04:00
Paul Beckingham
fd823871f0 Enhancement - timesheet report
- Version 1 of the timesheet report.  Displays a specified number
  of weeks tasks, both started and completed.
2009-05-11 23:07:50 -04:00
P.C. Shyamshankar
4087a82402 Wrote initial manpage, dump of information from `task help`.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2009-05-12 10:33:58 +08:00
Paul Beckingham
e8da71498d Documentation Update
- Corrected precedence list on editors.
2009-05-11 21:22:06 -04:00
Paul Beckingham
4ab665b876 Enhancement - timesheet report
- First pass at a timesheet report.  Needs details and formatting
  improvements.
2009-05-11 00:01:42 -04:00
Paul Beckingham
6762af8ffd Enhancement - Edit command
- Added more fields to the edit command.
- Added a more useful slurp implementation.
- Updated advanced.html with directions on use.
2009-05-10 16:26:48 -04:00
Paul Beckingham
407ef39c54 Enhancement - edit command
- Mere beginnings of the edit command.  No functionality yet.
2009-05-10 01:54:43 -04:00
Paul Beckingham
de4194479a Bug Fix - ghistory ignoring deletions
- Fixed bug that prevented months with only deletions from being
  included in the report.
2009-05-10 01:03:53 -04:00
Paul Beckingham
08188fb811 Enhancement - stats report
- Reimplemented the stats report so that it uses the Table object,
  and therefore has the same aesthetics as the other reports.
2009-05-10 00:40:56 -04:00
Paul Beckingham
cd89e10cfb Unit Tests - sequence
- Implemented unit tests to verify that sequences work properly on
  all relevant commands.
2009-05-09 23:35:32 -04:00
Paul Beckingham
1c736a319d Enhancement - Custom report limit override
- If a custom report has a specified limit to the number of tasks
  it shows, then that limit may be  overridden by specifying a new
  quantity on the command line.
- Added unit tests to verify expected behavior.
- Updated documentation to reflect new functionality.
- Removed obsolete documentation references to an "oldest" and
  "newest" configuration variable.
2009-05-09 22:32:40 -04:00
Paul Beckingham
72f84b3c3e Bug Fix - "done" tasks missing end date
- Tasks marked "done" were not assigned an end date before being
  written to the file.  Fortunately this only affects beta testers
  who, by definition, like to live on the edge.
- Added better text in the NEWS file regarding the github issue
  tracker.
- Cleaned up text a little in the "help" report output.
2009-05-09 21:30:53 -04:00
Paul Beckingham
e8443889bb Documentation Update - subscribe form on site
- Added a simple subscribe button and form to the web site.  Several
  people have stated that subscribing to the group is confusing, and
  maybe this will help.
2009-05-09 16:09:31 -04:00
Paul Beckingham
e81fdd1975 Unit Tests - improved logic in nag.t
- Used the correct builtin Test::More method.
2009-05-09 14:03:54 -04:00
Paul Beckingham
f9c3103264 Merge branch 'timesheet' into 1.7.0 2009-05-08 21:26:43 -04:00
Paul Beckingham
143666aca0 Unit Tests - en passant + sequence
- Added unit tests to ensure that the "done" command handles both
  sequences and en passant modifications.
2009-05-08 01:20:20 -04:00
Paul Beckingham
f7fc455b62 Bug Fix - extra line in ghistory report
- Fixed bug that added an extra line between header and graph in the
  ghistory report.
2009-05-08 01:09:55 -04:00
Paul Beckingham
5814432366 Enhancement - TDB API cleanup
- Removed obsolete TDB::deleteT method.
- Removed obsolete TDB::completeT method.
- Updated documentation.
2009-05-08 00:37:24 -04:00
Paul Beckingham
90c721295a Documentation Update
- Added docs reflecting the en passant feature for "done" and "append".
2009-05-08 00:29:14 -04:00
Paul Beckingham
5cf33105a3 Enhancement - en passant "done"
- When marking task(s) as done, it is now possible to modify them
  at the same time.
2009-05-08 00:25:30 -04:00
Paul Beckingham
b23bad9a5b Enhancement - duplicate command
- Added duplicate command that duplicates a task, and en passant
  applies and specified changes (thanks to David J Patrick).
2009-05-07 23:08:53 -04:00
Paul Beckingham
c61a295df7 Merge branch '1.7.0' into timesheet 2009-05-07 00:44:12 -04:00
Paul Beckingham
aec64afc5c Enhancements, Bug Fix
- Removed obsolete usage.html page.
- Added filterSequence helper function to subset tasks to the affected
  sequence of tasks.
- Added series of helper functions to facilitate applying modifications
  to tasks, allowing more commands the ability to modify tasks in all
  ways.
- Added calls to helper functions for append and modify commands.
- Fixed bug that would mistakenly validate the configuration variable
  "bcd" if there was a valid "abcd", "bcde" or "abcde" configuration
  variable.
- Made the messages generated by task after a command is complete
  more verbose and consistent across all commands.
- Fixed bug that caused the ghistory command to skip months where no
  tasks were added, but were deleted or done.  This is the same bug
  that was fixed in 1.6.0 for the history report.  So much for cut
  and paste.
- Allowed all commands that take an ID to now operate on a sequence.
2009-05-07 00:33:17 -04:00
Paul Beckingham
72ff15ea7a Enhancements
- Fixed word wrapping problem on "help" page.
- Writes errors to std::cout because std::cerr confuses tests.
  Presumably no users will care.  I don't.
- Added listDiff template function.
2009-05-07 00:30:20 -04:00
Paul Beckingham
fea19e036a Unit Tests - confirmation, delete, subst, undo
- Modified unit tests to accommodate changes in the verbose output
  of task.
- Added tests to verify /delete-me// substitutions.
- Fixed typos in test descriptions.
2009-05-07 00:26:49 -04:00
Paul Beckingham
98391a0c24 Enhancement - Command Line Parsing
- Fixed problem where a blank ID was considered valid.  For example,
  the command "task 1 -2" should use -2 as the description, but instead
  considered this to be the sequence 1,0,2.
- Replaced old validId calls with the new validSequence calls.
- A sequence has been redefined to be the first set of consecutive
  arguments that look like sequences.  Once broken by a non-sequence
  argument, all remaining args, even if they look like a sequence,
  are not considered part of the sequence.  This allows commands like
  "task append 1,3-5 Write 10 emails", where 10 is not part of the
  sequence because of the intervening "Write".
- Unit tests (parse.t.cpp) that exercise the parsing of sequences.
  Should probably be expanded to cover more.
2009-05-07 00:24:30 -04:00
Paul Beckingham
2975b9244a Enhancement - ID and sequences
- The first ID added as a sequence is accessible through the original
  T::getId and T::setId interface.
- An ID added via T::getId is accessible as the first ID in a sequence.
- Allows some commands to operate exclusively with sequences, and others
  with a single ID.
2009-05-07 00:13:31 -04:00
Paul Beckingham
c78be053cb Documentation Update - release checklist
- Create a release checklist document detailing release process.
2009-05-07 00:11:43 -04:00
Paul Beckingham
708995093b Documentation Update
- Removed unnecessary usage.html links from other pages.
- Added new sequence.html page to describe how to use ID sequences.
2009-05-06 23:58:21 -04:00
Paul Beckingham
7fea1f6a63 Merge branch 'sequences' into 1.7.0 2009-05-05 02:16:24 -04:00
Paul Beckingham
b67b27f5cd Enhancement - delete sequences
- Implemented sequences for delete command
- Renamed T::inSequence to T::sequenceContains, which makes the code
  read more naturally.
2009-05-05 02:14:43 -04:00
Paul Beckingham
07819a1885 Documentation Update - defaultwidth
- Defaultwidth is now included in the default .taskrc file.
2009-05-05 02:03:25 -04:00
Paul Beckingham
e03e1ec7b0 Bug Fix - missing defaultwidth in generated .taskrc
- The defaultwidth variable is now written to the default .taskrc
  file, but is commented out to allow ncurses to do it's thing.
2009-05-05 02:00:20 -04:00
Paul Beckingham
fb674a5626 Enhancement - parse sequence like 1,3,5-10 for IDs
- Now parses sequences as well as IDs.
- Sequences implemented for the info report.
2009-05-05 01:59:07 -04:00
Paul Beckingham
410a63fe14 Enhancement - info on recurring tasks
- Added recurrence information (parent, mask, imask, recur, until)
  to the info report when the task is either a recurring task or a
  synthetic task.
2009-05-05 01:03:07 -04:00
Paul Beckingham
2cc625f631 Documentation Update - Mentioned mailing list
- Added mention of the mailing list as a better alternative than
  sending email to PB.
2009-05-04 23:27:22 -04:00
Paul Beckingham
51a78ab996 Documentation Update - Mention new mailing list
- Added mention of new mailing list, as a place to discuss task
  features.
2009-05-04 23:22:34 -04:00
Paul Beckingham
d7f9b2165c Documentation Update - Correction
- Fixed sample commands, which were missing the "add" keyword (thanks
  to T. Charles Yun).
2009-05-04 22:31:14 -04:00
Paul Beckingham
d135dc2337 Enhancement - id sequences
- Recognizes id sequences on the command line.  Doesn't do anything
  with them yet.
2009-05-04 22:24:43 -04:00
Paul Beckingham
57a11a74e1 New Report - timesheet
- Added new timesheet report framework
- Began adding logic pseudo-code
- Added some documentation
2009-05-03 11:32:04 -04:00
Paul Beckingham
f73281ee30 Documentation Update
- Left an extraneous link behind.
2009-05-03 01:26:46 -04:00
Paul Beckingham
262e42d42b Documentation Update
- Merged the (now obsolete) troubleshooting page into the FAQ page.
2009-05-03 01:06:38 -04:00
Paul Beckingham
99174d66b6 Documentation Update
- Added David J Patrick as contributing author for the massive list
  of feature ideas he has provided, and the accompanying dialogue.
- Added mention of the Github issue tracker.
2009-05-03 00:27:11 -04:00
Paul Beckingham
a0838474c4 Diagnostics - Better parsing errors
- Improved the errors when parsing a corrupt or unrecognized pending.data
  or completed.data file.
2009-05-03 00:18:23 -04:00
Paul Beckingham
3235ac592f Documentation Update
- Added names to AUTHORS
- Added Ubuntu 9.04 ncurses tip to faq
2009-04-28 23:55:23 -04:00
Paul Beckingham
dcedbb3076 Unit Tests - bug.annual.t
- Fixed test count.  It was reporting more tests that it actually
  ran.
2009-04-26 18:35:12 -04:00
Paul Beckingham
e84c5c4a3c Merge branch 'master' into 1.7.0
Conflicts:
	ChangeLog
	NEWS
	configure.ac
2009-04-24 01:10:06 -04:00
Paul Beckingham
c4ec5989fe Documentation Update - wrong download file name
- Corrected the source file name.
2009-04-24 00:31:40 -04:00
Paul Beckingham
a737b0e0c8 Merge branch '1.6.1'
Conflicts:
	html/task.html
2009-04-24 00:24:54 -04:00
Paul Beckingham
f2b7780d6b Documentation Update
- Added 1.6.1 details.
2009-04-24 00:20:42 -04:00
Paul Beckingham
1b6faf57c9 Unit Tests - correction to T::compose tests
- Uses " instead of ' to quote annotations.
2009-04-24 00:09:59 -04:00
Paul Beckingham
76c66b8ab1 Documentation Update
- Added Ubuntu 9.04 (Jaunty Jackalope) to the docs.
2009-04-23 23:59:59 -04:00
Paul Beckingham
fe84ddcc98 Bug Fix - missing report labels in default .taskrc
- Added report labels to the .taskrc file that is created by default,
  when no .taskrc is found.  Thanks to P. C. Shyamshankar.
2009-04-23 23:54:21 -04:00
Paul Beckingham
0d832a6848 Documentation Update
- task.html was missing the release date.
2009-04-22 19:51:54 -04:00
Paul Beckingham
a77d4662f8 New Version - 1.6.1 2009-04-22 19:50:06 -04:00
Paul Beckingham
60915cefd4 Documentation Update
- Added 1.6.0 rpm download link.
2009-04-22 19:39:56 -04:00
Paul Beckingham
f896d3f160 Merge branch 'master' into 1.7.0
Conflicts:
	ChangeLog
2009-04-13 21:23:18 -04:00
Paul Beckingham
e23243e195 Bug Fix - missing ///g from usage
- Added text describing the ///g substitution feature.
- Updated ChangeLog.
2009-04-13 20:44:35 -04:00
Paul Beckingham
5b14fb63d8 Documentation Update
- Added a new 1.7.0 section to ChangeLog.
2009-04-13 20:39:41 -04:00
Paul Beckingham
081f8f5b3c Merge branch 'master' into 1.7.0 2009-04-12 23:45:45 -04:00
Paul Beckingham
2f18c512e0 Began 1.7.0 work 2009-04-12 23:39:47 -04:00
702 changed files with 94165 additions and 25662 deletions

1
.github/FUNDING.yml vendored Normal file
View File

@@ -0,0 +1 @@
github: GothenburgBitFactory

12
.github/issue_template.md vendored Normal file
View File

@@ -0,0 +1,12 @@
#### To report a bug...
* What command(s) did you run?
* What did you expect to happen?
* What actually happened?
* Paste the output of the ```task diag``` command.
#### To request a feature...
* Clearly describe the feature.
* Clearly state the use case. We are only interested in use cases, do not waste time with implementation details or suggested syntax.
* Please see our notes on [How to request a feature](https://taskwarrior.org/docs/features.html)

9
.github/pull_request_template.md vendored Normal file
View File

@@ -0,0 +1,9 @@
#### Description
Replace this text with a description of the PR.
#### Additional information...
- [ ] Have you run the test suite?
Many changes need to be tested. Please run the test suite
and include the output of ```cd test && ./problems```.

64
.github/workflows/tests.yaml vendored Normal file
View File

@@ -0,0 +1,64 @@
name: tests
on: [push, pull_request]
jobs:
tests:
strategy:
fail-fast: false
matrix:
include:
- name: "Centos 8"
runner: ubuntu-latest
dockerfile: centos8
- name: "Fedora 32"
runner: ubuntu-latest
dockerfile: fedora32
- name: "Fedora 33"
runner: ubuntu-latest
dockerfile: fedora33
- name: "Fedora 34"
runner: ubuntu-latest
dockerfile: fedora34
- name: "Fedora 35"
runner: ubuntu-latest
dockerfile: fedora35
- name: "Debian Testing"
runner: ubuntu-latest
dockerfile: debiantesting
- name: "Ubuntu 18.04"
runner: ubuntu-latest
dockerfile: ubuntu1804
- name: "Ubuntu 20.04"
runner: ubuntu-latest
dockerfile: ubuntu2004
- name: "Ubuntu 21.04"
runner: ubuntu-latest
dockerfile: ubuntu2104
- name: "Ubuntu 21.10"
runner: ubuntu-latest
dockerfile: ubuntu2110
- name: "OpenSUSE 15"
runner: ubuntu-latest
dockerfile: opensuse15
- name: "Archlinux Base (Rolling)"
runner: ubuntu-latest
dockerfile: arch
- name: "Mac OS X 10.13"
runner: macos-latest
dockerfile: osx
runs-on: ${{ matrix.runner }}
continue-on-error: ${{ matrix.continue-on-error == true }}
steps:
- uses: actions/checkout@v2
- name: Build ${{ matrix.name }}
env:
DOCKER_REGISTRY: docker.pkg.github.com
DOCKER_CACHE_IMAGE: docker.pkg.github.com/${{ github.repository }}/taskwarrior_cache
GITHUB_USER: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CONTAINER: ${{ matrix.dockerfile }}
run: if [[ $CONTAINER != "osx" ]]; then docker-compose build test-$CONTAINER ; fi
- name: Test ${{ matrix.name }}
run: if [[ $CONTAINER != "osx" ]]; then docker-compose run test-$CONTAINER; else bash test/scripts/test_osx.sh ; fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CONTAINER: ${{ matrix.dockerfile }}

32
.gitignore vendored
View File

@@ -1,14 +1,22 @@
aclocal.m4
autom4te.cache
auto.h*
config.h.in
config.status
src/.deps
src/Makefile
*/task
stamp-h1
cmake.h
commit.h
Makefile
configure
config.log
www.xls
src/task
src/taskd
src/libtask.a
src/commands/libcommands.a
src/columns/libcolumns.a
*~
.*.swp
package-config/osx/binary/task
CMakeFiles
CMakeCache.txt
cmake_install.cmake
install_manifest.txt
_CPack_Packages
CPackConfig.cmake
CPackSourceConfig.cmake
patches
*.exe
tutorials
.prove

3
.gitmodules vendored Normal file
View File

@@ -0,0 +1,3 @@
[submodule "src/libshared"]
path = src/libshared
url = https://github.com/GothenburgBitFactory/libshared.git

332
AUTHORS
View File

@@ -1,7 +1,22 @@
Principal Author:
Paul Beckingham, paul@beckingham.net
The development of Taskwarrior was made possible by the significant
contributions of the following people:
Paul Beckingham (Principal Author)
Federico Hernandez (Principal Author)
Tomas Babej (Principal Author)
David J Patrick (Designer)
John Florian (Contributing Author)
Cory Donnelly (Contributing Author)
Johannes Schlatow (Contributing Author)
Dirk Deimeke (Technical Advisor & Evangelist)
Wim Schuermann (Contributing Author)
Owen Clarke (Contributing Author)
Louis-Claude Canon (Contributing Author)
Scott Kostyshak (Contributing Author)
Renato Alves (Contributing Author)
The following submitted code, packages or analysis, and deserve special thanks:
Contributing Authors:
Damian Glenny
Andy Lester
H. İbrahim Güngör
@@ -10,18 +25,150 @@ Contributing Authors:
Benjamin Tegarden
Chris Pride
Richard Querin
Federico Hernandez
T. Charles Yun
P.C. Shyamshankar
Johan Friis
Steven de Brouwer
Pietro Cerutti
Alexander Neumann
Emil Sköldberg
Michal Josífko
Ed Neville
Kevin Owens
Mick Koch
Kathryn Andersen
Alexander Schremmer
Jostein Berntsen
Andraž 'ruskie' Levstik
Irfan Siddiqui
Itay Perl
Sander Marechal
Stephen Heywood
Nicola Busanello
Eric Fluger
Andreas Poisel
Timm Reitinger
Dan White
Alexei Romanoff
Tomas Cech
Duane Waddle
Stefan Keel
Christopher J. Pilkington
Fumihito Yoshida
Michael McCann
Ben Boeckel
Bryce Harrington
Brendan O'Flaherty
Matt Kraai
Daniel Kullmann
Takanobu Watanabe
Paolo Almeida
Michelle Crane
Greg Grossmeier
Barton Meeks
Martin Klepsch
Ralph Bean
Uli Martens
Michal Vyskocil
Steve Rader
Luke Macken
Sam Stuck
Christoph Robbert
Oleksii Tsai
Jörg Plate
Markus Kuhn
Erik Wenzel
Štěpán Henek
Haitham Gad
Fidel Mato
Justin Forest
Vincent Petithory
Rainer Müller
Jakub Wilk
Russell Steicke
YBSAR
Ben Armstrong
Tullio Facchinetti
Thomas Sullivan
Martin Natano
kili
jasper
Aaron Bieber
John West
Jeroen Budts
Zed Jorarard
Elias Probst
Natanael Copa
Marton Suranyi
Nicolas Appriou
Jochen Sprickerhof
Alexander Sulfrian
David Binderman
atomicules
catern
Tatjana Heuser
leowzukw
Richard Boß
Markus Beppler
Jeremy John Reeder
Roman Inflianskas
Łukasz Panek
V.Krishn
Jens Erat
Peter Rochen
Oota Toshiya
ribbon
Daniel Shahaf
Johannes Wienke
Alan Young
Gordon Ball
Rafał Bolanowski
Sunil Joshi
Misty De Meo
Kent R. Spillner
Konstantin Vorobyev
Tom Sydney Kerckhove
Lynoure Braakman
Sebastien Badia
Ran Benita
Vladimir
Zachary Manning
jrabbit
Jelle van der Waa
Flavio Poletti
Antonio Huete Jimenez
Lukas Barth
Øyvind A. Holm
Paul J. Fenwick
Michael Neumann
Mark Scannell
buhtz
Tiago Matias
Simon Ruderich
Kirill Bobyrev
Simon Désaulniers
Janik Rabe
mrossinek
taiyu-len
Chad Phillips
Lionel Miller
Florian Heiderich
Anthony VB
Julien Rabinow
Daniel Mowitz
Scott Mcdermott
Bharatvaj
Thanks to the following, who submitted detailed bug reports and excellent
suggestions:
With thanks to:
Eugene Kramer
Srijith K
Bruce Israel
Thomas Engel
Nishiishii
galvanizd
Stas Antons
Vincent Fleuranceau
T. Charles Yun
ArchiMark
Carlos Yoder
Russell Friesenhahn
@@ -29,4 +176,173 @@ With thanks to:
Eric Farris
Bruce Dillahunty
Askme Too
Mike Adonay
Thomas@BIC
Ian Mortimer
Zach Frazier
Ivo Jimenez
Joe Pulliam
Juergen Daubert
Rich Mintz
Seneca Cunningham
Alexander Schremmer
Elizabeth Maxson
Peter De Poorter
Max Muller
Thomas Sattler
Erlan Sergaziev
Andy Kriger
Patrick R McDonald
Pete Lewis
Stefan Hacker
Alan Barton
Jonathan Hankins
Andreas Kalex
Adam Wolk
Tom Duffy
Miguel de Val Borro
Yann Davin
John Hammond
Arkady Grudzinsky
Bernhard B
Aikido Guy
Gour-Gadadhara Dasa
Aaron Jackson
Dmitriy Samborskiy
Eli Lev
Paul-Gheorghe Barbu
Jennifer Cormier
Joe Holloway
Peter Lewis
Najmi Ahmad Zabidi
Philipp Woelfel
Tuomas Toivola
Adam Gibbins
Ali Mousavi
Victor Roetman
Andy Spiegl
Ethan Schoonover
Paul Kishimoto
Jeff Schroeder
Bryan Kam
Nicholas Rabenau
Bruno Bigras
Hyde Stevenson
Martin U
Christoph Lange
Stephen Hay
Vlad Zhivotnev
Stanley G
Marek Vitek
Rene Vergara
Stéphane Pezennec
Jim B
Robert Gill
Robin Björklin
Jake Bell
Florian Hollerweger
Thomas Sullivan
Tim None
trHD
Benjamin Weber
alparo
Roy Zuo
Friedrich Heusler
Ben Armstrong
XTaran
John West
Dmitriy Matrosov
Michele Santullo
Scott Kroll
Kosta Harlan
Hector Arciga
Jan Kunder
jck
Michele Vetturi
Jeremiah Marks
Profpatsch
Bernd Humpa
darkfeline
Onion
Milos Svantner
Christopher Roberts
Steffen Uhlig
Dirk Sarpe
Will Dietz
Charles Ulrich
Jack
Kevin Ballard
Sitaram Chamarty
lolilolicon
Lee Lieske
Peter Vitt
dev-zero
Petteri
Black Ops Testing
Leon Feng
Nick Person
Arnoud K
Ozgur Akgun
David Costa
Sujeevan Vijayakumaran
Scott Carter
Taisuke Hachimura
Martin
Alexandre de Verteuil
Scott M
Stefan Frühwirth
Pierre Campet
Denis Kasak
David Brenner
Audrey Easterday
Stefan Betz
Blake Sweeney
Dylan Mikus
Andrea Rizzi
Florian Petry
Lars Beckers
Dustin J. Mitchell
James Cline
Ryan
Simon W. Jackson
Michale Meier
Svetoslav Trochev
Marc Cornellà
Ander
Naga Kiran
David Badura
James Dietrich
JDufault
Simon Michael
Robin Green
pawprint
Reg
Yaroslav Molochko
Michael Meier
Slaven ʙanovic
Ellington Santos
george js
E. Manuel Cerr'on Angeles
Andrew
bjonnh
OKOMper
eldios
Eli
Sergey Trofimov
eezewaek
Hubert Toullec
Eric Hymowitz
Dan Callahan
Martin Strunz
Kai HTML
Marc Richter
rjc
php-coder
Martin F. Krafft
tom-doerr
ad-si
coaxial
Arvedui
reportaman
Pablo Vizcay
Jake C.

191
CMakeLists.txt Normal file
View File

@@ -0,0 +1,191 @@
cmake_minimum_required (VERSION 3.5)
set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")
include (CheckFunctionExists)
include (CheckStructHasMember)
set (HAVE_CMAKE true)
project (task)
include (CXXSniffer)
set (PROJECT_VERSION "2.6.2")
OPTION (ENABLE_WASM "Enable 'wasm' support" OFF)
if (ENABLE_WASM)
message ("Enabling WASM support.")
set(CMAKE_EXECUTABLE_SUFFIX ".js")
endif (ENABLE_WASM)
OPTION (ENABLE_SYNC "Enable 'task sync' support" ON)
if (ENABLE_SYNC)
set (USE_GNUTLS ON CACHE BOOL "Build gnutls support." FORCE)
else (ENABLE_SYNC)
set (USE_GNUTLS OFF CACHE BOOL "Build gnutls support." FORCE)
message (WARNING "ENABLE_SYNC=OFF. Not building sync support.")
endif (ENABLE_SYNC)
message ("-- Looking for libshared")
if (EXISTS ${CMAKE_SOURCE_DIR}/src/libshared/src)
message ("-- Found libshared")
else (EXISTS ${CMAKE_SOURCE_DIR}/src/libshared/src)
message ("-- Cloning libshared")
execute_process (COMMAND git submodule update --init
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
endif (EXISTS ${CMAKE_SOURCE_DIR}/src/libshared/src)
message ("-- Looking for SHA1 references")
if (EXISTS ${CMAKE_SOURCE_DIR}/.git/index)
set (HAVE_COMMIT true)
execute_process (COMMAND git log -1 --pretty=format:%h
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
OUTPUT_VARIABLE COMMIT)
configure_file ( ${CMAKE_SOURCE_DIR}/commit.h.in
${CMAKE_SOURCE_DIR}/commit.h)
message ("-- Found SHA1 reference: ${COMMIT}")
endif (EXISTS ${CMAKE_SOURCE_DIR}/.git/index)
set (PACKAGE "${PROJECT_NAME}")
set (VERSION "${PROJECT_VERSION}")
set (PACKAGE_BUGREPORT "support@gothenburgbitfactory.org")
set (PACKAGE_NAME "${PACKAGE}")
set (PACKAGE_TARNAME "${PACKAGE}")
set (PACKAGE_VERSION "${VERSION}")
set (PACKAGE_STRING "${PACKAGE} ${VERSION}")
if (FREEBSD OR DRAGONFLY)
SET (TASK_MAN1DIR man/man1 CACHE STRING "Installation directory for man pages, section 1")
SET (TASK_MAN5DIR man/man5 CACHE STRING "Installation directory for man pages, section 5")
else (FREEBSD OR DRAGONFLY)
SET (TASK_MAN1DIR share/man/man1 CACHE STRING "Installation directory for man pages, section 1")
SET (TASK_MAN5DIR share/man/man5 CACHE STRING "Installation directory for man pages, section 5")
endif (FREEBSD OR DRAGONFLY)
SET (TASK_DOCDIR share/doc/task CACHE STRING "Installation directory for doc files")
SET (TASK_RCDIR "${TASK_DOCDIR}/rc" CACHE STRING "Installation directory for configuration files")
SET (TASK_BINDIR bin CACHE STRING "Installation directory for the binary")
if (USE_GNUTLS)
message ("-- Looking for GnuTLS")
find_package (GnuTLS)
if (GNUTLS_FOUND)
set (HAVE_LIBGNUTLS true)
set (TASK_INCLUDE_DIRS ${TASK_INCLUDE_DIRS} ${GNUTLS_INCLUDE_DIR})
set (TASK_LIBRARIES ${TASK_LIBRARIES} ${GNUTLS_LIBRARIES})
endif (GNUTLS_FOUND)
endif (USE_GNUTLS)
if (ENABLE_SYNC AND NOT GNUTLS_FOUND)
message (FATAL_ERROR "Cannot find GnuTLS. Use -DENABLE_SYNC=OFF to build Taskwarrior without sync support. See INSTALL for more information.")
endif (ENABLE_SYNC AND NOT GNUTLS_FOUND)
check_function_exists (timegm HAVE_TIMEGM)
check_function_exists (get_current_dir_name HAVE_GET_CURRENT_DIR_NAME)
check_function_exists (wordexp HAVE_WORDEXP)
check_struct_has_member ("struct tm" tm_gmtoff time.h HAVE_TM_GMTOFF)
check_struct_has_member ("struct stat" st_birthtime "sys/types.h;sys/stat.h" HAVE_ST_BIRTHTIME)
message ("-- Looking for libuuid")
if (DARWIN OR FREEBSD OR OPENBSD)
# Apple and FreeBSD include the uuid functions in their libc, rather than libuuid
check_function_exists (uuid_unparse_lower HAVE_UUID_UNPARSE_LOWER)
else (DARWIN OR FREEBSD OR OPENBSD)
find_path (UUID_INCLUDE_DIR uuid/uuid.h)
find_library (UUID_LIBRARY NAMES uuid)
if (UUID_INCLUDE_DIR AND UUID_LIBRARY)
set (TASK_INCLUDE_DIRS ${TASK_INCLUDE_DIRS} ${UUID_INCLUDE_DIR})
set (TASK_LIBRARIES ${TASK_LIBRARIES} ${UUID_LIBRARY})
# Look for uuid_unparse_lower
set (CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${UUID_INCLUDE_DIR})
set (CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${UUID_LIBRARY})
check_function_exists (uuid_unparse_lower HAVE_UUID_UNPARSE_LOWER)
else (UUID_INCLUDE_DIR AND UUID_LIBRARY)
message (FATAL_ERROR "-- libuuid not found.")
endif (UUID_INCLUDE_DIR AND UUID_LIBRARY)
endif (DARWIN OR FREEBSD OR OPENBSD)
if (HAVE_UUID_UNPARSE_LOWER)
message ("-- Found libuuid")
else (HAVE_UUID_UNPARSE_LOWER)
message ("-- Found libuuid, using internal uuid_unparse_lower")
endif (HAVE_UUID_UNPARSE_LOWER)
if (HAIKU)
# search for socket() in libnetwork on Haiku
message("-- Looking for libnetwork")
find_library (NETWORK_LIBRARY NAMES network)
if (NETWORK_LIBRARY)
set (TASK_LIBRARIES ${TASK_LIBRARIES} ${NETWORK_LIBRARY})
else (NETWORK_LIBRARY)
message(FATAL_ERROR "-- libnetwork not found.")
endif (NETWORK_LIBRARY)
endif (HAIKU)
if (SOLARIS)
# accept() is in libsocket according to its manpage
message("-- Looking for libsocket")
find_library (SOCKET_LIBRARY NAMES socket)
if (SOCKET_LIBRARY)
set (TASK_LIBRARIES ${TASK_LIBRARIES} ${SOCKET_LIBRARY})
else (SOCKET_LIBRARY)
message(FATAL_ERROR "-- libsocket not found.")
endif (SOCKET_LIBRARY)
# inet_ntop() is in libnsl according to its manpage
message("-- Looking for libnsl")
find_library (NSL_LIBRARY NAMES nsl)
if (NSL_LIBRARY)
set (TASK_LIBRARIES ${TASK_LIBRARIES} ${NSL_LIBRARY})
else (NSL_LIBRARY)
message(FATAL_ERROR "-- libnsl not found.")
endif (NSL_LIBRARY)
endif (SOLARIS)
message ("-- Configuring cmake.h")
configure_file (
${CMAKE_SOURCE_DIR}/cmake.h.in
${CMAKE_SOURCE_DIR}/cmake.h)
add_subdirectory (src)
add_subdirectory (src/commands)
add_subdirectory (src/columns)
add_subdirectory (doc)
add_subdirectory (scripts)
if (EXISTS ${CMAKE_SOURCE_DIR}/test)
add_subdirectory (test EXCLUDE_FROM_ALL)
endif (EXISTS ${CMAKE_SOURCE_DIR}/test)
if (EXISTS performance)
add_subdirectory (performance EXCLUDE_FROM_ALL)
endif (EXISTS performance)
set (doc_FILES NEWS ChangeLog README.md INSTALL AUTHORS COPYING LICENSE)
foreach (doc_FILE ${doc_FILES})
install (FILES ${doc_FILE} DESTINATION ${TASK_DOCDIR})
endforeach (doc_FILE)
add_custom_command(OUTPUT run-review
COMMAND docker build -q --build-arg PR=$(PR) --build-arg LIBPR=$(LIBPR) -t taskwarrior-review:$(PR)s$(LIBPR) - < scripts/review-dockerfile
COMMAND docker run --rm --memory 1g --hostname pr-$(PR)s$(LIBPR) -it taskwarrior-review:$(PR)s$(LIBPR) bash || :
)
add_custom_target(review DEPENDS run-review)
add_custom_command(OUTPUT run-reproduce
COMMAND docker build -q --build-arg RELEASE=$(RELEASE) -t taskwarrior-reproduce:$(RELEASE) - < scripts/reproduce-dockerfile
COMMAND docker run --rm --memory 1g --hostname tw-$(RELEASE) -it taskwarrior-reproduce:$(RELEASE) bash || :
)
add_custom_target(reproduce DEPENDS run-reproduce)
# ---
set (CPACK_SOURCE_GENERATOR "TGZ")
set (CPACK_SOURCE_PACKAGE_FILE_NAME ${PACKAGE_NAME}-${PACKAGE_VERSION})
set (CPACK_SOURCE_IGNORE_FILES "CMakeCache" "CMakeFiles" "CPackConfig" "CPackSourceConfig"
"_CPack_Packages" "cmake_install" "install_manifest" "Makefile$"
"test" "package-config" "misc/*" "src/task$" "src/calc$" "performance"
"src/libtask.a" "src/columns/libcolumns.a" "src/commands/libcommands.a"
"swp$" "src/lex$" "task-.*.tar.gz" "commit.h" "cmake.h$" "\\\\.gitmodules"
"src/libshared/\\\\.git" ".github/" ".*\\\\.gitignore$"
"src/liblibshared.a" "docker-compose.yml" "\\\\.git/")
include (CPack)

294
COPYING
View File

@@ -1,281 +1,23 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Taskwarrior - a command line task list manager.
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
Preamble
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
https://www.opensource.org/licenses/mit-license.php

2921
ChangeLog

File diff suppressed because it is too large Load Diff

146
DEVELOPER.md Normal file
View File

@@ -0,0 +1,146 @@
# How to Build Taskwarrior
## Satisfy the Requirements:
* CMake 3.0 or later
* gcc 7.0 or later, clang 6.0 or later, or a compiler with full C++17 support
* libuuid (if not on macOS)
* gnutls (optional)
* python 3 (optional, for running the test suite)
## Obtain and build code:
```
$ git clone --recursive https://github.com/GothenburgBitFactory/taskwarrior taskwarrior.git
$ cd taskwarrior.git
$ git checkout develop # Latest dev branch
$ git submodule init # This is now done by cmake as a test
$ git submodule update # Update the libhsared.git submodule
$ cmake -DCMAKE_BUILD_TYPE=debug . # debug or release. Default: neither
$ make VERBOSE=1 -j4 # Shows details, builds using 4 jobs
# Alternately 'export MAKEFLAGS=-j 4'
```
## Running Test Suite:
```
$ cd test
$ make VERBOSE=1 # Shows details
$ ./run_all # Runs all tests silently > all.log
$ ./problems # Enumerate test failures in all.log
```
Note that any development should be performed using a git clone, and the
current development branch. The source tarballs do not reflect HEAD, and do
not contain the test suite.
If you send a patch (support@gothenburgbitfactory.org), make sure that patch is made
against git HEAD on the development branch. We cannot apply patches made
against the tarball source, or master.
# General Statement
This file is intended to convey the current efforts, priorities and needs of
the code base. It is for anyone looking for a way to start contributing.
Here are many ways to contribute that may not be obvious:
* Use Taskwarrior, become familiar with it, and make suggestions. There are
always ongoing discussions about new features and changes to existing
features.
* Join us in the #taskwarrior IRC channel on freenode.net or libera.chat.
Many great ideas, suggestions, testing and discussions have taken place
there. It is also the quickest way to get help, or confirm a bug.
* Review documentation: there are man pages, online articles, tutorials and
so on, and these may contain errors, or they may not convey ideas in the
best way. Perhaps you can help improve it. Contact us - documentation is
a separate effort from the code base, and includes all web sites, and all
are available as git repositories.
* Take a look at the bug database, and help triage the bug list. This is a
review process that involves confirming bugs, providing additional data,
information or analysis. Bug triage is very useful and much needed. You
could check to see that an old bug is still relevant - sometimes they are
not.
* Review the source code, and point out inefficiencies, problems, unreadable
functions, bugs and assumptions.
* Fix a bug. For this you'll need C++ and Git skills. We welcome all bug
fixes, provided the work is done well and doesn't create other problems or
introduce new dependencies. We recommend talking to us before starting.
Seriously.
* Add unit tests. Unit tests are possibly the most useful contributions of
all, because they not only improve the quality of the code, but prevent
future regressions, therefore maintaining quality of subsequent releases.
Plus, broken tests are a great motivator for us to fix the causal defect.
You'll need Python skills.
* Add a feature. Well, let's be very clear about this: adding a feature is
not usually well-received, and if you add a feature and send a patch, it
will most likely be rejected. The reason for this is that there are many
efforts under way, in various code branches. There is a very good chance
that the feature you add is either already in progress, or being done in a
way that is more fitting when considering other work in progress. So if
you want to add a feature, please don't. Start by talking to us, and find
out what is currently under way or planned. You might find that we've
already rejected such a feature for some very good reasons. So please
check first, so we don't duplicate effort or waste anyone's time.
* Spread the word. Help others become more effective at managing tasks.
* Encouragement. Tell us what works for you, and what doesn't. Tell us about
your methodology for managing tasks. It's all useful information.
* Request a feature. This not only tells us that you think something is
missing from the software, but gives us insights into how you use it.
Plus, you might get your feature implemented.
# Unit Tests Needed
There are always more unit tests needed. More specifically, better unit tests
are always needed. The convention is that there are four types of unit test:
1. High level tests that exercise large features, or combinations of commands.
For example, dependencies.t runs through a long list of commands that test
dependencies, but do so by using 'add', 'modify', 'done' and 'delete'.
1. Regression tests that ensure certain bugs are fixed and stay fixed. These
tests are named tw-NNNN.t where NNNN refers to the bug number. While it is
not worth creating tests for small fixes like typos, it is for logic
changes.
1. Small feature tests. When small features are added, we would like small,
low-level feature tests named feature.t, with a descriptive name and
focused tests.
1. Code tests. These are tests written in C++ that exercise C++ objects, or
function calls. These are the lowest level tests. It is important that
these kind of tests be extensive and thorough, because the software depends
on this code the most.
The tests are written in Python, Bash and C++, and all use TAP.
## Tests needed
* Take a look at the bug database (https://github.com/GothenburgBitFactory/taskwarrior/issues)
and notice that many issues, open and closed, have the "needsTest" label.
These are things that we would like to see in the test suite, as regression
tests.
All new unit tests should follow the test/template.t standard.
# Patches
Patches are encouraged and welcomed. Either send a pull request on Github or
email a patch to support@taskwarrior.org. A good patch:
* Maintains the MIT license, and does not contain code lifted from other
sources. You will have written 100% of the code in the patch, otherwise
we cannot maintain the license.
* Precisely addresses one issue only.
* Doesn't break unit tests. This means yes, run the unit tests.
* Doesn't introduce dependencies.
* Is accompanied by new or updated unit tests, where appropriate.
* Is accompanied by documentation changes, where appropriate.
* Conforms to the prevailing coding standards - in other words, it should
fit in with the existing code.
A patch may be rejected for violating any of the above rules, and more.
Bad patches may be accepted and modified depending on work load and mood. It
is possible that a patch may be rejected because it conflicts in some way with
plans or upcoming changes. Check with us first, before sinking time and effort
into a patch.

View File

@@ -1,22 +0,0 @@
Developers may wish to change task, and here is a high-level guide to the files
included.
task.{cpp,h} Implements main, high level processing.
command.cpp Implements all non-report task commands.
report.cpp Implements all task reports.
parse.cpp Parses the command line.
TDB.{cpp,h} The task database, performs all file I/O.
T.{cpp,h} Represents a single task - parses a record from TDB, and also
composes record for TDB. Provides accessors for tasks.
Grid.{cpp,h} Implements a sparse 2D array, provides data storage for the
Table object.
Table.{cpp,h} Implements tabular data rendering, wrapping etc.
Config.{cpp,h} Implements a reader for the .taskrc file.
Date.{cpp,h} General date class for the time_t type.
text.cpp Text manipulation functions.
util.cpp General utility functions.
color.cpp Color support functions.
rules.cpp Auto-colorization rules.
Don't forget, please send bugs, patches to task@beckingham.net

305
INSTALL
View File

@@ -1,234 +1,189 @@
Installation Instructions
*************************
-------------------------
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
2006 Free Software Foundation, Inc.
Please follow the instructions below to build and install Taskwarrior from
source.
Dependencies
------------
You will need the CMake 3.0+ build system installed in order to build Taskwarrior
from source. More information on CMake can be obtained at https://cmake.org
You will also need:
- make
You will need a C++ compiler that supports full C++17, which includes:
- gcc 7.1 (released 2017-05-02)
- clang 5.0 (released 2017-09-07)
You will need the following libraries:
- libuuid (not needed for OSX)
- gnutls (can be optional - see '"sync" command' below)
This file is free documentation; the Free Software Foundation gives
unlimited permission to copy, distribute and modify it.
Basic Installation
==================
------------------
Briefly, the shell commands `./configure; make; make install' should
configure, build, and install this package. The following
more-detailed instructions are generic; see the `README' file for
instructions specific to this package.
Briefly, these shell commands will unpack, build and install Taskwarrior:
The `configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation. It uses
those values to create a `Makefile' in each directory of the package.
It may also create one or more `.h' files containing system-dependent
definitions. Finally, it creates a shell script `config.status' that
you can run in the future to recreate the current configuration, and a
file `config.log' containing compiler output (useful mainly for
debugging `configure').
$ tar xzf task-X.Y.Z.tar.gz [1]
$ cd task-X.Y.Z [2]
$ cmake -DCMAKE_BUILD_TYPE=release . [3]
$ make [4]
$ sudo make install [5]
$ cd .. ; rm -r task-X.Y.Z [6]
It can also use an optional file (typically called `config.cache'
and enabled with `--cache-file=config.cache' or simply `-C') that saves
the results of its tests to speed up reconfiguring. Caching is
disabled by default to prevent problems with accidental use of stale
cache files.
These commands are explained below:
If you need to do unusual things to compile the package, please try
to figure out how `configure' could check whether to do them, and mail
diffs or instructions to the address given in the `README' so they can
be considered for the next release. If you are using the cache, and at
some point `config.cache' contains results you don't want to keep, you
may remove or edit it.
1. Unpacks the source tarball. This creates the directory task-X.Y.Z,
containing all the code.
The file `configure.ac' (or `configure.in') is used to create
`configure' by a program called `autoconf'. You need `configure.ac' if
you want to change it or regenerate `configure' using a newer version
of `autoconf'.
2. Change directory to the root of the distribution.
The simplest way to compile this package is:
3. Invokes CMake to scan for dependencies and machine-specific details, then
generate the makefiles. Requests an optimized build, which will run faster
and be more compact. This may take a minute.
1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system.
4. Builds Taskwarrior. This may take a minute.
Running `configure' might take a while. While running, it prints
some messages telling which features it is checking for.
5. Installs the program, documentation and other data files.
2. Type `make' to compile the package.
6. Removes the temporary directory.
3. Optionally, type `make check' to run any self-tests that come with
the package.
4. Type `make install' to install the programs and any data files and
documentation.
Build and configurations options
--------------------------------
5. You can remove the program binaries and object files from the
source code directory by typing `make clean'. To also remove the
files that `configure' created (so you can compile the package for
a different kind of computer), type `make distclean'. There is
also a `make maintainer-clean' target, but that is intended mainly
for the package's developers. If you use it, you may have to get
all sorts of other programs in order to regenerate files that came
with the distribution.
You can customize the configuration run with cmake variables. This will modify
the installation process:
Compilers and Options
=====================
To change the installation directory you use the following configuration
variable:
Some systems require unusual options for compilation or linking that the
`configure' script does not know about. Run `./configure --help' for
details on some of the pertinent environment variables.
$ cmake -DCMAKE_INSTALL_PREFIX=<path-to-installation-dir> .
You can give `configure' initial values for configuration parameters
by setting variables in the command line or in the environment. Here
is an example:
cmake configuration variables are applied with the -D option and consist of a
<name> and a <value>:
./configure CC=c99 CFLAGS=-g LIBS=-lposix
$ cmake -D<name>=<value> .
*Note Defining Variables::, for more details.
Four more variables can customize the installation process. The following table
lists them and their defaults plus the CMAKE_INSTALL_PREFIX:
Compiling For Multiple Architectures
====================================
CMAKE_INSTALL_PREFIX /usr/local
TASK_BINDIR bin
TASK_DOCDIR share/doc/task
TASK_RCDIR share/doc/task/rc
TASK_MAN1DIR share/man/man1
TASK_MAN5DIR share/man/man5
You can compile the package for more than one kind of computer at the
same time, by placing the object files for each architecture in their
own directory. To do this, you can use GNU `make'. `cd' to the
directory where you want the object files and executables to go and run
the `configure' script. `configure' automatically checks for the
source code in the directory that `configure' is in and in `..'.
The corresponding TASK_* variables will be combined with CMAKE_INSTALL_PREFIX to
get absolute installation directories:
With a non-GNU `make', it is safer to compile the package for one
architecture at a time in the source code directory. After you have
installed the package for one architecture, use `make distclean' before
reconfiguring for another architecture.
CMAKE_INSTALL_PREFIX/TASK_BINDIR /usr/local/bin
CMAKE_INSTALL_PREFIX/TASK_DOCDIR /usr/local/share/doc/task
CMAKE_INSTALL_PREFIX/TASK_RCDIR /usr/local/share/doc/task/rc
CMAKE_INSTALL_PREFIX/TASK_MAN1DIR /usr/local/share/man/man1
CMAKE_INSTALL_PREFIX/TASK_MAN5DIR /usr/local/share/man/man5
Installation Names
==================
By default, `make install' installs the package's commands under
`/usr/local/bin', include files under `/usr/local/include', etc. You
can specify an installation prefix other than `/usr/local' by giving
`configure' the option `--prefix=PREFIX'.
"sync" command
--------------
You can specify separate installation prefixes for
architecture-specific files and architecture-independent files. If you
pass the option `--exec-prefix=PREFIX' to `configure', the package uses
PREFIX as the prefix for installing programs and libraries.
Documentation and other data files still use the regular prefix.
By default, GnuTLS support is required, which enables the "sync" command.
For Debian based distributions, installing "libgnutls-dev" is sufficient.
In addition, if you use an unusual directory layout you can give
options like `--bindir=DIR' to specify different values for particular
kinds of files. Run `configure --help' for a list of the directories
you can set and what kinds of files go in them.
In order to build Taskwarrior without "sync" support, call cmake with the
"-DENABLE_SYNC=OFF" flag:
If the package supports it, you can cause programs to be installed
with an extra prefix or suffix on their names by giving `configure' the
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
$ cmake . -DENABLE_SYNC=OFF
Optional Features
=================
and proceed as described in "Basic Installation".
Some packages pay attention to `--enable-FEATURE' options to
`configure', where FEATURE indicates an optional part of the package.
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
is something like `gnu-as' or `x' (for the X Window System). The
`README' should mention any `--enable-' and `--with-' options that the
package recognizes.
For packages that use the X Window System, `configure' can usually
find the X include and library files automatically, but if it doesn't,
you can use the `configure' options `--x-includes=DIR' and
`--x-libraries=DIR' to specify their locations.
Uninstallation
--------------
Specifying the System Type
==========================
There is no uninstall option in CMake makefiles. This is a manual process.
There may be some features `configure' cannot figure out automatically,
but needs to determine by the type of machine the package will run on.
Usually, assuming the package is built to be run on the _same_
architectures, `configure' can figure that out, but if it prints a
message saying it cannot guess the machine type, give it the
`--build=TYPE' option. TYPE can either be a short name for the system
type, such as `sun4', or a canonical name which has the form:
To uninstall Taskwarrior, remove the files listed in the install_manifest.txt
file that was generated when you built Taskwarrior.
CPU-COMPANY-SYSTEM
where SYSTEM can have one of these forms:
Taskwarrior Build Notes
-----------------------
OS KERNEL-OS
Taskwarrior has dependencies that are detected by CMake in almost all cases, but
there are situations and operating systems that mean you will need to offer a
little help.
See the file `config.sub' for the possible values of each field. If
`config.sub' isn't included in this package, then this package doesn't
need to know the machine type.
If Taskwarrior will not build on your system, first take a look at the Operating
System notes below. If this doesn't help, then go to the Troubleshooting
section, which includes instructions on how to contact us for help.
If you are _building_ compiler tools for cross-compiling, you should
use the option `--target=TYPE' to select the type of system they will
produce code for.
If you want to _use_ a cross compiler, that generates code for a
platform different from the build platform, you should specify the
"host" platform (i.e., that on which the generated programs will
eventually be run) with `--host=TYPE'.
Operating System Notes
----------------------
Sharing Defaults
================
Cygwin
If 'make install' fails when writing to the /usr/local/share/ directory,
this may be because your current login doesn't have permission to write
to the Windows directory containing your Cygwin installation. Either
login to Windows as an Administrator and try the 'make install' process
again, or reinstall Cygwin under your normal Windows login.
If you want to set default values for `configure' scripts to share, you
can create a site shell script called `config.site' that gives default
values for variables like `CC', `cache_file', and `prefix'.
`configure' looks for `PREFIX/share/config.site' if it exists, then
`PREFIX/etc/config.site' if it exists. Or, you can set the
`CONFIG_SITE' environment variable to the location of the site script.
A warning: not all `configure' scripts look for a site script.
Defining Variables
==================
Darwin, 32bit
Taskwarrior needs to be built from source, and use this configure command:
Variables not defined in a site shell script can be set in the
environment passed to `configure'. However, some packages may run
configure again during the build, and the customized values of these
variables may be lost. In order to avoid this problem, you should set
them in the `configure' command line, using `VAR=value'. For example:
cmake -DCMAKE_C_FLAGS=-m32 -DCMAKE_CXX_FLAGS=-m32 -DCMAKE_EXE_LINKER_FLAGS=-m32 .
./configure CC=/usr/local2/bin/gcc
See:
https://taskwarrior.org/issues/817
https://stackoverflow.com/questions/3261909/build-32bit-on-64-bit-linux-using-a-configure-script
https://stackoverflow.com/questions/2617508/cmake-gcc-cuda-and-m32-wtf
https://stackoverflow.com/questions/6077414/cmake-how-to-set-the-ldflags-in-cmakelists-txt
causes the specified `gcc' to be used as the C compiler (unless it is
overridden in the site shell script).
Unfortunately, this technique does not work for `CONFIG_SHELL' due to
an Autoconf bug. Until the bug is fixed you can use this workaround:
OpenBSD
In order to build Taskwarrior 2.4.2+, you might need to install a newer GCC
version from ports or packages.
CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
Afterwards, run
cmake -DCMAKE_CXX_COMPILER=eg++ .
`configure' Invocation
======================
and build normally.
`configure' recognizes the following options to control how it operates.
See: https://github.com/GothenburgBitFactory/taskwarrior/issues/1605
`--help'
`-h'
Print a summary of the options to `configure', and exit.
WASM
Using the Emscripten compiler, you can achieve it like this:
`--version'
`-V'
Print the version of Autoconf used to generate the `configure'
script, and exit.
cmake -DCMAKE_CXX_COMPILER=emcc -DENABLE_SYNC=OFF -DCMAKE_BUILD_TYPE=release -DENABLE_WASM=ON \
-DCMAKE_EXE_LINKER_FLAGS="-m32 -s NO_DYNAMIC_EXECUTION=1 -s WASM=1 -s NO_EXIT_RUNTIME=1 -s INVOKE_RUN=0" \
-DCMAKE_CXX_FLAGS_RELEASE="-O2 -m32"
`--cache-file=FILE'
Enable the cache: use and save the results of the tests in FILE,
traditionally `config.cache'. FILE defaults to `/dev/null' to
disable caching.
This will produce an optimized WASM with a main() that is callable multiple times.
`--config-cache'
`-C'
Alias for `--cache-file=config.cache'.
Troubleshooting
---------------
`--quiet'
`--silent'
`-q'
Do not print messages saying which checks are being made. To
suppress all normal output, redirect it to `/dev/null' (any error
messages will still be shown).
If you've recently made changes to dependencies (by reinstalling them, for
example) be sure to rerun 'cmake .' before trying to execute 'make' again.
`--srcdir=DIR'
Look for the package's source code in directory DIR. Usually
`configure' can determine that directory automatically.
CMake will run and locate all the necessary pieces for the build, and create
a Makefile. There may be errors and warnings when running CMake, or there
may be compiler errors and warnings when running 'make'. Sometimes you will run
CMake with no reported problems, and the build will fail later. This is
almost always because CMake is mistaken about some assumption.
`configure' also accepts some other, not widely useful, options. Run
`configure --help' for more details.
If a build does not succeed, please send the contents of the 'CMakeCache.txt'
and 'CMakeFiles/CMakeOutput.log' files to support@gothenburgbitfactory.org.
If CMake runs but Taskwarrior does not build, please send the contents of the
above files as well as a transcript from the build, which is not written to a
file and must be captured from the terminal.
---

24
LICENSE Normal file
View File

@@ -0,0 +1,24 @@
The MIT License
https://www.opensource.org/licenses/mit-license.php
Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -1,3 +0,0 @@
SUBDIRS = src
EXTRA_DIST = DEVELOPERS

View File

@@ -1,595 +0,0 @@
# Makefile.in generated by automake 1.10 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
subdir = .
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in $(srcdir)/auto.h.in \
$(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
depcomp install-sh missing
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno config.status.lineno
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = auto.h
CONFIG_CLEAN_FILES =
SOURCES =
DIST_SOURCES =
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
html-recursive info-recursive install-data-recursive \
install-dvi-recursive install-exec-recursive \
install-html-recursive install-info-recursive \
install-pdf-recursive install-ps-recursive install-recursive \
installcheck-recursive installdirs-recursive pdf-recursive \
ps-recursive uninstall-recursive
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
ETAGS = etags
CTAGS = ctags
DIST_SUBDIRS = $(SUBDIRS)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
am__remove_distdir = \
{ test ! -d $(distdir) \
|| { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
&& rm -fr $(distdir); }; }
DIST_ARCHIVES = $(distdir).tar.gz
GZIP_ENV = --best
distuninstallcheck_listfiles = find . -type f -print
distcleancheck_listfiles = find . -type f -print
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
GREP = @GREP@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MKDIR_P = @MKDIR_P@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
VERSION = @VERSION@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_CC = @ac_ct_CC@
ac_ct_CXX = @ac_ct_CXX@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
bindir = @bindir@
build_alias = @build_alias@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host_alias = @host_alias@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
SUBDIRS = src
EXTRA_DIST = DEVELOPERS
all: auto.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
.SUFFIXES:
am--refresh:
@:
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
cd $(srcdir) && $(AUTOMAKE) --gnu \
&& exit 0; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
echo ' $(SHELL) ./config.status'; \
$(SHELL) ./config.status;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
$(top_srcdir)/configure: $(am__configure_deps)
cd $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
auto.h: stamp-h1
@if test ! -f $@; then \
rm -f stamp-h1; \
$(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
else :; fi
stamp-h1: $(srcdir)/auto.h.in $(top_builddir)/config.status
@rm -f stamp-h1
cd $(top_builddir) && $(SHELL) ./config.status auto.h
$(srcdir)/auto.h.in: $(am__configure_deps)
cd $(top_srcdir) && $(AUTOHEADER)
rm -f stamp-h1
touch $@
distclean-hdr:
-rm -f auto.h stamp-h1
# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# To change the values of `make' variables: instead of editing Makefiles,
# (1) if the variable is set in `config.status', edit `config.status'
# (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.
$(RECURSIVE_TARGETS):
@failcom='exit 1'; \
for f in x $$MAKEFLAGS; do \
case $$f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| eval $$failcom; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
$(RECURSIVE_CLEAN_TARGETS):
@failcom='exit 1'; \
for f in x $$MAKEFLAGS; do \
case $$f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
case "$@" in \
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
*) list='$(SUBDIRS)' ;; \
esac; \
rev=''; for subdir in $$list; do \
if test "$$subdir" = "."; then :; else \
rev="$$subdir $$rev"; \
fi; \
done; \
rev="$$rev ."; \
target=`echo $@ | sed s/-recursive//`; \
for subdir in $$rev; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| eval $$failcom; \
done && test -z "$$fail"
tags-recursive:
list='$(SUBDIRS)'; for subdir in $$list; do \
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
done
ctags-recursive:
list='$(SUBDIRS)'; for subdir in $$list; do \
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
done
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
mkid -fID $$unique
tags: TAGS
TAGS: tags-recursive $(HEADERS) $(SOURCES) auto.h.in $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
include_option=--etags-include; \
empty_fix=.; \
else \
include_option=--include; \
empty_fix=; \
fi; \
list='$(SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test ! -f $$subdir/TAGS || \
tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
list='$(SOURCES) $(HEADERS) auto.h.in $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$tags $$unique; \
fi
ctags: CTAGS
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) auto.h.in $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SOURCES) $(HEADERS) auto.h.in $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$tags $$unique
GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& cd $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) $$here
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
distdir: $(DISTFILES)
$(am__remove_distdir)
test -d $(distdir) || mkdir $(distdir)
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
fi; \
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
else \
test -f $(distdir)/$$file \
|| cp -p $$d/$$file $(distdir)/$$file \
|| exit 1; \
fi; \
done
list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test -d "$(distdir)/$$subdir" \
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|| exit 1; \
distdir=`$(am__cd) $(distdir) && pwd`; \
top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
(cd $$subdir && \
$(MAKE) $(AM_MAKEFLAGS) \
top_distdir="$$top_distdir" \
distdir="$$distdir/$$subdir" \
am__remove_distdir=: \
am__skip_length_check=: \
distdir) \
|| exit 1; \
fi; \
done
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|| chmod -R a+r $(distdir)
dist-gzip: distdir
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
$(am__remove_distdir)
dist-bzip2: distdir
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
$(am__remove_distdir)
dist-tarZ: distdir
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
$(am__remove_distdir)
dist-shar: distdir
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
$(am__remove_distdir)
dist-zip: distdir
-rm -f $(distdir).zip
zip -rq $(distdir).zip $(distdir)
$(am__remove_distdir)
dist dist-all: distdir
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
$(am__remove_distdir)
# This target untars the dist file and tries a VPATH configuration. Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
case '$(DIST_ARCHIVES)' in \
*.tar.gz*) \
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
*.tar.bz2*) \
bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
*.tar.Z*) \
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
*.shar.gz*) \
GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
*.zip*) \
unzip $(distdir).zip ;;\
esac
chmod -R a-w $(distdir); chmod a+w $(distdir)
mkdir $(distdir)/_build
mkdir $(distdir)/_inst
chmod a-w $(distdir)
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
&& cd $(distdir)/_build \
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
$(DISTCHECK_CONFIGURE_FLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
&& $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
distuninstallcheck \
&& chmod -R a-w "$$dc_install_base" \
&& ({ \
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
} || { rm -rf "$$dc_destdir"; exit 1; }) \
&& rm -rf "$$dc_destdir" \
&& $(MAKE) $(AM_MAKEFLAGS) dist \
&& rm -rf $(DIST_ARCHIVES) \
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck
$(am__remove_distdir)
@(echo "$(distdir) archives ready for distribution: "; \
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
distuninstallcheck:
@cd $(distuninstallcheck_dir) \
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|| { echo "ERROR: files left after uninstall:" ; \
if test -n "$(DESTDIR)"; then \
echo " (check DESTDIR support)"; \
fi ; \
$(distuninstallcheck_listfiles) ; \
exit 1; } >&2
distcleancheck: distclean
@if test '$(srcdir)' = . ; then \
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
exit 1 ; \
fi
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|| { echo "ERROR: files left in build directory after distclean:" ; \
$(distcleancheck_listfiles) ; \
exit 1; } >&2
check-am: all-am
check: check-recursive
all-am: Makefile auto.h
installdirs: installdirs-recursive
installdirs-am:
install: install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
uninstall: uninstall-recursive
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-recursive
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
clean-generic:
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-recursive
clean-am: clean-generic mostlyclean-am
distclean: distclean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -f Makefile
distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
dvi: dvi-recursive
dvi-am:
html: html-recursive
info: info-recursive
info-am:
install-data-am:
install-dvi: install-dvi-recursive
install-exec-am:
install-html: install-html-recursive
install-info: install-info-recursive
install-man:
install-pdf: install-pdf-recursive
install-ps: install-ps-recursive
installcheck-am:
maintainer-clean: maintainer-clean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -rf $(top_srcdir)/autom4te.cache
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-recursive
mostlyclean-am: mostlyclean-generic
pdf: pdf-recursive
pdf-am:
ps: ps-recursive
ps-am:
uninstall-am:
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
install-strip
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
all all-am am--refresh check check-am clean clean-generic \
ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
dist-shar dist-tarZ dist-zip distcheck distclean \
distclean-generic distclean-hdr distclean-tags distcleancheck \
distdir distuninstallcheck dvi dvi-am html html-am info \
info-am install install-am install-data install-data-am \
install-dvi install-dvi-am install-exec install-exec-am \
install-html install-html-am install-info install-info-am \
install-man install-pdf install-pdf-am install-ps \
install-ps-am install-strip installcheck installcheck-am \
installdirs installdirs-am maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
pdf-am ps ps-am tags tags-recursive uninstall uninstall-am
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

169
NEWS
View File

@@ -1,35 +1,152 @@
Welcome to Task 1.6.0.
New Features in Taskwarrior 2.6.0
Task has been built and tested on the following configurations:
- The logic behind new-uuid verbosity option changed. New-uuid now overrides
new-id if set and will cause Taskwarrior to display UUIDs instead of IDs
for new tasks (machine friendly).
- If ~/.taskrc is not found, Taskwarrior will look for its configuration in
$XDG_CONFIG_HOME/task/taskrc (defaulting to ~/.config/task/taskrc). This
allows users to setup their Taskwarrior to follow XDG standard without
using config overrides.
- Newer Unicode characters, such as emojis are correctly handled and displayed.
Taskwarrior now supports all Unicode characters up to Unicode 12.
- Datetime values until year 9999 are now supported.
Duration values of up to 1 000 000 years are now supported.
- 64-bit numeric values (up to 9,223,372,036,854,775,807) are now supported.
- Later/someday named datetime values now resolve to 9999-12-30 (instead of
2038-01-18).
- Calendar now supports displaying due dates until year 9999.
- Calendar now displays waiting tasks with due dates on the calendar.
- Calendar supports highlighting days with scheduled tasks.
- Multi-day holidays are now supported.
- Holiday data files for fr-CA, hu-HU, pt-BR, sk-SK and sv-FI locales are now
generated and shipped with Taskwarrior.
- The task edit command can now handle multi-line annotations and UDAs in a
user friendly way, withouth having to handle with JSON escaping of special
chars.
- A large portion of currently known parser-related issues was fixed.
- The taskrc file now supports relative paths, which are evaluated with
respect to (a) current directory, (b) taskrc directory and (c) now also the
installation directory of configuration files.
- The currently selected context is now applied for "task add" and "task log"
commands. Section on contexts in the manpage was updated to describe this
functionality.
- Users can specify per-context specific overrides of configuration variables.
- The `task import` command can now accept annotations with missing entry
values. Current time will be assumed.
- The new 'by' filter attribute modifier compares using '<=' rather than '<'
as 'before' uses. This allows the last second of the day to match with
'due.by:eod', which it would not otherwise. It also works with
whole units like days, e.g. 'add test due:2021-07-17' would not match
'due.before:tomorrow' (on the 16th), but would match 'due.by:tomorrow'.
- Waiting is now an entirely "virtual" concept, based on a task's
'wait' property and the current time. Task is considered "waiting" if its
wait attribute is in the future. TaskWarrior no longer explicitly
"unwaits" a task (the wait attribute is not removed once its value is in
the past), so the "unwait' verbosity token is no longer available.
This allows for filtering for tasks that were waiting in the past
intervals, but are not waiting anymore.
- The configuration file now supports environment variables.
- Taskwarrior can now handle displaying tasks in windows with limited width,
even if columns contain long strings (like URLs).
- The nag message is emitted at most once per task command, even with bulk
operations. Additionally, the urgency of the task considered is taken
before the completion, not after.
- The export command now takes an optional argument that references an
existing report. As such, "task export <report>" command will export
the same tasks that "task <report>" prints, and in the same order.
- The burndown command now supports non-cumulative display, where tasks only
get plotted within the interval segment when they got completed.
- OS X 10.4 Tiger
- OS X 10.5 Leopard
- Fedora Core 8
- Fedora Core 9
- Fedora Core 10
- Ubuntu 7 Feisty Fawn
- Ubuntu 8 Hardy Heron
- Ubuntu 8.10 Intrepid Ibex
- Ubuntu 9.04 Jaunty Jackalope (beta)
- Solaris 10
- Cygwin 1.5.25-14
While Task has undergone testing, bugs are sure to remain. If you encounter a
bug, please contact me at task@beckingham.net. Here is what you could do, in
order of increasing effort (to you) and usefulness (to me):
New Commands in Taskwarrior 2.6.0
- Do nothing. Bug probably won't get fixed.
- The 'news' command will guide the user through important release notes
anytime a new version of Taskwarrior is installed. It provides personalized
feedback, deprecation warnings and usage advice, where applicable.
- Send an email to task@beckingham.net, explaining what you saw. The bug
will be addressed, and a new release will be made. You will be a hero.
New Configuration Options in Taskwarrior 2.6.0
- Send an email, and a reproducible test case in the form of the few commands
it takes to recreate the problem. The bug will be addressed, and a new
release will be made. You will be a hero.
- The context definitions for reporting commmands are now stored in
"context.<name>.read". Context definitions for write commands are now
supported using "context.<name>.write" configuration variable.
- The context-specific configuration overrides are now supported. Use
context.<name>.rc.<key>=<value> to override, such as
context.work.rc.urgency.blocking=5.0 to override the value of urgency.blocking
when the 'work' context is active.
- Each report (and the timesheet command) can explicitly opt-out from the
currently active context by setting the report.<name>.context variable to 0
(defaults to 1). Useful for defining universal reports that ignore
currently set context, such as 'inbox' report for GTD methodology.
- Multi-day holidays are now supported. Use holiday.<name>.start=<date> and
holiday.<name>.end=<date> to specify a range-based holiday, such as a
vacation.
- Verbosity token 'default' was introduced in order to display information
about default actions.
- The new burndown.cumulative option can be used to toggle between
non-cumulative and cumulative version of the burndown command.
- The new color.calendar.scheduled setting can be used to control the
highlighting color of days in the calendar that have scheduled tasks.
- If you are a developer, send a patch that fixes the problem. Your patch
will be applied and tested, and a new release will be made. You will be a
hero.
Thank you.
Newly Deprecated Features in Taskwarrior 2.6.0
- The 'PARENT' and 'CHILD' virtual tags are replaced by 'TEMPLATE' and 'INSTANCE'.
- The 'waiting' status is now deprecated. We recommend using +WAITING virtual tag
or wait-attribute based filters, such as 'wait.before:eow' instead.
- The configuration variable 'monthsperline' is deprecated. Please use
'calendar.monthsperline' instead.
Fixed regressions in 2.6.0
- The "end of <date>" named dates ('eod', 'eow', ...) were pointing to the
first second of the next day, instead of last second of the referenced
interval. This was a regression introduced in 2.5.2.
- The "eow" and "eonw" were using a different weekday as a reference. This
was a regeression introduced in 2.5.2.
- The rc.verbose=<value> configuration override was applied only if it were
the first configuration override. In #2247, this manifested itself as
inability to supress footnotes about the overrides, and in #1953 as failure
to force task to display UUIDs of on task add. This was a regression
introduced in 2.5.2.
- The attribute values of the form "<attribute name>-<arbitrary string>", for
example "due-nextweek" or "scheduled-work" would fail to parse (see
#1913). This was a regression introduced in 2.5.1.
- The capitalized versions of named dates (such as Monday, February or
Tomorrow) are again supported. This was a regression introduced in 2.5.2.
- The duration periods are converted to datetime values using the
current time as the anchor, as opposed to the beginning of unix time.
This was a regression in 2.5.2.
- Filtering for attribute values containing dashes and numbers (such as
'vs.2021-01', see #2392) or spaces (such as "Home renovation", see #2388)
is again supported. This was a regression introduced in 2.4.0.
Removed Features in 2.6.0
-
Other notable changes in 2.6.0
- C++17 compatible compiler is now required (GCC 7.1 or older / clang 5.0 or older).
Known Issues
- https://github.com/GothenburgBitFactory/taskwarrior
Taskwarrior 2.6.0 has been built and tested on the following configurations:
* Archlinux
* OpenSUSE
* macOS 10.15
* Fedora (31, 32, 33, 34)
* Ubuntu (18.04, 20.04, 21.04)
* Debian (Stable, Testing)
* CentOS (7, 8)
However, we expect Taskwarrior to work on other platforms as well.
---
While Taskwarrior has undergone testing, bugs are sure to remain. If you
encounter a bug, please enter a new issue at:
https://github.com/GothenburgBitFactory/taskwarrior

51
README
View File

@@ -1,51 +0,0 @@
Thank you for taking a look at task. Task is a GTD utility featuring:
- Robust C++ implementation
- Tags
- Colorful, tabular output
- Reports, graphs
- Lots of commands
- Low-level API
- Abbreviations for all commands, options
- Multi-user file locking
- Clean architecture allowing quick addition of new features
- Recurring tasks
It is intended that features, mainly in the form of reports will be added
frequently, with best practices and useful reports evolving from usage patterns.
Task is scope-limited to GTD functionality only.
You may want to watch the old task movie on YouTube:
http://www.youtube.com/watch?v=l68LCl6BYvs
or the new improved one:
http://www.youtube.com/watch?v=D2Kn4DMOVSw
Either will give you a fairly good idea of what task is capable of, and
whether it fits in to your way of working. As a command line application,
task is not for everyone and some of you may prefer to not proceed. The
movie or online tutorial file are the quickest way for you to make that
decision. The online tutorial can be found at:
http://www.beckingham.net/task.html
Task is based on ideas presented in the todo.sh script, found on:
http://todotxt.org
Task has many more features than todo.sh, but fundamentally, they are
both working toward the same goals, which is to help you follow basic
Getting Things Done (GTD) principles.
All feedback is welcome, in addition to any bug reports or patches to:
task@beckingham.net
Got an idea for an enhancement? Send a message!
I have found that task makes me more productive and organized.
I hope task can do the same for you.

140
README.md Normal file
View File

@@ -0,0 +1,140 @@
<div align="center">
<img src="https://avatars.githubusercontent.com/u/36100920?s=200&u=24da05914c20c4ccfe8485310f7b83049407fa9a&v=4"></br>
[![GitHub Actions build status](https://github.com/GothenburgBitFactory/taskwarrior/workflows/tests/badge.svg?branch=develop)](https://github.com/GothenburgBitFactory/taskwarrior/actions)
[![Release](https://img.shields.io/github/v/release/GothenburgBitFactory/taskwarrior)](https://github.com/GothenburgBitFactory/taskwarrior/releases/latest)
[![Release date](https://img.shields.io/github/release-date/GothenburgBitFactory/taskwarrior)](https://github.com/GothenburgBitFactory/taskwarrior/releases/latest)
[![GitHub Sponsors](https://img.shields.io/github/sponsors/GothenburgBitFactory?color=green)](https://github.com/sponsors/GothenburgBitFactory/)
</br>
[![Twitter](https://img.shields.io/twitter/follow/taskwarrior?style=social)](https://twitter.com/taskwarrior)
</div>
## Taskwarrior
![OS-X downloads](https://img.shields.io/homebrew/installs/dy/task?label=OS-X%20downloads)
![Github downloads](https://img.shields.io/github/downloads/GothenburgBitFactory/taskwarrior/total?label=Github%20downloads)
![Linux downloads](https://img.shields.io/badge/Linux%20downloads-unknown-gray)
Taskwarrior is a command line task list management utility with a [multitude of
features](https://taskwarrior.org/docs/), developed as a portable open source project
with an active and quite vast [ecosystem of tools, hooks and
extensions](https://taskwarrior.org/tools/).
### HEADS UP!
### This fork is to intended to preserve the taskwarrior 2.6.2 codebase, and to allow for further fixes and improvements!!
It's great to see that taskwarrior is still an active project and the active developers, working on version 3.x, have a vision that fuses taskchampion and an SQL database. It's cool, and in rust, and everything.. but they are decidedly uninterested in further work on the 2.x (data as text files) codebase.
It was the fact that task used a text-file to store data, that first hooked me to the project. I'm almost certainly first taskwarrior user, and technically the original taskwarrior Designer! I worked with the orginal programmer, Paul Beckingham, as he brilliantly implemented so many of my crazy ideas, like colors, urgency, reports, UDAs, attribute modifiers and SO much more!
Because I'm an old fart, set im my ways like that, and kind of squeamish about keeping my task data as a SQL database, this repo is somewhare I can try to apply fixes and cherry-pick from changes made after official 2.6.2 releases, and to curate some of the things that I think belong with it. That said, I'm a terrible programmer, a dubious developer, and would welcome input, ideas and contributions.
## Install
[![Arch](https://img.shields.io/archlinux/v/community/x86_64/task)](https://archlinux.org/packages/community/x86_64/task/)
[![Debian](https://img.shields.io/debian/v/task/testing)](https://packages.debian.org/search?keywords=task&searchon=names&suite=all&section=all)
[![Fedora](https://img.shields.io/fedora/v/task)](https://bodhi.fedoraproject.org/updates/?packages=task)
[![Homebrew](https://img.shields.io/homebrew/v/task)](https://formulae.brew.sh/formula/task#default)
[![Ubuntu](https://img.shields.io/ubuntu/v/task)](https://packages.ubuntu.com/search?keywords=task&searchon=names&suite=hirsute&section=all)
Taskwarrior is packaged on a wide range of [Linux/Unix systems, Mac OS and
Windows](https://taskwarrior.org/download/). Check out the latest available
packages in repositories of your OS distribution of choice [on
Repology](https://repology.org/project/taskwarrior/versions).
Alternatively, you can build Taskwarrior from source.
## Documentation
The [online documentation](https://taskwarrior.org/docs), downloads, news and
more are available on our website, [taskwarrior.org](https://taskwarrior.org).
We also recommend following [@taskwarrior on
Twitter](https://twitter.com/taskwarrior), where we share info about new
features, releases and various tips and tricks for new Taskwarrior users.
## Community
[![Twitter](https://img.shields.io/twitter/follow/taskwarrior?style=social)](https://twitter.com/taskwarrior)
[![Reddit](https://img.shields.io/reddit/subreddit-subscribers/taskwarrior?style=social)](https://reddit.com/r/taskwarrior/)
[![Libera.chat](https://img.shields.io/badge/IRC%20libera.chat-online-green)](https://web.libera.chat/#taskwarrior)
[![Discord](https://img.shields.io/discord/796949983734661191?label=discord)](https://discord.gg/eRXEHk8w62)
[![Github discussions](https://img.shields.io/github/discussions/GothenburgBitFactory/taskwarrior?label=GitHub%20discussions)](https://github.com/GothenburgBitFactory/taskwarrior/discussions)
Taskwarrior has a lively community on many places on the internet.
Best place to ask questions is our [discussions forum on
Github](https://github.com/GothenburgBitFactory/taskwarrior/discussions). For
other support options, take a look at
[taskwarrior.org/support](https://taskwarrior.org/support)
For code contributions, please use pull requests, or alternately send your code patches to
[support@gothenburgbitfactory.org](mailto:support@gothenburgbitfactory.org)
## Branching Model
We use the following branching model:
* `stable` is a branch containing the content of the latest release. Building
from here is the same as building from the latest tarball, or installing a
binary package. No development is done on the `stable` branch.
* `develop` is the current development branch. All work is done here, and upon
release it will be merged to `stable`. While development branch is not
stable, we utilize CI to ensure we're at least not merging improvements that
break existing tests, and hence should be relatively safe. We still recommend
making backups when using the development branch.
## Installing
There are many binary packages available, but to install from source requires:
* git
* cmake
* make
* C++ compiler, currently gcc 7.1+ or clang 5.0+ for full C++17 support
* uuid-dev (was libuuid-dev)
* GnuTLS (optional, required for sync)
Download the tarball, and expand it:
$ curl -O https://taskwarrior.org/download/task-2.6.2.tar.gz
$ tar xzf task-2.6.2.tar.gz
$ cd task-2.6.2
Or clone this repository:
$ git clone --recursive -b stable https://github.com/GothenburgBitFactory/taskwarrior.git
$ cd taskwarrior
Then build:
$ cmake -DCMAKE_BUILD_TYPE=release .
...
$ make
...
[$ make test]
...
$ sudo make install
## Contributing
[![Contributors](https://img.shields.io/github/contributors/GothenburgBitFactory/taskwarrior)](https://github.com/GothenburgBitFactory/taskwarrior/graphs/contributors)
[![Milestone progress](https://img.shields.io/github/milestones/progress/GothenburgBitFactory/taskwarrior/26?label=current%20milestone%20issues)](https://github.com/GothenburgBitFactory/taskwarrior/milestone/26)
[![Good first issus](https://img.shields.io/github/issues/GothenburgBitFactory/taskwarrior/good%20first%20issue)](https://github.com/GothenburgBitFactory/taskwarrior/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22)
Your contributions are especially welcome.
Whether it comes in the form of code patches, ideas, discussion, bug reports, encouragement or criticism, your input is needed.
Visit [Github](https://github.com/GothenburgBitFactory/taskwarrior) and participate in the future of Taskwarrior.
## Sponsoring
[![GitHub Sponsors](https://img.shields.io/github/sponsors/GothenburgBitFactory?color=green)](https://github.com/sponsors/GothenburgBitFactory/)
Taskwarrior is a result of work of mostly small group of volunteers, and has been in development since 2006.
If you are a happy Taskwarrior user, please consider [sponsoring us through
Github Sponsors](https://github.com/sponsors/GothenburgBitFactory/).
Every sponsorship matters, as it directly increases the number of hours core
developers can contribute to the project and makes the project more sustainable.
## License
Taskwarrior is released under the MIT license.
For details check the [LICENSE](LICENSE) file.

View File

@@ -1,281 +0,0 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS

View File

@@ -1,51 +0,0 @@
Thank you for taking a look at task. Task is a GTD utility featuring:
- Robust C++ implementation
- Tags
- Colorful, tabular output
- Reports, graphs
- Lots of commands
- Low-level API
- Abbreviations for all commands, options
- Multi-user file locking
- Clean architecture allowing quick addition of new features
- Recurring tasks
It is intended that features, mainly in the form of reports will be added
frequently, with best practices and useful reports evolving from usage patterns.
Task is scope-limited to GTD functionality only.
You may want to watch the old task movie on YouTube:
http://www.youtube.com/watch?v=l68LCl6BYvs
or the new improved one:
http://www.youtube.com/watch?v=D2Kn4DMOVSw
Either will give you a fairly good idea of what task is capable of, and
whether it fits in to your way of working. As a command line application,
task is not for everyone and some of you may prefer to not proceed. The
movie or online tutorial file are the quickest way for you to make that
decision. The online tutorial can be found at:
http://www.beckingham.net/task.html
Task is based on ideas presented in the todo.sh script, found on:
http://todotxt.org
Task has many more features than todo.sh, but fundamentally, they are
both working toward the same goals, which is to help you follow basic
Getting Things Done (GTD) principles.
All feedback is welcome, in addition to any bug reports or patches to:
task@beckingham.net
Got an idea for an enhancement? Send a message!
I have found that task makes me more productive and organized.
I hope task can do the same for you.

64
cmake.h.in Normal file
View File

@@ -0,0 +1,64 @@
/* cmake.h.in. Creates cmake.h during a cmake run */
/* Product identification */
#define PRODUCT_TASKWARRIOR 1
/* Package information */
#define PACKAGE "${PACKAGE}"
#define VERSION "${VERSION}"
#define PACKAGE_BUGREPORT "${PACKAGE_BUGREPORT}"
#define PACKAGE_NAME "${PACKAGE_NAME}"
#define PACKAGE_TARNAME "${PACKAGE_TARNAME}"
#define PACKAGE_VERSION "${PACKAGE_VERSION}"
#define PACKAGE_STRING "${PACKAGE_STRING}"
#define CMAKE_BUILD_TYPE "${CMAKE_BUILD_TYPE}"
/* Installation details */
#define TASK_RCDIR "${CMAKE_INSTALL_PREFIX}/${TASK_RCDIR}"
/* git information */
#cmakedefine HAVE_COMMIT
/* cmake information */
#cmakedefine HAVE_CMAKE
#define CMAKE_VERSION "${CMAKE_VERSION}"
/* Compiling platform */
#cmakedefine LINUX
#cmakedefine DARWIN
#cmakedefine CYGWIN
#cmakedefine FREEBSD
#cmakedefine OPENBSD
#cmakedefine NETBSD
#cmakedefine DRAGONFLY
#cmakedefine HAIKU
#cmakedefine SOLARIS
#cmakedefine KFREEBSD
#cmakedefine GNUHURD
#cmakedefine UNKNOWN
/* Found the GnuTLS library */
#cmakedefine HAVE_LIBGNUTLS
/* Found tm_gmtoff */
#cmakedefine HAVE_TM_GMTOFF
/* Found timegm */
#cmakedefine HAVE_TIMEGM
/* Found st.st_birthtime struct member */
#cmakedefine HAVE_ST_BIRTHTIME
/* Found get_current_dir_name */
#cmakedefine HAVE_GET_CURRENT_DIR_NAME
/* Found uuid_unparse_lower in the uuid library */
#cmakedefine HAVE_UUID_UNPARSE_LOWER
/* Found wordexp.h */
#cmakedefine HAVE_WORDEXP
/* Undefine this to eliminate the execute command */
#define HAVE_EXECUTE 1

41
cmake/CXXSniffer.cmake Normal file
View File

@@ -0,0 +1,41 @@
message ("-- Configuring C++17")
message ("-- System: ${CMAKE_SYSTEM_NAME}")
include (CheckCXXCompilerFlag)
CHECK_CXX_COMPILER_FLAG("-std=c++17" _HAS_CXX17)
if (_HAS_CXX17)
set (_CXX14_FLAGS "-std=c++17")
else (_HAS_CXX17)
message (FATAL_ERROR "C++17 support missing. Try upgrading your C++ compiler. If you have a good reason for using an outdated compiler, please let us know at support@gothenburgbitfactory.org.")
endif (_HAS_CXX17)
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set (LINUX true)
elseif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set (DARWIN true)
set (_CXX14_FLAGS "${_CXX14_FLAGS} -stdlib=libc++")
elseif (${CMAKE_SYSTEM_NAME} MATCHES "kFreeBSD")
set (KFREEBSD true)
elseif (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
set (FREEBSD true)
elseif (${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
set (OPENBSD true)
elseif (${CMAKE_SYSTEM_NAME} MATCHES "NetBSD")
set (NETBSD true)
elseif (${CMAKE_SYSTEM_NAME} MATCHES "DragonFly")
set (DRAGONFLY true)
elseif (${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
set (SOLARIS true)
elseif (${CMAKE_SYSTEM_NAME} STREQUAL "GNU")
set (GNUHURD true)
elseif (${CMAKE_SYSTEM_NAME} STREQUAL "CYGWIN")
set (CYGWIN true)
set (_CXX14_FLAGS "-std=gnu++17")
else (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set (UNKNOWN true)
endif (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set (CMAKE_CXX_FLAGS "${_CXX14_FLAGS} ${CMAKE_CXX_FLAGS}")
set (CMAKE_CXX_FLAGS "-Wall -Wextra -Wsign-compare -Wreturn-type ${CMAKE_CXX_FLAGS}")

4
commit.h.in Normal file
View File

@@ -0,0 +1,4 @@
/* commit.h.in. Creates commit.h during a cmake run */
/* git information */
#define COMMIT "${COMMIT}"

View File

@@ -1,73 +0,0 @@
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.61)
AC_INIT(task, 1.6.0, bugs@beckingham.net)
CFLAGS="${CFLAGS=}"
CXXFLAGS="${CXXFLAGS=}"
# this macro is used to get the arguments supplied
# to the configure script (./configure --enable-debug)
# Check if we have enable debug support.
AC_MSG_CHECKING(whether to enable debugging)
debug_default="yes"
AC_ARG_ENABLE(debug, [ --enable-debug=[no/yes] turn on debugging
[default=$debug_default]],, enable_debug=$debug_default)
# Yes, shell scripts can be used
if test "$enable_debug" = "yes"; then
CXXFLAGS="$CFLAGS -Wall -pedantic -ggdb3 -DDEBUG"
AC_MSG_RESULT(yes)
else
CXXFLAGS="$CFLAGS -Wall -pedantic -O3"
AC_MSG_RESULT(no)
fi
# Check for OS.
OS=`uname|sed -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
if test "$OS" = "sunos"; then
AC_MSG_NOTICE([OS Solaris detected])
AC_DEFINE([SOLARIS], [], [Compiling on Solaris])
else
AC_MSG_NOTICE([OS Non-Solaris detected])
AC_DEFINE([LINUX], [], [Compiling on Non-Solaris])
fi
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([src/task.cpp])
AC_CONFIG_HEADER([auto.h])
# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
AC_LANG(C++)
AC_SUBST(CFLAGS)
# Checks for libraries.
AC_CHECK_LIB(ncurses,initscr)
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([stdlib.h sys/file.h sys/stat.h sys/time.h unistd.h])
AC_CHECK_HEADERS([sstream string vector map])
# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_CONST
AC_TYPE_PID_T
AC_TYPE_SIZE_T
AC_HEADER_TIME
AC_STRUCT_TM
# Checks for library functions.
AC_FUNC_MKTIME
AC_FUNC_SELECT_ARGTYPES
AC_CHECK_FUNCS([select])
#AC_CHECK_FUNC(flock, [AC_DEFINE([HAVE_FLOCK], [1], [Found flock])])
AC_CHECK_FUNC(uuid_unparse_lower, [AC_DEFINE([HAVE_UUID], [1], [Found uuid_unparse_lower])])
AC_CHECK_FUNC(random, [AC_DEFINE([HAVE_RANDOM], [1], [Found random])])
AC_CHECK_FUNC(srandom, [AC_DEFINE([HAVE_SRANDOM], [1], [Found srandom])])
AC_CONFIG_FILES([Makefile src/Makefile])
AC_OUTPUT

584
depcomp
View File

@@ -1,584 +0,0 @@
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2006-10-15.18
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Free Software
# Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
case $1 in
'')
echo "$0: No command. Try \`$0 --help' for more information." 1>&2
exit 1;
;;
-h | --h*)
cat <<\EOF
Usage: depcomp [--help] [--version] PROGRAM [ARGS]
Run PROGRAMS ARGS to compile a file, generating dependencies
as side-effects.
Environment variables:
depmode Dependency tracking mode.
source Source file read by `PROGRAMS ARGS'.
object Object file output by `PROGRAMS ARGS'.
DEPDIR directory where to store dependencies.
depfile Dependency file to output.
tmpdepfile Temporary file to use when outputing dependencies.
libtool Whether libtool is used (yes/no).
Report bugs to <bug-automake@gnu.org>.
EOF
exit $?
;;
-v | --v*)
echo "depcomp $scriptversion"
exit $?
;;
esac
if test -z "$depmode" || test -z "$source" || test -z "$object"; then
echo "depcomp: Variables source, object and depmode must be set" 1>&2
exit 1
fi
# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
depfile=${depfile-`echo "$object" |
sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
rm -f "$tmpdepfile"
# Some modes work just like other modes, but use different flags. We
# parameterize here, but still list the modes in the big case below,
# to make depend.m4 easier to write. Note that we *cannot* use a case
# here, because this file can only contain one case statement.
if test "$depmode" = hp; then
# HP compiler uses -M and no extra arg.
gccflag=-M
depmode=gcc
fi
if test "$depmode" = dashXmstdout; then
# This is just like dashmstdout with a different argument.
dashmflag=-xM
depmode=dashmstdout
fi
case "$depmode" in
gcc3)
## gcc 3 implements dependency tracking that does exactly what
## we want. Yay! Note: for some reason libtool 1.4 doesn't like
## it if -MD -MP comes after the -MF stuff. Hmm.
## Unfortunately, FreeBSD c89 acceptance of flags depends upon
## the command line argument order; so add the flags where they
## appear in depend2.am. Note that the slowdown incurred here
## affects only configure: in makefiles, %FASTDEP% shortcuts this.
for arg
do
case $arg in
-c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
*) set fnord "$@" "$arg" ;;
esac
shift # fnord
shift # $arg
done
"$@"
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
mv "$tmpdepfile" "$depfile"
;;
gcc)
## There are various ways to get dependency output from gcc. Here's
## why we pick this rather obscure method:
## - Don't want to use -MD because we'd like the dependencies to end
## up in a subdir. Having to rename by hand is ugly.
## (We might end up doing this anyway to support other compilers.)
## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
## -MM, not -M (despite what the docs say).
## - Using -M directly means running the compiler twice (even worse
## than renaming).
if test -z "$gccflag"; then
gccflag=-MD,
fi
"$@" -Wp,"$gccflag$tmpdepfile"
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"
echo "$object : \\" > "$depfile"
alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
## The second -e expression handles DOS-style file names with drive letters.
sed -e 's/^[^:]*: / /' \
-e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
## This next piece of magic avoids the `deleted header file' problem.
## The problem is that when a header file which appears in a .P file
## is deleted, the dependency causes make to die (because there is
## typically no way to rebuild the header). We avoid this by adding
## dummy dependencies for each header file. Too bad gcc doesn't do
## this for us directly.
tr ' ' '
' < "$tmpdepfile" |
## Some versions of gcc put a space before the `:'. On the theory
## that the space means something, we add a space to the output as
## well.
## Some versions of the HPUX 10.20 sed can't process this invocation
## correctly. Breaking it into two sed invocations is a workaround.
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
hp)
# This case exists only to let depend.m4 do its work. It works by
# looking at the text of this script. This case will never be run,
# since it is checked for above.
exit 1
;;
sgi)
if test "$libtool" = yes; then
"$@" "-Wp,-MDupdate,$tmpdepfile"
else
"$@" -MDupdate "$tmpdepfile"
fi
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"
if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
echo "$object : \\" > "$depfile"
# Clip off the initial element (the dependent). Don't try to be
# clever and replace this with sed code, as IRIX sed won't handle
# lines with more than a fixed number of characters (4096 in
# IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
# the IRIX cc adds comments like `#:fec' to the end of the
# dependency line.
tr ' ' '
' < "$tmpdepfile" \
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
tr '
' ' ' >> $depfile
echo >> $depfile
# The second pass generates a dummy entry for each header file.
tr ' ' '
' < "$tmpdepfile" \
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
>> $depfile
else
# The sourcefile does not contain any dependencies, so just
# store a dummy comment line, to avoid errors with the Makefile
# "include basename.Plo" scheme.
echo "#dummy" > "$depfile"
fi
rm -f "$tmpdepfile"
;;
aix)
# The C for AIX Compiler uses -M and outputs the dependencies
# in a .u file. In older versions, this file always lives in the
# current directory. Also, the AIX compiler puts `$object:' at the
# start of each line; $object doesn't have directory information.
# Version 6 uses the directory in both cases.
stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
tmpdepfile="$stripped.u"
if test "$libtool" = yes; then
"$@" -Wc,-M
else
"$@" -M
fi
stat=$?
if test -f "$tmpdepfile"; then :
else
stripped=`echo "$stripped" | sed 's,^.*/,,'`
tmpdepfile="$stripped.u"
fi
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
if test -f "$tmpdepfile"; then
outname="$stripped.o"
# Each line is of the form `foo.o: dependent.h'.
# Do two passes, one to just change these to
# `$object: dependent.h' and one to simply `dependent.h:'.
sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
else
# The sourcefile does not contain any dependencies, so just
# store a dummy comment line, to avoid errors with the Makefile
# "include basename.Plo" scheme.
echo "#dummy" > "$depfile"
fi
rm -f "$tmpdepfile"
;;
icc)
# Intel's C compiler understands `-MD -MF file'. However on
# icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
# ICC 7.0 will fill foo.d with something like
# foo.o: sub/foo.c
# foo.o: sub/foo.h
# which is wrong. We want:
# sub/foo.o: sub/foo.c
# sub/foo.o: sub/foo.h
# sub/foo.c:
# sub/foo.h:
# ICC 7.1 will output
# foo.o: sub/foo.c sub/foo.h
# and will wrap long lines using \ :
# foo.o: sub/foo.c ... \
# sub/foo.h ... \
# ...
"$@" -MD -MF "$tmpdepfile"
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"
# Each line is of the form `foo.o: dependent.h',
# or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
# Do two passes, one to just change these to
# `$object: dependent.h' and one to simply `dependent.h:'.
sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
# Some versions of the HPUX 10.20 sed can't process this invocation
# correctly. Breaking it into two sed invocations is a workaround.
sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
hp2)
# The "hp" stanza above does not work with aCC (C++) and HP's ia64
# compilers, which have integrated preprocessors. The correct option
# to use with these is +Maked; it writes dependencies to a file named
# 'foo.d', which lands next to the object file, wherever that
# happens to be.
# Much of this is similar to the tru64 case; see comments there.
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
test "x$dir" = "x$object" && dir=
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
if test "$libtool" = yes; then
tmpdepfile1=$dir$base.d
tmpdepfile2=$dir.libs/$base.d
"$@" -Wc,+Maked
else
tmpdepfile1=$dir$base.d
tmpdepfile2=$dir$base.d
"$@" +Maked
fi
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile1" "$tmpdepfile2"
exit $stat
fi
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
do
test -f "$tmpdepfile" && break
done
if test -f "$tmpdepfile"; then
sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
# Add `dependent.h:' lines.
sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile"
else
echo "#dummy" > "$depfile"
fi
rm -f "$tmpdepfile" "$tmpdepfile2"
;;
tru64)
# The Tru64 compiler uses -MD to generate dependencies as a side
# effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
# At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
# dependencies in `foo.d' instead, so we check for that too.
# Subdirectories are respected.
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
test "x$dir" = "x$object" && dir=
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
if test "$libtool" = yes; then
# With Tru64 cc, shared objects can also be used to make a
# static library. This mechanism is used in libtool 1.4 series to
# handle both shared and static libraries in a single compilation.
# With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
#
# With libtool 1.5 this exception was removed, and libtool now
# generates 2 separate objects for the 2 libraries. These two
# compilations output dependencies in $dir.libs/$base.o.d and
# in $dir$base.o.d. We have to check for both files, because
# one of the two compilations can be disabled. We should prefer
# $dir$base.o.d over $dir.libs/$base.o.d because the latter is
# automatically cleaned when .libs/ is deleted, while ignoring
# the former would cause a distcleancheck panic.
tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4
tmpdepfile2=$dir$base.o.d # libtool 1.5
tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5
tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504
"$@" -Wc,-MD
else
tmpdepfile1=$dir$base.o.d
tmpdepfile2=$dir$base.d
tmpdepfile3=$dir$base.d
tmpdepfile4=$dir$base.d
"$@" -MD
fi
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
exit $stat
fi
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
do
test -f "$tmpdepfile" && break
done
if test -f "$tmpdepfile"; then
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
# That's a tab and a space in the [].
sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
else
echo "#dummy" > "$depfile"
fi
rm -f "$tmpdepfile"
;;
#nosideeffect)
# This comment above is used by automake to tell side-effect
# dependency tracking mechanisms from slower ones.
dashmstdout)
# Important note: in order to support this mode, a compiler *must*
# always write the preprocessed file to stdout, regardless of -o.
"$@" || exit $?
# Remove the call to Libtool.
if test "$libtool" = yes; then
while test $1 != '--mode=compile'; do
shift
done
shift
fi
# Remove `-o $object'.
IFS=" "
for arg
do
case $arg in
-o)
shift
;;
$object)
shift
;;
*)
set fnord "$@" "$arg"
shift # fnord
shift # $arg
;;
esac
done
test -z "$dashmflag" && dashmflag=-M
# Require at least two characters before searching for `:'
# in the target name. This is to cope with DOS-style filenames:
# a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
"$@" $dashmflag |
sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
rm -f "$depfile"
cat < "$tmpdepfile" > "$depfile"
tr ' ' '
' < "$tmpdepfile" | \
## Some versions of the HPUX 10.20 sed can't process this invocation
## correctly. Breaking it into two sed invocations is a workaround.
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
dashXmstdout)
# This case only exists to satisfy depend.m4. It is never actually
# run, as this mode is specially recognized in the preamble.
exit 1
;;
makedepend)
"$@" || exit $?
# Remove any Libtool call
if test "$libtool" = yes; then
while test $1 != '--mode=compile'; do
shift
done
shift
fi
# X makedepend
shift
cleared=no
for arg in "$@"; do
case $cleared in
no)
set ""; shift
cleared=yes ;;
esac
case "$arg" in
-D*|-I*)
set fnord "$@" "$arg"; shift ;;
# Strip any option that makedepend may not understand. Remove
# the object too, otherwise makedepend will parse it as a source file.
-*|$object)
;;
*)
set fnord "$@" "$arg"; shift ;;
esac
done
obj_suffix="`echo $object | sed 's/^.*\././'`"
touch "$tmpdepfile"
${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
rm -f "$depfile"
cat < "$tmpdepfile" > "$depfile"
sed '1,2d' "$tmpdepfile" | tr ' ' '
' | \
## Some versions of the HPUX 10.20 sed can't process this invocation
## correctly. Breaking it into two sed invocations is a workaround.
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile" "$tmpdepfile".bak
;;
cpp)
# Important note: in order to support this mode, a compiler *must*
# always write the preprocessed file to stdout.
"$@" || exit $?
# Remove the call to Libtool.
if test "$libtool" = yes; then
while test $1 != '--mode=compile'; do
shift
done
shift
fi
# Remove `-o $object'.
IFS=" "
for arg
do
case $arg in
-o)
shift
;;
$object)
shift
;;
*)
set fnord "$@" "$arg"
shift # fnord
shift # $arg
;;
esac
done
"$@" -E |
sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
-e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
sed '$ s: \\$::' > "$tmpdepfile"
rm -f "$depfile"
echo "$object : \\" > "$depfile"
cat < "$tmpdepfile" >> "$depfile"
sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
msvisualcpp)
# Important note: in order to support this mode, a compiler *must*
# always write the preprocessed file to stdout, regardless of -o,
# because we must use -o when running libtool.
"$@" || exit $?
IFS=" "
for arg
do
case "$arg" in
"-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
set fnord "$@"
shift
shift
;;
*)
set fnord "$@" "$arg"
shift
shift
;;
esac
done
"$@" -E |
sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
rm -f "$depfile"
echo "$object : \\" > "$depfile"
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
echo " " >> "$depfile"
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
rm -f "$tmpdepfile"
;;
none)
exec "$@"
;;
*)
echo "Unknown depmode $depmode" 1>&2
exit 1
;;
esac
exit 0
# Local Variables:
# mode: shell-script
# sh-indentation: 2
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-end: "$"
# End:

16
doc/CMakeLists.txt Normal file
View File

@@ -0,0 +1,16 @@
cmake_minimum_required (VERSION 3.0)
message ("-- Configuring man pages")
set (man_FILES task-color.5 task-sync.5 taskrc.5 task.1)
foreach (man_FILE ${man_FILES})
configure_file (
man/${man_FILE}.in
man/${man_FILE})
endforeach (man_FILE)
install (DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/man/ DESTINATION ${TASK_MAN1DIR}
FILES_MATCHING PATTERN "*.1")
install (DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/man/ DESTINATION ${TASK_MAN5DIR}
FILES_MATCHING PATTERN "*.5")
install (DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/rc/ DESTINATION ${TASK_RCDIR})
install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/ref/task-ref.pdf DESTINATION ${TASK_DOCDIR})

4
doc/man/.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
task-color.5
task-sync.5
task.1
taskrc.5

317
doc/man/task-color.5.in Normal file
View File

@@ -0,0 +1,317 @@
.TH task-color 5 2016-02-24 "${PACKAGE_STRING}" "User Manuals"
.SH NAME
task-color \- A color tutorial for the Taskwarrior command line todo manager.
.SH AUTOMATIC MONOCHROME
It should be mentioned that Taskwarrior is aware of whether its output is going
to a terminal, or to a file or through a pipe. When Taskwarrior output goes to
a terminal, color is desirable, but consider the following command:
$ task list > file.txt
Do we really want all those color control codes in the file? Taskwarrior
assumes that you do not, and temporarily sets color to 'off' while generating
the output. This explains the output from the following command:
$ task show | grep '^color '
color off
it always returns 'off', no matter what the setting, because the output is being
sent to a pipe.
If you wanted those color codes, you can override this behavior by setting the
_forcecolor variable to on, like this:
$ task config _forcecolor on
$ task config | grep '^color '
color on
or by temporarily overriding it like this:
$ task rc._forcecolor=on config | grep '^color '
color on
.SH AVAILABLE COLORS
Taskwarrior has a 'color' command that will show all the colors it is capable of
displaying. Try this:
$ task color
The output cannot be replicated here in a man page, but you should see a set of
color samples. How many you see depends on your terminal program's ability to
render them.
You should at least see the Basic colors and Effects - if you do, then you have
16-color support. If your terminal supports 256 colors, you'll know it!
.SH 16-COLOR SUPPORT
The basic color support is provided through named colors:
black, red, blue, green, magenta, cyan, yellow, white
Foreground color (for text) is simply specified as one of the above colors, or
not specified at all to use the default terminal text color.
Background color is specified by using the word 'on', and one of the above
colors. Some examples:
green # green text, default background color
green on yellow # green text, yellow background
on yellow # default text color, yellow background
These colors can be modified further, by making the foreground bold, or by
making the background bright. Some examples:
bold green
bold white on bright red
on bright cyan
The order of the words is not important, so the following are equivalent:
bold green
green bold
But the 'on' is important - colors before the 'on' are foreground, and colors
after 'on' are background.
There is an additional 'underline' attribute that may be used:
underline bold red on black
And an 'inverse' attribute:
inverse red
Taskwarrior has a command that helps you visualize these color combinations.
Try this:
$ task color underline bold red on black
You can use this command to see how the various color combinations work. You
will also see some sample colors displayed, like the ones above, in addition to
the sample requested.
Some combinations look very nice, some look terrible. Different terminal
programs do implement slightly different versions of 'red', for example, so you
may see some unexpected variation across machines. The brightness of your
display is also a factor.
.SH 256-COLOR SUPPORT
Using 256 colors follows the same form, but the names are different, and some
colors can be referenced in different ways. First there is by color ordinal,
which is like this:
color0
color1
color2
...
color255
This gives you access to all 256 colors, but doesn't help you much. This range
is a combination of 8 basic colors (color0 - color7), then 8 brighter variations
(color8 - color15). Then a block of 216 colors (color16 - color231). Then a
block of 24 gray colors (color232 - color255).
The large block of 216 colors (6x6x6 = 216) represents a color cube, which can
be addressed via RGB values from 0 to 5 for each component color. A value of 0
means none of this component color, and a value of 5 means the most intense
component color. For example, a bright red is specified as:
rgb500
And a darker red would be:
rgb300
Note that the three digits represent the three component values, so in this
example the 5, 0 and 0 represent red=5, green=0, blue=0. Combining intense red
with no green and no blue yields red. Similarly, blue and green are:
rgb005
rgb050
Another example - bright yellow - is a mix of bright red and bright green, but
no blue component, so bright yellow is addressed as:
rgb550
A soft pink would be addressed as:
rgb515
See if you agree, by running:
$ task color black on rgb515
You may notice that the large color block is represented as 6 squares. All
colors in the first square have a red value of 0. All colors in the 6th square
have a red value of 5. Within each square, blue ranges from 0 to 5 left to
right, and within each square green ranges from 0 to 5, top to bottom. This
scheme takes some getting used to.
The block of 24 gray colors can also be accessed as gray0 - gray23, in a
continuous ramp from black to white.
.SH MIXING 16- AND 256-COLORS
If you specify 16-colors, and view on a 256-color terminal, no problem. If you
try the reverse, specifying 256-colors and viewing on a 16-color terminal, you
will be disappointed, perhaps even appalled.
There is some limited color mapping - for example, if you were to specify this
combination:
red on gray3
you are mixing a 16-color and 256-color specification. Taskwarrior will map red
to color1, and proceed. Note that red and color1 are not quite the same tone.
Note also that there is no bold or bright attributes when dealing with 256
colors, but there is still underline available.
.SH LEGEND
Taskwarrior will show examples of all defined colors used in your .taskrc, or
theme, if you run this command:
$ task color legend
This gives you an example of each of the colors, so you can see the effect,
without necessarily creating a set of tasks that meet each of the rule criteria.
.SH RULES
Taskwarrior supports colorization rules. These are configuration values that
specify a color, and the conditions under which that color is used. By example,
let us add a few tasks:
$ task add project:Home priority:H pay the bills (1)
$ task add project:Home clean the rug (2)
$ task add project:Garden clean out the garage (3)
We can add a color rule that uses a blue background for all tasks in the Home
project:
$ task config color.project.Home 'on blue'
We use quotes around 'on blue' because there are two words, but they represent
one value in the .taskrc file. Now suppose we wish to use a bold yellow text
color for all cleaning work:
$ task config color.keyword.clean 'bold yellow'
Now what happens to task 2, which belongs to project Home (blue background), and
is also a cleaning task (bold yellow foreground)? The colors are combined, and
the task is shown as "bold yellow on blue".
Color rules can be applied by project and description keyword, as shown, and
also by priority (or lack of priority), by active status, by being due or
overdue, by being tagged, or having a specific tag (perhaps the most useful
rule) or by being a recurring task.
It is possible to create a very colorful mix of rules. With 256-color support,
those colors can be made subtle, and complementary, but without care, this can
be a visual mess. Beware!
In such cases, consider using the 'rule.color.merge=no' option to disable the
color blending.
The precedence for the color rules is determined by the configuration
variable 'rule.precedence.color', which by default contains:
deleted,completed,active,keyword.,tag.,project.,overdue,scheduled,due.today,due,blocked,blocking,recurring,tagged,uda.
These are just the color rules with the 'color.' prefix removed. The
rule 'color.deleted' has the highest precedence, and 'color.uda.' the lowest.
The keyword rule shown here as 'keyword.' corresponds to a wildcard pattern,
meaning 'color.keyword.*', or in other words all the keyword rules.
There is also 'color.project.none', 'color.tag.none' and
'color.uda.priority.none' to specifically represent missing data.
.SH THEMES
Taskwarrior supports themes. What this really means is that with the ability to
include other files into the .taskrc file, different sets of color rules can
be included.
To get a good idea of what a color theme looks like, try adding this entry to
your .taskrc file:
.RS
include dark-256.theme
.RE
You can use any of the standard Taskwarrior themes:
.RS
dark-16.theme
.br
dark-256.theme
.br
dark-blue-256.theme
.br
dark-gray-256.theme
.br
dark-green-256.theme
.br
dark-red-256.theme
.br
dark-violets-256.theme
.br
dark-yellow-green.theme
.br
light-16.theme
.br
light-256.theme
.br
solarized-dark-256.theme
.br
solarized-light-256.theme
.br
dark-default-16.theme
.br
dark-gray-blue-256.theme
.br
no-color.theme
.RE
Bear in mind that if you are using a terminal with a dark background, you will
see better results using a dark theme.
You can also see how the theme will color the various tasks with the command:
$ task color legend
Better yet, create your own, and share it. We will gladly host the theme file
on <https://taskwarrior.org>.
.SH "CREDITS & COPYRIGHTS"
Copyright (C) 2006 \- 2021 T. Babej, P. Beckingham, F. Hernandez.
Taskwarrior is distributed under the MIT license. See
https://www.opensource.org/licenses/mit-license.php for more information.
.SH SEE ALSO
.BR task(1),
.BR taskrc(5),
.BR task-sync(5)
For more information regarding Taskwarrior, see the following:
.TP
The official site at
<https://taskwarrior.org>
.TP
The official code repository at
<https://github.com/GothenburgBitFactory/taskwarrior>
.TP
You can contact the project by emailing
<support@GothenburgBitFactory.org>
.SH REPORTING BUGS
.TP
Bugs in Taskwarrior may be reported to the issue-tracker at
<https://github.com/GothenburgBitFactory/taskwarrior/issues>

177
doc/man/task-sync.5.in Normal file
View File

@@ -0,0 +1,177 @@
.TH task-sync 5 2016-02-24 "${PACKAGE_STRING}" "User Manuals"
.SH NAME
task-sync \- A discussion and tutorial for the various task(1) data
synchronization capabilities.
.SH INTRODUCTION
Taskwarrior has several sync options, both external and built in. If you wish
to sync your data, choose one method only; mixing methods is going to lead to
problems. Each of the methods discussed have their own strengths.
.SH ALTERNATIVES
There are three alternatives for syncing data, which are:
1) Version control systems, such as git, hg, svn
.br
2) File sharing systems, such as DropBox, Google Drive
.br
3) Using the Taskserver and the 'sync' command
.SH OPTION 1: VERSION CONTROL SYSTEMS
There are several good, distributed VCS systems (git, hg, ...) and centralized
VCS systems (svn, cvs ...), and they all function in a similar fashion for our
purposes.
Setup is straightforward. You place your .task directory under revision
control. You then need to perform a regular commit/push/pull/update to make
sure that the data is propagated when needed. You can even do this using shell
scripts so that every task command is preceded by a 'pull' and followed by
a 'push'.
Strengths:
.br
- Good data transport mechanisms
.br
- Secure transport options
Weaknesses:
.br
- You need proficiency with VCS tools
.br
- You will need to manually resolve conflicts frequently
.br
- You need to provide the mechanism for making sure copies are up to date
.SH OPTION 2: FILE SHARING SERVICES
There are many file sharing services, such as DropBox, Amazon S3, Google Drive,
SkyDrive and more. This technique involves storing your .task directory in a
shared directory under the control of the file hosting services.
Syncing happens quickly, although it is possible to run into conflict situations
when there is no network connectivity, and the tasks are modified in two
separate locations. This is because the file hosting service knows only about
files, and it has no idea how to merge tasks. Avoid this problem by never
modifying the same task on two machines, without an intervening sync.
Setup simply involves creating the directory and modifying your data.location
configuration variable like this:
$ task config data.location /path/to/shared/directory
Strengths:
.br
- Good client support
.br
- Easy setup
.br
- Transparent use
Weaknesses:
.br
- Tasks are not properly merged
.SH OPTION 3: TASKSERVER
The Taskserver was designed for this purpose to be secure, fast and conflict-
free, allowing data interchange between assorted Taskwarrior clients, and
tolerant of network connectivity problems.
There is a 'sync' command built in to Taskwarrior (provided the GnuTLS library
is installed), and with a server account and client configuration, syncing is
done on demand.
Setup is a matter of creating an account on a Taskserver (see your Taskserver
provider or operate your own - see
https://taskwarrior.org/docs/taskserver/setup.html)
Once you have an account, you'll receive a certificate, key, and credentials.
You'll need to put the certificate and key somewhere like this:
$ cp <name>.cert.pem ~/.task
$ cp <name>.key.pem ~/.task
Then you configure Taskwarrior, using the provided details:
$ task config taskd.certificate ~/.task/<name>.cert.pem
$ task config taskd.key ~/.task/<name>.key.pem
$ task config taskd.credentials <organization>/<name>/<UUID>
$ task config taskd.server <server domain>:<port>
If you are using a private server, you are likely also using a self-signed
certificate, which means you will need one of the following additional entries:
$ task config taskd.ca ~/.task/ca.cert.pem
The CA (Certificate Authority) will be used to verify the server certificate.
After setup, you run a one-time sync initialization, like this:
$ task sync init
This will make sure your client and the server are properly in sync to begin
with. From this point on, you never run the 'initialize' command again, just
go about your business, and when you want to sync, run this:
$ task sync
You'll see a summary of how many tasks were uploaded and downloaded. You can
safely run the command as often as you like. When there are no changes to sync,
nothing happens. If you do not have connectivity, your task changes accumulate
so that when you next run 'sync' with proper connectivity, the changes are
properly handled, in the right order.
If you run multiple clients that sync to the same server, you will need to run
this command on your primary client (the one you use most often):
$ task config recurrence on
And on the other clients, run:
$ task config recurrence off
This protects you against the effects of a sync/duplication bug.
Strengths:
.br
- Secure communication
.br
- Minimal bandwidth
.br
- Tolerates connectivity outage
Weaknesses:
.br
- You need to manage your own server, or gain access to a hosted server.
.SH "CREDITS & COPYRIGHTS"
Copyright (C) 2006 \- 2021 T. Babej, P. Beckingham, F. Hernandez.
Taskwarrior is distributed under the MIT license. See
https://www.opensource.org/licenses/mit-license.php for more information.
.SH SEE ALSO
.BR task(1),
.BR taskrc(5),
.BR task-color(5),
For more information regarding Taskwarrior, see the following:
.TP
The official site at
<https://taskwarrior.org>
.TP
The official code repository at
<https://github.com/GothenburgBitFactory/taskwarrior>
.TP
You can contact the project by emailing
<support@GothenburgBitFactory.org>
.SH REPORTING BUGS
.TP
Bugs in Taskwarrior may be reported to the issue-tracker at
<https://github.com/GothenburgBitFactory/taskwarrior/issues>

1500
doc/man/task.1.in Normal file

File diff suppressed because it is too large Load Diff

1612
doc/man/taskrc.5.in Normal file

File diff suppressed because it is too large Load Diff

28
doc/misc/themes/README Normal file
View File

@@ -0,0 +1,28 @@
Themes
These scripts are a way to generate a little sample data, and show the color
themes. It is not intended for general use.
To generate samples of themes, first execute the 'setup' script to generate the
sample data. Note that this data may need to be tweaked to include qualities
that need to be illustrated in theme sample.
Using a dark-background terminal (black recommended), run the following:
run.dark
Using a light-background terminal, run the following:
run.light
Using a solarized dark terminal, run the following:
run.solar.dark
Using a solarized light terminal, run the following:
run.solar.light
Note that for the solarized themes, the terminal color palette needs to be set
to specific colors.

36
doc/misc/themes/run.dark Executable file
View File

@@ -0,0 +1,36 @@
#!/bin/bash
for theme in $PWD/../../rc/dark-16.theme \
$PWD/../../rc/dark-256.theme \
$PWD/../../rc/dark-blue-256.theme \
$PWD/../../rc/dark-gray-256.theme \
$PWD/../../rc/dark-gray-blue-256.theme \
$PWD/../../rc/dark-green-256.theme \
$PWD/../../rc/dark-red-256.theme \
$PWD/../../rc/dark-violets-256.theme \
$PWD/../../rc/dark-yellow-green.theme
do
cat <<EOF >x
data.location=.
confirmation=off
detection=off
_forcecolor=on
default.height=24
verbose=off
include $theme
EOF
echo "--- $theme -----------------------------------------------------"
echo '$ task color legend'
task rc:x color legend
echo '$ task list'
task rc:x list
echo '$ task summary'
task rc:x summary
echo '$ task ghistory'
task rc:x ghistory
echo '$ task calendar'
task rc:x calendar
echo '$ task burndown.daily'
task rc:x burndown.daily
done

24
doc/misc/themes/run.default Executable file
View File

@@ -0,0 +1,24 @@
#!/bin/bash
cat <<EOF >x
data.location=.
confirmation=off
detection=off
_forcecolor=on
default.height=24
verbose=off
EOF
echo "--- DEFAULT -----------------------------------------------------"
echo '$ task color legend'
task rc:x color legend
echo '$ task list'
task rc:x list
echo '$ task summary'
task rc:x summary
echo '$ task ghistory'
task rc:x ghistory
echo '$ task calendar'
task rc:x calendar
echo '$ task burndown.daily'
task rc:x burndown.daily

29
doc/misc/themes/run.light Executable file
View File

@@ -0,0 +1,29 @@
#!/bin/bash
for theme in $PWD/../../rc/light-16.theme \
$PWD/../../rc/light-256.theme
do
cat <<EOF >x
data.location=.
confirmation=off
detection=off
_forcecolor=on
default.height=24
verbose=off
include $theme
EOF
echo "--- $theme -----------------------------------------------------"
echo '$ task color legend'
task rc:x color legend
echo '$ task list'
task rc:x list
echo '$ task summary'
task rc:x summary
echo '$ task ghistory'
task rc:x ghistory
echo '$ task calendar'
task rc:x calendar
echo '$ task burndown.daily'
task rc:x burndown.daily
done

28
doc/misc/themes/run.solar.dark Executable file
View File

@@ -0,0 +1,28 @@
#!/bin/bash
for theme in $PWD/../../rc/solarized-dark-256.theme
do
cat <<EOF >x
data.location=.
confirmation=off
detection=off
_forcecolor=on
default.height=24
verbose=off
include $theme
EOF
echo "--- $theme -----------------------------------------------------"
echo '$ task color legend'
task rc:x color legend
echo '$ task list'
task rc:x list
echo '$ task summary'
task rc:x summary
echo '$ task ghistory'
task rc:x ghistory
echo '$ task calendar'
task rc:x calendar
echo '$ task burndown.daily'
task rc:x burndown.daily
done

28
doc/misc/themes/run.solar.light Executable file
View File

@@ -0,0 +1,28 @@
#!/bin/bash
for theme in $PWD/../../rc/solarized-light-256.theme
do
cat <<EOF >x
data.location=.
confirmation=off
detection=off
_forcecolor=on
default.height=24
verbose=off
include $theme
EOF
echo "--- $theme -----------------------------------------------------"
echo '$ task color legend'
task rc:x color legend
echo '$ task list'
task rc:x list
echo '$ task summary'
task rc:x summary
echo '$ task ghistory'
task rc:x ghistory
echo '$ task calendar'
task rc:x calendar
echo '$ task burndown.daily'
task rc:x burndown.daily
done

33
doc/misc/themes/setup Executable file
View File

@@ -0,0 +1,33 @@
rm pending.data completed.data undo.data x
cat <<EOF >>x
data.location=.
confirmation=off
_forcecolor=on
EOF
task rc:x add Ordinary task
task rc:x add Started task
task rc:x 2 start
task rc:x add High priority task pri:H
task rc:x add Medium priority task pri:M
task rc:x add Low priority task pri:L
task rc:x add Household task project:Home
task rc:x add Outdoor task project:Garden
task rc:x add Overdue task due:yesterday
task rc:x add Due task due:tomorrow
task rc:x add Not yet due tasks due:eom
task rc:x add Recurring task due:eom recur:monthly
task rc:x add Tagged task +tag1
task rc:x add Blocking task
task rc:x add Dependent task
task rc:x log Completed_1 project:Garden
task rc:x log Completed_2 project:Garden
task rc:x log Completed_3 project:Home
task rc:x add Deleted_1
task rc:x 14 mod depends:13
task rc:x 15 delete

101
doc/rc/dark-16.theme Normal file
View File

@@ -0,0 +1,101 @@
###############################################################################
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
rule.precedence.color=deleted,completed,active,keyword.,tag.,project.,overdue,scheduled,due.today,due,blocked,blocking,recurring,tagged,uda.
# General decoration
color.label=
color.label.sort=
color.alternate=
color.header=yellow
color.footnote=yellow
color.warning=bold red
color.error=white on red
color.debug=blue
# Task state
color.completed=
color.deleted=
color.active=black on bright green
color.recurring=magenta
color.scheduled=white on green
color.until=
color.blocked=black on white
color.blocking=black on bright white
# Project
color.project.none=
# Priority
color.uda.priority.H=bold white
color.uda.priority.M=white
color.uda.priority.L=
# Tags
color.tag.next=bold yellow
color.tag.none=
color.tagged=
# Due
color.due=red
color.due.today=red
color.overdue=bold red
# UDA
#color.uda.X=
# Report: burndown
color.burndown.done=on green
color.burndown.pending=on red
color.burndown.started=on yellow
# Report: history
color.history.add=black on red
color.history.delete=black on yellow
color.history.done=black on green
# Report: summary
color.summary.background=white on black
color.summary.bar=black on green
# Command: calendar
color.calendar.due=white on red
color.calendar.due.today=bold white on red
color.calendar.holiday=black on bright yellow
color.calendar.overdue=black on bright red
color.calendar.today=bold white on bright blue
color.calendar.weekend=white on bright black
color.calendar.weeknumber=bold blue
# Command: sync
color.sync.added=green
color.sync.changed=yellow
color.sync.rejected=red
# Command: undo
color.undo.after=green
color.undo.before=red

98
doc/rc/dark-256.theme Normal file
View File

@@ -0,0 +1,98 @@
###############################################################################
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
rule.precedence.color=deleted,completed,active,keyword.,tag.,project.,overdue,scheduled,due.today,due,blocked,blocking,recurring,tagged,uda.
# General decoration
color.label=
color.label.sort=
color.alternate=on gray2
color.header=color3
color.footnote=color3
color.warning=bold red
color.error=white on red
color.debug=color4
# Task state
color.completed=
color.deleted=
color.active=rgb555 on rgb410
color.recurring=rgb013
color.scheduled=on rgb001
color.until=
color.blocked=white on color8
color.blocking=black on color15
# Project
color.project.none=
# Priority
color.uda.priority.H=color255
color.uda.priority.L=color245
color.uda.priority.M=color250
# Tags
color.tag.next=rgb440
color.tag.none=
color.tagged=
# Due
color.due.today=rgb400
color.due=color1
color.overdue=color9
# Report: burndown
color.burndown.done=on rgb010
color.burndown.pending=on color9
color.burndown.started=on color11
# Report: history
color.history.add=color0 on rgb500
color.history.delete=color0 on rgb550
color.history.done=color0 on rgb050
# Report: summary
color.summary.background=white on color0
color.summary.bar=black on rgb141
# Command: calendar
color.calendar.due.today=color15 on color1
color.calendar.due=color0 on color1
color.calendar.holiday=color0 on color11
color.calendar.overdue=color0 on color9
color.calendar.today=color15 on rgb013
color.calendar.weekend=on color235
color.calendar.weeknumber=rgb013
# Command: sync
color.sync.added=rgb010
color.sync.changed=color11
color.sync.rejected=color9
# Command: undo
color.undo.after=color2
color.undo.before=color1

View File

@@ -0,0 +1,98 @@
###############################################################################
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
rule.precedence.color=deleted,completed,active,keyword.,tag.,project.,overdue,scheduled,due.today,due,blocked,blocking,recurring,tagged,uda.
# General decoration
color.label=
color.label.sort=
color.alternate=on gray2
color.header=rgb013
color.footnote=rgb013
color.warning=bold red
color.error=white on red
color.debug=rgb013
# Task state
color.completed=
color.deleted=
color.active=rgb045 on rgb015
color.recurring=rgb115
color.scheduled=on rgb012
color.until=
color.blocked=white on rgb001
color.blocking=white on rgb002
# Project
color.project.none=
# Priority
color.uda.priority.H=rgb035
color.uda.priority.L=rgb015
color.uda.priority.M=rgb025
# Tags
color.tag.next=rgb550
color.tag.none=
color.tagged=
# Due
color.due.today=color252
color.due=color249
color.overdue=color255
# Report: burndown
color.burndown.done=on gray4
color.burndown.pending=on rgb004
color.burndown.started=on rgb015
# Report: history
color.history.add=color0 on rgb015
color.history.delete=color0 on rgb035
color.history.done=color0 on rgb025
# Report: summary
color.summary.background=on rgb001
color.summary.bar=on rgb114
# Command: calendar
color.calendar.due.today=color0 on color252
color.calendar.due=color0 on color249
color.calendar.holiday=color255 on rgb013
color.calendar.overdue=color0 on color255
color.calendar.today=color0 on rgb115
color.calendar.weekend=on color235
color.calendar.weeknumber=rgb015
# Command: sync
color.sync.added=gray4
color.sync.changed=rgb015
color.sync.rejected=rgb004
# Command: undo
color.undo.after=rgb035
color.undo.before=rgb013

View File

@@ -0,0 +1,98 @@
###############################################################################
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
rule.precedence.color=deleted,completed,active,keyword.,tag.,project.,overdue,scheduled,due.today,due,blocked,blocking,recurring,tagged,uda.
# General decoration
color.label=
color.label.sort=
color.alternate=on gray2
color.header=color0 on gray11
color.footnote=on gray5
color.warning=bold red
color.error=white on red
color.debug=blue
# Task state
color.completed=
color.deleted=
color.active=black on gray18
color.recurring=
color.scheduled=on gray8
color.until=
color.blocked=gray13
color.blocking=bold white
# Project
color.project.none=
# Priority
color.uda.priority.H=gray21
color.uda.priority.M=gray18
color.uda.priority.L=gray12
# Tags
color.tag.next=bold white
color.tag.none=
color.tagged=
# Due
color.due=on gray3
color.due.today=on gray4
color.overdue=on gray6
# Report: burndown
color.burndown.pending=gray15 on gray5
color.burndown.started=black on gray10
color.burndown.done=gray5 on gray23
# Report: history
color.history.add=gray15 on gray5
color.history.delete=black on gray10
color.history.done=gray5 on gray23
# Report: summary
color.summary.bar=on gray12
color.summary.background=on gray5
# Command: calendar
color.calendar.due=on gray8
color.calendar.due.today=black on gray15
color.calendar.holiday=black on gray20
color.calendar.overdue=gray2 on gray10
color.calendar.today=bold white
color.calendar.weekend=on gray2
color.calendar.weeknumber=gray6
# Command: sync
color.sync.added=gray15 on gray5
color.sync.changed=black on gray10
color.sync.rejected=gray5 on gray23
# Command: undo
color.undo.before=white on black
color.undo.after=black on white

View File

@@ -0,0 +1,98 @@
###############################################################################
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
rule.precedence.color=deleted,completed,active,keyword.,tag.,project.,overdue,scheduled,due.today,due,blocked,blocking,recurring,tagged,uda.
# General decoration
color.label=
color.label.sort=
color.alternate=on gray2
color.header=gray10
color.footnote=gray10
color.warning=white on blue
color.error=white on red
color.debug=blue
# Task state
color.completed=
color.deleted=
color.active=color15 on rgb035
color.recurring=
color.scheduled=
color.until=
color.blocked=bold gray10 on gray4
color.blocking=gray18 on gray6
# Project
color.project.none=
# Priority
color.uda.priority.H=
color.uda.priority.L=
color.uda.priority.M=
# Tags
color.tag.next=
color.tag.none=
color.tagged=
# Due
color.due=color0 on rgb013
color.due.today=color0 on rgb024
color.overdue=color0 on rgb035
# Report: burndown
color.burndown.pending=white on gray9
color.burndown.started=black on gray16
color.burndown.done=white on rgb013
# Report: history
color.history.add=white on gray6
color.history.delete=black on gray18
color.history.done=black on rgb024
# Report: summary
color.summary.bar=on rgb012
color.summary.background=on gray2
# Command: calendar
color.calendar.due=color0 on gray10
color.calendar.due.today=color0 on gray15
color.calendar.holiday=color15 on rgb005
color.calendar.overdue=color0 on gray20
color.calendar.today=underline black on color15
color.calendar.weekend=on gray4
color.calendar.weeknumber=gray10
# Command: sync
color.sync.added=gray10
color.sync.changed=gray15
color.sync.rejected=gray23
# Command: undo
color.undo.before=rgb013
color.undo.after=rgb035

View File

@@ -0,0 +1,97 @@
###############################################################################
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
rule.precedence.color=deleted,completed,active,keyword.,tag.,project.,overdue,scheduled,due.today,due,blocked,blocking,recurring,tagged,uda.
# General decoration
color.label=
color.label.sort=
color.alternate=on gray2
color.header=rgb031
color.footnote=rgb031
color.warning=rgb020
color.error=white on red
color.debug=blue
# Task state
color.completed=
color.deleted=
color.active=rgb050 on rgb010
color.recurring=rgb151
color.scheduled=black on rgb031
color.until=
color.blocked=white on rgb010
color.blocking=white on rgb020
# Project
color.project.none=
# Priority
color.uda.priority.H=rgb050
color.uda.priority.L=rgb010
color.uda.priority.M=rgb030
# Tags
color.tag.next=rgb440
color.tag.none=
color.tagged=
# Due
color.due.today=color252
color.due=color249
color.overdue=color255
# Report: burndown
color.burndown.done=on gray4
color.burndown.pending=on rgb010
color.burndown.started=on rgb030
# Report: history
color.history.add=color0 on rgb010
color.history.delete=color0 on rgb050
color.history.done=color0 on rgb030
# Report: summary
color.summary.background=white on gray3
color.summary.bar=white on rgb030
# Command: calendar
color.calendar.due.today=color0 on color225
color.calendar.due=color0 on color249
color.calendar.holiday=rgb151 on rgb020
color.calendar.overdue=color0 on color255
color.calendar.today=color0 on rgb151
color.calendar.weekend=on color235
color.calendar.weeknumber=rgb010
# Command: sync
color.sync.added=gray4
color.sync.changed=rgb030
color.sync.rejected=rgb010
# Command: undo
color.undo.after=rgb053
color.undo.before=rgb021

98
doc/rc/dark-red-256.theme Normal file
View File

@@ -0,0 +1,98 @@
###############################################################################
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
rule.precedence.color=deleted,completed,active,keyword.,tag.,project.,overdue,scheduled,due.today,due,blocked,blocking,recurring,tagged,uda.
# General decoration
color.label=
color.label.sort=
color.alternate=on gray2
color.header=rgb100
color.footnote=rgb100
color.warning=red
color.error=white on red
color.debug=blue
# Task state
color.completed=
color.deleted=
color.active=rgb500 on rgb100
color.recurring=rgb511
color.scheduled=white on rgb311
color.until=
color.blocked=white on rgb100
color.blocking=white on rgb200
# Project
color.project.none=
# Priority
color.uda.priority.H=rgb500
color.uda.priority.L=rgb300
color.uda.priority.M=rgb400
# Tags
color.tag.next=rgb511
color.tag.none=
color.tagged=
# Due
color.due.today=color252
color.due=color249
color.overdue=color255
# Report: burndown
color.burndown.done=on gray4
color.burndown.pending=on rgb200
color.burndown.started=on rgb411
# Report: history
color.history.add=color0 on rgb100
color.history.delete=color0 on rgb500
color.history.done=color0 on rgb300
# Report: summary
color.summary.background=white on color0
color.summary.bar=white on rgb300
# Command: calendar
color.calendar.due.today=color0 on color252
color.calendar.due=color0 on color249
color.calendar.holiday=rgb522 on rgb300
color.calendar.overdue=color0 on color255
color.calendar.today=color0 on rgb511
color.calendar.weekend=on color235
color.calendar.weeknumber=rgb100
# Command: sync
color.sync.added=gray4
color.sync.changed=rgb411
color.sync.rejected=rgb200
# Command: undo
color.undo.after=rgb511
color.undo.before=rgb200

View File

@@ -0,0 +1,98 @@
###############################################################################
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
rule.precedence.color=deleted,completed,active,keyword.,tag.,project.,overdue,scheduled,due.today,due,blocked,blocking,recurring,tagged,uda.
# General decoration
color.label=
color.label.sort=
color.alternate=on gray2
color.header=rgb013
color.footnote=rgb013
color.warning=white on rgb103
color.error=white on red
color.debug=blue
# Task state
color.completed=
color.deleted=
color.active=rgb445 on rgb213
color.recurring=rgb115
color.scheduled=white on rgb113
color.until=
color.blocked=white on rgb101
color.blocking=white on rgb202
# Project
color.project.none=
# Priority
color.uda.priority.H=rgb404
color.uda.priority.M=rgb304
color.uda.priority.L=rgb325
# Tags
color.tag.next=
color.tag.none=
color.tagged=
# Due
color.due=rgb015
color.due.today=rgb125
color.overdue=color5
# Report: burndown
color.burndown.pending=on rgb103
color.burndown.started=on rgb214
color.burndown.done=on gray4
# Report: history
color.history.add=color0 on rgb105
color.history.done=color0 on rgb205
color.history.delete=color0 on rgb305
# Report: summary
color.summary.bar=white on rgb104
color.summary.background=white on rgb001
# Command: calendar
color.calendar.due=color0 on rgb325
color.calendar.due.today=color0 on rgb404
color.calendar.holiday=color15 on rgb102
color.calendar.overdue=color0 on color5
color.calendar.today=color15 on rgb103
color.calendar.weekend=gray12 on gray3
color.calendar.weeknumber=rgb104
# Command: sync
color.sync.added=gray4
color.sync.changed=rgb214
color.sync.rejected=rgb103
# Command: undo
color.undo.before=rgb103
color.undo.after=rgb305

View File

@@ -0,0 +1,98 @@
###############################################################################
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
rule.precedence.color=deleted,completed,active,keyword.,tag.,project.,overdue,scheduled,due.today,due,blocked,blocking,recurring,tagged,uda.
# General decoration
color.label=
color.label.sort=
color.alternate=on gray2
color.header=rgb031
color.footnote=rgb031
color.warning=black on yellow
color.error=white on red
color.debug=blue
# Task state
color.completed=
color.deleted=
color.active=rgb451 on rgb320
color.recurring=rgb343
color.scheduled=black on rgb441
color.until=
color.blocked=white on rgb110
color.blocking=white on rgb220
# Project
color.project.none=
# Priority
color.uda.priority.H=rgb450
color.uda.priority.M=rgb030
color.uda.priority.L=rgb010
# Tags
color.tag.next=
color.tag.none=
color.tagged=
# Due
color.due=rgb440
color.due.today=rgb430
color.overdue=rgb420
# Report: burndown
color.burndown.pending=on rgb110
color.burndown.started=on rgb430
color.burndown.done=on gray4
# Report: history
color.history.add=color0 on rgb110
color.history.done=color0 on rgb430
color.history.delete=white on gray4
# Report: summary
color.summary.bar=white on rgb330
color.summary.background=white on rgb110
# Command: calendar
color.calendar.due=color0 on rgb440
color.calendar.due.today=color0 on rgb430
color.calendar.holiday=rgb151 on rgb020
color.calendar.overdue=color0 on rgb420
color.calendar.today=color15 on rgb110
color.calendar.weekend=on color235
color.calendar.weeknumber=rgb110
# Command: sync
color.sync.added=gray4
color.sync.changed=rgb430
color.sync.rejected=rgb110
# Command: undo
color.undo.before=rgb021
color.undo.after=rgb042

85
doc/rc/holidays.cs-CZ.rc Normal file
View File

@@ -0,0 +1,85 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/cs-CZ/2021.json
# https://holidata.net/cs-CZ/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.cs-CZ1.name=Nový rok
holiday.cs-CZ1.date=20210101
holiday.cs-CZ2.name=Den obnovy samostatného českého státu
holiday.cs-CZ2.date=20210101
holiday.cs-CZ3.name=Velký pátek
holiday.cs-CZ3.date=20210402
holiday.cs-CZ4.name=Velikonoční pondělí
holiday.cs-CZ4.date=20210405
holiday.cs-CZ5.name=Svátek práce
holiday.cs-CZ5.date=20210501
holiday.cs-CZ6.name=Den vítězství
holiday.cs-CZ6.date=20210508
holiday.cs-CZ7.name=Den slovanských věrozvěstů Cyrila a Metoděje
holiday.cs-CZ7.date=20210705
holiday.cs-CZ8.name=Den upálení mistra Jana Husa
holiday.cs-CZ8.date=20210706
holiday.cs-CZ9.name=Den české státnosti
holiday.cs-CZ9.date=20210928
holiday.cs-CZ10.name=Den vzniku samostatného československého státu
holiday.cs-CZ10.date=20211028
holiday.cs-CZ11.name=Den boje za svobodu a demokracii a Mezinárodní den studentstva
holiday.cs-CZ11.date=20211117
holiday.cs-CZ12.name=Štědrý den
holiday.cs-CZ12.date=20211224
holiday.cs-CZ13.name=1. svátek vánoční
holiday.cs-CZ13.date=20211225
holiday.cs-CZ14.name=2. svátek vánoční
holiday.cs-CZ14.date=20211226
holiday.cs-CZ15.name=Nový rok
holiday.cs-CZ15.date=20220101
holiday.cs-CZ16.name=Den obnovy samostatného českého státu
holiday.cs-CZ16.date=20220101
holiday.cs-CZ17.name=Velký pátek
holiday.cs-CZ17.date=20220415
holiday.cs-CZ18.name=Velikonoční pondělí
holiday.cs-CZ18.date=20220418
holiday.cs-CZ19.name=Svátek práce
holiday.cs-CZ19.date=20220501
holiday.cs-CZ20.name=Den vítězství
holiday.cs-CZ20.date=20220508
holiday.cs-CZ21.name=Den slovanských věrozvěstů Cyrila a Metoděje
holiday.cs-CZ21.date=20220705
holiday.cs-CZ22.name=Den upálení mistra Jana Husa
holiday.cs-CZ22.date=20220706
holiday.cs-CZ23.name=Den české státnosti
holiday.cs-CZ23.date=20220928
holiday.cs-CZ24.name=Den vzniku samostatného československého státu
holiday.cs-CZ24.date=20221028
holiday.cs-CZ25.name=Den boje za svobodu a demokracii a Mezinárodní den studentstva
holiday.cs-CZ25.date=20221117
holiday.cs-CZ26.name=Štědrý den
holiday.cs-CZ26.date=20221224
holiday.cs-CZ27.name=1. svátek vánoční
holiday.cs-CZ27.date=20221225
holiday.cs-CZ28.name=2. svátek vánoční
holiday.cs-CZ28.date=20221226

77
doc/rc/holidays.da-DK.rc Normal file
View File

@@ -0,0 +1,77 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/da-DK/2021.json
# https://holidata.net/da-DK/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.da-DK1.name=Nytårsdag
holiday.da-DK1.date=20210101
holiday.da-DK2.name=Skærtorsdag
holiday.da-DK2.date=20210401
holiday.da-DK3.name=Langfredag
holiday.da-DK3.date=20210402
holiday.da-DK4.name=Påskedag
holiday.da-DK4.date=20210404
holiday.da-DK5.name=Anden påskedag
holiday.da-DK5.date=20210405
holiday.da-DK6.name=Store bededag
holiday.da-DK6.date=20210430
holiday.da-DK7.name=Kristi himmelfartsdag
holiday.da-DK7.date=20210513
holiday.da-DK8.name=Pinsedag
holiday.da-DK8.date=20210523
holiday.da-DK9.name=Anden pinsedag
holiday.da-DK9.date=20210524
holiday.da-DK10.name=Grundlovsdag
holiday.da-DK10.date=20210605
holiday.da-DK11.name=Juledag
holiday.da-DK11.date=20211225
holiday.da-DK12.name=Anden juledag
holiday.da-DK12.date=20211226
holiday.da-DK13.name=Nytårsdag
holiday.da-DK13.date=20220101
holiday.da-DK14.name=Skærtorsdag
holiday.da-DK14.date=20220414
holiday.da-DK15.name=Langfredag
holiday.da-DK15.date=20220415
holiday.da-DK16.name=Påskedag
holiday.da-DK16.date=20220417
holiday.da-DK17.name=Anden påskedag
holiday.da-DK17.date=20220418
holiday.da-DK18.name=Store bededag
holiday.da-DK18.date=20220513
holiday.da-DK19.name=Kristi himmelfartsdag
holiday.da-DK19.date=20220526
holiday.da-DK20.name=Grundlovsdag
holiday.da-DK20.date=20220605
holiday.da-DK21.name=Pinsedag
holiday.da-DK21.date=20220605
holiday.da-DK22.name=Anden pinsedag
holiday.da-DK22.date=20220606
holiday.da-DK23.name=Juledag
holiday.da-DK23.date=20221225
holiday.da-DK24.name=Anden juledag
holiday.da-DK24.date=20221226

125
doc/rc/holidays.de-AT.rc Normal file
View File

@@ -0,0 +1,125 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/de-AT/2021.json
# https://holidata.net/de-AT/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.de-AT1.name=Neujahr
holiday.de-AT1.date=20210101
holiday.de-AT2.name=Heilige drei Könige
holiday.de-AT2.date=20210106
holiday.de-AT3.name=Josef
holiday.de-AT3.date=20210319
holiday.de-AT4.name=Karfreitag
holiday.de-AT4.date=20210402
holiday.de-AT5.name=Ostersonntag
holiday.de-AT5.date=20210404
holiday.de-AT6.name=Ostermontag
holiday.de-AT6.date=20210405
holiday.de-AT7.name=Staatsfeiertag
holiday.de-AT7.date=20210501
holiday.de-AT8.name=Florian
holiday.de-AT8.date=20210504
holiday.de-AT9.name=Christi Himmelfahrt
holiday.de-AT9.date=20210513
holiday.de-AT10.name=Pfingstsonntag
holiday.de-AT10.date=20210523
holiday.de-AT11.name=Pfingstmontag
holiday.de-AT11.date=20210524
holiday.de-AT12.name=Fronleichnam
holiday.de-AT12.date=20210603
holiday.de-AT13.name=Mariä Himmelfahrt
holiday.de-AT13.date=20210815
holiday.de-AT14.name=Rupert
holiday.de-AT14.date=20210924
holiday.de-AT15.name=Tag der Volksabstimmung
holiday.de-AT15.date=20211010
holiday.de-AT16.name=Nationalfeiertag
holiday.de-AT16.date=20211026
holiday.de-AT17.name=Allerheiligen
holiday.de-AT17.date=20211101
holiday.de-AT18.name=Martin
holiday.de-AT18.date=20211111
holiday.de-AT19.name=Leopold
holiday.de-AT19.date=20211115
holiday.de-AT20.name=Mariä Empfängnis
holiday.de-AT20.date=20211208
holiday.de-AT21.name=Heiliger Abend
holiday.de-AT21.date=20211224
holiday.de-AT22.name=Christtag
holiday.de-AT22.date=20211225
holiday.de-AT23.name=Stefanitag
holiday.de-AT23.date=20211226
holiday.de-AT24.name=Silvester
holiday.de-AT24.date=20211231
holiday.de-AT25.name=Neujahr
holiday.de-AT25.date=20220101
holiday.de-AT26.name=Heilige drei Könige
holiday.de-AT26.date=20220106
holiday.de-AT27.name=Josef
holiday.de-AT27.date=20220319
holiday.de-AT28.name=Karfreitag
holiday.de-AT28.date=20220415
holiday.de-AT29.name=Ostersonntag
holiday.de-AT29.date=20220417
holiday.de-AT30.name=Ostermontag
holiday.de-AT30.date=20220418
holiday.de-AT31.name=Staatsfeiertag
holiday.de-AT31.date=20220501
holiday.de-AT32.name=Florian
holiday.de-AT32.date=20220504
holiday.de-AT33.name=Christi Himmelfahrt
holiday.de-AT33.date=20220526
holiday.de-AT34.name=Pfingstsonntag
holiday.de-AT34.date=20220605
holiday.de-AT35.name=Pfingstmontag
holiday.de-AT35.date=20220606
holiday.de-AT36.name=Fronleichnam
holiday.de-AT36.date=20220616
holiday.de-AT37.name=Mariä Himmelfahrt
holiday.de-AT37.date=20220815
holiday.de-AT38.name=Rupert
holiday.de-AT38.date=20220924
holiday.de-AT39.name=Tag der Volksabstimmung
holiday.de-AT39.date=20221010
holiday.de-AT40.name=Nationalfeiertag
holiday.de-AT40.date=20221026
holiday.de-AT41.name=Allerheiligen
holiday.de-AT41.date=20221101
holiday.de-AT42.name=Martin
holiday.de-AT42.date=20221111
holiday.de-AT43.name=Leopold
holiday.de-AT43.date=20221115
holiday.de-AT44.name=Mariä Empfängnis
holiday.de-AT44.date=20221208
holiday.de-AT45.name=Heiliger Abend
holiday.de-AT45.date=20221224
holiday.de-AT46.name=Christtag
holiday.de-AT46.date=20221225
holiday.de-AT47.name=Stefanitag
holiday.de-AT47.date=20221226
holiday.de-AT48.name=Silvester
holiday.de-AT48.date=20221231

77
doc/rc/holidays.de-BE.rc Normal file
View File

@@ -0,0 +1,77 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/de-BE/2021.json
# https://holidata.net/de-BE/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.de-BE1.name=Neujahr
holiday.de-BE1.date=20210101
holiday.de-BE2.name=Ostern
holiday.de-BE2.date=20210404
holiday.de-BE3.name=Ostermontag
holiday.de-BE3.date=20210405
holiday.de-BE4.name=Tag der Arbeit
holiday.de-BE4.date=20210501
holiday.de-BE5.name=Christi Himmelfahrt
holiday.de-BE5.date=20210513
holiday.de-BE6.name=Pfingsten
holiday.de-BE6.date=20210523
holiday.de-BE7.name=Pfingstmontag
holiday.de-BE7.date=20210524
holiday.de-BE8.name=Nationalfeiertag
holiday.de-BE8.date=20210721
holiday.de-BE9.name=Mariä Himmelfahrt
holiday.de-BE9.date=20210815
holiday.de-BE10.name=Allerheiligen
holiday.de-BE10.date=20211101
holiday.de-BE11.name=Waffenstillstand
holiday.de-BE11.date=20211111
holiday.de-BE12.name=Weihnacht
holiday.de-BE12.date=20211225
holiday.de-BE13.name=Neujahr
holiday.de-BE13.date=20220101
holiday.de-BE14.name=Ostern
holiday.de-BE14.date=20220417
holiday.de-BE15.name=Ostermontag
holiday.de-BE15.date=20220418
holiday.de-BE16.name=Tag der Arbeit
holiday.de-BE16.date=20220501
holiday.de-BE17.name=Christi Himmelfahrt
holiday.de-BE17.date=20220526
holiday.de-BE18.name=Pfingsten
holiday.de-BE18.date=20220605
holiday.de-BE19.name=Pfingstmontag
holiday.de-BE19.date=20220606
holiday.de-BE20.name=Nationalfeiertag
holiday.de-BE20.date=20220721
holiday.de-BE21.name=Mariä Himmelfahrt
holiday.de-BE21.date=20220815
holiday.de-BE22.name=Allerheiligen
holiday.de-BE22.date=20221101
holiday.de-BE23.name=Waffenstillstand
holiday.de-BE23.date=20221111
holiday.de-BE24.name=Weihnacht
holiday.de-BE24.date=20221225

101
doc/rc/holidays.de-CH.rc Normal file
View File

@@ -0,0 +1,101 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/de-CH/2021.json
# https://holidata.net/de-CH/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.de-CH1.name=Neujahrstag
holiday.de-CH1.date=20210101
holiday.de-CH2.name=Berchtoldstag
holiday.de-CH2.date=20210102
holiday.de-CH3.name=Heilige Drei Könige
holiday.de-CH3.date=20210106
holiday.de-CH4.name=Josefstag
holiday.de-CH4.date=20210319
holiday.de-CH5.name=Karfreitag
holiday.de-CH5.date=20210402
holiday.de-CH6.name=Ostersonntag
holiday.de-CH6.date=20210404
holiday.de-CH7.name=Ostermontag
holiday.de-CH7.date=20210405
holiday.de-CH8.name=Tag der Arbeit
holiday.de-CH8.date=20210501
holiday.de-CH9.name=Auffahrt
holiday.de-CH9.date=20210513
holiday.de-CH10.name=Pfingstsonntag
holiday.de-CH10.date=20210523
holiday.de-CH11.name=Pfingstmontag
holiday.de-CH11.date=20210524
holiday.de-CH12.name=Fronleichnam
holiday.de-CH12.date=20210603
holiday.de-CH13.name=Bundesfeier
holiday.de-CH13.date=20210801
holiday.de-CH14.name=Mariä Himmelfahrt
holiday.de-CH14.date=20210815
holiday.de-CH15.name=Allerheiligen
holiday.de-CH15.date=20211101
holiday.de-CH16.name=Mariä Empfängnis
holiday.de-CH16.date=20211208
holiday.de-CH17.name=Weihnachtstag
holiday.de-CH17.date=20211225
holiday.de-CH18.name=Stephanstag
holiday.de-CH18.date=20211226
holiday.de-CH19.name=Neujahrstag
holiday.de-CH19.date=20220101
holiday.de-CH20.name=Berchtoldstag
holiday.de-CH20.date=20220102
holiday.de-CH21.name=Heilige Drei Könige
holiday.de-CH21.date=20220106
holiday.de-CH22.name=Josefstag
holiday.de-CH22.date=20220319
holiday.de-CH23.name=Karfreitag
holiday.de-CH23.date=20220415
holiday.de-CH24.name=Ostersonntag
holiday.de-CH24.date=20220417
holiday.de-CH25.name=Ostermontag
holiday.de-CH25.date=20220418
holiday.de-CH26.name=Tag der Arbeit
holiday.de-CH26.date=20220501
holiday.de-CH27.name=Auffahrt
holiday.de-CH27.date=20220526
holiday.de-CH28.name=Pfingstsonntag
holiday.de-CH28.date=20220605
holiday.de-CH29.name=Pfingstmontag
holiday.de-CH29.date=20220606
holiday.de-CH30.name=Fronleichnam
holiday.de-CH30.date=20220616
holiday.de-CH31.name=Bundesfeier
holiday.de-CH31.date=20220801
holiday.de-CH32.name=Mariä Himmelfahrt
holiday.de-CH32.date=20220815
holiday.de-CH33.name=Allerheiligen
holiday.de-CH33.date=20221101
holiday.de-CH34.name=Mariä Empfängnis
holiday.de-CH34.date=20221208
holiday.de-CH35.name=Weihnachtstag
holiday.de-CH35.date=20221225
holiday.de-CH36.name=Stephanstag
holiday.de-CH36.date=20221226

109
doc/rc/holidays.de-DE.rc Normal file
View File

@@ -0,0 +1,109 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/de-DE/2021.json
# https://holidata.net/de-DE/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.de-DE1.name=Neujahr
holiday.de-DE1.date=20210101
holiday.de-DE2.name=Heilige drei Könige
holiday.de-DE2.date=20210106
holiday.de-DE3.name=Internationaler Frauentag
holiday.de-DE3.date=20210308
holiday.de-DE4.name=Karfreitag
holiday.de-DE4.date=20210402
holiday.de-DE5.name=Ostern
holiday.de-DE5.date=20210404
holiday.de-DE6.name=Ostermontag
holiday.de-DE6.date=20210405
holiday.de-DE7.name=Erster Maifeiertag
holiday.de-DE7.date=20210501
holiday.de-DE8.name=Christi Himmelfahrt
holiday.de-DE8.date=20210513
holiday.de-DE9.name=Pfingstsonntag
holiday.de-DE9.date=20210523
holiday.de-DE10.name=Pfingstmontag
holiday.de-DE10.date=20210524
holiday.de-DE11.name=Fronleichnam
holiday.de-DE11.date=20210603
holiday.de-DE12.name=Mariä Himmelfahrt
holiday.de-DE12.date=20210815
holiday.de-DE13.name=Tag der Deutschen Einheit
holiday.de-DE13.date=20211003
holiday.de-DE14.name=Reformationstag
holiday.de-DE14.date=20211031
holiday.de-DE15.name=Allerheiligen
holiday.de-DE15.date=20211101
holiday.de-DE16.name=Buß- und Bettag
holiday.de-DE16.date=20211117
holiday.de-DE17.name=Heilig Abend
holiday.de-DE17.date=20211224
holiday.de-DE18.name=Weihnachtstag
holiday.de-DE18.date=20211225
holiday.de-DE19.name=Zweiter Weihnachtstag
holiday.de-DE19.date=20211226
holiday.de-DE20.name=Silvester
holiday.de-DE20.date=20211231
holiday.de-DE21.name=Neujahr
holiday.de-DE21.date=20220101
holiday.de-DE22.name=Heilige drei Könige
holiday.de-DE22.date=20220106
holiday.de-DE23.name=Internationaler Frauentag
holiday.de-DE23.date=20220308
holiday.de-DE24.name=Karfreitag
holiday.de-DE24.date=20220415
holiday.de-DE25.name=Ostern
holiday.de-DE25.date=20220417
holiday.de-DE26.name=Ostermontag
holiday.de-DE26.date=20220418
holiday.de-DE27.name=Erster Maifeiertag
holiday.de-DE27.date=20220501
holiday.de-DE28.name=Christi Himmelfahrt
holiday.de-DE28.date=20220526
holiday.de-DE29.name=Pfingstsonntag
holiday.de-DE29.date=20220605
holiday.de-DE30.name=Pfingstmontag
holiday.de-DE30.date=20220606
holiday.de-DE31.name=Fronleichnam
holiday.de-DE31.date=20220616
holiday.de-DE32.name=Mariä Himmelfahrt
holiday.de-DE32.date=20220815
holiday.de-DE33.name=Tag der Deutschen Einheit
holiday.de-DE33.date=20221003
holiday.de-DE34.name=Reformationstag
holiday.de-DE34.date=20221031
holiday.de-DE35.name=Allerheiligen
holiday.de-DE35.date=20221101
holiday.de-DE36.name=Buß- und Bettag
holiday.de-DE36.date=20221116
holiday.de-DE37.name=Heilig Abend
holiday.de-DE37.date=20221224
holiday.de-DE38.name=Weihnachtstag
holiday.de-DE38.date=20221225
holiday.de-DE39.name=Zweiter Weihnachtstag
holiday.de-DE39.date=20221226
holiday.de-DE40.name=Silvester
holiday.de-DE40.date=20221231

85
doc/rc/holidays.el-GR.rc Normal file
View File

@@ -0,0 +1,85 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/el-GR/2021.json
# https://holidata.net/el-GR/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.el-GR1.name=Πρωτοχρονιά
holiday.el-GR1.date=20210101
holiday.el-GR2.name=Θεοφάνεια
holiday.el-GR2.date=20210106
holiday.el-GR3.name=Καθαρά Δευτέρα
holiday.el-GR3.date=20210315
holiday.el-GR4.name=Ευαγγελισμός της Θεοτόκου και Εθνική Ημέρα Ανεξαρτησίας της Ελλάδας
holiday.el-GR4.date=20210325
holiday.el-GR5.name=Μεγάλη Παρασκευή
holiday.el-GR5.date=20210430
holiday.el-GR6.name=Μεγάλο Σάββατο
holiday.el-GR6.date=20210501
holiday.el-GR7.name=Πρωτομαγιά
holiday.el-GR7.date=20210501
holiday.el-GR8.name=Πάσχα
holiday.el-GR8.date=20210502
holiday.el-GR9.name=Δευτέρα του Πάσχα
holiday.el-GR9.date=20210503
holiday.el-GR10.name=Δευτέρα του Αγίου Πνεύματος
holiday.el-GR10.date=20210621
holiday.el-GR11.name=Κοίμηση της Θεοτόκου
holiday.el-GR11.date=20210815
holiday.el-GR12.name=Ημέρα του ΌΧΙ
holiday.el-GR12.date=20211028
holiday.el-GR13.name=Χριστούγεννα
holiday.el-GR13.date=20211225
holiday.el-GR14.name=Επόμενη ημέρα Χριστουγέννων
holiday.el-GR14.date=20211226
holiday.el-GR15.name=Πρωτοχρονιά
holiday.el-GR15.date=20220101
holiday.el-GR16.name=Θεοφάνεια
holiday.el-GR16.date=20220106
holiday.el-GR17.name=Καθαρά Δευτέρα
holiday.el-GR17.date=20220307
holiday.el-GR18.name=Ευαγγελισμός της Θεοτόκου και Εθνική Ημέρα Ανεξαρτησίας της Ελλάδας
holiday.el-GR18.date=20220325
holiday.el-GR19.name=Μεγάλη Παρασκευή
holiday.el-GR19.date=20220422
holiday.el-GR20.name=Μεγάλο Σάββατο
holiday.el-GR20.date=20220423
holiday.el-GR21.name=Πάσχα
holiday.el-GR21.date=20220424
holiday.el-GR22.name=Δευτέρα του Πάσχα
holiday.el-GR22.date=20220425
holiday.el-GR23.name=Πρωτομαγιά
holiday.el-GR23.date=20220501
holiday.el-GR24.name=Δευτέρα του Αγίου Πνεύματος
holiday.el-GR24.date=20220613
holiday.el-GR25.name=Κοίμηση της Θεοτόκου
holiday.el-GR25.date=20220815
holiday.el-GR26.name=Ημέρα του ΌΧΙ
holiday.el-GR26.date=20221028
holiday.el-GR27.name=Χριστούγεννα
holiday.el-GR27.date=20221225
holiday.el-GR28.name=Επόμενη ημέρα Χριστουγέννων
holiday.el-GR28.date=20221226

105
doc/rc/holidays.en-CA.rc Normal file
View File

@@ -0,0 +1,105 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/en-CA/2021.json
# https://holidata.net/en-CA/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.en-CA1.name=New Year's Day
holiday.en-CA1.date=20210101
holiday.en-CA2.name=Family Day
holiday.en-CA2.date=20210215
holiday.en-CA3.name=Louis Riel Day
holiday.en-CA3.date=20210215
holiday.en-CA4.name=Islander Day
holiday.en-CA4.date=20210215
holiday.en-CA5.name=Good Friday
holiday.en-CA5.date=20210402
holiday.en-CA6.name=Easter Monday
holiday.en-CA6.date=20210405
holiday.en-CA7.name=National Patriots' Day
holiday.en-CA7.date=20210524
holiday.en-CA8.name=Victoria Day
holiday.en-CA8.date=20210524
holiday.en-CA9.name=National Holiday
holiday.en-CA9.date=20210624
holiday.en-CA10.name=Canada Day
holiday.en-CA10.date=20210701
holiday.en-CA11.name=August Civic Holiday
holiday.en-CA11.date=20210802
holiday.en-CA12.name=Saskatchewan Day
holiday.en-CA12.date=20210802
holiday.en-CA13.name=Heritage Day
holiday.en-CA13.date=20210802
holiday.en-CA14.name=New Brunswick Day
holiday.en-CA14.date=20210802
holiday.en-CA15.name=Labour Day
holiday.en-CA15.date=20210906
holiday.en-CA16.name=Thanksgiving Day
holiday.en-CA16.date=20211011
holiday.en-CA17.name=Remembrance Day
holiday.en-CA17.date=20211111
holiday.en-CA18.name=Christmas Day
holiday.en-CA18.date=20211225
holiday.en-CA19.name=Boxing Day
holiday.en-CA19.date=20211226
holiday.en-CA20.name=New Year's Day
holiday.en-CA20.date=20220101
holiday.en-CA21.name=Family Day
holiday.en-CA21.date=20220221
holiday.en-CA22.name=Louis Riel Day
holiday.en-CA22.date=20220221
holiday.en-CA23.name=Islander Day
holiday.en-CA23.date=20220221
holiday.en-CA24.name=Good Friday
holiday.en-CA24.date=20220415
holiday.en-CA25.name=Easter Monday
holiday.en-CA25.date=20220418
holiday.en-CA26.name=National Patriots' Day
holiday.en-CA26.date=20220523
holiday.en-CA27.name=Victoria Day
holiday.en-CA27.date=20220523
holiday.en-CA28.name=National Holiday
holiday.en-CA28.date=20220624
holiday.en-CA29.name=Canada Day
holiday.en-CA29.date=20220701
holiday.en-CA30.name=August Civic Holiday
holiday.en-CA30.date=20220801
holiday.en-CA31.name=Saskatchewan Day
holiday.en-CA31.date=20220801
holiday.en-CA32.name=Heritage Day
holiday.en-CA32.date=20220801
holiday.en-CA33.name=New Brunswick Day
holiday.en-CA33.date=20220801
holiday.en-CA34.name=Labour Day
holiday.en-CA34.date=20220905
holiday.en-CA35.name=Thanksgiving Day
holiday.en-CA35.date=20221010
holiday.en-CA36.name=Remembrance Day
holiday.en-CA36.date=20221111
holiday.en-CA37.name=Christmas Day
holiday.en-CA37.date=20221225
holiday.en-CA38.name=Boxing Day
holiday.en-CA38.date=20221226

69
doc/rc/holidays.en-GB.rc Normal file
View File

@@ -0,0 +1,69 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/en-GB/2021.json
# https://holidata.net/en-GB/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.en-GB1.name=New Year's Day
holiday.en-GB1.date=20210101
holiday.en-GB2.name=Good Friday
holiday.en-GB2.date=20210402
holiday.en-GB3.name=Easter Monday
holiday.en-GB3.date=20210405
holiday.en-GB4.name=Early May Bank Holiday
holiday.en-GB4.date=20210503
holiday.en-GB5.name=Spring Bank Holiday
holiday.en-GB5.date=20210531
holiday.en-GB6.name=August Bank Holiday
holiday.en-GB6.date=20210830
holiday.en-GB7.name=Christmas Day
holiday.en-GB7.date=20211225
holiday.en-GB8.name=Boxing Day
holiday.en-GB8.date=20211226
holiday.en-GB9.name=Christmas Day (observed)
holiday.en-GB9.date=20211227
holiday.en-GB10.name=Boxing Day (observed)
holiday.en-GB10.date=20211228
holiday.en-GB11.name=New Year's Day
holiday.en-GB11.date=20220101
holiday.en-GB12.name=New Year's Day (observed)
holiday.en-GB12.date=20220103
holiday.en-GB13.name=Good Friday
holiday.en-GB13.date=20220415
holiday.en-GB14.name=Easter Monday
holiday.en-GB14.date=20220418
holiday.en-GB15.name=Early May Bank Holiday
holiday.en-GB15.date=20220502
holiday.en-GB16.name=Spring Bank Holiday
holiday.en-GB16.date=20220530
holiday.en-GB17.name=August Bank Holiday
holiday.en-GB17.date=20220829
holiday.en-GB18.name=Christmas Day
holiday.en-GB18.date=20221225
holiday.en-GB19.name=Boxing Day
holiday.en-GB19.date=20221226
holiday.en-GB20.name=Christmas Day (observed)
holiday.en-GB20.date=20221227

83
doc/rc/holidays.en-NZ.rc Normal file
View File

@@ -0,0 +1,83 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/en-NZ/2021.json
# https://holidata.net/en-NZ/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.en-NZ1.name=New Year's Day
holiday.en-NZ1.date=20210101
holiday.en-NZ2.name=Day after New Year's Day
holiday.en-NZ2.date=20210104
holiday.en-NZ3.name=Waitangi Day
holiday.en-NZ3.date=20210206
holiday.en-NZ4.name=Waitangi Day (observed)
holiday.en-NZ4.date=20210208
holiday.en-NZ5.name=Good Friday
holiday.en-NZ5.date=20210402
holiday.en-NZ6.name=Easter Monday
holiday.en-NZ6.date=20210405
holiday.en-NZ7.name=ANZAC Day
holiday.en-NZ7.date=20210425
holiday.en-NZ8.name=ANZAC Day (observed)
holiday.en-NZ8.date=20210426
holiday.en-NZ9.name=Queen's Birthday
holiday.en-NZ9.date=20210607
holiday.en-NZ10.name=Labour Day
holiday.en-NZ10.date=20211025
holiday.en-NZ11.name=Christmas Day
holiday.en-NZ11.date=20211225
holiday.en-NZ12.name=Boxing Day
holiday.en-NZ12.date=20211226
holiday.en-NZ13.name=Christmas Day (observed)
holiday.en-NZ13.date=20211227
holiday.en-NZ14.name=Boxing Day (observed)
holiday.en-NZ14.date=20211228
holiday.en-NZ15.name=New Year's Day
holiday.en-NZ15.date=20220101
holiday.en-NZ16.name=New Year's Day (observed)
holiday.en-NZ16.date=20220103
holiday.en-NZ17.name=Day after New Year's Day
holiday.en-NZ17.date=20220104
holiday.en-NZ18.name=Waitangi Day
holiday.en-NZ18.date=20220206
holiday.en-NZ19.name=Waitangi Day (observed)
holiday.en-NZ19.date=20220207
holiday.en-NZ20.name=Good Friday
holiday.en-NZ20.date=20220415
holiday.en-NZ21.name=Easter Monday
holiday.en-NZ21.date=20220418
holiday.en-NZ22.name=ANZAC Day
holiday.en-NZ22.date=20220425
holiday.en-NZ23.name=Queen's Birthday
holiday.en-NZ23.date=20220606
holiday.en-NZ24.name=Labour Day
holiday.en-NZ24.date=20221024
holiday.en-NZ25.name=Christmas Day
holiday.en-NZ25.date=20221225
holiday.en-NZ26.name=Boxing Day
holiday.en-NZ26.date=20221226
holiday.en-NZ27.name=Christmas Day (observed)
holiday.en-NZ27.date=20221227

77
doc/rc/holidays.en-US.rc Normal file
View File

@@ -0,0 +1,77 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/en-US/2021.json
# https://holidata.net/en-US/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.en-US1.name=New Year's Day
holiday.en-US1.date=20210101
holiday.en-US2.name=Birthday of Martin Luther King, Jr.
holiday.en-US2.date=20210118
holiday.en-US3.name=Washington's Birthday
holiday.en-US3.date=20210215
holiday.en-US4.name=Patriots' Day
holiday.en-US4.date=20210419
holiday.en-US5.name=Memorial Day
holiday.en-US5.date=20210531
holiday.en-US6.name=Independence Day
holiday.en-US6.date=20210704
holiday.en-US7.name=Labor Day
holiday.en-US7.date=20210906
holiday.en-US8.name=Columbus Day
holiday.en-US8.date=20211011
holiday.en-US9.name=Veterans Day
holiday.en-US9.date=20211111
holiday.en-US10.name=Thanksgiving Day
holiday.en-US10.date=20211125
holiday.en-US11.name=Christmas Day
holiday.en-US11.date=20211225
holiday.en-US12.name=New Year's Day
holiday.en-US12.date=20220101
holiday.en-US13.name=Birthday of Martin Luther King, Jr.
holiday.en-US13.date=20220117
holiday.en-US14.name=Washington's Birthday
holiday.en-US14.date=20220221
holiday.en-US15.name=Patriots' Day
holiday.en-US15.date=20220418
holiday.en-US16.name=Memorial Day
holiday.en-US16.date=20220530
holiday.en-US17.name=Independence Day
holiday.en-US17.date=20220704
holiday.en-US18.name=Labor Day
holiday.en-US18.date=20220905
holiday.en-US19.name=Columbus Day
holiday.en-US19.date=20221010
holiday.en-US20.name=Veterans Day
holiday.en-US20.date=20221111
holiday.en-US21.name=Thanksgiving Day
holiday.en-US21.date=20221124
holiday.en-US22.name=Day after Thanksgiving
holiday.en-US22.date=20221125
holiday.en-US23.name=Christmas Eve
holiday.en-US23.date=20221224
holiday.en-US24.name=Christmas Day
holiday.en-US24.date=20221225

105
doc/rc/holidays.es-CO.rc Normal file
View File

@@ -0,0 +1,105 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/es-CO/2021.json
# https://holidata.net/es-CO/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.es-CO1.name=Año Nuevo
holiday.es-CO1.date=20210101
holiday.es-CO2.name=Día de los Reyes Magos
holiday.es-CO2.date=20210111
holiday.es-CO3.name=Día de San José
holiday.es-CO3.date=20210322
holiday.es-CO4.name=Jueves Santo
holiday.es-CO4.date=20210401
holiday.es-CO5.name=Viernes Santo
holiday.es-CO5.date=20210402
holiday.es-CO6.name=Domingo de Pascua
holiday.es-CO6.date=20210404
holiday.es-CO7.name=Día del Trabajo
holiday.es-CO7.date=20210501
holiday.es-CO8.name=La Ascensión del Señor
holiday.es-CO8.date=20210517
holiday.es-CO9.name=Corpus Christi
holiday.es-CO9.date=20210607
holiday.es-CO10.name=El Sagrado Corazón de Jesús
holiday.es-CO10.date=20210614
holiday.es-CO11.name=San Pedro y San Pablo
holiday.es-CO11.date=20210705
holiday.es-CO12.name=Grito de Independencia
holiday.es-CO12.date=20210720
holiday.es-CO13.name=Batalla de Boyacá
holiday.es-CO13.date=20210807
holiday.es-CO14.name=Asunción de la Virgen
holiday.es-CO14.date=20210816
holiday.es-CO15.name=Día de la Raza
holiday.es-CO15.date=20211018
holiday.es-CO16.name=Todos los Santos
holiday.es-CO16.date=20211101
holiday.es-CO17.name=Independencia de Cartagena
holiday.es-CO17.date=20211115
holiday.es-CO18.name=Inmaculada Concepción
holiday.es-CO18.date=20211208
holiday.es-CO19.name=Navidad
holiday.es-CO19.date=20211225
holiday.es-CO20.name=Año Nuevo
holiday.es-CO20.date=20220101
holiday.es-CO21.name=Día de los Reyes Magos
holiday.es-CO21.date=20220110
holiday.es-CO22.name=Día de San José
holiday.es-CO22.date=20220321
holiday.es-CO23.name=Jueves Santo
holiday.es-CO23.date=20220414
holiday.es-CO24.name=Viernes Santo
holiday.es-CO24.date=20220415
holiday.es-CO25.name=Domingo de Pascua
holiday.es-CO25.date=20220417
holiday.es-CO26.name=Día del Trabajo
holiday.es-CO26.date=20220501
holiday.es-CO27.name=La Ascensión del Señor
holiday.es-CO27.date=20220530
holiday.es-CO28.name=Corpus Christi
holiday.es-CO28.date=20220620
holiday.es-CO29.name=El Sagrado Corazón de Jesús
holiday.es-CO29.date=20220627
holiday.es-CO30.name=San Pedro y San Pablo
holiday.es-CO30.date=20220704
holiday.es-CO31.name=Grito de Independencia
holiday.es-CO31.date=20220720
holiday.es-CO32.name=Batalla de Boyacá
holiday.es-CO32.date=20220807
holiday.es-CO33.name=Asunción de la Virgen
holiday.es-CO33.date=20220815
holiday.es-CO34.name=Día de la Raza
holiday.es-CO34.date=20221017
holiday.es-CO35.name=Todos los Santos
holiday.es-CO35.date=20221107
holiday.es-CO36.name=Independencia de Cartagena
holiday.es-CO36.date=20221114
holiday.es-CO37.name=Inmaculada Concepción
holiday.es-CO37.date=20221208
holiday.es-CO38.name=Navidad
holiday.es-CO38.date=20221225

155
doc/rc/holidays.es-ES.rc Normal file
View File

@@ -0,0 +1,155 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/es-ES/2021.json
# https://holidata.net/es-ES/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.es-ES1.name=Año Nuevo
holiday.es-ES1.date=20210101
holiday.es-ES2.name=Epifanía del Señor
holiday.es-ES2.date=20210106
holiday.es-ES3.name=Día de Andalucía
holiday.es-ES3.date=20210301
holiday.es-ES4.name=Día de las Illes Balears
holiday.es-ES4.date=20210301
holiday.es-ES5.name=Estatuto de Autonomía de la Ciudad de Melilla
holiday.es-ES5.date=20210313
holiday.es-ES6.name=San José
holiday.es-ES6.date=20210319
holiday.es-ES7.name=Jueves Santo
holiday.es-ES7.date=20210401
holiday.es-ES8.name=Viernes Santo
holiday.es-ES8.date=20210402
holiday.es-ES9.name=Pascua
holiday.es-ES9.date=20210404
holiday.es-ES10.name=Lunes de Pascua
holiday.es-ES10.date=20210405
holiday.es-ES11.name=Fiesta de Castilla y León
holiday.es-ES11.date=20210423
holiday.es-ES12.name=San Jorge / Día de Aragón
holiday.es-ES12.date=20210423
holiday.es-ES13.name=Fiesta del Trabajo
holiday.es-ES13.date=20210501
holiday.es-ES14.name=Lunes siguiente al Día de la Comunidad de Madrid
holiday.es-ES14.date=20210503
holiday.es-ES15.name=Día de las Letras Gallegas
holiday.es-ES15.date=20210517
holiday.es-ES16.name=Día de Castilla-La Mancha
holiday.es-ES16.date=20210531
holiday.es-ES17.name=Corpus Christi
holiday.es-ES17.date=20210603
holiday.es-ES18.name=Día de la Región de Murcia
holiday.es-ES18.date=20210609
holiday.es-ES19.name=Día de La Rioja
holiday.es-ES19.date=20210609
holiday.es-ES20.name=San Juan
holiday.es-ES20.date=20210624
holiday.es-ES21.name=Fiesta del Sacrificio (Eidul Adha)
holiday.es-ES21.date=20210720
holiday.es-ES22.name=Fiesta del Sacrificio (Aid El Kebir)
holiday.es-ES22.date=20210721
holiday.es-ES23.name=Santiago Apóstol / Día Nacional de Galicia
holiday.es-ES23.date=20210725
holiday.es-ES24.name=Día de las Instituciones de Cantabria
holiday.es-ES24.date=20210728
holiday.es-ES25.name=Asunción de la Virgen
holiday.es-ES25.date=20210815
holiday.es-ES26.name=Lunes siguiente a la Asunción de la Virgen
holiday.es-ES26.date=20210816
holiday.es-ES27.name=Día de Ceuta
holiday.es-ES27.date=20210902
holiday.es-ES28.name=Día de Asturias
holiday.es-ES28.date=20210908
holiday.es-ES29.name=Día de Extremadura
holiday.es-ES29.date=20210908
holiday.es-ES30.name=Fiesta Nacional de Cataluña
holiday.es-ES30.date=20210911
holiday.es-ES31.name=La Bien Aparecida
holiday.es-ES31.date=20210915
holiday.es-ES32.name=Día de la Comunitat Valenciana
holiday.es-ES32.date=20211009
holiday.es-ES33.name=Fiesta Nacional de España
holiday.es-ES33.date=20211012
holiday.es-ES34.name=Todos los Santos
holiday.es-ES34.date=20211101
holiday.es-ES35.name=Día de la Constitución Española
holiday.es-ES35.date=20211206
holiday.es-ES36.name=Inmaculada Concepción
holiday.es-ES36.date=20211208
holiday.es-ES37.name=Natividad del Señor
holiday.es-ES37.date=20211225
holiday.es-ES38.name=Año Nuevo
holiday.es-ES38.date=20220101
holiday.es-ES39.name=Epifanía del Señor
holiday.es-ES39.date=20220106
holiday.es-ES40.name=Día de Andalucía
holiday.es-ES40.date=20220228
holiday.es-ES41.name=Estatuto de Autonomía de la Ciudad de Melilla
holiday.es-ES41.date=20220313
holiday.es-ES42.name=Viernes Santo
holiday.es-ES42.date=20220415
holiday.es-ES43.name=Pascua
holiday.es-ES43.date=20220417
holiday.es-ES44.name=Fiesta de Castilla y León
holiday.es-ES44.date=20220423
holiday.es-ES45.name=San Jorge / Día de Aragón
holiday.es-ES45.date=20220423
holiday.es-ES46.name=Fiesta del Trabajo
holiday.es-ES46.date=20220501
holiday.es-ES47.name=Fiesta de la Comunidad de Madrid
holiday.es-ES47.date=20220502
holiday.es-ES48.name=Día de las Letras Gallegas
holiday.es-ES48.date=20220517
holiday.es-ES49.name=Día de Canarias
holiday.es-ES49.date=20220530
holiday.es-ES50.name=Día de Castilla-La Mancha
holiday.es-ES50.date=20220531
holiday.es-ES51.name=Día de la Región de Murcia
holiday.es-ES51.date=20220609
holiday.es-ES52.name=Día de La Rioja
holiday.es-ES52.date=20220609
holiday.es-ES53.name=Santiago Apóstol / Día Nacional de Galicia
holiday.es-ES53.date=20220725
holiday.es-ES54.name=Asunción de la Virgen
holiday.es-ES54.date=20220815
holiday.es-ES55.name=Día de Asturias
holiday.es-ES55.date=20220908
holiday.es-ES56.name=Día de Extremadura
holiday.es-ES56.date=20220908
holiday.es-ES57.name=Fiesta Nacional de Cataluña
holiday.es-ES57.date=20220911
holiday.es-ES58.name=Día de la Comunitat Valenciana
holiday.es-ES58.date=20221009
holiday.es-ES59.name=Fiesta Nacional de España
holiday.es-ES59.date=20221012
holiday.es-ES60.name=Todos los Santos
holiday.es-ES60.date=20221101
holiday.es-ES61.name=Día de la Constitución Española
holiday.es-ES61.date=20221206
holiday.es-ES62.name=Inmaculada Concepción
holiday.es-ES62.date=20221208
holiday.es-ES63.name=Natividad del Señor
holiday.es-ES63.date=20221225

77
doc/rc/holidays.es-US.rc Normal file
View File

@@ -0,0 +1,77 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/es-US/2021.json
# https://holidata.net/es-US/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.es-US1.name=Año Neuvo
holiday.es-US1.date=20210101
holiday.es-US2.name=Cumpleaños de Martin Luther King, Jr.
holiday.es-US2.date=20210118
holiday.es-US3.name=Día del Presidente
holiday.es-US3.date=20210215
holiday.es-US4.name=Día del Patriota
holiday.es-US4.date=20210419
holiday.es-US5.name=Día de los Caídos
holiday.es-US5.date=20210531
holiday.es-US6.name=Día de la Independiencia
holiday.es-US6.date=20210704
holiday.es-US7.name=Día del Trabajo
holiday.es-US7.date=20210906
holiday.es-US8.name=Día de Columbus
holiday.es-US8.date=20211011
holiday.es-US9.name=Día de los Veteranos
holiday.es-US9.date=20211111
holiday.es-US10.name=Día de Acción de Gracias
holiday.es-US10.date=20211125
holiday.es-US11.name=Navidad
holiday.es-US11.date=20211225
holiday.es-US12.name=Año Neuvo
holiday.es-US12.date=20220101
holiday.es-US13.name=Cumpleaños de Martin Luther King, Jr.
holiday.es-US13.date=20220117
holiday.es-US14.name=Día del Presidente
holiday.es-US14.date=20220221
holiday.es-US15.name=Día del Patriota
holiday.es-US15.date=20220418
holiday.es-US16.name=Día de los Caídos
holiday.es-US16.date=20220530
holiday.es-US17.name=Día de la Independiencia
holiday.es-US17.date=20220704
holiday.es-US18.name=Día del Trabajo
holiday.es-US18.date=20220905
holiday.es-US19.name=Día de Columbus
holiday.es-US19.date=20221010
holiday.es-US20.name=Día de los Veteranos
holiday.es-US20.date=20221111
holiday.es-US21.name=Día de Acción de Gracias
holiday.es-US21.date=20221124
holiday.es-US22.name=Día después de Acción de Gracias
holiday.es-US22.date=20221125
holiday.es-US23.name=Nochebuena
holiday.es-US23.date=20221224
holiday.es-US24.name=Navidad
holiday.es-US24.date=20221225

81
doc/rc/holidays.fi-FI.rc Normal file
View File

@@ -0,0 +1,81 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/fi-FI/2021.json
# https://holidata.net/fi-FI/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.fi-FI1.name=Uudenvuodenpäivä
holiday.fi-FI1.date=20210101
holiday.fi-FI2.name=Loppiainen
holiday.fi-FI2.date=20210106
holiday.fi-FI3.name=Pitkäperjantai
holiday.fi-FI3.date=20210402
holiday.fi-FI4.name=Pääsiäispäivä
holiday.fi-FI4.date=20210404
holiday.fi-FI5.name=2. pääsiäispäivä
holiday.fi-FI5.date=20210405
holiday.fi-FI6.name=Vappu
holiday.fi-FI6.date=20210501
holiday.fi-FI7.name=Helatorstai
holiday.fi-FI7.date=20210513
holiday.fi-FI8.name=Helluntaipäivä
holiday.fi-FI8.date=20210523
holiday.fi-FI9.name=Juhannuspäivä
holiday.fi-FI9.date=20210626
holiday.fi-FI10.name=Pyhäinpäivä
holiday.fi-FI10.date=20211106
holiday.fi-FI11.name=Itsenäisyyspäivä
holiday.fi-FI11.date=20211206
holiday.fi-FI12.name=Joulupäivä
holiday.fi-FI12.date=20211225
holiday.fi-FI13.name=Tapaninpäivä
holiday.fi-FI13.date=20211226
holiday.fi-FI14.name=Uudenvuodenpäivä
holiday.fi-FI14.date=20220101
holiday.fi-FI15.name=Loppiainen
holiday.fi-FI15.date=20220106
holiday.fi-FI16.name=Pitkäperjantai
holiday.fi-FI16.date=20220415
holiday.fi-FI17.name=Pääsiäispäivä
holiday.fi-FI17.date=20220417
holiday.fi-FI18.name=2. pääsiäispäivä
holiday.fi-FI18.date=20220418
holiday.fi-FI19.name=Vappu
holiday.fi-FI19.date=20220501
holiday.fi-FI20.name=Helatorstai
holiday.fi-FI20.date=20220526
holiday.fi-FI21.name=Helluntaipäivä
holiday.fi-FI21.date=20220605
holiday.fi-FI22.name=Juhannuspäivä
holiday.fi-FI22.date=20220625
holiday.fi-FI23.name=Pyhäinpäivä
holiday.fi-FI23.date=20221105
holiday.fi-FI24.name=Itsenäisyyspäivä
holiday.fi-FI24.date=20221206
holiday.fi-FI25.name=Joulupäivä
holiday.fi-FI25.date=20221225
holiday.fi-FI26.name=Tapaninpäivä
holiday.fi-FI26.date=20221226

77
doc/rc/holidays.fr-BE.rc Normal file
View File

@@ -0,0 +1,77 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/fr-BE/2021.json
# https://holidata.net/fr-BE/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.fr-BE1.name=Nouvel An
holiday.fr-BE1.date=20210101
holiday.fr-BE2.name=Pâques
holiday.fr-BE2.date=20210404
holiday.fr-BE3.name=Lundi de Pâques
holiday.fr-BE3.date=20210405
holiday.fr-BE4.name=Fête du Travail
holiday.fr-BE4.date=20210501
holiday.fr-BE5.name=Ascension
holiday.fr-BE5.date=20210513
holiday.fr-BE6.name=Pentecôte
holiday.fr-BE6.date=20210523
holiday.fr-BE7.name=Lundi de Pentecôte
holiday.fr-BE7.date=20210524
holiday.fr-BE8.name=Fête nationale
holiday.fr-BE8.date=20210721
holiday.fr-BE9.name=Assomption
holiday.fr-BE9.date=20210815
holiday.fr-BE10.name=Toussaint
holiday.fr-BE10.date=20211101
holiday.fr-BE11.name=Jour de l'armistice
holiday.fr-BE11.date=20211111
holiday.fr-BE12.name=Noël
holiday.fr-BE12.date=20211225
holiday.fr-BE13.name=Nouvel An
holiday.fr-BE13.date=20220101
holiday.fr-BE14.name=Pâques
holiday.fr-BE14.date=20220417
holiday.fr-BE15.name=Lundi de Pâques
holiday.fr-BE15.date=20220418
holiday.fr-BE16.name=Fête du Travail
holiday.fr-BE16.date=20220501
holiday.fr-BE17.name=Ascension
holiday.fr-BE17.date=20220526
holiday.fr-BE18.name=Pentecôte
holiday.fr-BE18.date=20220605
holiday.fr-BE19.name=Lundi de Pentecôte
holiday.fr-BE19.date=20220606
holiday.fr-BE20.name=Fête nationale
holiday.fr-BE20.date=20220721
holiday.fr-BE21.name=Assomption
holiday.fr-BE21.date=20220815
holiday.fr-BE22.name=Toussaint
holiday.fr-BE22.date=20221101
holiday.fr-BE23.name=Jour de l'armistice
holiday.fr-BE23.date=20221111
holiday.fr-BE24.name=Noël
holiday.fr-BE24.date=20221225

109
doc/rc/holidays.fr-CA.rc Normal file
View File

@@ -0,0 +1,109 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/fr-CA/2021.json
# https://holidata.net/fr-CA/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.fr-CA1.name=Jour de l'An
holiday.fr-CA1.date=20210101
holiday.fr-CA2.name=Fête de la Famille
holiday.fr-CA2.date=20210215
holiday.fr-CA3.name=Journée Louis Riel
holiday.fr-CA3.date=20210215
holiday.fr-CA4.name=Fête des Insulaires
holiday.fr-CA4.date=20210215
holiday.fr-CA5.name=Vendredi Saint
holiday.fr-CA5.date=20210402
holiday.fr-CA6.name=Lundi de Pâques
holiday.fr-CA6.date=20210405
holiday.fr-CA7.name=Fête de la Reine Victoria
holiday.fr-CA7.date=20210524
holiday.fr-CA8.name=Journée Nationale des Patriotes
holiday.fr-CA8.date=20210524
holiday.fr-CA9.name=Fête Nationale
holiday.fr-CA9.date=20210624
holiday.fr-CA10.name=Fête du Canada
holiday.fr-CA10.date=20210701
holiday.fr-CA11.name=Premier lundi d'août
holiday.fr-CA11.date=20210802
holiday.fr-CA12.name=Fête du Patrimoine
holiday.fr-CA12.date=20210802
holiday.fr-CA13.name=Fête de la Saskatchewan
holiday.fr-CA13.date=20210802
holiday.fr-CA14.name=Jour de la Fondation
holiday.fr-CA14.date=20210802
holiday.fr-CA15.name=Jour du Nouveau-Brunswick
holiday.fr-CA15.date=20210802
holiday.fr-CA16.name=Fête du Travail
holiday.fr-CA16.date=20210906
holiday.fr-CA17.name=Jour de l'Action de grâce
holiday.fr-CA17.date=20211011
holiday.fr-CA18.name=Jour du Souvenir
holiday.fr-CA18.date=20211111
holiday.fr-CA19.name=Jour de Noël
holiday.fr-CA19.date=20211225
holiday.fr-CA20.name=Lendemain de Noël
holiday.fr-CA20.date=20211226
holiday.fr-CA21.name=Jour de l'An
holiday.fr-CA21.date=20220101
holiday.fr-CA22.name=Fête de la Famille
holiday.fr-CA22.date=20220221
holiday.fr-CA23.name=Journée Louis Riel
holiday.fr-CA23.date=20220221
holiday.fr-CA24.name=Fête des Insulaires
holiday.fr-CA24.date=20220221
holiday.fr-CA25.name=Vendredi Saint
holiday.fr-CA25.date=20220415
holiday.fr-CA26.name=Lundi de Pâques
holiday.fr-CA26.date=20220418
holiday.fr-CA27.name=Fête de la Reine Victoria
holiday.fr-CA27.date=20220523
holiday.fr-CA28.name=Journée Nationale des Patriotes
holiday.fr-CA28.date=20220523
holiday.fr-CA29.name=Fête Nationale
holiday.fr-CA29.date=20220624
holiday.fr-CA30.name=Fête du Canada
holiday.fr-CA30.date=20220701
holiday.fr-CA31.name=Premier lundi d'août
holiday.fr-CA31.date=20220801
holiday.fr-CA32.name=Fête du Patrimoine
holiday.fr-CA32.date=20220801
holiday.fr-CA33.name=Fête de la Saskatchewan
holiday.fr-CA33.date=20220801
holiday.fr-CA34.name=Jour de la Fondation
holiday.fr-CA34.date=20220801
holiday.fr-CA35.name=Jour du Nouveau-Brunswick
holiday.fr-CA35.date=20220801
holiday.fr-CA36.name=Fête du Travail
holiday.fr-CA36.date=20220905
holiday.fr-CA37.name=Jour de l'Action de grâce
holiday.fr-CA37.date=20221010
holiday.fr-CA38.name=Jour du Souvenir
holiday.fr-CA38.date=20221111
holiday.fr-CA39.name=Jour de Noël
holiday.fr-CA39.date=20221225
holiday.fr-CA40.name=Lendemain de Noël
holiday.fr-CA40.date=20221226

77
doc/rc/holidays.fr-FR.rc Normal file
View File

@@ -0,0 +1,77 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/fr-FR/2021.json
# https://holidata.net/fr-FR/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.fr-FR1.name=Jour de l'an
holiday.fr-FR1.date=20210101
holiday.fr-FR2.name=Lundi de Pâques
holiday.fr-FR2.date=20210405
holiday.fr-FR3.name=Fête du premier mai
holiday.fr-FR3.date=20210501
holiday.fr-FR4.name=Armistice 1945
holiday.fr-FR4.date=20210508
holiday.fr-FR5.name=Ascension
holiday.fr-FR5.date=20210513
holiday.fr-FR6.name=Pentecôte
holiday.fr-FR6.date=20210523
holiday.fr-FR7.name=Lundi de Pentecôte
holiday.fr-FR7.date=20210524
holiday.fr-FR8.name=Fête nationale
holiday.fr-FR8.date=20210714
holiday.fr-FR9.name=Assomption
holiday.fr-FR9.date=20210815
holiday.fr-FR10.name=Toussaint
holiday.fr-FR10.date=20211101
holiday.fr-FR11.name=Armistice 1918
holiday.fr-FR11.date=20211111
holiday.fr-FR12.name=Noël
holiday.fr-FR12.date=20211225
holiday.fr-FR13.name=Jour de l'an
holiday.fr-FR13.date=20220101
holiday.fr-FR14.name=Lundi de Pâques
holiday.fr-FR14.date=20220418
holiday.fr-FR15.name=Fête du premier mai
holiday.fr-FR15.date=20220501
holiday.fr-FR16.name=Armistice 1945
holiday.fr-FR16.date=20220508
holiday.fr-FR17.name=Ascension
holiday.fr-FR17.date=20220526
holiday.fr-FR18.name=Pentecôte
holiday.fr-FR18.date=20220605
holiday.fr-FR19.name=Lundi de Pentecôte
holiday.fr-FR19.date=20220606
holiday.fr-FR20.name=Fête nationale
holiday.fr-FR20.date=20220714
holiday.fr-FR21.name=Assomption
holiday.fr-FR21.date=20220815
holiday.fr-FR22.name=Toussaint
holiday.fr-FR22.date=20221101
holiday.fr-FR23.name=Armistice 1918
holiday.fr-FR23.date=20221111
holiday.fr-FR24.name=Noël
holiday.fr-FR24.date=20221225

87
doc/rc/holidays.hr-HR.rc Normal file
View File

@@ -0,0 +1,87 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/hr-HR/2021.json
# https://holidata.net/hr-HR/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.hr-HR1.name=Nova Godina
holiday.hr-HR1.date=20210101
holiday.hr-HR2.name=Bogojavljenje
holiday.hr-HR2.date=20210106
holiday.hr-HR3.name=Uskrs
holiday.hr-HR3.date=20210404
holiday.hr-HR4.name=Uskrsni ponedjeljak
holiday.hr-HR4.date=20210405
holiday.hr-HR5.name=Praznik rada
holiday.hr-HR5.date=20210501
holiday.hr-HR6.name=Tijelovo
holiday.hr-HR6.date=20210603
holiday.hr-HR7.name=Dan antifašističke borbe
holiday.hr-HR7.date=20210622
holiday.hr-HR8.name=Dan državnosti
holiday.hr-HR8.date=20210625
holiday.hr-HR9.name=Dan pobjede i domovinske zahvalnosti i Dan hrvatskih branitelja
holiday.hr-HR9.date=20210805
holiday.hr-HR10.name=Velika Gospa
holiday.hr-HR10.date=20210815
holiday.hr-HR11.name=Dan neovisnosti
holiday.hr-HR11.date=20211008
holiday.hr-HR12.name=Svi sveti
holiday.hr-HR12.date=20211101
holiday.hr-HR13.name=Dan sjećanja na žrtve Domovinskog rata i Dan sjećanja na žrtvu Vukovara i Škabrnje
holiday.hr-HR13.date=20211118
holiday.hr-HR14.name=Božić
holiday.hr-HR14.date=20211225
holiday.hr-HR15.name=Sveti Stjepan
holiday.hr-HR15.date=20211226
holiday.hr-HR16.name=Nova Godina
holiday.hr-HR16.date=20220101
holiday.hr-HR17.name=Sveta tri kralja
holiday.hr-HR17.date=20220106
holiday.hr-HR18.name=Uskrs
holiday.hr-HR18.date=20220417
holiday.hr-HR19.name=Uskršnji ponedjeljak
holiday.hr-HR19.date=20220418
holiday.hr-HR20.name=Praznik rada
holiday.hr-HR20.date=20220501
holiday.hr-HR21.name=Dan državnosti
holiday.hr-HR21.date=20220530
holiday.hr-HR22.name=Tijelovo
holiday.hr-HR22.date=20220616
holiday.hr-HR23.name=Dan antifašističke borbe
holiday.hr-HR23.date=20220622
holiday.hr-HR24.name=Dan pobjede i domovinske zahvalnosti i Dan hrvatskih branitelja
holiday.hr-HR24.date=20220805
holiday.hr-HR25.name=Velika Gospa
holiday.hr-HR25.date=20220815
holiday.hr-HR26.name=Dan svih svetih
holiday.hr-HR26.date=20221101
holiday.hr-HR27.name=Dan sjećanja na žrtve Domovinskog rata i Dan sjećanja na žrtvu Vukovara i Škabrnje
holiday.hr-HR27.date=20221118
holiday.hr-HR28.name=Božić
holiday.hr-HR28.date=20221225
holiday.hr-HR29.name=Sveti Stjepan
holiday.hr-HR29.date=20221226

83
doc/rc/holidays.hu-HU.rc Normal file
View File

@@ -0,0 +1,83 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/hu-HU/2021.json
# https://holidata.net/hu-HU/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.hu-HU1.name=Újév
holiday.hu-HU1.date=20210101
holiday.hu-HU2.name=Az 1848-as forradalom ünnepe
holiday.hu-HU2.date=20210315
holiday.hu-HU3.name=Nagypéntek
holiday.hu-HU3.date=20210402
holiday.hu-HU4.name=Húsvét
holiday.hu-HU4.date=20210404
holiday.hu-HU5.name=Húsvéthétfő
holiday.hu-HU5.date=20210405
holiday.hu-HU6.name=A munka ünnepe
holiday.hu-HU6.date=20210501
holiday.hu-HU7.name=Pünkösd
holiday.hu-HU7.date=20210523
holiday.hu-HU8.name=Pünkösdhétfő
holiday.hu-HU8.date=20210524
holiday.hu-HU9.name=Az államalapítás ünnepe
holiday.hu-HU9.date=20210820
holiday.hu-HU10.name=Az 1956-os forradalom ünnepe
holiday.hu-HU10.date=20211023
holiday.hu-HU11.name=Mindenszentek
holiday.hu-HU11.date=20211101
holiday.hu-HU12.name=Munkaszüneti Nap
holiday.hu-HU12.date=20211224
holiday.hu-HU13.name=Karácsony
holiday.hu-HU13.date=20211225
holiday.hu-HU14.name=Karácsony
holiday.hu-HU14.date=20211226
holiday.hu-HU15.name=Újév
holiday.hu-HU15.date=20220101
holiday.hu-HU16.name=Az 1848-as forradalom ünnepe
holiday.hu-HU16.date=20220315
holiday.hu-HU17.name=Nagypéntek
holiday.hu-HU17.date=20220415
holiday.hu-HU18.name=Húsvét
holiday.hu-HU18.date=20220417
holiday.hu-HU19.name=Húsvéthétfő
holiday.hu-HU19.date=20220418
holiday.hu-HU20.name=A munka ünnepe
holiday.hu-HU20.date=20220501
holiday.hu-HU21.name=Pünkösd
holiday.hu-HU21.date=20220605
holiday.hu-HU22.name=Pünkösdhétfő
holiday.hu-HU22.date=20220606
holiday.hu-HU23.name=Az államalapítás ünnepe
holiday.hu-HU23.date=20220820
holiday.hu-HU24.name=Az 1956-os forradalom ünnepe
holiday.hu-HU24.date=20221023
holiday.hu-HU25.name=Mindenszentek
holiday.hu-HU25.date=20221101
holiday.hu-HU26.name=Karácsony
holiday.hu-HU26.date=20221225
holiday.hu-HU27.name=Karácsony
holiday.hu-HU27.date=20221226

93
doc/rc/holidays.is-IS.rc Normal file
View File

@@ -0,0 +1,93 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/is-IS/2021.json
# https://holidata.net/is-IS/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.is-IS1.name=Nýársdagur
holiday.is-IS1.date=20210101
holiday.is-IS2.name=Skírdagur
holiday.is-IS2.date=20210401
holiday.is-IS3.name=Föstudagurinn langi
holiday.is-IS3.date=20210402
holiday.is-IS4.name=Páskadagur
holiday.is-IS4.date=20210404
holiday.is-IS5.name=Annar dagur páska
holiday.is-IS5.date=20210405
holiday.is-IS6.name=Sumardagurinn fyrsti
holiday.is-IS6.date=20210422
holiday.is-IS7.name=Verkalýðsdagurinn
holiday.is-IS7.date=20210501
holiday.is-IS8.name=Uppstigningardagur
holiday.is-IS8.date=20210513
holiday.is-IS9.name=Hvítasunnudagur
holiday.is-IS9.date=20210523
holiday.is-IS10.name=Annar dagur hvítasunnu
holiday.is-IS10.date=20210524
holiday.is-IS11.name=Þjóðhátíðardagurinn
holiday.is-IS11.date=20210617
holiday.is-IS12.name=Frídagur verslunarmanna
holiday.is-IS12.date=20210802
holiday.is-IS13.name=Aðfangadagur jóla
holiday.is-IS13.date=20211224
holiday.is-IS14.name=Jóladagur
holiday.is-IS14.date=20211225
holiday.is-IS15.name=Annar dagur jóla
holiday.is-IS15.date=20211226
holiday.is-IS16.name=Gamlársdagur
holiday.is-IS16.date=20211231
holiday.is-IS17.name=Nýársdagur
holiday.is-IS17.date=20220101
holiday.is-IS18.name=Skírdagur
holiday.is-IS18.date=20220414
holiday.is-IS19.name=Föstudagurinn langi
holiday.is-IS19.date=20220415
holiday.is-IS20.name=Páskadagur
holiday.is-IS20.date=20220417
holiday.is-IS21.name=Annar dagur páska
holiday.is-IS21.date=20220418
holiday.is-IS22.name=Sumardagurinn fyrsti
holiday.is-IS22.date=20220421
holiday.is-IS23.name=Verkalýðsdagurinn
holiday.is-IS23.date=20220501
holiday.is-IS24.name=Uppstigningardagur
holiday.is-IS24.date=20220526
holiday.is-IS25.name=Hvítasunnudagur
holiday.is-IS25.date=20220605
holiday.is-IS26.name=Annar dagur hvítasunnu
holiday.is-IS26.date=20220606
holiday.is-IS27.name=Þjóðhátíðardagurinn
holiday.is-IS27.date=20220617
holiday.is-IS28.name=Frídagur verslunarmanna
holiday.is-IS28.date=20220801
holiday.is-IS29.name=Aðfangadagur jóla
holiday.is-IS29.date=20221224
holiday.is-IS30.name=Jóladagur
holiday.is-IS30.date=20221225
holiday.is-IS31.name=Annar dagur jóla
holiday.is-IS31.date=20221226
holiday.is-IS32.name=Gamlársdagur
holiday.is-IS32.date=20221231

77
doc/rc/holidays.it-IT.rc Normal file
View File

@@ -0,0 +1,77 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/it-IT/2021.json
# https://holidata.net/it-IT/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.it-IT1.name=Capodanno
holiday.it-IT1.date=20210101
holiday.it-IT2.name=Epifania
holiday.it-IT2.date=20210106
holiday.it-IT3.name=Pasqua
holiday.it-IT3.date=20210404
holiday.it-IT4.name=Pasquetta
holiday.it-IT4.date=20210405
holiday.it-IT5.name=Festa della liberazione
holiday.it-IT5.date=20210425
holiday.it-IT6.name=Festa del lavoro
holiday.it-IT6.date=20210501
holiday.it-IT7.name=Festa della repubblica
holiday.it-IT7.date=20210602
holiday.it-IT8.name=Assunzione (ferragosto)
holiday.it-IT8.date=20210815
holiday.it-IT9.name=Ognissanti
holiday.it-IT9.date=20211101
holiday.it-IT10.name=Immacolata concezione
holiday.it-IT10.date=20211208
holiday.it-IT11.name=Natale
holiday.it-IT11.date=20211225
holiday.it-IT12.name=S.to Stefano
holiday.it-IT12.date=20211226
holiday.it-IT13.name=Capodanno
holiday.it-IT13.date=20220101
holiday.it-IT14.name=Epifania
holiday.it-IT14.date=20220106
holiday.it-IT15.name=Pasqua
holiday.it-IT15.date=20220417
holiday.it-IT16.name=Pasquetta
holiday.it-IT16.date=20220418
holiday.it-IT17.name=Festa della liberazione
holiday.it-IT17.date=20220425
holiday.it-IT18.name=Festa del lavoro
holiday.it-IT18.date=20220501
holiday.it-IT19.name=Festa della repubblica
holiday.it-IT19.date=20220602
holiday.it-IT20.name=Assunzione (ferragosto)
holiday.it-IT20.date=20220815
holiday.it-IT21.name=Ognissanti
holiday.it-IT21.date=20221101
holiday.it-IT22.name=Immacolata concezione
holiday.it-IT22.date=20221208
holiday.it-IT23.name=Natale
holiday.it-IT23.date=20221225
holiday.it-IT24.name=S.to Stefano
holiday.it-IT24.date=20221226

97
doc/rc/holidays.nb-NO.rc Normal file
View File

@@ -0,0 +1,97 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/nb-NO/2021.json
# https://holidata.net/nb-NO/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.nb-NO1.name=Nyttårsdag
holiday.nb-NO1.date=20210101
holiday.nb-NO2.name=Fastelavn
holiday.nb-NO2.date=20210214
holiday.nb-NO3.name=Palmesøndag
holiday.nb-NO3.date=20210328
holiday.nb-NO4.name=Skjærtorsdag
holiday.nb-NO4.date=20210401
holiday.nb-NO5.name=Langfredag
holiday.nb-NO5.date=20210402
holiday.nb-NO6.name=Påskedag
holiday.nb-NO6.date=20210404
holiday.nb-NO7.name=Påskedag
holiday.nb-NO7.date=20210405
holiday.nb-NO8.name=Offentlig Høytidsdag
holiday.nb-NO8.date=20210501
holiday.nb-NO9.name=Frigjøringsdag 1945
holiday.nb-NO9.date=20210508
holiday.nb-NO10.name=Kristi Himmelfartsdag
holiday.nb-NO10.date=20210513
holiday.nb-NO11.name=Grunnlovsdag
holiday.nb-NO11.date=20210517
holiday.nb-NO12.name=Pinsedag
holiday.nb-NO12.date=20210523
holiday.nb-NO13.name=Pinsedag
holiday.nb-NO13.date=20210524
holiday.nb-NO14.name=Julaften
holiday.nb-NO14.date=20211224
holiday.nb-NO15.name=Juledag
holiday.nb-NO15.date=20211225
holiday.nb-NO16.name=Juledag
holiday.nb-NO16.date=20211226
holiday.nb-NO17.name=Nyttårsaften
holiday.nb-NO17.date=20211231
holiday.nb-NO18.name=Nyttårsdag
holiday.nb-NO18.date=20220101
holiday.nb-NO19.name=Fastelavn
holiday.nb-NO19.date=20220227
holiday.nb-NO20.name=Palmesøndag
holiday.nb-NO20.date=20220410
holiday.nb-NO21.name=Skjærtorsdag
holiday.nb-NO21.date=20220414
holiday.nb-NO22.name=Langfredag
holiday.nb-NO22.date=20220415
holiday.nb-NO23.name=Påskedag
holiday.nb-NO23.date=20220417
holiday.nb-NO24.name=Påskedag
holiday.nb-NO24.date=20220418
holiday.nb-NO25.name=Offentlig Høytidsdag
holiday.nb-NO25.date=20220501
holiday.nb-NO26.name=Frigjøringsdag 1945
holiday.nb-NO26.date=20220508
holiday.nb-NO27.name=Grunnlovsdag
holiday.nb-NO27.date=20220517
holiday.nb-NO28.name=Kristi Himmelfartsdag
holiday.nb-NO28.date=20220526
holiday.nb-NO29.name=Pinsedag
holiday.nb-NO29.date=20220605
holiday.nb-NO30.name=Pinsedag
holiday.nb-NO30.date=20220606
holiday.nb-NO31.name=Julaften
holiday.nb-NO31.date=20221224
holiday.nb-NO32.name=Juledag
holiday.nb-NO32.date=20221225
holiday.nb-NO33.name=Juledag
holiday.nb-NO33.date=20221226
holiday.nb-NO34.name=Nyttårsaften
holiday.nb-NO34.date=20221231

77
doc/rc/holidays.nl-BE.rc Normal file
View File

@@ -0,0 +1,77 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/nl-BE/2021.json
# https://holidata.net/nl-BE/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.nl-BE1.name=Nieuwjaar
holiday.nl-BE1.date=20210101
holiday.nl-BE2.name=Pasen
holiday.nl-BE2.date=20210404
holiday.nl-BE3.name=Paasmaandag
holiday.nl-BE3.date=20210405
holiday.nl-BE4.name=Dag van de arbeid
holiday.nl-BE4.date=20210501
holiday.nl-BE5.name=Onze Lieve Heer hemelvaart
holiday.nl-BE5.date=20210513
holiday.nl-BE6.name=Pinksteren
holiday.nl-BE6.date=20210523
holiday.nl-BE7.name=Pinkstermaandag
holiday.nl-BE7.date=20210524
holiday.nl-BE8.name=Nationale feestdag
holiday.nl-BE8.date=20210721
holiday.nl-BE9.name=Onze Lieve Vrouw hemelvaart
holiday.nl-BE9.date=20210815
holiday.nl-BE10.name=Allerheiligen
holiday.nl-BE10.date=20211101
holiday.nl-BE11.name=Wapenstilstand
holiday.nl-BE11.date=20211111
holiday.nl-BE12.name=Kerstmis
holiday.nl-BE12.date=20211225
holiday.nl-BE13.name=Nieuwjaar
holiday.nl-BE13.date=20220101
holiday.nl-BE14.name=Pasen
holiday.nl-BE14.date=20220417
holiday.nl-BE15.name=Paasmaandag
holiday.nl-BE15.date=20220418
holiday.nl-BE16.name=Dag van de arbeid
holiday.nl-BE16.date=20220501
holiday.nl-BE17.name=Onze Lieve Heer hemelvaart
holiday.nl-BE17.date=20220526
holiday.nl-BE18.name=Pinksteren
holiday.nl-BE18.date=20220605
holiday.nl-BE19.name=Pinkstermaandag
holiday.nl-BE19.date=20220606
holiday.nl-BE20.name=Nationale feestdag
holiday.nl-BE20.date=20220721
holiday.nl-BE21.name=Onze Lieve Vrouw hemelvaart
holiday.nl-BE21.date=20220815
holiday.nl-BE22.name=Allerheiligen
holiday.nl-BE22.date=20221101
holiday.nl-BE23.name=Wapenstilstand
holiday.nl-BE23.date=20221111
holiday.nl-BE24.name=Kerstmis
holiday.nl-BE24.date=20221225

85
doc/rc/holidays.nl-NL.rc Normal file
View File

@@ -0,0 +1,85 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/nl-NL/2021.json
# https://holidata.net/nl-NL/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.nl-NL1.name=Nieuwjaarsdag
holiday.nl-NL1.date=20210101
holiday.nl-NL2.name=Goede Vrijdag
holiday.nl-NL2.date=20210402
holiday.nl-NL3.name=Eerste Paasdag
holiday.nl-NL3.date=20210404
holiday.nl-NL4.name=Tweede Paasdag
holiday.nl-NL4.date=20210405
holiday.nl-NL5.name=Koningsdag
holiday.nl-NL5.date=20210427
holiday.nl-NL6.name=Dodenherdenking
holiday.nl-NL6.date=20210504
holiday.nl-NL7.name=Bevrijdingsdag
holiday.nl-NL7.date=20210505
holiday.nl-NL8.name=Hemelvaartsdag
holiday.nl-NL8.date=20210513
holiday.nl-NL9.name=Eerste Pinksterdag
holiday.nl-NL9.date=20210523
holiday.nl-NL10.name=Tweede Pinksterdag
holiday.nl-NL10.date=20210524
holiday.nl-NL11.name=Sinterklaas
holiday.nl-NL11.date=20211205
holiday.nl-NL12.name=Koninkrijksdag
holiday.nl-NL12.date=20211215
holiday.nl-NL13.name=Eerste Kerstdag
holiday.nl-NL13.date=20211225
holiday.nl-NL14.name=Tweede Kerstdag
holiday.nl-NL14.date=20211226
holiday.nl-NL15.name=Nieuwjaarsdag
holiday.nl-NL15.date=20220101
holiday.nl-NL16.name=Goede Vrijdag
holiday.nl-NL16.date=20220415
holiday.nl-NL17.name=Eerste Paasdag
holiday.nl-NL17.date=20220417
holiday.nl-NL18.name=Tweede Paasdag
holiday.nl-NL18.date=20220418
holiday.nl-NL19.name=Koningsdag
holiday.nl-NL19.date=20220427
holiday.nl-NL20.name=Dodenherdenking
holiday.nl-NL20.date=20220504
holiday.nl-NL21.name=Bevrijdingsdag
holiday.nl-NL21.date=20220505
holiday.nl-NL22.name=Hemelvaartsdag
holiday.nl-NL22.date=20220526
holiday.nl-NL23.name=Eerste Pinksterdag
holiday.nl-NL23.date=20220605
holiday.nl-NL24.name=Tweede Pinksterdag
holiday.nl-NL24.date=20220606
holiday.nl-NL25.name=Sinterklaas
holiday.nl-NL25.date=20221205
holiday.nl-NL26.name=Koninkrijksdag
holiday.nl-NL26.date=20221215
holiday.nl-NL27.name=Eerste Kerstdag
holiday.nl-NL27.date=20221225
holiday.nl-NL28.name=Tweede Kerstdag
holiday.nl-NL28.date=20221226

81
doc/rc/holidays.pl-PL.rc Normal file
View File

@@ -0,0 +1,81 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/pl-PL/2021.json
# https://holidata.net/pl-PL/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.pl-PL1.name=Nowy Rok
holiday.pl-PL1.date=20210101
holiday.pl-PL2.name=Trzech Króli
holiday.pl-PL2.date=20210106
holiday.pl-PL3.name=Wielkanoc
holiday.pl-PL3.date=20210404
holiday.pl-PL4.name=Poniedziałek Wielkanocny
holiday.pl-PL4.date=20210405
holiday.pl-PL5.name=Święto Pracy
holiday.pl-PL5.date=20210501
holiday.pl-PL6.name=Święto Konstytucji Trzeciego Maja
holiday.pl-PL6.date=20210503
holiday.pl-PL7.name=Zielone Świątki
holiday.pl-PL7.date=20210523
holiday.pl-PL8.name=Boże Ciało
holiday.pl-PL8.date=20210603
holiday.pl-PL9.name=Wniebowzięcie Najświętszej Maryi Panny
holiday.pl-PL9.date=20210815
holiday.pl-PL10.name=Wszystkich Świętych
holiday.pl-PL10.date=20211101
holiday.pl-PL11.name=Narodowe Święto Niepodległości
holiday.pl-PL11.date=20211111
holiday.pl-PL12.name=Boże Narodzenie (pierwszy dzień)
holiday.pl-PL12.date=20211225
holiday.pl-PL13.name=Boże Narodzenie (drugi dzień)
holiday.pl-PL13.date=20211226
holiday.pl-PL14.name=Nowy Rok
holiday.pl-PL14.date=20220101
holiday.pl-PL15.name=Trzech Króli
holiday.pl-PL15.date=20220106
holiday.pl-PL16.name=Wielkanoc
holiday.pl-PL16.date=20220417
holiday.pl-PL17.name=Poniedziałek Wielkanocny
holiday.pl-PL17.date=20220418
holiday.pl-PL18.name=Święto Pracy
holiday.pl-PL18.date=20220501
holiday.pl-PL19.name=Święto Konstytucji Trzeciego Maja
holiday.pl-PL19.date=20220503
holiday.pl-PL20.name=Zielone Świątki
holiday.pl-PL20.date=20220605
holiday.pl-PL21.name=Boże Ciało
holiday.pl-PL21.date=20220616
holiday.pl-PL22.name=Wniebowzięcie Najświętszej Maryi Panny
holiday.pl-PL22.date=20220815
holiday.pl-PL23.name=Wszystkich Świętych
holiday.pl-PL23.date=20221101
holiday.pl-PL24.name=Narodowe Święto Niepodległości
holiday.pl-PL24.date=20221111
holiday.pl-PL25.name=Boże Narodzenie (pierwszy dzień)
holiday.pl-PL25.date=20221225
holiday.pl-PL26.name=Boże Narodzenie (drugi dzień)
holiday.pl-PL26.date=20221226

1
doc/rc/holidays.por-PRT.rc Symbolic link
View File

@@ -0,0 +1 @@
holidays.pt-PT.rc

241
doc/rc/holidays.pt-BR.rc Normal file
View File

@@ -0,0 +1,241 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/pt-BR/2021.json
# https://holidata.net/pt-BR/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.pt-BR1.name=Confraternização Universal
holiday.pt-BR1.date=20210101
holiday.pt-BR2.name=Criação do Estado de Rondônia
holiday.pt-BR2.date=20210104
holiday.pt-BR3.name=Dia do Evangélico no Acre
holiday.pt-BR3.date=20210123
holiday.pt-BR4.name=Carnaval
holiday.pt-BR4.date=20210216
holiday.pt-BR5.name=Revolução Pernambucana de 1817
holiday.pt-BR5.date=20210306
holiday.pt-BR6.name=Dia Internacional da Mulher
holiday.pt-BR6.date=20210308
holiday.pt-BR7.name=Autonomia do Estado de Tocantins
holiday.pt-BR7.date=20210318
holiday.pt-BR8.name=Dia de São José
holiday.pt-BR8.date=20210319
holiday.pt-BR9.name=Abolição da Escravidão no Ceará
holiday.pt-BR9.date=20210325
holiday.pt-BR10.name=Páscoa
holiday.pt-BR10.date=20210404
holiday.pt-BR11.name=Fundação de Brasília
holiday.pt-BR11.date=20210421
holiday.pt-BR12.name=Execução de Tiradentes
holiday.pt-BR12.date=20210421
holiday.pt-BR13.name=Tiradentes
holiday.pt-BR13.date=20210421
holiday.pt-BR14.name=Dia de São Jorge
holiday.pt-BR14.date=20210423
holiday.pt-BR15.name=Dia Internacional do Trabalhador
holiday.pt-BR15.date=20210501
holiday.pt-BR16.name=Aniversário do Estado do Acre
holiday.pt-BR16.date=20210615
holiday.pt-BR17.name=Dia do Evangélico em Rondônia
holiday.pt-BR17.date=20210618
holiday.pt-BR18.name=São João
holiday.pt-BR18.date=20210624
holiday.pt-BR19.name=São Pedro
holiday.pt-BR19.date=20210629
holiday.pt-BR20.name=Independência da Bahia
holiday.pt-BR20.date=20210702
holiday.pt-BR21.name=Emancipação Política de Sergipe
holiday.pt-BR21.date=20210708
holiday.pt-BR22.name=Revolução Constitucionalista de 1932
holiday.pt-BR22.date=20210709
holiday.pt-BR23.name=Fundação da Cidade de Goiás
holiday.pt-BR23.date=20210726
holiday.pt-BR24.name=Adesão do Maranhão à Independência do Brasil
holiday.pt-BR24.date=20210728
holiday.pt-BR25.name=Fundação do Estado da Paraíba
holiday.pt-BR25.date=20210805
holiday.pt-BR26.name=Dia do Rio Grande do Norte
holiday.pt-BR26.date=20210807
holiday.pt-BR27.name=Dia de Santa Catarina
holiday.pt-BR27.date=20210811
holiday.pt-BR28.name=Dia de Nossa Senhora da Assunção
holiday.pt-BR28.date=20210815
holiday.pt-BR29.name=Adesão do Pará à Independência do Brasil
holiday.pt-BR29.date=20210815
holiday.pt-BR30.name=Dia da Amazônia
holiday.pt-BR30.date=20210905
holiday.pt-BR31.name=Elevação do Amazonas à Categoria de Província
holiday.pt-BR31.date=20210905
holiday.pt-BR32.name=Independência do Brasil
holiday.pt-BR32.date=20210907
holiday.pt-BR33.name=Nossa Senhora da Natividade
holiday.pt-BR33.date=20210908
holiday.pt-BR34.name=Criação do Território Federal do Amapá
holiday.pt-BR34.date=20210913
holiday.pt-BR35.name=Emancipação Política do Alagoas
holiday.pt-BR35.date=20210916
holiday.pt-BR36.name=Dia do Gaúcho
holiday.pt-BR36.date=20210920
holiday.pt-BR37.name=Mártires de Cunhaú e Uruaçu
holiday.pt-BR37.date=20211003
holiday.pt-BR38.name=Criação dos Estado de Roraima
holiday.pt-BR38.date=20211005
holiday.pt-BR39.name=Criação dos Estado de Tocantins
holiday.pt-BR39.date=20211005
holiday.pt-BR40.name=Criação do Estado do Mato Grosso do Sul
holiday.pt-BR40.date=20211011
holiday.pt-BR41.name=Nossa Senhora Aparecida
holiday.pt-BR41.date=20211012
holiday.pt-BR42.name=Dia do Piauí
holiday.pt-BR42.date=20211019
holiday.pt-BR43.name=Pedra Fundamental de Goiânia
holiday.pt-BR43.date=20211024
holiday.pt-BR44.name=Finados
holiday.pt-BR44.date=20211102
holiday.pt-BR45.name=Proclamação da República
holiday.pt-BR45.date=20211115
holiday.pt-BR46.name=Assinatura do Tratado de Petrópolis
holiday.pt-BR46.date=20211117
holiday.pt-BR47.name=Morte de Zumbi dos Palmares
holiday.pt-BR47.date=20211120
holiday.pt-BR48.name=Dia da Consciência Negra
holiday.pt-BR48.date=20211120
holiday.pt-BR49.name=Dia de Santa Catarina de Alexandria
holiday.pt-BR49.date=20211125
holiday.pt-BR50.name=Dia do Evangélico do Distrito Federal
holiday.pt-BR50.date=20211130
holiday.pt-BR51.name=Nossa Senhora da Conceição
holiday.pt-BR51.date=20211208
holiday.pt-BR52.name=Emancipação Política do Estado do Paraná
holiday.pt-BR52.date=20211219
holiday.pt-BR53.name=Natal
holiday.pt-BR53.date=20211225
holiday.pt-BR54.name=Confraternização Universal
holiday.pt-BR54.date=20220101
holiday.pt-BR55.name=Criação do Estado de Rondônia
holiday.pt-BR55.date=20220104
holiday.pt-BR56.name=Dia do Evangélico no Acre
holiday.pt-BR56.date=20220123
holiday.pt-BR57.name=Carnaval
holiday.pt-BR57.date=20220301
holiday.pt-BR58.name=Revolução Pernambucana de 1817
holiday.pt-BR58.date=20220306
holiday.pt-BR59.name=Dia Internacional da Mulher
holiday.pt-BR59.date=20220308
holiday.pt-BR60.name=Autonomia do Estado de Tocantins
holiday.pt-BR60.date=20220318
holiday.pt-BR61.name=Dia de São José
holiday.pt-BR61.date=20220319
holiday.pt-BR62.name=Abolição da Escravidão no Ceará
holiday.pt-BR62.date=20220325
holiday.pt-BR63.name=Páscoa
holiday.pt-BR63.date=20220417
holiday.pt-BR64.name=Fundação de Brasília
holiday.pt-BR64.date=20220421
holiday.pt-BR65.name=Execução de Tiradentes
holiday.pt-BR65.date=20220421
holiday.pt-BR66.name=Tiradentes
holiday.pt-BR66.date=20220421
holiday.pt-BR67.name=Dia de São Jorge
holiday.pt-BR67.date=20220423
holiday.pt-BR68.name=Dia Internacional do Trabalhador
holiday.pt-BR68.date=20220501
holiday.pt-BR69.name=Aniversário do Estado do Acre
holiday.pt-BR69.date=20220615
holiday.pt-BR70.name=Dia do Evangélico em Rondônia
holiday.pt-BR70.date=20220618
holiday.pt-BR71.name=São João
holiday.pt-BR71.date=20220624
holiday.pt-BR72.name=São Pedro
holiday.pt-BR72.date=20220629
holiday.pt-BR73.name=Independência da Bahia
holiday.pt-BR73.date=20220702
holiday.pt-BR74.name=Emancipação Política de Sergipe
holiday.pt-BR74.date=20220708
holiday.pt-BR75.name=Revolução Constitucionalista de 1932
holiday.pt-BR75.date=20220709
holiday.pt-BR76.name=Fundação da Cidade de Goiás
holiday.pt-BR76.date=20220726
holiday.pt-BR77.name=Adesão do Maranhão à Independência do Brasil
holiday.pt-BR77.date=20220728
holiday.pt-BR78.name=Fundação do Estado da Paraíba
holiday.pt-BR78.date=20220805
holiday.pt-BR79.name=Dia do Rio Grande do Norte
holiday.pt-BR79.date=20220807
holiday.pt-BR80.name=Dia de Santa Catarina
holiday.pt-BR80.date=20220811
holiday.pt-BR81.name=Dia de Nossa Senhora da Assunção
holiday.pt-BR81.date=20220815
holiday.pt-BR82.name=Adesão do Pará à Independência do Brasil
holiday.pt-BR82.date=20220815
holiday.pt-BR83.name=Dia da Amazônia
holiday.pt-BR83.date=20220905
holiday.pt-BR84.name=Elevação do Amazonas à Categoria de Província
holiday.pt-BR84.date=20220905
holiday.pt-BR85.name=Independência do Brasil
holiday.pt-BR85.date=20220907
holiday.pt-BR86.name=Nossa Senhora da Natividade
holiday.pt-BR86.date=20220908
holiday.pt-BR87.name=Criação do Território Federal do Amapá
holiday.pt-BR87.date=20220913
holiday.pt-BR88.name=Emancipação Política do Alagoas
holiday.pt-BR88.date=20220916
holiday.pt-BR89.name=Dia do Gaúcho
holiday.pt-BR89.date=20220920
holiday.pt-BR90.name=Mártires de Cunhaú e Uruaçu
holiday.pt-BR90.date=20221003
holiday.pt-BR91.name=Criação dos Estado de Roraima
holiday.pt-BR91.date=20221005
holiday.pt-BR92.name=Criação dos Estado de Tocantins
holiday.pt-BR92.date=20221005
holiday.pt-BR93.name=Criação do Estado do Mato Grosso do Sul
holiday.pt-BR93.date=20221011
holiday.pt-BR94.name=Nossa Senhora Aparecida
holiday.pt-BR94.date=20221012
holiday.pt-BR95.name=Dia do Piauí
holiday.pt-BR95.date=20221019
holiday.pt-BR96.name=Pedra Fundamental de Goiânia
holiday.pt-BR96.date=20221024
holiday.pt-BR97.name=Finados
holiday.pt-BR97.date=20221102
holiday.pt-BR98.name=Proclamação da República
holiday.pt-BR98.date=20221115
holiday.pt-BR99.name=Assinatura do Tratado de Petrópolis
holiday.pt-BR99.date=20221117
holiday.pt-BR100.name=Morte de Zumbi dos Palmares
holiday.pt-BR100.date=20221120
holiday.pt-BR101.name=Dia da Consciência Negra
holiday.pt-BR101.date=20221120
holiday.pt-BR102.name=Dia de Santa Catarina de Alexandria
holiday.pt-BR102.date=20221125
holiday.pt-BR103.name=Dia do Evangélico do Distrito Federal
holiday.pt-BR103.date=20221130
holiday.pt-BR104.name=Nossa Senhora da Conceição
holiday.pt-BR104.date=20221208
holiday.pt-BR105.name=Emancipação Política do Estado do Paraná
holiday.pt-BR105.date=20221219
holiday.pt-BR106.name=Natal
holiday.pt-BR106.date=20221225

85
doc/rc/holidays.pt-PT.rc Normal file
View File

@@ -0,0 +1,85 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/pt-PT/2021.json
# https://holidata.net/pt-PT/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.pt-PT1.name=Ano Novo
holiday.pt-PT1.date=20210101
holiday.pt-PT2.name=Carnaval
holiday.pt-PT2.date=20210216
holiday.pt-PT3.name=Sexta-feira Santa
holiday.pt-PT3.date=20210402
holiday.pt-PT4.name=Páscoa
holiday.pt-PT4.date=20210404
holiday.pt-PT5.name=Dia da Liberdade
holiday.pt-PT5.date=20210425
holiday.pt-PT6.name=Dia do Trabalhador
holiday.pt-PT6.date=20210501
holiday.pt-PT7.name=Corpo de Deus
holiday.pt-PT7.date=20210603
holiday.pt-PT8.name=Dia de Portugal
holiday.pt-PT8.date=20210610
holiday.pt-PT9.name=Assunção de Nossa Senhora
holiday.pt-PT9.date=20210815
holiday.pt-PT10.name=Implantação da República
holiday.pt-PT10.date=20211005
holiday.pt-PT11.name=Dia de Todos os Santos
holiday.pt-PT11.date=20211101
holiday.pt-PT12.name=Restauração da Independência
holiday.pt-PT12.date=20211201
holiday.pt-PT13.name=Imaculada Conceição
holiday.pt-PT13.date=20211208
holiday.pt-PT14.name=Natal
holiday.pt-PT14.date=20211225
holiday.pt-PT15.name=Ano Novo
holiday.pt-PT15.date=20220101
holiday.pt-PT16.name=Carnaval
holiday.pt-PT16.date=20220301
holiday.pt-PT17.name=Sexta-feira Santa
holiday.pt-PT17.date=20220415
holiday.pt-PT18.name=Páscoa
holiday.pt-PT18.date=20220417
holiday.pt-PT19.name=Dia da Liberdade
holiday.pt-PT19.date=20220425
holiday.pt-PT20.name=Dia do Trabalhador
holiday.pt-PT20.date=20220501
holiday.pt-PT21.name=Dia de Portugal
holiday.pt-PT21.date=20220610
holiday.pt-PT22.name=Corpo de Deus
holiday.pt-PT22.date=20220616
holiday.pt-PT23.name=Assunção de Nossa Senhora
holiday.pt-PT23.date=20220815
holiday.pt-PT24.name=Implantação da República
holiday.pt-PT24.date=20221005
holiday.pt-PT25.name=Dia de Todos os Santos
holiday.pt-PT25.date=20221101
holiday.pt-PT26.name=Restauração da Independência
holiday.pt-PT26.date=20221201
holiday.pt-PT27.name=Imaculada Conceição
holiday.pt-PT27.date=20221208
holiday.pt-PT28.name=Natal
holiday.pt-PT28.date=20221225

65
doc/rc/holidays.ru-RU.rc Normal file
View File

@@ -0,0 +1,65 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/ru-RU/2021.json
# https://holidata.net/ru-RU/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.ru-RU1.name=Новый Год
holiday.ru-RU1.date=20210101
holiday.ru-RU2.name=Рождество Христово
holiday.ru-RU2.date=20210107
holiday.ru-RU3.name=День защитника Отечества
holiday.ru-RU3.date=20210223
holiday.ru-RU4.name=Международный женский день
holiday.ru-RU4.date=20210308
holiday.ru-RU5.name=Праздник весны и труда
holiday.ru-RU5.date=20210501
holiday.ru-RU6.name=Пасха
holiday.ru-RU6.date=20210502
holiday.ru-RU7.name=День Победы
holiday.ru-RU7.date=20210509
holiday.ru-RU8.name=День России
holiday.ru-RU8.date=20210612
holiday.ru-RU9.name=День народного единства
holiday.ru-RU9.date=20211104
holiday.ru-RU10.name=Новый Год
holiday.ru-RU10.date=20220101
holiday.ru-RU11.name=Рождество Христово
holiday.ru-RU11.date=20220107
holiday.ru-RU12.name=День защитника Отечества
holiday.ru-RU12.date=20220223
holiday.ru-RU13.name=Международный женский день
holiday.ru-RU13.date=20220308
holiday.ru-RU14.name=Пасха
holiday.ru-RU14.date=20220424
holiday.ru-RU15.name=Праздник весны и труда
holiday.ru-RU15.date=20220501
holiday.ru-RU16.name=День Победы
holiday.ru-RU16.date=20220509
holiday.ru-RU17.name=День России
holiday.ru-RU17.date=20220612
holiday.ru-RU18.name=День народного единства
holiday.ru-RU18.date=20221104

89
doc/rc/holidays.sk-SK.rc Normal file
View File

@@ -0,0 +1,89 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/sk-SK/2021.json
# https://holidata.net/sk-SK/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.sk-SK1.name=Deň vzniku Slovenskej republiky
holiday.sk-SK1.date=20210101
holiday.sk-SK2.name=Zjavenie Pána / Traja králi
holiday.sk-SK2.date=20210106
holiday.sk-SK3.name=Veľký piatok
holiday.sk-SK3.date=20210402
holiday.sk-SK4.name=Veľkonočný pondelok
holiday.sk-SK4.date=20210405
holiday.sk-SK5.name=Sviatok práce
holiday.sk-SK5.date=20210501
holiday.sk-SK6.name=Deň víťazstva nad fašizmom
holiday.sk-SK6.date=20210508
holiday.sk-SK7.name=Sviatok svätého Cyrila a Metoda
holiday.sk-SK7.date=20210705
holiday.sk-SK8.name=Výročie SNP
holiday.sk-SK8.date=20210829
holiday.sk-SK9.name=Deň Ústavy Slovenskej republiky
holiday.sk-SK9.date=20210901
holiday.sk-SK10.name=Sedembolestná Panna Mária
holiday.sk-SK10.date=20210915
holiday.sk-SK11.name=Sviatok všetkých svätých
holiday.sk-SK11.date=20211101
holiday.sk-SK12.name=Deň boja za slobodu a demokraciu
holiday.sk-SK12.date=20211117
holiday.sk-SK13.name=Štedrý deň
holiday.sk-SK13.date=20211224
holiday.sk-SK14.name=Prvý sviatok vianočný
holiday.sk-SK14.date=20211225
holiday.sk-SK15.name=Druhý sviatok vianočný
holiday.sk-SK15.date=20211226
holiday.sk-SK16.name=Deň vzniku Slovenskej republiky
holiday.sk-SK16.date=20220101
holiday.sk-SK17.name=Zjavenie Pána / Traja králi
holiday.sk-SK17.date=20220106
holiday.sk-SK18.name=Veľký piatok
holiday.sk-SK18.date=20220415
holiday.sk-SK19.name=Veľkonočný pondelok
holiday.sk-SK19.date=20220418
holiday.sk-SK20.name=Sviatok práce
holiday.sk-SK20.date=20220501
holiday.sk-SK21.name=Deň víťazstva nad fašizmom
holiday.sk-SK21.date=20220508
holiday.sk-SK22.name=Sviatok svätého Cyrila a Metoda
holiday.sk-SK22.date=20220705
holiday.sk-SK23.name=Výročie SNP
holiday.sk-SK23.date=20220829
holiday.sk-SK24.name=Deň Ústavy Slovenskej republiky
holiday.sk-SK24.date=20220901
holiday.sk-SK25.name=Sedembolestná Panna Mária
holiday.sk-SK25.date=20220915
holiday.sk-SK26.name=Sviatok všetkých svätých
holiday.sk-SK26.date=20221101
holiday.sk-SK27.name=Deň boja za slobodu a demokraciu
holiday.sk-SK27.date=20221117
holiday.sk-SK28.name=Štedrý deň
holiday.sk-SK28.date=20221224
holiday.sk-SK29.name=Prvý sviatok vianočný
holiday.sk-SK29.date=20221225
holiday.sk-SK30.name=Druhý sviatok vianočný
holiday.sk-SK30.date=20221226

81
doc/rc/holidays.sv-FI.rc Normal file
View File

@@ -0,0 +1,81 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/sv-FI/2021.json
# https://holidata.net/sv-FI/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.sv-FI1.name=Nyårsdagen
holiday.sv-FI1.date=20210101
holiday.sv-FI2.name=Trettondedagen
holiday.sv-FI2.date=20210106
holiday.sv-FI3.name=Långfredagen
holiday.sv-FI3.date=20210402
holiday.sv-FI4.name=Påskdagen
holiday.sv-FI4.date=20210404
holiday.sv-FI5.name=Annandag påsk
holiday.sv-FI5.date=20210405
holiday.sv-FI6.name=Första maj
holiday.sv-FI6.date=20210501
holiday.sv-FI7.name=Kristi himmelfärdsdag
holiday.sv-FI7.date=20210513
holiday.sv-FI8.name=Pingst
holiday.sv-FI8.date=20210523
holiday.sv-FI9.name=Midsommardagen
holiday.sv-FI9.date=20210626
holiday.sv-FI10.name=Alla helgons dag
holiday.sv-FI10.date=20211106
holiday.sv-FI11.name=Självständighetsdagen
holiday.sv-FI11.date=20211206
holiday.sv-FI12.name=Juldagen
holiday.sv-FI12.date=20211225
holiday.sv-FI13.name=Annandag jul
holiday.sv-FI13.date=20211226
holiday.sv-FI14.name=Nyårsdagen
holiday.sv-FI14.date=20220101
holiday.sv-FI15.name=Trettondedagen
holiday.sv-FI15.date=20220106
holiday.sv-FI16.name=Långfredagen
holiday.sv-FI16.date=20220415
holiday.sv-FI17.name=Påskdagen
holiday.sv-FI17.date=20220417
holiday.sv-FI18.name=Annandag påsk
holiday.sv-FI18.date=20220418
holiday.sv-FI19.name=Första maj
holiday.sv-FI19.date=20220501
holiday.sv-FI20.name=Kristi himmelfärdsdag
holiday.sv-FI20.date=20220526
holiday.sv-FI21.name=Pingst
holiday.sv-FI21.date=20220605
holiday.sv-FI22.name=Midsommardagen
holiday.sv-FI22.date=20220625
holiday.sv-FI23.name=Alla helgons dag
holiday.sv-FI23.date=20221105
holiday.sv-FI24.name=Självständighetsdagen
holiday.sv-FI24.date=20221206
holiday.sv-FI25.name=Juldagen
holiday.sv-FI25.date=20221225
holiday.sv-FI26.name=Annandag jul
holiday.sv-FI26.date=20221226

93
doc/rc/holidays.sv-SE.rc Normal file
View File

@@ -0,0 +1,93 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/sv-SE/2021.json
# https://holidata.net/sv-SE/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.sv-SE1.name=Nyårsdagen
holiday.sv-SE1.date=20210101
holiday.sv-SE2.name=Trettondedag jul
holiday.sv-SE2.date=20210106
holiday.sv-SE3.name=Långfredagen
holiday.sv-SE3.date=20210402
holiday.sv-SE4.name=Påskdagen
holiday.sv-SE4.date=20210404
holiday.sv-SE5.name=Annandag påsk
holiday.sv-SE5.date=20210405
holiday.sv-SE6.name=Första maj
holiday.sv-SE6.date=20210501
holiday.sv-SE7.name=Kristi himmelsfärdsdag
holiday.sv-SE7.date=20210513
holiday.sv-SE8.name=Pingstdagen
holiday.sv-SE8.date=20210523
holiday.sv-SE9.name=Nationaldagen
holiday.sv-SE9.date=20210606
holiday.sv-SE10.name=Midsommarafton
holiday.sv-SE10.date=20210625
holiday.sv-SE11.name=Midsommardagen
holiday.sv-SE11.date=20210626
holiday.sv-SE12.name=Alla helgons dag
holiday.sv-SE12.date=20211106
holiday.sv-SE13.name=Julafton
holiday.sv-SE13.date=20211224
holiday.sv-SE14.name=Juldagen
holiday.sv-SE14.date=20211225
holiday.sv-SE15.name=Annandag jul
holiday.sv-SE15.date=20211226
holiday.sv-SE16.name=Nyårsafton
holiday.sv-SE16.date=20211231
holiday.sv-SE17.name=Nyårsdagen
holiday.sv-SE17.date=20220101
holiday.sv-SE18.name=Trettondedag jul
holiday.sv-SE18.date=20220106
holiday.sv-SE19.name=Långfredagen
holiday.sv-SE19.date=20220415
holiday.sv-SE20.name=Påskdagen
holiday.sv-SE20.date=20220417
holiday.sv-SE21.name=Annandag påsk
holiday.sv-SE21.date=20220418
holiday.sv-SE22.name=Första maj
holiday.sv-SE22.date=20220501
holiday.sv-SE23.name=Kristi himmelsfärdsdag
holiday.sv-SE23.date=20220526
holiday.sv-SE24.name=Pingstdagen
holiday.sv-SE24.date=20220605
holiday.sv-SE25.name=Nationaldagen
holiday.sv-SE25.date=20220606
holiday.sv-SE26.name=Midsommarafton
holiday.sv-SE26.date=20220624
holiday.sv-SE27.name=Midsommardagen
holiday.sv-SE27.date=20220625
holiday.sv-SE28.name=Alla helgons dag
holiday.sv-SE28.date=20221105
holiday.sv-SE29.name=Julafton
holiday.sv-SE29.date=20221224
holiday.sv-SE30.name=Juldagen
holiday.sv-SE30.date=20221225
holiday.sv-SE31.name=Annandag jul
holiday.sv-SE31.date=20221226
holiday.sv-SE32.name=Nyårsafton
holiday.sv-SE32.date=20221231

85
doc/rc/holidays.tr-TR.rc Normal file
View File

@@ -0,0 +1,85 @@
###############################################################################
# International Holiday Data provided by Holidata.net
# https://holidata.net/tr-TR/2021.json
# https://holidata.net/tr-TR/2022.json
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
holiday.tr-TR1.name=Yılbaşı
holiday.tr-TR1.date=20210101
holiday.tr-TR2.name=Ulusal Egemenlik ve Çocuk Bayramı
holiday.tr-TR2.date=20210423
holiday.tr-TR3.name=Emek ve Dayanışma Günü
holiday.tr-TR3.date=20210501
holiday.tr-TR4.name=Ramazan Bayramı (1. Gün)
holiday.tr-TR4.date=20210513
holiday.tr-TR5.name=Ramazan Bayramı (2. Gün)
holiday.tr-TR5.date=20210514
holiday.tr-TR6.name=Ramazan Bayramı (3. Gün)
holiday.tr-TR6.date=20210515
holiday.tr-TR7.name=Atatürk'ü Anma, Gençlik ve Spor Bayramı
holiday.tr-TR7.date=20210519
holiday.tr-TR8.name=Demokrasi ve Milli Birlik Günü
holiday.tr-TR8.date=20210715
holiday.tr-TR9.name=Kurban Bayramı (1. Gün)
holiday.tr-TR9.date=20210720
holiday.tr-TR10.name=Kurban Bayramı (2. Gün)
holiday.tr-TR10.date=20210721
holiday.tr-TR11.name=Kurban Bayramı (3. Gün)
holiday.tr-TR11.date=20210722
holiday.tr-TR12.name=Kurban Bayramı (4. Gün)
holiday.tr-TR12.date=20210723
holiday.tr-TR13.name=Zafer Bayramı
holiday.tr-TR13.date=20210830
holiday.tr-TR14.name=Cumhuriyet Bayramı
holiday.tr-TR14.date=20211029
holiday.tr-TR15.name=Yılbaşı
holiday.tr-TR15.date=20220101
holiday.tr-TR16.name=Ulusal Egemenlik ve Çocuk Bayramı
holiday.tr-TR16.date=20220423
holiday.tr-TR17.name=Emek ve Dayanışma Günü
holiday.tr-TR17.date=20220501
holiday.tr-TR18.name=Ramazan Bayramı (1. Gün)
holiday.tr-TR18.date=20220502
holiday.tr-TR19.name=Ramazan Bayramı (2. Gün)
holiday.tr-TR19.date=20220503
holiday.tr-TR20.name=Ramazan Bayramı (3. Gün)
holiday.tr-TR20.date=20220504
holiday.tr-TR21.name=Atatürk'ü Anma, Gençlik ve Spor Bayramı
holiday.tr-TR21.date=20220519
holiday.tr-TR22.name=Kurban Bayramı (1. Gün)
holiday.tr-TR22.date=20220709
holiday.tr-TR23.name=Kurban Bayramı (2. Gün)
holiday.tr-TR23.date=20220710
holiday.tr-TR24.name=Kurban Bayramı (3. Gün)
holiday.tr-TR24.date=20220711
holiday.tr-TR25.name=Kurban Bayramı (4. Gün)
holiday.tr-TR25.date=20220712
holiday.tr-TR26.name=Demokrasi ve Milli Birlik Günü
holiday.tr-TR26.date=20220715
holiday.tr-TR27.name=Zafer Bayramı
holiday.tr-TR27.date=20220830
holiday.tr-TR28.name=Cumhuriyet Bayramı
holiday.tr-TR28.date=20221029

98
doc/rc/light-16.theme Normal file
View File

@@ -0,0 +1,98 @@
###############################################################################
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
rule.precedence.color=deleted,completed,active,keyword.,tag.,project.,overdue,scheduled,due.today,due,blocked,blocking,recurring,tagged,uda.
# General decoration
color.label=
color.label.sort=
color.alternate=
color.header=bold white on bright black
color.footnote=bold cyan on bright black
color.warning=bold red
color.error=white on red
color.debug=blue
# Task state
color.completed=
color.deleted=
color.active=bold yellow on bright black
color.recurring=
color.scheduled=on bright cyan
color.until=
color.blocking=red
color.blocked=blue
# Project
color.project.none=
# Priority
color.uda.priority.H=
color.uda.priority.M=
color.uda.priority.L=bright black
# Tags
color.tag.next=bold yellow on bright black
color.tag.none=
color.tagged=
# Due
color.due=on bright green
color.due.today=on bright yellow
color.overdue=on bright red
# Report: burndown
color.burndown.pending=on bright red
color.burndown.started=on bright yellow
color.burndown.done=on green
# Report: history
color.history.add=black on bright red
color.history.done=black on bright green
color.history.delete=black on yellow
# Report: summary
color.summary.bar=on bright green
color.summary.background=on white
# Command: calendar
color.calendar.due=on bright green
color.calendar.due.today=blue on bright yellow
color.calendar.holiday=on yellow
color.calendar.overdue=on bright red
color.calendar.today=blue
color.calendar.weekend=on white
color.calendar.weeknumber=blue
# Command: sync
color.sync.added=green
color.sync.changed=yellow
color.sync.rejected=red
# Command: undo
color.undo.before=yellow
color.undo.after=green

98
doc/rc/light-256.theme Normal file
View File

@@ -0,0 +1,98 @@
###############################################################################
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
rule.precedence.color=deleted,completed,active,keyword.,tag.,project.,overdue,scheduled,due.today,due,blocked,blocking,recurring,tagged,uda.
# General decoration
color.label=
color.label.sort=
color.alternate=on gray22
color.header=color15 on gray8
color.footnote=on gray18
color.warning=color9
color.error=white on red
color.debug=rgb025
# Task state
color.completed=
color.deleted=
color.active=rgb510
color.recurring=
color.scheduled=on rgb345
color.until=
color.blocking=rgb300
color.blocked=rgb003
# Project
color.project.none=
# Priority
color.uda.priority.H=gray0
color.uda.priority.M=gray5
color.uda.priority.L=gray10
# Tags
color.tag.next=rgb420
color.tag.none=
color.tagged=
# Due
color.due=on rgb343
color.due.today=on rgb353
color.overdue=on rgb544
# Report: burndown
color.burndown.pending=on rgb411
color.burndown.started=on rgb550
color.burndown.done=on rgb151
# Report: history
color.history.add=color0 on rgb411
color.history.done=color0 on rgb151
color.history.delete=color0 on rgb550
# Report: summary
color.summary.bar=on rgb141
color.summary.background=on gray20
# Command: calendar
color.calendar.due=on rgb343
color.calendar.due.today=on rgb353
color.calendar.holiday=color0 on rgb530
color.calendar.overdue=on rgb533
color.calendar.today=rgb005
color.calendar.weekend=on gray21
color.calendar.weeknumber=gray16
# Command: sync
color.sync.added=green
color.sync.changed=yellow
color.sync.rejected=red
# Command: undo
color.undo.before=yellow
color.undo.after=green

101
doc/rc/no-color.theme Normal file
View File

@@ -0,0 +1,101 @@
###############################################################################
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
rule.precedence.color=deleted,completed,active,keyword.,tag.,project.,overdue,scheduled,due.today,due,blocked,blocking,recurring,tagged,uda.
# This is a theme that disables all default colors
# It can be used as template for other themes
# General decoration
color.label=
color.label.sort=
color.alternate=
color.header=
color.footnote=
color.warning=
color.error=
color.debug=
# Task state
color.completed=
color.deleted=
color.active=
color.recurring=
color.scheduled=
color.until=
color.blocked=
color.blocking=
# Project
color.project.none=
# Priority
color.uda.priority.H=
color.uda.priority.L=
color.uda.priority.M=
# Tags
color.tag.next=
color.tag.none=
color.tagged=
# Due
color.due=
color.due.today=
color.overdue=
# Report: burndown
color.burndown.done=
color.burndown.pending=
color.burndown.started=
# Report: history
color.history.add=
color.history.delete=
color.history.done=
# Report: summary
color.summary.background=
color.summary.bar=
# Command: calendar
color.calendar.due=
color.calendar.due.today=
color.calendar.holiday=
color.calendar.overdue=
color.calendar.today=
color.calendar.weekend=
color.calendar.weeknumber=
# Command: sync
color.sync.added=
color.sync.changed=
color.sync.rejected=
# Command: undo
color.undo.after=
color.undo.before=

9
doc/rc/refresh Executable file
View File

@@ -0,0 +1,9 @@
#! /bin/bash
for i in holidays*rc
do
locale=${i:9:5}
echo $locale
../../scripts/add-ons/update-holidays.pl --locale $locale --file holidays.${locale}.rc
done

View File

@@ -0,0 +1,115 @@
################################################################################
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
# Colors used are based on the Solarized palette created by Ethan Schoonover
# <https://ethanschoonover.com/solarized>
#
# This theme was designed to work with a terminal application that is using a
# Solarized "Dark" color theme, otherwise colors will look odd. Solarized
# includes themes for iTerm2, OSX Terminal.app, and Xresources. Others are also
# available, i.e.:
#
# Gnome Terminal <https://github.com/sigurdga/gnome-terminal-colors-solarized>
#
# Colors 0 through 15 in this theme are based on the 16 color positions defined
# in the Xresources file distributed with the Solarized color palette. Some
# of the colors used are "named" in order to use the bold feature. The color
# "name" is based on the color's original name as the terminal understands it.
#
# Taskwarrior solarized-dark-256 theme created by Stefan A. Keel.
rule.precedence.color=deleted,completed,active,keyword.,tag.,project.,overdue,scheduled,due.today,due,blocked,blocking,recurring,tagged,uda.
# General decoration
color.label=
color.label.sort=
color.alternate=on color0
color.header=color4
color.footnote=color6
color.warning=color0 on color3
color.error=color6
color.debug=color6
# Task state
color.completed=
color.deleted=
color.active=bold red
color.recurring=color4
color.scheduled=
color.until=
color.blocked=color0 on color10
color.blocking=color15 on color10
# Project
color.project.none=
# Priority
color.uda.priority.H=bold blue #color14
color.uda.priority.M=bold yellow #color12
color.uda.priority.L=bold green #color11
# Tags
color.tag.next=
color.tag.none=
color.tagged=
# Due
color.due=color9
color.due.today=color1
color.overdue=color5
# Report: burndown
color.burndown.done=color0 on color6
color.burndown.pending=color0 on color1
color.burndown.started=color0 on color3
# Report: history
color.history.add=color0 on color1
color.history.delete=color0 on color3
color.history.done=color0 on color6
# Report: summary
color.summary.background=on color0
color.summary.bar=color0 on color6
# Command: calendar
color.calendar.due=color0 on color9
color.calendar.due.today=color0 on color1
color.calendar.holiday=color0 on color3
color.calendar.overdue=color0 on color5
color.calendar.today=color0 on color4
color.calendar.weekend=on color0
color.calendar.weeknumber=color4
# Command: sync
color.sync.added=color14
color.sync.changed=color9
color.sync.rejected=color13
# Command: undo
color.undo.after=color2
color.undo.before=color1

View File

@@ -0,0 +1,115 @@
################################################################################
#
# Copyright 2006 - 2021, Tomas Babej, Paul Beckingham, Federico Hernandez.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# https://www.opensource.org/licenses/mit-license.php
#
###############################################################################
# Colors used are based on the Solarized palette created by Ethan Schoonover
# <https://ethanschoonover.com/solarized>
#
# This theme was designed to work with a terminal application that is using a
# Solarized "Dark" color theme, otherwise colors will look odd. Solarized
# includes themes for iTerm2, OSX Terminal.app, and Xresources. Others are also
# available, i.e.:
#
# Gnome Terminal <https://github.com/sigurdga/gnome-terminal-colors-solarized>
#
# Colors 0 through 15 in this theme are based on the 16 color positions defined
# in the Xresources file distributed with the Solarized color palette. Some
# of the colors used are "named" in order to use the bold feature. The color
# "name" is based on the color's original name as the terminal understands it.
#
# Taskwarrior solarized-dark-256 theme created by Stefan A. Keel.
rule.precedence.color=deleted,completed,active,keyword.,tag.,project.,overdue,scheduled,due.today,due,blocked,blocking,recurring,tagged,uda.
# General decoration
color.label=
color.label.sort=
color.alternate=on color7
color.header=color2
color.footnote=color2
color.warning=color7 on color3
color.error=color2
color.debug=color3
# Task state
color.completed=
color.deleted=
color.active=color9
color.recurring=color4
color.scheduled=
color.until=
color.blocked=color0 on color14
color.blocking=color15 on color0
# Project
color.project.none=
# Priority
color.uda.priority.H=bold color0
color.uda.priority.M=bold color11
color.uda.priority.L=bold color14
# Tags
color.tag.next=
color.tag.none=
color.tagged=
# Due
color.due=color9
color.due.today=color1
color.overdue=color5
# Report: burndown
color.burndown.done=color0 on color6
color.burndown.pending=color0 on color1
color.burndown.started=color0 on color3
# Report: history
color.history.add=color0 on color1
color.history.delete=color0 on color3
color.history.done=color0 on color6
# Report: summary
color.summary.background=on color7
color.summary.bar=color0 on color6
# Command: calendar
color.calendar.due=color7 on color9
color.calendar.due.today=color7 on color1
color.calendar.holiday=color7 on color3
color.calendar.overdue=color7 on color5
color.calendar.today=color7 on color4
color.calendar.weekend=on color7
color.calendar.weeknumber=color14
# Command: sync
color.sync.added=color10
color.sync.changed=color9
color.sync.rejected=color13
# Command: undo
color.undo.after=color2
color.undo.before=color1

BIN
doc/ref/task-ref.pages Normal file

Binary file not shown.

BIN
doc/ref/task-ref.pdf Normal file

Binary file not shown.

122
docker-compose.yml Normal file
View File

@@ -0,0 +1,122 @@
version: '3'
services:
test-centos7:
build:
context: .
dockerfile: test/docker/centos7
network_mode: "host"
security_opt:
- label=type:container_runtime_t
tty: true
test-centos8:
build:
context: .
dockerfile: test/docker/centos8
network_mode: "host"
security_opt:
- label=type:container_runtime_t
tty: true
test-fedora32:
build:
context: .
dockerfile: test/docker/fedora32
network_mode: "host"
security_opt:
- label=type:container_runtime_t
tty: true
test-fedora33:
build:
context: .
dockerfile: test/docker/fedora33
network_mode: "host"
security_opt:
- label=type:container_runtime_t
tty: true
test-fedora34:
build:
context: .
dockerfile: test/docker/fedora34
network_mode: "host"
security_opt:
- label=type:container_runtime_t
tty: true
test-fedora35:
build:
context: .
dockerfile: test/docker/fedora35
network_mode: "host"
security_opt:
- label=type:container_runtime_t
tty: true
test-ubuntu1804:
build:
context: .
dockerfile: test/docker/ubuntu1804
network_mode: "host"
security_opt:
- label=type:container_runtime_t
tty: true
test-ubuntu2004:
build:
context: .
dockerfile: test/docker/ubuntu2004
network_mode: "host"
security_opt:
- label=type:container_runtime_t
tty: true
test-ubuntu2104:
build:
context: .
dockerfile: test/docker/ubuntu2104
network_mode: "host"
security_opt:
- label=type:container_runtime_t
tty: true
test-ubuntu2110:
build:
context: .
dockerfile: test/docker/ubuntu2110
network_mode: "host"
security_opt:
- label=type:container_runtime_t
tty: true
test-debianstable:
build:
context: .
dockerfile: test/docker/debianstable
network_mode: "host"
security_opt:
- label=type:container_runtime_t
tty: true
test-debiantesting:
build:
context: .
dockerfile: test/docker/debiantesting
network_mode: "host"
security_opt:
- label=type:container_runtime_t
tty: true
test-gentoo:
build:
context: .
dockerfile: test/docker/gentoo
network_mode: "host"
security_opt:
- label=type:container_runtime_t
tty: true
test-opensuse15:
build:
context: .
dockerfile: test/docker/opensuse15
network_mode: "host"
security_opt:
- label=type:container_runtime_t
tty: true
test-arch:
build:
context: .
dockerfile: test/docker/arch
network_mode: "host"
security_opt:
- label=type:container_runtime_t
tty: true

View File

@@ -1,40 +0,0 @@
# This is a full BNF grammar for the task command line. It is intended that a
# future release of task will incorporate a complete lexer/parser implementing
# this grammar, which will allow for more sophisticated command lines, for
# example:
#
# task delete 1 2 4-7
# task add pri:H pro:X -- pro pri 1 ///
#
command ::= simple_command
| filter_command filter?
| id_command
| "export" file
| <id>
| <id> <substitution> ;
simple_command ::= "version" | "help" | "projects" | "tags" | "next" | "stats"
| "color" ;
filter_command ::= "summary" | "history" | "calendar" | "active" | "overdue"
| "oldest" | "newest" | "add" | "list" | "long" | "ls"
| "completed" ;
id_command ::= "delete" | "undelete" | "info" | "start" | "end" | "done"
| "undo" ;
filter ::= filter_part+ ;
filter_part ::= tag_add | tag_remove | attribute | word ;
tag_add ::= "+" word ;
tag_remove ::= "-" word ;
attribute ::= word ":" word ;
word ::=
file ::=
id ::= digit+ ;
digit ::= "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" ;
substitution ::= "/" word+ "/" word* "/" "g"? ;

View File

@@ -1,131 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>30-Second Tutorial</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="task.css" type="text/css" />
</head>
<body>
<div id="container">
<table>
<tr>
<td>
<div id="toolbar">
<a href="task.html">Home</a>
<a href="setup.html">Setup</a>
<a href="30second.html">30-second Tutorial</a>
<a href="simple.html">Simple</a>
<a href="advanced.html">Advanced</a>
<a href="shell.html">Shell</a>
<a href="config.html">Configuration</a>
<a href="color.html">Colors</a>
<a href="usage.html">Usage</a>
<a href="recur.html">Recurrence</a>
<a href="date.html">Date Handling</a>
<a href="troubleshooting.html">Troubleshooting</a>
<a href="versions.html">Old Versions</a>
<a href="links.html">Task on the Web</a>
</div>
<div id="content">
<br />
<br />
<br />
<h2 class="title"><a name="simple">30-second Tutorial</a></h2>
<div class="content">
<p>
For the excessively lazy.
Add two tasks:
</p>
<pre><code>% task add Read task documents later
% task add priority:H Pay bills</code></pre>
<p>
Easy. See that second one has a High priority? Now let's look at those tasks:
</p>
<pre><code>% task ls
ID Project Pri Description
2 H Pay bills
1 Read task documents later</code></pre>
<p>
They are ordered by priority. Let's mark number 2 as done:
</p>
<pre><code>% task 2 done
% task ls
ID Project Pri Description
1 Read task documents later</code></pre>
<p>
Gone. Now let's delete that remaining task, because, well,
why bother now we are already using task:
</p>
<pre><code>% task delete 1
% task ls
No matches</code></pre>
<p>
Easy. But now consider checking out what task can really do...
</p>
</div>
<br />
<br />
<div class="content">
<p>
Copyright 2006-2009, P. Beckingham. All rights reserved.
</p>
</div>
</div>
</td>
<td align="right" valign="top" width="200px">
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<script type="text/javascript"><!--
google_ad_client = "pub-9709799404235424";
/* Task Main */
google_ad_slot = "8660617875";
google_ad_width = 120;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
</tr>
</table>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-4737637-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</body>
</html>

View File

@@ -1,493 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Advanced Usage</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="task.css" type="text/css" />
</head>
<body>
<div id="container">
<table>
<tr>
<td>
<div id="toolbar">
<a href="task.html">Home</a>
<a href="setup.html">Setup</a>
<a href="30second.html">30-second Tutorial</a>
<a href="simple.html">Simple</a>
<a href="advanced.html">Advanced</a>
<a href="shell.html">Shell</a>
<a href="config.html">Configuration</a>
<a href="color.html">Colors</a>
<a href="usage.html">Usage</a>
<a href="recur.html">Recurrence</a>
<a href="date.html">Date Handling</a>
<a href="troubleshooting.html">Troubleshooting</a>
<a href="versions.html">Old Versions</a>
<a href="links.html">Task on the Web</a>
</div>
<div id="content">
<br />
<br />
<br />
<h2 class="title"><a name="advanced">Advanced Usage</a></h2>
<div class="content">
<p>
Here are the other commands, in some detail.
</p>
<strong>% task</strong>
<p>
With no arguments, this command will generate a help message that
lists all these commands.
</p>
<p>
However, if the following configuration variable is specified:
</p>
<pre><code>default.command=list pri:H</code></pre>
<p>
Then this command will be run whenever task is run without arguments.
This means that your most common task command can be run simply
with the command:
</p>
<pre><code>% task
[task list project:foo]
ID Project Pri Description
1 foo H Design the thing
2 foo Build the thing</code></pre>
<strong>% task projects</strong>
<p>
This report generates a list of all the different projects that you
are using along with a count of the pending tasks for each project.
For example:
</p>
<pre><code>% task projects
Project Tasks
Errands 1
Birthdays 3
Car 2</code></pre>
<strong>% task summary</strong>
<p>
This report lists all the projects and a summary of their task
status.
</p>
<pre><code>% task summary
Project Remaining Avg age Complete 0% 100%
Errands 1 3 days 50% XXXXXXXXXXXXXXXX
Birthdays 3 7 mths 0%
Car 2 2 wks 25% XXXXXXXXX</code></pre>
<p>
This shows the project, the remaining tasks, the average age of each
task, the percentage completed (remaining vs total) and a bar
indicating that percentage.
</p>
<strong>% task &lt;id&gt; append ...</strong>
<p>
Appends the additional description to an existing task.
</p>
<strong>% task annotate &lt;id&gt; additional note...</strong>
<p>
Allows an annotation to be attached to an existing task. Each
annotation has a time stamp, and when displayed, the annotations
are shown under the task description. For example:
</p>
<pre><code>% task add Go to the supermarket
% task annotate 1 need milk
% task ls
ID Project Pri Due Active Age Description
1 Go to the supermarket
3/23/2009 need milk</code></pre>
<p>
The date of the annotation uses the "dateformat" configuration
variable.
</p>
<strong>% task delete &lt;id&gt;</strong>
<p>
There are two ways of getting rid of tasks - mark them as done, or
delete them.
</p>
<strong>% task undelete &lt;id&gt;</strong>
<p>
If a task was inadvertently deleted, it may be undeleted, provided that no
reports have been run since the deletion. Ideally, the undelete command is
run immediately after the erroneous delete command.
</p>
<p>
If a report is run (such as "task list"), then task performs a garbage
collection that removes deleted tasks, and the task cannot be undeleted.
</p>
<strong>% task done &lt;id&gt;</strong>
<p>
This is how a task is marked as done.
</p>
<strong>% task undo &lt;id&gt;</strong>
<p>
If a task was recently marked as done, and no report has been run, it
may be possible to cancel the completed status of the task as though
"task done ..." was never run.
</p>
<strong>% task list ...</strong>
<p>
The list report will show the active status, and age of the task in
addition to the columns that "task ls" shows. It is just a more
detailed list.
</p>
<strong>% task long ...</strong>
<p>
The long report will show the entry date and start date of a task,
in addition to the columns that the "task list" shows.
</p>
<strong>% task start &lt;id&gt;</strong>
<p>
This marks a task as started (and therefore active), which is shown
in the "list" report:
</p>
<pre><code>% task list
ID Project Pri Due Active Age Description
12 Errand L Remember to deposit check
...
% task start 12
% task list
ID Project Pri Due Active Age Description
12 Errand L * 3 days Remember to deposit check
...</code></pre>
<strong>% task active</strong>
<p>
Shows all active tasks, that is, the tasks for which the
"task start ..." command was run, as shown above.
</p>
<strong>% task stop &lt;id&gt;</strong>
<p>
Marks a task as inactive, by removing the start time.
</p>
<strong>% task overdue</strong>
<p>
Simply lists all the task that have a due date that is past, in
"list" format.
</p>
<strong>% task history</strong>
<p>
This report shows you an overview of how many tasks were added,
completed and deleted, by month. It looks like this:
</p>
<pre><code>% task history
Year Month Added Completed Deleted Net
2008 March 21 16 0 5
April 13 11 1 1
May 8 14 3 -9</code></pre>
<p>
This shows that for the three months that task has been used, March
and April saw the total number of tasks increase, but in May the
number decreased as more task were completed than added.
</p>
<strong>% task calendar</strong>
<p>
This report shows a calendar of the current month, with any task
due or overdue dates marked on it. Color is used to mark these
dates.
</p>
<pre><code>% task calendar
May 2008
Su Mo Tu We Th Fr Sa
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31</code></pre>
<strong>% task next</strong>
<p>
This report shows you the tasks you should probable work on next.
Task will scan all the tasks and will pick two task from each
project to report. Those two tasks will be chosen in order of
overdue, due soon, High, Medium or Low priority. Essentially task
chooses the two most important task for each project and displays
them ordered in the usual way.
</p>
<p>
If you wish to show a different number of tasks per project, modify
the entry in .taskrc:
</p>
<pre><code>next=2</code></pre>
<p>
To be your preferred number.
</p>
<strong>% task &lt;id&gt; ...</strong>
<p>
When a task id is specified, everything applies to just that task.
Suppose we needed to correct a task:
</p>
<pre><code>% task ls
ID Project Pri Description
12 Errand L Remember to deposit chekc
...
% task 12 Remember to deposit bonus check
% task ls
ID Project Pri Description
12 Errand L Remember to deposit bonus check
...</code></pre>
<strong>% task oldest</strong>
<p>
Lists the oldest tasks. Shows 10 tasks by default, but can be
set via the "oldest" configuration variable.
</p>
<strong>% task newest</strong>
<p>
Lists the newest tasks. Shows 10 tasks by default, but can be
set via the "newest" configuration variable.
</p>
<strong>% task &lt;id&gt; /from/to/</strong>
<p>
If a task has been entered with a typo, it can be easily corrected
by this command. For example:
</p>
<pre><code>% task ls
ID Project Pri Description
12 Errand L Remember to deposit chekc
...
% task 12 /chekc/check/
% task ls
ID Project Pri Description
12 Errand L Remember to deposit check
...</code></pre>
<p>
This command makes a single correction to the first occurrence of
"from" in a task description.
</p>
<p>
If a task is annotated, the annotation can also be modified using
this command.
</p>
<strong>% task &lt;id&gt; /from/to/g</strong>
<p>
The "g" modifier to the substitution command causes every occurrence
of "from" to be replaced with "to", in both the description and any
annotations.
</p>
<strong>% task tags</strong>
<p>
This command will generate a list of all the tags that are currently
in use by task.
</p>
<strong>% task info &lt;id&gt;</strong>
<p>
This command gives detailed information about a single task. It
will tell you when the task was entered, when started, its status,
tags, and more.
</p>
<strong>% task stats</strong>
<p>
This command generates a list of statistics about your task usage,
such as the average time it takes to complete a task, how often new
tasks are added, and more.
</p>
<strong>% task completed</strong>
<p>
This generates a list of all tasks that have been completed, sorted
by their completion date.
</p>
<strong>% task export &lt;file name&gt;</strong>
<p>
This instructs task to write out a CSV format dump of all tasks,
both pending and completed, to the file specified. This is how you
might view tasks in a spreadsheet.
</p>
<strong>% task colors</strong>
<p>
This command displays all the colors that task supports.
</p>
<strong>% task version</strong>
<p>
This can be used to show the version number of task, and to display
all the current configuration settings, as read from the .taskrc
file.
</p>
<strong>% task rc:&lt;file&gt; ...</strong>
<p>
By specifying rc:<file>, it is possible to force task to use an alternate
.taskrc file. By default, task looks in your home directory, so these two
commands are essentially identical:
</p>
<pre><code>% task list
% task rc:~/.taskrc list</code></pre>
<p>
What this override allows, is the possibility of keeping your task lists
completely separate, say for work and home. This can be accomplished with
the following commands (valid for bash):
</p>
<pre><code>% alias htask="task rc:/home/me/.taskrc_home"
% alias wtask="task rc:/home/me/.taskrc_work"
% htask list
...
% wtask list
...</code></pre>
<strong>% task &lt;id&gt; "new description"</strong>
<p>
Not strictly a command, the replacement of the description can
be achieved by quoting the entire description. The quotes are
necessary in case one of the description words looks like a task
command.
</p>
<strong>% task &lt;id&gt; fg:... bg:...</strong>
<p>
Not strictly a command, the setting of the fg and bg (foreground
and background) attributes determines the colors used to represent
the task. Valid foreground colors are:
</p>
<pre><code> bold underline bold_underline
black bold_black underline_black bold_underline_black
red bold_red underline_red bold_underline_red
green bold_green underline_green bold_underline_green
yellow bold_yellow underline_yellow bold_underline_yellow
blue bold_blue underline_blue bold_underline_blue
magenta bold_magenta underline_magenta bold_underline_magenta
cyan bold_cyan underline_cyan bold_underline_cyan
white bold_white underline_white bold_underline_white</code></pre>
<p>
Note that these are not just colors, but combinations of colors and
attributes. Valid background colors are:
</p>
<pre><code>on_black on_bright_black
on_red on_bright_red
on_green on_bright_green
on_yellow on_bright_yellow
on_blue on_bright_blue
on_magenta on_bright_magenta
on_cyan on_bright_cyan
on_white on_bright_white</code></pre>
<p>
Note also that this capability does depend on whether your terminal
program can display these colors.
</p>
</div>
<br />
<br />
<div class="content">
<p>
Copyright 2006-2009, P. Beckingham. All rights reserved.
</p>
</div>
</div>
</td>
<td align="right" valign="top" width="200px">
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<script type="text/javascript"><!--
google_ad_client = "pub-9709799404235424";
/* Task Main */
google_ad_slot = "8660617875";
google_ad_width = 120;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
</tr>
</table>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-4737637-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</body>
</html>

View File

@@ -1,128 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Color Usage</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="task.css" type="text/css" />
</head>
<body>
<div id="container">
<table>
<tr>
<td>
<div id="toolbar">
<a href="task.html">Home</a>
<a href="setup.html">Setup</a>
<a href="30second.html">30-second Tutorial</a>
<a href="simple.html">Simple</a>
<a href="advanced.html">Advanced</a>
<a href="shell.html">Shell</a>
<a href="config.html">Configuration</a>
<a href="color.html">Colors</a>
<a href="usage.html">Usage</a>
<a href="recur.html">Recurrence</a>
<a href="date.html">Date Handling</a>
<a href="troubleshooting.html">Troubleshooting</a>
<a href="versions.html">Old Versions</a>
<a href="links.html">Task on the Web</a>
</div>
<div id="content">
<br />
<br />
<br />
<h2 class="title"><a name="color">Colors</a></h2>
<div class="content">
<p>
Task supports color in several places. In cases where you may
specify a color, a foreground, a background, or a combination
foreground and background color may be used. The following are
valid foreground colors:
</p>
<pre><code> bold underline bold_underline
black bold_black underline_black bold_underline_black
red bold_red underline_red bold_underline_red
green bold_green underline_green bold_underline_green
yellow bold_yellow underline_yellow bold_underline_yellow
blue bold_blue underline_blue bold_underline_blue
magenta bold_magenta underline_magenta bold_underline_magenta
cyan bold_cyan underline_cyan bold_underline_cyan
white bold_white underline_white bold_underline_white</code></pre>
<p>
and the following are valid background colors:
</p>
<pre><code>on_black on_bright_black
on_red on_bright_red
on_green on_bright_green
on_yellow on_bright_yellow
on_blue on_bright_blue
on_magenta on_bright_magenta
on_cyan on_bright_cyan
on_white on_bright_white</code></pre>
<p>
Depending on your terminal color choices, task can display all
the colors it supports with the command:
</p>
<img src="images/color.png" />
</div>
<br />
<br />
<div class="content">
<p>
Copyright 2006-2009, P. Beckingham. All rights reserved.
</p>
</div>
</div>
</td>
<td align="right" valign="top" width="200px">
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<script type="text/javascript"><!--
google_ad_client = "pub-9709799404235424";
/* Task Main */
google_ad_slot = "8660617875";
google_ad_width = 120;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
</tr>
</table>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-4737637-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</body>
</html>

View File

@@ -1,428 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Task Configuration</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="task.css" type="text/css" />
</head>
<body>
<div id="container">
<table>
<tr>
<td>
<div id="toolbar">
<a href="task.html">Home</a>
<a href="setup.html">Setup</a>
<a href="30second.html">30-second Tutorial</a>
<a href="simple.html">Simple</a>
<a href="advanced.html">Advanced</a>
<a href="shell.html">Shell</a>
<a href="config.html">Configuration</a>
<a href="color.html">Colors</a>
<a href="usage.html">Usage</a>
<a href="recur.html">Recurrence</a>
<a href="date.html">Date Handling</a>
<a href="troubleshooting.html">Troubleshooting</a>
<a href="versions.html">Old Versions</a>
<a href="links.html">Task on the Web</a>
</div>
<div id="content">
<br />
<br />
<br />
<h2 class="title"><a name="config">Configuring Task</a></h2>
<div class="content">
<p>
Task recognizes several entries in the .taskrc file for
configuration purposes. Valid entries are of the form:
</p>
<pre><code>name=value</code></pre>
<p>
Valid examples are:
</p>
<dt>data.location</dt>
<dd>
This is a path to the directory containing all the task files.
By default, it is set up to be ~/.task, for example:
/Users/paul/.task
</dd>
<dt>confirmation</dt>
<dd>
May be "yes" or "no", and determines whether task will ask for
confirmation before deleting a task.
</dd>
<dt>echo.command</dt>
<dd>
May be "yes" or "no", and causes task to display the ID and
description of any task when you run the start, stop, do, undo,
delete and undelete commands. The default value is "yes".
</dd>
<dt>nag</dt>
<dd>
This may be a string of text, or blank. It is used as a prompt
when a task is completed that is not considered high priority.
The "task next" command lists important tasks, and completing
one of those does not generate this nagging. Default value is:
<strong>Note: try to stick to high priority tasks. See "task next".</strong>
</dd>
<dt>next</dt>
<dd>
Is a number, defaulting to 2, which is the number of tasks for
each project that are shown in the "task next" command.
</dd>
<dt>curses</dt>
<dd>
Determines whether task uses ncurses to establish the size of
the window you are using, for text wrapping.
</dd>
<dt>blanklines</dt>
<dd>
May be "on" or "off". Prevents the display of unnecessary blank
lines so that task makes better use screen real estate on small-
screened devices.
</dd>
<dt>dateformat</dt>
<dd>
<p>
This is a string of characters that define how task formats dates.
The default value is:
</p>
<pre><code>m/d/Y</code></pre>
<p>
which means dates look like:
</p>
<pre><code>6/7/2008</code></pre>
<p>
The string should contain the characters:
<table>
<tr>
<th class="table_h">Character</th>
<th class="table_h">Meaning</th>
<th class="table_h">Example</th>
</tr>
<tr>
<td class="table_d">m</td>
<td class="table_d">minimal-digit month</td>
<td class="table_d">1, 12</td>
</tr>
<tr>
<td class="table_d">d</td>
<td class="table_d">minimal-digit day</td>
<td class="table_d">1, 30</td>
</tr>
<tr>
<td class="table_d">y</td>
<td class="table_d">two-digit year</td>
<td class="table_d">08</td>
</tr>
<tr>
<td class="table_d">M</td>
<td class="table_d">two-digit month</td>
<td class="table_d">01, 12</td>
</tr>
<tr>
<td class="table_d">D</td>
<td class="table_d">two-digit day</td>
<td class="table_d">01, 30</td>
</tr>
<tr>
<td class="table_d">Y</td>
<td class="table_d">four-digit year</td>
<td class="table_d">2008</td>
</tr>
</table>
</p>
<p>
The string may also contain other characters to act as spacers,
or formatting. Other values could include (but are not limited to):
</p>
<p>
<table>
<tr>
<th class="table_h">dateformat</td>
<th class="table_h">How it looks</th>
</tr>
<tr>
<td class="table_d">d/m/Y</td>
<td class="table_d">7/6/2008</td>
</tr>
<tr>
<td class="table_d">YMD</td>
<td class="table_d">20080607</td>
</tr>
<tr>
<td class="table_d">m-d-y</td>
<td class="table_d">6-7-08</td>
</tr>
</table>
</p>
</dd>
<dt>monthsperline</dt>
<dd>
Determines how many months the "task calendar" command
renders across the screen. Defaults to however many will
fit. If more months that will fit are specified, task will
only show as many that will fit.
</dd>
<dt>defaultwidth</dt>
<dd>
The width of tables used when ncurses support is not available.
Defaults to 80.
</dd>
<dt>due</dt>
<dd>
This is the number of days into the future that define when a
task is considered due, and is colored accordingly.
Defaults to 7.
</dd>
<dt>color</dt>
<dd>
May be "on" or "off". Determines whether task uses color.
When "off", task will use dashes (-----) to underline column
headings.
</dd>
<dt>
color.overdue<br />
color.due<br />
color.pri.H<br />
color.pri.M<br />
color.pri.L<br />
color.pri.none<br />
color.active<br />
color.tagged<br />
color.recurring
</dt>
<dd>
These are the coloration rules. They correspond to a particular
attribute of a task, such as it being due, or being active, and
specifies the automatic coloring of that task. The value may
be one optional foreground color (see below) and one optional
background color. For example, the value may be:
<br />
<strong>bold_red on_bright_yellow</strong>
</dd>
<dt>color.tag.X</dt>
<dd>
Colors any task that has the tag X.
</dd>
<dt>color.project.X</dt>
<dd>
Colors any task assigned to project X.
</dd>
<dt>color.keyword.X</dt>
<dd>
Colors any task where the description contains X.
</dd>
<dt>default.project</dt>
<dd>
Provides a default project name for the "task add ..." command.
</dd>
<dt>default.priority</dt>
<dd>
Provides a default priority for the "task add ..." command.
</dd>
<dt>default.command</dt>
<dd>
<p>
Provides a default command that is run every time task is
invoked with no arguments. For example, if set to:
</p>
<pre><code>default.command=list project:foo</code></pre>
<p>
Then task will run the "list project:foo" command if no
command is specified. This means that by merely typing:
</p>
<pre><code>% task
[task list project:foo]
ID Project Pri Description
1 foo H Design the thing
2 foo Build the thing</code></pre>
<p>
Note that the value of this variable is simply the command
line that you would ordinarily type, but without the
preceding "task" program name.
</p>
</dd>
<dt>shadow.file</dt>
<dd>
<p>
If specified, designates a file path that will be autoamtically
written to by task, whenever the task database changes. In other
words, it is automatically kept up to date.
</p>
<p>
The shadow.command configuration variable is used to determine
which report is written to the shadow file. There is no color
used in the shadow file.
</p>
<p>
This feature can be useful in maintaining a current file for
use by the "Samurize" program.
</p>
</dd>
<dt>shadow.command</dt>
<dd>
<p>
This is the command that is run to maintain the shadow file,
determined by the shadow.file configuration variable. The
format is identical to that of default.command - please see
the documentation for default.command.
</p>
<p>
If this command is not specified, task will use the default.command
value instead. If that is not specified, the command "list" is used.
</p>
</dd>
<dt>shadow.notify</dt>
<dd>
When this value is set to "on", task will display a message
whenever the shadow file is updated by some task command.
</dd>
<dt>locking</dt>
<dd>
<p>
Determines whether task uses file locking when accessing the pending.data
and completed.data files. Default to "on". Solaris users who store
the task data files on an NFS mount may need to set locking to "off".
</p>
<p>
Note that setting this value to "off" is dangerous. It means that
another program may write to the task.pending file when task is
attempting to do the same.
</p>
</dd>
<dt>import.synonym.id</dt>
<dt>import.synonym.uuid</dt>
<dt>import.synonym.status</dt>
<dt>import.synonym.tags</dt>
<dt>import.synonym.entry</dt>
<dt>import.synonym.start</dt>
<dt>import.synonym.due</dt>
<dt>import.synonym.recur</dt>
<dt>import.synonym.end</dt>
<dt>import.synonym.project</dt>
<dt>import.synonym.priority</dt>
<dt>import.synonym.fg</dt>
<dt>import.synonym.bg</dt>
<dt>import.synonym.description</dt>
<dd>
If any of these configuration variables are found, they influence
data import by specifying a single additional field name synonym.
If a data import is failing because certain column names are not
being recognized, then this is how the field mapping can be
controlled.
</dd>
<p>
Note that the command:
</p>
<pre><code>task version</code></pre>
<p>
will display the configuration variables found in the .taskrc file,
and will warn you of any variables that are not recognized.
</p>
</div>
<br />
<br />
<div class="content">
<p>
Copyright 2006-2009, P. Beckingham. All rights reserved.
</p>
</div>
</div>
</td>
<td align="right" valign="top" width="200px">
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<script type="text/javascript"><!--
google_ad_client = "pub-9709799404235424";
/* Task Main */
google_ad_slot = "8660617875";
google_ad_width = 120;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
</tr>
</table>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-4737637-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</body>
</html>

View File

@@ -1,179 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Custom Reports</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="task.css" type="text/css" />
</head>
<body>
<div id="container">
<table>
<tr>
<td>
<div id="toolbar">
<a href="task.html">Home</a>
<a href="setup.html">Setup</a>
<a href="30second.html">30-second Tutorial</a>
<a href="simple.html">Simple</a>
<a href="advanced.html">Advanced</a>
<a href="shell.html">Shell</a>
<a href="config.html">Configuration</a>
<a href="color.html">Colors</a>
<a href="usage.html">Usage</a>
<a href="recur.html">Recurrence</a>
<a href="date.html">Date Handling</a>
<a href="troubleshooting.html">Troubleshooting</a>
<a href="versions.html">Old Versions</a>
<a href="links.html">Task on the Web</a>
</div>
<div id="content">
<br />
<br />
<br />
<h2 class="title">Custom Reports</h2>
<div class="content">
<p>
Task allows you to customize reports, to a limited degree.
The "list", "long", "ls", "oldest" and "newest" reports are
all now custom reports, whereas in previous releases of task
they were not mutable. This means they can be modified,
renamed, or deleted.
</p>
<p>
More importantly, you can define your own. Here are the
three necessary items in the .taskrc file that define a new
report:
</p>
<code><pre>report.mine.description=Just the essentials
report.mine.columns=id,project,priority,description
report.mine.sort=priority-,project+</pre></code>
<p>
This defines a report, called "mine", that has four columns:
id, project, priority and description. It will be sorted on
two columns: by descending priority then ascending project.
The description that shows up in the task command usage page
is "Just the essentials". Because this report is called
"mine", it can be run with the command:
</p>
<code><pre>% task mine</pre></code>
<p>
An optional filter can also be specified like this:
</p>
<code><pre>report.mine.filter=priority:H +bug</pre></code>
<p>
This adds a filter so that only tasks with priority "H" and
with the "bug" tag are included in the report. This filter
definition is optional.
</p>
<p>
An optional limit can also be specified, which limits the
number of tasks shown in the report. If a limit is not
specified, then the number of tasks is not limited.
</p>
<code><pre>report.mine.limit=10</pre></code>
<p>
Here is a list of all the possible columns that may be included
in a report:
</p>
<p>
It is also possible to override the default columns names, if
the following line is added to your .taskrc file:
</p>
<pre><code>report.mine.labels=ID,Project,Priority,Description of task</code></pre>
<p>
Note that there must be the same number of labels as there are
columns to label, and they must appear in the same sequence.
</p>
<ul>
<li>id
<li>uuid
<li>project
<li>priority
<li>entry
<li>start
<li>due
<li>age
<li>active
<li>tags
<li>recur
<li>description_only
<li>description
<li>tag_indicator
<li>recurrence_indicator
</ul>
<p>
Custom reports will show up in the task command line usage.
</p>
</div>
<br />
<br />
<div class="content">
<p>
Copyright 2006-2009, P. Beckingham. All rights reserved.
</p>
</div>
</div>
</td>
<td align="right" valign="top" width="200px">
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<script type="text/javascript"><!--
google_ad_client = "pub-9709799404235424";
/* Task Main */
google_ad_slot = "8660617875";
google_ad_width = 120;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
</tr>
</table>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-4737637-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</body>
</html>

View File

@@ -1,161 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Date Handling</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="task.css" type="text/css" />
</head>
<body>
<div id="container">
<table>
<tr>
<td>
<div id="toolbar">
<a href="task.html">Home</a>
<a href="setup.html">Setup</a>
<a href="30second.html">30-second Tutorial</a>
<a href="simple.html">Simple</a>
<a href="advanced.html">Advanced</a>
<a href="shell.html">Shell</a>
<a href="config.html">Configuration</a>
<a href="color.html">Colors</a>
<a href="usage.html">Usage</a>
<a href="recur.html">Recurrence</a>
<a href="date.html">Date Handling</a>
<a href="troubleshooting.html">Troubleshooting</a>
<a href="versions.html">Old Versions</a>
<a href="links.html">Task on the Web</a>
</div>
<div id="content">
<br />
<br />
<br />
<h2 class="title">Date Handling</h2>
<div class="content">
<p>
Task reads dates from the command line, and displays dates in the reports.
</p>
<p>
In order to do this in a flexible way, task obeys a configuration variable that
determines the expected and desired date format. See the
<a href="config.html">Configuring Task</a> page for details.
</p>
<p>
In addition to exactly specifying the date, such as:
</p>
<pre><code>% task ... due:7/10/2008</code></pre>
<p>
task supports a flexible variety of alternatives. For example:
</p>
<pre><code>% task ... due:today</code></pre>
<p>
Similarly:
</p>
<pre><code>% task ... due:yesterday
% task ... due:tomorrow</code></pre>
<p>
Here are some other forms that are accepted. The day number, followed by an
ordinal:
</p>
<pre><code>% task ... due:23rd</code></pre>
<p>
End of month:
</p>
<pre><code>% task ... due:eom</code></pre>
<p>
End of year:
</p>
<pre><code>% task ... due:eoy</code></pre>
<p>
End of week (Friday):
</p>
<pre><code>% task ... due:eow</code></pre>
<p>
Next Friday:
</p>
<pre><code>% task ... due:Friday</code></pre>
<p>
Note that next Friday means seven days from now if today is Friday, otherwise
it means the next occurring Friday. Most of these forms may be specified using
abbreviations, provided they are unique. For example:
</p>
<pre><code>% task ... due:fri</code></pre>
</div>
<br />
<br />
<div class="content">
<p>
Copyright 2006-2009, P. Beckingham. All rights reserved.
</p>
</div>
</div>
</td>
<td align="right" valign="top" width="200px">
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<script type="text/javascript"><!--
google_ad_client = "pub-9709799404235424";
/* Task Main */
google_ad_slot = "8660617875";
google_ad_width = 120;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
</tr>
</table>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-4737637-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</body>
</html>

View File

@@ -1,175 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Frequently Asked Questions</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="task.css" type="text/css" />
</head>
<body>
<div id="container">
<table>
<tr>
<td>
<div id="toolbar">
<a href="task.html">Home</a>
<a href="setup.html">Setup</a>
<a href="30second.html">30-second Tutorial</a>
<a href="simple.html">Simple</a>
<a href="advanced.html">Advanced</a>
<a href="shell.html">Shell</a>
<a href="config.html">Configuration</a>
<a href="color.html">Colors</a>
<a href="usage.html">Usage</a>
<a href="recur.html">Recurrence</a>
<a href="date.html">Date Handling</a>
<a href="troubleshooting.html">Troubleshooting</a>
<a href="versions.html">Old Versions</a>
<a href="links.html">Task on the Web</a>
</div>
<div id="content">
<br />
<br />
<br />
<h2 class="title">Frequently Asked Questions</h2>
<div class="content">
<p>
(Actually, that's a misnomer. These are really Repeatedly Asked
Questions.)
</p>
<p>
<b>
Q: When I redirect the output of task to a file, I lose all
the colors. How do I fix this?
</b>
<br />
A: Task knows (or thinks it knows) when the output is not going
directly to a terminal, and strips out all the color control
characters. Prevent this with the following entry in your
.taskrc file:
<pre><code>_forcecolor=on</code></pre>
</p>
<hr>
<p>
<b>
Q: How do I backup my task data files? Where are they?
</b>
<br />
A: Task writes all pending tasks to the file ~/.task/pending.data
and all completed and deleted tasks to ~/.task/completed.data.
They are text files, so they can just be copied to another
location for safekeeping. Don't forget there is also the
~/.taskrc file that contains your task configuration data.
</p>
<hr>
<p>
<b>
Q: How can I separate my work tasks from my home tasks?
Specifically, can I keep them completely separate?
</b>
<br />
A: You can do this by creating an alternate .taskrc file,
then using shell aliases. Here is are example Bash
commands to achieve this:
<pre><code>% cp ~/.taskrc ~/.taskrc_home
% (now edit .taskrc_home to change the value of data.location)
% alias wtask="task"
% alias htask="task rc:~/.taskrc_home"</code></pre>
This gives you two commands, 'wtask' and 'htask' that
operate using two different sets of task data files.
</p>
<hr>
<p>
<b>
Q: Can I revert to a previous version of task? How?
</b>
<br />
A: Yes, you can revert to a previous version of task,
simply by downloading an
<a href="versions.html">older version</a> and
installing it. If you find a bug in task, then this
may be the only way to work around the bug, until a
new release is made.
</p>
<p>
Note that it is possible that the task file format will
change. For example, the format changed between versions
1.5.0 and 1.6.0. Task will automatically upgrade the file
but if you need to revert to a previous version of task,
there is the file format to consider. This is yet another
good reason to back up your task data files!
</p>
<hr>
<!--
<p>
<b>
Q:
</b>
<br />
A:
</p>
<hr>
-->
</div>
<br />
<br />
<div class="content">
<p>
Copyright 2006-2009, P. Beckingham. All rights reserved.
</p>
</div>
</div>
</td>
<td align="right" valign="top" width="200px">
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<script type="text/javascript"><!--
google_ad_client = "pub-9709799404235424";
/* Task Main */
google_ad_slot = "8660617875";
google_ad_width = 120;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
</tr>
</table>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-4737637-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</body>
</html>

View File

@@ -1,133 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Task Filters</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="task.css" type="text/css" />
</head>
<body>
<div id="container">
<table>
<tr>
<td>
<div id="toolbar">
<a href="task.html">Home</a>
<a href="setup.html">Setup</a>
<a href="30second.html">30-second Tutorial</a>
<a href="simple.html">Simple</a>
<a href="advanced.html">Advanced</a>
<a href="shell.html">Shell</a>
<a href="config.html">Configuration</a>
<a href="color.html">Colors</a>
<a href="usage.html">Usage</a>
<a href="recur.html">Recurrence</a>
<a href="date.html">Date Handling</a>
<a href="troubleshooting.html">Troubleshooting</a>
<a href="versions.html">Old Versions</a>
<a href="links.html">Task on the Web</a>
</div>
<div id="content">
<br />
<br />
<br />
<h2 class="title">Task Filters</h2>
<div class="content">
<p>
A task filter is a means of reducing a task report to a
subset that may consist of all tasks that have a specific
project, priority, tag, or part of the description.
</p>
<p>
A task filter consists of additional command line options,
that are specified in the same way as when a task is added.
</p>
<p>
All task reports can make use of filters.
</p>
<p>
For example, the report:
</p>
<code><pre>% task list</pre></code>
<p>
Lists all tasks.
</p>
<code><pre>% task list the</pre></code>
<p>
Lists only tasks with "the" in the task description.
</p>
<code><pre>% task list project:Home priority:H</pre></code>
<p>
Lists only tasks with both the "Home" project and "H" priority.
</p>
<code><pre>% task list +shopping</pre></code>
<p>
Lists only tasks with the "shopping" tag.
</p>
</div>
<br />
<br />
<div class="content">
<p>
Copyright 2006-2009, P. Beckingham. All rights reserved.
</p>
</div>
</div>
</td>
<td align="right" valign="top" width="200px">
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<script type="text/javascript"><!--
google_ad_client = "pub-9709799404235424";
/* Task Main */
google_ad_slot = "8660617875";
google_ad_width = 120;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
</tr>
</table>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-4737637-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</body>
</html>

Some files were not shown because too many files have changed in this diff Show More