Summary
The latest version of recls incorporates library source refactoring, recls/Python mapping, new 'stat()' functionality
Advertisement
Specifically:
1. The library implementation has been trimmed significantly, resulting in code
reductions of ~10% for both source and object size (despite increases in
functionality). Download latest at http://recls.org/downloads.html
2. I've now implemented a Python mapping, giving the option of Ruby or Python for
recls scripting
3. The function Recls_Stat() has been added, which takes a path+flags, and
provides a recls_info_t corresponding to that path. This allows the full rich file
descriptor object for individual files, which is very handy. All mappings have
been updated accordingly, e.g. recls.stat() in Python, std.recls.stat() in D,
Recls::stat() in Ruby, etc. etc.
4. The D mapping has been made compatible with the current Phobos, and should be
easily integrated into the next release. This'll get std.recls in synch with the
docs, which has been a problem for some time. Note that the license for recls was
changed to BSD some time ago (1.5.3), but since Phobos is still using recls 1.2.1
(!!),
which uses the Synesis Software Standard Source License, incorporation of 1.6.1
will result in a welcome license change from the perspective of D users.
5. A much wider compatibility with compilers has been effected, and the makefiles
are now much more comprehensive. (They're auto-generated from a new makefile
generator template that I've written - in Python - which I plan to make available
very soon.)
Note: The next big change for recls will be the total reimplementation of recls
2.0. This will include customisable plug-in pattern matching, search filtering on
size/date/type/pattern/etc., cancellable search progress callbacks, recursive
search of other types (e.g. Win32 registry, CVS, etc.). It will probably also be
written in C as well as C++, to pare the size right down and to make it compatible
with some recalcitrant compilers, such as Watcom. I'll be open to feature requests
on this for the next couple of months, so please feel free to make them. I expect
to release this sometime in mid 2005