Skip to content

v0.7.0

Latest
Compare
Choose a tag to compare
@philip82148 philip82148 released this 19 Aug 10:19
· 32 commits to main since this release

Features:

  • Add the udec(), ubin(), uoct(), and uhex() manipulators
  • Improve the appearance of the bin, oct, and hex integers
  • Add the format(), bw(), boolnum(), stresc(), charhex(), and addr() manipulators
  • Add the CPP_DUMP_SET_OPTION_GLOBAL() macro
  • Add write_log() to make the output destination customizable
  • Make cpp_dump() IDE-friendly (#55)
  • Add a new color scheme es_style_t::by_syntax
  • Add the detailed_class_es, detailed_member_es, and detailed_number_es options
  • Add support for nonprintable chars
  • Add the CPP_DUMP_DEFINE_EXPORT_OBJECT_GENERIC() macro
  • Add the cpp-dump.hpp header
  • Add support for installation with CMake
  • Fix some bugs and improve performance

Breaking changes:

  • Add options and types namespace, and move variables and types into them
  • Add the escaped_char, class_op, member_op and number_op members to es_value_t
  • Rename the old es_style_t::by_syntax -> es_style_t::original
  • Modify the functionality, default values, or types of the int_style() and its alias manipulators' arguments
  • Change the argument of both_ends() manipulator iteration_count -> half_iteration_count
  • Modify the log_label_func_t type

Deprecated:

  • The dump.hpp header. Use the cpp-dump.hpp header instead (See #100 for details)
  • The uppercase CPP_DUMP() macro. Use the lowercase cpp_dump() macro instead (See #92 for details)
  • The CPP_DUMP_DEFINE_DANGEROUS_EXPORT_OBJECT() macro. Use CPP_DUMP_DEFINE_EXPORT_OBJECT_GENERIC() macro instead (See #98 for details)