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
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
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
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
florian
35d3a75ee4
* run fcl-image tests with regression tests
...
(cherry picked from commit 0f14bd45b1
)
2023-12-18 14:44:03 +01:00
michael
2df9168f4c
* Patch from Noel Duffy to implement DNS over TCP and test
...
git-svn-id: trunk@48455 -
(cherry picked from commit a90315c3a0
)
2023-12-18 12:14:16 +01:00
Rika Ichinose
72eee6001f
Remake AdjustLineBreaks.
...
This version is correct and supposedly better in other ways (except for a bit of clarity maybe).
(cherry picked from commit 1c4151d82e
)
edited to work around changes related to the massive unmergable dotted rtl commits.
2023-12-17 18:05:00 +01:00
florian
d1166342ca
* proper range checking for TryStrToDWord, should resolve all issues in #39406
...
(cherry picked from commit 983fbff871
)
2023-12-17 17:57:49 +01:00
florian
bbffe9e26a
* allow a range of Low(Longint) to High(DWord) in TryStrToInt, see also issue #39406
...
* moved test
(cherry picked from commit 435f3a9fe2
)
2023-12-17 17:57:41 +01:00
florian
2823485e93
+ patch by Rika to implement missing TPointF methods, resolves #40057
...
+ test by Rika
(cherry picked from commit 69eebe4c0c
)
2023-12-16 19:45:49 +01:00
florian
43f3819feb
* make statx based Sysutils.FileAge working with relative pathes
...
+ test
git-svn-id: trunk@48519 -
(cherry picked from commit b08717fef6
)
2023-12-16 17:16:57 +01:00
florian
117dce6e78
+ initial implementation of path dependent IsFileNameCaseSensitive/IsFileNameCasePreserving functions for darwin
...
git-svn-id: trunk@49164 -
(cherry picked from commit c1f85ac3a1
)
2023-12-16 12:30:20 +01:00
florian
1202d9d492
* statx based Sysutils.FileGetDate with handle fixed
...
+ test
git-svn-id: trunk@48520 -
(cherry picked from commit 3e453f92fc
)
2023-12-16 12:20:47 +01:00
florian
dcde27b8c6
* renamed new syscall wrapper in linux to be consist with the others
...
git-svn-id: trunk@48479 -
(cherry picked from commit b4a1c27c58
)
2023-12-16 12:15:48 +01:00
florian
afccc19a9e
* properly check for linux version supporting statx
...
git-svn-id: trunk@48469 -
(cherry picked from commit 33cd5778cd
)
2023-12-16 12:15:36 +01:00
pierre
9ca5ae9039
Add code to test Linux version, try statx syscall only if version is >= to 4.11
...
git-svn-id: trunk@47850 -
(cherry picked from commit 8b34e11da3
)
2023-12-16 12:15:18 +01:00
florian
5ea32418d8
+ futimens syscall
...
* make use of futimens syscall in sysutils unit
+ tests
git-svn-id: trunk@48472 -
(cherry picked from commit b8ab06aae7
)
2023-12-16 12:14:02 +01:00
florian
8be1d885e8
+ linux.fputimensat which properly uses the _tim64 version if needed and available
...
+ test
git-svn-id: trunk@48470 -
(cherry picked from commit 0c77536f11
)
2023-12-16 12:13:17 +01:00
florian
d0765540c5
* linux: make use of statx in Sysutils.FileAge if available
...
git-svn-id: trunk@48457 -
(cherry picked from commit f39f8d0f1a
)
2023-12-16 12:12:11 +01:00
florian
d4a7e0c8c7
+ Linux.fpstatx, resolves #36501
...
git-svn-id: trunk@43837 -
(cherry picked from commit d425a85f8d
)
2023-12-16 11:11:18 +01:00
florian
f2dc5b2d43
* patch by avk959 to solve infinite loop in FindMatchesBoyerMoore*, resolves #39885 and #39709
...
+ tests
(cherry picked from commit e457cdad8a
)
2023-12-13 22:30:16 +01:00
florian
98ae5f3497
* fixed MSecsToTimeStamp by Lagunov Aleksey, resolves #38631
...
git-svn-id: trunk@49247 -
(cherry picked from commit dbee3bcc0d
)
2023-12-13 21:27:22 +01:00
michael
4a2f6b8fe7
* Patch by Werner Pamler to improve ISO8601 to datetime conversion
...
git-svn-id: trunk@49624 -
(cherry picked from commit 4fac31d1c7
)
2023-12-13 20:59:47 +01:00
michael
7936203fab
* Patch from Laco to fix issue #39261
...
git-svn-id: trunk@49623 -
(cherry picked from commit 573917706f
)
2023-12-13 19:05:17 +01:00
michael
f124194c83
* Fix issue ID #38462
...
git-svn-id: trunk@48580 -
(cherry picked from commit 47be45830c
)
2023-12-13 17:51:06 +01:00
florian
3aadfc0802
* subroutines working with an OS dependend time stamp use an int64 now, so the 2038 problem
...
on unixes can be tackled
git-svn-id: trunk@44010 -
(cherry picked from commit 01302bc47d
)
2023-12-12 22:19:17 +01:00
Jonas Maebe
abf89eea0d
* fix conversion of true/false macro definitions to boolean values
...
(mantis #38492 )
o since the macro lookups are recursive, "mac" will usually be nil
afterwards (unless we found an undefined macro)
git-svn-id: trunk@49160 -
(cherry picked from commit ff3f812d97
)
2023-12-07 23:16:49 +01:00
Florian Klämpfl
55d25eea07
* patch by Bart B. to improve DelSpace1, resolves #39465
...
+ test
(cherry picked from commit 60c26a11ef
)
2023-11-27 15:00:44 +01:00
Michaël Van Canneyt
6b9d7f3bf1
* Patch from Bart to remove unneeded test
...
(cherry picked from commit ff3f183eb2
)
2023-11-27 11:30:52 +01:00
Michaël Van Canneyt
9b9ee443f7
* Restore display of exception type. fix issue #39811
...
(cherry picked from commit ecb4a0abca
)
2023-11-27 11:28:56 +01:00
Michaël Van Canneyt
280f507e22
* Patch from Bart. Fix for issue #39797
...
(cherry picked from commit b2ad1d3efd
)
2023-11-27 11:21:24 +01:00
Michaël Van Canneyt
f7dec10c5d
* Fix test regressions
...
(cherry picked from commit 53623d7184
)
2023-11-26 22:20:14 +01:00
florian
476dfc097e
+ forgotten test file added
...
(cherry picked from commit 3ef7fedfec
)
2023-11-26 22:19:30 +01:00
marcoonthegit
25a78a9bbd
* fix and test for bug #39884 solving daysbetween when zero date is crossed.
...
(cherry picked from commit 2291100bbd
)
2023-11-26 18:10:13 +01:00
florian
0b85860a1c
+ support leap seconds in TryEncodeTime, resolves #40121
...
(cherry picked from commit a9f9996dc8
)
2023-11-26 13:57:03 +01:00
marcoonthegit
cb70f9c47d
* applied patch from Alexey for closes #39704
...
* reviewed checks at start of function to match Delphi in rangecheck errors and other exits
* test for the above.
2023-11-24 22:53:02 +01:00
florian
355d1f87a2
* patch by Rika: fix for ... in iterator for TMap and TSet, resolves #39354
...
(cherry picked from commit 876ae56158
)
2023-06-30 13:32:45 +02:00
Ondrej Pokorny
d261c00571
fcl-image/pasjpeg: handle Exif orientation flag automatically
...
(cherry picked from commit 05c45486e8
)
2023-06-20 13:45:07 +02:00
Pierre Muller
2a33e47277
Add test for mips code generation bug
...
(cherry picked from commit e1b3c03daf
)
2023-06-09 07:53:30 +01:00
Pierre Muller
36c7b7b655
Improve test for unaligned access
...
(cherry picked from commit 11a390117c
)
2023-05-25 21:37:47 +00:00
pierre
91aad00398
Fix for bug report 38549 about wrong code generation
...
for mips/mipsel and riscv32/riscv64 CPUs for
set operators '<=' and '>='.
New tests for this bug report.
tw38549.pp, main source, also included
by tw38549a.pp, tw38549b.pp, tw38459c.pp and tw38459d.pp
with explicit {$packset X}, with X=1,2,4, or 8 added.
git-svn-id: trunk@48874 -
(cherry picked from commit 01a351f804
)
2023-05-25 21:37:47 +00:00