Skip to content

Tags: c42f/tinyformat

Tags

v2.3.0

Toggle v2.3.0's commit message
New features:

* Support for %a and %A hexfloat format specs (#53)
* Support for Posix positional arguments (#45)

Bug fixes:

* Fix UB in copying detail::FormatListN occurring in builds without
  copy constructor elision (#59)

v2.2.0

Toggle v2.2.0's commit message
tinyformat release 2.2.0

* TINYFORMAT_ASSERT macro for people wanting to avoid dependency on
  assert()
* Fix GCC-7 Wimplicit-fallthrough warnings
* Extra NULL initializations to silence spurious Coverty warnings
* Various project improvements (CI + build; markdown docs)

v2.1.0

Toggle v2.1.0's commit message
Release 2.1.0

New features:

* Add printfln() convenience function

Minor bug fixes and tweaks:

* Workaround usual std::min clash with windows.h
* Kill various compiler warnings on MSVC and clang
* Tests for printf()

Release-2.0.1

Toggle Release-2.0.1's commit message
Release 2.0.1

Minor bug fixes since 2.0.0:

* Fix broken build with MSVC2013, due to missing #include (issue #16)

* Add extra tests

* Remove some extra pedantic compiler warnings

Release-2.0.0

Toggle Release-2.0.0's commit message
Release 2.0.0

Now following versioning standard from semver.org.

Changes since version 1.3 -

Major improvements:
-------------------

* Ability to pass format() arguments to non-template functions via the new
  FormatList class which hides the required type information behind a set of
  function pointers.

* A large reduction of code bloat due to internal changes required to support
  FormatList (fixes issues #7, #9).

API changes:
------------

* Change argument list of formatValue() for FormatList work.  Users overriding
  this function rather than operator<<() will need to upgrade their code.

* Added FormatList, vformat(), makeFormatList()

* Reinstate format functions with zero formatted arguments (fixes issue #8) -
  the absence was an API incompatibility with C printf().

* Remove TINYFORMAT_WRAP_FORMAT macro which was deprecated in version 1.3.
  Users should migrate to TINYFORMAT_FOREACH_ARGNUM() which is far nicer.

Bug fixes:
----------

* Fix formatting integers with both precision and the sign flag set (thanks to
  Lauri Nurmi)

* Fix tests on 64 bit windows (Lauri Nurmi)

Release-1.3

Toggle Release-1.3's commit message
Changes in 1.3

* Deprecate TINYFORMAT_WRAP_FORMAT, and replace with something much more
  readable and flexible.  TINYFORMAT_WRAP_FORMAT will be around for another
  release or so for backward compatibility, after which it will be removed.

Release-1.2

Toggle Release-1.2's commit message
Changes in 1.2

* Various updates to make documentation a bit more succinct (also, let's stop
  calling the new C++ standard "C++0x", that's just behind the times ;-)

* Work around for a bug in the old libstdc++ which is still installed on many
  OSX systems, and caused tfm::format("%+d", 0) to produce the wrong result.

* Bump up the default max number of parameters to tfm::format() to 12, since at
  least one project (OIIO) needs this.

Release-1.1

Toggle Release-1.1's commit message
Fix speed test dependency in Makefile

Release-1.0

Toggle Release-1.0's commit message
Cleanups for windows VS 2008 build

* Fix various compiler warnings
* Update the unit tests so that failing tests still allow the rest of
  the test suite to run.

Note that there are two failing tests on windows, due to the different
way in which the microsoft ostream class formats pointers compared to
gcc's standard library.  This isn't really an error, just different.

Release-0.9

Toggle Release-0.9's commit message
Initial release with all basic features implemented