Commit graph

42 commits

Author SHA1 Message Date
Mirek Fidler
6a86f2ac03 MSC warnings fixed, CtrlLib: .lay UNTYPED now without properties 2022-05-14 08:47:02 +02: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
4a7f4ee66d Draw: ImageBuffer PaintOnceHint; gtk: Image rendering optimized to use PaintOnceHint, SetSurface optimized with create_image_surface_for_data
git-svn-id: svn://ultimatepp.org/upp/trunk@15977 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2021-06-03 09:23:35 +00:00
cxl
6953c7fa89 Draw: Fixed Image::operator==
git-svn-id: svn://ultimatepp.org/upp/trunk@14525 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-06-01 07:41:08 +00:00
cxl
d2967e13f1 uppsrc: In preparation to move to 64 bit hash codes, hash code type is now hash_t (replaces unsigned, dword)
git-svn-id: svn://ultimatepp.org/upp/trunk@14521 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-31 16:13:28 +00:00
cxl
36fadbf7bf uppsrc: Many memcpy, memset converted to new memory functions
git-svn-id: svn://ultimatepp.org/upp/trunk@14493 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-22 15:14:16 +00:00
cxl
fc4c874ece .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@14382 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-04-25 13:51:30 +00:00
cxl
5096888c17 CtrlCore: DrawImage Win32 improved
git-svn-id: svn://ultimatepp.org/upp/trunk@14339 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-04-20 15:53:56 +00:00
cxl
b5a44fcf6a Draw: Image::Serialize improve BW compatibility
git-svn-id: svn://ultimatepp.org/upp/trunk@13596 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-09-09 09:27:29 +00:00
cxl
915686c643 uppsrc: Removed legacy .iml support, fixed clang warnings
git-svn-id: svn://ultimatepp.org/upp/trunk@13522 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-08-03 13:29:03 +00:00
cxl
70c55ce732 Draw: Image operator== improved
git-svn-id: svn://ultimatepp.org/upp/trunk@12331 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-10-04 09:04:26 +00:00
cxl
edb768e191 Image: Serialize now stores 2nd hotspot, IconDes: Copy now storing hotspots, CtrlCore: Cocoa clipboard now using U++ Image serialization in addition to png
git-svn-id: svn://ultimatepp.org/upp/trunk@12307 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-09-27 06:47:38 +00:00
cxl
1cf237441d .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@11499 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-11-27 16:23:38 +00:00
cxl
9c7f812969 Image::GetDPI now const (thanks SergeA)
git-svn-id: svn://ultimatepp.org/upp/trunk@11124 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-05-26 17:02:55 +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
bde0d9ad73 .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@10018 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-07-07 09:39:24 +00:00
cxl
8f11c6f135 Core: Huge class
git-svn-id: svn://ultimatepp.org/upp/trunk@10006 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-07-04 08:02:22 +00:00
cxl
30a1c1ebd9 Core: InFilterStream optimized
git-svn-id: svn://ultimatepp.org/upp/trunk@9984 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-06-28 13:04:56 +00:00
cxl
c9ce654a5f ide/Draw: Image/IML now has UHD flag
git-svn-id: svn://ultimatepp.org/upp/trunk@8793 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-08-06 12:12:18 +00:00
cxl
4a35689216 plugin/lz4
git-svn-id: svn://ultimatepp.org/upp/trunk@7801 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-10-20 15:43:18 +00:00
cxl
ba7ab3ed50 cpp11 branch merged back to to trunk
git-svn-id: svn://ultimatepp.org/upp/trunk@7047 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-03-16 16:33:48 +00:00
cxl
e9856ca8ed .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@6964 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-02-27 21:47:44 +00:00
cxl
291b186a18 *Draw: Fixed Unmultiply(Image)
git-svn-id: svn://ultimatepp.org/upp/trunk@6875 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-02-05 20:42:34 +00:00
cxl
8f365f9097 Draw: Image::Begin/End
git-svn-id: svn://ultimatepp.org/upp/trunk@6620 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-11-30 08:12:03 +00:00
cxl
c0075840b2 Draw: RescaleBicubic
git-svn-id: svn://ultimatepp.org/upp/trunk@5973 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-04-09 13:35:43 +00:00
cxl
9e1b30113a uppsrc: Fixed more Win64 warnings
git-svn-id: svn://ultimatepp.org/upp/trunk@5822 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-02-18 09:57:51 +00:00
cxl
88320c24a9 Image::Serialize big image support (thanks nick)
git-svn-id: svn://ultimatepp.org/upp/trunk@5763 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-02-07 16:32:39 +00:00
cxl
bd87a04fda Draw, CtrlCore: Major refactor of Draw
git-svn-id: svn://ultimatepp.org/upp/trunk@5545 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-11-11 12:33:47 +00:00
cxl
af722b6332 * Painter: fixed issue with subpixe (RM #281), Core: AsString(RGBA), CtrlCore: NoLayoutZoom fix for MSC
git-svn-id: svn://ultimatepp.org/upp/trunk@5026 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-05-31 09:18:29 +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
59baf714e4 Fixed some warning
git-svn-id: svn://ultimatepp.org/upp/trunk@4453 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-01-21 11:39:05 +00:00
cxl
cdfbc3eb7a Draw: ImageOps hotspots, CtrlLib: Splitter Zoom fix
git-svn-id: svn://ultimatepp.org/upp/trunk@2932 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-12-26 08:21:57 +00:00
cxl
dcd13319e4 Vector, Array: All Adds now returning T&
git-svn-id: svn://ultimatepp.org/upp/trunk@2698 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-09-16 22:16:51 +00:00
cxl
fa3441cfdf XmlRpc: Shortcurcuit mode (server and client are the same), *Draw: Fixed critical deadlock problem in FindIml
git-svn-id: svn://ultimatepp.org/upp/trunk@2202 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-03-09 18:57:53 +00:00
cxl
6de6ff7d05 RichText, CtrlCore: Fixed problems with pasting Images into RichText, slightly optimized RichText core algorithms, theide: fixed infinute recursion if class inherits itself (C++ error, but A++ has to react)
git-svn-id: svn://ultimatepp.org/upp/trunk@1494 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-08-11 17:47:14 +00:00
cxl
68a73dff42 Draw: headless draw final milestone reached
git-svn-id: svn://ultimatepp.org/upp/trunk@1436 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-19 13:12:18 +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
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
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