Commit Graph

66880 Commits

Author SHA1 Message Date
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
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
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
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
Michael VAN CANNEYT
193550945c * Lazarus project file
* Remove unused KnownArchitectures tryout
* Add SUB_TARGET
2023-06-19 07:04:50 +00:00
Michaël Van Canneyt
c94531645a * 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-06-19 07:04:50 +00:00
Michael VAN CANNEYT
5605cebd46 * 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-06-19 07:04:50 +00:00
Sven/Sarah Barth
0b7a771ca9 * 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-06-16 17:28:50 +02:00
Sven/Sarah Barth
e44a33a78b + previous commit also fixes #40143, #40144, #40145, #40308 and #40315, so add the tests for them 2023-06-16 17:03:51 +02:00
Sven/Sarah Barth
08dca09c7e * revert 430bcac389 as with the change that the functions to insert hidden parameters are idempotent this is no longer required and also wrong as uses of the deleted symbols aside from Self and the framepointer would be left dangling 2023-06-16 16:16:58 +02:00
Sven/Sarah Barth
d5a538b590 * ensure that the functions that insert the hidden parameters (function result, open array high parameters, etc.) are idempotent 2023-06-16 16:15:45 +02:00
Pierre Muller
be0c92c65d Set default abi for riscv 32/64 embedded 2023-06-15 15:33:23 +00:00
mattias
63bf4dacbf fcl-pdf: fixed example pdfdump 2023-06-15 11:34:57 +02:00
Rika Ichinose
f20c7b9ae9 Shorter x86_64.inc:inc/declocked. 2023-06-14 21:19:11 +00:00
Rika Ichinose
9249506a2e Shorter i386.inc:fpc_AnsiStr_Decr_Ref. 2023-06-14 21:19:11 +00:00
marcoonthegit
f1fcdcfbc3 * Switched from waitformultiple objects to -handles for xp/w7 compat, closes 40297 2023-06-14 14:22:08 +02:00
Michaël Van Canneyt
90b7c8ace7 * PDF internal link objects, example adapted to show possibility. Fixes issue #40318 2023-06-14 08:30:45 +02:00
Pierre Muller
87e4931489 Fix fullcycle compilation error due to -Sew option
Add 'else' branch to 'case' keyword construct
  for the setting of ABI in riscv32 assembler call.
  Do the same for riscv64 assembler call.
2023-06-14 08:19:06 +02:00
Pierre Muller
f410d8a77c Set defualt riscv32 linux abi to abi_riscv_ipl32 2023-06-13 19:41:02 +00:00
Pierre Muller
0d256f517f Set defualt riscv32 linux abi to abi_riscv_ipl32 2023-06-13 19:39:55 +00:00
Pierre Muller
61e53fd42a Rename variable called section to _section to avoid parsing error for morphos OS 2023-06-11 23:30:18 +02:00
Pierre Muller
ad1812f90a Handle the specific NaN pattern of mips floating-point unit 2023-06-11 15:56:54 +01:00
Michaël Van Canneyt
0f5c126a45 * Correct filename extensions for qoi. Fixes issue #40314 2023-06-10 22:29:26 +02:00
marcoonthegit
9bfb45dc05 * move ifdefed part from tvitem* to tvitemex*, closes #40312 2023-06-10 16:57:11 +02:00
Pierre Muller
3770b55ce1 Disable substitution by environment variables in message comment related functions 2023-06-07 01:02:28 +02:00
Pierre Muller
627fd6bce1 Add new substitute_env_variables parameter for DefaultReplacements function (with default true value) 2023-06-07 01:02:28 +02:00
mattias
add67ca0e3 fcl-web: fixed compile 2023-06-06 15:43:52 +02:00
mattias
7056ec1a87 fcl-web: made TFPCustomHTTPServer.CreateUpgradeHandlerList virtual 2023-06-06 15:09:32 +02:00