Skip to content

Releases: matt-harvey/swx

swx v1.0.1

18 Jan 10:07
Compare
Choose a tag to compare
  • Fixed misleading output on switching to inactive with "--at" option when already inactive
  • Added instructions for one-line Homebrew install
  • Minor typo fixes

swx v1.0.0

30 Jul 02:31
Compare
Choose a tag to compare
  • Time log is now at ~/.swx, not ~/<username>.swx
  • Instructions added for installing with Homebrew

swx v0.11.0

18 Jun 22:17
Compare
Choose a tag to compare
  • Introduce swx rename command, to allow the user to rename activities without opening the time log for editing
  • Provide -a option to swx switch command, allowing the user to amend the current stint without having to open
    the time log for editing
  • Provide --at option to swx switch and swx resume commands, so the user can specify a timestamp other
    than "now"
  • Provide --depth option for reporting commands, to show activity tree only to a given depth
  • Improve CSV output format to make it easier to process with command-line tools
    • Only surround cell with double-quotes if it contains a comma, quotes, newline or carriage return, with
      internal double-quotes escaped as appropriate
  • In "tree" output, print subactivities by default, but provide -x option to exclude sub-activities
  • swx current command is now under "Miscellaneous" in swx help output
  • Improvements to README.rst and help output
  • Confirmation message from swx switch and swx resume now includes timestamp
  • Allow just time without date to be passed to options requiring a timestamp, with the current day assumed
  • Long options (e.g. --csv) now provided for various commands
  • Some seldom-used short options now abolished, with long options provided only:
    • swx config -f is now swx config --filepath
    • swx edit -c is now swx edit --config
    • swx print -c and swx day -c are now swx print --csv and swx day --csv, respectively
  • Regular expressions now use C++ "ECMAScript"-like grammar, rather than POSIX extended grammar
  • Fix compiler warnings when compiled with Clang
  • Various improvements to code structure

swx v0.10.0

29 Aug 01:39
Compare
Choose a tag to compare
  • Output "tree" view of activities by default, with -v option now triggering
    "flat" output (which used to be the default).
  • Durations now displayed rounded to nearest tenth of an hour by default.
  • Changed interface for filtering by time, with since, until and
    between abolished, and -f and -t options instead provided with print
    command to filter by time "from" and "to".
  • day command now has -a option, taking a numerical argument, instead of
    -1, -2 etc. The number is no longer capped at 9.
  • Added -s option to reporting commands, for "succinct" output showing total
    duration only.
  • Provided alias e for edit command.
  • Provided more conventional aliases for help (--help, -h) and version
    (--version) commands.
  • Help text wrapped to 80 characters, with ":" used to separate help "items" from
    their descriptions.
  • Command-line argument parsing now aborts after the first unrecognized option,
    rather than continuing and producing an error message for every unrecognized
    option.
  • Conventional exit codes now produced by all commands.
  • Fixed unhandled exception on config file parsing error.
  • "Miscellaneous" commands now displayed last in the help output.
  • "Quick summary" section added to README.rst.
  • Removed dependency on Boost, except for the test suite (which is
    separately compiled).
  • There are now some unit tests.
  • Fixed compiler warnings.
  • Various code improvements

swx v0.9.0

31 Jan 20:04
Compare
Choose a tag to compare
  • New current command
  • today command has become day, with additional options provided
  • New reporting options: -b and -e
  • Default timestamp format no longer includes seconds
  • Improved documentation, help output and error output
  • Various code improvements

swx v0.8.0

15 Jun 00:22
Compare
Choose a tag to compare

Initial release