Commit Graph

13447 Commits

Author SHA1 Message Date
florian
cd84c2d5cd Merge branch 'fixes_3_2' into release_3_2_4-branch 2024-09-23 21:47:44 +02:00
Pierre Muller
fb672fe645 Both _STAT_VER_KERNEL and _STAT_VER_LINUX are equal to zero for aarch64-linux
(cherry picked from commit 0641ea33d1)
2024-09-19 22:54:29 +02:00
florian
d78e289701 * update fpmake.pp version strings to 3.2.4-rc1 2024-07-20 21:57:29 +02:00
florian
901c5cd3d7 * update version for Makefiles 2024-07-20 21:54:34 +02:00
Benito van der Zander
ec9f7c84b4 fix stack trace crash, see #39492
(cherry picked from commit 7704fe9319)
2024-06-09 17:51:39 +02:00
Jonas Maebe
f858dce7fc * llvm sometimes uses the AArch64 framepointer register as a regvar in the
main routine (because it can never return) -> attempt to guard against
    invalid accesses in get_caller_addr

git-svn-id: trunk@44066 -
(cherry picked from commit d9f4c85d2e)
2024-06-09 17:51:39 +02:00
marcoonthegit
c9fe178f44 * change tthreadid to thandle, as the used functions for threadid in systhrd all use HANDLE.
(cherry picked from commit 7957c34940)
2024-05-26 11:04:28 +02:00
marcoonthegit
9dd660bd02 * add some NUMA information functions mentioned in forum
(cherry picked from commit 492893a935)
2024-05-25 13:45:34 +02:00
marcoonthegit
c8d5b36bd7 * added GetGUIThreadInfo reported on the forum
(cherry picked from commit 9e101c51e3)
2024-05-21 22:53:29 +02:00
marcoonthegit
c17a0e20f5 * dc_pen and dc_brush in getstockobject section, reported on forum
(cherry picked from commit 5120a3a0c3)
2024-04-09 16:13:28 +02:00
marcoonthegit
9d39bcbdec * skip empty path components in concatpaths, related to #40682
(cherry picked from commit 2ec99cc82e)
2024-04-06 15:46:41 +02:00
marcoonthegit
d1adad3d1c * fix ident and executable note in profiler file
(cherry picked from commit 5c1997b3d5)
2024-02-20 15:49:57 +01:00
marcoonthegit
e9620b72d1 * git changed to 1024 for mnamelen apparently fixes tdos1 test crash
(cherry picked from commit f582f93a0a)
2024-02-18 15:04:49 +01:00
marcoonthegit
45acaf7584 * also set executable stack note in .so's. 2024-02-17 16:25:58 +01:00
marcoonthegit
a21a9ef873 * executable stack for freebsd, silences warning on 14 2024-02-17 16:14:16 +01:00
marcoonthegit
825ba205cd * change elfid to 1400097 aka FreeBSD 14.0
(cherry picked from commit 78eb340a4f)
2024-02-10 17:04:29 +01:00
svenbarth
0de9940d01 * fix for Mantis #38023: the code to convert LF to CRLF when converting to UTF-8 is disabled anyway, so disable unnecessary, duplicate if-branches as well
git-svn-id: trunk@47284 -
(cherry picked from commit c2454d5386)
2024-01-19 11:54:54 +01:00
svenbarth
d1c29e6cb9 * in the default exception handler add the captured exception to the exception object stack as well
+ added test (needs to work with any exception handling mechanism; currently tested with SetJmp/LongJmp, SEH 32-bit and SEH 64-bit based exception handling)

git-svn-id: trunk@49486 -
(cherry picked from commit 2b3edb2c53)
2024-01-19 11:54:38 +01:00
Michaël Van Canneyt
94e73c7285 * Fix issue 39431
(cherry picked from commit 5df6671ff2)
2024-01-13 13:11:19 +01:00
Pierre Muller
4776d59d03 * rtl/macos/dos.pp: Remove unused unixutil in _USES clause of rtl/macos/dos.pp source.
* rtl/macos/Makefile.fpc: Update dependency list ifor dos unit: remove unixutil and add missing macostp.

* rtl/macos/Makefile: Regenerate.

(cherry picked from commit 2c622e2fe6)
2024-01-09 11:46:31 +01:00
Pierre Muller
a6764eccd9 * Remove unused unixutil in _USES clause of rtl/macos/dos.pp source.
* Remove unixutil from units list for macosclassic OS target.

  * Remove obsolete local build rule for unixutil unit.
2024-01-09 11:29:58 +01:00
Pierre Muller
f19a7fa798 Add missing explicit rules to allow compilation of Windows OS 2024-01-08 18:27:36 +01:00
Pierre Muller
33e2ef0eb9 Fix dragonfly rtl Makefile.fpc for cross-compilation according to Alfred's request 2024-01-08 15:47:30 +01:00
Pierre Muller
ab0549fe61 Add dummy version for symbian
(cherry picked from commit 13368fbb8a)
2024-01-05 21:56:32 +01:00
Pierre Muller
e11fbf2bdc Add CPU_UNITS for arm and i386 symbian
(cherry picked from commit ba9e93cde6)
2024-01-05 21:52:20 +01:00
ondrej
c0cb2b6051 * fix memory leak in RegisterLazyInitThreadingProc
git-svn-id: trunk@47311 -
(cherry picked from commit a65158bfe8)
2023-12-26 23:09:28 +01:00
Pierre Muller
3b45e9c5bb Change libc statx function to weakexternal
Test if statx is nil before call

(cherry picked from commit be1cc68a99)
2023-12-23 15:05:51 +01:00
pierre
61059435dd Fix compilation of linux unit with -dFPC_USE_LIBC option
git-svn-id: trunk@48504 -
(cherry picked from commit 64bd8336f1)
2023-12-22 17:55:58 +01:00
florian
2e750c3f1c + add missing semicolon, resolves #36868
git-svn-id: trunk@44578 -
(cherry picked from commit e32027c8d3)
2023-12-22 17:54:59 +01:00
marcoonthegit
4f31b7138c * comment schedgetaffitity for now at the request of closes #40569 2023-12-22 17:52:29 +01:00
Pierre Muller
355d9d3724 Update rtl/wince/Makefile after cherry-pick of commit 355c63beb1 2023-12-22 16:12:37 +01:00
Pierre Muller
70ca3c816f Add cpu and mmx to CPU_UNITS for i386-wince target
(cherry picked from commit 355c63beb1)
2023-12-22 16:09:24 +01:00
Karoly Balogh
ac4575291a aros: build the CPU unit for i386 and x86_64 aros
(cherry picked from commit 5b0669d036)
2023-12-22 13:51:36 +01:00
Michaël Van Canneyt
bf85a00d58 * Fix wrong TimeStampToMSecs result on 32-bit. Fixes issue #40522
(cherry picked from commit ed000e6cd7)
2023-12-22 12:01:34 +01:00
florian
b1f6be15e9 * disable new syscalls on android
git-svn-id: trunk@48495 -
(cherry picked from commit 3922926d17)
2023-12-21 10:54:45 +01:00
Pierre Muller
7cb40dc7d0 Add missing S_ISUID and S_ISGID constants
(cherry picked from commit 9feeb18b15)
2023-12-21 10:54:07 +01:00
Pierre Muller
289ae1c43f Add missing S_ISUID and S_ISGID constants
(cherry picked from commit 0907628b73)
2023-12-21 10:36:42 +01:00
Pierre Muller
123b29f832 Add missing S_ISUID and S_ISGID constants
(cherry picked from commit 7cca82185e)
2023-12-21 10:11:02 +01:00
Pierre Muller
9f773b5219 This change might generate failure to compile
older code for BeOS, because of field name changes.

  Rename stat structure fields according to information in
https://www.haiku-os.org/legacy-docs/bebook/TheStorageKit_DefinedTypes.html#stat

  Add S_ISUID and S_ISGID constants with value zero
as these features do not seem to be supported by BeOS.

(cherry picked from commit aa7f1f9667)
2023-12-20 19:11:46 +01:00
Michaël Van Canneyt
88ada4b170 * No symlink support on WinCE
(cherry picked from commit 0639ec476d)
2023-12-20 19:11:20 +01:00
Michaël Van Canneyt
a2144dfb03 * Attempt to fix FileGetDateTimeInfo
(cherry picked from commit 4f029720be)
2023-12-20 19:10:39 +01:00
florian
1156db235a * building on darwin (and most likely other BSDs) fixed
(cherry picked from commit d4d4498fc0)
2023-12-20 19:07:24 +01:00
Michaël Van Canneyt
8f233d5bb7 * Fix compilation
(cherry picked from commit fead1ce818)
2023-12-17 20:25:05 +01:00
Rika Ichinose
52d7e9b49f Add Exchange<T> that works like std::exchange in C++.
(cherry picked from commit 05b7ebd34e)
2023-12-17 18:26:05 +01:00
Michaël Van Canneyt
587c1df60e * Define INVALID_HANDLE_VALUE for Delphi compatibility
(cherry picked from commit ff8511f2f1)
2023-12-17 18:25:47 +01:00
Michaël Van Canneyt
fc6b11720a * Implement ListIndexError
(cherry picked from commit 8fb39925eb)
2023-12-17 18:25:41 +01:00
Michaël Van Canneyt
28d9c6ce56 * Add crossproduct and normalize to TPointF
(cherry picked from commit 7bcc949308)
2023-12-17 18:17:21 +01:00
Michaël Van Canneyt
737aad778f * Missing functions
(cherry picked from commit 24d8478650)
2023-12-17 18:17:10 +01:00
Michaël Van Canneyt
72a709bccc * Forgot CenterAt
(cherry picked from commit bc00d5ae06)
2023-12-17 18:17:05 +01:00
Michaël Van Canneyt
95a3332816 * Add some missing identifiers to TRectF. Fixes issue #40068
(cherry picked from commit e28add8b31)
2023-12-17 18:16:58 +01:00