summaryrefslogtreecommitdiff
path: root/src/msg.fbs
AgeCommit message (Collapse)Author
2019-02-02Compiler cleanups and minor improvements (#1656)Kitson Kelly
2019-02-02Clarify writeFile options and avoid unexpected perm modification (#1643)Kevin (Kun) "Kassimo" Qian
2019-02-02Add performance.now (#1633)Dmitry Sharshakov
2019-01-26timers: use int instead of double for timeout type (#1469)bokuweb
2019-01-17mkdir should not be recursive by default (#1530)Ryan Dahl
It should return an error if a file with the given path exists and recursive isn't specified. Because mode is not used on windows and rarely used in unix, it is made to the last parameter. In collaboration with Stefan Dombrowski <sdo451@gmail.com>
2019-01-09Native ES modules (#1460)Ryan Dahl
* Native ES modules This is a major refactor of internal compiler. Before: JS and TS both were sent through the typescript compiler where their imports were parsed and handled. Both compiled to AMD JS and finally sent to V8 Now: JS is sent directly into V8. TS is sent through the typescript compiler, but tsc generates ES modules now instead of AMD. This generated JS is then dumped into V8. This should much faster for pure JS code. It may improve TS compilation speed. In the future this allows us to separate TS out of the runtime heap and into its own dedicated snapshot. This will result in a smaller runtime heap, and thus should be faster. Some tests were unfortunately disabled to ease landing this patch: 1. compiler_tests.ts which I intend to bring back in later commits. 2. Some text_encoding_test.ts tests which made the file invalid utf8. See PR for a discussion. Also worth noting that this is necessary to support WASM
2019-01-08Minimal Worker support (#1476)Ryan Dahl
This adds the ability to spawn additional Isolates from Rust and send and receive messages from them. This is preliminary work to support running the typescript compiler in a separate isolate and thus support native ES modules. Ref #975.
2019-01-06Add deno.pid (#1464)Ryan Dahl
2019-01-03Revert "use byte array instead of string for code fetch (#1307)" (#1455)Ryan Dahl
This reverts commit e976b3e0414dc768624b77e431ee7f55b03b76a4. There is nothing technically wrong with this commit, but it's adding complexity to a big refactor (native ES modules #975). Since it's not necessary and simply a philosophical preference, I will revert for now and try to bring it back later.
2018-12-21Avoid fetch segfault on empty Uri (#1394)Kevin (Kun) "Kassimo" Qian
2018-12-12Flesh out open() modes (#1282)Bartek Iwańczuk
2018-12-12Change default to false Base.boolTnarita0000
2018-12-12use byte array instead of string for code fetch (#1307)F001
2018-12-11Minor rename for CodeFetch parametersRyan Dahl
This bring it inline with terminology used in V8 See ResolveCallback in v8.h
2018-12-09Add TooLarge error code for buffers (#1298)binaryta
In collaboration with @yushimatenjin
2018-11-16First pass at running subprocesses (#1156)Bert Belder
2018-11-14Support request method and headers in fetch() (#1188)Ryan Dahl
Adds a general HttpHeader flatbuffer message for serializing requests and responses.
2018-11-13Support streaming response bodies from fetch()Ryan Dahl
Also Buffer.readFrom in fetch() to buffer response.
2018-11-06Fix many of the clippy::pedantic warningsAndy Hayden
2018-11-05Add repl (#998)Andy Hayden
- Running repl from js side. - Add tests for repl behavior. - Handle ctrl-C and ctrl-D.
2018-11-02Rename EnvPair to KeyValue.Ryan Dahl
2018-10-30Rename FetchReq op to Fetch.Ryan Dahl
2018-10-30Add resources op (#1119)Bartek Iwańczuk
2018-10-29Separate source map from output code.Kitson Kelly
2018-10-26Add chmod/chmodSync on unix (and fix Cargo.toml) (#1088)Kevin (Kun) "Kassimo" Qian
Initial implementation by Srijan Reddy (@srijanreddy98, #672).
2018-10-23Enforce media typesKitson Kelly
2018-10-15`deno -v` should report typescript versionJinho Bang
Fixes #993
2018-10-13Add cwd() and chdir() (#907)Shiva Prasanth
2018-10-11Add support for --typesKitson Kelly
2018-10-11Add deno.metrics()Bartek Iwańczuk
2018-10-10Rename BadFileDescriptorJ2P
2018-10-05Implement closeRead/closeWrite using TcpStream::shutdown (#903)Kevin (Kun) "Kassimo" Qian
2018-10-04Rename flatbuffer base.msg to base.innerRyan Dahl
This better disambiguates with the msg_generated.ts module, which in JS we call "fbs", but would be better called "msg".
2018-10-03First pass at support for TCP servers and clients. (#884)Ryan Dahl
Adds deno.listen(), deno.dial(), deno.Listener and deno.Conn.
2018-10-03Implemented readDirSync, readDirJ2P
2018-10-03timers: remove the old timer implementationBert Belder
Fixes #878.
2018-10-03timers: implement timers in javascriptBert Belder
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