Commit graph

6 commits

Author SHA1 Message Date
Mirek Fidler
34ff691308 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)

Other minor changes:

- fixed TryRealloc issue
- improved MemoryCheck
- Removed MemoryAlloc48/MemoryFree48
- In theide Background parsing should less often cause delays in the main thread
2021-12-02 12:03:19 +01:00
cxl
090c0f0c29 CtrlCore: Cocoa Drag
git-svn-id: svn://ultimatepp.org/upp/trunk@12312 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-09-27 09:20:41 +00:00
cxl
0721363b14 CtrlCore: Developing Drag&Drop
git-svn-id: svn://ultimatepp.org/upp/trunk@12306 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-09-26 18:56:05 +00:00
cxl
fce079d34b CtrlCore: Developing Cocoa
git-svn-id: svn://ultimatepp.org/upp/trunk@12100 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-07-25 13:22:27 +00:00
cxl
0f165c8214 CtrlCore: Developing Cocoa
git-svn-id: svn://ultimatepp.org/upp/trunk@12076 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-07-16 13:07:47 +00:00
cxl
8104c07ce4 CtrlCore: Devloping Cocoa support
git-svn-id: svn://ultimatepp.org/upp/trunk@12074 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-07-16 12:13:43 +00:00