Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-03-20 | Remove DENO_BUILD_MODE and DENO_BUILD_PATH (#4431) | Ryan Dahl | |
* Remove DENO_BUILD_MODE and DENO_BUILD_PATH Also remove outdated docs related to ninja/gn. * fix * remove parameter to build_mode() * remove arg parsing from benchmark.py | |||
2020-03-20 | Add require-await lint rule (#4401) | Samrith Shankar | |
2020-03-19 | perf: Optimize TextEncoder and TextDecoder (#4430) | Bartek Iwańczuk | |
* add tests for "Deno.core.encode" and "Deno.core.decode" for empty inputs * use "Deno.core.encode" in "TextEncoder" * use "Deno.core.decode" in "TextDecoder" * remove "core_decode" and "core_encode" benchmarks | |||
2020-03-19 | Simplify timer with macrotask callback (#4385) | Kevin (Kun) "Kassimo" Qian | |
2020-03-19 | fix: stack traces for modules imported via std/node's require (#4035) | Nikolai Vavilov | |
2020-03-17 | Upgrade rust crates (#4412) | Bert Belder | |
2020-03-16 | refactor: add no-return-await lint rule (#4384) | Bartek Iwańczuk | |
2020-03-15 | feat: Deno.core.{encode,decode}; standalone UTF-8 encoding/decoding (#4349) | Bartek Iwańczuk | |
This commits add two new methods to "Deno.core" namespace: "encode" and "decode". Those methods are bound in Rust to provide a) fast b) generally available of encoding and decoding UTF-8 strings. Both methods are now used in "cli/js/dispatch_json.ts". | |||
2020-03-14 | Upgrade to rusty_v8 0.3.5 / v8 8.2.308 (#4364) | Bert Belder | |
2020-03-11 | v0.36.0 | Ryan Dahl | |
2020-03-07 | upgrade rust dependencies (#4270) | Ryan Dahl | |
2020-03-02 | Do not convert exceptions to JSON and back (#4214) | Bert Belder | |
2020-03-02 | Don't reset exception handle after calling ErrWithV8Handle::get_handle() (#4214) | Bert Belder | |
2020-03-02 | refactor: rename structures related to Modules (#4217) | Bartek Iwańczuk | |
* rename structures related to ES Modules; add "Modules" prefix * remove unneeded Unpin trait requirement for "ModuleLoader" | |||
2020-03-01 | perf: use subarray instead of slice in dispatch minimal (#4180) | Ryan Dahl | |
2020-02-29 | Refactor exception handling, remove message listener callback (#4198) | Bert Belder | |
2020-02-29 | test: add ResourceTable tests (#4185) | ecyrbe | |
2020-02-28 | v0.35.0 | Ryan Dahl | |
2020-02-28 | upgrade: rusty_v8 0.3.4 (#4179) | Ryan Dahl | |
2020-02-28 | Exit HandleScope before snapshotting (#4168) | Bert Belder | |
The V8 documentation explicitly states that SnapshotCreator::CreateBlob() should not be called from within a HandleScope. Additionally, this patch removes some non-functional error handling code from the deno_core::Isolate::snapshot() method. | |||
2020-02-27 | Merge mod_evaluate() and mod_evaluate_dyn_import() methods (#4167) | Bert Belder | |
2020-02-27 | Fix typo in assert!() invocation (#4167) | Bert Belder | |
2020-02-26 | Remove impl Send for Isolate and EsIsolate (#4151) | Ryan Dahl | |
2020-02-26 | Upgrade to rusty_v8 v0.3.3 (#4119) | Bert Belder | |
2020-02-26 | tty: Deno.setRaw(rid, mode) to turn on/off raw mode (#3958) | Kevin (Kun) "Kassimo" Qian | |
2020-02-25 | Clean up how we use opIds (#4118) | Ryan Dahl | |
2020-02-20 | v0.34.0 | Ryan Dahl | |
2020-02-18 | refactor: cleanup cli/lib.rs (#4006) | Bartek Iwańczuk | |
* rename methods on Worker related to module loading * reorganize cli/lib.rs * remove cli/progress.rs and cli/shell.rs | |||
2020-02-15 | refactor: replace Arc<Box<..>> with Rc<..> (#3996) | Bartek Iwańczuk | |
2020-02-13 | v0.33.0 | Ryan Dahl | |
2020-02-11 | workers: basic event loop (#3828) | Bartek Iwańczuk | |
* establish basic event loop for workers * make "self.close()" inside worker * remove "runWorkerMessageLoop() - instead manually call global function in Rust when message arrives. This is done in preparation for structured clone * refactor "WorkerChannel" and use distinct structs for internal and external channels; "WorkerChannelsInternal" and "WorkerHandle" * move "State.worker_channels_internal" to "Worker.internal_channels" * add "WorkerEvent" enum for child->host communication; currently "Message(Buf)" and "Error(ErrBox)" variants are supported * add tests for nested workers * add tests for worker throwing error on startup | |||
2020-02-09 | No longer require aligned buffer for shared queue (#3935) | Andy Finch | |
Fixes: #3925 | |||
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 | Refactor deno_core_http_bench and make it single-threaded (#3903) | Bert Belder | |
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-02-03 | v0.32.0 | Bartek Iwańczuk | |
2020-02-02 | Remove //tests symlink (#3849) | Luka Hartwig | |
2020-02-01 | feat: support crate imports in deno_typescript (#3814) | Andy Finch | |
Co-authored-by: Ryan Dahl <ry@tinyclouds.org> | |||
2020-01-29 | Upgrade rusty_v8 (#3816) | Ryan Dahl | |
2020-01-25 | refactor: Modules and Loader trait (#3791) | Bartek Iwańczuk | |
* move is_dyn_import argument from Loader::resolve to Loader::load - it was always kind of strange that resolve() checks permissions. * change argument type from &str to &ModuleSpecifier where applicable | |||
2020-01-25 | Refactor error tracking and scope juggling in deno_core (#3783) | Bert Belder | |
2020-01-24 | s/PinnedBuf/ZeroCopyBuf (#3782) | Ryan Dahl | |
2020-01-24 | v0.31.0 | Ryan Dahl | |
2020-01-24 | Fix: take control buffer offset/length into account again (#3769) | Bert Belder | |
2020-01-23 | Upgrade rusty_v8 to 0.2.0 (#3764) | Ryan Dahl | |
2020-01-23 | update readmes (#3765) | Ryan Dahl | |
2020-01-23 | refactor: remove Isolate.shared_response_buf optimization (#3759) | Bartek Iwańczuk | |
Op return values are no zero copied from Rust to JS. | |||
2020-01-22 | Reland "Create an old program to be used in snapshot." (#3747) | Bartek Iwańczuk | |
* read CLI assets from disk during snapshotting | |||
2020-01-21 | Upgrade to rusty_v8 v0.1.1 (#3741) | Bert Belder | |