Skip to content

Releases: VladimirMarkelov/ttdl

Automatic column formatting

30 Jul 00:39
0337b68
Compare
Choose a tag to compare
  • New output is incompatible with the output of 3.x version (because of this the major version was increased):
    • column width is not constant(except for custom columns), its width fits the longest column value
    • columns are shown in the same order as they mentioned in the settings(or in --fields option)
  • Fixed incorrect syntax highlighting: project and tag colors were swapped
  • Threshold tag was duplicated in a task subject even if --clean-subject=all was passed to TTDL
  • New command-line option auto-hide-cols: automatically hide columns which have no values
  • New command-line option auto-show-cols: automatically show tags, context, and project in separate columns
  • New command-line option always-hide-cols: never show the mentioned tags in separate columns. The option is good when used together with the option auto-show-cols
  • Neither of new options are mutually exclusive. The order of applying rules to show columns: 1) --fields is the base field list; 2) if --auto-show-cols is defined, add non-empty tags as columns; 3) if --auto-hide-cols is defined, remove all columns that have no values; 4) if the list --always-hide-cols is not empty, hide those columns; 5) if --clean-subject is not none, remove all duplicated values from the subject of a task

Plugin fixes (Windows specific changes)

29 Jun 03:56
bd5b45c
Compare
Choose a tag to compare

It seems plugin feature is not used by anyone as nobody had opened an issue for the feature that did not work for a long time. Anyway, bugs must be fixed. Changes in this release:

  • If a user plugin changed a tag value, the tag was duplicated in the result subject: once with old value and once with a new value
  • If a plugin sets the value to empty string, instead of removing the tag from the subject, TTDL added a new tag with empty value to the subject
  • Example command line for Powershell in ttdl.toml was incorrect. It must be "powershell -F" instead of "powershell -c"

Hiding duplicated info and bug fixes

09 May 03:44
a661447
Compare
Choose a tag to compare

New features:

  • Projects and context can be printed in their own column. Both are hidden by default. To enable columns, pass field list in command-line option --fields=ctx,prj or modify configuration option global.fields
  • When Due, custom tags, Project and Context columns are displayed, their values are also printed in the column Subject. To hide duplicated information in Subject, you can pass either the new command-line option --clean-subject with a desired value (see README, section Hide duplicated info) or modify your configuration file to make it permanent

Bug fixes and improvements:

  • Flag --calendar supports years (in a range -2..2). Now you can print the entire current year with ttdl --calendar=1y
  • Flag --calendar accept ranges: ttdl --calendar=-2m..2m
  • BugFix: added missing color reset when printing calendar. In the previous version in calendar mode sometimes today's background was applied to an empty line after the month and sometimes month names were printed with week number color

Calendar revamp

24 Apr 01:01
622f551
Compare
Choose a tag to compare

Release highlights:

  • list --calendar=<range> now displays a calendar in a human-friendly way: prints every month in a separate columns, month and weekday names in a header
  • list --calendar displays week number (as it is defined by ISO week number)
  • increased the limits for calendar range in months, now a user can print out up to 24 months: list --calendar=24m. In the previous release, the limit was only 3 months
  • Fixed syntax highlighting: now tags are processed in the last place, so in this release projects and contexts which names contain a colon (:) are colored properly

Bump dependencies

02 Apr 02:11
423d865
Compare
Choose a tag to compare
  • bump dependencies
  • fix a small display bug: when marking a recurrent task done, TTDL displayed only the closed task, Now TTDL shows both closed and added tasks

Use `None` as default foreground color

18 Mar 18:02
70496ee
Compare
Choose a tag to compare

TTDL used White always as the default color for output, but on light color schemes it looked bad (see #71).

  • Use None as the default foreground color
  • Add an option to ttdl.toml(see the new option default_fg commented out in the archive by the end of the section [colors]) for users who want to use an arbitrary color as a default foreground one
  • Fix new clippy warnings and bump dependencies

Fix option `--dry-run` for `add` command

04 Mar 19:37
f12c4f0
Compare
Choose a tag to compare
  • Fix the command add crash when the command-line option --dry-run is used

Support 32-bit

02 Feb 08:10
fd2cb5f
Compare
Choose a tag to compare

Update TTDL and todo_lib code so it can be build with 32-bit compilers.

NOTE: No changes for 64-bit, so you can use the binaries from the previous release. So, the archives for this release are the same as for the previous one 3.6.2.

Empty todos

29 Jan 23:03
b0e708d
Compare
Choose a tag to compare
  1. Hide empty todos by default
  2. Command-line option --all shows empty todos
  3. Command clean(archive) erases all empty todos from todo.txt. If you want to keep them, pass the command-line option --keep-empty
  4. Fixed syntax highlight in --compact mode

Custom columns

14 Jan 22:57
eefefbc
Compare
Choose a tag to compare
  • TTDL can show custom columns which content is based on a selected tag values (see Custom columns in the README.md)
  • Switch to Rust 2021 edition