Commit Graph

66853 Commits

Author SHA1 Message Date
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
mattias
1ab29086f8 rtl: fixed indentation 2023-06-06 14:30:07 +02:00
Michaël Van Canneyt
1afe0114d4 * Correct name 2023-06-05 14:55:05 +02:00
Michaël Van Canneyt
92eab370c3 * Add some methods for improved DUnit compatibility 2023-06-05 14:41:44 +02:00
Michaël Van Canneyt
1d7e346831 * Disable result, explicit list cmmand-line argument 2023-06-05 11:43:07 +02:00
Michaël Van Canneyt
21f57606a6 * GetAttribute call 2023-06-05 11:43:07 +02:00
Michaël Van Canneyt
4d66ac9118 * Add PProcedureSignature 2023-06-05 11:43:07 +02:00
Michaël Van Canneyt
b8738944ed * Add TNoRefCountObject (delphi compatibility) 2023-06-05 11:43:07 +02:00
Sven/Sarah Barth
d24eeffa2b * fix #40293: have the SysUtils unit use the TArray<> declaration in the ObjPas unit instead of declaring it again 2023-06-03 18:10:45 +02:00
Michaël Van Canneyt
462536ca9b * Forgot to add file 2023-06-02 12:02:10 +02:00
Michaël Van Canneyt
a50be08348 * Reorganize tests in more clear sets 2023-06-01 18:17:41 +02:00
Michaël Van Canneyt
bcdd3cd84b * Correct command-line handling 2023-06-01 17:41:54 +02:00
Michaël Van Canneyt
6e324989eb * Delphi compatibility: Add conversion between TValue from/to variant and TVarRec 2023-06-01 17:41:54 +02:00
florian
52147baa04 * correct tripletcpustr, resolves #40301 2023-05-31 20:26:50 +02:00
Michael VAN CANNEYT
a3f441b590 * loongarch64 architecture reinstated 2023-05-31 09:40:43 +02:00
Michael VAN CANNEYT
babcb631f8 * Delegate darwin ifdef out of program flow, towards const, for clarity 2023-05-31 09:34:24 +02:00
Michael VAN CANNEYT
c0893e5c16 * get rid os some warnings 2023-05-31 09:34:24 +02:00
Michael VAN CANNEYT
c6effbd676 * Refactor: add utility routine to handle command-line changes 2023-05-31 09:34:24 +02:00
Michael VAN CANNEYT
a52b3522dc * Refactor: Rename some variables for clarity 2023-05-31 09:34:24 +02:00
Michael VAN CANNEYT
647f211aa5 Refactor check for -PB and -PP for clarity of flow 2023-05-31 09:34:23 +02:00
Michael VAN CANNEYT
5d104c9115 Refactor initialization of binary and processor name for clarity of flow 2023-05-31 09:34:23 +02:00
Michael VAN CANNEYT
27476a915b * Refactor processorname -> suffix name for clarity of flow 2023-05-31 09:34:23 +02:00
Michaël Van Canneyt
5ee294f224 * GetExtendedFieldinfo, patch to fix #40300 2023-05-30 14:24:52 +02:00
Michaël Van Canneyt
8696ca652d * Emit comments in RTTI info for classes/interfaces 2023-05-29 13:41:25 +00:00
Michaël Van Canneyt
0515be62b4 * Add option to allow emitting comments in RTTI info 2023-05-29 13:41:25 +00:00
marcoonthegit
f0debbe649 * change HDEVNOTIFY to lpvoid/pointer instead of thandle 2023-05-29 13:32:44 +02:00
marcoonthegit
67eac52f07 * RegisterDeviceNotification 2023-05-28 21:37:54 +02:00
marcoonthegit
fc8b28eecd * change types of method from integre to single for tpointf (probably copy-paste the interface error from integer TPoint ) 2023-05-28 15:55:47 +02:00