Commit graph

49 commits

Author SHA1 Message Date
Mirek Fidler
9c2102cb8e ide, uppsrc: Main config flags 2025-04-07 10:21:39 +02:00
Mirek Fidler
420f3c720f Core: Attempt at AlpineLinux clang thread_local problem workaround 2024-11-21 10:27:49 +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
86b39b5279 Core: Heap fixed for debug
git-svn-id: svn://ultimatepp.org/upp/trunk@15554 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-11-30 13:22:47 +00:00
cxl
bbb9fcad46 Core: String middle tier optimised (some routines moved to allocator to inline MemoryAlloc32 / MemoryFree32)
git-svn-id: svn://ultimatepp.org/upp/trunk@15553 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-11-30 11:21:43 +00:00
cxl
c38e4ba322 Core: U++ does not require MemoryFreeThread call at the end of thread
git-svn-id: svn://ultimatepp.org/upp/trunk@15541 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-11-29 13:29:01 +00:00
cxl
02de306052 Core: heap cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@15537 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-11-28 16:16:41 +00:00
cxl
80a7a09c67 Core: String cleanup
git-svn-id: svn://ultimatepp.org/upp/trunk@14519 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-30 17:27:54 +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
b00a33ce5a Core: Fixed issue with allocator 4KB reserve
git-svn-id: svn://ultimatepp.org/upp/trunk@13633 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-10-08 09:03:02 +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
0c051f9415 Core: HeapLog added mutex
git-svn-id: svn://ultimatepp.org/upp/trunk@13455 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-28 09:00:59 +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
b54f93fd87 Core: HEAPLOG flag
git-svn-id: svn://ultimatepp.org/upp/trunk@13452 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-28 06:45:29 +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
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
541e45cab1 Core: Heap options
git-svn-id: svn://ultimatepp.org/upp/trunk@13439 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-25 17:11:11 +00:00
cxl
b7baa4fd01 Core: Heap improvements
git-svn-id: svn://ultimatepp.org/upp/trunk@13437 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-25 15:47:29 +00:00
cxl
68f8a11b0f Core: Heap improvements
git-svn-id: svn://ultimatepp.org/upp/trunk@13434 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-25 14:00:18 +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
6796767686 Core: CoWork improvements, migw TLS workaround FastMingwTLS
git-svn-id: svn://ultimatepp.org/upp/trunk@13386 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-12 21:49:33 +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
edbc91f8a1 Core: Heap issues
git-svn-id: svn://ultimatepp.org/upp/trunk@13369 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-08 16:37:55 +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
62e62583f0 upp.src: Fixed various warnings (GCC 8.2)
git-svn-id: svn://ultimatepp.org/upp/trunk@12866 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-03-22 07:48:06 +00:00
cxl
814d5f2fc8 uppsrc: Fixed some GCC 8.1 warnings
git-svn-id: svn://ultimatepp.org/upp/trunk@12806 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-03-03 23:40:34 +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
39e9ce16e7 .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@9896 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-05-30 17:10:59 +00:00
cxl
bbde0708dd MINGW heap fix
git-svn-id: svn://ultimatepp.org/upp/trunk@9796 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-05-04 11:34:36 +00:00
cxl
b75239c243 .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@9794 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-05-04 07:18:56 +00:00
cxl
874b4f1f04 Heap fix
git-svn-id: svn://ultimatepp.org/upp/trunk@9791 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-05-03 21:58:17 +00:00
cxl
80a0b077c8 Heap fix
git-svn-id: svn://ultimatepp.org/upp/trunk@9789 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-05-03 21:41:39 +00:00
cxl
2e560a394e Fixed issue with CoWork & callback
git-svn-id: svn://ultimatepp.org/upp/trunk@9763 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-05-02 14:37:08 +00:00
cxl
699d23c600 temporary mingw thread_local in heap fix
git-svn-id: svn://ultimatepp.org/upp/trunk@9760 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-05-01 22:01:10 +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
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
71f6ca9fbc .comments
git-svn-id: svn://ultimatepp.org/upp/trunk@9324 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-12-23 15:27:12 +00:00
cxl
073b7b8899 .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@9296 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-12-18 12:40:05 +00:00
cxl
f4784280b3 .docs
git-svn-id: svn://ultimatepp.org/upp/trunk@9218 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-11-23 15:25:31 +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
6b9e2fb9f1 .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@6633 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-12-03 13:04:05 +00:00
cxl
7cfe4a207b .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@5228 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-07-23 15:54:12 +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
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