From eac40e8e7fcaf73f06ea2ffb8a1aaf34f90994f4 Mon Sep 17 00:00:00 2001 From: Elias Kosunen Date: Sun, 5 Nov 2023 02:31:04 +0200 Subject: [PATCH] Release 1.1.3 --- CHANGELOG.md | 9 ++++++--- docs/Doxyfile.in | 2 +- docs/cmake.rst | 26 ++++++++++++++++++++++++++ docs/conf.py | 2 +- include/scn/detail/config.h | 2 +- 5 files changed, 35 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 63168834..04ce681c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,15 @@ -# 1.x.y +# 1.1.3 -_Released 2023-xx-xx_ +_Released 2023-11-05_ + +Expected to be the last release in the v1-branch. +Development efforts are now fully directed towards v2. ## Features * Allow disabling support for individual types with `SCN_DISABLE_TYPE_*` (#70, thanks [@cjvaughter (CJ Vaughter)](https://github.com/cjvaughter)) * Also, allow for disabling the fallbacks to `std::from_chars` and `std::strtod` when scanning floats - * This provides possible binary size reductions, and betters enables use in e.g. embedded platforms + * This provides possible binary size reductions, and allows better use in e.g. embedded platforms * Allow disabling runtime localization with `SCN_DISABLE_LOCALE` (#71, thanks [@cjvaughter (CJ Vaughter)](https://github.com/cjvaughter)) * Parse leading `+` signs in floats (reported in #77) diff --git a/docs/Doxyfile.in b/docs/Doxyfile.in index 50e790b0..a36cee54 100644 --- a/docs/Doxyfile.in +++ b/docs/Doxyfile.in @@ -48,7 +48,7 @@ PROJECT_NAME = scnlib # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = 0.2.0 +PROJECT_NUMBER = 1.1.3 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a diff --git a/docs/cmake.rst b/docs/cmake.rst index 5a31a397..d1dd1545 100644 --- a/docs/cmake.rst +++ b/docs/cmake.rst @@ -40,3 +40,29 @@ These default to ``OFF``, and should only be turned on if necessary: * ``SCN_BUILD_LOCALIZED_TEST``: Build localization tests, requires en_US.UTF-8 and fi_FI.UTF-8 locales * ``SCN_BUILD_BLOAT``: Build code bloat benchmarks * ``SCN_BUILD_BUILDTIME``: Build build time benchmarks + +These options also default to ``OFF``, and allow you to customize what features are included: + + * ``SCN_DISABLE_FROM_CHARS``: Disable fallback on ``std::from_chars`` when parsing floats + * ``SCN_DISABLE_STRTOD``: Disable fallback on ``std::strtod`` when parsing floats + * ``SCN_DISABLE_LOCALE``: Disable ``std::locale`` and ``L``/``n`` format specifiers + * ``SCN_DISABLE_TYPE_SCHAR`` + * ``SCN_DISABLE_TYPE_SHORT`` + * ``SCN_DISABLE_TYPE_INT`` + * ``SCN_DISABLE_TYPE_LONG`` + * ``SCN_DISABLE_TYPE_LONG_LONG`` + * ``SCN_DISABLE_TYPE_UCHAR`` + * ``SCN_DISABLE_TYPE_USHORT`` + * ``SCN_DISABLE_TYPE_UINT`` + * ``SCN_DISABLE_TYPE_ULONG`` + * ``SCN_DISABLE_TYPE_ULONG_LONG`` + * ``SCN_DISABLE_TYPE_BOOL`` + * ``SCN_DISABLE_TYPE_CHAR`` + * ``SCN_DISABLE_TYPE_CODE_POINT`` + * ``SCN_DISABLE_TYPE_FLOAT`` + * ``SCN_DISABLE_TYPE_DOUBLE`` + * ``SCN_DISABLE_TYPE_LONG_DOUBLE`` + * ``SCN_DISABLE_TYPE_BUFFER`` + * ``SCN_DISABLE_TYPE_STRING`` + * ``SCN_DISABLE_TYPE_STRING_VIEW`` + * ``SCN_DISABLE_TYPE_CUSTOM`` diff --git a/docs/conf.py b/docs/conf.py index 08bdac82..fa00b936 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -47,7 +47,7 @@ def configureDoxyfile(input_dir, output_dir): author = 'Elias Kosunen' # The full version, including alpha/beta/rc tags -release = '1.1.2' +release = '1.1.3' # -- General configuration --------------------------------------------------- diff --git a/include/scn/detail/config.h b/include/scn/detail/config.h index 970fafd8..26aedd6e 100644 --- a/include/scn/detail/config.h +++ b/include/scn/detail/config.h @@ -26,7 +26,7 @@ #define SCN_COMPILER(major, minor, patch) \ ((major)*10000000 /* 10,000,000 */ + (minor)*10000 /* 10,000 */ + (patch)) -#define SCN_VERSION SCN_COMPILER(1, 1, 2) +#define SCN_VERSION SCN_COMPILER(1, 1, 3) #ifdef __INTEL_COMPILER // Intel