Commit graph

22 commits

Author SHA1 Message Date
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
cxl
6fca987969 uppsrc: Fixing GCC 10.2. warnings
git-svn-id: svn://ultimatepp.org/upp/trunk@15182 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-10-01 08:03:33 +00: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
d48aca5316 uppsrc: Deprectated RichValue uses replaced by RichToValue
git-svn-id: svn://ultimatepp.org/upp/trunk@10913 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-03-07 10:59:07 +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
a40c8594d2 PdfDraw, RichText: PdfDraw and RichText->PDF export now support urls #1183
git-svn-id: svn://ultimatepp.org/upp/trunk@8915 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-09-11 12:46:39 +00:00
cxl
1c365ba63c Draw: DrawDrawing/DrawPainting with original size variant (thanks Sender Ghost)
git-svn-id: svn://ultimatepp.org/upp/trunk@6097 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-05-25 11:55:10 +00:00
cxl
9c66fcab3e Draw: Font, Drawing, Painting, Image now support Xmlize and Jsonize
git-svn-id: svn://ultimatepp.org/upp/trunk@4950 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-05-14 14:47:25 +00:00
cxl
d5291b7d48 *uppsrc: Fixed many GCC warnings
git-svn-id: svn://ultimatepp.org/upp/trunk@4457 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-01-21 14:24:31 +00:00
rylek
9e3b1834e8 .Draw: GetPaintRect added to DrawDrawing
.Geom/Ctrl: different 'zoom full' icons for isotropic / anisotropic zoom mode

git-svn-id: svn://ultimatepp.org/upp/trunk@2864 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-11-23 11:20:00 +00:00
cxl
45599b5f26 CtrlCore: Massive fix of MT, Draw: Fixed DrawingDraw::Create for case when tehere are some data in DrawingDraw
git-svn-id: svn://ultimatepp.org/upp/trunk@1506 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-08-13 13:40:54 +00:00
cxl
58966218e5 Minor Drawing fix
git-svn-id: svn://ultimatepp.org/upp/trunk@1476 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-08-05 12:24:50 +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
342011f75f NewDraw 'merge'
git-svn-id: svn://ultimatepp.org/upp/trunk@1369 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-06 19:23:29 +00:00
cxl
ef93369af8 OldDraw backup
git-svn-id: svn://ultimatepp.org/upp/trunk@1368 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-06 19:21:49 +00:00
cxl
ea4448d995 Fixed ugly cluster of problems with Drawing, Painting, RichValue serialization, ValueArray...
git-svn-id: svn://ultimatepp.org/upp/trunk@1118 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-05-02 13:23:08 +00:00
cxl
3c976c3d48 Drawing refactored
git-svn-id: svn://ultimatepp.org/upp/trunk@1099 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-04-26 16:27:01 +00:00
cxl
82b316980d Painter - fixes, printing fixes, NOAA (for better printing output)
git-svn-id: svn://ultimatepp.org/upp/trunk@779 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-01-17 11:58:41 +00:00
cxl
2d10cf466b git-svn-id: svn://ultimatepp.org/upp/trunk@330 f0d560ea-af0d-0410-9eb7-867de7ffcac7 2008-08-15 09:33:15 +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