Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-08-28 | refactor: migrate ops to new dispatch wrapper (#7118) | Bartek Iwańczuk | |
2020-08-26 | Remove some more unnecessary 'to_string()' calls (#7190) | Bert Belder | |
2020-08-26 | refactor: remove OpError, use ErrBox everywhere (#7187) | Bert Belder | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2020-08-19 | Make Rc/Arc wrapper around State/GlobalState visible (#7104) | Bert Belder | |
2020-06-15 | unixpacket should also return byte length on send (#6291) | Peter Evers | |
2020-06-13 | fix: DatagramConn.send should return bytes sent (#6265) | Kermit Xuan | |
2020-06-10 | fix udp BorrowMutError (#6221) | Ryan Dahl | |
2020-06-01 | feat(core): Ops can take several zero copy buffers (#4788) | Valentin Anger | |
2020-05-29 | refactor: Split isolate and state using safe get_slot() (#5929) | Ryan Dahl | |
2020-05-24 | Add unstable checks for unix transport (#5818) | Valentin Anger | |
Also remove the unix example from the stable documentation to stay in line with the `Deno.listen` one | |||
2020-04-28 | refactor: factor out datagram from Deno.listen(), make it unstable (#4968) | Bartek Iwańczuk | |
This commit changes Deno.listen() API by factoring out datagram listeners to Deno.listenDatagram(). New Deno.listenDatagram() is unstable. | |||
2020-04-28 | BREAKING: address renamed to path in UnixAddr UnixConnectOptions ↵ | Ali Hasani | |
UnixListenOptions (#4959) | |||
2020-04-28 | Make shutdown unstable and async (#4940) | Luca Casonato | |
2020-04-27 | Make unix sockets require allow-write (#4939) | Luca Casonato | |
2020-04-23 | Rename deno_core::Isolate to deno_core::CoreIsolate (#4851) | Ryan Dahl | |
2020-04-21 | Move resource_table from deno::State to deno_core::Isolate (#4834) | Ryan Dahl | |
2020-04-18 | feat: startTLS (#4773) | EnokMan | |
2020-04-17 | replace block_on in net interfaces (#4796) | Bartek Iwańczuk | |
2020-04-15 | remove calls to futures::executor::block_on (#4760) | Bartek Iwańczuk | |
2020-04-03 | clippy (#4618) | Kitson Kelly | |
2020-03-23 | feat: Support Unix Domain Sockets (#4176) | João Souto | |
2020-03-11 | Add waker to StreamResource to fix hang on close bugs (#4293) | João Souto | |
2020-03-10 | refactor(cli/js/net): Cleanup iterable APIs (#4236) | Nayeem Rahman | |
Listener and UDPConn are AsyncIterables instead of AsyncIterators. The [Symbol.asyncIterator]()s are defined as generators and the next() methods are gone. "Listener/Socket has been closed" errors are now BadResource. | |||
2020-03-05 | Allow BadResource errors to take a custom message (#4251) | Ryan Dahl | |
2020-02-27 | replace impl Future with poll_fn for net.rs, process.rs, tls.rs (#4158) | Bartek Iwańczuk | |
2020-02-25 | Clean up how we use opIds (#4118) | Ryan Dahl | |
2020-02-23 | refactor: use OpError instead of ErrBox for errors in ops (#4058) | Bartek Iwańczuk | |
To better reflect changes in error types in JS from #3662 this PR changes default error type used in ops from "ErrBox" to "OpError". "OpError" is a type that can be sent over to JSON; it has all information needed to construct error in JavaScript. That made "GetErrorKind" trait useless and so it was removed altogether. To provide compatibility with previous use of "ErrBox" an implementation of "From<ErrBox> for OpError" was added, however, it is an escape hatch and ops implementors should strive to use "OpError" directly. | |||
2020-02-21 | feat: support UDP sockets (#3946) | hazæ41 | |
2020-02-08 | refactor: rename ThreadSafeState, use RefCell for mutable state (#3931) | Bartek Iwańczuk | |
* rename ThreadSafeState to State * State stores InnerState wrapped in Rc and RefCell | |||
2020-02-07 | Add blanket impl for the 'Resource' trait (#3903) | Bert Belder | |
2020-02-03 | refactor: Use Tokio's single-threaded runtime (#3844) | Ryan Dahl | |
This change simplifies how we execute V8. Previously V8 Isolates jumped around threads every time they were woken up. This was overly complex and potentially hurting performance in a myriad ways. Now isolates run on their own dedicated thread and never move. - blocking_json spawns a thread and does not use a thread pool - op_host_poll_worker and op_host_resume_worker are non-operational - removes Worker::get_message and Worker::post_message - ThreadSafeState::workers table contains WorkerChannel entries instead of actual Worker instances. - MainWorker and CompilerWorker are no longer Futures. - The multi-threaded version of deno_core_http_bench was removed. - AyncOps no longer need to be Send + Sync This PR is very large and several tests were disabled to speed integration: - installer_test_local_module_run - installer_test_remote_module_run - _015_duplicate_parallel_import - _026_workers | |||
2020-01-24 | s/PinnedBuf/ZeroCopyBuf (#3782) | Ryan Dahl | |
2020-01-18 | stabilize net Addr (#3709) | Bartek Iwańczuk | |
Co-authored-by: xiaoxintang <15707971810@163.com> | |||
2020-01-18 | rename dial to connect and dialTLS to connectTLS (#3710) | Bartek Iwańczuk | |
2020-01-05 | Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600) | Ry Dahl | |
2020-01-04 | Use async at places, use &self instead of self: &Self (#3594) | Gurwinder Singh | |
2020-01-02 | Happy new year! (#3578) | Ry Dahl | |
2019-12-30 | upgrade: Tokio 0.2 (#3418) | Bartek Iwańczuk | |
2019-12-02 | disable eager polling for ops (#3434) | Bartek Iwańczuk | |
2019-11-16 | Use futures 0.3 API (#3358) | Bartek Iwańczuk | |
2019-11-14 | refactor: per-worker resource table, take 2 (#3342) | Bartek Iwańczuk | |
- removes global `RESOURCE_TABLE` - resource tables are now created per `Worker` in `State` - renames `CliResource` to `StreamResource` and moves all logic related to it to `cli/ops/io.rs` - removes `cli/resources.rs` - adds `state` argument to `op_read` and `op_write` and consequently adds `stateful_minimal_op` to `State` - IMPORTANT NOTE: workers don't have access to process stdio - this is caused by fact that dropping worker would close stdout for process (because it's constructed from raw handle, which closes underlying file descriptor on drop) | |||
2019-11-13 | Revert "refactor: per-worker resource table (#3306)" | Ryan Dahl | |
This patch does not work with the recent bundler changes (#3325). Unfortunately I didn't merge master before landing this patch. It has something to do with console.log not working inside the compiler worker. This reverts commit fd62379eafde6571f126df5650b80cfda9f74229. | |||
2019-11-13 | refactor: per-worker resource table (#3306) | Bartek Iwańczuk | |
- removes global `RESOURCE_TABLE` - resource tables are now created per `Worker` in `State` - renames `CliResource` to `StreamResource` and moves all logic related to it to `cli/ops/io.rs` - removes `cli/resources.rs` - adds `state` argument to `op_read` and `op_write` and consequently adds `stateful_minimal_op` to `State` - IMPORTANT NOTE: workers don't have access to process stdio - this is caused by fact that dropping worker would close stdout for process (because it's constructed from raw handle, which closes underlying file descriptor on drop) | |||
2019-11-07 | refactor: remove cli::resources::Resource (#3285) | Bartek Iwańczuk | |
2019-11-07 | refactor: rewrite accept resources (#3271) | Bartek Iwańczuk | |
2019-10-23 | refactor DenoPermissions.check_net & resolve_addr (#3182) | EnokMan | |
2019-10-13 | fix: [tls] op_dial_tls is not registerd and broken (#3121) | Yusuke Sakurai | |
2019-10-11 | Add init methods for each op module (#3087) | Ryan Dahl | |
2019-09-20 | dial/listen API change (#3000) | Ryan Dahl | |
Previously: dial("tcp", "deno.land:80") Now: dial({ hostname: "deno.land", port: 80, transport: "tcp" }) Similarly with listen(). | |||
2019-09-10 | fix: replace bad rid panics with errors (#2870) | Bartek Iwańczuk | |