Commit Graph

56194 Commits

Author SHA1 Message Date
Michaël Van Canneyt
0f5129db70 * Faster DupeString by Rika. Fixes issue #39949
(cherry picked from commit 0b3c608d79)
2023-12-16 23:22:55 +01:00
Michaël Van Canneyt
8c5420ad56 * Add TPointF.Zero
(cherry picked from commit b3d3b65bdf)
2023-12-16 23:22:13 +01:00
Michaël Van Canneyt
774ffb4219 * Fix typos, missing sparc
(cherry picked from commit d587f48892)
2023-12-16 23:10:48 +01:00
Michaël Van Canneyt
d41ae0a18d * add TClassicByteDynArray for delphi compatibility
(cherry picked from commit 9904727f75)
2023-12-16 23:10:37 +01:00
Michaël Van Canneyt
23825645fc * Add TClassicStringDynArray for Delphi compatibility
(cherry picked from commit 14fe7203fe)
2023-12-16 23:10:30 +01:00
Michaël Van Canneyt
a6d24ca96b * TOSVersion for Delphi compatibility
(cherry picked from commit 21e99a0a1e)
2023-12-16 23:09:52 +01:00
Michael Van Canneyt
80ace756b5 * SafeFormat and helper function to convert array of const to string in a safe manner
(cherry picked from commit 6ff542a13e)
2023-12-16 23:09:34 +01:00
florian
ba29fe11f6 + Exception.GetBaseException
(cherry picked from commit 18e0979379)
2023-12-16 23:08:46 +01:00
marcoonthegit
3fd86d6d25 * another forgotten git add..... 2023-12-16 21:30:17 +01:00
Michaël Van Canneyt
81b2bc87f4 * Fix compile error for i386-linux
(cherry picked from commit 770c21c0dd)
2023-12-16 19:46:18 +01:00
Michaël Van Canneyt
a7e6fa6bcf * Better string array definitions
(cherry picked from commit b7f9947d26)
2023-12-16 19:46:13 +01:00
marcoonthegit
4e7ddde706 * fix for #40069 add swapdimensions
(cherry picked from commit bfb904640a)
2023-12-16 19:45:56 +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
99d402aea8 + operator TPointF./, resolves #40046
(cherry picked from commit 1761d3c09d)
2023-12-16 19:45:27 +01:00
florian
04c6cb5047 * patch by Make TPointF * TPointF a component-wise multiplication, resolves #40042
(cherry picked from commit f1e391fb41)
2023-12-16 19:45:20 +01:00
Ondrej Pokorny
298b488da2 add missing TSizeF, TRectF properties and features
(cherry picked from commit 5109f0ba44)
2023-12-16 19:45:13 +01:00
Michaël Van Canneyt
ab31f82ec2 * Raise exception for fileseek positions that do not fit in longing. Issue #39407
(cherry picked from commit e97e27b8d5)
2023-12-16 19:45:05 +01:00
Nikolay Nikolov
819658f61e + also fill DayOfWeek in the Unix implementation of SysUtils.GetLocalTime
(cherry picked from commit f21273612a)
2023-12-16 19:44:56 +01:00
Michaël Van Canneyt
f762d4e0c2 * fix compilation
(cherry picked from commit c587f5a681)
2023-12-16 19:44:44 +01:00
Michaël Van Canneyt
07e09c6797 * fix compilation
(cherry picked from commit f069f27267)
2023-12-16 19:43:59 +01:00
Ondrej Pokorny
656b00e3c6 win: fix default ShortDateFormat and LongDateFormat
(cherry picked from commit 0ae0e741cf)
2023-12-16 19:39:55 +01:00
Ondrej Pokorny
2be9476fbb win: fix default ShortDateFormat and LongDateFormat
(cherry picked from commit 2c81b44b1c)
2023-12-16 19:39:49 +01:00
Tomas Hajny
9f405f0a69 + TZ variable based offset calculation included for DOS targets
git-svn-id: trunk@47546 -
(cherry picked from commit 91da9eae17)
2023-12-16 19:39:41 +01:00
Tomas Hajny
2cf6115789 + added TZ variable based offset calculation
git-svn-id: trunk@47535 -
(cherry picked from commit 95394d7f98)
2023-12-16 19:39:35 +01:00
marcoonthegit
842074c680 * fix win32 compilation by copying from trunk. 2023-12-16 18:33:19 +01:00
Pierre Muller
e19509affb Add missing FILE_ATTRIBUTE_XXX constants as found in WinCE 5.0 headers (only FILE_ATTRIBUTE_DEVICE is not defined)
(cherry picked from commit 7ec5e24541)
2023-12-16 18:17:59 +01:00
Pierre Muller
50dfb198c5 Fix compilation of system.ioutils unit for wince system
(cherry picked from commit c29018d0ac)
2023-12-16 18:17:48 +01:00
Michaël Van Canneyt
b9290ae6d8 * Fix copy & paste error
(cherry picked from commit 03266e9057)
2023-12-16 18:17:39 +01:00
Michaël Van Canneyt
0a9b46d86f * Hopefully fixed GetFileStamps/FileGetDateTimeInfo
(cherry picked from commit c5af4c420e)
2023-12-16 18:17:30 +01:00
marcoonthegit
f7edcf0fa5 Revert "* Patch from Zeljko Avramovic to add additional typehelpers for basic types. Fix issue #39268"
This reverts commit 87ad8e2622.
2023-12-16 17:36:30 +01:00
marcoonthegit
c98bd75dc0 Revert "* use the already existing TNative(U)IntNibbleIndex types for the TORDINALNIBBLEINDEX macro as this way memory models with far pointers (where Native(U)Int has a size of 4) is handled correctly as well"
This reverts commit 28006018ac.
2023-12-16 17:34:28 +01:00
marcoonthegit
dc294ac082 Revert "* move Boolean helpers before the ordinal ones so that ToOneZeroString can be inlined correctly"
This reverts commit 9ad4acc8bd.
2023-12-16 17:34:14 +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
ondrej
a67b55f7fe win32: SysErrorMessage: ignore inserts (when not used the messages with inserts are empty) and allocate message buffer
git-svn-id: trunk@47748 -
(cherry picked from commit 6eb37beb24)
2023-12-16 17:16:48 +01:00
ondrej
0018e3a51f * revert r47532, r47527 (use timezone information from fpgettimeofday) because they are not available on all Linux distributions
git-svn-id: trunk@47541 -
(cherry picked from commit 63beb1e83a)
2023-12-16 17:16:36 +01:00
ondrej
17ded150fa * GetLocalTimeOffset: use timezone information from fpgettimeofday
git-svn-id: trunk@47532 -
(cherry picked from commit 28d88b9999)
2023-12-16 17:16:09 +01:00
ondrej
073d47e77f * use timezone information from fpgettimeofday for getting local datetime
git-svn-id: trunk@47527 -
(cherry picked from commit f5a95782a9)
2023-12-16 17:15:58 +01:00
michael
01ccad773b * Optimized DiskAdd/DiskFree/AddDisk, bug ID #37523
git-svn-id: trunk@47365 -
(cherry picked from commit 664283af9e)
2023-12-16 17:15:50 +01:00
yury
d8f9e840e9 * msdos: Enabled $HUGECODE for sysutils and classes to overcome 64K per unit code limit.
git-svn-id: trunk@46493 -
(cherry picked from commit 1b99279617)
2023-12-16 17:15:43 +01:00
pierre
90df614486 Use same parameters as in fileutilh.inc for the handle variant of FileSetDate overloaded function
git-svn-id: trunk@45967 -
(cherry picked from commit 93fc5abe8b)
2023-12-16 17:15:32 +01:00
svenbarth
1b05238a38 * store and restore the 8087 control world only on x86 systems
git-svn-id: trunk@44922 -
(cherry picked from commit 1972b05cc8)
2023-12-16 17:15:22 +01:00
pierre
ffa53e69fb Replace assembler instruction 'xorl' by 'xor' in Intel mode
git-svn-id: trunk@44116 -
(cherry picked from commit 37106166f1)
2023-12-16 17:14:42 +01:00
Tomas Hajny
76504abecb * fix for TAbstractSearchRec.Time type change
git-svn-id: trunk@44113 -
(cherry picked from commit 9ce1d0e509)
2023-12-16 17:14:34 +01:00
florian
716a9c641d * fix compilation of arm-embedded, resolves #36626
git-svn-id: trunk@44034 -
(cherry picked from commit 5aaf68b088)
2023-12-16 17:11:50 +01:00
florian
d35d69b851 + introduce TOSTimestamp
git-svn-id: trunk@44033 -
(cherry picked from commit 3cd4168ab3)
2023-12-16 17:10:56 +01:00
Jeppe Johansen
0b182a1620 Fix types on embedded RTL.
Optimize consoleio for size on AVR.
Add support for RISC-V.
Regenerated makefile

git-svn-id: trunk@42333 -
(cherry picked from commit 9c77e87dd0)
2023-12-16 17:10:29 +01:00
Tomas Hajny
c4b2a0ac8b * fix for bug #38021 based on patch by Sergey Larin
git-svn-id: trunk@47269 -
(cherry picked from commit 5c119d5f67)
2023-12-16 17:03:45 +01:00
Sven Barth
9ad4acc8bd * move Boolean helpers before the ordinal ones so that ToOneZeroString can be inlined correctly
(cherry picked from commit b7034cb960)
2023-12-16 16:54:44 +01:00
Sven Barth
28006018ac * use the already existing TNative(U)IntNibbleIndex types for the TORDINALNIBBLEINDEX macro as this way memory models with far pointers (where Native(U)Int has a size of 4) is handled correctly as well
(cherry picked from commit 5412e463ff)
2023-12-16 16:54:35 +01:00
Michaël Van Canneyt
87ad8e2622 * Patch from Zeljko Avramovic to add additional typehelpers for basic types. Fix issue #39268
(cherry picked from commit e422743841)
2023-12-16 16:54:27 +01:00