#17446 closed enhancement (fixed)

tree-2.1.0

Reported by: Bruce Dubbs Owned by: Bruce Dubbs
Priority: normal Milestone: 11.3
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New minor version.

Change History (3)

comment:1 by Bruce Dubbs, 16 months ago

Owner: changed from blfs-book to Bruce Dubbs
Status: newassigned

comment:2 by Bruce Dubbs, 16 months ago

Version 2.1.0 (12/26/2022)

  • Add support for --info and --gitignore for the --fromfile option.
  • Add options --infofile and --gitfile to load .info and .gitignore files explicitly. Each implies --info or --gitignore respectively.
  • Add NULL guard for json_printinfo() and xml_printinfo() (and fix ftype printing for XML)
  • Fix getcharset() to not return a getenv() pointer (fix for ENV34-C issue.)
  • Another attempt at fixing extraneous /'s in HTML URLs/output.
  • Fixed XML output
  • Remove the (very outdated) French version of the manpage. Look to localization projects such as Debian's 'manpages-l10n' for localized translations.
  • Add support for the NO_COLOR environment variable (https://no-color.org/). Equivalent to the -n option (can be still be overridden with -C).
  • Removed many C99isms to enable compiling on C90 compilers with fewer warnings. It should not be necessary to avoid using a standard that is old enough to drink, furthermore it is all but impossible to remove the remaining warnings and have modern features like compound literals. In the meantime I've added -std=c11 to the default CFLAGS for Linux and will likely not worry about C90 compatibility going forward unless there is some other reason for it.
  • Added a helper function for long command line arguments to clean up option processing (and fixes the processing for a few of the options such as --timefmt= (наб?).)
  • Added --hintro and --houtro options to select files to use as the HTML intro and outro. Use /dev/null or an empty file to eliminate them entirely. This should make it much easier to create your own custom CSS or embed one or more trees into a web page.
  • Defer printing the version until the character set is known so we can use the linedraw copyright symbol.
  • Revert change to the error code to not return an error (code 2) when attempting to list a non-directory that actually exists. Tree will still return an error when attempting to list a non-existing directory/file.
  • Added option --fflinks which will process symbolic link information from a file generated with 'tree -if --noreport' when using --fromfile.
  • Updated the totals reporting code to also include in the total the file or directory that is being listed. This should make a correct report when doing something like 'tree *'.

comment:3 by Bruce Dubbs, 16 months ago

Resolution: fixed
Status: assignedclosed

Fixed at commits

de944b992a Update to ruby-3.2.0.
b5eadf6a58 Update to tree-2.1.0.
cd6894be7f Update to libpsl-0.21.2.
Note: See TracTickets for help on using tickets.