Commit Graph

66799 Commits

Author SHA1 Message Date
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
florian
488c389b9b + support FILEEXISTS(...) in preprocessor expressions, resolves #39527
+ tests
  * tscannerfile.readpreproc sets preproc_pattern correctly for quoted strings
2023-03-20 23:17:09 +01:00
Pierre Muller
4ed8182c75 Fix interactive information log error 2023-03-20 14:51:18 +01:00
marcoonthegit
33071fd179 * Add ptr types for fixed(u)int, fixes #40205 2023-03-20 11:29:47 +01:00
florian
0d3ec87492 * also initalize default helper variables of initialization sections, resolves #40183 2023-03-19 21:19:10 +01:00
Michaël Van Canneyt
86ffe69380 * Better signature for Initialize/Finalize dummies 2023-03-19 15:22:54 +01:00
Michaël Van Canneyt
a35f66a730 * Add support for select query parameters 2023-03-19 15:22:53 +01:00
Michaël Van Canneyt
1da1a67369 * Port in small letters, postgres requires lowercase port setting 2023-03-19 15:22:53 +01:00
Marcus Sackrow
42e202f791 Arosunits: rexx unit added 2023-03-19 11:43:38 +01:00
Jonas Maebe
0ea0b69a30 LLVM: cleaned up some comments 2023-03-18 23:14:25 +01:00
Jonas Maebe
e41bfa0495 LLVM: LLVM 16 support
No changes compared to LLVM 15 that affect us
2023-03-18 23:13:58 +01:00
Jonas Maebe
839849085b LLVM: don't use type names in ctor/dtor arrays
Workaround for https://github.com/llvm/llvm-project/issues/56809
2023-03-18 23:13:03 +01:00
Jonas Maebe
0e46041717 WPO: also consider NewInstance to detect class instancing
Resolves #40200
2023-03-18 21:18:25 +01:00
Rika Ichinose
71863e1b2c IndexWord and IndexDWord for i386 without REP SCAS. 2023-03-18 15:44:03 +00:00
florian
64319dc019 * PopCount takes care only of the bit pattern, so take the uvalue to avoid an internal error, resolves #40190 2023-03-17 22:30:36 +01:00
Rika Ichinose
98fa292b20 SSE2 Index* and Compare* for i386, chosen at runtime. 2023-03-17 20:42:50 +00:00
Sven/Sarah Barth
e774a6275c * change Result of CheckSynchronize to true when at least one method was executed (matches with both FPC and Delphi documentation) 2023-03-17 15:53:25 +01:00
florian
5fe8fbd43a * take care of mips64* when calling gcc for the libgcc path 2023-03-16 22:25:03 +01:00
Mikhail Novosyolov
7d31e25ba6 Fix messages about not found gcc
Code actually looks for the gcc executable inside $PATH, not for libgcc.
fpc works without the libgcc.so devel symlink.
2023-03-16 19:38:23 +03:00