Commit Graph

69069 Commits

Author SHA1 Message Date
florian
615e9bdafd * copyright year for compiler logo updated 2024-01-20 20:54:52 +01:00
Onur ERÇELEN
44af9d87de Upload New File 2024-01-20 19:50:44 +00:00
florian
3cd7c675b1 * manually added newer syscall numbers for arm-android 2024-01-20 14:10:40 +01:00
florian
785e259e62 * compilation on linux with FPC_USE_LIBC fixed 2024-01-19 23:45:07 +01:00
florian
185a346744 * fix darwin compilation after TTimespecArr changes 2024-01-18 22:19:42 +01:00
Michaël Van Canneyt
e9c6f1c152 * Delphi-compatible overloads UTF8ToUnicodeString 2024-01-18 09:32:15 +01:00
florian
54dba5738c * cleaned up TTimespecArr declarations 2024-01-17 23:25:03 +01:00
florian
4dc4d2b2ba * use TTimespecArr instead of tkernel_timespecs in sysutils 2024-01-17 23:25:03 +01:00
Michaël Van Canneyt
8be124100d * system.threading compatibility unit + tests 2024-01-17 17:16:00 +01:00
mattias
71b10a21e1 pastojs: set version to 3.1.1 2024-01-17 15:27:50 +01:00
marcoonthegit
231007ebda * check length of optstring before dereferencing (optstring[1]) it. Fixes #40596 2024-01-17 11:41:16 +01:00
Nikolay Nikolov
42f447257d + introduced TWasmValueStack for tracking the state of the WebAssembly stack. Not used, yet, but will be in the future. 2024-01-17 11:21:48 +02:00
Nikolay Nikolov
04a077707c * fix warning 2024-01-17 09:43:51 +02:00
Nikolay Nikolov
03fc5d2323 + added a zero/unitialized/unknown value to TWasmBasicType: wbt_Unknown 2024-01-17 08:32:10 +02:00
florian
4867d48e99 + support for .debug_loc and .debuc_loclist sections 2024-01-16 23:24:37 +01:00
Nikolay Nikolov
f65e4f2385 * fixed bug in the handling of WebAssembly goto 2024-01-16 08:44:06 +02:00
Sven/Sarah Barth
21ffa221e6 * fix #40595: correctly access the list of parameters of the extended method table
+ added test
2024-01-15 23:14:38 +01:00
florian
b81f92536d * avoid that fpc_fillmem does not inline due too much nested calls 2024-01-15 22:42:53 +01:00
Sven/Sarah Barth
dd4f7e9148 * fix #40592: make the Delphi-compatible attributes usable, but in a way that makes it clear to the user that they won't work
+ added test
2024-01-15 22:29:47 +01:00
Sven/Sarah Barth
1ffef6ed41 * print the whole symbol name for hint messages 2024-01-15 22:29:47 +01:00
Sven/Sarah Barth
38ca4f9157 * remove semicolon to make Lazarus happy 2024-01-15 22:29:47 +01:00
florian
9ee2eee293 * fix utimensat and utimensat if the rtl is compiled with -dFPC_USE_LIBC 2024-01-15 21:56:40 +01:00
florian
654d75b777 * fix bootstrapping with with 3.2.2 and -dFPC_USE_LIBC 2024-01-15 21:56:09 +01:00
florian
9bb6a32c62 * avoid wrong warning about FillChar not initializing the output parameter in case count <= 0 2024-01-15 21:54:11 +01:00
Pierre Muller
4c330f2799 Issue internal error in def type is errordef 2024-01-15 19:54:04 +01:00
Michaël Van Canneyt
af3ebf1464 * Change GetSystemTimes signature to be delphi compatible, implement for linux 2024-01-15 15:41:49 +01:00
Pierre Muller
81ae7063f3 Add new DragonFly OS syscall number up to release 6.4.0 (v6.4.0 tag on https://gitweb.dragonflybsd.org/dragonfly.git) 2024-01-15 15:18:56 +01:00
Michaël Van Canneyt
49100cc42b * Add Current and CurrentIsMain 2024-01-15 14:19:53 +01:00
Pierre Muller
f506df022e Add missing syscall_nr_futimens for NetBSD OS 2024-01-15 10:00:55 +01:00
florian
774e0f9122 + support for fputimens on non-linux OSes
* reworked fputimens support on linux
  + FileSetDate for all unix OSes
2024-01-14 22:23:11 +01:00
florian
5f42443db3 * several issues with the in_val_x optimization fixed 2024-01-14 18:58:08 +01:00
J. Gareth "Curious Kit" Moreton
01246e4d30 * Fixed issue where Val shortcutting would not compile under 32-bit systems 2024-01-14 03:43:39 +00:00
J. Gareth "Curious Kit" Moreton
0418078805 * Added unsigned versions of the "tval" tests 2024-01-13 22:24:08 +00:00
J. Gareth "Curious Kit" Moreton
e6d32f9f36 * Added new "tval2" test that assigns constant string symbol 2024-01-13 22:24:08 +00:00
J. Gareth "Curious Kit" Moreton
d8079ea239 * New "tval1" test to verify that Val with constants works properly 2024-01-13 22:24:08 +00:00
J. Gareth "Curious Kit" Moreton
6597f02ebc * The "Val" intrinsic is now simplified for string constants akin to a
pure function.
2024-01-13 22:24:08 +00:00
Nikolay Nikolov
a9316b1953 - removed the DEBUG_WASM_GOTO define from the .lpi file 2024-01-14 00:21:40 +02:00
Sven/Sarah Barth
377bc0d311 * access the legacy method table using the correct alignment 2024-01-12 23:49:47 +01:00
Sven/Sarah Barth
bb5b9acbb2 * ensure that TObject.FieldAddress returns the same values as accessing the RTTI directly 2024-01-12 23:49:46 +01:00
Nikolay Nikolov
1fecb46c52 - removed the ENABLE_WASM_INTERNAL_LINKER define from the .lpi file 2024-01-12 21:17:49 +02:00
Michaël Van Canneyt
5f9bcc2405 * Fix typo in enumeration value rloHTTP 2024-01-12 10:09:15 +01:00
Rika Ichinose
e4a0b1adb4 Use ERMS in all eligible cases, again.
Namely, when Move.count > NtThreshold but move distance is too short. 8310b169b7 messed with the logic and made this case fall back to a regular loop instead of more preferable ERMS.
2024-01-11 21:51:44 +00:00
mattias
70311bffc6 pastojs: less hints 2024-01-11 19:03:17 +01:00
Pierre Muller
637c34571e Avoid range check error in AddNormalStringDef 2024-01-10 23:24:46 +01:00
Michaël Van Canneyt
b4d4c30a45 * Initialize result in CountConnections 2024-01-10 15:53:13 +01:00
Michaël Van Canneyt
107299648f * micro optimization using BsfDWord as proposed in #40590 2024-01-10 10:02:10 +01:00
Michaël Van Canneyt
08b7881083 * Nano optimization. Fixes #40590 2024-01-10 09:46:25 +01:00
Michaël Van Canneyt
c2383fc207 * Correct casing. Fixes #40589 2024-01-10 09:43:51 +01:00
Nikolay Nikolov
a8b4c0772c * fixed bug that caused 'c in ['a'..'z']' to fail on the WebAssembly target, when code is compiled with {$packset 1} 2024-01-10 03:11:13 +02:00
Pierre Muller
2c622e2fe6 * rtl/macos/dos.pp: Remove unused unixutil in _USES clause of rtl/macos/dos.pp source.
* rtl/macos/Makefile.fpc: Update dependency list DOS_DEPS: remove unixutil and add missing macostp.

* rtl/macos/Makefile: Regenerate.
2024-01-09 11:42:18 +01:00