Commit Graph

66717 Commits

Author SHA1 Message Date
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
Rika Ichinose
8e884d9acd Handle Index* / Compare* tail by directly reading last VECSIZE bytes, if there was at least one full vector. 2023-04-03 20:08:56 +00:00
mattias
c0f9878e2f fcl-web: fixed av on logging TFPHTTPConnection.DoHandleRequest 2023-04-03 11:46:26 +02:00
mattias
8bb8e5716e fcl-web: comment 2023-04-03 10:52:18 +02:00
mattias
854d110894 fcl-base: TAVLTree: do not use LazNodeMemManager by default for thread safety 2023-04-02 21:17:49 +02:00
mattias
342f9c58cd fcl-base: TAVLTree.FreeAndClear: clear Root while freeing to avoid accidental access 2023-04-02 21:14:44 +02:00
florian
8f3cce556d * some error messages use nicer symbol names 2023-04-01 22:34:37 +02:00
Nikolay Nikolov
1eca53a681 + support 16-bit pointers in TFPList.IndexOf 2023-04-01 21:50:56 +03:00
Nikolay Nikolov
538f8201e2 + support 16-bit pointer size in TFPGInterfacedObjectList.IndexOf 2023-04-01 21:49:33 +03:00
Nikolay Nikolov
34471a6403 + support 16-bit pointer size in TFPGObjectList.IndexOf 2023-04-01 21:48:32 +03:00
Nikolay Nikolov
4143912b72 * use a TFPList, instead of a dynamic array in twasmnodeutils.InsertObjectInfo.
No functional changes.
2023-04-01 17:17:42 +03:00
Michael Van Canneyt
5ec1ab2164 * Convert to HTTP app 2023-04-01 15:16:02 +02:00
Michael Van Canneyt
acdde37429 * Logging demo 2023-04-01 15:16:02 +02:00
Nikolay Nikolov
e82c98bfce * wasm32: generate module info by traversing through current_module and its
used_units list recursively. This should fix #40229
2023-04-01 04:25:15 +03:00
florian
e40f997a40 * another patch to fix #40223 2023-03-31 23:45:45 +02:00
Michael Van Canneyt
6ff542a13e * SafeFormat and helper function to convert array of const to string in a safe manner 2023-03-31 22:13:05 +02:00
Michael Van Canneyt
3d08253192 * JSON-RPC 2.0 allows params to be optional 2023-03-31 20:33:32 +02:00
Michael Van Canneyt
f2696ef1c8 * Add HTTP logging mechanism 2023-03-31 19:14:05 +02:00
Michael Van Canneyt
652f54fe31 * Some changes suggested by Edgar Fernando 2023-03-31 19:13:45 +02:00
Pierre Muller
644ffa8e7a Do not always set DEBUG_AOPTCPU 2023-03-30 22:07:37 +00:00
florian
6663d5ca63 * do not replace index registers with esp/rsp, resolves #40223 2023-03-30 21:36:35 +02:00
Sven/Sarah Barth
db66d8f057 * ensure that _LookupVtableInfoEx isn't called with a type that needs special handling as we can't (or won't) really cover that using some generic RTTI handling 2023-03-28 23:14:42 +02:00
Sven/Sarah Barth
939f7345ac * essentially undo 4823ca7114 as comparers that need now use a suitable class implementation directly 2023-03-28 23:14:42 +02:00
Sven/Sarah Barth
073a6e91e6 * use the explicit implementations of the I*Comparer<> interfaces for types like records and objects; fixes #40074 and #40077 on systems using the Sys V ABI 2023-03-28 23:14:42 +02:00
Sven/Sarah Barth
2a8665ef94 + introduce explicit implementations for the IComparer<>, IEqualityComparer<> and IExtendedEqualityComparer<> interfaces for types that should be compared using binary comparison (e.g. records, objects, etc) 2023-03-28 23:14:42 +02:00
Pierre Muller
5343ada365 Commit new utils/fpcm/revision.inc after aarch64-iphonesim target addition 2023-03-28 09:45:56 +00:00
Dmytro Bogatskyy
327aac7f24 Add aarch64-iphonesim target 2023-03-27 18:45:00 +00:00
florian
b797bbf5dc * spelling fixed 2023-03-26 15:55:37 +02:00
florian
466561f09f * patch by Rika: Use Index* for pointer lists, resolves #40218 2023-03-25 21:32:29 +01:00
florian
3ad8b4199c * patch by Rika: Shorten cutils.compareansistrings, resolves #40213 2023-03-24 22:50:19 +01:00
Jonas Maebe
12bde4e903 WPO: fix dead code detection, and handle procvars
Extend dead code detection to not only look for the main mangled name, but also
for any aliases before deciding that a routine has been dead-stripped.

Assume objects/classes can also be constructed if the address of one of their
constructors or of the TObject.NewInstance class method has been taken.

Resolves #40204
2023-03-24 21:22:18 +01:00
florian
8cd10d88cc * revert use of DW_AT_external for types as this is not covered by the dwarf standard 2023-03-23 22:44:00 +01:00
florian
4848327300 * write types declared in the interface section with a DW_AT_external tag, should resolve #40210 2023-03-22 21:16:49 +01:00
florian
3e3b96e088 * fix of Erroneous reading of the value of the StackLength variable at program start based on issue report by Sergey Larin, resolves #40211 2023-03-21 22:37:40 +01:00