Fost 4 release 4.13.03.44670 now out
Created 2013-04-12T04:16:52.609Z, last edited 2013-09-25T03:50:18.171Z
The latest release was tagged a little while ago and I've been late putting this note together :(
There are a number of small changes, and two breaking changes, although they're quite easy to deal with. The old functions replaceAll and absorbException have been renamed replace_all and absorb_exception in order to fit in with the naming convention of everything else.
The biggest new addition is the start of a progress meter. There is only a very basic implementation so far and I think the interface will change once we work out how to deal properly with tracking progress of multiple tasks across many threads.
Linux & Mac |
---|
svn co http://svn.felspar.com/public/fost-hello/tags/4.13.03.44670 fost-hello cd fost-hello Boost/build hello/compile dist/bin/hello-world-d On the Mac you will need to set DYLD_LIBRARY_PATH before running hello-world-d export DYLD_LIBRARY_PATH=dist/lib dist/bin/hello-world-d |
Windows |
svn co http://svn.felspar.com/public/fost-hello/tags/4.13.03.44670 fost-hello cd fost-hello Boost\build hello\compile dist\bin\hello-world-gd |
Download locations
Everything is available through our Subversion repository. Below are the locations for the tagged releases for Fost 4.13.03.44670 components.
- fost-aws — Amazon Web Services support — http://svn.felspar.com/public/fost-aws/tags/4.13.03.44670
- fost-base — Core libraries — http://svn.felspar.com/public/fost-base/tags/4.13.03.44670
- fost-internet — Internet networking libraries — http://svn.felspar.com/public/fost-internet/tags/4.13.03.44670
- fost-meta — Everything — http://svn.felspar.com/public/fost-meta/tags/4.13.03.44670
- fost-orm — Database libraries — http://svn.felspar.com/public/fost-orm/tags/4.13.03.44670
- fost-postgres — PostgreSQL database libraries — http://svn.felspar.com/public/fost-postgres/tags/4.13.03.44670
- fost-py — Python language bindings — http://svn.felspar.com/public/fost-py/tags/4.13.03.44670
- fost-web — Web server URL routing and views — http://svn.felspar.com/public/fost-web/tags/4.13.03.44670
- fost-windows — Microsoft Windows specific libraries — http://svn.felspar.com/public/fost-windows/tags/4.13.03.44670
Detailed change log
fost-base
- Added the ability to set the log message module when using the logging DSL through a new
.module()
member on the log message builder. fostlib::absorbException
has been deprecated in favour offostlib::absorb_exception
.fostlib::replaceAll
has been deprecated in favour offostlib::replace_all
.- Changed a couple of exceptions to put extended data into the JSON data rather than the free form text.
- Changed the
what()
implementation offostlib::exceptions::exception
to no longer write out more than one line (unless the info member of the exception does so). Also removed the settings for controlling the format of thewhat()
string. - Implemented better error detail for when a JSON array is accessed out of bounds.
- Refactored
FSL_CHECK_NEQ
so that it only evaluates it's arguments once. - Moved the file specific functions into their own header. Now include
fost/file
rather thanfost/unicode
if you only need file handling APIs. Also added aunique_filename
function suitable for generating temporary file names. - Add a
directory_iterator
typedef which allows us to iterate over wpath based directory names across all supported versions of Boost. - Initial simple progress meters allow progress from remote threads to be measured in a control thread.
- Implemented the file input operator for the
digester
so it is now possible to hash files on the file system.
fost-orm
- Added a new setting to control whether or not the JSON DB disk files are pretty printed. It defaults to false for release builds and true for debug builds. The setting section is
JSON DB
and the setting name isPretty print database files
.
© 2002-2025 Kirit & Tai Sælensminde. All forum posts are copyright their respective authors.
Licensed under a Creative Commons License. Non-commercial use is fine so long as you provide attribution.