Description: wasi
This file as text.
(active) Revisions in this set:
a0e88efa6a73f044718f233cff76cee983a96dc2,711efc3e3aa0e87dddf71663036337434065bdcd,93fea6de3a0252bee42d8fb20f38960907994184
87111246ca24629d15385f9ec00fc9ee57421ea5,45620b11c0cca007cb38c94fc201cd8eef7875da,390be44cce0d32775bf1e24756f0535a1e55d1c5
27ff471ff4f9c54bed5df5e04fbdf654a8bdb5dd,08520e032a7dfdb7cf01c355d5a2a451ae4f91fc,d0b3a599a300945a46abd020fae9878c97d75c4c
1e34f047291dcf6140f89250d85a7b5fa5f907fe,a7dfbf012441cd54a960c7c1c153ca1a4f77582e,2a688eb948ac869dbf4165d2315e563b9d790e17
47b664ba92ac1e129b9401d7c0b1a0265f68c4a0,cf857a22eec513f3d131912a7d53c4239fc8924b,d6fc3129b390702dc0ebf94a07ef44032402a343
3d56f75ba7ac99a0bb6527b860209dda548a287d,9bebe9bcb7cc581f700600cfd0f3b9b100154bd0,84b3036574bfcc4acb20b211afd2ae9df63f8f50
c69649782a27d9234c3c9d4f6f066fdb67a1e0e4,fa7444a0d81bea369311fbc3b353bd5ffcdd993a,de7ebe219c562ddc18e07c9f437d25cd42c3e1d6
e830ed6cbc39f0b8899447a1e9f732aaccd49eba,e00dca144860bb2c8d5e25d4d57f54853700ddde,14ec15be7b0f91cc2892928e38380f8f98b16308
7c09f0be9673f9b95326ed2a442e496f011b50a4,56aa1e1bbe51ecf1143700e03119cfcccfd834a1,0a384b09058aab280c58752a46916d8e53cd71e2
d3ce008cd3c8069b1b9cfae5f989c52c756a89ee,ba3383f7e350afb3ca07b3ed50941edbd4170604,bc08af99b04772a62fdae261eeb9ddfa8c147fed
144d7ed97896b31ce9c18cddbeb3ffb998aec35d,0af333bd0f04010aa86fca053d29b8c53bb01796,a7b3747b7beac97be48a3d868355c6dd564853f9
5ee902800cf318036eb74044e4e87ecc542b080f,5718b33dd868a8266c933a51547e168a301a7ca0,17fac45ddce93a1769433e72688eddea046cd597
539ea53babd8f10c5e1b2a2404bf2e2639a6ceeb,125dbdc21cd23fe9f4184d3c2444b1291439b154,ba1dcfc6a4136c6b8154ba16d05d977553b30160
953893267bb45dc8179f55da4c4c203468b2777c,25a9843ea4488a7fcd462ba7a20964c20933e96f,c48f27225e0ca6dccbcba86f3000f48f374df7a4
827f543289dd3f8ff80c09d36cad489b583c3410,720068360ea09dac6fcd35dd47e763baa5805c6b,a5309a5d0cdeb9791a4ac59f666aca5628ed6f0a
3fd6704582a29832f9aa518bd7a178cff083aef7,9efcd4e5548637e8c970dd693bd52b4c859ceeee,67c152092835268be95e6e35f1f31b50d6546bbd
90eb1351dcf77267e4a02a699b6f21ad2995ab2b,5ff2af5176ecef0e9f0deda6a007089f82d5840f,ca3f1d7b6d507c5f4f3e4d681b85cb9ad51b659d
4240279a848b8cc4dffb4dba278d3c1c1be60bb7,c275c3c7f2df5eaaaf1080d5685280062db1d246,afb9c2ae94e020a1061aaeaaf8d44bff2b95e797
433050a2c41069ba5dd519058e47166aba1adfc5,5eac35664fa0a3df98a3fa7b6bbe8c129e5fe7c0,0219b4018cc400bb18f8ea3a924a5a0775186408
f0543ad8d523e40068359ddc096ad120c55cb5db,be90ad1672cec33b15f8faa09715190f6279e75f,a01a6021409f83d80ec80d95e73a66912d7d1211
c0cec218d64e082c373a6f973d4cf2f5798f84fa,e19fcd2b8b826c69b9ca97ab19eb9d9b49a4cf16,b93998c17c7b2eb81e13fbb93bc987f0258a645c
fe903f2ae413631591528c2ea9b33fcc05eac4e3,68cd1c39732449efc0e83adfc3d66dce80f1f9eb,163d2ab344b7ef739f501d79b7a0de9b2bda0666
497dd20a088a67a950c7c61f0a365f170c547f18,1b22a68fc6be4fb51c57a5f01b5193abacab4cf1,a8b789d183513c381c0dc60c0cd50700e8909dfe
585d0cf5746ab85b5dc5a202606f8426d4a282ab,f4964691b0ae2590ddd9a530f78ad9a378898098,f12752372f5e2544e5c4a9d60794c037b55df546
7cac9d2f02bfc1d207b28974340503afbe68d00c,4765d885dfacf93db8202c3b6217a806c09d0dcc,e5ac0b26891f1d5934e8023204f6574195a709cb
9e70f49745836204da6e132ae0822e832a521261,65d8c3d7ebef6ea5a893314b4a3267d3f1d6bcd6,e3139fea211474f8b31ac880c259ae68b8278c6f
fa278564786c5ec7fee45d7bd3b3f4f2d253be6e
Clicking a revision will expand files
+ compile the sysconst unit for wasm32-wasi
+ started working on the SysUtils unit for the WASI platform
+ enabled compilation of unit SysUtils for the WASI target. Note that WASI
snapshot building fails, when compiler is built with -CR, because of a
use-after-free bug in the compiler, related to generics. A fix for this bug
is currently being worked on.
+ enabled compilation of unit sortbase for the WASI target
+ enabled compilation of unit math for the WASI target
+ enable compilation of unit rtlconsts for the WASI target
+ enabled compilation of unit types for the WASI target
+ enabled compilation of unit typinfo for the WASI target
+ enabled compilation of unit fgl for the WASI target
+ enabled compilation of unit macpas for the WASI target
+ enabled compilation of unit iso7185 for the WASI target
+ enabled compilation of unit getopts for the WASI target
+ enabled compilation of unit charset for the WASI target
+ enabled compilation of unit cpall for the WASI target
+ enabled compilation of unit character for the WASI target
+ enabled compilation of units unicodedata and unicodenumtable for the WASI target
* fixed the dependencies of unit character
+ enabled compilation of unit fpwidestring for the WASI target
+ added classes unit for the WASI target (not yet enabled in the makefiles)
+ added tthread.inc rtl include file for WASI
+ enabled compilation of unit classes for the WASI target
+ enabled compilation of unit uuchar for the WASI platform
+ compile the unit dos (OS-specific functions are dummies for now) for the WASI target
+ enabled compilation of unit extpas for the WASI target
+ enabled the fcl-xml package for the WASI target
+ enabled the fcl-sound package for the WASI target
+ enabled the regexpr package for the WASI target
* enumerate preopened dirs on startup and store them in a list, accessible via global vars in the system unit
+ initial implementation of GetDir() for WASI
+ keep also the fds for the current dirs
+ initial implementation of resolving relative paths
+ implemented MkDir for the WASI target
+ implemented RmDir for the WASI target
+ implemented Erase() for the WASI target
+ implemented do_truncate for the WASI target
+ implemented Do_FilePos for the WASI target
+ implemented Do_FileSize for the WASI target
+ implemented Do_Seek and Do_Seekend for the WASI target
+ implemented Do_Rename for the WASI target
+ also resolve absolute paths in ConvertToFdRelativePath
+ 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.
* also set doserror to 5 for access denied in dos.getfattr
+ request the FD_FILESTAT_GET capability when opening files
* fixed date calculation in WasiDateToDT
+ workaround for newer wasmtime versions that don't report the fd type of
stdin/stdout/stderr. Always assume handles 0..2 are a device, so that
standard input and output are flushed.
+ request fd_seek and fd_tell rights when opening a file
+ request the rights to set size (truncate) and set times, when a file is opened for writing
+ request fd_allocate rights when opening a file for writing
* changed the formatting of the setting of fs_rights_base in Do_Open. No functional changes.
+ request FD_DATASYNC and FD_SYNC rights when a file is opened for writing
+ always request FD_FDSTAT_SET_FLAGS rights
+ always request FD_ADVISE rights, when opening a file
+ always request pollfd_readwrite rights, when opening a file
+ implemented environment variables support in the DOS unit for the WASI target
* set EXEEXT to .wasm for the WASI target in fpcmake
+ started working on DOS.FindFirst
+ initial working implementation of FindFirst/FindNext
* use -1 instead of 0 for indicating empty DirFD
+ enabled compilation of unit heaptrc for the WASI target
- removed commented out code from the WASI startup code
+ added unhandled exception handling code for the branchful exceptions mode
+ implemented GetMsCount in the DOS unit for WASI
Disable utils for wasi target, because paszlib cannot be compiled due to use of goto labels
* fixed range check error in HasDriveLetter when path is 1 character long
+ define USE_NOTHREADMANAGER in the WASI system unit
Unicode' unicodenumtable.pas removed : update Makefile.fpc.
Regenerate Makefile's with trunk fpcmake
* Export wasiAlloc and wasiFree
* patch from Pierre for working around the exitcode <= 125 limitation in wasmtime
+ added unit WebAssembly for WebAssembly-specific stuff. Currently contains
the AtomicFence intrinsic, which emits the atomic.fence instruction.
Add implicit units to wasi rtl
Regenerate Makefile after: Add implicit units to wasi rtl
+ added AtomicStore() to the WebAssembly unit
* Export wasiAlloc, wasiFree
* anonymous method overloads for synchronize/queue.
* fix missing ifdef for the non win32/64/unix targets.
* also do watcom.
* refactored duplicated code for epoch to datetime and vice versa conversion
between the dos and sysutils units for the WASI platform
+ setup a thread manager (functions are still not yet implemented), when the WASI RTL is compiled with multithreading support
+ added promising _start and _initialize exports