Commit Graph

66755 Commits

Author SHA1 Message Date
Pierre Muller
2664c94e97 Attempt to use local _init and _fini procedures 2023-11-08 23:29:00 +01:00
Pierre Muller
4af7c6e121 Try to implement linux si_uc.inc for xtensa CPU 2023-11-08 23:28:59 +01:00
Pierre Muller
55f9e94ac0 Add -EB or -EL paramter to xtensa assembler call (Warning: this requires a patched 2.40 release\!) 2023-11-08 23:28:59 +01:00
Pierre Muller
da0f24f06c Specify endianess and abi when calling xtensa linker 2023-11-08 23:28:59 +01:00
Pierre Muller
94e4c95c11 Only modify softfloat_exception_mask, as this is not handled equally for all CPUs with GetEXceptionMask/SetExceptionMask 2023-11-08 23:28:59 +01:00
Pierre Muller
64b10d4167 * Use correct sizeof to check if entry size is large enough 2023-11-08 23:28:59 +01:00
Pierre Muller
d91cca1caa Fix error leading to Makefile error for all non AVR CPUs even when SUBARCH is set 2023-11-08 23:28:59 +01:00
Pierre Muller
978575f22d Use GetExceptionMask/SetExceptionMask to avoid floating point exception inside FPC_SOFT_FFPUX80 code 2023-11-08 23:28:59 +01:00
Pierre Muller
2ddd854ca8 Set macro iconv_is_in_libc for FreeBSD OS 2023-11-08 23:28:59 +01:00
Pierre Muller
bf08d7c904 Restrict previous change to compilers that do not have 10-byte extended type 2023-11-08 23:28:59 +01:00
Pierre Muller
a6bb3cfec5 Fix for tentryfile.getreal with FPC_SOFT_FPUX80, putreal still needs the same change 2023-11-08 23:28:59 +01:00
Ondrej Pokorny
8bad8bfa9b TPQConnection.Execute fixes 2023-11-08 23:28:59 +01:00
J. Gareth "Curious Kit" Moreton
60c320a5af * Added test to attempt to catch access violation caused by faulty optimisation (i40165) 2023-11-08 23:28:59 +01:00
J. Gareth "Curious Kit" Moreton
7b2da347fd * Fixed bug in "JccMovJmpMov2CMovCMov" optimisation where it didn't track registers in references getting changed 2023-11-08 23:28:58 +01:00
Pierre Muller
0a297b1e2d Add missing swaping in case of different endianess of stab entry inside TInternalAssembler.WriteStab 2023-11-08 23:28:58 +01:00
Ondrej Pokorny
eaf4cffad8 httpserver: make sure that socket is freed even if StartServerSocket raised an exception 2023-11-08 23:28:58 +01:00
marcoonthegit
1ac8d5d221 * patch by Dean Mustakinov to improve commandline quote handling on Windows, resolves #40189 2023-11-08 23:28:58 +01:00
marcoonthegit
f320375fe8 * own solution that resolves #40127 :
- attempt to read scanlines through the buffer till it is drained for types 4,5,6
2023-11-08 23:28:58 +01:00
Michaël Van Canneyt
808c201a68 * Add const for string where possible. Fixes issue #40051 2023-11-08 23:28:58 +01:00
marcoonthegit
2fd15495ac * first set of #40051, up to db.pp
* reverted change to a virtual method.

* second batch up to sqlscript

* up to sqldblib, skipping dbase/ (which is shortstring based)
2023-11-08 23:28:58 +01:00
marcoonthegit
1efbeac5e7 * some string parameters made const in fppdf units.
Resolves #40044 by Alexey T.

 Note that AddIntArray was not changed, the variable is changed inside the method
2023-11-08 23:28:58 +01:00
Michaël Van Canneyt
11db916d53 * Use const string where possible. Fix issue #40047 2023-11-08 23:28:58 +01:00
Michaël Van Canneyt
aa8652200a * Some nested loop improvements. fixes issue #40250 2023-11-08 23:28:57 +01:00
Michaël Van Canneyt
3a818bd6bb * Some nested loop improvements. fixes issue #40250 2023-11-08 23:28:57 +01:00
Pierre Muller
5f86d78678 Add aarch64-freebsd c object files 2023-11-08 23:28:57 +01:00
marcoonthegit
9237c040fb * more loopvar sorting by Lagwaggon. 2023-11-08 23:28:57 +01:00
marcoonthegit
815039541f * check for frac(dt) being slightly lower than a whole number. Patch by Werner P
Resolves #40140
2023-11-08 23:28:57 +01:00
marcoonthegit
a679cb040a * fix from Werner P. Setter for clipregion to fix memory leak.
resolves #40232
2023-11-08 23:28:57 +01:00
Pierre Muller
4defdd4e30 Improve test for unaligned access 2023-11-08 23:28:57 +01:00
Pierre Muller
0048a91e15 Fix storing of unaligned 64-bit to memory 2023-11-08 23:28:57 +01:00
marcoonthegit
854c4c9fcd * remove unused variable, reported by lagwagging on on forum. 2023-11-08 23:28:57 +01:00
Rika Ichinose
b34d51c261 Re-enable QSort killer O(N²) detection, make it deterministic and instant, and make the killer itself universal. 2023-11-08 23:28:56 +01:00
Michaël Van Canneyt
4b3742881b * No need to check standalone if no tag 2023-11-08 23:28:56 +01:00
marcoonthegit
30aaa6127c * fix #40242 by inverting some more x and y loops 2023-11-08 23:28:55 +01:00
Michaël Van Canneyt
ec134a2117 * Fix from Bart for range check error. Fix issue #40240 2023-11-08 23:28:55 +01:00
Rika Ichinose
05b4393177 Supposedly faster FillChar for x64. 2023-11-08 23:28:55 +01:00
mattias
6f5cb391ce rtl: classes: added parameter aName to TFindComponentClassExEvent 2023-11-08 23:28:55 +01:00
Pierre Muller
59fffa4f3a Avoid read past buffer end for empty source when checking for utf-8 signature 2023-11-08 23:28:55 +01:00
marcoonthegit
0d54ae1e8d * small cleanup, remove redundant result assignment and unused variable (from Lagprogramming on forum) 2023-11-08 23:28:55 +01:00
marcoonthegit
b3a2162491 * switch loops in TFPCustomCanvas.Erase closes #40246 2023-11-08 23:28:55 +01:00
mattias
ae6f631ba2 fcl-css: ECSSException, resolver log warnings 2023-11-08 23:28:55 +01:00
mattias
27e13e3d17 fcl-css: equals 2023-11-08 23:28:55 +01:00
Pierre Muller
7c46921657 Treat -Cb / -Cb- options in first pass (to be able to use FPC_BIG_ENDIAN inside .fpc.cfg config file) 2023-11-08 23:28:55 +01:00
Pierre Muller
25ca59bfd4 Use systems_darwin set for supported targets for as_clang_llvm_darwin 2023-11-08 23:28:55 +01:00
Pierre Muller
6244f7c47c Add tf_use_psabieh for LLVM for x86_64-iphonesim, aarch64-ios and aarch64-iphonesim targets 2023-11-08 23:28:54 +01:00
florian
3d16d6ee5e * patch by Rika: Fix and possible simplification of SanitiseXMLString, part of #39800 2023-11-08 23:28:54 +01:00
Rika Ichinose
356aeaee12 Handle Index* / Compare* tail by directly reading last VECSIZE bytes, if there was at least one full vector. 2023-11-08 23:28:54 +01:00
mattias
4a62e39534 fcl-web: fixed av on logging TFPHTTPConnection.DoHandleRequest 2023-11-08 23:28:54 +01:00
mattias
acd42bfbfa fcl-web: comment 2023-11-08 23:28:54 +01:00
mattias
04111de1e7 fcl-base: TAVLTree: do not use LazNodeMemManager by default for thread safety 2023-11-08 23:28:54 +01:00