Commit Graph

67128 Commits

Author SHA1 Message Date
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
Nikolay Nikolov
35810c1e64 - rm commented out debug writeln left over from previous commit 2023-11-08 23:39:11 +01:00
Nikolay Nikolov
20a1f0f49a + disallow using sizeof() and bitsizeof() on WebAssembly reference types 2023-11-08 23:39:08 +01:00
Nikolay Nikolov
e3f0f30e8f + added comment for the new error message 2023-11-08 23:36:41 +01:00
Nikolay Nikolov
37c4ec8681 + disallow WebAssembly reference types in records, objects and classes 2023-11-08 23:36:39 +01:00
Michaël Van Canneyt
2b29f9a6d3 * Alphacolors, enhanced patch from Mattias 2023-11-08 23:36:03 +01:00
Michael VAN CANNEYT
a2e440bbdf * Check that system unit is actually loaded before using it to search for system symbols
(cherry picked from commit 9e5ee68887)
2023-11-08 23:36:01 +01:00
Michael VAN CANNEYT
85741e53ce * Do not crash when module pointer is nil
(cherry picked from commit e6f71b6acc)
2023-11-08 23:35:34 +01:00
Michaël Van Canneyt
23d63421ae * Make compression struct accessible to descendants. Fixes issue #40327 2023-11-08 23:35:34 +01:00
Michael VAN CANNEYT
d865f7b4e5 * Refactor, so the combination CPU-OS-SubTarget is a record. Allows for extension if need be 2023-11-08 23:35:34 +01:00
Michael VAN CANNEYT
9fc8bc5210 * Lazarus project file
* Remove unused KnownArchitectures tryout
* Add SUB_TARGET
2023-11-08 23:35:34 +01:00
Michaël Van Canneyt
53b4acbcca * Implement -t options for fpc executable
* Remove some debugging statements
* Refactor processorname -> suffix name for clarity of flow
* Refactor initialization of binary and processor name for clarity of flow
* Rename variables for clarity
* subroutine to simplify command-line handling
* Limited subtarget config file parsing to detect -V
* Specifying multiple -V should not give an error but warn, as for -T or -t
2023-11-08 23:35:34 +01:00
Michael VAN CANNEYT
1c96f1007b * Implement -t and -x options
* Fix spurious warning of already specified -t
* If no subtarget file found, error out instead of hint/warn
* Globals needs subtarget for macro substitution
2023-11-08 23:35:27 +01:00
Nikolay Nikolov
a3956b14cb * bump CurrentPPULongVersion 2023-11-08 23:34:57 +01:00
Nikolay Nikolov
919a4fdbd2 + comments for the new error messages 2023-11-08 23:34:57 +01:00
Sven/Sarah Barth
7037635825 * fix #40221: don't allow a conversion from an anonymous function to a procvar type if compare_defs_ext already rejected them
+ added tests
2023-11-08 23:34:57 +01:00