Commit graph

12 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
d066660f6e CtrlCore: Fixed performance issue with Font cache in Gtk3 backend
git-svn-id: svn://ultimatepp.org/upp/trunk@14590 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-06-13 17:13:27 +00:00
cxl
d2967e13f1 uppsrc: In preparation to move to 64 bit hash codes, hash code type is now hash_t (replaces unsigned, dword)
git-svn-id: svn://ultimatepp.org/upp/trunk@14521 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-31 16:13:28 +00:00
cxl
ca37acf7e6 .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@12852 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-03-19 07:34:18 +00:00
cxl
b6482c28c0 ide, RichText: Fixed numerous issues with Topic++ and SlideShow
git-svn-id: svn://ultimatepp.org/upp/trunk@12826 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-03-11 09:35:47 +00:00
cxl
65a359273b ide: MacOS install issues
git-svn-id: svn://ultimatepp.org/upp/trunk@12808 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-03-05 16:16:00 +00:00
cxl
b578f7b847 Core, ide: speller fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@12721 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-01-27 12:45:35 +00:00
cxl
6c39e8de14 RichEdit: Now suggesting spelling fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@12679 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-01-19 15:32:48 +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
da31e9f76f Core: Now compiles with NODEPRECATED
git-svn-id: svn://ultimatepp.org/upp/trunk@12127 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-07-31 17:04:33 +00:00
cxl
88ae0b38d9 Core: Speller now searching in more paths in Posix
git-svn-id: svn://ultimatepp.org/upp/trunk@10700 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-12 07:48:16 +00:00
cxl
62d921fcb0 ide: Spellchecking comments
git-svn-id: svn://ultimatepp.org/upp/trunk@10384 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-10-30 10:41:05 +00:00