summaryrefslogtreecommitdiff
path: root/js
AgeCommit message (Collapse)Author
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
2019-08-29setTimeout's params should not be bigint (#2834)迷渡
2019-08-29add console.dirxml (#2835)Bartek Iwańczuk
2019-08-28Remove @stardazed/streamsRyan Dahl
This is a regression on several some features in the fetch API. To bring these back @stardazed/streams simply needs to be ported to TS and included in the //js directory. Towards #2608
2019-08-28Internalize base64-js, convert to TypeScriptRyan Dahl
2019-08-27feat: implement Addr interface (#2821)Bartek Iwańczuk
2019-08-27Improve error stacks for async ops (#2820)Nayeem Rahman
2019-08-26Clean up various flatbuffer references (#2819)Ryan Dahl
2019-08-26Remove flatbuffers (#2818)Ryan Dahl
2019-08-26Port readSync/writeSync ops to minimalRyan Dahl
This removes dispatch_flatbuffers as it is now unused. There are still a few places where msg_generated is used: ErrorKind and MediaType. These will be dealt with later.
2019-08-26port fs ops to JSON (#2812)Bartek Iwańczuk
2019-08-26bring back json ops (#2815)Bartek Iwańczuk
2019-08-24Revert json ops (#2814)Ryan Dahl
* Revert "port more ops to JSON (#2809)" This reverts commit 137f33733d365026903d40e7cde6e34ac6c36dcf. * Revert "port ops to JSON: compiler, errors, fetch, files (#2804)" This reverts commit 79f82cf10ed1dbf91346994250d7311a4d74377a. * Revert "Port rest of os ops to JSON (#2802)" This reverts commit 5b2baa5c990fbeae747e952c5dcd7a5369e950b1.
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-22Support .d.ts files (#2746)Kitson Kelly
Fixes #1432