michael
2a96ad2715
* Check buffer overflow when reading
...
git-svn-id: trunk@49012 -
2021-03-19 14:25:21 +00:00
michael
3575369989
* Fix leap second reading
...
git-svn-id: trunk@49006 -
2021-03-19 09:22:13 +00:00
ondrej
2a61397d37
unix: fix timezone info for timers after the last transition
...
git-svn-id: trunk@49005 -
2021-03-19 08:11:10 +00:00
ondrej
881235b489
unix: fix RefreshTZInfo UTC parameter
...
git-svn-id: trunk@49001 -
2021-03-18 19:21:51 +00:00
florian
b7fe338bbe
* mips and xtensa compilation fixed
...
git-svn-id: trunk@48928 -
2021-03-09 21:07:51 +00:00
florian
bb97c5ab69
+ RiscV: set threadvarblocksize
...
* sanity check if threadvarblocksize is really set
git-svn-id: trunk@48925 -
2021-03-08 22:07:07 +00:00
florian
3e453f92fc
* statx based Sysutils.FileGetDate with handle fixed
...
+ test
git-svn-id: trunk@48520 -
2021-02-07 17:59:28 +00:00
florian
b08717fef6
* make statx based Sysutils.FileAge working with relative pathes
...
+ test
git-svn-id: trunk@48519 -
2021-02-07 17:41:27 +00:00
florian
b4a1c27c58
* renamed new syscall wrapper in linux to be consist with the others
...
git-svn-id: trunk@48479 -
2021-01-31 22:25:18 +00:00
florian
90ba89a128
* linux: FileGetDate makes use of statx if needed
...
git-svn-id: trunk@48476 -
2021-01-31 18:38:50 +00:00
florian
ef04e3983f
* sysutils on linux uses only the new syscalls if the system has no suitable clong type
...
git-svn-id: trunk@48475 -
2021-01-31 18:20:01 +00:00
florian
c3656c6b1c
* fallback to fputime if fputimensat fails as not being available
...
git-svn-id: trunk@48474 -
2021-01-31 18:09:57 +00:00
florian
d402e0b940
* Y2K38 problem for linux in sysutils.findfirst/findnext should be solved
...
git-svn-id: trunk@48473 -
2021-01-31 18:02:55 +00:00
florian
b8ab06aae7
+ futimens syscall
...
* make use of futimens syscall in sysutils unit
+ tests
git-svn-id: trunk@48472 -
2021-01-31 17:12:39 +00:00
florian
e6f575d43c
+ make use of the fputimensat syscall on linux to enable always times beyond 32 bit
...
git-svn-id: trunk@48471 -
2021-01-31 16:43:53 +00:00
florian
f39f8d0f1a
* linux: make use of statx in Sysutils.FileAge if available
...
git-svn-id: trunk@48457 -
2021-01-30 18:47:27 +00:00
svenbarth
efe6b32638
+ add declaration of FpSchedGetAffinity when the Linux target is compiled with FPC_USE_LIBC
...
git-svn-id: trunk@48121 -
2021-01-09 15:58:18 +00:00
ondrej
f982317ebd
* cwstring: open iconv with the transliterate flag if iconvctl is not available
...
git-svn-id: trunk@47635 -
2020-11-29 17:09:19 +00:00
ondrej
6854f171d1
* revert r47631: cwstring: open iconv with the transliterate flag instead of setting it later with iconvctl because it may be unavailable
...
git-svn-id: trunk@47633 -
2020-11-29 14:59:18 +00:00
ondrej
91229dcee9
* cwstring: open iconv with the transliterate flag instead of setting it later with iconvctl because it may be unavailable
...
git-svn-id: trunk@47631 -
2020-11-29 12:08:55 +00:00
ondrej
a33256c1fb
* cwstring: try to load the iconv library with .6 suffix as well
...
git-svn-id: trunk@47630 -
2020-11-29 10:53:23 +00:00
ondrej
63beb1e83a
* revert r47532, r47527 (use timezone information from fpgettimeofday) because they are not available on all Linux distributions
...
git-svn-id: trunk@47541 -
2020-11-23 15:17:52 +00:00
ondrej
28d88b9999
* GetLocalTimeOffset: use timezone information from fpgettimeofday
...
git-svn-id: trunk@47532 -
2020-11-22 19:50:40 +00:00
ondrej
f5a95782a9
* use timezone information from fpgettimeofday for getting local datetime
...
git-svn-id: trunk@47527 -
2020-11-22 15:39:37 +00:00
michael
664283af9e
* Optimized DiskAdd/DiskFree/AddDisk, bug ID #37523
...
git-svn-id: trunk@47365 -
2020-11-09 19:34:06 +00:00
ondrej
4fa3362355
* forgotten int64 parameter type
...
git-svn-id: trunk@47339 -
2020-11-08 07:18:49 +00:00
ondrej
7ded8307c9
* timezones android compilation
...
git-svn-id: trunk@47326 -
2020-11-05 18:39:11 +00:00
ondrej
d2a517389f
* forgotten int64 parameter type
...
git-svn-id: trunk@47325 -
2020-11-05 17:16:27 +00:00
ondrej
be4c907117
* read int64 transition table from linux timezone files if available
...
git-svn-id: trunk@47324 -
2020-11-05 17:10:12 +00:00
ondrej
3ee2097f1a
* unix timezone optimizations
...
git-svn-id: trunk@47321 -
2020-11-05 12:45:35 +00:00
ondrej
7fbceaac21
* thread-safe time zone info read/write
...
git-svn-id: trunk@47309 -
2020-11-04 14:56:56 +00:00
ondrej
c64429cdd0
* lazy thread initialization support
...
git-svn-id: trunk@47308 -
2020-11-04 14:55:40 +00:00
ondrej
934f2dc55d
* introduce NowUTC() and GetUniversalTime()
...
git-svn-id: trunk@47306 -
2020-11-04 09:34:08 +00:00
ondrej
7ad4694e4b
* remove the BaseUnix dependency added by mistake
...
git-svn-id: trunk@47305 -
2020-11-04 05:52:58 +00:00
ondrej
f296bf3f2d
Unix timezone: fix search around TZ change back to be the same as on Windows
...
git-svn-id: trunk@47296 -
2020-11-03 19:40:04 +00:00
ondrej
a36caf9043
Unix LocalToEpoch: fix typo
...
git-svn-id: trunk@47295 -
2020-11-03 19:38:04 +00:00
ondrej
a02d676b06
GetLocalTimeOffset: add InputIsUTC parameter to DateTime-aware overloads
...
git-svn-id: trunk@47293 -
2020-11-03 18:15:16 +00:00
ondrej
f4cff81881
LocalToEpoch, EpochToLocal: fix for arbitrary datetime
...
git-svn-id: trunk@47291 -
2020-11-03 14:27:07 +00:00
ondrej
282aa0daa7
GetLocalTimeOffset: DateTime-aware overloads for Unix. Issue #35710
...
git-svn-id: trunk@47290 -
2020-11-03 11:41:28 +00:00
pierre
f80bd9b034
Fix typo in script comment
...
git-svn-id: trunk@47229 -
2020-10-27 23:11:23 +00:00
ondrej
b51729dac5
File datetime UTC support
...
git-svn-id: trunk@47210 -
2020-10-26 20:39:21 +00:00
ondrej
0d08b98d47
GetLocalTimeOffset: DateTime-aware overloads (Windows supported, Unix is a ToDo). Issue #35710
...
git-svn-id: trunk@47206 -
2020-10-26 12:29:18 +00:00
michael
48747bd161
* Patch to change numeric constant to symbolic constant for file mode (bug ID 37889)
...
git-svn-id: trunk@47064 -
2020-10-08 12:42:34 +00:00
pierre
f316121d53
Add handling of extra parameters, using eval if equal sign is found.
...
+ Add TMP_DIR variable and use it.
* Only remove temp files if verbose is not set.
git-svn-id: trunk@46883 -
2020-09-16 20:44:44 +00:00
svenbarth
11b601d44c
* TThread.Terminate does not have any platform specific behavior (it should only set FTerminated to true and call TerminatedSet), thus move it to the platform independant part
...
Notes:
- Netware had a ThreadSwitch in there, but that is not really required
- some platform were missing the setting of FTerminated to True, thus they'll now do that as well
git-svn-id: trunk@46543 -
2020-08-22 15:56:13 +00:00
michael
b7bd9f3325
* Add TerminatedSet (delphi compatibility, bug ID #37388 )
...
git-svn-id: trunk@45805 -
2020-07-18 22:35:36 +00:00
svenbarth
73026618c8
* protect against empty strings inside the SetThreadDebugNameA and -U functions
...
git-svn-id: trunk@45237 -
2020-05-03 21:11:36 +00:00
svenbarth
0906714aa4
* fix for Mantis #36950 : apply (slightly adjusted) patch by Bi0T1N to implement SetThreadDebugNameA and -U for Linux and Android targets
...
git-svn-id: trunk@45233 -
2020-05-03 15:08:35 +00:00
svenbarth
c8b7094378
* fix for Mantis #36940 : apply (adjusted) patch by Bi0T1N to add functionality to the thread manager to set a thread's debug name (if supported by the platform)
...
git-svn-id: trunk@45160 -
2020-04-28 19:58:20 +00:00
joost
e7f5b89c2c
* Avoid doing a syscall with a nil parameter in fileexists
...
git-svn-id: trunk@44090 -
2020-02-02 11:06:14 +00:00