Commit graph

16 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
4aca1f3cb1 Core: Unicode optimisations
git-svn-id: svn://ultimatepp.org/upp/trunk@14831 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-18 14:52:11 +00:00
cxl
806d91907b Core: Unicode Compose/Decompose docs
git-svn-id: svn://ultimatepp.org/upp/trunk@14829 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-17 12:45:36 +00:00
cxl
822cfb6bce uppsrc: Removed flagSO #ifdefs (actually to make SO compilation possible)
git-svn-id: svn://ultimatepp.org/upp/trunk@12997 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-04-14 08:34:13 +00:00
cxl
446cb350e1 Core: ToAsciiRest_ now returns 32 instead of 0 if no ascii for character
git-svn-id: svn://ultimatepp.org/upp/trunk@12690 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-01-21 09:21:10 +00:00
cxl
ad7d8a5a3e Core: ToAscii optimized, ToUpperAscii, ToLowerAscii
git-svn-id: svn://ultimatepp.org/upp/trunk@12678 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-01-19 14:12:43 +00:00
cxl
b5b0167cc3 Core: Fixed issue with SortedRange
git-svn-id: svn://ultimatepp.org/upp/trunk@11684 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-01-11 08:41:05 +00:00
cxl
6f30c6489d Core: Improving unicode support
git-svn-id: svn://ultimatepp.org/upp/trunk@11198 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-06-24 11:18:02 +00:00
cxl
cbd6b862b9 Core: Some type adjustments for CharSet
git-svn-id: svn://ultimatepp.org/upp/trunk@11188 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-06-21 16:39:37 +00:00
cxl
7a90049c92 Core: Unicode Info
git-svn-id: svn://ultimatepp.org/upp/trunk@11183 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-06-18 07:52:36 +00:00
cxl
ee080a4329 Core: Developing unicode info
git-svn-id: svn://ultimatepp.org/upp/trunk@11181 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-06-18 07:35:48 +00:00
cxl
86cbaada7b Core: Unicode support
git-svn-id: svn://ultimatepp.org/upp/trunk@11178 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-06-17 21:17:31 +00:00
cxl
fab8fd6cd5 Core: Unicode support
git-svn-id: svn://ultimatepp.org/upp/trunk@11173 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-06-17 07:20:40 +00:00
cxl
d553345c65 Core: Unicode support
git-svn-id: svn://ultimatepp.org/upp/trunk@11163 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-06-14 15:20:04 +00:00
cxl
95d4e049c9 Core: Developing Unicode support
git-svn-id: svn://ultimatepp.org/upp/trunk@11158 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-06-12 09:15:51 +00:00
cxl
cfc5b5a0e9 Core: UnicodeCompose, UnicodeDecompose
git-svn-id: svn://ultimatepp.org/upp/trunk@11157 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-06-12 08:07:04 +00:00