- 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>
- 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.
- 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
- 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.
- 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.
- 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.
- 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.
- 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>
- 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
- 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.
- 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>
- Fixed bug #595, where taskwarrior ignored changes to the wait date during
the edit command, consequently not changing task status (thanks to Eric
Fluger).
- 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).