Commit Graph

67192 Commits

Author SHA1 Message Date
Michaël Van Canneyt
1e3c2154ce * Allow compilation of fcl-fpcunit for webassembly 2023-07-04 15:51:15 +02:00
Michaël Van Canneyt
5de228eeea * Add commands unit 2023-07-04 14:39:50 +02:00
Michaël Van Canneyt
49809c5f42 * Refactor commands, add commands in preparation of renderer 2023-07-04 14:34:11 +02:00
Pierre Muller
755f350d5e Update after hash change 2023-07-03 15:58:46 +02:00
florian
1e62913183 * check properly for the supported cpu type, resolves #40298 2023-07-02 17:53:12 +02:00
Nikolay Nikolov
f47ca0c5d1 * fixed ppudump for WebAssembly after the JS Promise Integration branch merge 2023-07-02 18:31:53 +03:00
florian
78c0c267a5 * cleanup 2023-07-01 20:54:08 +02:00
Michaël Van Canneyt
188fc9c112 * Fix compilation for ARM 2023-07-01 18:40:41 +00:00
Michaël Van Canneyt
1930aaa340 * Make use of copy() without count when rest of string is needed 2023-07-01 18:40:41 +00:00
Michaël Van Canneyt
535107a700 * Split out option parsing in one routine per letter 2023-07-01 18:40:41 +00:00
marcoonthegit
8a0d530eb1 * several extra rtf keys. Patch by Werner fixes #40336 2023-07-01 17:39:08 +02:00
Michaël Van Canneyt
e1befb165e * Fix compilation on windows 2023-07-01 12:43:54 +02:00
Michaël Van Canneyt
ca13ca2089 * Correct default extension logic. 2023-07-01 11:32:56 +02:00
Michaël Van Canneyt
930e49590c * Setting empty should also work. 2023-07-01 11:21:49 +02:00
Michaël Van Canneyt
45d00abddc * Fix typo 2023-07-01 11:19:19 +02:00
Sven/Sarah Barth
c994b5efe8 * fix #39447: when checking whether the parameters are valid for pointer arithmetic check the *correct* parameter for being valid pointer-like type (I'd say that this was a copy&paste mistake...)
+ added test
2023-06-30 17:42:39 +02:00
Sven/Sarah Barth
a20e8b9a3d * fix #40095: when searching a suitable constructor for the custom attribute don't allow the return of a procvar which can happen in Mac/TP procvar modes (like Delphi)
+ added test
2023-06-30 17:12:56 +02:00
Sven/Sarah Barth
78025d90b3 + add a tcallnodeflag value that prohibits the tcallnode.pass_typecheck to return a procvar in case of a call without parameters with a found symbol, but no suitable procdef 2023-06-30 17:11:43 +02:00
Sven/Sarah Barth
c7776d899b * in case there hasn't been an error generated with an invalid attribute declaration then print at least "illegal expression" error 2023-06-30 17:09:52 +02:00
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