Commit Graph

56301 Commits

Author SHA1 Message Date
florian
3060799961 * fixed tests for architectures with FPC_COMP_IS_INT64 defined
git-svn-id: trunk@44222 -
(cherry picked from commit 66aa2e1416)
2023-12-27 17:34:00 +01:00
florian
92fc7edd7e * ensure that the executable path used in the test is absolute
(cherry picked from commit 8028a769f4)
2023-12-27 15:27:45 +01:00
pierre
ac28b5ad05 Remove Unicode $180E (Mongolian Vowel Separator), as it is not anymore a whitespace character
git-svn-id: trunk@40600 -
(cherry picked from commit e9e5b05caa)
2023-12-27 14:38:17 +01:00
pierre
7c40f1f48c Change tstringlistexchange test code to give different error values and check that sort is done properly instead of requiring a given number of exchanges
git-svn-id: trunk@40547 -
(cherry picked from commit 0fafe640c5)
2023-12-27 10:17:28 +01:00
florian
aaf503c85f * fix test for case sensitive and case preserving file systems
git-svn-id: trunk@49183 -
(cherry picked from commit f1e748512b)
2023-12-27 10:11:06 +01:00
ondrej
d01e7ab86a Fix tepoch1 test
git-svn-id: trunk@47297 -
(cherry picked from commit 9b5d2322b6)
2023-12-27 10:10:53 +01:00
svenbarth
2a0d5f0fe4 * ensure that the toString constant is used instead of TObject's ToString method
git-svn-id: trunk@42352 -
(cherry picked from commit 1607e15e48)
2023-12-26 23:59:42 +01:00
pierre
40e5a51937 Try to ix compilation failures in units/fpcunit directory
git-svn-id: trunk@40601 -
(cherry picked from commit 430ec7bbe4)
2023-12-26 23:43:17 +01:00
pierre
8d3ecbd808 * Skip all surrogate values in for loops from low(word) to high(word)
git-svn-id: trunk@40560 -
(cherry picked from commit 0846456ce4)
2023-12-26 23:33:27 +01:00
pierre
f2d559cf92 Add mode objfpc to units/character/tutf32convert test
git-svn-id: trunk@40546 -
(cherry picked from commit bf7af550c8)
2023-12-26 23:15:21 +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
Michaël Van Canneyt
8db3828637 * Fix AV when freeing transactions. Reported by Pascal Riekenberg. Fixes issuu #40571
(cherry picked from commit 3b7d6d21e2)
2023-12-23 23:11:59 +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
Pierre Muller
15115e8e54 Disable fcl-pdf package for wince target
(cherry picked from commit b51e5f370f)
2023-12-22 15:35:20 +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
Sven/Sarah Barth
3346c3b5c2 * ensure that _LookupVtableInfoEx isn't called with a type that needs special handling as we can't (or won't) really cover that using some generic RTTI handling
(cherry picked from commit db66d8f057)
2023-12-21 09:56:13 +01:00
Sven/Sarah Barth
7ae9a8745a * essentially undo 4823ca7114 as comparers that need now use a suitable class implementation directly
(cherry picked from commit 939f7345ac)
2023-12-21 09:56:04 +01:00
Sven/Sarah Barth
be7eec7f24 * use the explicit implementations of the I*Comparer<> interfaces for types like records and objects; fixes #40074 and #40077 on systems using the Sys V ABI
(cherry picked from commit 073a6e91e6)
2023-12-21 09:55:54 +01:00
Sven/Sarah Barth
189f65ad18 + introduce explicit implementations for the IComparer<>, IEqualityComparer<> and IExtendedEqualityComparer<> interfaces for types that should be compared using binary comparison (e.g. records, objects, etc)
(cherry picked from commit 2a8665ef94)
2023-12-21 09:55:46 +01:00
Sven/Sarah Barth
89e26d69dd * fix #40074: adjust Generics.Defaults to make use of the new ConstParamIsRef<> utility function to correctly determine how a generic binary parameter needs to be compared
(cherry picked from commit 4823ca7114)
2023-12-21 09:55:35 +01:00
Sven/Sarah Barth
03dd693319 * don't use size specific binary comparers
(cherry picked from commit b0e9b9d705)
2023-12-21 09:55:23 +01:00
Sven/Sarah Barth
b037b005ae * change constref parameters to const for Delphi compatibility as well as better code generation
(cherry picked from commit 693491048b)
2023-12-21 09:55:13 +01:00
Sven/Sarah Barth
8ab5cef8cc Revert commit 663ee7bc20 as it's simply not allowed to set an object instance value twice no matter if it's the same object instance or not.
(cherry picked from commit 43f4904d74)
2023-12-21 09:55:06 +01:00
florian
48ffc20502 * patch by ab: Optimized default hash asm in generics.hashes, resolves #40035
* generic.hashes now uses the cpu unit to detect crc32 cpu support

(cherry picked from commit e1bbcf7050)
2023-12-21 09:54:57 +01:00
J. Gareth "Curious Kit" Moreton
5d878ac342 * Fix to TObjectOpenAddressingLP in generics.collections where SetValue
would free the object if the current value is the same as the new value
    (fixes #40024)

(cherry picked from commit 663ee7bc20)
2023-12-21 09:54:51 +01:00
Rika Ichinose
f9d852cab4 Add heapsort fallback to Generics.Collections.TArrayHelper.Sort.
(cherry picked from commit 3fff2aca6d)
2023-12-21 09:54:42 +01:00
florian
d77e617f4c * patch by Rika: avoid that capacity of TQueue grows to much for certain
usage patterns, resolves #39662

(cherry picked from commit 4c5fc2f958)
2023-12-21 09:54:32 +01:00
svenbarth
b0533c4ccb * don't use GetTypeData() when ATypeInfo is Nil
git-svn-id: trunk@49063 -
(cherry picked from commit 57e040cb82)
2023-12-21 09:54:26 +01:00
mattias
638b81dcaa fcl-pdf: using EPDF
(cherry picked from commit 85338e2d05)
2023-12-21 09:47:53 +01:00
Michaël Van Canneyt
b13056fcf2 * Cosmetic changes, fixes issue #40377
(cherry picked from commit e2a54b6e75)
2023-12-21 09:35:56 +01:00
Michaël Van Canneyt
b2d1a7e933 * Fix block logic error, causing failure of tw12830.pp
(cherry picked from commit 87d084dd21)
2023-12-21 09:35:45 +01:00
Michaël Van Canneyt
5552402fce * Disable use of goto for webassembly
(cherry picked from commit 935ce7edac)
2023-12-21 09:35:34 +01:00
Michaël Van Canneyt
40fa147d20 * Base hash units moved & renamed
(cherry picked from commit 16fa6fa105)
2023-12-20 22:06:11 +01:00
Michaël Van Canneyt
ced7d5f006 ES256 signing algorithm
(cherry picked from commit 5afaeaa3ac)
2023-12-20 22:04:26 +01:00
marcoonthegit
898baf2376 * removed zxspectrum and simular new targets 2023-12-20 22:01:21 +01:00
Michaël Van Canneyt
4437bf19e4 * Remove circular use, add lazarus test project file
(cherry picked from commit ff7febc06c)
2023-12-20 21:57:55 +01:00
Michaël Van Canneyt
14748e5b79 * No dependency on classes unit
(cherry picked from commit 6390ccde9b)
2023-12-20 21:57:45 +01:00
Michaël Van Canneyt
8aa90e6c99 * Fix dependency on hash (sha1)
(cherry picked from commit 9f1f055d29)
2023-12-20 21:57:39 +01:00
Michaël Van Canneyt
2967d1e473 * Reorder units
(cherry picked from commit 1c9c9bd8bd)
2023-12-20 21:57:34 +01:00
Michaël Van Canneyt
a23f4ba13b * Do not redefine TBytes
(cherry picked from commit 70c286d7d5)
2023-12-20 21:57:20 +01:00