Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2020-11-19 | refactor(cli): rename fmt_errors::JsError to PrettyJsError (#8435) | Bartek Iwańczuk | |
This commit renames "fmt_errors::JsError" to "PrettyJsError" to avoid confusion with "deno_core::JsError". Consequently "CoreJsError" aliases to "deno_core::JsError" were removed. Additionally source mapping step has been removed from "PrettyJsError::create" to better separate domains. | |||
2020-11-16 | refactor(cli): rename fs module to fs_util (#8380) | Bartek Iwańczuk | |
This commit renames "fs" module in "cli/" to "fs_util". This is purely cosmetic change; there were a few places which aliased "crate::fs" to "deno_fs" which was very confusing with "fs" module in ops. | |||
2020-11-13 | refactor: deno_crypto op crate (#7956) | Divy Srivastava | |
This commit factors out "deno_crypto" op crate. "rand" crate dependency was consequently moved to "deno_crypto" crate and reexported. | |||
2020-11-08 | chore: remove dead code (#8298) | Bartek Iwańczuk | |
2020-11-03 | refactor(cli): cleanup compiler snapshot and tsc/module_graph (#8220) | Kitson Kelly | |
2020-11-02 | refactor(cli): migrate runtime compile/bundle to new infrastructure (#8192) | Kitson Kelly | |
Fixes #8060 | |||
2020-10-30 | fix(cli/fmt): Strip "\\?\" prefix when displaying Windows paths (#8135) | Nayeem Rahman | |
2020-10-26 | feat(unstable): add Deno.systemCpuInfo() (#7774) | Elias Sjögreen | |
2020-10-26 | refactor(cli): rewrite Deno.transpileOnly() to use SWC (#8090) | Bartek Iwańczuk | |
Co-authored-by: Kitson Kelly <me@kitsonkelly.com> | |||
2020-10-23 | refactor(cli): migrate run and cache to new infrastructure (#7996) | Kitson Kelly | |
Co-authored-by: Ryan Dahl <ry@tinyclouds.org> | |||
2020-10-22 | fix(cli/rt/websockets): Only add Sec-WebSocket-Protocol if it's not empty ↵ | nerix | |
(#7936) | |||
2020-10-20 | feat: stabilize Deno.fsync and Deno.fdatasync (#8038) | Casper Beyer | |
2020-10-20 | fix(cli/worker): Print error stacks from the origin Worker (#7987) | Nayeem Rahman | |
Fixes #4728 | |||
2020-10-15 | feat(cli/ops): add the sleep_sync op (#7974) | William Perron | |
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-13 | refactor(cli): rename GlobalState to ProgramState (#7914) | Bartek Iwańczuk | |
2020-10-12 | chore(cli): remove dead code (#7941) | Kitson Kelly | |
2020-10-11 | reland JsRuntime/Worker is not a Future (#7924) | 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 | refactor: Worker is not a Future (#7895) | Bartek Iwańczuk | |
This commit rewrites deno::Worker to not implement Future trait. Instead there are two separate methods: - Worker::poll_event_loop() - does single tick of event loop - Worker::run_event_loop() - runs event loop to completion Additionally some cleanup to Worker's field visibility was done. | |||
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 | fix(cli/ops/fs): Don't force Windows paths separate paths with forward slash ↵ | Nayeem Rahman | |
(#7833) |