summaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
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-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-22save headers for all intermediate redirects (#2677)Bartek Iwańczuk
2019-07-20removed unnecessary implementation from SourceFileFetcher (#2670)andy finch
2019-07-20fix: bring back --no-fetch flag (#2671)Bartek Iwańczuk
2019-07-18Remove hacky normalize_path (#2660)Ryan Dahl
2019-07-18REPL shouldn't panic when it gets SIGINT (#2662)Ryan Dahl
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-16v0.12.0Ryan Dahl
2019-07-16Support window.onload (#2643)Yoshiya Hinosawa
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-10fix for '-' arg after script name (#2631)Bartek Iwańczuk
2019-07-09Update deno.land links v0.11 (#2628)Ryan Dahl
2019-07-08Rewrite snapshot_creator in RustBartek Iwańczuk
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-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-29fix: test output for completions (#2597)Bartek Iwańczuk
2019-06-29feat: parse flags after script name (#2596)Bartek Iwańczuk
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-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-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
2019-06-22feat: log permission access (#2518)Bartek Iwańczuk
Replaces -D/--log-debug flag with --log-level=debug --log-level=info displays permission access
2019-06-21feat: redirect process stdio to file (#2554)Bartek Iwańczuk
2019-06-21Fix comment (#2555)Matt Harrison
2019-06-20feat: upgrade installer and add docs (#2551)Bartek Iwańczuk
2019-06-19Combine CLI Errors (#2487)Kitson Kelly
2019-06-18fix: use Loader::resolve in op_fetch_module_meta_data (#2519)Bartek Iwańczuk
2019-06-18Add dyn to be rust nightly compatible (#2538)Kitson Kelly
2019-06-17refactor dispatch take 2 (#2533)andy finch
2019-06-15v0.9.0Ryan Dahl
2019-06-15Upgrade INSTALLER_URL to include fixes (#2532)Ryan Dahl
denoland/deno_std#492
2019-06-15fix deno install (#2529)Bartek Iwańczuk
2019-06-15third_party: upgrade rust cratesBert Belder