This repository was archived by the owner on Oct 29, 2024. It is now read-only.
Releases: JustWhit3/ptc-print
Releases · JustWhit3/ptc-print
1.4.1
1.4.0
Updates
- Build system update with CMake.
- Benchmarking studies update: added studies with p-ranav/pprint library.
1.3.0
1.2.1
1.2.0
Updates
- Added support to C++20
std::chrono::durationobjects (days, weeks, months and years). - Added support for C++20
char8_ttypes. - Added pretty printer for C pointers printing.
- Added support to
std::optionalprinting. - Corrected a bug in
include_tests.shscript for which multiple includes didn't correctly work. - Minor bugs fixing.
1.1.0
1.0.0 (first official release)
Updates
- Added support to
std::chrono::durationprinting. - Added support to
wchar_tprinting. Closed the related issue. - Added function
StringConverterto convertcharintowchar_t. - Added support to container adaptors (
std::stackandstd::priority_queue). - Added two methods:
setPattern()andgetPattern()to set a specific pattern to be repeated for eachptc::printargument. - 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
coutobjects in case ofcharorwchar_tusage. - Removed unuseful
is_null_str()method and all the corresponding attributes. - Documentation update.
0.4.0
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::complexprinting. - Added
operator <<overload for C arrays. - Swtich cases have been updated and usage of enum class
ANSIhas been provided. - Enabled the possibility to print
std::nullptr_tobjects. - Documentation update.
0.3.0
Updates
- Added a new feature to enable performance improvements using the
PTC_ENABLE_PERFORMANCE_IMPROVEMENTSpreprocessor directive. See here. - Added benchmark plots and studies.
- Added script for benchmarking plots production.
- A bug about missing
inlinedeclarations 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
Updates
- Added
operator ()overload for string initialization:
std::string msg = ptc::print( ptc::mode::str, "I am a", "string!" )- Added a corresponding enum class
modeto deal with string initialization. - The whole library has been moved into the
includedirectory. - Benchmarking studies have been moved into the
studies/benchmarkingdirectory. 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_escapefunction. - Generic tests improvements: added
cppchecktool and threading tests. - Documentation update.