summaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
2019-10-06remove more calls to tokio_util::block_on (#3059)Bartek Iwańczuk
towards #2960
2019-10-04Merge deno_cli_snapshots into deno_cli (#3064)Ryan Dahl
2019-10-04Move deno_std to a more convenient location. (#3057)Ryan Dahl
js/deps/https/deno.land/std -> js/std
2019-10-04Use xeval from deno_std (#3058)Nayeem Rahman
2019-10-03Update rust to 1.38.0 (#3030)Andy Hayden
2019-10-03Async compiler processing (#3043)Kitson Kelly
Basically this does pre-processing of TypeScript files and gathers all the dependencies asynchronously. Only then after all the dependencies are gathered, does it do a compile, which at that point all the dependencies are cached in memory in the compiler, so with the exception of the hard coded assets, there are no ops during the compilation. Because op_fetch_source_files is now handled asynchronously in the runtime, we can eliminate the tokio_util::block_on() which was causing the increase in threads. Benchmarking on my machine has shown about a 5% improvement in speed when dealing with compiling TypeScript. Still a long way to go, but an improvement. In theory the module name resolution and the fetching of the source files could be broken out as two different ops. This would prevent situations of sending the full source file all the time when actually the module is the same module referenced by multiple modules, but that could be done subsequently to this.
2019-10-02feat: Add support for passing a key to Deno.env() (#2952)Jed Fox
This adds a new op to get a single env var.
2019-10-02feat: window.onunload (#3023)Bartek Iwańczuk
2019-10-02feat: JSX Support (#3038)Yusuke Sakurai
2019-10-01use Isolate::register_op in deno_cli (#3039)Bartek Iwańczuk
2019-09-30Support top-level-await in TypeScript (#3024)Ryan Dahl
2019-09-30Use 0.0.0.0 for servers in benchmarks and tests (#3010)Ryan Dahl
2019-09-28bump deno_std deps (#3034)Bartek Iwańczuk
2019-09-27Add Deno.hostname() (#3032)Kevin (Kun) "Kassimo" Qian
2019-09-25v0.19.0Ryan Dahl
2019-09-25Handle uncaught worker errors without panicking (#3019)Kitson Kelly
2019-09-24test: add HTTP_PROXY tests (#2977)Bartek Iwańczuk
2019-09-24Upgrade V8 for top-level-await (#3015)Ryan Dahl
2019-09-24fix: run missing integration tests (#2997)Bartek Iwańczuk
2019-09-23feat: Add Deno.dialTLS()Jonathon Orsi
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2019-09-20dial/listen API change (#3000)Ryan Dahl
Previously: dial("tcp", "deno.land:80") Now: dial({ hostname: "deno.land", port: 80, transport: "tcp" }) Similarly with listen().
2019-09-20js: reschedule global timer if it fires earlier than expected (#2989)Bert Belder
When the global timer fires earlier than expected, which apparently happens sometimes on server editions of Windows, we didn't call any setTimeout callbacks, but we *also* didn't reschedule the global timer to fire again later. When this situation occurred it would make deno exit abruptly if there were no other asynchronous ops running on the event loop. It could also lead to application hangs if the upcoming setTimeout callback was critical for the application to make progress.
2019-09-20Fix handling of config file (#2996)Yoshiya Hinosawa
2019-09-19Remove test.py, use cargo test as test frontend (#2967)Ryan Dahl
Fixes #2933
2019-09-19Make `window` compatible with ts 3.6 (#2984)迷渡
2019-09-18Utilise internal names for snapshot bundles (#2973)Kitson Kelly
2019-09-17Update to TypeScript 3.6.3 (#2969)Kitson Kelly
2019-09-16Move integration tests to //cli/tests/ (#2964)Ryan Dahl
This ensures the deno executable is properly created before running the integration tests. Also allows deno_cli to be used as a lib. Docs are now properly generated: https://docs.rs/deno_cli/0.18.4/deno_cli/ Towards #2933 Prep for #2955
2019-09-15Make deno_cli installable via crates.io (#2946)Ryan Dahl
- Fixes cargo publish on deno_typescript, deno_cli_snapshots, and deno_cli. - Combines cli_snapshots and js into one directory. - Extracts TS version at compile time rather than runtime - Bumps version awkwardly - it was necessary to test end-to-end publishing. Sorry. - Adds git submodule deno_typescript/typescript
2019-09-15Rename ansi.rs to colors.rs (#2956)Tomohito Nakayama
2019-09-14feat: parallelize downloads from TS compiler (#2949)Bartek Iwańczuk
2019-09-13v0.18.0Ryan Dahl
2019-09-13Remove old comment about gn build (#2944)Ryan Dahl
2019-09-13Upgrade rust cratesBert Belder
2019-09-13Remove 'integer-atomics' crateBert Belder
2019-09-12Keep all deno_std URLs in sync (#2930)Ryan Dahl
2019-09-12bump prettier revision (#2928)Bartek Iwańczuk
2019-09-11fix: panicking when can't create runtime for block_on (#2905)Bartek Iwańczuk
2019-09-11fix: panic during fetch (#2925)Bartek Iwańczuk
2019-09-11feat: Set user agent for http client (#2916)Bartek Iwańczuk
2019-09-10Don't test resolve_from_cwd_absolute() on Windows (#2911)Nayeem Rahman
2019-09-10feat: Make integration tests rust unit tests (#2884)Bartek Iwańczuk
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2019-09-10fix: replace bad rid panics with errors (#2870)Bartek Iwańczuk
2019-09-09Revert "feat: use trust-dns-resolver in HTTP client"Ryan Dahl
It caused the final executable to grow by 1.5 mb, and is not having any other benefit. This reverts commit 2b40fa065c8982482b268080e2e6c73ec1f64033.
2019-09-07Fix path normalization in resolve_from_cwd() (#2875)Nayeem Rahman
2019-09-07feat: use trust-dns-resolver in HTTP client (#2847)Bartek Iwańczuk
2019-09-06Add default-run (+ clean up old references) (#2876)Nayeem Rahman
2019-09-06Remove tools/build.py (#2865)Ryan Dahl
Testing regression: ASAN build removed.
2019-09-06Remove replacements hack in deno_typescript (#2864)Yoshiya Hinosawa
2019-09-04Run tests after "cargo build" on travis (#2854)Ryan Dahl