Nikolay Nikolov
|
d7755a56f6
* replaced '/' with DirectorySeparator in the WASI directory parsing code
|
3 years ago |
Nikolay Nikolov
|
13c344a3a0
* replaced ['/','\'] with AllowDirectorySeparators in the WASI directory
|
3 years ago |
Nikolay Nikolov
|
25ac138092
* keep the drive string separate in the preopen and the current dir records on
|
3 years ago |
Nikolay Nikolov
|
64db584eef
* moved the preopened dir and current dir handling types and variables to the
|
3 years ago |
Nikolay Nikolov
|
a62c7555d7
- removed the DebugWriteXXX functions from the WASI system unit, since console
|
3 years ago |
Nikolay Nikolov
|
0d6b5338d0
+ implemented ChDir() for WASI
|
3 years ago |
Nikolay Nikolov
|
85ebd2c94c
* fixed handling of relative paths that are not directly relative to a preopened
|
3 years ago |
Nikolay Nikolov
|
bae50d80d2
* preopen fd names and current dir changed to use ansistring, as well as the
|
3 years ago |
Nikolay Nikolov
|
d45915b6ba
* preopened dirs structure in the system unit modified to be a pointer to an
|
3 years ago |
nickysn
|
afb9c2ae94
+ implemented environment variables support in the DOS unit for the WASI target
|
4 years ago |
nickysn
|
c275c3c7f2
+ implemented Randomize
|
4 years ago |
nickysn
|
ba1dcfc6a4
+ also resolve absolute paths in ConvertToFdRelativePath
|
4 years ago |
nickysn
|
bc08af99b0
+ initial implementation of resolving relative paths
|
4 years ago |
nickysn
|
ba3383f7e3
+ keep also the fds for the current dirs
|
4 years ago |
nickysn
|
d3ce008cd3
+ initial implementation of GetDir() for WASI
|
4 years ago |
nickysn
|
0a384b0905
* enumerate preopened dirs on startup and store them in a list, accessible via global vars in the system unit
|
4 years ago |
nickysn
|
e7a1ef962e
+ partially implemented the initial enumeration of preopened dirs
|
4 years ago |
nickysn
|
7799cd0f80
+ implemented ParamStr and ParamCount for WASI
|
4 years ago |
nickysn
|
0f50c85b44
* prefixed all wasi api functions with __wasi_, similar to the C header
|
4 years ago |
nickysn
|
d5b8f6ac7a
+ added all the WASI API types and constants
|
4 years ago |
nickysn
|
04828b22f6
* WASI API consts, types and procs moved to separate include files
|
4 years ago |
nickysn
|
5dd7e116ce
+ added header comment with copyright and license info to the WASI system unit
|
4 years ago |
nickysn
|
6f20e32ddd
+ added argc and argv (not yet initialized), so that unit objpas compiles
|
4 years ago |
nickysn
|
a28eb39f4b
+ implemented WASI file close
|
4 years ago |
nickysn
|
fb29456a0a
* fixed parameter of DebugWriteHexLongWord
|
4 years ago |
nickysn
|
cdb74f034c
+ call InitSystemThreads in the system unit startup for WASI
|
4 years ago |
nickysn
|
c8760b12d4
+ initial attempt for implementing do_open. Not working yet
|
4 years ago |
nickysn
|
85ea2b9b11
+ added the WASI errno constants
|
4 years ago |
nickysn
|
9b173ac119
+ implemented do_isdevice for WASI
|
4 years ago |
nickysn
|
d6038c5709
+ implemented do_read for WASI
|
4 years ago |