Commit graph

29 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
9293ed2be0 uppsrc: Visual C++ compiler bug [W]StringBuffer workaround
git-svn-id: svn://ultimatepp.org/upp/trunk@15123 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-09-23 09:37:31 +00:00
cxl
d30e68e803 .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@14909 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-27 11:56:17 +00:00
cxl
174098ef72 Core: CheckLogEtalon, ide: Compare with log
git-svn-id: svn://ultimatepp.org/upp/trunk@14837 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-19 08:46:50 +00: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
1bb18b43bd Core: IsDoubleWidth (thanks ismail)
git-svn-id: svn://ultimatepp.org/upp/trunk@13710 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-11-23 10:47:03 +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
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
6914645559 Core: Charset cleanup and docs
git-svn-id: svn://ultimatepp.org/upp/trunk@11142 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-06-06 09:27:52 +00:00
cxl
a69fd4e112 Core: Utf (8, 16, 32) support
git-svn-id: svn://ultimatepp.org/upp/trunk@11139 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-06-05 15:44:51 +00:00
cxl
272d416b91 Core: ToUtf8 for single codepoint extented to full UNICODE, CParser now supports \u surrogate pairs
git-svn-id: svn://ultimatepp.org/upp/trunk@11123 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-05-26 13:01:21 +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
6ecd1d098b LZ4: developing
git-svn-id: svn://ultimatepp.org/upp/trunk@10094 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-07-25 10:48:05 +00:00
cxl
ac99fe36cf Core: SetLanguage(const char *s)
git-svn-id: svn://ultimatepp.org/upp/trunk@7723 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-09-25 06:20:43 +00:00
cxl
91cd8d30c1 ,cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@7139 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-04-02 18:04:34 +00:00
cxl
57afb0d66d Core: ToAscii(160) now returns 32
git-svn-id: svn://ultimatepp.org/upp/trunk@4267 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-07 16:44:56 +00:00
cxl
fe8d5db392 Core: InitCaps improved to capitalize letters after any !IsLeNum character
git-svn-id: svn://ultimatepp.org/upp/trunk@3327 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-04-07 08:25:52 +00:00
cxl
deae80f139 *Core: Fixed glitch in FromUtf8 (concerning heavily malformed utf8 sequences)
git-svn-id: svn://ultimatepp.org/upp/trunk@2801 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-10-19 22:24:21 +00:00
cxl
92c6c0a543 *Core: CharSet refactored to avoid constant mismatches
git-svn-id: svn://ultimatepp.org/upp/trunk@2462 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-06-07 12:30:29 +00:00
cxl
c11ff4bfe1 *Core, CtrlLib: Fixing GetDownloadsFolder()
git-svn-id: svn://ultimatepp.org/upp/trunk@2194 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-03-08 11:08:23 +00:00
cxl
b0a2939947 RichEdit related: MakeSpellScd utility to create .scd spelling checker files, also fixed RichEdit to support UTF-8 based format
git-svn-id: svn://ultimatepp.org/upp/trunk@1673 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-11-02 09:43:25 +00:00
cxl
239748b0d3 Core: Charset Support for CP1161 and ARMSCII_8 are back
git-svn-id: svn://ultimatepp.org/upp/trunk@1587 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-09-24 08:54:26 +00:00
cxl
3e0816e549 Core: Removed faulty charsets
git-svn-id: svn://ultimatepp.org/upp/trunk@1578 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-09-20 21:11:42 +00:00
cxl
01fd100926 Core: Added multiple 8-bit encoding by Mindtraveller (thanks!)
git-svn-id: svn://ultimatepp.org/upp/trunk@1574 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-09-17 17:29:13 +00:00
cxl
819966a8fb Ide editor ToUpper/Lower/InitCaps/SwapCase
git-svn-id: svn://ultimatepp.org/upp/trunk@649 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-11-17 12:57:08 +00:00
mdelfede
263ff5f895 changed svn layout
git-svn-id: svn://ultimatepp.org/upp/trunk@281 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-06-07 22:31:27 +00:00