Skip to content

Mojibake v0.2.1

Choose a tag to compare

@zaerl zaerl released this 27 Jun 10:18
308d4ba

Added

  • Added tests for main allocation functions
  • Added tests for mjb_category_is_* functions
  • Added UndefinedBehaviorSanitizer (UBSan) build and test targets
  • Added missing mjb_break_word tests
  • Added test-all target
  • Download of CLDR artifacts
  • Added BCP 47 language tag parser
  • Added mjb_locale_parse WASM support
  • Added mjb_locale_parse CLI support
  • Added grapheme, word, line, sentence CLI subcommands
  • Added missing generate-amalgamation.bat file
  • Initial support for CLDR validity parsing

Changed

  • Moved all builds to separate folders
  • Updated coverage
  • Remove unused WASM exported functions
  • Add NULL checks to all functions that had MJB_NONNULL before
  • Add memory allocation safety checks
  • Cleaned amalgamation generated code
  • Removed width CLI parameter
  • \r and \n are now displayed as special characters on CLI

Fixed

  • Minor documentation fixes
  • Fixed WASM mjb_normalize call
  • Removed all MJB_NONNULL declarations
  • Added missing ASCII check to mjb_decode_step
  • Added missing ASCII check to mjb_codepoint_encode
  • Fixed output encoding on mjb_string_filter normalized strings
  • Added support for MJB_DANGEROUSLY_ALLOW_EMBEDDED_NULLS to mjb_string_is_utf8
  • Set width CLI argument as required
  • FreeBSD: removed gmake specific syntax
  • Windows: fixed C4310, C4456, C4566, C4701, C4702 warnings

Full Changelog: v0.2.0...v0.2.1