Commit Graph

66993 Commits

Author SHA1 Message Date
florian
ea07d557fb * check properly for the supported cpu type, resolves #40298 2023-11-08 23:39:15 +01:00
Nikolay Nikolov
36c1af4d17 * fixed ppudump for WebAssembly after the JS Promise Integration branch merge 2023-11-08 23:39:15 +01:00
florian
5ee67531a8 * cleanup 2023-11-08 23:39:15 +01:00
Michaël Van Canneyt
7744812803 * Fix compilation for ARM 2023-11-08 23:39:15 +01:00
Michaël Van Canneyt
7459eb48b2 * Make use of copy() without count when rest of string is needed 2023-11-08 23:39:15 +01:00
Michaël Van Canneyt
63777620d8 * Split out option parsing in one routine per letter 2023-11-08 23:39:15 +01:00
marcoonthegit
431a614422 * several extra rtf keys. Patch by Werner fixes #40336 2023-11-08 23:39:15 +01:00
Michaël Van Canneyt
939ccf21dd * Fix compilation on windows 2023-11-08 23:39:15 +01:00
Michaël Van Canneyt
123725ccce * Correct default extension logic. 2023-11-08 23:39:15 +01:00
Michaël Van Canneyt
fd3af20856 * Setting empty should also work. 2023-11-08 23:39:15 +01:00
Michaël Van Canneyt
3fd8936005 * Fix typo 2023-11-08 23:39:14 +01:00
Sven/Sarah Barth
125ee4c736 * 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-11-08 23:39:14 +01:00
Sven/Sarah Barth
56a0a9f34c * 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-11-08 23:39:14 +01:00
Sven/Sarah Barth
8227012197 + 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-11-08 23:39:14 +01:00
Sven/Sarah Barth
4778c05d9d * in case there hasn't been an error generated with an invalid attribute declaration then print at least "illegal expression" error 2023-11-08 23:39:14 +01:00
Sven/Sarah Barth
c370aa3de5 * fix typo in comment 2023-11-08 23:39:14 +01:00
Sven/Sarah Barth
7556d7c4df * fix #40331: for enumeration with holes (that don't have type information) use the binary comparers
+ added test
2023-11-08 23:39:14 +01:00
Sven/Sarah Barth
eea933a348 * move check for whether to use binary comparer functionality to a static function of TComparerService 2023-11-08 23:39:14 +01:00
Sven/Sarah Barth
ed50c14c4c * ensure that the ATypeInfo parameter is valid before checking it 2023-11-08 23:39:14 +01:00
Sven/Sarah Barth
b26ce44cc6 * test added for #40332 is supposed to fail 2023-11-08 23:39:14 +01:00
Sven/Sarah Barth
0668e9dd22 * 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-11-08 23:39:14 +01:00
Michaël Van Canneyt
9bc5ec02e5 * Small fix by Alexey Torgashin. Fixes issue #40335 2023-11-08 23:39:13 +01:00
Michaël Van Canneyt
7414a5f933 * Small optimization of WriteIdent. fixes issue #40334 2023-11-08 23:39:13 +01:00
Michaël Van Canneyt
63f3a9afd1 * Fix compilation. 2023-11-08 23:39:13 +01:00
Sven/Sarah Barth
dcb515f702 * 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-11-08 23:39:13 +01:00
Sven/Sarah Barth
d40437901e * don't insert anonymous functions into a withsymtable
+ added test
2023-11-08 23:39:13 +01:00
Sven/Sarah Barth
2eac11a8ab * fix typo in comment 2023-11-08 23:39:13 +01:00
Sven/Sarah Barth
d39cce0ed4 * 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-11-08 23:39:13 +01:00
Sven/Sarah Barth
02110326da * for unique type aliases keep track of the original def
* increase PPU version
2023-11-08 23:39:13 +01:00
mattias
bab863037b fcl-web: TWSFramePayload.ReadData: check for endless loop and wait for new data 2023-11-08 23:39:13 +01:00
mattias
a1b9f8cf82 fcl-net: fixed range check error 2023-11-08 23:39:13 +01:00
mattias
5e47e32b24 fcl-web: less hints 2023-11-08 23:39:12 +01:00
mattias
bf76427677 fcl-web: added TCustomWebsocketUpgrader.OnConnect 2023-11-08 23:39:12 +01:00
Michael VAN CANNEYT
c68b9d8386 * Remove unused KnownArchitectures tryout 2023-11-08 23:39:12 +01:00
Michael VAN CANNEYT
3b5be9cc3b * Handle ARCH_TARGET/ARCH_SOURCE 2023-11-08 23:39:12 +01:00
Michael VAN CANNEYT
76177a7de8 * Remove unused KnownArchitectures tryout 2023-11-08 23:39:12 +01:00
Michaël Van Canneyt
4b5d3848b6 * Initialize result string 2023-11-08 23:39:12 +01:00
mattias
f2d659b6ea fcl-pdf: fixed dump hexstring 2023-11-08 23:39:12 +01:00
mattias
567db35635 fcl-pdf: less hints 2023-11-08 23:39:12 +01:00
mattias
a1526a4fc4 fcl-pdf: less hints 2023-11-08 23:39:12 +01:00
Michaël Van Canneyt
e96653b8bd * Additional fix 2023-11-08 23:39:12 +01:00
Michaël Van Canneyt
38ec66e867 * Fix for i386 breakage after merge request !433 2023-11-08 23:39:12 +01:00
Jinyang He
6f9c217fb6 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-11-08 23:39:12 +01:00
Jinyang He
76fd7a9383 Use prlimit64 in FpSetRLimit and FpSetRLimit 2023-11-08 23:39:11 +01:00
Jinyang He
6a2045567f fix store stacklength but not its addr in info 2023-11-08 23:39:11 +01:00
Jinyang He
8a236528e7 fix when FPC_USE_LIBC is disabled not call PASCALMAIN 2023-11-08 23:39:11 +01:00
Jinyang He
be7d51c13c Fix the init state of LoongArch FPU exception bit 2023-11-08 23:39:11 +01:00
Jinyang He
25910f2d4c Support use statx syscall in fpstat and fpfstat 2023-11-08 23:39:11 +01:00
Jinyang He
213efb4ce8 set default result in TPCUWriter.IsExternalEl 2023-11-08 23:39:11 +01:00
florian
a225cae851 * 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-11-08 23:39:11 +01:00