summaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
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
2019-06-14Revert "Refactor dispatch handling (#2452)"Ryan Dahl
Due to performance regression: https://github.com/denoland/deno/commit/dc60fe9f300043f191286ef804a365e16e455f87#commitcomment-33943711 This reverts commit dc60fe9f300043f191286ef804a365e16e455f87.
2019-06-14feat: add deno install command (#2522)Bartek Iwańczuk
2019-06-13Refactor dispatch handling (#2452)andy finch
Promise id is now created in core and passed back to JS.
2019-06-12Move ModuleSpecifier to //core (#2509)Bartek Iwańczuk
2019-06-12Refactor module resolving (#2493)Bartek Iwańczuk
Adds ModuleSpecifier, which wraps a URL. This is now passed around instead of specifier and resolver strings.
2019-06-12Remove Config struct from core (#2502)Ryan Dahl
It's unnecessary indirection and is preventing the ability to easily pass isolate references into the dispatch and dyn_import closures. Note: this changes how StartupData::Script is executed. It's no longer done during Isolate::new() but rather lazily on first poll or execution.
2019-06-11Removed unused method and update docs (#2499)Gurwinder S
2019-06-11feat: default output filename for deno bundle (#2484)Ryan Dahl
And improve bundle docs
2019-06-11Move Modules to ThreadSafeState (#2498)Ryan Dahl
2019-06-11Add --seed for setting RNG seed (#2483)Matt Harrison
2019-06-10Upgrade V8 to 7.7.37 (#2492)Ryan Dahl
2019-06-10typo (#2489)Neil Richter
2019-06-09feat: Import maps (#2360)Bartek Iwańczuk
2019-06-08v0.8.0Ryan Dahl
2019-06-08Add 'bundle' subcommand. (#2467)Kitson Kelly