Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-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-10 | refactor(core): stack trace mapping (#8660) | Bartek Iwańczuk | |
This commit adds "Deno.core.createPrepareStackTrace". This function was moved from "cli/rt/40_error_stack.js" to unify handling of stack frames in core (before this PR there was implicit dependency on logic in "core/error.rs::JsError"). Unfortunately formatting logic must still be duplicated in "cli/error.js::PrettyJsError" to provide coloring, but currently there's no solution to this problem. "createPrepareStackTrace" can accept a single argument; a function that takes a location and provides source mapped location back. | |||
2020-12-07 | refactor(cli/rt): deduplicate code (#8649) | Benjamin Gruenbaum | |
2020-12-07 | perf: use minimal op with performance.now() (#8619) | Steven Guerrero | |
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-26 | fix: "onload" event order (#8376) | Benjamin Gruenbaum | |
This commit fixes order of events for "onload" event. Previously handler attached using "window.onload" was always fired before handlers added using "addEventListener". | |||
2020-11-25 | fix(websocket): Fix PermissionDenied error being caught in constructor (#8402) | crowlKats | |
2020-11-23 | fix(cli): add file URL support for Deno.readLink (#8423) | William Perron | |
2020-11-21 | fix: "cloneValue" should return a Set when given a Set (#7972) | Anonymous | |
2020-11-14 | fix: fix various global objects constructor length (#8373) | Benjamin Gruenbaum | |
This commit changes various Web APIs constructors to match their signature in the browser. | |||
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-10 | fix(web/worker) define event handlers in DOM order (#8334) | Benjamin Gruenbaum | |
2020-11-10 | fix(cli/rt): dom handler order in websocket (#8320) | Benjamin Gruenbaum | |
2020-11-08 | chore: remove dead code (#8298) | Bartek Iwańczuk | |
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-11-02 | refactor(cli): migrate runtime compile/bundle to new infrastructure (#8192) | Kitson Kelly | |
Fixes #8060 | |||
2020-10-30 | fix: Deno.fdata(), Deno.fdatasync() (#8193) | Bartek Iwańczuk | |
These APIs were stabilized in 1.5.0, but were never added to the "stable" Deno namespace. This commit fixes that. | |||
2020-10-29 | fix(cli): prompt works with windows eol and eof (#8149) | Sander Hahn | |
2020-10-27 | fix(cli): handle URL paths in Deno.mkdir() (#8140) | Ross Weir | |
2020-10-27 | fix(op_crates/web): Expose event properties in console output (#8103) | Ross Weir | |
Fixes #8073 | |||
2020-10-26 | feat(unstable): add Deno.systemCpuInfo() (#7774) | Elias Sjögreen | |
2020-10-23 | fix: typos in cli and core (#8082) | Toan Nguyen | |
2020-10-22 | fix(cli/rt/websockets): Only add Sec-WebSocket-Protocol if it's not empty ↵ | nerix | |
(#7936) | |||
2020-10-20 | fix(cli): use rid getter for stdio (#8014) | Casper Beyer | |
This changes the rid of Deno.stdin, Deno.stdout, Deno.stderr from a mutable property into a getter to match the rid semantics of Deno.File. | |||
2020-10-20 | fix(cli/worker): Print error stacks from the origin Worker (#7987) | Nayeem Rahman | |
Fixes #4728 | |||
2020-10-20 | fix(cli/rt/performance): check for object props in startOrMeasureOptions ↵ | Jesse Jackson | |
before throwing (#7884) Fixes #7876 Co-authored-by: Ryan Dahl <ry@tinyclouds.org> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2020-10-15 | feat(cli/ops): add the sleep_sync op (#7974) | William Perron | |
2020-10-15 | Reland feat(cli/console): inspect with colors regardless of Deno.noColor (#7976) | Bartek Iwańczuk | |
2020-10-14 | Revert "feat(cli/console): inspect with colors regardless of Deno.noColor ↵ | Bartek Iwańczuk | |
(#7778)" (#7973) This reverts commit f75bd89aff7cffafceb394d629995479af54a156. | |||
2020-10-14 | feat(cli/console): inspect with colors regardless of Deno.noColor (#7778) | TTtie | |
This commit adds the ability for users to inspect items stylized with ANSI colors regardless of the value of Deno.noColor. | |||
2020-10-13 | feat: add alert, confirm, and prompt (#7507) | Yoshiya Hinosawa | |
This commit adds "alert", "confirm" and "prompt" functions from web standards. | |||
2020-10-12 | fix(cli/rt/main): Add global interface objects (#7875) | Nayeem Rahman | |
2020-10-11 | fix(console): fix inspection of Function (#7930) | Yoshiya Hinosawa | |
This commit fixes the inspection of functions. The current implementation gets the name of the type of the function from "f.__proto__.constructor.name", and it throws when the prototype is set to null. This commit checks the prototype before accessing its constructor name and uses the generic name 'Function' if the prototype is not available. | |||
2020-10-11 | fix(cli/console): only inspect getters with option (#7830) | Casper Beyer | |
2020-10-08 | fix(cli/rt/error_stack): Improve message line formatting (#7860) | Nayeem Rahman | |
2020-10-07 | fix(cli/rt/console): Don't require a prototype to detect a class instance ↵ | Nayeem Rahman | |
(#7869) | |||
2020-10-05 | perf(cli/console): Don't add redundant ANSI codes (#7823) | Nayeem Rahman | |
2020-10-05 | fix(core): handle unregistered errors in core better (#7817) | Kitson Kelly | |
2020-10-04 | docs: end sentences with a period in markdown (#7813) | Trivikram Kamat | |
2020-10-02 | refactor(repl): use an inspector session (#7763) | Casper Beyer | |
This ports the REPL over to Rust and makes use of an inspector session to run a REPL on top of any isolate which lets make full use of rustylines various things like validators and completors without having to introduce a bunch of hard to test internal ops and glue code. An accidental but good side effect of this is that the multiple line input we previously had is now an editable multi-line input prompt that is correctly stored in the history as a single entry. | |||
2020-10-01 | fix(cli/console): Catch and format getter errors (#7766) | Nayeem Rahman | |
2020-09-30 | feat(cli/console): Add Deno.InspectOptions::colors (#7742) | Nayeem Rahman | |
Ref: https://github.com/denoland/deno/pull/7516#pullrequestreview-489567120 | |||
2020-09-29 | fix(websocket): add missing close events and remove extra error event (#7606) | crowlKats | |
2020-09-27 | fix: net listen crashes on explicit undefined hostname (#7706) | Giorgi Rostomashvili | |
2020-09-26 | refactor: prune unneeded JS code (#7689) | Bartek Iwańczuk | |
2020-09-25 | fix(cli): customInspect works on functions (#7670) | Kitson Kelly | |
Fixes #7650 | |||
2020-09-23 | fix(cli/console): quote non-alphanumeric symbols (#7641) | Casper Beyer | |
This quotes and escapes symbol descriptions that contains characters outside of the basic alpha-numeric identifier range. |