summaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
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
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