Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-10-11 | refactor: integrate deno_graph into CLI (#12369) | Kitson Kelly | |
2021-10-05 | chore: various op cleanup (#12329) | Leo K | |
2021-09-24 | refactor: Rename ProgramState to ProcState (#12204) | Ryan Dahl | |
Move Arc into struct | |||
2021-09-18 | fix(cli/fmt_errors): Abbreviate long data URLs in stack traces (#12127) | Nayeem Rahman | |
Co-authored-by: Mike White <mike.white@auctane.com> | |||
2021-09-11 | refactor: use import_map crate (#11974) | Bartek Iwańczuk | |
Removes ImportMap implementation from "cli/" and instead uses "import_map" crate | |||
2021-09-07 | refactor(lsp): use deno_ast and cache swc ASTs (#11780) | David Sherret | |
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-07-14 | refactor(cli/tools/test_runner): split reporter into distinct stages (#11395) | Casper Beyer | |
This splits up the reporter into smaller functions, one for each distinct event that happens during the testing process. | |||
2021-07-06 | chore: use parking_lot for synchronization primitives to align with tokio ↵ | David Sherret | |
(#11289) parking_lot is already transitively used in tokio via the "full" cargo feature | |||
2021-06-22 | fix(#10761): graph errors reported as diagnostics for `Deno.emit()` (#10767) | Kitson Kelly | |
Fixes #10761 | |||
2021-06-22 | feat(cli): support "types" when type checking (#10999) | Kitson Kelly | |
Fixes #10677 | |||
2021-05-17 | fix: static import permissions in dynamic imports | Luca Casonato | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2021-05-14 | refactor(cli/ops): don't pass ops through json (#10629) | Casper Beyer | |
2021-05-08 | cleanup(ops): remove unused ZeroCopyBuf arg-types (#10530) | Aaron O'Mullan | |
2021-05-04 | fix(cli): give context when failed to load import map (#10478) | Satya Rohith | |
2021-04-30 | fix(cli/tools/test): print module tests originate from (#10428) | Casper Beyer | |
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-25 | feat(cli): add test permissions to Deno.test (#10188) | Casper Beyer | |
This commits adds adds "permissions" option to the test definitions which allows tests to run with different permission sets than the process's permission. The change will only be in effect within the test function, once the test has completed the original process permission set is restored. Test permissions cannot exceed the process's permission. You can only narrow or drop permissions, failure to acquire a permission results in an error being thrown and the test case will fail. | |||
2021-04-26 | refactor(cli): rename Deno.emit() bundle options to "module" and "classic" ↵ | Nayeem Rahman | |
(#10332) | |||
2021-04-18 | cleanup(cli): use runtime's reg_sync() and reg_async() (#10241) | Aaron O'Mullan | |
2021-04-12 | refactor(deno): remove concept of bin & json ops (#10145) | Aaron O'Mullan | |
2021-04-12 | feat(runtime/permissions): prompt fallback (#9376) | crowlKats | |
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2021-04-02 | refactor(ops): remove variadic buffers (#9944) | Aaron O'Mullan | |
2021-02-26 | feat(cli/source_map): Use top user frame for error source lines (#9604) | Nayeem Rahman | |
This commit changes formatting of JS errors; by not showing source lines for internal code. Where possible, instead using the top stack frame associated with user code i.e. the first location that is colourful and not a "deno:" URL. | |||
2021-02-21 | feat(unstable): per op metrics (#9240) | Luca Casonato | |
2021-02-17 | Make ModuleSpecifier a type alias, not wrapper struct (#9531) | Ryan Dahl | |
2021-02-17 | feat: support loading import map from URL (#9519) | Bartek Iwańczuk | |
This commit adds support for loading import maps from URLs, both remote and local. This feature is supported in CLI flag as well as in runtime compiler API. | |||
2021-02-16 | feat(cli): Deno.emit supports bundling as IIFE (#9291) | Kitson Kelly | |
Closes #9204 | |||
2021-01-29 | fix(cli): fix panic in Deno.emit (#9302) | Yoshiya Hinosawa | |
2021-01-18 | fix(cli): Check permissions for Deno.emit() (#9139) | Nayeem Rahman | |
2021-01-11 | chore: update copyright to 2021 (#9092) | Yusuke Tanaka | |
2021-01-06 | fix: use inline source maps when present in js (#8995) | Luca Casonato | |
2021-01-01 | refactor(cli): runtime compiler APIs consolidated to Deno.emit() (#8799) | Kitson Kelly | |
Closes: #4752 | |||
2020-12-30 | feat(lsp): add cache command (#8911) | Kitson Kelly | |
2020-12-13 | refactor: deno_runtime crate (#8640) | Bartek Iwańczuk | |
This commit moves Deno JS runtime, ops, permissions and inspector implementation to new "deno_runtime" crate located in "runtime/" directory. Details in "runtime/README.md". Co-authored-by: Ryan Dahl <ry@tinyclouds.org> | |||
2020-12-12 | refactor(cli): more options on Worker (#8724) | Bartek Iwańczuk | |
2020-12-11 | refactor(cli): decouple ops from ProgramState and Flags (#8659) | Bartek Iwańczuk | |
This commit does major refactor of "Worker" and "WebWorker", in order to decouple them from "ProgramState" and "Flags". The main points of interest are "create_main_worker()" and "create_web_worker_callback()" functions which are responsible for creating "Worker" and "WebWorker" in CLI context. As a result it is now possible to factor out common "runtime" functionality into a separate crate. | |||
2020-12-07 | perf: use minimal op with performance.now() (#8619) | Steven Guerrero | |
2020-12-07 | refactor(cli): Reorganize worker code, use stronger memory ordering (#8638) | Bartek Iwańczuk | |
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-30 | feat(unstable): add cbreak option to setRaw (#8383) | Marcus Hultman | |
2020-11-28 | chore: clippy future cleanups (#8514) | Kitson Kelly | |
2020-11-27 | fix(cli/ops/net): add write permissions for unixpackets datagrams & unix ↵ | William Perron | |
socket (#8511) Fixes #7781 | |||
2020-11-26 | refactor(cli): reorganize main.rs and split workers (#8495) | Bartek Iwańczuk | |
Factored out "init_v8_flags", "init_logger" and "get_subcommand" from "main" function. Also "Worker" was removed in favor of moving logic to "MainWorker" and "WebWorker" respectively. | |||
2020-11-26 | fix(websocket): set User-Agent header (#8502) | Bartek Iwańczuk | |
2020-11-26 | fix(cli/websocket): set User-Agent header (#8470) | crowlKats | |
2020-11-25 | fix(websocket): Fix PermissionDenied error being caught in constructor (#8402) | crowlKats | |
2020-11-25 | add canary versioning (#8480) | crowlKats | |
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-20 | refactor(cli): worker event serialization (#8438) | Bartek Iwańczuk | |
This commit simplifies code responsible for serialization of web worker events. Instead of using "PrettyJsError" it's enough to downcast to "deno_core::JsError", making the code less specific to cli/ implementation. |