Friday, October 22, 2010

Breaking Up The Monolith: Coming at last ...

Yesterday, after four years of vacillation and procrastination and occasional modification, I finally got the Monolith preface into a form with which I'm happy.
Over the next few days I'll be talking to the editor and contacting all those kind, smart folks who've previously agreed to be a reviewer. As soon as things are sorted, I'll start posting what bits I can, probably starting with the book's Manifesto and Preface.

Watch this space ...

Tuesday, October 19, 2010

Generic method name clash: recls 1.9.1 alpha 6 released

I've just released a new alpha of recls 1.9, which incorporates some defect-fixes to ensure it works correctly when compiled/linked in widestring mode, and some new features. Most particularly, I've added a get_file_size() method, which replaces the now deprecated size() method. The reason for this is that I got caught out by my own library when mistakenly using size() (which gives the number of bytes in the file entry) for the length of the entry's path. (I was doing so in combination with c_str(), which gives a pointer to the entry's path's character array.) Oops!

I figure if I can do it, so can any other user, hence the new method and the deprecation.