Michaël Van Canneyt
c9b7a3b3b5
* Use value for fmShareNoLocking which does not overlap with classes fmCreate
2024-01-30 13:35:54 +01:00
Pierre Muller
57e74e0c8b
Regenerated Makefile's after: Add linux dependency on syscall unit for libc on i386 and x86_64
2024-01-29 11:20:47 +00:00
Pierre Muller
2e6a31df8b
Add linux dependency on syscall unit for libc on i386 and x86_64
2024-01-29 11:20:09 +00:00
Michaël Van Canneyt
c3339e9a51
* Prevent file handle leak
2024-01-28 11:30:37 +01:00
Michaël Van Canneyt
e79f5ef577
* Introduce fmShareNoLocking to disable locking of file descriptors on unix
2024-01-28 11:30:37 +01:00
Rika Ichinose
48815baef6
Load oleaut32.dll for widestrings on demand.
...
Most of the applications don’t and shouldn’t use widestrings, as unicodestrings are superior.
2024-01-26 22:09:41 +00:00
florian
acb6c7f36b
* win64 has always SetThreadStackGuarantee
2024-01-26 21:42:26 +01:00
Rika Ichinose
a774075f2f
Support Windows XP where SetThreadStackGuarantee is absent.
2024-01-26 16:57:49 +03:00
florian
a2f2af87d2
* Windows CE does not support SetThreadStackGuarantee
2024-01-25 22:06:13 +01:00
florian
14ab1cfb71
* set stack margin on windows, so there is stack space left for exception handling in case of a stack overflow, resolves #40589
2024-01-24 21:31:03 +01:00
Sven/Sarah Barth
4aeb1ee223
* fix implementation comment
2024-01-22 22:27:33 +01:00
florian
40072fb762
* defines fixed
2024-01-22 22:14:06 +01:00
florian
e0a5d07e37
+ manually added new syscalls to i386-android
2024-01-21 21:14:57 +01:00
florian
dc5041d778
* fix compilation for mipsel-android (hopefully)
2024-01-21 11:32:28 +01: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
marcoonthegit
231007ebda
* check length of optstring before dereferencing (optstring[1]) it. Fixes #40596
2024-01-17 11:41:16 +01: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
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
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
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
Michaël Van Canneyt
c2383fc207
* Correct casing. Fixes #40589
2024-01-10 09:43:51 +01: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
Karoly Balogh
6ef3aef5f2
m68k-sinclairql: regenerated Makefile
2024-01-08 02:22:15 +01:00
Karoly Balogh
21156bc5d3
m68k-sinclairql: fixed the installation of many units that are otherwise built
2024-01-08 02:22:15 +01:00
Karoly Balogh
a1863d8dc8
m68k-sinclairql: also build the various softfpu flavors for the QL
2024-01-08 02:22:15 +01:00
Karoly Balogh
be4e5f240c
m68k-sinclairql: make heaptrc compile for the QL
2024-01-08 02:22:15 +01:00
Karoly Balogh
3b7a347169
m68k-human68k: regenerated Makefile
2024-01-08 02:22:15 +01:00
Karoly Balogh
919b556049
m68k-human68k: fix installation of sysconts and heaptrc units
2024-01-08 02:22:15 +01:00
Pierre Muller
3edd92dab1
Examinc OPT and CROSSOPT instead of FPCOPT in [prerules] to check if syscall unit needs objpas dependency
2024-01-07 23:23:49 +01:00
Sven/Sarah Barth
170c05592b
* ensure that the legacy method table has the correct alignment on platforms that require it (e.g. SPARC64)
2024-01-07 18:09:51 +01:00
Pierre Muller
9dc75c3005
Avoid double declaration of seterrno
2024-01-07 14:40:04 +01:00
Pierre Muller
b1e1a107d3
Fix compilation of syscall unit for i386-beos target
2024-01-07 14:13:03 +01:00
Rika Ichinose
35345fe145
Fix FillQWord_SSE2 stack usage.
2024-01-06 21:18:56 +00:00
Michaël Van Canneyt
29f2f12496
* Some code cleanup in Extract* functions. Fixes issue #40587
2024-01-06 21:42:03 +01:00
Karoly Balogh
0bb6ab24a2
m68k-atari: regenerated Makefile
2024-01-06 19:36:50 +01:00
Karoly Balogh
2ec9f59b38
m68k-atari: fix installation of sysconts and heaptrc units
2024-01-06 19:36:50 +01:00