Commit Graph

66918 Commits

Author SHA1 Message Date
Pierre Muller
59fffa4f3a Avoid read past buffer end for empty source when checking for utf-8 signature 2023-11-08 23:28:55 +01:00
marcoonthegit
0d54ae1e8d * small cleanup, remove redundant result assignment and unused variable (from Lagprogramming on forum) 2023-11-08 23:28:55 +01:00
marcoonthegit
b3a2162491 * switch loops in TFPCustomCanvas.Erase closes #40246 2023-11-08 23:28:55 +01:00
mattias
ae6f631ba2 fcl-css: ECSSException, resolver log warnings 2023-11-08 23:28:55 +01:00
mattias
27e13e3d17 fcl-css: equals 2023-11-08 23:28:55 +01:00
Pierre Muller
7c46921657 Treat -Cb / -Cb- options in first pass (to be able to use FPC_BIG_ENDIAN inside .fpc.cfg config file) 2023-11-08 23:28:55 +01:00
Pierre Muller
25ca59bfd4 Use systems_darwin set for supported targets for as_clang_llvm_darwin 2023-11-08 23:28:55 +01:00
Pierre Muller
6244f7c47c Add tf_use_psabieh for LLVM for x86_64-iphonesim, aarch64-ios and aarch64-iphonesim targets 2023-11-08 23:28:54 +01:00
florian
3d16d6ee5e * patch by Rika: Fix and possible simplification of SanitiseXMLString, part of #39800 2023-11-08 23:28:54 +01:00
Rika Ichinose
356aeaee12 Handle Index* / Compare* tail by directly reading last VECSIZE bytes, if there was at least one full vector. 2023-11-08 23:28:54 +01:00
mattias
4a62e39534 fcl-web: fixed av on logging TFPHTTPConnection.DoHandleRequest 2023-11-08 23:28:54 +01:00
mattias
acd42bfbfa fcl-web: comment 2023-11-08 23:28:54 +01:00
mattias
04111de1e7 fcl-base: TAVLTree: do not use LazNodeMemManager by default for thread safety 2023-11-08 23:28:54 +01:00
mattias
1e68e372ab fcl-base: TAVLTree.FreeAndClear: clear Root while freeing to avoid accidental access 2023-11-08 23:28:54 +01:00
florian
b541b22880 * some error messages use nicer symbol names 2023-11-08 23:28:54 +01:00
Nikolay Nikolov
58af839016 + support 16-bit pointers in TFPList.IndexOf 2023-11-08 23:28:53 +01:00
Nikolay Nikolov
1f99ac1e05 + support 16-bit pointer size in TFPGInterfacedObjectList.IndexOf 2023-11-08 23:28:53 +01:00
Nikolay Nikolov
dee02f2996 + support 16-bit pointer size in TFPGObjectList.IndexOf 2023-11-08 23:28:53 +01:00
Nikolay Nikolov
f0cab4f5f7 * use a TFPList, instead of a dynamic array in twasmnodeutils.InsertObjectInfo.
No functional changes.
2023-11-08 23:28:53 +01:00
Michael Van Canneyt
fd514eb43c * Convert to HTTP app 2023-11-08 23:28:53 +01:00
Michael Van Canneyt
c92fd16c96 * Logging demo 2023-11-08 23:28:53 +01:00
Nikolay Nikolov
e882a38da3 * wasm32: generate module info by traversing through current_module and its
used_units list recursively. This should fix #40229
2023-11-08 23:28:53 +01:00
florian
1d8c4cfac5 * another patch to fix #40223 2023-11-08 23:28:53 +01:00
Michael Van Canneyt
de521de1d2 * SafeFormat and helper function to convert array of const to string in a safe manner 2023-11-08 23:28:53 +01:00
Michael Van Canneyt
418dbc171d * JSON-RPC 2.0 allows params to be optional 2023-11-08 23:28:53 +01:00
Michael Van Canneyt
2dca704b2e * Add HTTP logging mechanism 2023-11-08 23:28:53 +01:00
Michael Van Canneyt
6e9151fe83 * Some changes suggested by Edgar Fernando 2023-11-08 23:28:53 +01:00
Pierre Muller
5f4551446b Do not always set DEBUG_AOPTCPU 2023-11-08 23:28:52 +01:00
florian
0e4e498b3b * do not replace index registers with esp/rsp, resolves #40223 2023-11-08 23:28:52 +01:00
Sven/Sarah Barth
1addfcf55f * 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-11-08 23:28:52 +01:00
Sven/Sarah Barth
f24e336f70 * essentially undo 4823ca7114 as comparers that need now use a suitable class implementation directly 2023-11-08 23:28:52 +01:00
Sven/Sarah Barth
2fd69363d1 * 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-11-08 23:28:52 +01:00
Sven/Sarah Barth
2c573982f4 + 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-11-08 23:28:52 +01:00
Pierre Muller
e59df58dbc Commit new utils/fpcm/revision.inc after aarch64-iphonesim target addition 2023-11-08 23:28:52 +01:00
Dmytro Bogatskyy
1cb4a08418 Add aarch64-iphonesim target 2023-11-08 23:28:52 +01:00
florian
f2b62a2ce4 * spelling fixed 2023-11-08 23:28:51 +01:00
florian
8270af8a01 * patch by Rika: Use Index* for pointer lists, resolves #40218 2023-11-08 23:28:51 +01:00
florian
fa2e4d7d15 * patch by Rika: Shorten cutils.compareansistrings, resolves #40213 2023-11-08 23:28:51 +01:00
Jonas Maebe
0594f9ae59 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-11-08 23:28:51 +01:00
florian
002c7efa7a * revert use of DW_AT_external for types as this is not covered by the dwarf standard 2023-11-08 23:28:51 +01:00
florian
1f77b3e626 * write types declared in the interface section with a DW_AT_external tag, should resolve #40210 2023-11-08 23:28:51 +01:00
florian
b2295d339a * fix of Erroneous reading of the value of the StackLength variable at program start based on issue report by Sergey Larin, resolves #40211 2023-11-08 23:28:51 +01:00
florian
fc4a75b925 + support FILEEXISTS(...) in preprocessor expressions, resolves #39527
+ tests
  * tscannerfile.readpreproc sets preproc_pattern correctly for quoted strings
2023-11-08 23:28:50 +01:00
Pierre Muller
15775d155e Fix interactive information log error 2023-11-08 23:28:50 +01:00
marcoonthegit
9dfc42a67a * Add ptr types for fixed(u)int, fixes #40205 2023-11-08 23:28:50 +01:00
florian
c433deb0f2 * also initalize default helper variables of initialization sections, resolves #40183 2023-11-08 23:28:50 +01:00
Michaël Van Canneyt
be2ec41768 * Better signature for Initialize/Finalize dummies 2023-11-08 23:28:50 +01:00
Michaël Van Canneyt
c5ac1488ab * Add support for select query parameters 2023-11-08 23:28:50 +01:00
Michaël Van Canneyt
d46cf5f91d * Port in small letters, postgres requires lowercase port setting 2023-11-08 23:28:50 +01:00
Marcus Sackrow
6251c0dc84 Arosunits: rexx unit added 2023-11-08 23:28:50 +01:00