Commit graph

15 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
Mirek Fidler
95de0de094 Core: New double formatters (%m, %mf, %me) 2021-09-05 14:58:30 +02:00
Mirek Fidler
f3031736b7 Core: FormatDouble, ScanDbl refactored 2021-08-29 13:27:37 +02:00
cxl
597798b5dd Fixed problem with setlocale (missing .utf8 part)
git-svn-id: svn://ultimatepp.org/upp/trunk@13512 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-07-29 12:00:30 +00:00
cxl
c548454062 Core: LangInfo fixed to compile with MSC15
git-svn-id: svn://ultimatepp.org/upp/trunk@13425 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-21 13:57:58 +00:00
cxl
1ad81ad982 CtrlLib: ArrayCtrl sort improved, Core: GetLanguageInfo() optimized
git-svn-id: svn://ultimatepp.org/upp/trunk@13419 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-18 13:37:43 +00:00
cxl
2cc3b25f80 .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@11186 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-06-20 14:04:05 +00:00
cxl
900f9d4fd2 Core patched for android
git-svn-id: svn://ultimatepp.org/upp/trunk@9856 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-05-21 11:20:15 +00:00
cxl
5edae0e110 .reorganizing
git-svn-id: svn://ultimatepp.org/upp/trunk@9759 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-05-01 20:21:16 +00:00
cxl
9339b6d01e Core: Fixed issue with language specific sorting
git-svn-id: svn://ultimatepp.org/upp/trunk@5454 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-10-23 08:59:53 +00:00
cxl
ad54a6fa2f Core: Documentation for ',' option in double formatting, thousands separator '@' flag for double formatting.
git-svn-id: svn://ultimatepp.org/upp/trunk@4161 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-11-11 14:01:55 +00:00
cxl
436bb2e11e Core: LangInfo fix
git-svn-id: svn://ultimatepp.org/upp/trunk@1873 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-01-07 10:58:41 +00:00
rylek
2f1c8d7d75 Fixed bug in sGetLanguageDetails causing language data not being loaded from the system registry
git-svn-id: svn://ultimatepp.org/upp/trunk@1816 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-12-16 11:03:55 +00:00
cxl
107501232c Core: Fixed problem in LanguageInfo
git-svn-id: svn://ultimatepp.org/upp/trunk@1812 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-12-15 06:43:20 +00:00
cxl
ee3d0b35af Core: LanguageInfo completely refactored
git-svn-id: svn://ultimatepp.org/upp/trunk@1810 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-12-13 22:16:46 +00:00