From 5c7dfb7a36cfa250717162232e73afbef2f9822d2fdfb5d1152fdbe655a43e76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Thu, 20 Feb 2025 10:07:56 +0100 Subject: [PATCH] Sync from SUSE:SLFO:Main tree revision 9d19c8c475a698f4c8741427d128648a --- tree-2.1.3.tgz | 3 --- tree-2.2.1.tgz | 3 +++ tree.changes | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++ tree.spec | 2 +- 4 files changed, 58 insertions(+), 4 deletions(-) delete mode 100644 tree-2.1.3.tgz create mode 100644 tree-2.2.1.tgz diff --git a/tree-2.1.3.tgz b/tree-2.1.3.tgz deleted file mode 100644 index c6121d3..0000000 --- a/tree-2.1.3.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c24c9bfbbb3bd31a43b16898f74fd338cfcf348e914de81438ddfcf052076ff4 -size 61684 diff --git a/tree-2.2.1.tgz b/tree-2.2.1.tgz new file mode 100644 index 0000000..b94807f --- /dev/null +++ b/tree-2.2.1.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:68ac45dc78c0c311ada06200ffc3c285e74223ba208061f8d15ffac25e44b2ec +size 65505 diff --git a/tree.changes b/tree.changes index 993bbdb..618f241 100644 --- a/tree.changes +++ b/tree.changes @@ -1,3 +1,57 @@ +------------------------------------------------------------------- +Tue Nov 26 08:59:39 UTC 2024 - Thomas Blume + +- 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 diff --git a/tree.spec b/tree.spec index 51a4f77..ffdc30f 100644 --- a/tree.spec +++ b/tree.spec @@ -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