summaryrefslogtreecommitdiff
path: root/js/util.ts
AgeCommit message (Collapse)Author
2019-10-04Merge deno_cli_snapshots into deno_cli (#3064)Ryan Dahl
2019-09-15Fix debug logging in runtime/compiler (#2953)Kitson Kelly
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-06-14feat: URLSearchParams should work with custom iterator (#2512)迷渡
2019-05-01fs: add Deno.utime/Deno.utimeSync (#2241)Kevin (Kun) "Kassimo" Qian
2019-04-21Fix eslint warnings (#2151)Ryan Dahl
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: LE GOFF Vincent <g_n_s@hotmail.fr>
2019-04-19Make Deno/Deno.core not deletable/writable (#2153)Kevin (Kun) "Kassimo" Qian
2019-04-18avoid prototype builtin hasOwnProperty (#2144)迷渡
2019-03-09Migrate from tslint to eslint for linting (#1905)Kitson Kelly
2019-02-16remove dead code (#1796)Yoshiya Hinosawa
2019-02-02Compiler cleanups and minor improvements (#1656)Kitson Kelly
2019-01-21chore: update license lines (#1557)Yoshiya Hinosawa
2019-01-05Add Event web API (#1059)Adam Conrad
2018-12-23runtime arg check `URLSearchParams` (#1390)迷渡
2018-12-23Remove support for extensionless import (#1396)Ryan Dahl
2018-11-16First pass at running subprocesses (#1156)Bert Belder
2018-11-16Support uploading data from fetch()Ryan Dahl
Does not yet support streaming, only strings and TypedArrays for now.
2018-10-23Make Headers more idiomatic (#1062)Kitson Kelly
2018-10-20Format.Ryan Dahl
2018-10-19 Make fetch header compliant with the current spec (#1019)ztplz
2018-10-14Align JSDoc to style guide.Kitson Kelly
2018-10-05Implement closeRead/closeWrite using TcpStream::shutdown (#903)Kevin (Kun) "Kassimo" Qian
2018-09-14Make fetch.blob() workParsa Ghadimi
2018-09-14Implement BlobParsa Ghadimi
2018-09-14fix command line flag in the commentjustjavac
2018-09-09Map promises onto futures.Ryan Dahl
Refactors handlers.rs The idea is that all Deno "ops" (aka bindings) should map onto a Rust Future. By setting the "sync" flag in the Base message users can determine if the future is executed immediately or put on the event loop. In the case of async futures, a promise is automatically created. Errors are automatically forwarded and raised. TODO: - The file system ops in src/handler.rs are not using the thread pool yet. This will be done in the future using tokio_threadpool::blocking. That is, if you try to call them asynchronously, you will get a promise and it will act asynchronous, but currently it will be blocking. - Handlers in src/handler.rs returned boxed futures. This was to make it easy while developing. We should try to remove this allocation.
2018-09-05Mark APIs at internal and include JSDoc in typesKitson Kelly
2018-08-31Refactor libdeno.send() code to reduce boilerplate.Ryan Dahl
Also removes assignCmdId as it's currently unused.
2018-08-20First pass at fetch()Ryan Dahl
With help from Thomas Ghysels <info@thomasg.be>
2018-08-19add notImplemented and unreachable util functions (#540)Bartek Iwańczuk
2018-08-17Command line flag parsing (#524)Ryan Dahl
In particular this allow -D for logging debug output.
2018-08-15Use typescript strict mode (#505)Kitson Kelly
2018-08-02Remove dispatch.ts and move assignCmdId to util.tsRyan Dahl
2018-07-24Change copyrights to be 'Deno authors'.Ryan Dahl
2018-07-18Better exception output.Ryan Dahl
2018-07-18Execute JS for the first time in Rust rewrite.Ryan Dahl
Implements code_fetch handler in Rust. Add ability to embed string assets (for typescript declaration files) Remove deno_cc and deno_cc_nosnapshot targets.
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.