| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
==========
- Mostly a brown-paper bag release to fix the below regression and add a
feature I forgot to add.
- Fix regression in search() function that broke --fromfile
- Allow the -L option to accept its parameter immediately (with no space)
instead of requiring it be the next option word.
- Fix issue where --gitignore does not think a pattern with a singular
terminal '/' (indicating it matches only directories,) is a relative path.
- Don't emit the error 'recursive, not followed' if when using -L, the depth
would prevent descending anyway. This also fixes up a JSON output error
(missing comma) when this happens.
- Don't prematurely sort files/directories with --from*file.
- Various seg-faults fixed (Hanqin Guan (The OSLab of Peking University)):
- Make doubly sure that there is actually a previous path entry when reading
from a tabbed file.
- Make sure there is actually a file entity when applying the link info to
it when reading fromfile using --fflinks.
- Increase space for the path a little in listdir(), just to be sure.
- Make sure that there is no topsort (--dirsfirst / --filesfirst) if there
is no basesort (-U).
- Make sure gittrim() function can handle a null string.
- Update email address to steve.baker.llc@gmail.com from ice@mama.indstate.edu
which has been permanently disabled.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
New tarball location is:
http://oldmanprogrammer.net/tar/tree/
Homepage is:
http://oldmanprogrammer.net/source.php?dir=projects/tree
Signed-off-by: Benjamin Szőke <egyszeregy@freemail.hu>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
============
- Various spelling corrections.
- Fix issue where following links while doing JSON output would lead to
incorrect JSON output.
- Fix issue where .info patterns relative to the .info file that did not use
a wildcard for matching the prefix were not matching files properly.
- Added support for making trees from tab indented files (--fromtabfile)
- Fix buffer overflow in listdir() when file names are allowed to be longer
than 256 characters (like when using fromfile.)
- If when attempting to open a .gitignore or .info file from a top level
directory and failing, recursively check the parents for such a file. This
stops when successful at opening such a file. This behavior might in the
future be modified to open all such files in all parents to until root is
reached.
- Fix issue where tree would never descend (-l) a symbolic link when a full
tree is gathered (--du/matchdirs/prune)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
| |
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
| |
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
| |
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
=========
- Okay, apparently the stddata addition is causing havoc (who knew how many
scripts just haphazardly hand programs random file descriptors, that's
surely not a problem.) Going forward the stddata option will only work
if the environment variable STDDATA_FD is present or set to the descriptor
to produce the JSON output on.
- Fix HTML url output issue. It was definitely broken in the 2.0.0 release,
and this should normalize it with respect to older versions.
- Update MANPATH for OS X
- Fixed an error with * in the patchmatch code where *foo*bar would match
*foo alone.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Version 2.0.1 (01/03/2022)
- Simplify Makefile and the following changes: prefix -> PREFIX,
BINDIR -> DESTDIR, -O4 -> -O3, mode 644 for man page installation
(Michal Vasilek)
- Make patterns ending in '/' match directories (but not files) for -I / -P
(Michiel Beijen) should also fix issues with --gitignore as well
(Taylor Faubion)
- Fix --gitignore not matching files relative to the path of the .gitignore
(Taylor Faubion) I did say it was hacked together.
- Refactored color.c a bit to simplify the code as a prelude to meta coloring.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
For glibmm this is done with the gnomebase class.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The tree Makefile defines default CFLAGS form Linux (-DLINUX, etc)
which are lost if we don't manually include them in the final CFLAGS.
Also break the dependency on EXTRA_OEMAKE containing '-e', disable the
unused configure task and, since package has a very short description,
set SUMMARY instead of DESCRIPTION.
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
Tree is a recursive directory listing command that is useful for viewing
directory contents in a tree-like format.
Signed-off-by: Connor Smith <connor.smith@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|