Commit graph

57 commits

Author SHA1 Message Date
Mirek Fidler
c2dc0b3617 CtrlLib: Default maximum line len increased to 400000 characters, Core: Fixed to compile with MSVC x86, .scripts 2025-10-08 23:58:11 +02:00
Mirek Fidler
ae4d42c2a1 ide: Main package configuration comments 2025-03-31 14:44:05 +02:00
Mirek Fidler
e2cf21ba7a Core: CountTrailingZeroBits, CountTrailingZeroBits64 2025-03-31 11:31:21 +02:00
Mirek Fidler
f6a6a4da1f .cosmetics 2025-03-31 11:05:40 +02:00
Mirek Fidler
5b47277fb0 ide: gcc/clang default build methods now use -mpopcnt, Core: flagLEGACY_CPU 2025-02-20 10:41:11 +01:00
Mirek Fidler
5bed6ca80f .cosmetics 2025-02-17 10:18:14 +01:00
İsmail Yılmaz
421eb73ac9
Bit counting functions (CountBits, CountBits64) (#232)
* Core: CountBits and CountBits64 functions are added.

* autotest: CountBits test added.

* Core: inline force on CountBits and CountBits64
2025-02-14 19:25:25 +01:00
Mirek Fidler
c3ce92830d Dynamic skin changes 2024-12-06 10:05:57 +01:00
Mirek Fidler
80946710cd Core: Another attempt at DarkTheme improvement 2024-09-14 16:27:29 +02:00
Mirek Fidler
fd7da6d4f8 ide: icons 2024-07-18 12:00:29 +02:00
Mirek Fidler
19dd6c72f1 Core: Unaligned access reimplemented with memcpy, Draw, ide: iml improvements 2024-07-13 18:58:30 +02:00
Mirek Fidler
1a0e604510 uppbox: MakePosixIntall: umks32 NOSSL flag; cosmetics 2023-06-03 01:54:48 +02:00
Zbigniew Rębacz
ff3d14ca32
Remove nused variable for ARM in Ops.h (#112)
uint64_t r1 =r is not used and should be removed from addc64 function.
2022-12-11 12:39:59 +01:00
Mirek Fidler
60aaffe05a Core: Now using _addcarry_u64 only for x86 2022-03-20 09:33:29 +01:00
Mirek Fidler
97bc27d7e1 Core: One more fix of addc64 2021-12-28 10:34:28 +01:00
Mirek Fidler
3e1a59166a Core: Reverted add_carry issue, including x86intrin instead (thanks Klugier) 2021-12-28 10:20:49 +01:00
Mirek Fidler
e9228d21bd Core: _addcarry_u64 issue with clang 2021-12-25 19:17:11 +01:00
Mirek Fidler
900dcdff41 Core: addc64 using 'slow path' with GCC < 6 as _addcarry_u64 is not available 2021-12-25 19:06:51 +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
Mirek Fidler
d7c885f8c7 Core: Removed intrin.h include for Posix 2021-08-30 09:32:11 +02:00
Mirek Fidler
ba737d3ece Core: Fixed issue with FormatDouble with 32bit CPUs 2021-08-29 20:26:08 +02:00
Mirek Fidler
f3031736b7 Core: FormatDouble, ScanDbl refactored 2021-08-29 13:27:37 +02:00
cxl
1af6908ff9 Core: get_i
git-svn-id: svn://ultimatepp.org/upp/trunk@14594 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-06-14 17:08:20 +00:00
cxl
116652c9a4 Core: memhash32 improvements, GLDraw: removed DLOG
git-svn-id: svn://ultimatepp.org/upp/trunk@14541 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-06-03 16:17:03 +00:00
cxl
6943b71363 Core: Hashing fix
git-svn-id: svn://ultimatepp.org/upp/trunk@14539 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-06-02 21:33:32 +00:00
cxl
76abae9a5c Core: ARM fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@14538 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-06-02 08:40:49 +00:00
cxl
9a09df576b Core Now using 64 bit hashes on 64 bit CPUS (faster)
git-svn-id: svn://ultimatepp.org/upp/trunk@14532 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-06-01 13:37:31 +00:00
cxl
6d0491625d Core: Mem
git-svn-id: svn://ultimatepp.org/upp/trunk@14523 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-06-01 00:19:02 +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
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
ab2547885d Core: String compare optimizations
git-svn-id: svn://ultimatepp.org/upp/trunk@14517 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-30 17:15:06 +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
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
0b8efd7e21 Core: SwapEndian16 overloading fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@14442 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-08 14:11:49 +00:00
cxl
fc4dfce19e Core: Peek, Poke, Stream: Get16, 32, 64 optimized
git-svn-id: svn://ultimatepp.org/upp/trunk@14440 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-08 13:55:42 +00:00
cxl
8f93b7a0eb Core: Peek/Poke
git-svn-id: svn://ultimatepp.org/upp/trunk@14436 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-08 08:09:36 +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
32e83b73f1 Core: Ops fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@14418 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-01 15:45:54 +00:00
cxl
08cfd34191 Core: SignificantBit64 fix for aarmhf
git-svn-id: svn://ultimatepp.org/upp/trunk@14417 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-01 15:16:46 +00:00
cxl
ec9e1a2f88 upp.src: Fixed CLANG warnings in Win32
git-svn-id: svn://ultimatepp.org/upp/trunk@14099 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-02-27 20:14:56 +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
53276993c3 Core: Fixed issue with UTF8 string comparison
git-svn-id: svn://ultimatepp.org/upp/trunk@13475 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-07-04 14:17:09 +00:00
cxl
adc94a71c2 Core: SignificantBits64
git-svn-id: svn://ultimatepp.org/upp/trunk@13391 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-14 08:20:45 +00:00
cxl
bfb36b813c Core: CoWork Mingw fixes
git-svn-id: svn://ultimatepp.org/upp/trunk@13387 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-06-13 07:48:06 +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
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
41910ae0d0 Core: FoldHash fix
git-svn-id: svn://ultimatepp.org/upp/trunk@12980 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2019-04-10 15:38:51 +00:00