1. 07 6月, 2019 1 次提交
  2. 06 6月, 2019 2 次提交
  3. 05 6月, 2019 1 次提交
  4. 04 6月, 2019 3 次提交
    • K
      Handle compiler diagnostics in Rust (#2445) · a71305b4
      Kitson Kelly 提交于
      a71305b4
    • R
      60d45226
    • B
      Refactor test infrastructure (#2432) · 43c6c1a9
      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
      43c6c1a9
  5. 03 6月, 2019 1 次提交
  6. 01 6月, 2019 3 次提交
  7. 31 5月, 2019 4 次提交
  8. 30 5月, 2019 2 次提交
  9. 29 5月, 2019 3 次提交
    • R
      TS compiler refactor · 856c4421
      Ryan 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.
      856c4421
    • R
      Change tools/fmt_test.py to always download prettier · 64d2b7bc
      Ryan 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.
      64d2b7bc
    • R
      Correct tokio_util::block_on() and op_fetch_module_meta_data · 53b6356e
      Ryan 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.
      53b6356e
  10. 28 5月, 2019 1 次提交
  11. 27 5月, 2019 2 次提交
  12. 26 5月, 2019 1 次提交
  13. 25 5月, 2019 1 次提交
  14. 24 5月, 2019 6 次提交
  15. 23 5月, 2019 2 次提交
  16. 22 5月, 2019 1 次提交
  17. 21 5月, 2019 4 次提交
  18. 18 5月, 2019 2 次提交