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-06add http proxy benchmark (#2462)Kurt Mackey
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-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-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-31use body when Request instance is passed to fetch (fixes #2433) (#2435)Kurt Mackey
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-30bump std/prettier@0.5.0 to std/prettier@0.7.0 (#2425)Axetroy
2019-05-29v0.7.0Ryan Dahl
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 '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-25add module and line no for Rust logger (#2409)Bartek Iwańczuk
2019-05-24Add brew install deno to manual (#2407)Andy Hayden
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-23Fix concurrent accepts (#2403)Ryan Dahl
2019-05-23Rename --allow-high-precision to --allow-hrtime (#2398)Ryan Dahl
2019-05-23Fix examples in manual (#2396)champ
2019-05-22Revert "Fix permissions for dial and listen (#2373)"Bert Belder
This reverts commit 7219787894f13b1920b3b6b49203cdcb8f672c00.
2019-05-21Use tagged version of prettier in CLI (#2387)Bartek Iwańczuk
2019-05-21website: update http example (#2367)Ryan Dahl
2019-05-20v0.6.0Ryan Dahl
2019-05-20Adjust core/README.md textRyan Dahl
2019-05-20Upgrade deno_std (#2378)Ryan Dahl