Michael VAN CANNEYT
|
2ce2bab2a6
|
* Char -> AnsiChar
|
2023-07-14 17:26:09 +02: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
|
09e61201d2
|
* fixed WASI bug in do_read, where the result of the __wasi_fd_read syscall function was ignored
|
2021-10-11 10:33:54 +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
|
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 |
|
nickysn
|
4240279a84
|
+ always request pollfd_readwrite rights, when opening a file
git-svn-id: trunk@49549 -
|
2021-06-23 21:48:10 +00:00 |
|
nickysn
|
ca3f1d7b6d
|
+ always request FD_ADVISE rights, when opening a file
git-svn-id: trunk@49548 -
|
2021-06-23 21:45:52 +00:00 |
|
nickysn
|
5ff2af5176
|
+ always request FD_FDSTAT_SET_FLAGS rights
git-svn-id: trunk@49547 -
|
2021-06-23 21:44:19 +00:00 |
|
nickysn
|
90eb1351dc
|
+ request FD_DATASYNC and FD_SYNC rights when a file is opened for writing
git-svn-id: trunk@49546 -
|
2021-06-23 21:42:49 +00:00 |
|
nickysn
|
67c1520928
|
* changed the formatting of the setting of fs_rights_base in Do_Open. No functional changes.
git-svn-id: trunk@49545 -
|
2021-06-23 21:41:12 +00:00 |
|
nickysn
|
9efcd4e554
|
+ request fd_allocate rights when opening a file for writing
git-svn-id: trunk@49544 -
|
2021-06-23 21:39:10 +00:00 |
|
nickysn
|
3fd6704582
|
+ request the rights to set size (truncate) and set times, when a file is opened for writing
git-svn-id: trunk@49543 -
|
2021-06-23 21:36:22 +00:00 |
|
nickysn
|
a5309a5d0c
|
+ request fd_seek and fd_tell rights when opening a file
git-svn-id: trunk@49542 -
|
2021-06-23 21:31:55 +00:00 |
|
nickysn
|
c48f27225e
|
+ request the FD_FILESTAT_GET capability when opening files
git-svn-id: trunk@49539 -
|
2021-06-23 20:58:10 +00:00 |
|
nickysn
|
125dbdc21c
|
+ implemented Do_Rename for the WASI target
git-svn-id: trunk@49532 -
|
2021-06-23 00:30:47 +00:00 |
|
nickysn
|
539ea53bab
|
+ implemented Do_Seek and Do_Seekend for the WASI target
git-svn-id: trunk@49531 -
|
2021-06-23 00:20:48 +00:00 |
|
nickysn
|
17fac45ddc
|
+ implemented Do_FileSize for the WASI target
git-svn-id: trunk@49530 -
|
2021-06-23 00:12:22 +00:00 |
|
nickysn
|
5718b33dd8
|
+ implemented Do_FilePos for the WASI target
git-svn-id: trunk@49529 -
|
2021-06-23 00:03:44 +00:00 |
|
nickysn
|
5ee902800c
|
+ implemented do_truncate for the WASI target
git-svn-id: trunk@49528 -
|
2021-06-22 23:57:39 +00:00 |
|
nickysn
|
a7b3747b7b
|
+ implemented Erase() for the WASI target
git-svn-id: trunk@49527 -
|
2021-06-22 23:52:22 +00:00 |
|
nickysn
|
bc08af99b0
|
+ initial implementation of resolving relative paths
git-svn-id: trunk@49524 -
|
2021-06-22 23:14:33 +00:00 |
|
nickysn
|
0f50c85b44
|
* prefixed all wasi api functions with __wasi_, similar to the C header
git-svn-id: branches/wasm@48353 -
|
2021-01-23 16:29:31 +00:00 |
|
nickysn
|
a28eb39f4b
|
+ implemented WASI file close
git-svn-id: branches/wasm@48344 -
|
2021-01-23 07:04:32 +00:00 |
|
nickysn
|
0077b16cc3
|
* pass 3 as fd for path_open
git-svn-id: branches/wasm@48341 -
|
2021-01-23 06:15:19 +00:00 |
|
nickysn
|
c8760b12d4
|
+ initial attempt for implementing do_open. Not working yet
git-svn-id: branches/wasm@48311 -
|
2021-01-22 02:43:54 +00:00 |
|
nickysn
|
e14451c6b6
|
+ added error handling to the do_read and do_Write WASI routines
git-svn-id: branches/wasm@48310 -
|
2021-01-22 02:06:30 +00:00 |
|
nickysn
|
d6038c5709
|
+ implemented do_read for WASI
git-svn-id: branches/wasm@48307 -
|
2021-01-22 01:04:19 +00:00 |
|
nickysn
|
5794afac54
|
+ implemented do_write for WASI. Error handling is not yet done.
git-svn-id: branches/wasm@48299 -
|
2021-01-22 00:15:01 +00:00 |
|
nickysn
|
9b2e3aa251
|
+ rtl file routines debug output
git-svn-id: branches/wasm@48298 -
|
2021-01-22 00:07:00 +00:00 |
|
nickysn
|
6df4254c12
|
+ added WASI sysdir.inc and sysfile.inc (functions not implemented yet)
git-svn-id: branches/wasm@48239 -
|
2021-01-20 21:29:40 +00:00 |
|