summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2019-05-27rename strings/strings.ts to strings/mod.ts (denoland/deno_std#449)Axetroy
Original: https://github.com/denoland/deno_std/commit/2f003fa35cb354b1b1cc43af196a0d356b334ed3
2019-05-25add module and line no for Rust logger (#2409)Bartek Iwańczuk
2019-05-25http: add ParseHTTPVersion (denoland/deno_std#452)Vincent LE GOFF
Original: https://github.com/denoland/deno_std/commit/438178541e4d713c441daec7c783c745244d4d14
2019-05-25Prettier: support for specified files and glob mode (denoland/deno_std#438)Axetroy
Original: https://github.com/denoland/deno_std/commit/1083db10ed64647db70e23aff8cebc1022582f00
2019-05-24Add brew install deno to manual (#2407)Andy Hayden
2019-05-24Add encoding/csv (denoland/deno_std#432)Vincent LE GOFF
Original: https://github.com/denoland/deno_std/commit/c8a7dcdcd0987d74858b23bab83af480f35c26a8
2019-05-24rename bytes/bytes.ts to bytes/mod.tsaxetroy
Original: https://github.com/denoland/deno_std/commit/015cf3e02d5809bf5ba473201183a26e08837c56
2019-05-24remove function prefix of bytes moduleaxetroy
Original: https://github.com/denoland/deno_std/commit/a4579426783f36cd5e46c4ebfb75ef702b2a15ba
2019-05-24Enable bytes tests and add bytesRepeat (denoland/deno_std#446)Axetroy
Original: https://github.com/denoland/deno_std/commit/bd46d60ded3197d93a52ede92eba7302df9b4713
2019-05-24typo (#2366)ztplz
2019-05-24Remove prefix $ and > from manual (#2404)Steven
2019-05-23re-fix permissions for dial and listen (#2400)Bartek Iwańczuk
Closes #2397
2019-05-23Improve CLI help (#2388)Ryan Dahl
2019-05-23TOML: Move to encoding dir (denoland/deno_std#435)Vincent LE GOFF
Original: https://github.com/denoland/deno_std/commit/7a722ceffc0b60305863c1417ef22b835db0d58d
2019-05-23Fix concurrent accepts (#2403)Ryan Dahl
2019-05-23Rename --allow-high-precision to --allow-hrtime (#2398)Ryan Dahl
2019-05-23Fix http README examples (denoland/deno_std#440)Stoyan Dimkov
Some cosmetic fixes to the provided examples in the http README: - Ensure they're all actually runnable - Use clear variable names - Add usage of Cookie interface Original: https://github.com/denoland/deno_std/commit/b9b25b8b17f8ca952392315f6b4f0dcfa5c5a00a