Skip to content

Releases: philip82148/cpp-dump

v0.7.0

19 Aug 10:19
Compare
Choose a tag to compare

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)

v0.6.0

04 Jun 03:21
bbb2b2e
Compare
Choose a tag to compare

Features:

  • Add cpp_dump::dec(), bin(), oct(), hex() manipulators
  • Add cpp_dump::cont_indent_style option
  • Fix some bugs and improve performance

Breaking changes:

  • Remove cpp_dump::int_style10() (Please use cpp_dump::dec() instead)
  • Shorten the names of some of the manipulators:
    cpp_dump::show_front() -> cpp_dump::front()
    cpp_dump::show_middle() -> cpp_dump::middle()
    cpp_dump::show_back() -> cpp_dump::back()
    cpp_dump::show_both_ends() -> cpp_dump::both_ends()
    cpp_dump::cont_index() -> cpp_dump::index()

v0.5.0

04 Dec 07:06
Compare
Choose a tag to compare

Features:

  • Add cpp_dump::enable_asterisk option
  • Add cpp_dump::print_expr option

Breaking change:

  • Remove cpp_dump::dump()
  • Remove cpp_dump::is_exportable<>

v0.4.0

22 Nov 01:47
Compare
Choose a tag to compare

Features:

  • Add support for std::ostream& operator<<(const T &)
  • Add CPP_DUMP_DEFINE_DANGEROUS_EXPORT_OBJECT() macro
  • Add support for std::type_info, std::type_index, std::source_location
  • Make it possible to print with the filename, line no., and function name.
  • Add the pipe operator of the manipulators.
  • Add cont_index() manipulator
  • Add support for user tuples
  • Fixed some bugs

Breaking changes:

  • Shorten the names of map_* manipulators
  • Change the type of cpp_dump::log_label_func to cpp_dump::log_label::log_label_func_t

v0.3.0

23 Oct 00:51
Compare
Choose a tag to compare

Features:

  • Add show_*() and other manipulators
  • Add small cpp_dump() macro

v0.2.0

09 Oct 16:59
Compare
Choose a tag to compare

Features:

  • Add color.
  • Make "[dump]" customizable.

v0.1.0

27 Sep 06:12
Compare
Choose a tag to compare

First release!