- 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.
- 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>.
- 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.
- Simplified leap year code.
- Began documenting date constants (eom, eow ...).
- Implemented 'soq', 'eoq'.
- Stubbed all the missing named dates.
- Removed unrelated constants.
- 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'.
- 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.
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.
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>
- #1511 sync init crashes if client certification file is empty or invalid
(thanks to Marton Suranyi).
Signed-off-by: Paul Beckingham <paul@beckingham.net>
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