summaryrefslogtreecommitdiff
path: root/src/resources.rs
AgeCommit message (Collapse)Author
2019-01-15Kill all pending accepts when TCP listener is closed (#1517)Kevin (Kun) "Kassimo" Qian
2019-01-15Clippy fixes (also fixes build with nightly) (#1527)Bert Belder
2019-01-14Update to rust 2018 editionAndy Hayden
2019-01-14src: remove dependency on the 'kernel32' crateBert Belder
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-02Happy new year!Ryan Dahl
2018-12-22make stdout unbuffered (#1355)Yoshiya Hinosawa
2018-11-30clippy fixes (#1250)Andy Hayden
2018-11-16First pass at running subprocesses (#1156)Bert Belder
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-04Fix clippy warnings (#1149)Andy Hayden
Run with: cargo clippy https://github.com/rust-lang-nursery/rust-clippy
2018-10-30Add resources op (#1119)Bartek IwaƄczuk
2018-10-24fix typos (#1083)Joseph
2018-10-24Move eager functions into eager_unix.rsBert Belder
2018-10-24Refactor eager_{read,write,accept}_tcp into separate functionsBert Belder
2018-10-20Optimization: eager acceptRyan Dahl
2018-10-20Optimization: eager writeRyan Dahl
2018-10-20Optimization: eager readRyan Dahl
TCP sockets should attempt the non-blocking read in the main thread.
2018-10-05Implement closeRead/closeWrite using TcpStream::shutdown (#903)Kevin (Kun) "Kassimo" Qian
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-01Rename FdTable to ResourceTable.Ryan Dahl
Add docs to src/resources.rs.