Sync from SUSE:SLFO:Main tree revision 9d19c8c475a698f4c8741427d128648a

This commit is contained in:
Adrian Schröter 2025-02-20 10:07:56 +01:00
parent abc1401753
commit 5c7dfb7a36
4 changed files with 58 additions and 4 deletions

BIN
tree-2.1.3.tgz (Stored with Git LFS)

Binary file not shown.

BIN
tree-2.2.1.tgz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,57 @@
-------------------------------------------------------------------
Tue Nov 26 08:59:39 UTC 2024 - Thomas Blume <Thomas.Blume@suse.com>
- update to 2.2.1
* Fix regression where I free a pointer that should not have been freed due
to a variable renaming that wasn't completed. (Daniel Li / Landon Bourma)
* Put back, in a modified form, HTML href directory path fixing that was
removed in 2.1.2. If the "baseHREF" part after the -H begins with a dash
(-), the dash is removed and the lead directory name is removed from the
href, otherwise it is left as-is. It can be very difficult to know how to
handle the host and directory part given the plethora of protocols and
what-not, so hopefully this should give enough control over that to suit
most requirements.
Version 2.2.0 (11/24/2024)
* Add option --opt-toggle which turns on the ability to toggle options such
as -a, -p, etc. Useful to add to an alias for turning an option off when
using said alias. (Christoph Anton Mitterer)
* Add --hyperlink option to print OSC 8 terminal hyperlinks for files. Also
adds the --scheme and --authority options to modify the schema and hostname/
authority of the links. (Nicolai Dagestad)
OSC 8 Terminal hyperlinks:
https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda
* Maybe finally fix JSON error reporting when unable to open a directory and a
full tree is required, such as when using --du. (Alchemyst@github)
* Fix small rounding error in human readable size (-h) output, where 9.99K is
rounded to 10.0K rather than 10K (Ivan Ivanovich)
* Fix the totals report for sizes when --du option is used. The directory
size total was correct, but the final report was an accumulation of all
the directory totals rather than just the top most directory total.
(Alchemyst@github)
* Add .gitignore file to distribution for those wanting that. (Kenta Arai)
* Add 'none' as a valid --sort option (i.e. -U).
* Add ability to cross compile for Android (freemedom@github)
* List charsets again if --charsets is not given an argument.
* Allow --help and usage to use ANSI bold and italic if colorization is
enabled.
* General code cleanups:
- Removed unused externs where possible.
- Clean up some warnings issued by -Wextra (Kenta Arai)
- Update Makefile to allow CC and the CFLAGS -O3 option to be overridden,
move CPPFLAGS into their own variable, add -Wstrict-prototypes
(David Seifert)
- Long over-due move to stdbool.h, removes custom bool type and changes all
occurrences of TRUE/FALSE to true/false. (David Seifert / others) This
likely makes C99+ even more of a requirement now. Please let me know if
this requires a work-around for your system.
- Went ahead and added -Wconversion to the Makefile as well. This required a
large number of type conversion fixing which may have unexpected side
effects, but should hopefully help with tree safely dealing with absurd
sizes/number of things in the future as this promotes using size_t more.
This probably needs more work to do properly however.
- Apply the const constraint on parameter strings wherever possible.
-------------------------------------------------------------------
Wed Sep 25 08:44:35 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@ -17,7 +17,7 @@
Name: tree
Version: 2.1.3
Version: 2.2.1
Release: 0
Summary: File listing as a tree
License: GPL-2.0-or-later