1. 04 1月, 2020 1 次提交
  2. 03 1月, 2020 1 次提交
  3. 01 1月, 2020 1 次提交
    • G
      cleanup after tokio upgrade (#3571) · 55add2d3
      Gurwinder Singh 提交于
      tokio_util::run and tokio::run_on_current_thread should accept Future<Output=()> instead of Future<Output=Result<(), ()>>. Currently, all the passed futures have to add Ok(()) or futures::future::ok(()) unnecessarily to call this method.
      55add2d3
  4. 23 12月, 2019 1 次提交
  5. 24 11月, 2019 1 次提交
  6. 23 11月, 2019 2 次提交
    • B
      remove tokio_util::block_on (#3388) · c6bb3d5a
      Bartek Iwańczuk 提交于
      This PR removes tokio_util::block_on - refactored compiler and file 
      fetcher slightly so that we can safely block there - that's because 
      only blocking path consist of only synchronous operations.
      
      Additionally I removed excessive use of tokio_util::panic_on_error 
      and tokio_util::run_in_task and moved both functions to cli/worker.rs, 
      to tests module.
      
      Closes #2960
      c6bb3d5a
    • B
      minor clean ups in TS compiler (#3394) · 363b968b
      Bartek Iwańczuk 提交于
      363b968b
  7. 20 11月, 2019 1 次提交
  8. 17 11月, 2019 2 次提交
    • B
      refactor: fixes for futures (#3363) · f356b2bd
      Bartek Iwańczuk 提交于
      After landing #3358 the benchmarks exploded indicating problems with workers and deno_core_http_bench.
      
      This PR dramatically fixes thread/syscall count that showed up on benchmarks. Thread count is not back to previous levels but difference went from hundreds/thousands to about ~50.
      f356b2bd
    • B
      Use futures 0.3 API (#3358) · 8f9a942c
      Bartek Iwańczuk 提交于
      8f9a942c
  9. 14 11月, 2019 1 次提交
  10. 13 11月, 2019 1 次提交
    • K
      Make bundles fully standalone (#3325) · 8d033972
      Kitson Kelly 提交于
      - Bundles are fully standalone. They now include the shared loader with
        `deno_typescript`.
      - Refactor of the loader in `deno_typescript` to perform module
        instantiation in a more
      - Change of behaviour when an output file is not specified on the CLI.
        Previously a default name was determined and the bundle written to that
        file, now the bundle will be sent to `stdout`.
      - Refactors in the TypeScript compiler to be able to support the concept
        of a request type.  This provides a cleaner abstraction and makes it
        easier to support things like single module transpiles to the userland.
      - Remove a "dangerous" circular dependency between `os.ts` and `deno.ts`,
        and define `pid` and `noColor` in a better way.
      - Don't bind early to `console` in `repl.ts`.
      - Add an integration test for generating a bundle.
      8d033972
  11. 10 11月, 2019 1 次提交
  12. 08 11月, 2019 1 次提交
  13. 04 11月, 2019 1 次提交
    • B
      Refactor Worker and ThreadSafeState (#3242) · 0049d4e5
      Bartek Iwańczuk 提交于
      * Split ThreadSafeState into State and GlobalState. State is a "local"
        state belonging to "Worker" while "GlobalState" is state shared by
        whole program.
      * Update "Worker" and ops to use "GlobalState" where applicable
      * Move and refactor "WorkerChannels" resource
      0049d4e5
  14. 03 11月, 2019 1 次提交
    • R
      feat: lockfiles (#3231) · 86b3ac51
      Ry Dahl 提交于
      Use --lock-write=lock.json or --lock-check=lock.json on the command
      line.
      86b3ac51
  15. 29 10月, 2019 1 次提交
  16. 27 10月, 2019 1 次提交
  17. 07 10月, 2019 1 次提交
  18. 20 9月, 2019 1 次提交
  19. 17 9月, 2019 1 次提交
  20. 05 9月, 2019 1 次提交
  21. 30 8月, 2019 1 次提交
  22. 18 8月, 2019 1 次提交
  23. 17 8月, 2019 1 次提交
  24. 01 8月, 2019 2 次提交
    • R
      Use system rustfmt instead of fixed binary (#2701) · 3971dcfe
      Ryan Dahl 提交于
      3971dcfe
    • B
      refactor: cleanup compiler pipeline (#2686) · 2e1ab823
      Bartek Iwańczuk 提交于
      * remove fetch_source_file_and_maybe_compile_async and 
        replace it with State.fetch_compiled_module
      
      * remove SourceFile.js_source()
      
      * introduce CompiledModule which is basically the same as
        deno::SourceInfo and represents arbitrary file that has been 
        compiled to JS module
      
      * introduce //cli/compilers module containing all compilers
      
      * introduce JsCompiler which is a no-op compiler
        - output is the same as input, no compilation takes place
        - it is used for MediaType::JavaScript and MediaType::Unknown
      
      * introduce JsonCompiler that wraps JSON in default export
      
      * support JS-to-JS compilation using checkJs
      2e1ab823