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