Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Releases: JustWhit3/ptc-print

1.4.1

02 Oct 08:18
Compare
Choose a tag to compare

New features

  • Added port to vcpkg
  • Enabled tuple printing

Bugs fixing

  • Corrected a bug for which was not possible to include the header multiple times in differente files.

1.4.0

13 Dec 22:21
Compare
Choose a tag to compare

Updates

  • Build system update with CMake.
  • Benchmarking studies update: added studies with p-ranav/pprint library.

1.3.0

21 Nov 18:17
Compare
Choose a tag to compare

Updates

  • Build system improvement with CMake.
  • Added include-what-you-use checks.
  • Code quality updates: replaced for loops with algorithms when possible.
  • Minor bugs fixing.

1.2.1

16 Oct 21:53
3b54d06
Compare
Choose a tag to compare

Updates

  • Added some attributes around the code.
  • Generic code quality update.
  • Minor bugs fixing.

1.2.0

29 Sep 12:58
Compare
Choose a tag to compare

Updates

  • Added support to C++20 std::chrono::duration objects (days, weeks, months and years).
  • Added support for C++20 char8_t types.
  • Added pretty printer for C pointers printing.
  • Added support to std::optional printing.
  • Corrected a bug in include_tests.sh script for which multiple includes didn't correctly work.
  • Minor bugs fixing.

1.1.0

16 Sep 23:00
Compare
Choose a tag to compare

Updates

  • Added support to char16_t and char32_t types.
  • Added a macro PTC_ENABLE_GETTERS_FOR_UNIT_TESTS to enable trivial getters definition only in test codes.
  • Added automatic compilers version testing with Docker.

1.0.0 (first official release)

07 Sep 16:52
Compare
Choose a tag to compare

Updates

  • Added support to std::chrono::duration printing.
  • Added support to wchar_t printing. Closed the related issue.
  • Added function StringConverter to convert char into wchar_t.
  • Added support to container adaptors (std::stack and std::priority_queue).
  • Added two methods: setPattern() and getPattern() to set a specific pattern to be repeated for each ptc::print argument.
  • Added executable size studies.
  • Added utils tests.
  • Added compilation time improvements preprocessor directive: PTC_DISABLE_STD_TYPES_PRINTING.
  • Generic performance improvements.
  • Benchmarking studies have been made more stable.
  • Added date to plots.
  • Added structs to select cout objects in case of char or wchar_t usage.
  • Removed unuseful is_null_str() method and all the corresponding attributes.
  • Documentation update.

0.4.0

20 Aug 15:06
Compare
Choose a tag to compare

Updates

  • Added compilation time studies.
  • Added operator << overload for all std containers printing. A few of them are still missing: see this issue.
  • Added custom support to std::complex printing.
  • Added operator << overload for C arrays.
  • Swtich cases have been updated and usage of enum class ANSI has been provided.
  • Enabled the possibility to print std::nullptr_t objects.
  • Documentation update.

0.3.0

08 Aug 12:55
Compare
Choose a tag to compare

Updates

  • Added a new feature to enable performance improvements using the PTC_ENABLE_PERFORMANCE_IMPROVEMENTS preprocessor directive. See here.
  • Added benchmark plots and studies.
  • Added script for benchmarking plots production.
  • A bug about missing inline declarations has been fixed by MiiKaa3.
  • The name of the __print__ class has been changed into "Print".
  • Added tests for multiple includes.
  • Added feature request and issue template documents.
  • Documentation update.

0.2.0

28 Jul 15:12
Compare
Choose a tag to compare

Updates

  • Added operator () overload for string initialization:
std::string msg = ptc::print( ptc::mode::str, "I am a", "string!" )
  • Added a corresponding enum class mode to deal with string initialization.
  • The whole library has been moved into the include directory.
  • Benchmarking studies have been moved into the studies/benchmarking directory.
  • operator () redefiniton has been generally updated in order to deal with correct outpu rendering in case of ANSI escape sequences usage.
  • Destructor has been reset.
  • Added clang compiler support and tests.
  • Improvements in the is_escape function.
  • Generic tests improvements: added cppcheck tool and threading tests.
  • Documentation update.