summaryrefslogtreecommitdiff
path: root/src/msg.fbs
AgeCommit message (Collapse)Author
2018-10-01Rename FdTable to ResourceTable.Ryan Dahl
Add docs to src/resources.rs.
2018-09-30Add copyFile/copyFileSync (#863)Kevin (Kun) "Kassimo" Qian
2018-09-30Remove unused table WriteFileSyncKevin (Kun) "Kassimo" Qian
2018-09-30Add deno.truncate (#805)ztplz
2018-09-28Adds basic File I/O and FD table.Ryan Dahl
Adds deno.stdin, deno.stdout, deno.stderr, deno.open(), deno.write(), deno.read(), deno.Reader, deno.Writer, deno.copy(). Fixes #721. tests/cat.ts works.
2018-09-27Support zero-copy data in libdeno.send(). (#838)Ryan Dahl
This is a large API refactor of deno.h which replaces deno_send() and deno_set_response() with deno_respond(). It also adds a req_id parameter to the deno_recv_cb. Make writeFile/writeFileSync use it.
2018-09-25Add SetGlobalTimeout().Ryan Dahl
To be used for a timers implementation soon.
2018-09-25Implement deno.readlink() (#797)Mani Maghsoudlou
2018-09-24Add flag --recompile (#801)Bartek IwaƄczuk
2018-09-18Implement deno.symlink() (#742)Mani Maghsoudlou
2018-09-17Make mode always u32 and switch to has_mode for StatRes fbs (#761)Kevin (Kun) "Kassimo" Qian
2018-09-12Add support for fetch() headers (#727)qti3e
2018-09-12Implement deno.rename() (#731)Mani Maghsoudlou
2018-09-12 Add unix-only `mode` for FileInfo (#732)Kevin (Kun) "Kassimo" Qian
2018-09-12Add remove(), removeAll().Kevin (Kun) "Kassimo" Qian
and removeSync(), removeAllSync().
2018-09-11Implement deno.stat() and deno.lstat()Sajjad Hashemian
2018-09-11Move writeFileSync to write_file.ts, add writeFile and tests (#728)Kevin (Kun) "Kassimo" Qian
2018-09-10Implement deno.mkdir()Sajjad Hashemian
2018-09-10Implement deno.readFile()Ryan Dahl
As an example of how to implement ops that have both sync and async versions.
2018-09-09Remove namespace from src/msg.fbsRyan Dahl
2018-09-09Map promises onto futures.Ryan Dahl
Refactors handlers.rs The idea is that all Deno "ops" (aka bindings) should map onto a Rust Future. By setting the "sync" flag in the Base message users can determine if the future is executed immediately or put on the event loop. In the case of async futures, a promise is automatically created. Errors are automatically forwarded and raised. TODO: - The file system ops in src/handler.rs are not using the thread pool yet. This will be done in the future using tokio_threadpool::blocking. That is, if you try to call them asynchronously, you will get a promise and it will act asynchronous, but currently it will be blocking. - Handlers in src/handler.rs returned boxed futures. This was to make it easy while developing. We should try to remove this allocation.
2018-09-07Format msg.fbsJ2P
2018-09-06Implementing --deps flagMirko Jotic
- Adding a ModuleId type alias to specify original url or local file of dependency - Modifying ModuleMetaData class to contain ModuleId - Adding a --deps flag
2018-09-04Implement renameSyncMani Maghsoudlou
2018-09-03Implement mkdirSyncSajjad Hashemian
2018-08-31Implemented deno.env and refactored flags.rsAaron Power
2018-08-30Implemented statSync and lStatSyncAaron Power
2018-08-29Implement makeTempDirSync()Bert Belder
2018-08-23First pass at HTTP importsRyan Dahl
Implement --reload Integrate hyper errors into DenoError In collaboration with Tommy Savaria <tommy.savaria@protonmail.ch>
2018-08-21Better error handling in src/handlers.rsRyan Dahl
Introduces error codes that are shared between JS/RS Fixes #526.
2018-08-17Use snake-case for cmd_id.Ryan Dahl
2018-08-16Implement deno_handle_msg_from_js in RustRyan Dahl
Fixes #419, #414.
2018-08-16Upgrade Rust FlatbuffersRyan Dahl
2018-08-09First pass at setTimeout with Tokio (#434)Ryan Dahl
2018-07-24Remove handlers crate target.Ryan Dahl
- Add build scripts for Rust flatbuffers. - Rewrites some reply.cc methods in Rust. - Changes some struct elements to table in msg.fbs (rust flatbuffers lacks support currently) - Renames handlers_test to test_rs. - This reorg is needed to make progress on the code cache handler.
2018-07-08Add 'command id' field to messagesBert Belder
This allows for correlating response messages to the command message that caused them.
2018-07-06Use C++ to do flatbuffer parsing.Ryan Dahl
- Port protobuf messages to flatbuffers. - Demo linking to rust from C++ executable. - Start using the prototype TS libraries.
2018-07-04Replace protobufs with flatbuffersRyan Dahl