Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-12-09 | build: fix doctests, run cargo publish --dry-run (#8689) | Ryan Dahl | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2020-12-09 | core: add plumbing for canceling ops when closing a resource (#8661) | Bert Belder | |
2020-12-09 | test(core): type aliases in OpState (#8653) | Bartek Iwańczuk | |
This commit adds a test case to core/gotham_state.rs that shows that type aliases can't be used reliably. Instead wrapper types should be used. | |||
2020-12-08 | chore: release crates (#8662) | Bartek Iwańczuk | |
2020-12-08 | upgrade rusty_v8 to 0.14.0 (#8663) | Ryan Dahl | |
2020-12-08 | refactor(core): change script name for core.js (#8650) | Bartek Iwańczuk | |
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com> | |||
2020-12-05 | docs(core): Fix typo in load_module's docstring (#8564) | Paco | |
2020-12-01 | fix(compile): disable source mapping of errors (#8581) | Bartek Iwańczuk | |
This commit disables source mapping of errors for standalone binaries. Since applying source maps relies on using file fetcher infrastructure it's not feasible to use it for standalone binaries that are not supposed to use that infrastructure. | |||
2020-11-27 | fix(cli): make output of deno info --json deterministic (#8483) | William Perron | |
Fixes #8458 | |||
2020-11-27 | feat(core): Add FsModuleLoader that supports loading from filesystem (#8523) | Yusuke Tanaka | |
This commit adds `FsModuleLoader` to `deno_core`, which implements `ModuleLoader` trait. It is used when creating a runtime that supports module loading from filesystem. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2020-11-28 | chore: clippy future cleanups (#8514) | Kitson Kelly | |
2020-11-27 | fix: panic in worker when closing at top level (#8510) | Bartek Iwańczuk | |
Fixes panic occurring in worker when "self.close()" is called at the top level, ie. worker shuts down while module evaluation promise hasn't yet resolved. | |||
2020-11-25 | core: implement 'AsyncRefCell' and 'ResourceTable2' (#8273) | Bert Belder | |
2020-11-23 | v1.5.4 | Bartek Iwańczuk | |
2020-11-22 | feat(unstable): Add deno test --no-run (#8093) | Nayeem Rahman | |
This commit adds new flag to "deno test" subcommand called "--no-run" that allows to preload, cache an type check. | |||
2020-11-21 | refactor(core): don't depend on get_identity_hash for modules (#8354) | Bartek Iwańczuk | |
This commit refactors "deno_core::Modules" structure to not depend on "get_identity_hash" function to identify modules, but instead use default hash implementation. | |||
2020-11-21 | refactor(corr): accept get_error_class_fn in RuntimeOptions (#8444) | Bartek Iwańczuk | |
This commit adds "get_error_class_fn" field to "RuntimeOptions" struct in order to unify configuration of "JsRuntime". | |||
2020-11-21 | upgrade: rusty_v8 0.13.0, v8 8.8.278.2 (#8446) | Bartek Iwańczuk | |
2020-11-21 | refactor(core): Improve code readability in core.js (#8345) | De Rouck Antoine | |
2020-11-16 | v1.5.3 | Bartek Iwańczuk | |
2020-11-13 | refactor(cli+core): various cleanups in Rust (#8336) | KNnut | |
2020-11-11 | refactor(core): don't depend on get_identity_hash for promises (#8352) | Bartek Iwańczuk | |
This commit changes how pending promise exceptions are stored in JsRuntime by using global handle to promise instead of its identity hash. | |||
2020-11-09 | v1.5.2 (#8301) | Kitson Kelly | |
2020-11-06 | docs(core): document several concepts around JsRuntime and ops (#7897) | Jan Haller | |
2020-11-03 | build: migrate to dlint (#8176) | Bartek Iwańczuk | |
This commit migrates repository from using "eslint" to "dlint" for linting JavaScript code. | |||
2020-11-03 | fix(prompt): fix display of non-ASCII characters on Windows (#8199) | Yoshiya Hinosawa | |
2020-10-31 | fix(core/error): Remove extra newline from JsError::fmt() (#8145) | Nayeem Rahman | |
2020-10-31 | v1.5.1 | Luca Casonato | |
2020-10-27 | v1.5.0 | Bartek Iwańczuk | |
Co-authored-by: Ryan Dahl <ry@tinyclouds.org> | |||
2020-10-26 | fix(core/runtime): Indicate exceptions in promises (#8124) | Nayeem Rahman | |
Fixes #4879 | |||
2020-10-23 | refactor(core): remove Deno.core.formatError() (#8091) | Bartek Iwańczuk | |
With recent improvements to REPL implementation, Deno.core.formatError() API is no longer needed. | |||
2020-10-23 | Revert "feat(cli): Add deno cache --test and --worker (#7920)" (#8089) | Bartek Iwańczuk | |
This reverts commit be15cf285dbf3a7b3025d34cb80e87e54a55dd93. | |||
2020-10-23 | feat(cli): Add deno cache --test and --worker (#7920) | Nayeem Rahman | |
2020-10-23 | fix: typos in cli and core (#8082) | Toan Nguyen | |
2020-10-19 | deno_core 0.64.0 (#8025) | Ryan Dahl | |
2020-10-18 | upgrade rusty_v8 (#8017) | Ryan Dahl | |
2020-10-17 | refactor(core): more control over isolate creation (#8000) | Ben Noordhuis | |
Make JSRuntime::new() accept a custom v8::CreateParams object to tune the v8::Isolate it creates. Subsumes the functionality of HeapLimits, which I therefore removed. | |||
2020-10-14 | fix: top-level-await module execution (#7946) | Bartek Iwańczuk | |
This commit changes implementation of top-level-await in "deno_core". Previously promise returned from module evaluation was not awaited, leading to out-of-order execution of modules that have TLA. It's been fixed by changing "JsRuntime::mod_evaluate" to be an async function that resolves when the promise returned from module evaluation also resolves. When waiting for promise resolution event loop is polled repeatedly, until there are no more dynamic imports or pending ops. | |||
2020-10-14 | refactor(cli): add tsc2 (#7942) | Kitson Kelly | |
Ref #7225 | |||
2020-10-11 | reland JsRuntime/Worker is not a Future (#7924) | Bartek Iwańczuk | |
2020-10-10 | v1.4.6 | Bartek Iwańczuk | |
2020-10-10 | Fix 100% CPU idling problem by reverting #7672 (#7911) | Ryan Dahl | |
* Revert "refactor: Worker is not a Future (#7895)" This reverts commit f4357f0ff9d39411f22504fcc20db6bd5dec6ddb. * Revert "refactor(core): JsRuntime is not a Future (#7855)" This reverts commit d8879feb8c832dbb38649551b1cb0730874f7be6. * Revert "fix(core): module execution with top level await (#7672)" This reverts commit c7c767782538243ded64742dca9b34d6af74d62d. | |||
2020-10-09 | Implement Serialize for ModuleSpecifier (#7900) | Ryan Dahl | |
Also re-export serde from deno_core, since its now a dependency. | |||
2020-10-08 | Fix typos (#7882) | crowlKats | |
2020-10-08 | v1.4.5 | Bartek Iwańczuk | |
2020-10-08 | fix(cli/rt/error_stack): Improve message line formatting (#7860) | Nayeem Rahman | |
2020-10-07 | refactor(core): JsRuntime is not a Future (#7855) | Bartek Iwańczuk | |
This commit rewrites deno_core::JsRuntime to not implement Future trait. Instead there are two separate methods: - JsRuntime::poll_event_loop() - does single tick of event loop - JsRuntime::run_event_loop() - runs event loop to completion | |||
2020-10-07 | upgrade: rusty_v8 0.11.0, V8 8.7.220.3 (#7859) | Bartek Iwańczuk | |
2020-10-07 | refactor: rename isolate to js_runtime (#7858) | Bartek Iwańczuk | |
This commit renames occurrences of "isolate" variable name to "js_runtime". This was outstanding debt after renaming deno_core::CoreIsolate to JsRuntime. | |||
2020-10-07 | refactor(core): JsRuntime doesn't defer to OwnedIsolate (#7853) | Bartek Iwańczuk | |
Remove Deref and DeferMut implementations for JsRuntime. |