Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-01-06 | error on warnings (#3612) | Ry Dahl | |
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 | |
2020-01-02 | Remove unnecessary use of Pin, use ready! (#3576) | Gurwinder Singh | |
2019-12-31 | refactor: move HttpBody to cli/http_util.rs (#3569) | Bartek Iwańczuk | |
2019-12-30 | upgrade: Tokio 0.2 (#3418) | Bartek Iwańczuk | |
2019-12-23 | Upgrades rust to 1.40.0 (#3542) | Axetroy | |
2019-12-21 | feat: Add Deno.dir("executable") (#3526) | Nayeem Rahman | |
2019-12-18 | Reduce all directory functions to Deno.dir() (#3518) | Ry Dahl | |
2019-12-15 | Feat: Add more dir APIs for Deno (#3491) | Axetroy | |
2019-12-08 | fix: plugin ops should change op count metrics (#3455) | Luca Casonato | |
2019-12-05 | feat: first pass at native plugins (#3372) | Andy Finch | |
2019-12-03 | remove duplicated argv member from ThreadSafeGlobalState (#3433) | Ry Dahl | |
2019-12-02 | disable eager polling for ops (#3434) | Bartek Iwańczuk | |
2019-12-01 | fix realpath behavior in windows (#3425) | 木杉 | |
2019-11-26 | Add Deno.realpath (#3404) | Kevin (Kun) "Kassimo" Qian | |
2019-11-25 | better error message for missing module (#3402) | Bartek Iwańczuk | |
2019-11-24 | refactor: Elevate DenoPermissions lock to top level (#3398) | Kevin (Kun) "Kassimo" Qian | |
2019-11-19 | remove tokio_util::block_on from ops/workers.rs (#3381) | Bartek Iwańczuk | |
2019-11-17 | refactor: fixes for futures (#3363) | Bartek Iwańczuk | |
After landing #3358 the benchmarks exploded indicating problems with workers and deno_core_http_bench. This PR dramatically fixes thread/syscall count that showed up on benchmarks. Thread count is not back to previous levels but difference went from hundreds/thousands to about ~50. | |||
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-14 | Loader: support .wasm imports (#3328) | Kevin (Kun) "Kassimo" Qian | |
* loader: support .wasm imports * http_server: true * Support named exports * Clippy | |||
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-11 | Add permissions.request (#3296) | Yoshiya Hinosawa | |
2019-11-09 | refactor: worker is no longer a resource (#3290) | Bartek Iwańczuk | |
2019-11-07 | refactor: move Child resource to ops/process.rs (#3291) | Bartek Iwańczuk | |
2019-11-07 | refactor: remove cli::resources::Resource (#3285) | Bartek Iwańczuk | |
2019-11-07 | refactor: rewrite accept resources (#3271) | Bartek Iwańczuk | |
2019-11-06 | Remove CoreResource::inspect_repr method (#3274) | Ry Dahl | |
Towards simplifying (or better removing entirely) the CoreResource trait. Resources should be any bit of privileged heap allocated memory that needs to be referenced from JS, not very specific trait implementations. Therefore CoreResource should be pushed towards being as general as possible. | |||
2019-11-04 | Refactor Worker and ThreadSafeState (#3242) | Bartek Iwańczuk | |
* Split ThreadSafeState into State and GlobalState. State is a "local" state belonging to "Worker" while "GlobalState" is state shared by whole program. * Update "Worker" and ops to use "GlobalState" where applicable * Move and refactor "WorkerChannels" resource | |||
2019-10-28 | refactor: use core ResourceTable in cli (#3206) | Bartek Iwańczuk | |
2019-10-27 | Use web standard Permissions API (#3200) | Yoshiya Hinosawa | |
2019-10-25 | fix: handle malformed control buffers (#3202) | Bartek Iwańczuk | |
2019-10-24 | Add error handling for minimal dispatch (#3176) | Bartek Iwańczuk | |
2019-10-23 | refactor DenoPermissions.check_net & resolve_addr (#3182) | EnokMan | |
2019-10-21 | feat: Deno.listenTLS (#3152) | Bartek Iwańczuk | |
2019-10-19 | feat: Allow "deno eval" to run code as module (#3148) | Kevin (Kun) "Kassimo" Qian | |
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-10-04 | Merge deno_cli_snapshots into deno_cli (#3064) | Ryan Dahl | |
2019-10-04 | Use xeval from deno_std (#3058) | Nayeem Rahman | |
2019-10-03 | Async compiler processing (#3043) | Kitson Kelly | |
Basically this does pre-processing of TypeScript files and gathers all the dependencies asynchronously. Only then after all the dependencies are gathered, does it do a compile, which at that point all the dependencies are cached in memory in the compiler, so with the exception of the hard coded assets, there are no ops during the compilation. Because op_fetch_source_files is now handled asynchronously in the runtime, we can eliminate the tokio_util::block_on() which was causing the increase in threads. Benchmarking on my machine has shown about a 5% improvement in speed when dealing with compiling TypeScript. Still a long way to go, but an improvement. In theory the module name resolution and the fetching of the source files could be broken out as two different ops. This would prevent situations of sending the full source file all the time when actually the module is the same module referenced by multiple modules, but that could be done subsequently to this. | |||
2019-10-02 | feat: Add support for passing a key to Deno.env() (#2952) | Jed Fox | |
This adds a new op to get a single env var. | |||
2019-10-01 | use Isolate::register_op in deno_cli (#3039) | Bartek Iwańczuk | |
2019-09-27 | Add Deno.hostname() (#3032) | Kevin (Kun) "Kassimo" Qian | |
2019-09-25 | Handle uncaught worker errors without panicking (#3019) | Kitson Kelly | |
2019-09-23 | feat: Add Deno.dialTLS() | Jonathon Orsi | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> |