Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-02-27 | reduce unnecessary output on tests (#4148) | Yusuke Sakurai | |
2020-02-27 | replace impl Future with poll_fn for net.rs, process.rs, tls.rs (#4158) | Bartek Iwańczuk | |
2020-02-27 | Add clippy to /tools/lint.py (#4132) | João Souto | |
2020-02-27 | feat: Support types compiler option in compiler APIs (#4155) | Kitson Kelly | |
Handles `types` in the compiler APIs to make it easier to supply external type libraries. | |||
2020-02-26 | rewrite normalize_path (#4143) | Bartek Iwańczuk | |
Rewrite "normalize_path()" to remove all intermediate components from the path, ie. "./" and "../". It's very similar in functionality to fs::canonicalize(), however "normalize_path() doesn't resolve symlinks. | |||
2020-02-26 | Remove impl Send for Isolate and EsIsolate (#4151) | Ryan Dahl | |
2020-02-26 | remove Read/Write futures, use poll_fn instead (#4150) | Bartek Iwańczuk | |
2020-02-26 | Upgrade to rusty_v8 v0.3.3 (#4119) | Bert Belder | |
2020-02-26 | stream output of js unit tests (#4146) | Bartek Iwańczuk | |
2020-02-26 | Bundles can be sync or async based on top level await (#4124) | Kitson Kelly | |
Previously, bundles always utilised top level await, even if the bundled modules didn't require top level await. Now, analysis of the bundle is done and if none of the bundled modules are asynchronously executed, then the bundle as a whole will be synchronously executed. Fixes #4055 Fixes #4123 | |||
2020-02-26 | refactor(std/http): move io functions to http/io.ts (#4126) | Yusuke Sakurai | |
2020-02-26 | DenoFlags -> Flags (#4136) | Ryan Dahl | |
2020-02-26 | upgrade: dprint 0.7.0 (#4130) | Ryan Dahl | |
* upgrade: dprint 0.7.0 Also make deno fmt less verbose (like cargo fmt) | |||
2020-02-26 | Fix flaky tests (#4134) | Ryan Dahl | |
2020-02-26 | add window.self read-only property (#4131) | Bartek Iwańczuk | |
2020-02-26 | tty: Deno.setRaw(rid, mode) to turn on/off raw mode (#3958) | Kevin (Kun) "Kassimo" Qian | |
2020-02-25 | Port permission_prompt_tests to Rust (#4129) | João Souto | |
2020-02-25 | upgrade: TypeScript 3.8 (#4100) | Kitson Kelly | |
2020-02-25 | Remove _async from method names since _sync are gone (#4128) | Ryan Dahl | |
2020-02-25 | ci: Use fetch-depth: 5 (#4127) | Ryan Dahl | |
2020-02-25 | fix: Resolve makeTemp* paths from CWD (#4104) | Nayeem Rahman | |
2020-02-25 | Clean up how we use opIds (#4118) | Ryan Dahl | |
2020-02-25 | Fix issues with JavaScript importing JavaScript. (#4120) | Kitson Kelly | |
Fixes #3852 Fixes #4117 | |||
2020-02-24 | fix: [http] Consume unread body and trailers before reading next request (#3990) | Yusuke Sakurai | |
- Added `ServerRequest.finalize()`: consuming all unread body stream and trailers. - This is cleanup method for reading next request from same keep-alive connection. - Needed when handler didn't consume all body and trailers even after responding. - refactor: `ServerRequest._bodyStream()`, `ServerRequestBody` are removed. - Now using `bodyReader()` and `chunkedBodyReader()` instead. - fix: Trailers should only be read `transfer-encoding` is `chunked` and `trailer` header is set and its value is valid. - fix: use `Headers.append()` on reading trailers. - fix: delete `trailer` field from headers after reading trailers. - reorg: Several functions related to IO are moved into `http/io.ts` | |||
2020-02-24 | Remove ansi_term dependency (#4116) | João Souto | |
2020-02-24 | port tools/repl_test.py to Rust (#4096) | João Souto | |
ref #2988 | |||
2020-02-24 | Revert "Remove ansi_term dependency" | Ryan Dahl | |
Broke colors https://github.com/denoland/deno/issues/4112#issuecomment-590545385 This reverts commit c250778704a4e0065e54e6bf6ca6c39d556a6d8d. | |||
2020-02-24 | fix: createSecKey logic (#4063) | Suguru Motegi | |
2020-02-24 | Add Deno.Err change missing from previous commit (#4113) | Ryan Dahl | |
2020-02-24 | rename Deno.Err -> Deno.errors (#4093) | Bartek Iwańczuk | |
2020-02-24 | doc: Remove old link to deno types output (#4111) | Nayeem Rahman | |
2020-02-24 | feat: Add Deno.formatDiagnostics (#4032) | Kitson Kelly | |
2020-02-24 | disable std/examples/chat tests for windows (#4109) | Bartek Iwańczuk | |
2020-02-24 | update build instructions for windows (#4027) | Matthew Lennon | |
2020-02-24 | Remove ansi_term dependency (#4106) | João Souto | |
2020-02-24 | fix: add mutex guard for permission_prompt tests (#4105) | Yoshiya Hinosawa | |
This PR introduces the mutex guard for the test cases which depends on the permission prompt mocking utility. permission_request test cases depend on the mocked (dummy) value of the permission_prompt result. The value is stored at static STUB_PROMPT_VALUE: AtomicBool and these test cases share this value. So we should lock at the start of these test cases. Before this change cargo test permission failed 6 times out of 20. After this change, 0 times out of 20 (on my mac). | |||
2020-02-24 | Add missing node os.release() implementation (#4065) | ecyrbe | |
2020-02-24 | fix(std/examples): add tests for examples (#4094) | uki00a | |
2020-02-24 | fix: chat example's content-security-policy (#4091) | Yusuke Sakurai | |
2020-02-23 | refactor: use OpError instead of ErrBox for errors in ops (#4058) | Bartek Iwańczuk | |
To better reflect changes in error types in JS from #3662 this PR changes default error type used in ops from "ErrBox" to "OpError". "OpError" is a type that can be sent over to JSON; it has all information needed to construct error in JavaScript. That made "GetErrorKind" trait useless and so it was removed altogether. To provide compatibility with previous use of "ErrBox" an implementation of "From<ErrBox> for OpError" was added, however, it is an escape hatch and ops implementors should strive to use "OpError" directly. | |||
2020-02-23 | feat(std/node): add os Symbol.toPrimitive methods (#4073) | Ben Noordhuis | |
Node's os module exports a number of methods that evaluate to themselves when coerced to a primitive. I.e., `"" + os.arch` and `os.arch()` evaluate to the same string, and now Deno's shims do too. | |||
2020-02-23 | fix: [ws] sock shouldn't throw eof error when failed to read frame (#4083) | Yusuke Sakurai | |
2020-02-23 | fetch: proper error for unsupported protocol (#4085) | Kevin (Kun) "Kassimo" Qian | |
2020-02-23 | Move WebAsssembly namespace to shared_globals (#4084) | Kevin (Kun) "Kassimo" Qian | |
2020-02-23 | feat: support brotli compression for fetch API (#4082) | EnokMan | |
2020-02-22 | Added browser chat example (#4022) | Yusuke Sakurai | |
2020-02-22 | feat(std/node): add os.loadavg() (#4075) | ecyrbe | |
2020-02-22 | Fix example (#4076) | jigsaw | |
2020-02-21 | feat: Deno.fsEvents() (#3452) | Bartek Iwańczuk | |
2020-02-21 | feat(std/node) : add os.platform (#4064) | ecyrbe | |