summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-03-23Statically link the C runtime library on Windows (#4469)Bert Belder
2020-03-23v0.37.0Ryan Dahl
2020-03-23feat: first pass at "deno upgrade" (#4328)bartOssh
2020-03-23doc: API improvements to chown, close, compile and connect (#4463)Chris Knight
2020-03-22ci: releases should all use zip and LLVM target triples (#4460)Ryan Dahl
Old release files are left around until we are able to update deno_install.
2020-03-22clean up textproto code in std (#4458)Yusuke Sakurai
- moved and renamed append() into bytes from ws and textproto - renamed textproto/readder_tests.ts -> textproto/test.ts
2020-03-22re-enable a test (#4461)uki00a
2020-03-21Remove @url comments from d.ts files (#4449)Ryan Dahl
These have no function and are not tested, probably incorrect in many situations.
2020-03-21BREAKING CHANGE Rename Deno.run's args to cmd (#4444)Akshat Agarwal
This is to avoid confusion with Deno.args which does not include the executable to be run.
2020-03-21Optimize github cache usage, remove sccache (#4452)Bert Belder
2020-03-21avoid using same port number for test (#4147)Yusuke Sakurai
2020-03-20Remove DENO_BUILD_MODE and DENO_BUILD_PATH (#4431)Ryan Dahl
* Remove DENO_BUILD_MODE and DENO_BUILD_PATH Also remove outdated docs related to ninja/gn. * fix * remove parameter to build_mode() * remove arg parsing from benchmark.py
2020-03-20chmod should throw on Windows (#4446)dubiousjim
2020-03-20refactor(std/http/server): Remove bad error handling (#4435)Nayeem Rahman
2020-03-20use prebuilt "not implemented" error (#4442)dubiousjim
2020-03-20refactor: move code from fs.rs into ops/fs.rs (#4428)dubiousjim
This a complex boring PR that shifts around code (primarily) in cli/fs.rs and cli/ops/fs.rs. The gain of this refactoring is to ease the way for #4188 and #4017, and also to avoid some future development pain. Mostly there is no change in functionality. Except: * squashed bugs where op_utime and op_chown weren't using `resolve_from_cwd` * eliminated the use of the external `remove_dir_all` crate. * op_chmod now only queries metadata to verify file/dir exists on Windows (it will already fail on Unix if it doesn't) * op_chown now verifies the file/dir's existence on Windows like chmod does.
2020-03-20Add require-await lint rule (#4401)Samrith Shankar
2020-03-20fix(std/http): Properly await ops in a server test (#4436)Nayeem Rahman
2020-03-19fix(std/http): Fix respond error test on Windows (#4408)Nayeem Rahman
2020-03-19Clean up installer tests (#4433)Ryan Dahl
2020-03-19perf: Optimize TextEncoder and TextDecoder (#4430)Bartek Iwańczuk
* add tests for "Deno.core.encode" and "Deno.core.decode" for empty inputs * use "Deno.core.encode" in "TextEncoder" * use "Deno.core.decode" in "TextDecoder" * remove "core_decode" and "core_encode" benchmarks
2020-03-19Fix cafile_install_remote_module test (#4429)Ryan Dahl
2020-03-19std(http/server): close open connections on server close (#3679)Bartek Iwańczuk
Due to structure of "Server" for each open connection there's a pending "read" op. Because connection owned by "Server" are not tracked, calling "Server.close()" doesn't close open connections. This commit introduces simple tracking of connections for server and ensures owned connections are closed on "Server.close()".
2020-03-19Simplify timer with macrotask callback (#4385)Kevin (Kun) "Kassimo" Qian
2020-03-19fix: stack traces for modules imported via std/node's require (#4035)Nikolai Vavilov
2020-03-19remove std/testing/runner.ts, use deno test for std/ tests (#4397)Bartek Iwańczuk
This introduces BREAKING CHANGE by removing "std/testing/runner.ts". Std tests are now run using "deno test" subcommand.
2020-03-19fix: std/testing/runner.ts and deno test (#4392)Bartek Iwańczuk
After splitting "failFast" and "exitOnFail" arguments, there was a situation where failing tests did not exit with code 1. * fixed argument value passed to Deno.runTests() in deno test * fixed argument value passed to Deno.runTests() in std/testing/runner.ts * added integration tests for deno test to ensure failFast and exitOnFail work as expected * don't write test file to file system, but keep it in memory
2020-03-19feat: Add helper functions for permissions to std (#4258)Kitson Kelly
2020-03-19refactor: rename Deno.TestDefinition.skip to ignore (#4400)Bartek Iwańczuk
2020-03-18Chmod API documentation improvements (#4427)Chris Knight
2020-03-18Improve API docs for Deno.bundle and Deno.chdir (#4426)Chris Knight
2020-03-18feat: Deno.test() sanitizes ops and resources (#4399)Bartek Iwańczuk
This PR brings assertOps and assertResources sanitizers to Deno.test() API. assertOps checks that test doesn't leak async ops, ie. there are no unresolved promises originating from Deno APIs. Enabled by default, can be disabled using Deno.TestDefinition.disableOpSanitizer. assertResources checks that test doesn't leak resources, ie. all resources used in test are closed. For example; if a file is opened during a test case it must be explicitly closed before test case finishes. It's most useful for asynchronous generators. Enabled by default, can be disabled using Deno.TestDefinition.disableResourceSanitizer. We've used those sanitizers in internal runtime tests and it proved very useful in surfacing incorrect tests which resulted in interference between the tests. All tests have been sanitized. Closes #4208
2020-03-18Fix unit test runner ConnectionReset bug (#4424)Bert Belder
Fixes: #4373
2020-03-18Provide compiled JSON to TypeScript compiler. (#4404)Kitson Kelly
Fixes #4101 Previously, we would just provide the raw JSON to the TypeScript compiler worker, but TypeScript does not transform JSON. This caused a problem when emitting a bundle, that the JSON would just be "inlined" into the output, instead of being transformed into a module. This fixes this problem by providing the compiled JSON to the TypeScript compiler, so TypeScript just sees JSON as a "normal" TypeScript module.
2020-03-18ci: Use github action's cache in addition to sccache (#4417)Ryan Dahl
2020-03-18Fix benchmarks (#4416)Ryan Dahl
2020-03-17Update manual (#4412)Ryan Dahl
2020-03-17Use V8 binary build in Github Actions (#4412)Bert Belder
2020-03-17Set environment variables correctly in Github Actions (#4412)Bert Belder
2020-03-17Upgrade rust crates (#4412)Bert Belder
2020-03-17try to handle ConnectionReset error in windows CI for unit tests (#4407)Bartek Iwańczuk
2020-03-17std: Provide types for React and ReactDOM (#4376)Kitson Kelly
Introduces `std/types` which is designed to provide types for common libraries that are compatible with Deno.
2020-03-17feat: fetch should accept a FormData body (#4363)crowlKats
2020-03-16Add mode option to open/create (#4289)dubiousjim
2020-03-16refactor: remove an unsafe and some boxing (#4398)Gurwinder Singh
2020-03-16try to fix unit test runner on Windows (#4395)Bartek Iwańczuk
This PR attempts to fix intermittent errors occurring on Windows for "cli/tests/unit_test_runner.ts." Runner has been reworked to create only single TCP listener instead of one listener per worker. Additionally worker doesn't close TCP socket - it waits for parent process to close the socket and only then exits.
2020-03-16fix: fetch closes unused body (#4393)Bartek Iwańczuk
This commit makes sure that "httpBody" resource is closed in case of redirections in fetch API.
2020-03-16console: Symbol.toStringTag and display Object symbol entries (#4388)Kevin (Kun) "Kassimo" Qian
2020-03-16test: Fix broken test and remove redundant test file (#4390)Chris Knight
2020-03-16refactor: add no-return-await lint rule (#4384)Bartek Iwańczuk