summaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
2019-08-24port more ops to JSON (#2809)Bartek Iwańczuk
2019-08-24port ops to JSON: compiler, errors, fetch, files (#2804)Bartek Iwańczuk
2019-08-24Port rest of os ops to JSON (#2802)Ryan Dahl
2019-08-22introduce JSON serialization for ops (#2799)Ryan Dahl
Converts env(), exit(), execPath(), utime() and utimeSync() to use JSON instead of flatbuffers.
2019-08-22build: enable 'derive' feature of 'serde' crateBert Belder
2019-08-22v0.16.0Ryan Dahl
2019-08-22third_party: upgrade rust cratesBert Belder
2019-08-22Support .d.ts files (#2746)Kitson Kelly
Fixes #1432
2019-08-21Organize dispatch a bit (#2796)Ryan Dahl
Just some clean up reorganization around flatbuffer/minimal dispatch code. This is prep for adding a JSON dispatcher.
2019-08-21bump test runner revision (#2800)Bartek Iwańczuk
2019-08-17fix: handle tsconfig.json with comments (#2773)Bartek Iwańczuk
2019-08-16Upgrade to rust 1.37.0 (#2786)Ryan Dahl
2019-08-16chore: bump test runner version (#2784)Bartek Iwańczuk
2019-08-16Revert "Remove dead code: legacy read/write ops"Ryan Dahl
This is causing a segfault for unknown reasons - see #2787. This reverts commit 498f6ad431478f655b136782093e19e29248b24d.
2019-08-15Fix import map panics, use import map's location as its base URL (#2770)Nayeem Rahman
2019-08-15add deno test subcommand (#2783)Bartek Iwańczuk
2019-08-14Remove dead code: legacy read/write ops (#2776)Ryan Dahl
readSync and writeSync use dispatch_minimal now.
2019-08-14split up ops.rs (#2753)Bartek Iwańczuk
Note cli/dispatch_minimal.rs ops are not yet included in cli/ops. This is part of work towards #2730
2019-08-13v0.15.0Ryan Dahl
2019-08-13Dynamic import should respect permissions (#2764)Ryan Dahl
2019-08-13Fix permission requirements for Deno.rename() and Deno.link() (#2737)Nayeem Rahman
2019-08-13Propagate Url::to_file_path() errors instead of panicking (#2771)Bert Belder
* Propagate Url::to_file_path() errors instead of panicking
2019-08-11feat: print cache location when no arg in deno info (#2752)Bartek Iwańczuk
2019-08-12fix: cache paths on Windows are broken (#2760)Bartek Iwańczuk
2019-08-09Fix dynamic import base path problem for REPL and eval (#2757)Kevin (Kun) "Kassimo" Qian
2019-08-09v0.14.0Bert Belder
2019-08-09Dynamic import (#2516)Bert Belder
2019-08-08Resolve worker specifiers relative to main module of host. (#2751)andy finch
2019-08-08Fix repl crash when deno dir doesn't exist (#2727)Daniel Buckmaster
2019-08-07Add op_id throughout op API (#2734)Ryan Dahl
Removes the magic number hack to switch between flatbuffers and the minimal dispatcher. Adds machinery to pass the op_id through the shared_queue.
2019-08-06Make Deno.execPath a function (#2743)Kevin (Kun) "Kassimo" Qian
And throws without allow-env
2019-08-06Implement Blob url support for worker (#2729)Kevin (Kun) "Kassimo" Qian
2019-08-06Enforce permissions on kill(), homeDir() and execPath (#2723)Nayeem Rahman
2019-08-05Remove Deno.build.args feature (#2728)Ryan Dahl
This is a minor feature which complicates the build signifigantly. Removing to ease refactoring the build system: https://github.com/denoland/deno/issues/2608
2019-08-05Provide option to delete Deno namespace in worker (#2717)Kevin (Kun) "Kassimo" Qian
2019-08-04use BTreeMap for ResourceTable (#2721)Bartek Iwańczuk
2019-08-03Enforce env permission on homeDir() and execPath (#2714)Kevin (Kun) "Kassimo" Qian
2019-08-02third_party: upgrade rust cratesBert Belder
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-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