Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-09-06 | fix(ext/web): Format terminal DOMExceptions properly (#11834) | Nayeem Rahman | |
2021-09-06 | chore: upgrade third_party for dprint 0.17 (#11930) | David Sherret | |
2021-09-06 | BREAKING(unstable): Remove Deno.Signals enum, Deno.signals.* (#11909) | Ryan Dahl | |
2021-09-06 | Don't drop messages from workers that have already been closed (#11913) | Andreu Botella | |
When `worker.terminate()` is called, the spec requires that the corresponding port message queue is emptied, so no messages can be received after the call, even if they were sent from the worker before it was terminated. The spec doesn't require this of `self.close()`, and since Deno uses different channels to send messages and to notify that the worker was closed, messages might still arrive after the worker is known to be closed, which are currently being dropped. This change fixes that. The fix involves two parts: one on the JS side and one on the Rust side. The JS side was using the `#terminated` flag to keep track of whether the worker is known to be closed, without distinguishing whether further messages should be dropped or not. This PR changes that flag to an enum `#state`, which can be one of `"RUNNING"`, `"CLOSED"` or `"TERMINATED"`. The Rust side was removing the `WorkerThread` struct from the workers table when a close control was received, regardless of whether there were any messages left to read, which made any subsequent calls to `op_host_recv_message` to return `Ok(None)`, as if there were no more mesasges. This change instead waits for both a close control and for the message channel's sender to be closed before the worker thread is removed from the table. | |||
2021-09-05 | chore(std/http): server module name migration (#11890) | Craig Morten | |
2021-09-05 | refactor(testing): use discrete report functions (#11917) | Casper Beyer | |
2021-09-05 | fix(doc): fix rustdoc bare_urls warning (#11921) | Feng Yu | |
2021-09-04 | feat(cli): close test worker once all tests complete (#11727) | Casper Beyer | |
2021-09-04 | refactor(testing): redirect console output via reporter (#11911) | Casper Beyer | |
This feeds console output to the reporter and handles silencing there instead of in the JavaScript code. | |||
2021-09-04 | refactor: factor out DenoSubcommand enum variant into structs (#11896) | Bartek Iwańczuk | |
This commit refactors "DenoSubcommand" enum in a way that variants no longer contain anonymous structures but instead contain dedicated structures for each subcommand, eg. "DenoSubcommand::Lint" now contains "LintSubcommand". | |||
2021-09-03 | feat(lint): add support for config file and CLI flags for rules (#11776) | Bartek Iwańczuk | |
This commit adds support for following flags in deno lint subcommand: --config - allows to load configuration file and parses "lint" object --rules-tags=<tags> - allows specifying which set of tagged rules should be run --rules-include=<rules> - allow specifying which rules should be run --rules-exclude=<rules> - allow specifying which rules should not be run | |||
2021-09-02 | chore(test): improve flaky lsp_diagnostics_refresh_dependents test to give ↵ | David Sherret | |
more info (#11905) | |||
2021-09-02 | feat(fmt): add basic JS doc formatting (#11902) | David Sherret | |
2021-09-02 | chore: update dependencies (#11856) | Luca Casonato | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2021-09-02 | chore: upgrade crates (#11894) | Bartek Iwańczuk | |
Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2021-09-01 | fix(cli): retain path based test mode inference (#11878) | Casper Beyer | |
2021-08-31 | feat(workers): Make the `Deno` namespace configurable and unfrozen (#11888) | Andreu Botella | |
This is the worker counterpart of PR #11062. | |||
2021-08-31 | feat(core): facilitate op-disabling middleware (#11858) | Aaron O'Mullan | |
* feat(core): facilitate op-disabling middleware By providing `void_op_sync()` and `void_op_async() as well as `core/examples/disable_ops.rs` | |||
2021-08-31 | feat(ext/crypto): AES key generation (#11869) | Luca Casonato | |
Support AES-CTR, AES-CBC, AES-GCM, and AES-KW in SubtleCrypto#generateKey. | |||
2021-08-31 | fix: move unstable declarations to deno.unstable (#11876) | Luca Casonato | |
2021-08-30 | chore: release scripts should update Cargo.lock file when bumping versions ↵ | David Sherret | |
(#11879) | |||
2021-08-30 | chore: update to rusty_v8 0.27.0 (#11877) | Luca Casonato | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2021-08-29 | cleanup(.github/workflows): Typo in comments (#11868) | Geoffrey Smith | |
2021-08-29 | feat(ext/crypto): support JWK export for HMAC (#11864) | Divy Srivastava | |
2021-08-29 | bench(deno_common): track readFile 128kb (#11862) | Aaron O'Mullan | |
2021-08-27 | feat(ext/crypto): support JWK import for HMAC (#11716) | Divy Srivastava | |
2021-08-27 | chore: update wpt (#11845) | Luca Casonato | |
2021-08-27 | feat(cli): Update to TypeScript 4.4 (#11678) | Kitson Kelly | |
2021-08-26 | refactor(cli): introduce module specifier test modes (#11769) | Casper Beyer | |
This commit merges the two vectors of specifiers into a single one introducing the concept of a "TestMode" which is a tri-state enum specifying how a specifier is to be tested (as documentation, as an executable module or as both). This is determined during the collection phase and determines how a specifier will be executed based on how the specifier was collected (directly or not) and if it has an eligible media_type when fetched. For example "deno test README.md" is marked as documentation because, while it is a direct inclusion it is not an executable media type therefore will only have the fenced code blocks that can be parsed from it tested. | |||
2021-08-26 | docs: Add async iterator alternative for Deno.serveHttp (#11850) | Sebastien Filion | |
2021-08-26 | feat(ext/crypto): implement importKey and deriveBits for PBKDF2 (#11642) | Divy Srivastava | |
2021-08-25 | chore(tests): improve unit tests using `deferred` (#11842) | David Sherret | |
2021-08-25 | docs(README): Change the logo to vector image (#11841) | Percy | |
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com> | |||
2021-08-25 | chore: add scripts for helping with a release (#11832) | David Sherret | |
2021-08-25 | feat(fetch): mTLS client certificates for fetch() (#11721) | Sean Michael Wykes | |
This commit adds support for specifying client certificates when using fetch, by means of `Deno.createHttpClient`. | |||
2021-08-25 | feat: ArrayBuffer in structured clone transfer (#11840) | Luca Casonato | |
2021-08-25 | refactor: cleanup Inspector and InspectorServer implementations (#11837) | Bartek Iwańczuk | |
2021-08-25 | fix(ext/http): websocket upgrade header check (#11830) | Dayan C. Galiazzi | |
2021-08-24 | fix(cli): dispatch unload event on watch drop (#11696) | Casper Beyer | |
2021-08-24 | feat(ext/crypto): implement encrypt, decrypt & generateKey for RSA-OAEP (#11654) | Divy Srivastava | |
2021-08-24 | refactor(webgpu): use op interface idiomatically (#11835) | Luca Casonato | |
2021-08-24 | fix(typings): fix property name in DiagnosticMessageChain interface (#11821) | Sebastien Filion | |
2021-08-24 | feat(cli): add --ignore flag to test command (#11712) | Casper Beyer | |
2021-08-24 | chore: add refactor and chore to exempt stale labels (#11824) | Kitson Kelly | |
2021-08-24 | feat(extensions/console): right align numeric columns in table (#11748) | Nicolas Stucki | |
2021-08-24 | feat(unstable): Add file locking APIs (#11746) | Tilman Roeder | |
This commit adds following unstable APIs: - Deno.flock() - Deno.flockSync() - Deno.funlock() - Deno.funlockSync() | |||
2021-08-24 | fix(ext/crypto): KeyAlgorithm typings for supported algorithms (#11738) | Divy Srivastava | |
2021-08-24 | feat(unstable): Support file URLs in Deno.dlopen() (#11658) | Nayeem Rahman | |
2021-08-24 | BREAKING(unstable): Fix casing in FfiPermissionDescriptor (#11659) | Nayeem Rahman | |
2021-08-24 | chore(ext/webgpu): update wgpu to 0.10.0 (#11781) | Leo K | |
Co-authored-by: Luca Casonato <hello@lcas.dev> |