Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-08-21 | Organize dispatch a bit (#2796) | Ryan Dahl | |
Just some clean up reorganization around flatbuffer/minimal dispatch code. This is prep for adding a JSON dispatcher. | |||
2019-08-13 | Dynamic import should respect permissions (#2764) | Ryan Dahl | |
2019-08-11 | feat: print cache location when no arg in deno info (#2752) | Bartek Iwańczuk | |
2019-08-09 | Fix dynamic import base path problem for REPL and eval (#2757) | Kevin (Kun) "Kassimo" Qian | |
2019-08-09 | Dynamic import (#2516) | Bert Belder | |
2019-08-08 | Resolve worker specifiers relative to main module of host. (#2751) | andy finch | |
2019-08-06 | Make Deno.execPath a function (#2743) | Kevin (Kun) "Kassimo" Qian | |
And throws without allow-env | |||
2019-08-06 | Implement Blob url support for worker (#2729) | Kevin (Kun) "Kassimo" Qian | |
2019-08-05 | Provide option to delete Deno namespace in worker (#2717) | Kevin (Kun) "Kassimo" Qian | |
2019-07-31 | refactor: cleanup compiler pipeline (#2686) | 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 | |||
2019-07-31 | Add --current-thread flag (#2702) | Bartek Iwańczuk | |
2019-07-30 | feat: add debug info to ModuleResolutionError (#2697) | Bartek Iwańczuk | |
2019-07-29 | Remap stack traces of unthrown errors. (#2693) | Kitson Kelly | |
2019-07-27 | make importmap flag global (#2687) | Bartek Iwańczuk | |
2019-07-27 | cli: handle deno -v and deno --version (#2684) | Bartek Iwańczuk | |
2019-07-20 | fix: bring back --no-fetch flag (#2671) | Bartek Iwańczuk | |
2019-07-18 | Remove hacky normalize_path (#2660) | Ryan Dahl | |
2019-07-17 | Refactor DenoDir (#2636) | 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 | |||
2019-07-16 | Support window.onload (#2643) | Yoshiya Hinosawa | |
2019-07-08 | cli: refactor deno_dir to use Url instead of String | Bartek Iwańczuk | |
2019-07-08 | core: clearly define when module lookup is path-based vs URL-based | 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. | |||
2019-06-30 | core: return useful error when import path has no prefix like ./ | Bert Belder | |
2019-06-27 | Fix multiple error messages for a missing file (#2587) | Gurwinder Singh | |
2019-06-24 | refactor: use Path/PathBuf in deno dir (#2559) | Bartek Iwańczuk | |
2019-06-20 | Fix silent failure of WebAssembly.instantiate() (#2548) | Ryan Dahl | |
By making WASM compilation synchronous. We'll have to do more work to make it properly async. | |||
2019-06-19 | Combine CLI Errors (#2487) | Kitson Kelly | |
2019-06-18 | fix: use Loader::resolve in op_fetch_module_meta_data (#2519) | Bartek Iwańczuk | |
2019-06-11 | Add --seed for setting RNG seed (#2483) | Matt Harrison | |
2019-06-09 | feat: Import maps (#2360) | Bartek Iwańczuk | |
2019-06-04 | Handle compiler diagnostics in Rust (#2445) | Kitson Kelly | |
2019-06-03 | Compiler exit before emit if preEmitDiagnostics found (#2441) | Ryan Dahl | |
2019-05-29 | TS compiler refactor | 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. | |||
2019-05-23 | Rename --allow-high-precision to --allow-hrtime (#2398) | Ryan Dahl | |
2019-05-14 | Rename HTTP benchmarks (#2350) | Ryan Dahl | |
2019-05-11 | Add progress bar (#2309) | Ryan Dahl | |
2019-05-03 | fix: deno version panic (#2286) | Bartek Iwańczuk | |
2019-05-03 | add "deno run" subcommand (#2215) | Bartek Iwańczuk | |
2019-05-03 | feat(cli cmd): deno xeval (#2260) | Kevin (Kun) "Kassimo" Qian | |
2019-05-03 | feat: support .mjs extension resolution (#2283) | Kevin (Kun) "Kassimo" Qian | |
Removed `extmap` and added .mjs entry in `map_file_extension`. The assert in the compiler does not need to be updated, since it is resolving from the compiled cache instead of elsewhere (notice the .map is asserted next to it) | |||
2019-05-03 | Fix: deno --v8-options does not print v8 options (#2277) | Bartek Iwańczuk | |
2019-04-29 | Add support for custom tsconfig.json (#2089) | Kitson Kelly | |
Use `--config` | |||
2019-04-21 | Fix eslint warnings (#2151) | Ryan Dahl | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: LE GOFF Vincent <g_n_s@hotmail.fr> | |||
2019-04-21 | Refactor CLI entry point (#2157) | Bartek Iwańczuk | |
Changes "deno --types" to "deno types" and "deno --prefetch" to "deno prefetch" | |||
2019-04-17 | Fix flaky tests (#2139) | Ryan Dahl | |
2019-04-16 | Implement async module loading in CLI (#2084) | Ryan Dahl | |
2019-04-13 | Add deno eval subcommand (#2102) | Bartek Iwańczuk | |
2019-04-08 | Allow high precision performance.now() (#1977) | Vincent LE GOFF | |
2019-04-07 | Refactor CLI flag parsing (#2025) | Bartek Iwańczuk | |
2019-04-05 | Add worker benchmarks (#2059) | andy finch | |
2019-04-04 | Non-fatal compile_sync failures (#2039) | andy finch | |
And model worker resources as Stream |