Skip to content

Commit

Permalink
Release 1.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
eliaskosunen committed Nov 5, 2023
1 parent 52227e6 commit eac40e8
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 6 deletions.
9 changes: 6 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
2 changes: 1 addition & 1 deletion docs/Doxyfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
26 changes: 26 additions & 0 deletions docs/cmake.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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``
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ---------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion include/scn/detail/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eac40e8

Please sign in to comment.