Commit graph

34 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
6c5570d7ea Core: Fixed some GCC 10.2 warnings
git-svn-id: svn://ultimatepp.org/upp/trunk@15179 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-09-30 12:57:46 +00:00
cxl
cd503a34bb Core: Fixed memory info in FreeBSD, ide: Refactoring CodeBase
git-svn-id: svn://ultimatepp.org/upp/trunk@14617 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-06-22 06:38:59 +00:00
cxl
1f49ce6a3e Draw: Minify SSE2 optimised, Core: Fixed to compile with FreeBSD
git-svn-id: svn://ultimatepp.org/upp/trunk@14596 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-06-15 11:57:51 +00:00
cxl
4e1d85ec27 Core: Fixed compilation issue in MacOS
git-svn-id: svn://ultimatepp.org/upp/trunk@14583 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-06-13 08:14:58 +00:00
cxl
9a82b14059 Core: ValueCache
git-svn-id: svn://ultimatepp.org/upp/trunk@14573 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-06-09 14:55:33 +00:00
cxl
0eaae761a1 Core: GetSystemMemoryStatus MacOSX
git-svn-id: svn://ultimatepp.org/upp/trunk@14572 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-06-09 13:30:41 +00:00
cxl
25f82c7973 Core: GetSystemMemoryStatus Win32
git-svn-id: svn://ultimatepp.org/upp/trunk@14570 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-06-09 07:26:16 +00:00
cxl
7b20cb4af0 Core: GetSystemMemoryStatus Win32, Linux
git-svn-id: svn://ultimatepp.org/upp/trunk@14568 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-06-08 20:38:32 +00:00
cxl
2352d9b58c Core: Mem.h improvements
git-svn-id: svn://ultimatepp.org/upp/trunk@14505 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-27 16:39:08 +00:00
cxl
78cf875ad8 Core: Fixed to compile with ARM
git-svn-id: svn://ultimatepp.org/upp/trunk@14502 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-25 21:27:25 +00:00
cxl
4c9cf3cd3f Draw: ImageScale fixed, uppsrc: various minor fixes related to Mem.h
git-svn-id: svn://ultimatepp.org/upp/trunk@14497 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-24 08:40:20 +00:00
cxl
a7ffd101e9 Core: memcpyq, memcpydq, memcpy is using them...
git-svn-id: svn://ultimatepp.org/upp/trunk@14494 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-22 17:00:36 +00:00
cxl
fdfa8dcf23 SSE related includes reorganized
git-svn-id: svn://ultimatepp.org/upp/trunk@14492 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-22 11:10:22 +00:00
cxl
175eda6c88 Core: memcpyd, memsetd now reduced in code size, Vector::Grow now using new memory routines
git-svn-id: svn://ultimatepp.org/upp/trunk@14491 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-22 09:36:44 +00:00
cxl
48d2166c08 Core: New highly optimised svo_memcpy, svo_memset, memcpyd functions
git-svn-id: svn://ultimatepp.org/upp/trunk@14488 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-21 17:18:24 +00:00
cxl
8ec50747cf Core, Draw, Painter: memsetd and RGBAFill optimized
git-svn-id: svn://ultimatepp.org/upp/trunk@14486 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-20 14:39:18 +00:00
cxl
945a40c24f .docs, MINGW tls patch removed
git-svn-id: svn://ultimatepp.org/upp/trunk@14420 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-01 17:02:25 +00:00
cxl
c86fc82c99 .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@14075 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-02-24 17:50:56 +00:00
cxl
65f0588dd8 CtrlLib: FileSel .lnk improvements
git-svn-id: svn://ultimatepp.org/upp/trunk@13680 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-11-05 18:00:10 +00:00
cxl
a2656ffd9d .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@13422 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-20 20:42:35 +00:00
cxl
3eaadf060e Core: CpuHypervisor
git-svn-id: svn://ultimatepp.org/upp/trunk@11387 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-10-17 16:00:37 +00:00
cxl
b2ff8b33cd CpuHypervisor
git-svn-id: svn://ultimatepp.org/upp/trunk@11386 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-10-17 15:45:26 +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
1f3435fadd #1456 Android CPU_Cores fixed
git-svn-id: svn://ultimatepp.org/upp/trunk@9959 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-06-23 18:30:09 +00:00
cxl
900f9d4fd2 Core patched for android
git-svn-id: svn://ultimatepp.org/upp/trunk@9856 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-05-21 11:20:15 +00:00
cxl
70efacb472 Core: SerializeRaw now has 64-bit size
git-svn-id: svn://ultimatepp.org/upp/trunk@9788 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-05-03 20:59:38 +00:00
cxl
795f368a3a .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@8045 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-01-16 09:05:38 +00:00
cxl
5f365d2ee9 Core: ARM fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@7985 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-12-18 19:46:10 +00:00
cxl
d6cc3c3fa5 Core: sCheckCPU fixed (thanks dolik)
git-svn-id: svn://ultimatepp.org/upp/trunk@6161 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-07-01 06:48:46 +00:00
cxl
29701e5eb8 Core: Blackfin CPU support
git-svn-id: svn://ultimatepp.org/upp/trunk@1447 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-07-26 15:41:41 +00:00
cxl
107b0a4952 Improved POSIX compatibility (OpenBSD, NetBSD support)
git-svn-id: svn://ultimatepp.org/upp/trunk@1095 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-04-24 08:29:02 +00:00
mdelfede
f713349630 new uvs2 releases : uppsrc-2630 tutorial-38 examples-142 reference-115
git-svn-id: svn://ultimatepp.org/upp/trunk@324 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-08-02 14:54:22 +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