Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-05-27 | fix(ext/fetch): fix error message of Request constructor (#10772) | Yoshiya Hinosawa | |
2021-05-27 | docs(permissions): fix grammatical error in permissions docs (#10755) | Jonathan Svenheden | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2021-05-27 | fix(#10733): empty tsconfig.json file does not cause error (#10734) | Romain Prignon | |
Fixes #10733 | |||
2021-05-27 | feat(cli): add origin data dir to deno info (#10589) | crowlKats | |
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com> Co-authored-by: Luca Casonato <lucacasonato@yahoo.com> Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com> | |||
2021-05-26 | fix(fetch): make prototype properties writable (#10769) | Luca Casonato | |
2021-05-26 | refactor: move JsRuntimeInspector to deno_core (#10763) | Bartek Iwańczuk | |
This commit moves implementation of "JsRuntimeInspector" to "deno_core" crate. To achieve that following changes were made: * "Worker" and "WebWorker" no longer own instance of "JsRuntimeInspector", instead it is now owned by "deno_core::JsRuntime". * Consequently polling of inspector is no longer done in "Worker"/"WebWorker", instead it's done in "deno_core::JsRuntime::poll_event_loop". * "deno_core::JsRuntime::poll_event_loop" and "deno_core::JsRuntime::run_event_loop", now accept "wait_for_inspector" boolean that tells if event loop should still be "pending" if there are active inspector sessions - this change fixes the problem that inspector disconnects from the frontend and process exits once the code has stopped executing. | |||
2021-05-26 | refactor: Rewrite Inspector implementation (#10725) | Bartek Iwańczuk | |
This commit refactors implementation of inspector. The intention is to be able to move inspector implementation to "deno_core". Following things were done to make that possible: * "runtime/inspector.rs" was split into "runtime/inspector/mod.rs" and "runtime/inspector/server.rs", separating inspector implementation from Websocket server implementation. * "DenoInspector" was renamed to "JsRuntimeInspector" and reference to "server" was removed from the structure, making it independent of Websocket server used to connect to Chrome Devtools. * "WebsocketSession" was renamed to "InspectorSession" and rewritten in such a way that it's not tied to Websockets anymore; instead it accepts a pair of "proxy" channel ends that allow to integrate the session with different "transports". * "InspectorSession" was renamed to "LocalInspectorSession" to better indicate that it's an "in-memory" session and doesn't require Websocket server. It was also rewritten in such a way that it uses "InspectorSession" from previous point instead of reimplementing "v8::inspector::ChannelImpl" trait; this is done by using the "proxy" channels to communicate with the V8 session. Consequently "LocalInspectorSession" is now a frontend to "InspectorSession". This introduces a small inconvenience that awaiting responses for "LocalInspectorSession" requires to concurrently poll worker's event loop. This arises from the fact that "InspectorSession" is now owned by "JsRuntimeInspector", which in turn is owned by "Worker" or "WebWorker". To ease this situation "Worker::with_event_loop" helper method was added, that takes a future and concurrently polls it along with the event loop (using "tokio::select!" macro inside a loop). | |||
2021-05-26 | feat(lsp): show hints from `deno_lint` in addition to messages (#10739) | Yusuke Tanaka | |
2021-05-25 | fix(extension/file): update File constructor following the spec (#10760) | Yoshiya Hinosawa | |
2021-05-25 | cleanup(test_plugin): use else if statement (#10718) | Carter Snook | |
2021-05-25 | docs(cli/dts): tag test permission example as typescript (#10753) | Casper Beyer | |
2021-05-25 | feat(lsp): diagnostics for deno types and triple-slash refs (#10699) | Kitson Kelly | |
Fixes #9823 | |||
2021-05-24 | fix(cli/test): don't use reserved symbol `:` in specifier (#10751) | Casper Beyer | |
2021-05-24 | fix(cli/upgrade): modify download size paddings (#10639) | CGQAQ | |
2021-05-23 | feat(extensions): BroadcastChannel WPT conformance | Ben Noordhuis | |
Replaces the file-backed provider by an in-memory one because proper file locking is a hard problem that detracts from the proof of concept. Teach the WPT runner how to extract tests from .html files because all the relevant tests in test_util/wpt/webmessaging/broadcastchannel are inside basics.html and interface.html. | |||
2021-05-23 | feat(extensions): add BroadcastChannel | Ben Noordhuis | |
Co-Authored-By: Ben Noordhuis <info@bnoordhuis.nl> Fixes: #10354 | |||
2021-05-23 | chore: update wpt | Ben Noordhuis | |
2021-05-22 | bench(timers_ops): op_now() & setTimeout() (#10744) | Aaron O'Mullan | |
2021-05-21 | fix(docs): rename read to readSync (#10732) | 迷渡 | |
Signed-off-by: 迷渡 <justjavac@gmail.com> | |||
2021-05-21 | fix(test): ensure coverage dir exists (#10717) | Yoshiya Hinosawa | |
2021-05-21 | cleanup(bench_util): use Extensions for setup (#10737) | Aaron O'Mullan | |
2021-05-21 | fix(bench_util): correctly run async benches in tokio context (#10736) | Aaron O'Mullan | |
2021-05-21 | fix(runtime/http): fix empty blob response (#10689) | Yoshiya Hinosawa | |
2021-05-21 | chore(lsp): provide test for lsp deadlock issue (#10679) | Kitson Kelly | |
Resolves: #10587 | |||
2021-05-20 | chore: add README to bench_util/ (#10712) | Bartek Iwańczuk | |
2021-05-20 | fix(cli/tools/test_runner): --doc should not require permissions (#10719) | Casper Beyer | |
2021-05-20 | fix(lsp): re-enable the per resource configuration without a deadlock (#10625) | Kitson Kelly | |
Fixes #10603 | |||
2021-05-20 | fix(cli/dts): fix missing error class (NotSupported) in types (#10713) | Carter Snook | |
2021-05-19 | chore: publish deno_bench_util crate (#10709) | Bartek Iwańczuk | |
2021-05-19 | fix(cli): always allow documentation modules to be checked (#10581) | Casper Beyer | |
2021-05-19 | refactor(core): move ModuleMap to separate RefCell (#10656) | Bartek Iwańczuk | |
This commit moves bulk of the logic related to module loading from "JsRuntime" to "ModuleMap". Next steps are to rewrite the actual loading logic (represented by "RecursiveModuleLoad") to be a part of "ModuleMap" as well -- that way we will be able to track multiple module loads from within the map which should help me solve the problem of concurrent loads (since all info about currently loading/loaded modules will be contained in the ModuleMap, so we'll be able to know if actually all required modules have been loaded). | |||
2021-05-19 | fix(serde_v8): remove intentional deserialization error on non-utf8 strings ↵ | Aaron O'Mullan | |
(#10156) Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2021-05-19 | tooling: re-enable bench_util (#10674) | Aaron O'Mullan | |
2021-05-19 | test(cli/dts): typecheck examples in declaration files (#10707) | Casper Beyer | |
This commits adds two integration tests that typecheck examples in the docstrings in Deno declaration files. | |||
2021-05-19 | ci: fix 'skip save cache' step in windows CI (#10704) | Yoshiya Hinosawa | |
2021-05-19 | fix(cli/tools/test_runner): use file_fetcher.fetch to get sources (#10708) | Casper Beyer | |
2021-05-19 | fix(cli): canonicalize coverage dir (#10364) | Casper Beyer | |
2021-05-19 | docs(cli/dts): fix plugin example (#10647) | Casper Beyer | |
2021-05-19 | fix(runtime/http): expose nextRequest() errors in respondWith() (#10384) | Nayeem Rahman | |
2021-05-19 | fix(webstorage): use opstate for sqlite connection (#10692) | crowlKats | |
Fixes #10691 | |||
2021-05-19 | fix(#10695): deps diagnostics include data property (#10696) | Kitson Kelly | |
Fixes #10695 | |||
2021-05-19 | docs(cli/dts): make worker example pass (#10703) | Casper Beyer | |
2021-05-19 | docs: fix unix socket examples (#10705) | Casper Beyer | |
2021-05-19 | fix(deno install): support `file:` scheme URLs (#10562) | Satya Rohith | |
2021-05-19 | docs(cli/dts): fix typo in `TestDefinition.only` description (#10697) | Casper Beyer | |
2021-05-19 | docs: fix misspelling (#10683) | Raika Toriyama | |
2021-05-19 | fix(runtime): support source maps with Deno.emit() and bundle (#10510) | Satya Rohith | |
Closes: #10413 | |||
2021-05-19 | docs: update getting started for clarity (#10694) | Kitson Kelly | |
Co-authored-by: RobyCigar <69680330+RobyCigar@users.noreply.github.com> | |||
2021-05-19 | docs(typescript): fix typo in faqs (#10682) | Raika Toriyama | |
2021-05-18 | fix(lsp): make failed to load config error descriptive (#10685) | Satya Rohith | |