Commit graph

12 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
d60b651ff3 Draw: IsDarkTheme optimized, DefaultInk
git-svn-id: svn://ultimatepp.org/upp/trunk@12907 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-03-27 10:59:10 +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
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
9c8fd1664f .developing HiDPI
git-svn-id: svn://ultimatepp.org/upp/trunk@8476 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-05-27 07:41:17 +00:00
cxl
b1cdb85e42 CtrlCore: Win32 SystemDraw speed optimized (single additional CompatibleDC)
git-svn-id: svn://ultimatepp.org/upp/trunk@6074 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-05-16 08:43:27 +00:00
cxl
6e0acbc3ee .developing rainbow
git-svn-id: svn://ultimatepp.org/upp/trunk@3509 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-06-10 11:28:56 +00:00
cxl
b1a683fbb2 .developing rainbow
git-svn-id: svn://ultimatepp.org/upp/trunk@3501 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-06-09 19:02:49 +00:00
cxl
90bf24af9c Draw: Numerous fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@1473 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-08-04 11:50:18 +00:00
rylek
e48f20a683 GetPaintRect support in SystemDraw
git-svn-id: svn://ultimatepp.org/upp/trunk@1423 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-17 11:50:58 +00:00
cxl
04a06f8ce7 developing new draw
git-svn-id: svn://ultimatepp.org/upp/trunk@1372 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-06 20:31:00 +00:00
cxl
a438f12393 Merging newdraw..
git-svn-id: svn://ultimatepp.org/upp/trunk@1370 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-06 19:35:02 +00:00
Renamed from uppsrc/Draw/DrawWin32.cpp (Browse further)