Commit Graph

66868 Commits

Author SHA1 Message Date
Pierre Muller
219fedfea6 Restore start section at end of assembler block inside z80 asm reader 2023-05-15 19:51:11 +02:00
mattias
5b4ba67a85 fcl-passrc: started resolver tests for multi errors 2023-05-14 22:28:51 +02:00
Michaël Van Canneyt
5a712a0cde * restore ellipsis 2023-05-14 22:12:52 +02:00
mattias
96e89c43b8 fcl-passrc: refactor ParseStatement 2023-05-14 19:51:50 +02:00
mattias
3db1307ddc fcl-passrc: refactor ParseStatement 2023-05-14 19:26:18 +02:00
mattias
944e4087aa fcl-passrc: refactor ParseStatement, split ParseFor 2023-05-14 17:08:30 +02:00
mattias
5b9d738da0 fcl-passrc: refactor ParseStatement, split ParseElse 2023-05-14 16:59:52 +02:00
mattias
3d7481b2f0 fcl-passrc: less hints 2023-05-14 16:59:29 +02:00
mattias
98f1fdda94 fcl-passrc: parsestatements: simplified 2023-05-14 15:34:58 +02:00
Michaël Van Canneyt
1cdbefe851 Make sure RTL str consts have consistent ending. Fixes issue #40272 2023-05-14 12:48:55 +02:00
mattias
f3c94ccbce fcl-passrc: less hints 2023-05-14 10:01:18 +02:00
Michaël Van Canneyt
b445e679e7 * Add showdeps example to ignore list 2023-05-13 15:15:40 +02:00
Michaël Van Canneyt
4bdf6233c3 * More error recovery: variable (lists) 2023-05-13 15:13:31 +02:00
Michaël Van Canneyt
54a9598084 * Start of error recovery 2023-05-13 12:06:08 +02:00
Michaël Van Canneyt
1750908824 * Fix compilation 2023-05-13 12:06:08 +02:00
mattias
1066a0dbfd pas2js: createSafeCallback: return null for null 2023-05-13 11:24:38 +02:00
mattias
5f757a2313 pastojs: fixed pass non safecall proctype to safecall proc type arg, issue #39261 2023-05-13 11:06:57 +02:00
Henrique Gottardi Werlang
9d7fe32028 The exit code isn't reseted in the pas2js compiler. 2023-05-12 17:54:46 -03:00
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