summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-05-31fix(webstorage): use opstate for sqlite connection (#10692)crowlKats
Fixes #10691
2021-05-31fix(#10695): deps diagnostics include data property (#10696)Kitson Kelly
Fixes #10695
2021-05-31docs(cli/dts): make worker example pass (#10703)Casper Beyer
2021-05-31docs: fix unix socket examples (#10705)Casper Beyer
2021-05-31fix(deno install): support `file:` scheme URLs (#10562)Satya Rohith
2021-05-31docs(cli/dts): fix typo in `TestDefinition.only` description (#10697)Casper Beyer
2021-05-31docs: fix misspelling (#10683)Raika Toriyama
2021-05-31fix(runtime): support source maps with Deno.emit() and bundle (#10510)Satya Rohith
Closes: #10413
2021-05-31docs: update getting started for clarity (#10694)Kitson Kelly
Co-authored-by: RobyCigar <69680330+RobyCigar@users.noreply.github.com>
2021-05-31docs(typescript): fix typo in faqs (#10682)Raika Toriyama
2021-05-31fix(lsp): make failed to load config error descriptive (#10685)Satya Rohith
2021-05-31chore: update deno_lint binary used in CI to v0.5.0 (#10652)Yusuke Tanaka
2021-05-31feat(lsp): provide X-Deno-Warning as a diagnostic (#10680)Kitson Kelly
Closes #9932
2021-05-31feat(lsp): support formatting json and markdown files (#10180)Satya Rohith
Resolves #9447 Resolves #9415
2021-05-31fix(lsp): ignore type definition not found diagnostic (#10610)Satya Rohith
Fixes #10575
2021-05-31refactor(lsp): memoize script versions per tsc request (#10601)Kitson Kelly
2021-05-31chore: add/update crates listed in workspace (#10673)Bert Belder
2021-05-31ci: make rustc deny warnings on all platforms (#10672)Bert Belder
2021-05-31refactor: share test harness for lsp between bench and integration (#10659)Kitson Kelly
2021-05-31Update release dates (#10800)Ryan Dahl
2021-05-31fix: remove unimplemented Request attributes (#10784)Luca Casonato
Not having them is better than throwing "unimplemented" errors on access.
2021-05-31fix(cli): Don't statically error on dynamic unmapped bare specifiers (#10618)Nayeem Rahman
Fixes #10168 Fixes #10615 Fixes #10616
2021-05-29build: cli(build) shouldn't depend on deno_runtime (#10787)Luca Casonato
This speeds up incremental rebuild when only touching JS files by 30% compared to #10786. Rebuild time after touch 01_broadcast_channel.js: main: run 1 49.18s, run 2 50.34s #10786: run 1 43.12s, run 2 43.19s this + #10786: run 1 30.30s, run 2 30.95s
2021-05-29core: don't include_str extension js code (#10786)Luca Casonato
This speeds up incremental rebuild when only touching JS files by 13-15% Rebuild time after `touch 01_broadcast_channel.js`: main: run 1 49.18s, run 2 50.34s this: run 1 43.12s, run 2 43.19s
2021-05-29fix(#10765): lsp import fixes include extensions (#10778)Kitson Kelly
Fixes #10765
2021-05-29chore: upgrade Tokio to 1.6.1 (#10782)Yusuke Tanaka
2021-05-29chore: release web extension@0.38.0 (#10773)Luca Casonato
2021-05-28docs(runtime): fix fetch API usage of HTTP server (#10777)Takeshi Kurosawa
2021-05-28feat(cli): upgrade to TypeScript 4.3 (#9960)Kitson Kelly
2021-05-27fix(ext/fetch): fix error message of Request constructor (#10772)Yoshiya Hinosawa
2021-05-27docs(permissions): fix grammatical error in permissions docs (#10755)Jonathan Svenheden
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-05-27fix(#10733): empty tsconfig.json file does not cause error (#10734)Romain Prignon
Fixes #10733
2021-05-27feat(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-26fix(fetch): make prototype properties writable (#10769)Luca Casonato
2021-05-26refactor: 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-26refactor: 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-26feat(lsp): show hints from `deno_lint` in addition to messages (#10739)Yusuke Tanaka
2021-05-25fix(extension/file): update File constructor following the spec (#10760)Yoshiya Hinosawa
2021-05-25cleanup(test_plugin): use else if statement (#10718)Carter Snook
2021-05-25docs(cli/dts): tag test permission example as typescript (#10753)Casper Beyer
2021-05-25feat(lsp): diagnostics for deno types and triple-slash refs (#10699)Kitson Kelly
Fixes #9823
2021-05-24fix(cli/test): don't use reserved symbol `:` in specifier (#10751)Casper Beyer
2021-05-24fix(cli/upgrade): modify download size paddings (#10639)CGQAQ
2021-05-23feat(extensions): BroadcastChannel WPT conformanceBen 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-23feat(extensions): add BroadcastChannelBen Noordhuis
Co-Authored-By: Ben Noordhuis <info@bnoordhuis.nl> Fixes: #10354
2021-05-23chore: update wptBen Noordhuis
2021-05-22bench(timers_ops): op_now() & setTimeout() (#10744)Aaron O'Mullan
2021-05-21fix(docs): rename read to readSync (#10732)迷渡
Signed-off-by: 迷渡 <justjavac@gmail.com>
2021-05-21fix(test): ensure coverage dir exists (#10717)Yoshiya Hinosawa
2021-05-21cleanup(bench_util): use Extensions for setup (#10737)Aaron O'Mullan