Commit graph

39 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
453bd772aa Core: heap fix
git-svn-id: svn://ultimatepp.org/upp/trunk@13473 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-07-04 12:21:47 +00:00
cxl
68b4c470c7 Core: clang warning fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@13467 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-07-02 07:02:31 +00:00
cxl
43142d3255 Core: Heap
git-svn-id: svn://ultimatepp.org/upp/trunk@13460 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-30 12:31:23 +00:00
cxl
96f83e17d0 Core: HEAPLOG improved
git-svn-id: svn://ultimatepp.org/upp/trunk@13458 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-29 18:07:52 +00:00
cxl
2b2a40454d Core: HEAPLOG
git-svn-id: svn://ultimatepp.org/upp/trunk@13454 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-28 06:58:00 +00:00
cxl
3b611f2ea6 Core: Heap fix
git-svn-id: svn://ultimatepp.org/upp/trunk@13453 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-28 06:47:34 +00:00
cxl
3092c4348f Core: Heap fix
git-svn-id: svn://ultimatepp.org/upp/trunk@13451 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-27 16:35:44 +00:00
cxl
acdee1885b Core: finetuning allocator
git-svn-id: svn://ultimatepp.org/upp/trunk@13449 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-27 13:17:50 +00:00
cxl
2e408746e7 Core: Heap improvements
git-svn-id: svn://ultimatepp.org/upp/trunk@13447 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-27 07:39:35 +00:00
cxl
d451e400fd Core: Heap improvements
git-svn-id: svn://ultimatepp.org/upp/trunk@13443 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-26 14:16:47 +00:00
cxl
9ac1732f4a Core: Heap improved
git-svn-id: svn://ultimatepp.org/upp/trunk@13412 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-17 22:03:01 +00:00
cxl
f2c64f8067 Core: Allocator improvement
git-svn-id: svn://ultimatepp.org/upp/trunk@13411 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-17 22:01:07 +00:00
cxl
e093ff22b1 Core: Fixed allocator issue on thread exit
git-svn-id: svn://ultimatepp.org/upp/trunk@13410 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-17 21:28:11 +00:00
cxl
b28a160520 .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@13401 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-16 14:25:09 +00:00
cxl
e53932b2f5 Core: Improved approximate best fit in allocator
git-svn-id: svn://ultimatepp.org/upp/trunk@13377 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-10 15:26:34 +00:00
cxl
30fbc12957 .Core: Removed RTIMING
git-svn-id: svn://ultimatepp.org/upp/trunk@13367 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-07 16:02:48 +00:00
cxl
0276338ea6 Core2019 merged to to trunk
git-svn-id: svn://ultimatepp.org/upp/trunk@13359 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-07 07:06:32 +00:00
cxl
74d60026ee uppsrc: Undefined Behaviour sanitization
git-svn-id: svn://ultimatepp.org/upp/trunk@13032 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-04-23 07:59:06 +00:00
cxl
4b98f06b28 uppsrc: Iml vs DarkTheme vs UHD refactored
git-svn-id: svn://ultimatepp.org/upp/trunk@13014 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-04-21 19:00:32 +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
31f5442c13 Core: Fixed issue with CoWork, removed HEAP256 option
git-svn-id: svn://ultimatepp.org/upp/trunk@11656 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-01-03 08:06:45 +00:00
cxl
8d1f9faa92 .mtp3
git-svn-id: svn://ultimatepp.org/upp/trunk@11636 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-12-29 07:50:11 +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
6ecd1d098b LZ4: developing
git-svn-id: svn://ultimatepp.org/upp/trunk@10094 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-07-25 10:48: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
536e0571b3 .docs
git-svn-id: svn://ultimatepp.org/upp/trunk@9365 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-01-03 08:06:30 +00:00
cxl
585b6a30d6 Core: Allocator fix
git-svn-id: svn://ultimatepp.org/upp/trunk@9354 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-12-27 16:29:59 +00:00
cxl
c4f52fe9d2 Core: Allocator now is optimizited w.r.t. remote frees (buffers for single flush)
git-svn-id: svn://ultimatepp.org/upp/trunk@9349 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-12-26 18:25:59 +00:00
cxl
e45d9cc3e8 .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@8109 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-01-31 12:39:40 +00:00
cxl
0c05d4e179 Core: TryRealloc improvement
git-svn-id: svn://ultimatepp.org/upp/trunk@8101 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-01-26 19:26:41 +00:00
cxl
1277e92041 Core: TryRealloc improved
git-svn-id: svn://ultimatepp.org/upp/trunk@8099 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-01-26 19:24:15 +00:00
cxl
edc75a9c4b Core: GetMemoryBlockSize, TryRealloc
git-svn-id: svn://ultimatepp.org/upp/trunk@8097 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-01-26 19:04:51 +00:00
cxl
597d2daa33 Core: Fixed __thread warning in lheap.cpp (thanks deep)
git-svn-id: svn://ultimatepp.org/upp/trunk@6907 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-02-10 19:13:34 +00:00
cxl
bed93110d7 Core: Heap enhancements, NanoStrings, Fixed*Map, fix in Socket - non-ASCII char < 0 issue
git-svn-id: svn://ultimatepp.org/upp/trunk@6661 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-12-17 13:05:36 +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
b2f2cc2a8c Core: Out of memory panic now displays info about requested block size and allocated memory (RM #240)
git-svn-id: svn://ultimatepp.org/upp/trunk@4471 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-01-26 19:25:05 +00:00
mdelfede
cb0ff92715 new uvs2 releases : uppsrc-2598 tutorial-38 examples-141 reference-113
git-svn-id: svn://ultimatepp.org/upp/trunk@300 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-06-16 23:06:34 +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