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
Pierre Muller
f510e6f59b
Use GetProcAddress to set GetFinalPathNameByHandle function pointer
2024-01-06 17:54:21 +01:00
Pierre Muller
37ffd4051a
Add dependency on objpas unit for syscall unit compiled with -dFPC_USE_LIBC
2024-01-06 17:06:51 +01:00
Pierre Muller
7c9cf75418
Fix syscall unit compilation for i386-linux using -dFPC_USE_LIBC
2024-01-06 17:06:51 +01:00
Pierre Muller
2cb7e44a1b
Fix compilation of syscall unit for Linux with -dFPC_USE_LIBC option
2024-01-05 17:46:49 +01:00
Sven/Sarah Barth
c11772deca
* ensure that the SysCall unit is also usable when FPC_USE_LIBC is defined
2024-01-04 22:26:15 +01:00
Michaël Van Canneyt
a224f8ded7
* Extended RTTI Type info routines and data structures
2024-01-02 07:09:23 +01:00
Michaël Van Canneyt
50d72bb559
* Define RTTI visibilities
2024-01-02 07:09:23 +01:00
Michaël Van Canneyt
c39e51485c
* Avoid range error in comparisons
2024-01-02 07:09:20 +01:00
Sven/Sarah Barth
30bf8047aa
* ensure that the field and method tables are always accessed with the default alignment
2024-01-02 07:09:20 +01:00
Sven/Sarah Barth
7eea850726
* TVmtFieldEntry.FieldOffset needs to be SizeUInt instead of PtrUInt, so that it works correctly on the various memory models of i8086 as well
...
+ added test
2024-01-02 07:09:19 +01:00
Sven/Sarah Barth
c74441323a
+ add descriptive comment regarding the TVmtField* types
2024-01-02 07:09:19 +01:00
Rika Ichinose
9d8b801e4c
Improve i386 fpc_shortstr_to_shortstr(), fpc_shortstr_compare(), and add fpc_shortstr_compare_equal().
2024-01-01 21:12:52 +00:00
Rika Ichinose
fca0ace070
Improve shortstring Pos() and generic fpc_shortstr_compare().
2024-01-01 21:12:52 +00:00
Rika Ichinose
0d5f7fa66b
Increase non-temporal i386 & x64 Fill* thresholds to 4 Mb.
2024-01-01 18:33:33 +00:00
Rika Ichinose
b7d32e4933
ERMSB-aware Fill* for i386.
2024-01-01 18:33:33 +00:00
Rika Ichinose
8310b169b7
Move ERMS branch into a separate function instead of runtime checks of fast_large_repmovstosb.
2023-12-31 09:54:09 +00:00
Rika Ichinose
f14aced9c5
Attempt to ERMS backward i386 ‘Move’s.
2023-12-31 09:54:09 +00:00
marcoonthegit
95dce3c5a8
*
2023-12-28 19:43:34 +01:00
Karoly Balogh
65234c674a
human68k: less fail in regenerating a Makefile
2023-12-23 16:05:32 +01:00
Karoly Balogh
7c3e792bc1
human68k: regenerated Makefile after the previous commit
2023-12-23 15:36:51 +01:00
Karoly Balogh
c38280ef3e
human68k: added a totally untested DOS unit to the RTL
2023-12-23 15:36:51 +01:00
Michaël Van Canneyt
ed000e6cd7
* Fix wrong TimeStampToMSecs result on 32-bit. Fixes issue #40522
2023-12-22 11:32:57 +01:00
Michaël Van Canneyt
29e2277d98
* Add CreateAnonymousThread with anonymous procedure
2023-12-18 16:53:14 +01:00
marcoonthegit
d91847f39c
* typo fix in previous commit relating to #40558
2023-12-14 09:59:04 +01:00
marcoonthegit
59883da0a0
* fix for drive existence in windows app modus, closes #40558
2023-12-14 09:37:42 +01:00