Commit graph

14 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
7cd753b5ae CtrlLib: EditWithSpin option to disable mouse wheel action, Core: String::Find fix
git-svn-id: svn://ultimatepp.org/upp/trunk@15934 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-04-22 16:50:11 +00:00
cxl
6953c7fa89 Draw: Fixed Image::operator==
git-svn-id: svn://ultimatepp.org/upp/trunk@14525 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-06-01 07:41:08 +00:00
cxl
4c9cf3cd3f Draw: ImageScale fixed, uppsrc: various minor fixes related to Mem.h
git-svn-id: svn://ultimatepp.org/upp/trunk@14497 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-24 08:40:20 +00:00
cxl
8ebdcbb0d5 uppsrc: NAMESPACE_UPP / END_UPP_NAMESPACE removed
git-svn-id: svn://ultimatepp.org/upp/trunk@10186 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-08-26 17:15:30 +00:00
cxl
589a3fe88a .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@9400 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-01-16 08:02:16 +00:00
cxl
e070fb9cbe .removed GCC warnings
git-svn-id: svn://ultimatepp.org/upp/trunk@8090 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-01-23 18:04:15 +00:00
cxl
0ffe8e4c84 ide: finalizing find&replace, *Core: Fixed issue with finding AString::Find
git-svn-id: svn://ultimatepp.org/upp/trunk@7495 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-07-08 10:19:51 +00:00
cxl
ae8b412258 Fixed searching for an empty strings
git-svn-id: svn://ultimatepp.org/upp/trunk@7348 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-05-03 13:53:55 +00:00
cxl
35459ca1f9 *Core: String: Fixed searching of empty string.
git-svn-id: svn://ultimatepp.org/upp/trunk@7140 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-04-02 18:11:03 +00:00
cxl
0b21f0f673 Fixed issue with WString::Find #728
git-svn-id: svn://ultimatepp.org/upp/trunk@7066 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-03-21 11:06:57 +00:00
cxl
045fc493d1 *Fixed issue with WString::Find
git-svn-id: svn://ultimatepp.org/upp/trunk@7055 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-03-18 14:49:25 +00:00
cxl
ee42437b21 Core: String::Find
git-svn-id: svn://ultimatepp.org/upp/trunk@6996 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-03-05 19:30:15 +00:00
cxl
fabb72f639 Core: String::Find optimized in Win32
git-svn-id: svn://ultimatepp.org/upp/trunk@6995 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-03-05 18:07:00 +00:00