summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-06-08v0.8.0Ryan Dahl
2019-06-08Add 'bundle' subcommand. (#2467)Kitson Kelly
2019-06-08Remove tokio_util::block_on dep in compile_async and other cleanupgurv-s
2019-06-08Make print_file_info asyncgurv-s
2019-06-08make op_create_worker async internallygurv-s
2019-06-08Use static dispatchgurv-s
2019-06-08make tests quieter (#2468)Andy Hayden
Don't mix every http request in with the tests output. Don't print that the file servers are starting unless -vv flag is passed. Capture the output of run with run_output which returns stdout, stderr and exit_code. Test against this rather than relying on sys.exit.
2019-06-07http benchmarks with unique ports (#2471)Kurt Mackey
2019-06-06add tcp proxy benchmarks + split out website section for proxy req/s (#2464)Kurt Mackey
2019-06-06Deno.core.evalContext & Deno.core.print fix (#2465)Michał Sabiniarz
2019-06-06Cleanup compiler API (#2466)Kitson Kelly
2019-06-06libdeno: expose dynamic import (#2461)Ryan Dahl
2019-06-06use unknown instead of any (denoland/deno_std#486)Xin Du (Clark)
Original: https://github.com/denoland/deno_std/commit/c64734cbd980dad79ebc04015a16de0b9f654325
2019-06-06add http proxy benchmark (#2462)Kurt Mackey
2019-06-06Remove console.error from asserts. (denoland/deno_std#483)Kitson Kelly
Original: https://github.com/denoland/deno_std/commit/2292fbe6b1935588e19bc2736b364e82b7c5d38e
2019-06-05RecursiveLoad shouldn't own the Isolate (#2453)Ryan Dahl
This patch makes it so that RecursiveLoad doesn't own the Isolate, so Worker::execute_mod_async does not consume itself. Previously Worker implemented Loader, but now ThreadSafeState does. This is necessary preparation work for dynamic import (#1789) and import maps (#1921)
2019-06-05datetime: use assertThrows in test (denoland/deno_std#473)Xin Du (Clark)
Original: https://github.com/denoland/deno_std/commit/3041edb152e9215952c1c69522d3dedb2b345428
2019-06-05feat: bring back deno <script> (#2451)Bartek Iwańczuk
2019-06-05Add special hit cfix #1898 (#2455)Vincent LE GOFF
2019-06-04Handle compiler diagnostics in Rust (#2445)Kitson Kelly
2019-06-03Compiler exit before emit if preEmitDiagnostics found (#2441)Ryan Dahl
2019-06-03Refactor test infrastructure (#2432)Bartek Iwańczuk
* use subclass of unittest.TestCase for all test cases * allow to run single test file (eg. python tools/integration_tests.py) * test filtering (via --pattern/-p CLI flag) * use common CLI parser for all tests: usage: test.py [-h] [--failfast] [--verbose] [--executable EXECUTABLE] [--release] [--pattern PATTERN] [--build-dir BUILD_DIR] optional arguments: -h, --help show this help message and exit --failfast, -f Stop on first failure --verbose, -v Verbose output --executable EXECUTABLE Use external executable of Deno --release Test against release executable --pattern PATTERN, -p PATTERN Run tests that match provided pattern --build-dir BUILD_DIR Deno build directory * respect NO_COLOR variable
2019-06-02Check file changes during test (denoland/deno_std#476)Yoshiya Hinosawa
Original: https://github.com/denoland/deno_std/commit/7daa887b09d4662710ad58e68de1a01a318455bb
2019-06-02Fix typo (#2443)Gurwinder S
2019-06-01Upgrade TypeScript to 3.5.1 (#2437)Kitson Kelly
2019-06-01fmt: add --stdout option (#2439)Yoshiya Hinosawa
2019-05-31chore: make CI config DRY (denoland/deno_std#470)Bartek Iwańczuk
Original: https://github.com/denoland/deno_std/commit/8a9993be1411c3161de215690ba1c7e2ea7823fe
2019-05-31use body when Request instance is passed to fetch (fixes #2433) (#2435)Kurt Mackey
2019-05-31fix typos (denoland/deno_std#469)Xin Du (Clark)
Original: https://github.com/denoland/deno_std/commit/2acaf5adb9d043e81710e4badc7a96da5a752ee3
2019-05-30io: make port BufReader.readByte() return `number | EOF`Bert Belder
Original: https://github.com/denoland/deno_std/commit/679b2030534c01b8938b34066b127119614eb2d5
2019-05-30chore: refactor python tests to use unittest (#2414)Andy Hayden
Move every test to a method on DenoTestCase. test.py is a single TestSuite of every TestCase. Add a Spawn context manager for http_server, this is explicitly used where it's needed. Each python test file can now be run independently without needing to manually run http_server. Add --help and consistent flags using argparse for each python test, including --failfast. Use ColorTextTestRunner so that '... ok' is green.
2019-05-30third_party: upgrade rust cratesBert Belder
2019-05-30tools/setup: don't download sccache if --no-binary-download is passedChristian Moritz
2019-05-30tools/third_party: add DENO_GN_PATH and DENO_NINJA_PATH env varsChristian Moritz
2019-05-30ws: Add sec-websocket-version to handshake header (denoland/deno_std#468)hashrock
Original: https://github.com/denoland/deno_std/commit/40f55da9cff4b9589f07785db55f2eab01c4f09a
2019-05-30encoding: add csv parse (denoland/deno_std#458)Vincent LE GOFF
Original: https://github.com/denoland/deno_std/commit/167f5298983000e9aa9da560e566df6237f03f67
2019-05-30deactivate flaky copy assertion (denoland/deno_std#467)Vincent LE GOFF
Original: https://github.com/denoland/deno_std/commit/9b72d580caba21269bf15b58a241d71c040a0aeb
2019-05-30chore: Implement strict mode (denoland/deno_std#453)Bartek Iwańczuk
Original: https://github.com/denoland/deno_std/commit/be24677d15494e83eea2e99bfc5ccfdde31cb892
2019-05-30bump std/prettier@0.5.0 to std/prettier@0.7.0 (#2425)Axetroy
2019-05-29ci: use deno v0.7.0 (denoland/deno_std#464)Ryan Dahl
Original: https://github.com/denoland/deno_std/commit/e6793e49c43ee0e4165c875928e1ef94489c0dcc
2019-05-29v0.7.0Ryan Dahl
2019-05-29http: add rfc7230 handling (denoland/deno_std#451)Vincent LE GOFF
Original: https://github.com/denoland/deno_std/commit/1db594d5b0fd377ee6c749041b7265101f92eef1
2019-05-29io: refactor BufReader/Writer interfaces to be more idiomatic ↵Bert Belder
(denoland/deno_std#444) Thanks Vincent Le Goff (@zekth) for porting over the CSV reader implementation. Fixes: denoland/deno_std#436 Original: https://github.com/denoland/deno_std/commit/0ee6334b698072b50c6f5ac8d42d34dc4c94b948
2019-05-29TS compiler refactorRyan Dahl
* Compiler no longer has its own Tokio runtime. Compiler handles one message and then exits. * Uses the simpler ts.CompilerHost interface instead of ts.LanguageServiceHost. * avoids recompiling the same module by introducing a hacky but simple `hashset<string>` that stores the module names that have been already compiled. * Removes the CompilerConfig op. * Removes a lot of the mocking stuff in compiler.ts like `this._ts`. It is not useful as we don't even have tests. * Turns off checkJs because it causes fmt_test to die with OOM.
2019-05-29Change tools/fmt_test.py to always download prettierRyan Dahl
This is to ensure a more fair test. Also we were already downloading from the internet since we changed the URL to use std@v0.5.0. This change exposes an OOM bug, which is then fixed in the upcoming compiler refactor by changing checkJs compiler option to false.
2019-05-29Correct tokio_util::block_on() and op_fetch_module_meta_dataRyan Dahl
op_fetch_module_meta_data is an op that is used by the TypeScript compiler. TypeScript requires this op to be sync. However the implementation of the op does things on the event loop (like fetching HTTP resources). In certain situations this can lead to deadlocks. The runtime's thread pool can be filled with ops waiting on the result of op_fetch_module_meta_data. The runtime has a maximum number of threads it can use (the number of logical CPUs on the system). This patch changes tokio_util::block_on to launch a new Tokio runtime for evaluating the future, thus bipassing the max-thread problem. This is only an issue in op_fetch_module_meta_data. Other synchronous ops are truly synchornous, not interacting with the event loop. TODO comments are added to direct future development.
2019-05-27add "run" to file server alias (denoland/deno_std#460)Bardia Rastin
Original: https://github.com/denoland/deno_std/commit/4078e9b24da35764403b930da6b0dac6a950d324
2019-05-27Add 'brew install deno' to homepage (#2412)Ryan Dahl
2019-05-27chore: Port Python tests to unittest (#2408)Bartek Iwańczuk
2019-05-27add EventTarget implementation (#2377)Adam Conrad