Commit Graph

66750 Commits

Author SHA1 Message Date
mattias
6ec8c9e2a2 passrc: test issue 39216 2023-05-12 22:21:07 +02:00
mattias
d96f9b8059 fcl-passrc: fixed adding specialized type behind array 2023-05-12 22:12:37 +02:00
mattias
12405f9ee4 fcl-passrc: fixed compile 2023-05-12 22:12:18 +02:00
Pierre Muller
7c64bce04e Set defdynlinker depending on selected ABI for riscv32 and riscv64 2023-05-11 16:21:05 +00:00
Pierre Muller
0efa4cbc67 Attempt to use local _init and _fini procedures 2023-05-11 01:02:04 +00:00
Pierre Muller
a304962ea0 Try to implement linux si_uc.inc for xtensa CPU 2023-05-11 01:02:04 +00:00
Pierre Muller
665670ae01 Add -EB or -EL paramter to xtensa assembler call (Warning: this requires a patched 2.40 release\!) 2023-05-11 01:02:04 +00:00
Pierre Muller
4750840e89 Specify endianess and abi when calling xtensa linker 2023-05-11 01:02:04 +00:00
Pierre Muller
60cff917ba Only modify softfloat_exception_mask, as this is not handled equally for all CPUs with GetEXceptionMask/SetExceptionMask 2023-05-10 15:16:24 +01:00
Pierre Muller
24acfb8064 * Use correct sizeof to check if entry size is large enough 2023-05-10 07:38:28 +01:00
Pierre Muller
c00fe41625 Fix error leading to Makefile error for all non AVR CPUs even when SUBARCH is set 2023-05-09 22:45:35 +02:00
Pierre Muller
b53034705f Use GetExceptionMask/SetExceptionMask to avoid floating point exception inside FPC_SOFT_FFPUX80 code 2023-05-06 10:03:26 +02:00
Pierre Muller
01ad5f2c28 Set macro iconv_is_in_libc for FreeBSD OS 2023-05-05 14:27:58 +02:00
Pierre Muller
f720ea3a21 Restrict previous change to compilers that do not have 10-byte extended type 2023-05-04 22:54:59 +02:00
Pierre Muller
bb407aa135 Fix for tentryfile.getreal with FPC_SOFT_FPUX80, putreal still needs the same change 2023-05-04 00:23:30 +02:00
Ondrej Pokorny
af476351f5 TPQConnection.Execute fixes 2023-05-03 08:38:03 +00:00
J. Gareth "Curious Kit" Moreton
0a89e68d55 * Added test to attempt to catch access violation caused by faulty optimisation (i40165) 2023-04-30 22:25:55 +00:00
J. Gareth "Curious Kit" Moreton
e40996cd2c * Fixed bug in "JccMovJmpMov2CMovCMov" optimisation where it didn't track registers in references getting changed 2023-04-30 22:25:55 +00:00
Pierre Muller
144ee6d51d Add missing swaping in case of different endianess of stab entry inside TInternalAssembler.WriteStab 2023-04-30 21:23:06 +02:00
Ondrej Pokorny
262904b8c1 httpserver: make sure that socket is freed even if StartServerSocket raised an exception 2023-04-29 13:11:53 +00:00
marcoonthegit
e74d89ce62 * patch by Dean Mustakinov to improve commandline quote handling on Windows, resolves #40189 2023-04-29 13:11:11 +02:00
marcoonthegit
ec7f2e6871 * own solution that resolves #40127 :
- attempt to read scanlines through the buffer till it is drained for types 4,5,6
2023-04-28 22:17:50 +02:00
Michaël Van Canneyt
f0f42ca2a2 * Add const for string where possible. Fixes issue #40051 2023-04-26 22:19:53 +02:00
marcoonthegit
8fc5324111 * 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-04-26 17:30:00 +02:00
marcoonthegit
a74bee2cb1 * 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-04-26 16:38:22 +02:00
Michaël Van Canneyt
ce44efdae3 * Use const string where possible. Fix issue #40047 2023-04-26 12:06:31 +02:00
Michaël Van Canneyt
75256399b8 * Some nested loop improvements. fixes issue #40250 2023-04-25 08:39:20 +02:00
Michaël Van Canneyt
5da20fc860 * Some nested loop improvements. fixes issue #40250 2023-04-25 08:36:33 +02:00
Pierre Muller
148e4abd0a Add aarch64-freebsd c object files 2023-04-24 18:23:01 +02:00
marcoonthegit
4d0b397029 * more loopvar sorting by Lagwaggon. 2023-04-23 15:54:06 +02:00
marcoonthegit
8d0b822a27 * check for frac(dt) being slightly lower than a whole number. Patch by Werner P
Resolves #40140
2023-04-23 12:32:53 +02:00
marcoonthegit
facf28fb29 * fix from Werner P. Setter for clipregion to fix memory leak.
resolves #40232
2023-04-23 11:24:01 +02:00
Pierre Muller
11a390117c Improve test for unaligned access 2023-04-21 20:46:11 +00:00
Pierre Muller
dc04a8a677 Fix storing of unaligned 64-bit to memory 2023-04-21 10:32:13 +01:00
marcoonthegit
fba564242e * remove unused variable, reported by lagwagging on on forum. 2023-04-20 16:31:33 +02:00
Rika Ichinose
c88751a610 Re-enable QSort killer O(N²) detection, make it deterministic and instant, and make the killer itself universal. 2023-04-19 18:23:14 +00:00
Michaël Van Canneyt
3a4b494bf1 * No need to check standalone if no tag 2023-04-17 11:06:01 +02:00
marcoonthegit
322e8ca7e3 * fix #40242 by inverting some more x and y loops 2023-04-14 16:39:54 +02:00
Michaël Van Canneyt
3b58e18065 * Fix from Bart for range check error. Fix issue #40240 2023-04-13 21:18:51 +02:00
Rika Ichinose
b56cbad50e Supposedly faster FillChar for x64. 2023-04-13 15:55:42 +00:00
mattias
e8546a9e41 rtl: classes: added parameter aName to TFindComponentClassExEvent 2023-04-13 15:33:38 +02:00
Pierre Muller
aaf356ba9f Avoid read past buffer end for empty source when checking for utf-8 signature 2023-04-12 20:10:44 +02:00
marcoonthegit
8e7572faba * small cleanup, remove redundant result assignment and unused variable (from Lagprogramming on forum) 2023-04-11 14:13:39 +02:00
marcoonthegit
5e47b4a7b9 * switch loops in TFPCustomCanvas.Erase closes #40246 2023-04-11 11:16:37 +02:00
mattias
6fe22044e7 fcl-css: ECSSException, resolver log warnings 2023-04-07 15:55:01 +02:00
mattias
b6fec2c97e fcl-css: equals 2023-04-07 14:51:19 +02:00
Pierre Muller
892220d6fe Treat -Cb / -Cb- options in first pass (to be able to use FPC_BIG_ENDIAN inside .fpc.cfg config file) 2023-04-06 16:49:40 +02:00
Pierre Muller
2a4ca98e85 Use systems_darwin set for supported targets for as_clang_llvm_darwin 2023-04-06 14:40:15 +00:00
Pierre Muller
3855625b8d Add tf_use_psabieh for LLVM for x86_64-iphonesim, aarch64-ios and aarch64-iphonesim targets 2023-04-05 00:01:03 -05:00
florian
a807144ead * patch by Rika: Fix and possible simplification of SanitiseXMLString, part of #39800 2023-04-04 23:21:14 +02:00