Commit graph

37 commits

Author SHA1 Message Date
Mirek Fidler
802d9f3e9f ide: Fixed to compile 2021-12-09 00:44:12 +01:00
Mirek Fidler
d2207cd21f .autotest, .cosmetics 2021-12-05 18:54:24 +01:00
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
9d34bf831e Core: Utf8BOM (skips UTF8 file header) 2021-08-24 18:05:56 +02:00
cxl
d470090b25 ide: Fixed assist issue, Core: ReadSurrogatePair
git-svn-id: svn://ultimatepp.org/upp/trunk@14856 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-08-21 08:37:08 +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
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
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
bfdc0cd44e Core: JSON now treats string codepoints >0x8000 as surrogate pairs
git-svn-id: svn://ultimatepp.org/upp/trunk@11269 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-07-27 12:38:51 +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
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
cxl
0e2f76bc6b .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@11143 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-06-06 12:56:09 +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
35cf9a6f82 .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@11140 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-06-05 22:07:44 +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
231b6cdc83 Core: BOM* functions now have variant with def_charset parameter (instead of using host platform charset)
git-svn-id: svn://ultimatepp.org/upp/trunk@5534 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-11-08 11:05:56 +00:00
cxl
00913a770f .Core: CharSet.h fixed warning
git-svn-id: svn://ultimatepp.org/upp/trunk@2480 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-06-13 13:59:16 +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
1f1b602e3b *Core: Charset fix
git-svn-id: svn://ultimatepp.org/upp/trunk@2458 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-06-05 19:28:45 +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
824a7c7902 CtrlCore: X11 version of RegisterSystemHotKey
git-svn-id: svn://ultimatepp.org/upp/trunk@1590 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-09-24 20:36:45 +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
6b4726c3b9 CharSet documentation finished
git-svn-id: svn://ultimatepp.org/upp/trunk@1026 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-03-30 22:58:08 +00:00
cxl
5d7b666c41 BOM unicode files support, fixed problem with scroll in frame area
git-svn-id: svn://ultimatepp.org/upp/trunk@859 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-02-13 11:41:52 +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