www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - Doc <-> code: recls

reply "Lionello Lunesu" <lionello.lunesu crystalinter.remove.com> writes:
I was trying to use std.recls and noticed the following (using v0.109):

* There's no FileSearch / FtpSearch class, only (not abstract) Search;
* The RECLSFLAG's have an (undocumented) prefix RECLS_F_, so you end up 
typing "RECLSFLAG.RECLS_F_FILES";
* The members start with capitals, i.e. Entry::GetPath() (doc says 
getPath,...);
* getPathNameSeparator() appears twice in the doc (one should be 
getPathSeparator() ?);
* None of the "Free functions provided by the recls module" seem to exist;
* Passing multiple delimited wildcards to Search doesn't work (I've tried ; 
: , ).

-- 
L.

-- Get the root certificate at https://www.cacert.org/ 
Dec 19 2004
parent reply "Matthew" <admin stlsoft.dot.dot.dot.dot.org> writes:
This is all because Walter and I've had something of a disconnect in
updating the library for some months now. Those capabilities, and
matching documentation, do exist, but not (yet) in Phobos, due to our
"difference of opinion".

Since I'm intending to do a rewrite / expansion in the next few weeks
(which _must_ be done, in order to keep in synch with my CUJ column),
Walter decided we should wait.

Expect the updated (and fully functional) version in early Jan. (I'm
likely to do a version 1.6, and then move to a 2.x which will have more
D-integrateable data types.)

In the meanwhile, I'm pretty sure that you can get all the "latest"
functionality from the recls site - http://recls.org/downloads.html.
Version 1.5.2 was released on 13th June, and has the updated D mapping.
Please feel free to post any problems with this release here, or email
me directly at <admin > at   <recls > d d d dot <org>.

Sorry for the hassles. If it eases the pain any, this issue's been
bugging me for a long while. 't'will be sorted very shortly.

Matthew



"Lionello Lunesu" <lionello.lunesu crystalinter.remove.com> wrote in
message news:cq5ss4$2f4g$1 digitaldaemon.com...
 I was trying to use std.recls and noticed the following (using

 * There's no FileSearch / FtpSearch class, only (not abstract) Search;
 * The RECLSFLAG's have an (undocumented) prefix RECLS_F_, so you end

 typing "RECLSFLAG.RECLS_F_FILES";
 * The members start with capitals, i.e. Entry::GetPath() (doc says
 getPath,...);
 * getPathNameSeparator() appears twice in the doc (one should be
 getPathSeparator() ?);
 * None of the "Free functions provided by the recls module" seem to

 * Passing multiple delimited wildcards to Search doesn't work (I've

 : , ).

 -- 
 L.

 -- Get the root certificate at https://www.cacert.org/

Dec 20 2004
parent "Lionello Lunesu" <lionello.lunesu crystalinter.remove.com> writes:
Hi..

 In the meanwhile, I'm pretty sure that you can get all the "latest"
 functionality from the recls site - http://recls.org/downloads.html.
 Version 1.5.2 was released on 13th June, and has the updated D mapping.
 Please feel free to post any problems with this release here, or email
 me directly at <admin > at   <recls > d d d dot <org>.

Thanks for the reply. I'll get on with my project now: rewriting fart(.sf.net) in D. Lionello.
Dec 22 2004