Ryan Dahl
6f79ad721a
Minimal Worker support ( #1476 )
...
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-08 14:44:06 -05:00
Ryan Dahl
2c477dd7cb
Happy new year!
2019-01-02 02:37:08 +01:00
Yoshiya Hinosawa
bee55fcd20
make stdout unbuffered ( #1355 )
2018-12-22 23:53:29 -05:00
Andy Hayden
aab02805dd
clippy fixes ( #1250 )
2018-11-30 00:30:49 -08:00
Bert Belder
48bf4062e4
First pass at running subprocesses ( #1156 )
2018-11-16 12:07:40 +08:00
Ryan Dahl
b1579460ce
Support streaming response bodies from fetch()
...
Also Buffer.readFrom in fetch() to buffer response.
2018-11-13 21:44:38 -08:00
Andy Hayden
13e1eb2b87
Fix many of the clippy::pedantic warnings
2018-11-06 06:43:02 -08:00
Andy Hayden
27ecfc1617
Add repl ( #998 )
...
- Running repl from js side.
- Add tests for repl behavior.
- Handle ctrl-C and ctrl-D.
2018-11-05 09:55:59 -08:00
Andy Hayden
1241b8e9ba
Fix clippy warnings ( #1149 )
...
Run with: cargo clippy
https://github.com/rust-lang-nursery/rust-clippy
2018-11-04 06:04:24 -08:00
Bartek Iwańczuk
946acbc559
Add resources op ( #1119 )
2018-10-30 12:58:55 -07:00
Joseph
d2df67e822
fix typos ( #1083 )
2018-10-24 08:54:34 -07:00
Bert Belder
ae00df73a2
Move eager functions into eager_unix.rs
2018-10-24 11:16:00 +02:00
Bert Belder
58f0547e09
Refactor eager_{read,write,accept}_tcp into separate functions
2018-10-24 11:16:00 +02:00
Ryan Dahl
92b0a94c23
Optimization: eager accept
2018-10-20 12:39:56 -07:00
Ryan Dahl
aac9e204b7
Optimization: eager write
2018-10-20 12:39:56 -07:00
Ryan Dahl
2c33334d28
Optimization: eager read
...
TCP sockets should attempt the non-blocking read in the main thread.
2018-10-20 12:39:56 -07:00
Kevin (Kun) "Kassimo" Qian
941e27d8c1
Implement closeRead/closeWrite using TcpStream::shutdown ( #903 )
2018-10-05 12:16:23 -04:00
Ryan Dahl
0422b224e8
First pass at support for TCP servers and clients. ( #884 )
...
Adds deno.listen(), deno.dial(), deno.Listener and deno.Conn.
2018-10-03 23:58:29 -04:00
Ryan Dahl
42c5b103ec
Rename FdTable to ResourceTable.
...
Add docs to src/resources.rs.
2018-10-01 22:30:57 -04:00