Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-05-03 | fix(core): error registration could pollute constructors (#10422) | Aaron O'Mullan | |
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com> | |||
2021-05-03 | refactor(op_crates/webgpu): simplify gfx_select macro & add gfx_put and ↵ | crowlKats | |
gfx_ok macros (#10044) | |||
2021-05-03 | fix(core/print): flush stderr (#10480) | Aaron O'Mullan | |
2021-05-03 | fix(op_crates/fetch): check fetch() argument length (#10474) | Anonymous | |
2021-05-02 | refactor(core): convert core.print() to a builtin op (#10436) | Aaron O'Mullan | |
2021-05-02 | cleanup(bench/deno_http_native): don't use Deno.core funcs (#10460) | Aaron O'Mullan | |
`Deno.core.*` is unstable and not fit for public consumption, although this is a somewhat internal bench some people may use it as reference code and start using `Deno.core.encode()` in their own code | |||
2021-05-02 | refactor(runtime): use Extensions (#10461) | Aaron O'Mullan | |
2021-05-02 | fix(test): change inflection depending on number of pending tests (#10466) | Casper Beyer | |
2021-05-02 | clean(cli): prefix all op functions with op_ (#10463) | Aaron O'Mullan | |
Makes the codebase more searchable and helps distinguish op functions from helper functions Besides tests/examples/benches this pattern appears to be used everywhere else in the codebase | |||
2021-05-02 | cleanup(runtime): re-export deno_timers like all other deno crates (#10464) | Aaron O'Mullan | |
2021-05-02 | docs: remove wasm and wasi as prerequisites (#10465) | Casper Beyer | |
ref: #7512 | |||
2021-05-01 | fix(extension/websocket): better websocket errors (#10458) | crowlKats | |
2021-05-01 | fix(core): fix typo in error message of print function (#10456) | Aditya Pandit | |
2021-05-01 | fix(test): re-enable "compile_windows_ext" test (#10131) | Divy Srivastava | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2021-05-01 | fix(console): Remove `console.timeStamp` from types (#10455) | Liam Murphy | |
Fixes #10444 | |||
2021-04-30 | cleanup(core): use ZeroCopyBuf for serialize & encode bindings (#10435) | Aaron O'Mullan | |
2021-04-30 | refactor(core): provide builtins as an Extension (#10449) | Aaron O'Mullan | |
2021-04-30 | Rename crate_ops to extensions (#10431) | Andy Hayden | |
2021-04-30 | fix(cli/tools/test): print module tests originate from (#10428) | Casper Beyer | |
2021-04-30 | refactor(websocket): use ZeroCopyBuf to return binary data (#10446) | crowlKats | |
2021-04-30 | cleanup(core): replace OpResponse with OpResult (#10434) | Aaron O'Mullan | |
Drop the Value/Buffer enum since #10432 allows buffers to be serialized rust => v8 | |||
2021-04-30 | refactor(core): initialize extensions in runtime constructor (#10421) | Aaron O'Mullan | |
This ensures that provided extensions are all correctly setup and ready to use once the JsRuntime constructor returns Note: this will also initialize ops for to-be-snapshotted runtimes | |||
2021-04-30 | fix(test): default to num cpus when no value is given (#10443) | Casper Beyer | |
2021-04-30 | feat(serde_v8): ZeroCopyBuf (#10432) | Aaron O'Mullan | |
Bidirectional zero-copy serialization of buffers between v8 & rust that can be nested in structs/tuples/etc. | |||
2021-04-30 | refactor(core.js): provide window.__bootstrap (#10423) | Aaron O'Mullan | |
2021-04-29 | fix(op_crate/fetch): infinite loop on fill headers (#10406) | William Perron | |
Fixes a pesky bug in the fetch implementation where if the init part is specified in `fetch` instead of the `Request` constructor, the fillHeaders function receives two references to the same object, causing it to append to the same list being iterated over. | |||
2021-04-29 | chore: remove unused keys from TsConfigJson (#10417) | Kitson Kelly | |
2021-04-29 | refactor(cli): move test reporting into trait (#10408) | Casper Beyer | |
2021-04-29 | Revert "ci: build only lib and bins (#10401)" (#10415) | Ryan Dahl | |
2021-04-29 | docs: update configuration to include noUncheckedIndexedAccess (#10324) | Zeshan Aslam | |
Fixes: #10305 Co-authored-by: Kitson Kelly <me@kitsonkelly.com> | |||
2021-04-28 | refactor(extensions): reintroduce builder (#10412) | Aaron O'Mullan | |
2021-04-28 | enable error-on-warning (#10410) | Ryan Dahl | |
Only on linux and osx. Fixes one warning. | |||
2021-04-28 | chore(lsp): remove dead code (#10409) | Satya Rohith | |
2021-04-28 | feat(test): run test modules in parallel (#9815) | Casper Beyer | |
This commit adds support for running test in parallel. Entire test runner functionality has been rewritten from JavaScript to Rust and a set of ops was added to support reporting in Rust. A new "--jobs" flag was added to "deno test" that allows to configure how many threads will be used. When given no value it defaults to 2. | |||
2021-04-28 | core: introduce extensions (#9800) | Aaron O'Mullan | |
Extensions allow declarative extensions to "JsRuntime" (ops, state, JS or middleware). This allows for: - `op_crates` to be plug-and-play & self-contained, reducing complexity leaked to consumers - op middleware (like metrics_op) to be opt-in and for new middleware (unstable, tracing,...) - `MainWorker` and `WebWorker` to be composable, allowing users to extend workers with their ops whilst benefiting from the other infrastructure (inspector, etc...) In short extensions improve deno's modularity, reducing complexity and leaky abstractions for embedders and the internal codebase. | |||
2021-04-28 | refactor(core): simplify module loading code (#10385) | Bartek Iwańczuk | |
General cleanup of module loading code, tried to reduce indentation in various methods on "JsRuntime" to improve readability. Added "JsRuntime::handle_scope" helper function, which returns a "v8::HandleScope". This was done to reduce a code pattern that happens all over the "deno_core". Additionally if event loop hangs during loading of dynamic modules a list of currently pending dynamic imports is printed. | |||
2021-04-28 | docs: edit wording for consistency/grammar (#10375) | dev-nicolaos | |
2021-04-28 | ci: build only lib and bins (#10401) | Yoshiya Hinosawa | |
Currently we specify --all-targets when building. It's equivalent of --lib --bins --tests --benches --examples, but in test release jobs, we don't need to build everything. So this PR reduces build target to only --bin deno --bin test_server in build phase, and reduces test targets to --bins --lib --tests. This skips the building of benches and examples in test release jobs. | |||
2021-04-28 | chore: upgrade dprint plugins (#10397) | Satya Rohith | |
2021-04-28 | docs: document how to stop file watcher (#10403) | Yoshiya Hinosawa | |
2021-04-27 | test(cli): run unit tests using Deno.test (#10330) | Casper Beyer | |
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com> | |||
2021-04-27 | remove --unstable flag from CLI features (#10190) | Bartek Iwańczuk | |
2021-04-27 | fix(console): circular customInspect (#10338) | Aaron O'Mullan | |
2021-04-27 | docs: fix ftruncateSync example (#10393) | Yoshiya Hinosawa | |
2021-04-26 | fix(tls): throw meaningful error when hostname is invalid (#10387) | Bert Belder | |
`InvalidDNSNameError` is thrown when a string is not a valid hostname, e.g. it contains invalid characters, or starts with a numeric digit. It does not involve a (failed) DNS lookup. | |||
2021-04-27 | docs: remove --lite command line flag (#10386) | Ryan Dahl | |
2021-04-26 | Remove denort optimization (#10350) | Ryan Dahl | |
denort is an optimization to "deno compile" to produce slightly smaller output. It's a decent idea, but causes a lot of negative side-effects: - Deno's link time is a source of constant agony both locally and in CI, denort doubles link time. - The release process is a long and arduous undertaking with many manual steps. denort necessitates an additional manual zip + upload from M1 apple computers. - The "deno compile" interface is complicated with the "--lite" option. This is confusing for uses ("why wouldn't you want lite?"). The benefits of this feature do not outweigh the negatives. We must find a different approach to optimizing "deno compile" output. | |||
2021-04-26 | feat(core): enable wasm threading support (#10116) | Casper Beyer | |
2021-04-26 | feat: Support deno-fmt-ignore-file for markdown formatting (#10191) | David Sherret | |
2021-04-26 | fix: invalid types for asynchronous and synchronous `File#truncate` (#10353) | Carter Snook | |