Commit Graph

56069 Commits

Author SHA1 Message Date
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
ondrej
5055b3cb99 * forgotten int64 parameter type
git-svn-id: trunk@47339 -
(cherry picked from commit 4fa3362355)
2023-12-16 15:43:35 +01:00
marcoonthegit
138fa82742 * one manual fix in two commits ago not git added. 2023-12-16 15:26:01 +01:00
Michaël Van Canneyt
b54f4c53b0 * Do not use comp type, use int64 instead. Fix issue #40469
(cherry picked from commit bad90711ef)
2023-12-16 15:20:09 +01:00
Michaël Van Canneyt
f1599dbfc8 * Port in small letters, postgres requires lowercase port setting
(cherry picked from commit 1da1a67369)
2023-12-16 14:48:33 +01:00
Michaël Van Canneyt
2c52909562 * Removed debug define
(cherry picked from commit 9a08966d77)
2023-12-16 14:48:17 +01:00
Michaël Van Canneyt
4b72417dbc * Fix some compiler warnings
(cherry picked from commit eaf665e8c4)
2023-12-16 14:48:09 +01:00
Michaël Van Canneyt
4e1e30b102 * Fix compiler warning
(cherry picked from commit 1d9a17377d)
2023-12-16 14:48:02 +01:00
Michaël Van Canneyt
70967d03aa * Remove baseunix
(cherry picked from commit a33bd31734)
2023-12-16 14:47:55 +01:00
Michaël Van Canneyt
f53ac59533 * Allow to set LogEvents on created connections
(cherry picked from commit 869496b9e2)
2023-12-16 14:47:48 +01:00
Michaël Van Canneyt
f10fbacf85 * 32/64 bit, handle ExecPrepared result correctly
(cherry picked from commit 9c0a59b069)
2023-12-16 14:47:39 +01:00
Michaël Van Canneyt
50cd370360 ID only 32 bit
(cherry picked from commit bdf5343770)
2023-12-16 14:47:32 +01:00
Michaël Van Canneyt
71e664ab71 * Fix compilation on non-unix. fix issue #40132
(cherry picked from commit 01d3af48a1)
2023-12-16 14:47:24 +01:00
Michaël Van Canneyt
0310beeb65 * Refactored to be able to solve threadsafety problem
(cherry picked from commit 68c52cf025)
2023-12-16 14:47:16 +01:00
Michaël Van Canneyt
98ede46280 * SQLDB Database connection pool
(cherry picked from commit 1790b0c466)
2023-12-16 14:46:58 +01:00
Ondrej Pokorny
143062c064 Postgres: more information in EPQDatabaseError
(cherry picked from commit f9b1a5acfb)
2023-12-16 14:34:33 +01:00
Michaël Van Canneyt
69ffa43ccf * Patch from Luxa Olivetti, fix for issue #33737
(cherry picked from commit 27f8f077d5)
2023-12-16 14:34:25 +01:00
Michaël Van Canneyt
d209df65b2 * Set buffer size
(cherry picked from commit e45b31ced5)
2023-12-16 14:34:15 +01:00
Michaël Van Canneyt
a04d892e40 * Allow descendentsto set default buffer size
(cherry picked from commit 2f355fe96b)
2023-12-16 14:34:03 +01:00
Michaël Van Canneyt
4b2a7681b4 * Move fdbf back to private section
(cherry picked from commit 9d776f058e)
2023-12-16 14:33:55 +01:00
Frank Rademakers
b5eb207a7d Additional Visual Foxpro functionality for TDbf. AutoInc fields work and can...
(cherry picked from commit 9d4cdc9383)
2023-12-16 14:33:47 +01:00
Michaël Van Canneyt
0376cb7ae8 Reset col when reading new lines. Fix issue #39356
(cherry picked from commit 672f90bf40)
2023-12-16 14:33:41 +01:00
Ondrej Pokorny
7f561e7825 db xmldatapacketreader: don't use PChar in InitLoadRecords
(cherry picked from commit b28adbad5f)
2023-12-16 14:33:32 +01:00
Ondrej Pokorny
faa1c72996 db xmldatapacketreader: fix range check error in InitLoadRecords
(cherry picked from commit 2093be8fc3)
2023-12-16 14:33:23 +01:00
Ondrej Pokorny
6236a5f558 odbc: bind string parameters as SQL_WLONGVARCHAR only for more than 2000 characters
(cherry picked from commit f57adee862)
2023-12-16 14:33:13 +01:00
Ondrej Pokorny
5874dc3cca odbc: fix long string parameter bindings
(cherry picked from commit fefb13da3b)
2023-12-16 14:33:06 +01:00