1. 30 8月, 2019 1 次提交
  2. 27 8月, 2019 2 次提交
  3. 26 8月, 2019 1 次提交
  4. 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
  5. 24 8月, 2019 1 次提交
  6. 23 8月, 2019 1 次提交
  7. 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
  8. 14 8月, 2019 1 次提交
  9. 12 8月, 2019 1 次提交
  10. 10 8月, 2019 1 次提交
  11. 09 8月, 2019 2 次提交
  12. 07 8月, 2019 1 次提交
  13. 06 8月, 2019 1 次提交
  14. 05 8月, 2019 1 次提交
  15. 01 8月, 2019 1 次提交
    • 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
  16. 31 7月, 2019 1 次提交
  17. 30 7月, 2019 1 次提交
  18. 29 7月, 2019 1 次提交
  19. 27 7月, 2019 2 次提交
  20. 20 7月, 2019 1 次提交
  21. 19 7月, 2019 1 次提交
  22. 18 7月, 2019 1 次提交
    • B
      Refactor DenoDir (#2636) · 8214b686
      Bartek Iwańczuk 提交于
      * rename `ModuleMetaData` to `SourceFile` and remove TS specific
        functionality
      
      * add `TsCompiler` struct encapsulating processing of TypeScript files
      
      * move `SourceMapGetter` trait implementation to `//cli/compiler.rs`
      
      * add low-level `DiskCache` API for general purpose caches and use it in
        `DenoDir` and `TsCompiler` for filesystem access
      
      * don't use hash-like filenames for compiled modules, instead use
        metadata file for storing compilation hash
      
      * add `SourceFileCache` for in-process caching of loaded files for fast
        subsequent access
      
      * define `SourceFileFetcher` trait encapsulating loading of local and
        remote files and implement it for `DenoDir`
      
      * define `use_cache` and `no_fetch` flags on `DenoDir` instead of using
        in fetch methods
      8214b686
  23. 16 7月, 2019 1 次提交
  24. 08 7月, 2019 2 次提交
    • B
      72d90455
    • B
      core: clearly define when module lookup is path-based vs URL-based · 9b1997b8
      Bert Belder 提交于
      The rules are now as follows:
      
      * In `import` statements, as mandated by the WHATWG specification,
        the import specifier is always treated as a URL.
        If it is a relative URL, it must start with either / or ./ or ../
      
      * A script name passed to deno as a command line argument may be either
        an absolute URL or a local path.
        - If the name starts with a valid URI scheme followed by a colon, e.g.
          'http:', 'https:', 'file:', 'foo+bar:', it always interpreted as a
          URL (even if Deno doesn't support the indicated protocol).
        - Otherwise, the script name is interpreted as a local path. The local
          path may be relative, and operating system semantics determine how
          it is resolved. Prefixing a relative path with ./ is not required.
      9b1997b8
  25. 01 7月, 2019 1 次提交
  26. 27 6月, 2019 1 次提交
  27. 25 6月, 2019 1 次提交
  28. 21 6月, 2019 1 次提交
  29. 20 6月, 2019 1 次提交
  30. 18 6月, 2019 1 次提交
  31. 11 6月, 2019 1 次提交
  32. 09 6月, 2019 1 次提交
  33. 04 6月, 2019 2 次提交
  34. 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
  35. 24 5月, 2019 1 次提交