summaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
2019-06-09feat: Import maps (#2360)Bartek Iwańczuk
2019-06-08v0.8.0Ryan Dahl
2019-06-08Add 'bundle' subcommand. (#2467)Kitson Kelly
2019-06-08Remove tokio_util::block_on dep in compile_async and other cleanupgurv-s
2019-06-08Make print_file_info asyncgurv-s
2019-06-08make op_create_worker async internallygurv-s
2019-06-08Use static dispatchgurv-s
2019-06-06Cleanup compiler API (#2466)Kitson Kelly
2019-06-05RecursiveLoad shouldn't own the Isolate (#2453)Ryan Dahl
This patch makes it so that RecursiveLoad doesn't own the Isolate, so Worker::execute_mod_async does not consume itself. Previously Worker implemented Loader, but now ThreadSafeState does. This is necessary preparation work for dynamic import (#1789) and import maps (#1921)
2019-06-05feat: bring back deno <script> (#2451)Bartek Iwańczuk
2019-06-04Handle compiler diagnostics in Rust (#2445)Kitson Kelly
2019-06-02Fix typo (#2443)Gurwinder S
2019-06-01fmt: add --stdout option (#2439)Yoshiya Hinosawa
2019-05-30third_party: upgrade rust cratesBert Belder
2019-05-30bump std/prettier@0.5.0 to std/prettier@0.7.0 (#2425)Axetroy
2019-05-29v0.7.0Ryan Dahl
2019-05-29TS compiler refactorRyan Dahl
* Compiler no longer has its own Tokio runtime. Compiler handles one message and then exits. * Uses the simpler ts.CompilerHost interface instead of ts.LanguageServiceHost. * avoids recompiling the same module by introducing a hacky but simple `hashset<string>` that stores the module names that have been already compiled. * Removes the CompilerConfig op. * Removes a lot of the mocking stuff in compiler.ts like `this._ts`. It is not useful as we don't even have tests. * Turns off checkJs because it causes fmt_test to die with OOM.
2019-05-29Correct tokio_util::block_on() and op_fetch_module_meta_dataRyan Dahl
op_fetch_module_meta_data is an op that is used by the TypeScript compiler. TypeScript requires this op to be sync. However the implementation of the op does things on the event loop (like fetching HTTP resources). In certain situations this can lead to deadlocks. The runtime's thread pool can be filled with ops waiting on the result of op_fetch_module_meta_data. The runtime has a maximum number of threads it can use (the number of logical CPUs on the system). This patch changes tokio_util::block_on to launch a new Tokio runtime for evaluating the future, thus bipassing the max-thread problem. This is only an issue in op_fetch_module_meta_data. Other synchronous ops are truly synchornous, not interacting with the event loop. TODO comments are added to direct future development.
2019-05-27add EventTarget implementation (#2377)Adam Conrad
2019-05-25add module and line no for Rust logger (#2409)Bartek Iwańczuk
2019-05-24typo (#2366)ztplz
2019-05-23re-fix permissions for dial and listen (#2400)Bartek Iwańczuk
Closes #2397
2019-05-23Improve CLI help (#2388)Ryan Dahl
2019-05-23Fix concurrent accepts (#2403)Ryan Dahl
2019-05-23Rename --allow-high-precision to --allow-hrtime (#2398)Ryan Dahl
2019-05-22Revert "Fix permissions for dial and listen (#2373)"Bert Belder
This reverts commit 7219787894f13b1920b3b6b49203cdcb8f672c00.
2019-05-21Use tagged version of prettier in CLI (#2387)Bartek Iwańczuk
2019-05-20v0.6.0Ryan Dahl
2019-05-17Fix permissions for dial and listen (#2373)Bartek Iwańczuk
2019-05-17Add crypto.getRandomValues() (#2327)chiefbiiko
2019-05-17Don't print new line if progress bar was not used (#2374)Bartek Iwańczuk
2019-05-16third_party: add rust crate 'serde_derive'Bert Belder
2019-05-16third_party: upgrade rust cratesBert Belder
2019-05-16build: add support for rust proc-macro cratesBert Belder
2019-05-16tools: format .gn files in the 'cli' directoryBert Belder
2019-05-16Add permission whitelist docs (#2365)Daiki Ihara
2019-05-16fmt: use --write option of prettier/main.ts (#2363)Yoshiya Hinosawa
This is step 1 of the plan outlined here: https://github.com/denoland/deno/issues/2090#issuecomment-492897028
2019-05-15Remove FileInfo.pathRyan Dahl
2019-05-15Add error handling to dispatch_minimal::ops::read/write (#2349)diskkid
2019-05-14Fix command in docs (#2353)Ryan Dahl
2019-05-11v0.5.0Ryan Dahl
2019-05-11Add progress bar (#2309)Ryan Dahl
2019-05-11third_party: upgrade rust cratesBert Belder
2019-05-09core: Privatize ModuleNameMap SymbolicModule deno_buf (#2324)Bartek Iwańczuk
2019-05-09fix: support relative path for whitelisting (#2317)Kevin (Kun) "Kassimo" Qian
Using `std::fs::canonicalize` to expand path to full existing path, such that later attempt to loop-pop and compare path segment would work.
2019-05-08First pass at permissions whitelist (#2129)andy finch
2019-05-07Add Deno.chown (#2292)Yingbo (Max) Wang
2019-05-06fix: Add all permissions to deno xeval (#2290)Bartek Iwańczuk
2019-05-03v0.4.0Ryan Dahl
2019-05-03fix: deno version panic (#2286)Bartek Iwańczuk