Skip to content

2022.1 (April 2022)

Latest
Compare
Choose a tag to compare
@CoolmanCZ CoolmanCZ released this 26 Apr 06:04
· 1081 commits to master since this release

Release highlights

  • sizeof(wchar) is changed to 4 (32 bits) to support non BMP unicode characters

This might bring some incompatibilities in the code that expects wchar to be 16 bit, which
escpecially involves dealing with Win32 (and to lesser extend MacOS) APIs, so if your application
is doing that, please check all instances of WCHAR (UniChar on MacOS) or even wchar
especially type casts.

To support host APIs, char16 is introduced (but there is no 16-bit String varian).
Use ToSystemCharsetW, FromSystemCharsetW to convert texts to Win32 API.

  • Support of drawing non-BMP characters in GUI
  • Vastly improved character font replacement code (when drawing characters missing with requested font, replacement font is used)
  • Last instances of Win32 ANSI calls (those ending with A) are removed
  • UTF handling routines are refactored and their's naming is unified
  • RTF is now being able to handle non-BMP characters (RTF is used as clipboard format for RichText)
  • Improved input method (aka preedit in Linux, aka marked text in MacOS) support
  • ConvertFloat and EditFloat to handle float vs double precision differences
  • Improved FP <-> text conversion routines

Win32 release

  • clang updated to actual version (llvm14)
  • zlib updated to 1.2.12
  • openssl updated to 1.1.1n
  • jpeg updated to 9e