summaryrefslogtreecommitdiff
path: root/js/globals.ts
AgeCommit message (Collapse)Author
2019-05-17Add crypto.getRandomValues() (#2327)chiefbiiko
2019-05-01Add Request global constructor (#2253)Kurt Mackey
2019-04-19Make Deno/Deno.core not deletable/writable (#2153)Kevin (Kun) "Kassimo" Qian
2019-04-12fix: re-expose DomFile (#2100)Yoshiya Hinosawa
2019-04-08fix `console instanceof Console` (#2073)迷渡
2019-04-03web-compatibility console (#2042)迷渡
2019-04-01Add web worker JS API (#1993)andy finch
* Refactored the way worker polling is scheduled and errors are handled. * Share the worker future as a Shared
2019-03-26namespace reorg: libdeno and DenoCore to Deno.core (#1998)Kitson Kelly
2019-03-25Update ts_library_builder (#1920)Bartek Iwańczuk
2019-03-09Migrate from tslint to eslint for linting (#1905)Kitson Kelly
2019-02-19remove global_eval.ts (#1813)Yoshiya Hinosawa
2019-02-18Add window.locationRyan Dahl
2019-02-12Add Deno global namespace (#1748)Kitson Kelly
Resolves #1705 This PR adds the Deno APIs as a global namespace named `Deno`. For backwards compatibility, the ability to `import * from "deno"` is preserved. I have tried to convert every test and internal code the references the module to use the namespace instead, but because I didn't break compatibility I am not sure. On the REPL, `deno` no longer exists, replaced only with `Deno` to align with the regular runtime. The runtime type library includes both the namespace and module. This means it duplicates the whole type information. When we remove the functionality from the runtime, it will be a one line change to the library generator to remove the module definition from the type library. I marked a `TODO` in a couple places where to remove the `"deno"` module, but there are additional places I know I didn't mark.
2019-02-02Add performance.now (#1633)Dmitry Sharshakov
2019-01-28Split out compiler snapshot (#1566)Kitson Kelly
Speeds up startup time, reduces runtime heap size.
2019-01-23Web API: CustomEvent (#1505)Adam Conrad
2019-01-21chore: update license lines (#1557)Yoshiya Hinosawa
2019-01-08Minimal Worker support (#1476)Ryan Dahl
This adds the ability to spawn additional Isolates from Rust and send and receive messages from them. This is preliminary work to support running the typescript compiler in a separate isolate and thus support native ES modules. Ref #975.
2019-01-05Add Event web API (#1059)Adam Conrad
2018-12-23Remove support for extensionless import (#1396)Ryan Dahl
2018-12-17Add URL implementation (#1359)Kitson Kelly
2018-12-06Use alternate TextEncoder/TextDecoder implementation (#1281)Kitson Kelly
This is faster and smaller.
2018-11-09Ensure global type instances are available.Kitson Kelly
2018-11-04Web APIs: `File` and `FormData` (#1056)Kyra
2018-11-02Move fetch headers into its own file.Ryan Dahl
2018-10-23Make Headers more idiomatic (#1062)Kitson Kelly
2018-10-22Improve globals for runtime type libraryKitson Kelly
2018-10-21Add URLSearchParams (#1049)Kyra
2018-10-19Add missing copyrights (#1024)ztplz
2018-10-11Replace globals.d.ts with lib.deno_runtime.d.tsKitson Kelly
2018-10-04Use underscores in filenames.Ryan Dahl
2018-09-25Make Deno multithreaded.Ryan Dahl
By using the tokio default runtime. This patch makes all of the ops thread safe. Adds libdeno to JS globals to make for easier testing. Preliminary work for #733.
2018-09-20Add atob() and btoa() (#776)Kevin (Kun) "Kassimo" Qian
2018-09-14Implement BlobParsa Ghadimi
2018-09-12Add support for fetch() headers (#727)qti3e
2018-09-11Improve global typesParsa Ghadimi
2018-09-01Bundle most types into globals.d.ts (#642)Kitson Kelly
2018-08-26refactor: add and use libdeno.setGlobalErrorHandler instead of window.onerrorYoshiya Hinosawa
2018-08-25Prevent circular imports in ts code (#576)Francesco Borzì
2018-08-22runtime.ts refactor into compiler.ts (#564)Ryan Dahl
Adds compiler_test.ts
2018-08-20First pass at fetch()Ryan Dahl
With help from Thomas Ghysels <info@thomasg.be>
2018-08-09Add TextEncoder/TextDecoder support.Ryan Dahl
Fixes #470 This commit increases size: out/release/gen/bundle/main.js 7.3M -> 7.9M out/release/gen/bundle/main.js.map 11M -> 12M out/release/gen/snapshot_deno.bin 34M -> 37M out/release/deno 49M -> 53M Note the amount in the JS code added is quite small: 4.0K node_modules/text-encoding/index.js 4.0K node_modules/@types/text-encoding/index.d.ts 4.0K js/text_encoding.ts Unclear to me what is causing the jump in snapshot size.
2018-08-09First pass at setTimeout with Tokio (#434)Ryan Dahl
2018-08-08Organize libdeno functions.Ryan Dahl
2018-08-08Generate declarationsKitson Kelly
2018-07-24Change copyrights to be 'Deno authors'.Ryan Dahl
2018-07-06Use C++ to do flatbuffer parsing.Ryan Dahl
- Port protobuf messages to flatbuffers. - Demo linking to rust from C++ executable. - Start using the prototype TS libraries.
2018-07-06Import ts file from prototype without changeRyan Dahl
From commit 559453cf6cc88283bcf8fdeccd387458f5c63165 Excluding v8worker.d.ts, main.ts, and deno.d.ts. Updates tslint.json to be original settings.