Commit Graph

64160 Commits

Author SHA1 Message Date
Michaël Van Canneyt
f590e65c7b * out and var are reserved words 2021-12-30 18:40:08 +01:00
Michaël Van Canneyt
e091d263c8 * Wasmtime support 2021-12-30 16:33:14 +01:00
Joost van der Sluis
b6ba87bed4 * Add Ant/JUnit alike XML test-output format 2021-12-30 01:37:06 +01:00
Florian Klämpfl
25eab57a58 * allow %... for binary constants in delphi mode, resolves #39503 2021-12-29 15:37:53 +01:00
Yuri
c9b988e146 Checking the protocol version for websocket is not required on the client side. 2021-12-28 22:16:37 +00:00
marcoonthegit
742ec5680f * 24-bit byteswap color constants. Due to Opengl vs GDI conventions confusion? 2021-12-28 19:17:16 +01:00
Florian Klämpfl
dde8f54ee7 + LZCNTSupport
+ test extended
2021-12-28 17:05:56 +01:00
Michaël Van Canneyt
a18e75eaff * Some cleanup, add file headers 2021-12-28 16:12:47 +01:00
Michaël Van Canneyt
c944484e66 * Some clarifying comments 2021-12-28 16:12:47 +01:00
Michaël Van Canneyt
fa7d3d845b * Some clarifying comments 2021-12-28 16:12:47 +01:00
Michaël Van Canneyt
2f23239ebd * Move resourcestrings to single unit 2021-12-28 16:12:47 +01:00
Michaël Van Canneyt
036aea025d * build json-rpc using invoke 2021-12-28 16:12:47 +01:00
Michaël Van Canneyt
12616f6579 * JSON-RPC using Invoke 2021-12-28 16:12:47 +01:00
Michaël Van Canneyt
baec255bbc * fpjsonvalue unit to convert between TValue (RTTI unit) and JSON 2021-12-28 16:12:47 +01:00
Michaël Van Canneyt
7d4844919b * Initialize APIRequestName 2021-12-28 16:12:47 +01:00
Michaël Van Canneyt
2be3978bb4 * Some fixes & improvements 2021-12-28 16:12:47 +01:00
Michaël Van Canneyt
b46f361d91 * Fix compiler warnings 2021-12-28 16:12:47 +01:00
Michaël Van Canneyt
8360b18097 * Position stream on start 2021-12-28 16:12:47 +01:00
Karoly Balogh
2f82a084e8 rtl-console: quickfix for Amiga UpdateScreenArea() so it properly updates multiple lines 2021-12-28 15:50:34 +01:00
Karoly Balogh
cbc8aa63c8 rtl/amiga: added minimalistic #?.<ext> and *.<ext> pattern matching to legacy MatchFirst 2021-12-27 15:13:37 +01:00
Karoly Balogh
50572fda8c rtl/amiga: fixed the FileInfoBlock copy to the Anchor chain which broke recently with the alignment fixes 2021-12-27 15:10:02 +01:00
Karoly Balogh
3608be8f13 rtl/amiga: added some basic infrastructure to MatchFirst to improve pattern matching in the future 2021-12-27 13:07:09 +01:00
Karoly Balogh
98dd448ce8 rtl/amiga: make sure FileInfoBlock used by legacy MatchFirst is longword aligned 2021-12-27 12:10:18 +01:00
Karoly Balogh
08f3a3c8ef rtl/amiga: do not UnLock the initial lock returned by CurrentDir in legacy MatchFirst 2021-12-27 12:10:18 +01:00
Karoly Balogh
27e9377a3a rtl/amiga: in legacy MatchFirst, revert back to the original directory if we used CurrentDir(0), otherwise MatchFirst() will change the directory to SYS: (0 lock is a shortcut to the boot volume) 2021-12-27 12:10:18 +01:00
Michaël Van Canneyt
8a63e7ee5a * Fix compiler hints 2021-12-27 11:57:11 +01:00
Michaël Van Canneyt
d362d47e88 * Fix memleak and compiler hints 2021-12-27 11:57:11 +01:00
Michaël Van Canneyt
11d2960db8 * Fix memleak 2021-12-27 11:57:10 +01:00
FPK
91337a3675 * new image 2021-12-27 09:47:22 +00:00
Karoly Balogh
db39d1a4e4 rtl-console: use videoDefaultFlags variable on Amiga for WA_Flags. disable smartrefresh in full screen, also respect the FPC_VIDEO_SIMPLEREFRESH env var 2021-12-26 22:25:28 +01:00
Karoly Balogh
c01c13c29a amunits: added missing WA_Borderless handling to the OpenWindow taglist handling legacy support code 2021-12-26 22:22:38 +01:00
Karoly Balogh
1f41cd195f amunits: added missing WA_Activate handling to the OpenWindow taglist handling legacy support code 2021-12-26 21:28:15 +01:00
Karoly Balogh
f8de5fece2 Merge branch 'main' of https://gitlab.com/freepascal.org/fpc/source 2021-12-26 20:39:38 +01:00
Karoly Balogh
6146aa6eb6 rtl-console/amicommon: set the window's UserPort to nil before closing, as recommended 2021-12-26 20:37:29 +01:00
Karoly Balogh
539f2cd7f0 amunits: in agraphics legacy support, use ExecFreeMem (OS call) instead of FreeMem (RTL call) to free the Bitmap which was created using ExecAllocMem 2021-12-26 20:35:11 +01:00
Karoly Balogh
53a67b34b5 rtl/amiga: add support for OSHeap, now default in legacy mode, optional define otherwise 2021-12-26 17:31:39 +01:00
Karoly Balogh
273a598be8 * Amiga-likes: set some sensible heapsize defaults, for OSHeap support 2021-12-26 17:22:11 +01:00
J. Gareth "Curious Kit" Moreton
8609c0803e Fixed MovxOp2Op failing on i386 due to lack of register check 2021-12-26 16:20:18 +00:00
Sven/Sarah Barth
1e37eef3d2 * use an anonymous symbol for the record operator table as its typing is different for each incarnation anyway 2021-12-26 16:36:16 +01:00
Karoly Balogh
c298c0e0da rtl/osheap: fixed a dumb reversed condition in osheap/SysAllocMem() 2021-12-26 15:56:34 +01:00
Sven/Sarah Barth
b54068d1a4 * libffi: fix abi declarations for x86_64 2021-12-26 11:37:10 +01:00
Sven/Sarah Barth
00f4aeb39b * i386 invoke implementation: check the correct argument in the second pass 2021-12-26 11:37:10 +01:00
Sven/Sarah Barth
e95572921a * i386 callback implementation: only skip the result argument if it was detected as one from the parameters 2021-12-26 11:37:10 +01:00
Sven/Sarah Barth
bf37616514 + add TValue.FromArray to create a TValue type for a static or dynamic array from an array of TValues
+ added test
2021-12-26 11:37:10 +01:00
Sven/Sarah Barth
caaed25f18 + add Rtti types for static and dynamic arrays
+ added tests
2021-12-26 11:37:10 +01:00
Sven/Sarah Barth
f1059679a1 * move initialization of TValue to a separate method to avoid duplicate implementations 2021-12-26 11:37:10 +01:00
Sven/Sarah Barth
322d91758c + add Handle property to access the TypeInfo pointer of the TRttiType 2021-12-26 11:37:09 +01:00
Sven/Sarah Barth
f74a6abccf * fixup 2021-12-26 11:37:09 +01:00
Sven/Sarah Barth
f9567ff50e * TMethodImplementation.HandleCallback: fix building the argument array if the result is passed in a parameter 2021-12-26 11:37:09 +01:00
Sven/Sarah Barth
bc46d8f33a * x86_64 Win64 callback implementation: fix building the argument array if the result is passed as a parameter 2021-12-26 11:37:09 +01:00