1. 15 11月, 2019 1 次提交
  2. 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
  3. 19 10月, 2019 1 次提交
  4. 05 10月, 2019 1 次提交
  5. 02 10月, 2019 2 次提交
  6. 28 9月, 2019 1 次提交
  7. 07 9月, 2019 1 次提交
  8. 04 9月, 2019 1 次提交
  9. 03 9月, 2019 1 次提交
    • R
      Refactor snapshot build (#2825) · d43b43ca
      Ryan Dahl 提交于
      Instead of using core/snapshot_creator.rs, instead two crates are
      introduced which allow building the snapshot during build.rs.
      
      Rollup is removed and replaced with our own bundler. This removes
      the Node build dependency. Modules in //js now use Deno-style imports
      with file extensions, rather than Node style extensionless imports.
      
      This improves incremental build time when changes are made to //js files
      by about 40 seconds.
      d43b43ca
  10. 26 8月, 2019 1 次提交
  11. 25 8月, 2019 1 次提交
    • R
      Revert json ops (#2814) · 2235dd79
      Ryan Dahl 提交于
      * Revert "port more ops to JSON (#2809)"
      
      This reverts commit 137f3373.
      
      * Revert "port ops to JSON: compiler, errors, fetch, files (#2804)"
      
      This reverts commit 79f82cf1.
      
      * Revert "Port rest of os ops to JSON (#2802)"
      
      This reverts commit 5b2baa5c.
      2235dd79
  12. 24 8月, 2019 1 次提交
  13. 23 8月, 2019 1 次提交
  14. 22 8月, 2019 1 次提交
    • R
      Organize dispatch a bit (#2796) · bdc97b39
      Ryan Dahl 提交于
      Just some clean up reorganization around flatbuffer/minimal dispatch
      code. This is prep for adding a JSON dispatcher.
      bdc97b39
  15. 07 8月, 2019 2 次提交
  16. 06 8月, 2019 1 次提交
  17. 05 8月, 2019 1 次提交
  18. 26 6月, 2019 1 次提交
  19. 29 5月, 2019 1 次提交
    • 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
  20. 22 4月, 2019 1 次提交
  21. 20 4月, 2019 1 次提交
  22. 08 4月, 2019 1 次提交
  23. 31 3月, 2019 1 次提交
    • R
      Move //libdeno to //core/libdeno (#2015) · c9614d86
      Ryan Dahl 提交于
      Fixes some sed errors introduced in c43cfe.
      
      Unfortunately moving libdeno required splitting build.rs into two parts,
      one for cli and one for core.
      
      I've also removed the arm64 build - it's complicating things at this
      re-org and we're not even testing it. I need to swing back to it and get
      tools/test.py running for it.
      c9614d86
  24. 26 3月, 2019 1 次提交
  25. 19 3月, 2019 1 次提交
    • R
      Integrate //core into existing code base · 44773c9b
      Ryan Dahl 提交于
      This disables a few tests which are broken still:
      - tests/error_004_missing_module.test
      - tests/error_005_missing_dynamic_import.test
      - tests/error_006_import_ext_failure.test
      - repl_test test_set_timeout
      - repl_test test_async_op
      - repl_test test_set_timeout_interlaced
      - all of permission_prompt_test
      44773c9b
  26. 10 3月, 2019 1 次提交
  27. 18 2月, 2019 1 次提交
  28. 16 2月, 2019 1 次提交
  29. 13 2月, 2019 1 次提交
  30. 12 2月, 2019 1 次提交
    • K
      Add Deno global namespace (#1748) · a21a5ad2
      Kitson Kelly 提交于
      Resolves #1705
      
      This PR adds the Deno APIs as a global namespace named `Deno`. For backwards
      compatibility, the ability to `import * from "deno"` is preserved. I have tried
      to convert every test and internal code the references the module to use the
      namespace instead, but because I didn't break compatibility I am not sure.
      
      On the REPL, `deno` no longer exists, replaced only with `Deno` to align with
      the regular runtime.
      
      The runtime type library includes both the namespace and module. This means it
      duplicates the whole type information. When we remove the functionality from the
      runtime, it will be a one line change to the library generator to remove the
      module definition from the type library.
      
      I marked a `TODO` in a couple places where to remove the `"deno"` module, but
      there are additional places I know I didn't mark.
      a21a5ad2
  31. 11 2月, 2019 1 次提交
  32. 09 2月, 2019 1 次提交
  33. 03 2月, 2019 2 次提交
  34. 29 1月, 2019 1 次提交
  35. 24 1月, 2019 1 次提交
  36. 22 1月, 2019 1 次提交
  37. 07 1月, 2019 1 次提交