Skip to content

0.2.0

Choose a tag to compare

@AngheloAlf AngheloAlf released this 28 Sep 13:38
· 83 commits to main since this release

[0.2.0] - 2025-09-28

Added

  • First public version of g2dem-web.
  • DemangleConfig::ellipsis_emit_space_after_comma: If set then emit an space
    between the ellipsis and the last comma in the argument list.
  • Support for method pointers as arguments.
  • Support for 128bits integers.
  • Operator delete [].
  • Support enums as templated values.
  • Support for reuse of templated values (Y).
  • DemangleConfig::fix_array_in_return_position: Emit proper syntax for
    templated functions returning pointers to arrays.
  • g2dem: --mode/-m flag: Select between c++filt and g2dem demangling
    modes.

Changed

  • General code cleanups.
  • Renames:
    • DemangleConfig::new_mimic_cfilt -> DemangleConfig::new_cfilt.
    • DemangleConfig::new_no_cfilt_mimics -> DemangleConfig::new_g2dem.
  • Change DemangleConfig::preserve_namespaced_global_constructor_bug to
    DemangleConfig::fix_namespaced_global_constructor_bug.
    • This means the opposite to what it previously meant, so it can be
      consistent with the other options.
  • DemangleConfig::new now uses DemangleConfig::new_g2dem instead of
    DemangleConfig::new_cfilt.

Fixed

  • Fix emitting a comma when the only argument in a function is an ellipsis.
  • Fix function pointers inside function pointers, I think.
  • Fix sometimes being unable to demangle templated functions.
  • Fix emitting empty parenthesis on non-pointer arrays types.
  • Fix incorrect syntax used for arrays as return types in function pointers.
  • Fix failing to demangle templated functions with large integer values.
  • Fix demangling templated functions inside classes and namespaces.
  • Fix array sizes in templated functions.