Showing posts with label time. Show all posts
Showing posts with label time. Show all posts

Friday, September 13, 2019

STLSoft 1.10.1 (beta 15) released

The latest beta of STLSoft 1.10.1 is available, at https://github.com/synesissoftware/STLSoft-1.10/tree/beta-15.

Getting the beta

As usual, there are two ways to obtain the latest beta:
  1. Select one of the release archives (.zip, .tar.gz) at https://github.com/synesissoftware/STLSoft-1.10/releases/tag/1.10.1-beta15; or
  2. Clone the repo https://github.com/synesissoftware/STLSoft-1.10 and checkout the beta-15 branch (as in "$ git checkout -b beta-10 origin/beta-15").

Changes

The substantive changes are:
  • added stlsoft::fast_strftime() and stlsoft::fast_wcsftime() as drop-in replacements for std::strftime() and std::wcsftime();
  • added stlsoft::get_ptr() shim overload for std::shared_ptr and std::unique_ptr
  • added stlsoft::get_top() attribute shim, which obtains the front/top element of a non-empty container;
  • added stlsoft::basic_string_view<>::substr() method;
  • added winstl_C_format_message_strerror_w();
  • removed stlsoft::literal_cast<>;
  • various portability improvements to newer compilers.
I'll describe these changes in a future blog post.

Wednesday, December 26, 2018

STLSoft 1.10.1 (beta 12) released

The latest beta of STLSoft 1.10.1 is available, at https://github.com/synesissoftware/STLSoft-1.10/tree/beta-12.

Getting the beta

As usual, there are two ways to obtain the latest beta:
  1. Select one of the release archives (.zip, .tar.gz) at https://github.com/synesissoftware/STLSoft-1.10/releases/tag/1.10.1-beta12; or
  2. Clone the repo https://github.com/synesissoftware/STLSoft-1.10 and checkout the beta-12 branch (as in "$ git checkout -b beta-10 origin/beta-12").

Changes

The substantive changes are:
  • added stlsoft::sas_to_string() (and related - _m and _w form) function templates, which create instances of std::basic_string<> by applying String Access Shims to the given parameter;
  • added stlsoft::errno_exception exception class (from the 1.12 branch);
  • added stlsoft::locale_scope scoping class;
  • STLSoft's struct tm String Access Shims now work for arbitrary locale;
  • UNIXSTL's timeval String Access Shims now work for arbitrary locale.

I'll describe these changes in a future blog post.