Commit Graph

70888 Commits

Author SHA1 Message Date
Lipinast Lekrisov
2469fe8d70 Fixed TRttiRecordType.ResolveProperties (records do not have a published section) 2024-11-03 20:28:09 +00:00
Lipinast Lekrisov
f7bcabd956 Added TRttiIndexedProperty, the whole property handling infrastructure has been significantly redesigned 2024-11-03 18:07:45 +00:00
Rika Ichinose
2596af84fa Optimize {$DEFINE x := y} and refactor tmacro.buftext. 2024-11-03 17:33:44 +00:00
J. Gareth "Curious Kit" Moreton
2a50d5abf8 * ARMv7A / A64: Constant writes to memory merged to larger forms where possible 2024-11-03 15:02:51 +00:00
Rika Ichinose
7343a12908 Use “set of (op_unary, op_binary)” to check for supported operator overloads. 2024-11-03 14:52:26 +00:00
Rika Ichinose
bff561063f Use TFPList.FreeAndNilDisposing in four more places. 2024-11-03 14:39:24 +00:00
florian
183a10b292 * avoid code duplication :) 2024-11-03 15:37:50 +01:00
Frederic Kehrein
1778fb6fe3 Implementing TImplementedInterface.getcopy to allow copying of interfaced objectcs
It's probably not fully correct(see comment about procdef copy) but
seems good enough ¯\_(ツ)_/¯
2024-11-03 14:08:45 +00:00
florian
4cf202180e * really fix bootstrapping with 3.2.2 on arm-linux 2024-11-02 22:32:40 +01:00
Rika Ichinose
7a963ac56a Align htypechk.pas:is_better_candidate to the left edge of the screen. 2024-11-02 18:53:30 +03:00
florian
bea36238e7 * generate fmrx instruction only if the cpu has the vfp extension, resolves #40985 2024-11-01 22:29:11 +01:00
Karoly Balogh
5acf85a932 rtl-console/amicommon: added a way to redefine colors externally in the video unit 2024-11-01 17:37:07 +01:00
Michaël Van Canneyt
f8b454779f * Bridge to allow system.regexp* to work 2024-11-01 17:19:55 +01:00
Michaël Van Canneyt
5d0e2993fa * Needed for unicode rtl 2024-11-01 17:15:57 +01:00
Michaël Van Canneyt
f7b9eac515 * Only build simplewebserver for oses with sockets 2024-11-01 17:07:33 +01:00
Michaël Van Canneyt
d790d7bf50 * Build on top of new fpsimpleserver 2024-11-01 16:49:51 +01:00
Michaël Van Canneyt
9352e09849 * Move simple server to unit so it can be reused (pas2js webcompiler) 2024-11-01 16:49:51 +01:00
Sven/Sarah Barth
782b707763 * clarify purpose of texrtti18 and texrtti19 2024-11-01 15:31:20 +01:00
Sven/Sarah Barth
823b376a9d * texrtti18.pp is no longer relevant due to 59a1199110 which adds support for array properties in Extended RTTI, so move the new texrtti20.pp over to texrtti18.pp 2024-11-01 15:30:18 +01:00
Michaël Van Canneyt
dfb4015067 * Show info in a more structured way
* Allow to compile with FPC 3.2.2
* Fix --coi option.
* Allow to specify custom response headers in config file [Headers] section
2024-11-01 11:44:22 +01:00
Michaël Van Canneyt
18e519963f + Allow customization of response through callback
+ Allow customization of response through custom headers
+ Log error conditions (403,400,404)
2024-11-01 11:44:22 +01:00
florian
99a9cfbc71 + additional test 2024-11-01 10:52:35 +01:00
florian
63734fb792 * unnecessary directives removed 2024-10-31 22:35:04 +01:00
Karoly Balogh
7a31353164 rtl/amicommon: fix some comment typos in Sysutils unit. No functional change. 2024-10-31 22:28:17 +01:00
Karoly Balogh
a602ae8685 rtl/amicommon: fix some comment typos in DOS unit. No functional change. 2024-10-31 22:28:17 +01:00
Karoly Balogh
ac4f90b4a7 rtl/amicommon: reduce the string sizes in the IllegalDevice list of DOS unit. This in turn reduces binary sizes by almost 3 KiB. 2024-10-31 22:28:17 +01:00
Nikolay Nikolov
800fb6624e + added a missing 'br 1' instruction in the code, generated by
GenerateCode_InitSharedMemory. This should fix the loading error in browsers,
  when using multithreading.
2024-10-31 22:55:17 +02:00
Frederic Kehrein
59a1199110 Adding support for indexed properties in extended RTTI 2024-10-31 14:51:00 +00:00
Karoly Balogh
51dcae0285 rtl/amiga: fixed missing charset unit in implicitunits 2024-10-30 23:22:26 +01:00
florian
b7edddf9d9 * do not eat the semicolon after an absolute expression to a symbol, noted in #40978 2024-10-30 22:45:48 +01:00
florian
b28681e91d * properly reject function calls as target of absolute, resolves #40977
* better error message on invalid expressions for absolute
2024-10-29 22:23:25 +01:00
Michaël Van Canneyt
31448dcf03 * Forgot to commit 2024-10-29 14:16:40 +01:00
Michaël Van Canneyt
77cb7cd454 * Remove references to openAPI 2024-10-29 13:43:51 +01:00
Michaël Van Canneyt
4f10c539ba * Refactor to use jsonwriter 2024-10-29 09:05:10 +01:00
Michaël Van Canneyt
a99ddc3753 * JSON Writer 2024-10-29 09:01:11 +01:00
florian
d544313698 * bootstrapping fix with 3.2 for arm-linux 2024-10-28 22:25:10 +01:00
Pierre Muller
34b6d4f572 Pass -ll option to prepup utility to include longlog file into tar.gz testsuite results 2024-10-28 11:00:27 +01:00
Rika Ichinose
ba7a76bf37 Allow MemSize(nil) to match FreeMem(nil). 2024-10-27 21:49:05 +03:00
Rika Ichinose
c08d73054a Return MemSize from FreeMem. 2024-10-27 21:44:01 +03:00
florian
75d7b66bdf * compilation fixed
* cosmetics: trailing spaces removed
2024-10-27 17:54:34 +01:00
Rika Ichinose
8784dbc095 Outline freeing TFPList with disposing its items into TFPList.FreeAndNilDisposing. 2024-10-27 16:45:35 +00:00
Rika Ichinose
510a281c3f Use a set instead of boolean arguments to TCallCandidates. 2024-10-27 16:45:35 +00:00
Rika Ichinose
326776c7fa Turn TCallCandidates into an object, make it create FIgnoredCandidateProcs on demand, and outline such adding on demand into dedicated TFPList.AddOnDemand. 2024-10-27 16:45:35 +00:00
Michaël Van Canneyt
b74411cf03 * Patch from Lipinast Lekrisov to implement setting method-type properties. Fixes issue #40970 2024-10-27 09:49:36 +01:00
J. Gareth "Curious Kit" Moreton
8520dabebb * x86: New RET/lbl/RET optimisation 2024-10-27 08:17:10 +00:00
J. Gareth "Curious Kit" Moreton
8bb3367a49 * x86: Refactored SetCC optimisations to better
spot label clusters and alignment hints.
2024-10-27 08:17:10 +00:00
Rika Ichinose
6e655eb5a3 Remove fpc_varset_* indirections if SSE support is guaranteed. 2024-10-27 08:16:25 +00:00
florian
f626efef37 * example does not need cwstring unit 2024-10-27 09:13:18 +01:00
Michaël Van Canneyt
06eaec4313 * Fix compilation under unicode rtl 2024-10-26 23:41:28 +02:00
Michaël Van Canneyt
f641987464 * Pascal code generation starting from json-schema 2024-10-26 23:27:36 +02:00