summaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
2019-04-13fix absolute path resolution from remote (#2109)Yoshiya Hinosawa
2019-04-13Add deno eval subcommand (#2102)Bartek Iwańczuk
2019-04-12better wait for removed_from_resource_table_on_close test (#2104)andy finch
2019-04-11v0.3.7Ryan Dahl
2019-04-11Improve op dispatch (#2088)andy finch
2019-04-11fix --v8-options (#2093)Bartek Iwańczuk
2019-04-09Silence clippy warnings and format source codeBert Belder
2019-04-09Use correct type for `source_bytes` when buiding in check-only modeBert Belder
2019-04-09core: Rename Behavior to Dispatch (#2082)Ryan Dahl
And rename IsolateState to ThreadSafeState. Also make ThreadSafeState directly implement Dispatch. This is simpler.
2019-04-08Merge Worker and Isolate types (#2078)Ryan Dahl
Reduces generics.
2019-04-08Allow high precision performance.now() (#1977)Vincent LE GOFF
2019-04-08core: snapshot improvements (#2052)Ryan Dahl
* Moves how snapshots are supplied to the Isolate. Previously they were given by Behavior::startup_data() but it was only called once at startup. It makes more sense (and simplifies Behavior) to pass it to the constructor of Isolate. * Adds new libdeno type deno_snapshot instead of overloading deno_buf. * Adds new libdeno method to delete snapshot deno_snapshot_delete(). * Renames deno_get_snapshot() to deno_snapshot_new(). * Makes StartupData hold references to snapshots. This was implicit when it previously held a deno_buf but is made explicit now. Note that include_bytes!() returns a &'static [u8] and we want to avoid copying that.
2019-04-08Add link/linkSync fs call for hardlinks (#2074)Kevin (Kun) "Kassimo" Qian
2019-04-07Flags clean up: DenoFlags::from (#2068)Bartek Iwańczuk
2019-04-07Refactor CLI flag parsing (#2025)Bartek Iwańczuk
2019-04-05add compile_async (#2053)andy finch
2019-04-04v0.3.6Ryan Dahl
2019-04-04Non-fatal compile_sync failures (#2039)andy finch
And model worker resources as Stream
2019-04-02cli: refactor compile_sync() for readabilityBert Belder
2019-04-02Clippy fixesBert Belder
2019-04-01Follow redirect location as new referrers for nested module imports (#2031)Kevin (Kun) "Kassimo" Qian
Fixes #1742 Fixes #2021
2019-04-01Add web worker JS API (#1993)andy finch
* Refactored the way worker polling is scheduled and errors are handled. * Share the worker future as a Shared
2019-03-31third_party: add rust crate 'clap'Bert Belder
2019-03-30Rename crate deno_core to deno (#2022)Ryan Dahl
2019-03-30Call ninja directly from build.rs (#2020)Ryan Dahl
2019-03-30Move //libdeno to //core/libdeno (#2015)Ryan Dahl
Fixes some sed errors introduced in c43cfe. Unfortunately moving libdeno required splitting build.rs into two parts, one for cli and one for core. I've also removed the arm64 build - it's complicating things at this re-org and we're not even testing it. I need to swing back to it and get tools/test.py running for it.
2019-03-28Merge the --recompile and --reload flags (#2003)Ryan Dahl
2019-03-28Clippy fixes (#2009)Bert Belder
2019-03-27Rewrite readFile and writeFile (#2000)Bartek Iwańczuk
Using open/read/write
2019-03-27Fix error when JS is executed with --recompile (#2007)Ryan Dahl
test case from @afinch7
2019-03-26Do not close file on invalid seek mode (#2004)Kevin (Kun) "Kassimo" Qian
2019-03-26namespace reorg: libdeno and DenoCore to Deno.core (#1998)Kitson Kelly
2019-03-25Resolve callback moved from Behavior to mod_instantiate() (#1999)Ryan Dahl
This simplifies the Behavior trait and makes it more explicit where the resolve callback is being made. Also s/StartupScript/Script
2019-03-21Remove dead code (#1983)andy finch
2019-03-20Fix clippy errors and upgrade Rust to 1.33.0 in CI (#1945)Ryan Dahl
2019-03-20Add more async module loading function (#1974)Ryan Dahl
* get_source_code_async * fetch_module_meta_data_async * fetch_module_meta_data_and_maybe_compile_async
2019-03-19Separate behavior for the compiler isolate (#1973)andy finch
2019-03-19Remove old Buf definition in cli.rs (#1971)andy finch
2019-03-19Add fetch_remote_source_async (#1972)Ryan Dahl
2019-03-19Move fetch_remote_source, fetch_local_sourceRyan Dahl
They do not depend on DenoDir, so should not be methods of it.
2019-03-19Add async version of http_util::fetch_sync_stringRyan Dahl
2019-03-19Rename //src/ to //cli/ (#1962)Ryan Dahl
To better distinguish the deno_core crate from the executable deno, which will now be called "the cli" internally.