- 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>
- 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.
- 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
- 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.
- 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.
- 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.
- 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.
- Improved style and efficiency of Perl test code.
- Added alias expansion to feature log of bash completion script.
- Added comments to bash completion script.
- 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.
- 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>
- 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.
- 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>