summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2019-07-08cli: generate default file name for bundle when URL ends in a slashBert Belder
2019-07-08core: replace ModuleSpecifier::to_url() by as_url()Bert Belder
2019-07-08cli: refactor deno_dir to use Url instead of StringBartek Iwańczuk
2019-07-08core: clearly define when module lookup is path-based vs URL-basedBert 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-07-07v0.11.0Ryan Dahl
2019-07-06io: change Reader interface (#2591)Yoshiya Hinosawa
Instead of returning { nread: number, eof: bool }, read() returns EOF | number.
2019-07-05Fix links (#2614)Ryan Dahl
2019-06-30core: return useful error when import path has no prefix like ./Bert Belder
2019-06-30fix: normalize Deno.execPath (#2598)Bartek Iwańczuk
2019-06-30ts_library_builder: update README (#2604)Yoshiya Hinosawa
2019-06-29fix: test output for completions (#2597)Bartek Iwańczuk
2019-06-29feat: parse flags after script name (#2596)Bartek Iwańczuk
2019-06-29manual: adjust windows build instructions (#2601)Ryan Dahl
2019-06-28docs(style_guide): fix typoFixes a small syntax error (#2567)matzkoh
2019-06-28update rust version for ci (#2599)andy finch
2019-06-27rename shellsession to shell (#2583)迷渡
2019-06-27Fix multiple error messages for a missing file (#2587)Gurwinder Singh
2019-06-26fix: run blocking function on a different task (#2570)Jimmy Cao
This avoids freezing the current task if the fn blocks indefinitely
2019-06-26feat: deno completions command (#2577)Bartek Iwańczuk
2019-06-25Add homeDir to Deno namespace (#2578)Evgeniy Karagodin
2019-06-25v0.10.0Ryan Dahl
2019-06-25Port code from Cargo and use for progressRyan Dahl
A lot of its functionality is unused still, but the goal it to slowly migrate logging functionality to it. There is also a useful progress bar which can be ported over later - it depends on this module. https://github.com/rust-lang/cargo/blob/4c1fa54d10f58d69ac9ff55be68e1b1c25ecb816/src/cargo/util/progress.rs
2019-06-25third_party: add rust crate 'termcolor'Bert Belder
2019-06-25simplify check_net testRyan Dahl
2019-06-24Upgrade deno_std (#2565)Ryan Dahl
2019-06-24refactor: use Path/PathBuf in deno dir (#2559)Bartek Iwańczuk
2019-06-24fix: prevent multiple downloads of modules (#2477)Bartek Iwańczuk
2019-06-24feat: fetch() now handles redirects (#2561)Long(Tony) Lian
2019-06-23Update manual.md (#2571)JaePil Jung
2019-06-23Minor tweaks (#2569)Gurwinder Singh
1. Separate Snapshot and Script StartupData functions based on cfg "no-snapshot-init" 2. Replace deprecated Once::ONCE_INIT with Once::new (https://github.com/rust-lang/rust/pull/61757) 3. Elide lifetime 4. Fix typos