Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
MathewBensonCode committed Aug 13, 2023
2 parents f208642 + e57ca2e commit 607621e
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 10 deletions.
16 changes: 8 additions & 8 deletions ChangeLog.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
10.1.0 - TBD
------------
10.1.0 - 2023-08-12
-------------------

* Optimized format string compilation resulting in up to 40% speed up in
``format_to`` and ~4x speed up in ``format_to_n`` on a concatenation
benchmarks (`#3133 <https://github.com/fmtlib/fmt/issues/3133>`_,
compiled ``format_to`` and ~4x speed up in compiled ``format_to_n`` on a
concatenation benchmark (`#3133 <https://github.com/fmtlib/fmt/issues/3133>`_,
`#3484 <https://github.com/fmtlib/fmt/issues/3484>`_).

{fmt} 10.0::
Expand All @@ -27,7 +27,7 @@
Thanks `@Minty-Meeo <https://github.com/Minty-Meeo>`_.

* Added formatters for proxy references to elements of ``std::vector<bool>`` and
``std::bitset<N>``. (`#3567 <https://github.com/fmtlib/fmt/issues/3567>`_,
``std::bitset<N>`` (`#3567 <https://github.com/fmtlib/fmt/issues/3567>`_,
`#3570 <https://github.com/fmtlib/fmt/pull/3570>`_).
For example (`godbolt <https://godbolt.org/z/zYb79Pvn8>`__):

Expand All @@ -44,7 +44,7 @@
Thanks `@phprus (Vladislav Shchapov) <https://github.com/phprus>`_ and
`@felix642 (Félix-Antoine Constantin) <https://github.com/felix642>`_.

* Fixed ambiguous formatter specialization for containers that look like
* Fixed an ambiguous formatter specialization for containers that look like
container adaptors such as ``boost::flat_set``
(`#3556 <https://github.com/fmtlib/fmt/issues/3556>`_,
`#3561 <https://github.com/fmtlib/fmt/pull/3561>`_).
Expand Down Expand Up @@ -84,8 +84,8 @@
`#3434 <https://github.com/fmtlib/fmt/pull/3434>`_).
Thanks `@phprus (Vladislav Shchapov) <https://github.com/phprus>`_.

* Removed remnants of the Grisu floating-point formatter that has been replaced
by Dragonbox in earlier versions.
* Removed the remnants of the Grisu floating-point formatter that has been
replaced by Dragonbox in earlier versions.

* Added ``throw_format_error`` to the public API
(`#3551 <https://github.com/fmtlib/fmt/pull/3551>`_).
Expand Down
2 changes: 1 addition & 1 deletion doc/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import errno, os, re, sys
from subprocess import check_call, CalledProcessError, Popen, PIPE, STDOUT

versions = ['1.0.0', '1.1.0', '2.0.0', '3.0.2', '4.0.0', '4.1.0', '5.0.0', '5.1.0', '5.2.0', '5.2.1', '5.3.0', '6.0.0', '6.1.0', '6.1.1', '6.1.2', '6.2.0', '6.2.1', '7.0.0', '7.0.1', '7.0.2', '7.0.3', '7.1.0', '7.1.1', '7.1.2', '7.1.3', '8.0.0', '8.0.1', '8.1.0', '8.1.1', '9.0.0', '9.1.0', '10.0.0']
versions = ['1.0.0', '1.1.0', '2.0.0', '3.0.2', '4.0.0', '4.1.0', '5.0.0', '5.1.0', '5.2.0', '5.2.1', '5.3.0', '6.0.0', '6.1.0', '6.1.1', '6.1.2', '6.2.0', '6.2.1', '7.0.0', '7.0.1', '7.0.2', '7.0.3', '7.1.0', '7.1.1', '7.1.2', '7.1.3', '8.0.0', '8.0.1', '8.1.0', '8.1.1', '9.0.0', '9.1.0', '10.0.0', '10.1.0']

class Pip:
def __init__(self, venv_dir):
Expand Down
2 changes: 1 addition & 1 deletion include/fmt/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <type_traits>

// The fmt library version in the form major * 10000 + minor * 100 + patch.
#define FMT_VERSION 100001
#define FMT_VERSION 100100

#if defined(__clang__) && !defined(__ibmxl__)
# define FMT_CLANG_VERSION (__clang_major__ * 100 + __clang_minor__)
Expand Down
7 changes: 7 additions & 0 deletions support/rst2md.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,13 @@ def visit_table(self, node):
def depart_table(self, node):
pass

def visit_system_message(self, node):
pass

def depart_system_message(self, node):
pass


class MDWriter(writers.Writer):
"""GitHub-flavored markdown writer"""

Expand Down

0 comments on commit 607621e

Please sign in to comment.