Commit Graph

66973 Commits

Author SHA1 Message Date
Sven/Sarah Barth
3dc64dd67e * fix typo in comment 2023-06-30 17:02:37 +02:00
Sven/Sarah Barth
d5c1533377 * fix #40331: for enumeration with holes (that don't have type information) use the binary comparers
+ added test
2023-06-30 16:30:46 +02:00
Sven/Sarah Barth
82857174cc * move check for whether to use binary comparer functionality to a static function of TComparerService 2023-06-30 16:27:13 +02:00
Sven/Sarah Barth
574d07041e * ensure that the ATypeInfo parameter is valid before checking it 2023-06-30 16:26:16 +02:00
Sven/Sarah Barth
8592d42afa * test added for #40332 is supposed to fail 2023-06-30 16:24:20 +02:00
Sven/Sarah Barth
d97d34ee9c * fix #40332: apply patch by Rika to avoid a crash when an overload can't be picked outside of a function (e.g. when using intrinsics inside constants)
+ added test
2023-06-30 15:35:28 +02:00
Michaël Van Canneyt
9cc08940dd * Small fix by Alexey Torgashin. Fixes issue #40335 2023-06-30 11:22:06 +02:00
Michaël Van Canneyt
c7109674d1 * Small optimization of WriteIdent. fixes issue #40334 2023-06-29 23:48:10 +02:00
Michaël Van Canneyt
e776368ac8 * Fix compilation. 2023-06-29 13:45:17 +02:00
Nikolay Nikolov
adf843196a Merge remote-tracking branch 'origin/main' into wasm_js_promise_integration 2023-06-24 15:08:18 +03:00
Sven/Sarah Barth
f721210638 * fix #40142 and #40324: don't alias the function name to the $result variable for anonymous functions unless an explicit result name is provided
+ added tests
2023-06-23 17:06:41 +02:00
Sven/Sarah Barth
34f1a3ee28 * don't insert anonymous functions into a withsymtable
+ added test
2023-06-23 17:02:15 +02:00
Sven/Sarah Barth
251af216ce * fix typo in comment 2023-06-23 16:15:33 +02:00
Sven/Sarah Barth
7133ad7ecc * a type helper that inherits from another type helper may extend a unique type helper of the parent's extended type (thus allowing to make the type helper of the original type available for the aliased type)
+ added tests
2023-06-23 16:15:33 +02:00
Sven/Sarah Barth
62cc594ca4 * for unique type aliases keep track of the original def
* increase PPU version
2023-06-23 16:15:27 +02:00
Nikolay Nikolov
420766f263 Merge remote-tracking branch 'origin/main' into wasm_js_promise_integration 2023-06-22 17:04:09 +03:00
mattias
74e24a3864 fcl-web: TWSFramePayload.ReadData: check for endless loop and wait for new data 2023-06-22 12:30:40 +02:00
mattias
f047c40bca fcl-net: fixed range check error 2023-06-22 12:20:06 +02:00
mattias
977d123b32 fcl-web: less hints 2023-06-22 12:14:44 +02:00
mattias
dea9aa56a7 fcl-web: added TCustomWebsocketUpgrader.OnConnect 2023-06-22 12:14:28 +02:00
Michael VAN CANNEYT
34f11a7a14 * Remove unused KnownArchitectures tryout 2023-06-22 09:45:04 +02:00
Michael VAN CANNEYT
49d8a3e3f5 * Handle ARCH_TARGET/ARCH_SOURCE 2023-06-22 09:44:45 +02:00
Michael VAN CANNEYT
54dd32805e * Remove unused KnownArchitectures tryout 2023-06-22 09:44:45 +02:00
Michaël Van Canneyt
b9aeeaa6e3 * Initialize result string 2023-06-21 13:30:29 +02:00
mattias
8f32a8190e fcl-pdf: fixed dump hexstring 2023-06-21 12:47:31 +02:00
mattias
3ef91538f9 fcl-pdf: less hints 2023-06-21 12:47:31 +02:00
mattias
51fa67c234 fcl-pdf: less hints 2023-06-21 12:47:31 +02:00
Nikolay Nikolov
315166fccc Merge remote-tracking branch 'origin/main' into wasm_js_promise_integration 2023-06-21 13:31:12 +03:00
Michaël Van Canneyt
fcb5cf42bf * Additional fix 2023-06-21 11:59:37 +02:00
Michaël Van Canneyt
a3a827eba5 * Fix for i386 breakage after merge request !433 2023-06-21 11:55:31 +02:00
Jinyang He
6ef31c643a Set STACK_MARGIN_MAX to four times of pagesize on LoongArch64
It fixed a test named tstack. Actually, Linux user get the stacktop is
incorrect in current. The value of stack pointer when enter the procedure
is thought as it is in the highest stack page. But if the parameters is
enough large, lager than 16k, most of arch will also fail this test.
Since the LoongArch default pagesize is 16k, it fail often because
stack-layout-randomization causes the stackpointer underflow to next page.
I had tried fixed it in rtl/linux/[arch]/si_*. But because the codes is
unworthy and hardly the parameters is enough large, just expand
STACK_MARGIN_MAX for simplicity.
2023-06-21 07:27:36 +00:00
Jinyang He
f202dda5c5 Use prlimit64 in FpSetRLimit and FpSetRLimit 2023-06-21 07:27:36 +00:00
Jinyang He
2928837225 fix store stacklength but not its addr in info 2023-06-21 07:27:36 +00:00
Jinyang He
bad62d51fa fix when FPC_USE_LIBC is disabled not call PASCALMAIN 2023-06-21 07:27:36 +00:00
Jinyang He
706aefb2aa Fix the init state of LoongArch FPU exception bit 2023-06-21 07:27:36 +00:00
Jinyang He
bcf7701887 Support use statx syscall in fpstat and fpfstat 2023-06-21 07:27:36 +00:00
Jinyang He
6b4ee224bf set default result in TPCUWriter.IsExternalEl 2023-06-21 03:57:58 +00:00
florian
20884fdc1b * search for i386-linux-gcc also by trying i686-linux- as prefix as
apparently for newer gcc -m32 does not return the proper libgcc path anymore
2023-06-20 23:16:16 +02:00
Nikolay Nikolov
06f35ae04f - rm commented out debug writeln left over from previous commit 2023-06-20 17:25:57 +03:00
Nikolay Nikolov
5c792c438d + disallow using sizeof() and bitsizeof() on WebAssembly reference types 2023-06-20 16:56:47 +03:00
Nikolay Nikolov
edbb865260 + added comment for the new error message 2023-06-20 15:39:34 +03:00
Nikolay Nikolov
fce34eb4bf + disallow WebAssembly reference types in records, objects and classes 2023-06-20 15:13:15 +03:00
Nikolay Nikolov
8ac46ed38c Merge remote-tracking branch 'origin/main' into wasm_js_promise_integration 2023-06-20 13:31:32 +03:00
Michaël Van Canneyt
41c2a2069a * Alphacolors, enhanced patch from Mattias 2023-06-20 11:55:48 +02:00
Michael VAN CANNEYT
a74a35a16e * Check that system unit is actually loaded before using it to search for system symbols
(cherry picked from commit 9e5ee68887)
2023-06-19 15:33:15 +02:00
Michael VAN CANNEYT
5adde504a9 * Do not crash when module pointer is nil
(cherry picked from commit e6f71b6acc)
2023-06-19 15:22:42 +02:00
Nikolay Nikolov
bbedb958f6 * bump CurrentPPULongVersion 2023-06-19 15:54:33 +03:00
Nikolay Nikolov
76474c85bd + comments for the new error messages 2023-06-19 15:53:15 +03:00
Michaël Van Canneyt
ab3916b0f8 * Make compression struct accessible to descendants. Fixes issue #40327 2023-06-19 14:27:02 +02:00
Michael VAN CANNEYT
fa735ba7b2 * Refactor, so the combination CPU-OS-SubTarget is a record. Allows for extension if need be 2023-06-19 07:04:50 +00:00