Michael VAN CANNEYT
|
ccfa38c68e
|
* Dotted RTL compiles
|
2023-07-27 19:04:03 +02:00 |
|
Michael VAN CANNEYT
|
2ce2bab2a6
|
* Char -> AnsiChar
|
2023-07-14 17:26:09 +02:00 |
|
Nikolay Nikolov
|
65d8c3d7eb
|
* refactored duplicated code for epoch to datetime and vice versa conversion
between the dos and sysutils units for the WASI platform
|
2022-06-25 00:40:25 +03:00 |
|
Nikolay Nikolov
|
03513720a3
|
* fixed range check error in the DOS unit
|
2021-10-20 14:35:52 +03:00 |
|
Nikolay Nikolov
|
6921b968f1
|
- removed TWasiSearchRec.Mode, because it was unused
|
2021-10-19 17:31:02 +03:00 |
|
Nikolay Nikolov
|
8c39213d39
|
+ implemented DOS.FSearch for WASI
|
2021-10-19 16:24:43 +03:00 |
|
Nikolay Nikolov
|
090cc8fa8f
|
* moved the FindFirst/FindNext/FindClose code from unit DOS to WasiUtil, using
RawByteString. This will allow to reuse the same implementation in SysUtils.
|
2021-10-19 13:39:20 +03:00 |
|
Nikolay Nikolov
|
0ead28c1e0
|
- removed the RtlInfoType record, because it is only used only once in a local
variable. Use an anonymous record instead.
|
2021-10-19 12:01:14 +03:00 |
|
Nikolay Nikolov
|
6cd88575c6
|
- removed unused, commented out fields from the RtlInfoType record
|
2021-10-19 11:51:25 +03:00 |
|
Nikolay Nikolov
|
78c4585b53
|
* the FNMatch private helper function moved from unit DOS to unit WasiUtil, and
changed to have rawbytestring parameters, so it can be used from SysUtils as
well.
|
2021-10-19 11:36:01 +03:00 |
|
Nikolay Nikolov
|
b2a0df0d10
|
* ConvertToFdRelativePath removed from the interface part of the WASI system
unit (to avoid cluttering the WASI system unit interface with platform
dependent routines) and added to a new unit, called wasiutil
|
2021-10-19 09:06:56 +03:00 |
|
Nikolay Nikolov
|
099a927331
|
* fix for the WASI datetime to epoch conversion
|
2021-10-12 11:27:27 +03:00 |
|
Nikolay Nikolov
|
a55980bfb8
|
+ implemented dos.SetFTime for WASI
|
2021-10-12 11:06:16 +03:00 |
|
Nikolay Nikolov
|
c4d7773c0e
|
+ added platform-specific helper function dos.DTToWasiDate, similar to
DTToUnixDate on Unix
|
2021-10-12 10:33:28 +03:00 |
|
Nikolay Nikolov
|
ca242e9ad0
|
+ implemented DOS.GetFAttr for WASI
|
2021-10-12 09:14:14 +03:00 |
|
Nikolay Nikolov
|
4e605fb764
|
+ dummy implementation of dos.SetFAttr for WASI, based on the Unix version
|
2021-10-12 07:08:32 +03:00 |
|
Nikolay Nikolov
|
aafb471bc8
|
* don't set InOutRes in ConvertToFdRelativePath, but return it instead. This
fixes issues in places where this function is used in a way that should not
set IOResult.
|
2021-10-12 03:28:03 +03:00 |
|
Nikolay Nikolov
|
27df4e98d2
|
* use rawbytestring instead of ansistring for the WASI file name handling
|
2021-10-11 09:25:01 +03:00 |
|
Nikolay Nikolov
|
13c344a3a0
|
* replaced ['/','\'] with AllowDirectorySeparators in the WASI directory
parsing code
|
2021-10-11 08:45:42 +03:00 |
|
Nikolay Nikolov
|
bae50d80d2
|
* preopen fd names and current dir changed to use ansistring, as well as the
parameters and result of ConvertToFdRelativePath. This will allow easier
implementation of ChDir.
|
2021-10-10 09:11:19 +03:00 |
|
Nikolay Nikolov
|
e19fcd2b8b
|
+ implemented GetMsCount in the DOS unit for WASI
|
2021-10-05 20:49:32 +03:00 |
|
Nikolay Nikolov
|
02745b0b83
|
+ implemented GetDate, GetTime and WeekDay in the WASI dos unit. They return
UTC time (I don't know how to obtain the local time zone from within WASI).
|
2021-10-01 06:34:52 +03:00 |
|
nickysn
|
f0543ad8d5
|
* use -1 instead of 0 for indicating empty DirFD
git-svn-id: trunk@49574 -
|
2021-07-01 01:48:25 +00:00 |
|
nickysn
|
0219b4018c
|
+ initial working implementation of FindFirst/FindNext
git-svn-id: trunk@49573 -
|
2021-07-01 01:34:07 +00:00 |
|
nickysn
|
5eac35664f
|
+ started working on DOS.FindFirst
git-svn-id: trunk@49555 -
|
2021-06-24 01:35:24 +00:00 |
|
nickysn
|
afb9c2ae94
|
+ implemented environment variables support in the DOS unit for the WASI target
git-svn-id: trunk@49551 -
|
2021-06-23 23:15:15 +00:00 |
|
nickysn
|
827f543289
|
* fixed date calculation in WasiDateToDT
git-svn-id: trunk@49540 -
|
2021-06-23 21:01:30 +00:00 |
|
nickysn
|
25a9843ea4
|
* also set doserror to 5 for access denied in dos.getfattr
git-svn-id: trunk@49538 -
|
2021-06-23 20:57:50 +00:00 |
|
nickysn
|
953893267b
|
+ initial WASI implementation of DOS.GetFTime. Not working yet, due to a
compiler bug, related to the import of fd_filestat_get from the wasiapi unit.
git-svn-id: trunk@49536 -
|
2021-06-23 20:04:03 +00:00 |
|
nickysn
|
e830ed6cbc
|
+ compile the unit dos (OS-specific functions are dummies for now) for the WASI target
git-svn-id: trunk@49454 -
|
2021-06-01 22:38:54 +00:00 |
|