Commit graph

37 commits

Author SHA1 Message Date
Mirek Fidler
9d56de714c Core: Removed bad_alloc workaround in heap.cpp for win32 clang 2022-04-07 20:07:01 +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
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
5fef4437b4 Core/SSL: icpp returned
git-svn-id: svn://ultimatepp.org/upp/trunk@15530 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-11-27 21:45:16 +00:00
cxl
b7c4720006 ide: Response file support in GCC builder, CtrlLib: Fixed appearance of ProgressIndicator in some cases
git-svn-id: svn://ultimatepp.org/upp/trunk@14354 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-04-23 09:09:50 +00:00
cxl
50c7118301 CtrlCore: ImageWin32 optimisations
git-svn-id: svn://ultimatepp.org/upp/trunk@14343 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-04-21 08:37:09 +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
4effe2c141 Core: MacOS now using UPP_HEAP (but not for new/delete)
git-svn-id: svn://ultimatepp.org/upp/trunk@14050 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-02-20 11:14:58 +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
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
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
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
489c3ed1ae .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@12522 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-11-12 10:14:19 +00:00
cxl
3a3ccba740 Core: fixed for c++17
git-svn-id: svn://ultimatepp.org/upp/trunk@12517 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2018-11-12 09:23:47 +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
f2f2ce1c8e .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@11383 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-10-15 08:58:45 +00:00
cxl
71a8b72688 fixed to compile
git-svn-id: svn://ultimatepp.org/upp/trunk@11381 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-10-15 08:28:39 +00:00
cxl
eb9e611256 Core: WebSocket - socket handle and wait events access
git-svn-id: svn://ultimatepp.org/upp/trunk@11380 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2017-10-14 17:36:46 +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
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
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
fed3d83480 CtrlLib: Oxygen KDE theme fixed #779
git-svn-id: svn://ultimatepp.org/upp/trunk@8194 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-02-23 09:54:33 +00:00
cxl
ec702d7e17 Core: Fixed heap allocator issue in Win32
git-svn-id: svn://ultimatepp.org/upp/trunk@6665 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2013-12-17 15:03:08 +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
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
f2fdde4ad3 .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@5251 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-08-04 10:10:51 +00:00
cxl
a44ab2417a *uppsrc: mr_ped's GCC warnings fix, Core: now methods in Thread based on tojocky's ideas
git-svn-id: svn://ultimatepp.org/upp/trunk@2972 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-01-08 12:36:46 +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