Commit Graph

63920 Commits

Author SHA1 Message Date
Pierre Muller
1c9280de56 Add wasm32 CPU handling in embedded target 2022-01-04 11:14:58 +00:00
Pierre Muller
b02b3b79b4 Remove sortalgs unit for wasm32 CPU instead of only wasi target, as it is the wasm32 cpu that does not support gotos 2022-01-04 11:13:49 +00:00
Florian Klämpfl
4aebfe97a9 + x86: ADXSupport
+ x86: RDSEEDSupport
2022-01-03 22:51:00 +01:00
florian
983fbff871 * proper range checking for TryStrToDWord, should resolve all issues in #39406 2022-01-02 21:46:14 +01:00
florian
435f3a9fe2 * allow a range of Low(Longint) to High(DWord) in TryStrToInt, see also issue #39406
* moved test
2022-01-02 21:33:01 +01:00
florian
2a93e65511 * seperator => separator 2022-01-02 13:12:33 +01:00
florian
d2447026de + modeswitch UNDERSCOREISSEPERATOR, active by default in delphi modes:
support _ as seperator in numbers, it is ignored while reading them, resolves #39504
2022-01-01 23:28:36 +01:00
J. Gareth "Curious Kit" Moreton
116c861af6 MOV/CMP optimisation is now in both Pass 1 and Pass 2 to catch more
eventualities
2021-12-31 14:28:35 +00:00
Michaël Van Canneyt
769aeaae03 * Add linking examples, change pcchar to pchar 2021-12-31 12:45:56 +01:00
Michaël Van Canneyt
bb182470a5 * Prepend T when writing pointer types and PrependTypes is set 2021-12-30 18:46:25 +01:00
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