Commit graph

11 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
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
2bd17d1612 Core: Win XP compatibility fix
git-svn-id: svn://ultimatepp.org/upp/trunk@10635 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-01-03 13:51:02 +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
2982f5f0e3 Core: Win reg functions now have wow paramater
git-svn-id: svn://ultimatepp.org/upp/trunk@9951 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-06-20 08:54:05 +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
86a0e1b942 Core: IsWin7, CtrlCore: U++ now backpainted by default in Win7+
git-svn-id: svn://ultimatepp.org/upp/trunk@3500 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-06-08 20:40:10 +00:00
cxl
6b6eb72323 .uppsrc: Fixed for mingw
git-svn-id: svn://ultimatepp.org/upp/trunk@2233 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-03-16 19:37:30 +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
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