summaryrefslogtreecommitdiff
path: root/js
AgeCommit message (Collapse)Author
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-03Fix iterators on UrlSearchParams (#3044)Kitson Kelly
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-01Implement ignoreBOM option of UTF8Decoder in text_encoding (#3040)Tomohito Nakayama
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-27Add Deno.hostname() (#3032)Kevin (Kun) "Kassimo" Qian
2019-09-26fix: listenDefaults/dialDefaults may be overriden in some cases (#3027)Yusuke Sakurai
2019-09-25v0.19.0Ryan Dahl
2019-09-23feat: Add Deno.dialTLS()Jonathon Orsi
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2019-09-23Rename class name DenoFile to DomFileImpl (#3006)Tomohito Nakayama
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-19Make `window` compatible with ts 3.6 (#2984)迷渡
2019-09-17Update to TypeScript 3.6.3 (#2969)Kitson Kelly
2019-09-17Remove some non-standard web API constructors (#2970)Nayeem Rahman
This removes the EventListener, EventInit and CustomEventInit constructors from the userland globals. The type exports stay. I removed the internal classes as well. EventListener's implementation seemed to be doing some bookkeeping on handled events but that's not being used anywhere so I assume it's old debug stuff. The other two are completely redundant.
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-15Move GN root into //core/libdeno (#2943)Christian Moritz
2019-09-15Fix debug logging in runtime/compiler (#2953)Kitson Kelly
2019-09-15Fix type directive parsing (#2954)Kitson Kelly
2019-09-14feat: parallelize downloads from TS compiler (#2949)Bartek Iwańczuk
2019-09-12deno_typescript cleanup/improvements (#2901)Kitson Kelly
2019-09-11fix: panic during fetch (#2925)Bartek Iwańczuk
2019-09-11Default base URL path to '/' (#2921)Nayeem Rahman
2019-09-11Default 'this' to window in EventTarget (#2918)Nayeem Rahman
2019-09-11feat: Set user agent for http client (#2916)Bartek Iwańczuk
2019-09-11fix: type directives import (#2910)Bartek Iwańczuk
2019-09-10Expose the DOM Body interface globally (#2903)Nayeem Rahman
2019-09-09refactor: remove Deno.platform (#2895)Yoshiya Hinosawa
2019-09-07Update @typescript-eslint/* to v2.1.0 (#2878)Yoshiya Hinosawa
2019-09-07fetch: implement bodyUsed (#2877)Yoshiya Hinosawa
2019-09-06Remove replacements hack in deno_typescript (#2864)Yoshiya Hinosawa
2019-09-05Fix basing in URL constructor (#2867)Nayeem Rahman
2019-09-04Fix xeval chunk incorrect matching behavior (#2857)Kevin (Kun) "Kassimo" Qian
2019-09-03Handle typescript version in rust (#2855)Yoshiya Hinosawa
2019-09-03do not export `isConsoleInstance` (#2850)迷渡
2019-09-02Refactor snapshot build (#2825)Ryan Dahl
Instead of using core/snapshot_creator.rs, instead two crates are introduced which allow building the snapshot during build.rs. Rollup is removed and replaced with our own bundler. This removes the Node build dependency. Modules in //js now use Deno-style imports with file extensions, rather than Node style extensionless imports. This improves incremental build time when changes are made to //js files by about 40 seconds.
2019-09-02ops/fetch: add statusText (#2851)Yoshiya Hinosawa
2019-08-31Fix REPL '_' assignment, support '_error' (#2845)Nayeem Rahman
2019-08-31Add window.queueMicrotask (#2844)Kevin (Kun) "Kassimo" Qian
2019-08-31Save last execution result in for REPL (#2843)Kevin (Kun) "Kassimo" Qian
2019-08-30Use 'reqwest' to implement HTTP client (#2822)Bartek Iwańczuk
Closes #2720
2019-08-30clearTimeout's params should not be bigint (#2838)迷渡
2019-08-30Remove ts_library_builder, maintain lib.deno_runtime.d.ts by hand (#2827)Ryan Dahl