Commit Graph

56332 Commits

Author SHA1 Message Date
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
Michaël Van Canneyt
1ecac80470 * Dependency on fcl-base
(cherry picked from commit 4b956674dd)
2023-12-20 21:57:11 +01:00
Michaël Van Canneyt
fb21284c59 * Correct uses clause (renamed units)
(cherry picked from commit 509d8cd407)
2023-12-20 21:57:05 +01:00
Michaël Van Canneyt
27da1c78bd * Renamed ecc->fpecc
(cherry picked from commit b445cadeb9)
2023-12-20 21:56:58 +01:00
Michaël Van Canneyt
3da7cc9bc7 * Fix compilation, remove moved units
(cherry picked from commit 1be9fecf4b)
2023-12-20 21:56:50 +01:00
Michaël Van Canneyt
b99b6808b5 * Rename units using fp prefix
(cherry picked from commit 009c19a400)
2023-12-20 21:56:42 +01:00
Michaël Van Canneyt
ebe6affcf6 Move hash algorithms that rely on fcl-base
(cherry picked from commit 82fdbbbbdc)
2023-12-20 21:56:33 +01:00
Michaël Van Canneyt
f6e7ee1212 * Move basenenc back to fcl-base, sysutils is needed
(cherry picked from commit 7626af634c)
2023-12-20 21:56:25 +01:00
florian
ceddfd11cc * renamed units so they are not picked up multiple times by the regression tests
(cherry picked from commit ab1a997b12)
2023-12-20 21:56:16 +01:00
Michaël Van Canneyt
a656236579 * Correct dependency
(cherry picked from commit e9b9f69fba)
2023-12-20 21:56:09 +01:00
Michaël Van Canneyt
b6af3f31d5 * Hopefully fix compilation of hash package for msdos
(cherry picked from commit 7bdf6672b5)
2023-12-20 21:56:00 +01:00
Michaël Van Canneyt
f35622bd50 * Start of ECDSA
(cherry picked from commit 6ae8840ece)
2023-12-20 21:55:06 +01:00
Michaël Van Canneyt
92b3df8bee *Rename types
(cherry picked from commit b8506def7a)
2023-12-20 21:54:59 +01:00
Michaël Van Canneyt
989dcc7528 * Rename types with ECC prefix
(cherry picked from commit 34f0612932)
2023-12-20 21:54:52 +01:00
Michaël Van Canneyt
a221b1f8a9 * Additional functions needed in PEM/ASN
(cherry picked from commit 93f579ecd8)
2023-12-20 21:54:46 +01:00
Michaël Van Canneyt
dbf5b9b404 * Allow to skip whitespace
(cherry picked from commit 168cb8f2ca)
2023-12-20 21:54:39 +01:00
Michaël Van Canneyt
57bbc52087 * SHA512/SHA384 + JWT signers, refactor SHA256 to use class methods
(cherry picked from commit 47610d5c65)
2023-12-20 21:54:30 +01:00
Michaël Van Canneyt
a354527c5d * fcl-base dependency
(cherry picked from commit 1bc8aea2b3)
2023-12-20 21:54:22 +01:00
Michaël Van Canneyt
db0a1d4438 * Fix license
(cherry picked from commit 64fbc1847f)
2023-12-20 21:54:16 +01:00
Michaël Van Canneyt
fc80394c6c * Fix compilation
(cherry picked from commit 6644d6c4c2)
2023-12-20 21:54:07 +01:00