Files
meta-openembedded/meta-oe/recipes-support
wangmy 00ee46b5f0 tree: upgrade 1.8.0 -> 2.0.0
Changelog:
=========
* This started out as a 1.9.0 release but then I got fed up with the abundance
of directory listers (8 in total, 2 each for each output mode).
Nothing is terribly well tested since there are a lot of changes and I would
like to get this out the door finally, please report breakage. This reduced
so much code that all the below additions only resulted in a code base that
is only 54 lines larger than 1.8.0.

* Rolled all the directory listers into 2 functions that call output specific
functions (removes one TODO).

*-R option now recursively calls the emit_tree() function rather than using
system() to re-call tree. Also removes a TODO.

* Adds --info to print information about files/directories from information
found in .info files (removes a maybe do) In HTML output, comments show as
mouse over tooltips, which I imagine will be the most useful use of this "feature".

* Output un-indented JSON on file descriptor 3 ("stddata") automatically if
file descriptor 3 is present (currently Linux only.) Maybe switch to BSON.

* Always HTML escape filenames in HTML output even when -C is used.

* Return a non-zero exit status if there is a failure to open any directory.

* Added --gitignore option to filter out files specified by .gitignore files.
(also reads $GIT_DIR/info/exclude if present.) To facilitate gitignore, adds
support for ** on pattern matching to allow /**/ to match a single /.
This is not well tested and kind of hacked together, so may not work correctly.

* Now also supports multiple -I and -P instances.

* Now prints meta data for the top level directory as well.

* Split spaghetti code in main into individual functions.

* Properly sort --fromfile input

* Make tree colorization use reset (rs code in dir_colors,) not normal color
when resetting attributes

* Honor -n (no color) even if the CLICOLOR_FORCE environment variable is set

* Fix --sort option to not require =

* Defer sorting for --du until the entire sub-directory tree has been processed.

* Optimized makefile, HP/UX support (Osipov, Michael). Note that this changes
the prefix default to /usr/local, which is becoming required for many systems now.

* Renamed (the by now very obsolete) doc/tree.1.fr to doc/tree.fr.1

* Fix JSON string escaping such that it is not using the HTML escaping

* Add --filesfirst option (John A. Fedoruk). Cleaned up sorting code to make
--dirsfirst and --filesfirst top level meta-sorts.

* "arial" not "ariel" (Mark), HTML style-sheet cleaned up in any event.

* Deprecate using local -DLINUX / -DCYGWIN and use the OS provided __linux__ or
__CYGWIN__

* XML/HTML/JSON output needs to be mutually exclusive, last command line switch
wins.

* Make sure we use xmalloc instead of malloc in a number of places

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-27 11:46:41 -08:00
..
2021-08-03 10:21:25 -07:00
2021-10-19 09:23:08 -07:00
2021-08-03 10:21:25 -07:00
2021-08-03 10:21:25 -07:00
2021-09-08 21:29:52 -07:00
2020-10-21 14:11:09 -07:00
2021-08-03 10:21:25 -07:00
2021-09-24 08:12:35 -07:00
2021-08-03 10:21:25 -07:00
2021-08-03 10:21:25 -07:00
2021-05-19 09:17:49 -07:00
2021-08-03 10:21:25 -07:00
2021-08-03 10:21:25 -07:00
2021-12-10 18:53:05 -08:00
2021-08-20 09:26:18 -07:00
2021-08-03 10:21:25 -07:00
2021-12-06 09:56:50 -08:00
2021-08-03 10:21:25 -07:00
2021-08-03 10:21:25 -07:00
2021-08-06 20:38:40 -07:00
2021-08-03 10:21:25 -07:00
2020-02-16 12:52:19 -08:00
2021-02-21 23:44:22 -08:00
2021-08-03 10:21:25 -07:00
2021-03-28 12:12:58 -07:00
2018-11-14 21:06:58 -08:00
2021-08-03 10:21:25 -07:00
2021-12-13 21:20:01 -08:00
2021-08-03 10:21:25 -07:00
2021-11-09 11:23:54 -08:00
2021-08-03 10:21:25 -07:00
2020-12-07 21:55:47 -08:00
2021-12-13 08:09:25 -08:00
2021-08-03 10:21:25 -07:00
2019-06-25 14:21:48 -07:00
2021-12-21 18:49:37 -08:00
2021-10-26 10:38:40 -07:00
2020-02-21 08:50:36 -08:00
2021-08-03 10:21:25 -07:00
2021-08-03 10:21:25 -07:00
2021-09-05 22:19:55 -07:00
2021-09-24 08:12:36 -07:00
2021-12-21 18:49:37 -08:00
2021-08-03 10:21:25 -07:00
2021-11-01 05:45:17 -07:00
2021-08-03 10:21:25 -07:00
2021-12-24 15:48:38 -08:00
2021-04-21 08:27:01 -07:00
2021-08-03 10:21:25 -07:00
2021-08-03 10:21:25 -07:00
2019-11-27 20:07:16 -08:00
2021-08-03 10:21:25 -07:00
2019-05-11 23:35:30 -07:00
2021-12-21 18:49:37 -08:00
2021-08-03 10:21:25 -07:00
2021-08-03 10:21:25 -07:00
2021-12-01 22:37:01 -08:00
2021-08-03 10:21:25 -07:00
2021-02-21 23:37:54 -08:00
2021-08-03 10:21:25 -07:00
2021-12-09 08:36:36 -08:00
2021-12-27 11:46:41 -08:00
2020-06-03 15:15:42 -07:00
2021-08-17 08:15:01 -07:00
2021-08-03 10:21:25 -07:00
2021-11-22 10:15:01 -08:00
2021-09-24 08:12:35 -07:00
2021-08-03 10:21:25 -07:00