summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-08-02third_party: upgrade rust cratesBert Belder
2019-08-02build: support crate imports using an alias nameBert Belder
A crate can assign an alternative name, different from the crate name, when importing another crate. On the command line this looks like: rustc ... --extern foo_crate=path/to/bar_crate.rlib We need to support this so we can eventually upgrade to rand-0.7.x.
2019-08-01Implement function convertLineEndingsToNative in blob.ts (#2695)Tomohito Nakayama
based on https://w3c.github.io/FileAPI/#convert-line-endings-to-native
2019-07-31Use system rustfmt instead of fixed binary (#2701)Ryan Dahl
2019-07-31v0.13.0Ryan Dahl
2019-07-31refactor: 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-31Add --current-thread flag (#2702)Bartek Iwańczuk
2019-07-31factor out FileFetcher to separate module (#2683)Bartek Iwańczuk
* merge SourceFileFetcher trait and FileFetcher struct * move logic related to source file fetching to //cli/file_fetcher.rs * use Result when creating new ThreadSafeState
2019-07-31Makes shebang Linux compatible (#2694)Nayeem Rahman
2019-07-30feat: add debug info to ModuleResolutionError (#2697)Bartek Iwańczuk
2019-07-29Remap stack traces of unthrown errors. (#2693)Kitson Kelly
2019-07-28benchmarks: make latency benchmark less noisy (#2689)Bartek Iwańczuk
2019-07-28benchmarks: add bundle size (#2690)Bartek Iwańczuk
2019-07-27use animated-deno-logo in denolib (#2691)hashrock
2019-07-27make importmap flag global (#2687)Bartek Iwańczuk
2019-07-27cli: handle deno -v and deno --version (#2684)Bartek Iwańczuk
2019-07-26cli: unify deno -h options (#2682)Bartek Iwańczuk
2019-07-25Typo fix (#2592)Maxim Mazurok
2019-07-23Fix anchor link destination (#2679)Nayeem Rahman
2019-07-24Add error handling for dynamic imports to libdeno (#2678)Bert Belder
2019-07-23feat: expose writeAll() and writeAllSync() (#2298)Kevin (Kun) "Kassimo" Qian
Symmetric with `readAll()` and `readAllSync()`. Also used in `xeval`. Also correct usage in `writeFile()`/`writeFileSync()`.
2019-07-22save headers for all intermediate redirects (#2677)Bartek Iwańczuk
2019-07-21feat(website/benchmark): enable zoom of charts (#2668)Yoshiya Hinosawa
2019-07-20removed unnecessary implementation from SourceFileFetcher (#2670)andy finch
2019-07-20fix: bring back --no-fetch flag (#2671)Bartek Iwańczuk
2019-07-19Improve example on homepage (#2667)Ryan Dahl
2019-07-18only use Locker when calling into js (#2665)andy finch
2019-07-18remove v8::Locker from deno_respond (#2664)andy finch
2019-07-18Fix expected dyn before AnyError trait (#2663)andy finch
2019-07-18Remove hacky normalize_path (#2660)Ryan Dahl
2019-07-18REPL shouldn't panic when it gets SIGINT (#2662)Ryan Dahl
2019-07-18Reorder tools/format.py so slowest are last (#2661)Ryan Dahl
2019-07-18fix timer's params length (#2655)迷渡
2019-07-18Rename powershell highlighting to shell (#2654)迷渡
2019-07-17Refactor 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-17Edits to manual (#2646)Ryan Dahl
2019-07-17Adjust console constructor (#2649)迷渡
https://github.com/denoland/deno/pull/2073#discussion_r303401539
2019-07-16v0.12.0Ryan Dahl
2019-07-16Support window.onload (#2643)Yoshiya Hinosawa
2019-07-15hyper_hello should be in its own crate (#2641)Ryan Dahl
So that "cargo build" will build it when the gn frontend is eventually removed.
2019-07-12Fix REPL when it receives EOF (#2638)Ryan Dahl
2019-07-11Refactor error to use dynamic dispatch and traitsBert Belder
This is in preperation for dynamic import (#1789), which is more easily implemented when errors are dynamic.
2019-07-11Upgrade rust to v1.36.0Bert Belder
2019-07-10fix for '-' arg after script name (#2631)Bartek Iwańczuk
2019-07-09Update deno.land links v0.11 (#2628)Ryan Dahl
2019-07-09Adjust powershell installer commands (#2627)Mark Tiedemann
2019-07-09Upgrade v8 to 7.7.200 (#2624)Ryan Dahl
2019-07-08Rewrite snapshot_creator in RustBartek Iwańczuk
2019-07-08Pass env vars through in build_extra/rust/run.pyBert Belder
This fixes an appveyor issue that arrises when implementing snapshot_creator in Rust.
2019-07-08rustfmt: disable format_macro_bodiesBert Belder
It doesn't work since we're not using rustfmt-nightly.