Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-03-12 | Make timers act like normal ops | Ryan Dahl | |
This is in preperation for core integration. | |||
2019-03-12 | Sort ops | Ryan Dahl | |
2019-03-04 | Allow inspection and revocation of permissions (#1875) | Simon Menke | |
2019-02-18 | Add window.location | Ryan Dahl | |
2019-02-18 | Add `seek` and implement `Seeker` on `File` (#1797) | Kevin (Kun) "Kassimo" Qian | |
This patch contains a special hack that circumvents the current tokio seek problem. tokio `seek` is implemented to take ownership of the original File and emit a new one in its future, which conflicts with the design of ResourceTable. To avoid the problem, the current hack makes the FsFile resource an Option which we could `take` the value ownership out of it. We then convert the tokio File into a Rust std File, perform the seek, and then put it back into the resource. This might be able to drop this hack after https://github.com/tokio-rs/tokio/pull/785 lands. | |||
2019-02-18 | Rationalise compiler ops (#1740) | Kitson Kelly | |
2019-02-15 | Add execPath function (#1743) | Dmitry Sharshakov | |
2019-02-15 | feat: env option in run api (#1773) | Yoshiya Hinosawa | |
2019-02-09 | Support scoped variables, unblock REPL async op, and REPL error colors (#1721) | Kevin (Kun) "Kassimo" Qian | |
2019-02-08 | Adds deno.noColor (#1716) | Ryan Dahl | |
2019-02-02 | Add isTTY function (#1622) | Dmitry Sharshakov | |
2019-02-02 | Compiler cleanups and minor improvements (#1656) | Kitson Kelly | |
2019-02-02 | Clarify writeFile options and avoid unexpected perm modification (#1643) | Kevin (Kun) "Kassimo" Qian | |
2019-02-02 | Add performance.now (#1633) | Dmitry Sharshakov | |
2019-01-26 | timers: use int instead of double for timeout type (#1469) | bokuweb | |
2019-01-17 | mkdir should not be recursive by default (#1530) | Ryan Dahl | |
It should return an error if a file with the given path exists and recursive isn't specified. Because mode is not used on windows and rarely used in unix, it is made to the last parameter. In collaboration with Stefan Dombrowski <sdo451@gmail.com> | |||
2019-01-09 | Native ES modules (#1460) | Ryan Dahl | |
* Native ES modules This is a major refactor of internal compiler. Before: JS and TS both were sent through the typescript compiler where their imports were parsed and handled. Both compiled to AMD JS and finally sent to V8 Now: JS is sent directly into V8. TS is sent through the typescript compiler, but tsc generates ES modules now instead of AMD. This generated JS is then dumped into V8. This should much faster for pure JS code. It may improve TS compilation speed. In the future this allows us to separate TS out of the runtime heap and into its own dedicated snapshot. This will result in a smaller runtime heap, and thus should be faster. Some tests were unfortunately disabled to ease landing this patch: 1. compiler_tests.ts which I intend to bring back in later commits. 2. Some text_encoding_test.ts tests which made the file invalid utf8. See PR for a discussion. Also worth noting that this is necessary to support WASM | |||
2019-01-08 | Minimal 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-06 | Add deno.pid (#1464) | Ryan Dahl | |
2019-01-03 | Revert "use byte array instead of string for code fetch (#1307)" (#1455) | Ryan Dahl | |
This reverts commit e976b3e0414dc768624b77e431ee7f55b03b76a4. There is nothing technically wrong with this commit, but it's adding complexity to a big refactor (native ES modules #975). Since it's not necessary and simply a philosophical preference, I will revert for now and try to bring it back later. | |||
2018-12-21 | Avoid fetch segfault on empty Uri (#1394) | Kevin (Kun) "Kassimo" Qian | |
2018-12-12 | Flesh out open() modes (#1282) | Bartek Iwańczuk | |
2018-12-12 | Change default to false Base.bool | Tnarita0000 | |
2018-12-12 | use byte array instead of string for code fetch (#1307) | F001 | |
2018-12-11 | Minor rename for CodeFetch parameters | Ryan Dahl | |
This bring it inline with terminology used in V8 See ResolveCallback in v8.h | |||
2018-12-09 | Add TooLarge error code for buffers (#1298) | binaryta | |
In collaboration with @yushimatenjin | |||
2018-11-16 | First pass at running subprocesses (#1156) | Bert Belder | |
2018-11-14 | Support request method and headers in fetch() (#1188) | Ryan Dahl | |
Adds a general HttpHeader flatbuffer message for serializing requests and responses. | |||
2018-11-13 | Support streaming response bodies from fetch() | Ryan Dahl | |
Also Buffer.readFrom in fetch() to buffer response. | |||
2018-11-06 | Fix many of the clippy::pedantic warnings | Andy Hayden | |
2018-11-05 | Add repl (#998) | Andy Hayden | |
- Running repl from js side. - Add tests for repl behavior. - Handle ctrl-C and ctrl-D. | |||
2018-11-02 | Rename EnvPair to KeyValue. | Ryan Dahl | |
2018-10-30 | Rename FetchReq op to Fetch. | Ryan Dahl | |
2018-10-30 | Add resources op (#1119) | Bartek Iwańczuk | |
2018-10-29 | Separate source map from output code. | Kitson Kelly | |
2018-10-26 | Add chmod/chmodSync on unix (and fix Cargo.toml) (#1088) | Kevin (Kun) "Kassimo" Qian | |
Initial implementation by Srijan Reddy (@srijanreddy98, #672). | |||
2018-10-23 | Enforce media types | Kitson Kelly | |
2018-10-15 | `deno -v` should report typescript version | Jinho Bang | |
Fixes #993 | |||
2018-10-13 | Add cwd() and chdir() (#907) | Shiva Prasanth | |
2018-10-11 | Add support for --types | Kitson Kelly | |
2018-10-11 | Add deno.metrics() | Bartek Iwańczuk | |
2018-10-10 | Rename BadFileDescriptor | J2P | |
2018-10-05 | Implement closeRead/closeWrite using TcpStream::shutdown (#903) | Kevin (Kun) "Kassimo" Qian | |
2018-10-04 | Rename flatbuffer base.msg to base.inner | Ryan Dahl | |
This better disambiguates with the msg_generated.ts module, which in JS we call "fbs", but would be better called "msg". | |||
2018-10-03 | First pass at support for TCP servers and clients. (#884) | Ryan Dahl | |
Adds deno.listen(), deno.dial(), deno.Listener and deno.Conn. | |||
2018-10-03 | Implemented readDirSync, readDir | J2P | |
2018-10-03 | timers: remove the old timer implementation | Bert Belder | |
Fixes #878. | |||
2018-10-03 | timers: implement timers in javascript | Bert Belder | |
2018-10-01 | Rename FdTable to ResourceTable. | Ryan Dahl | |
Add docs to src/resources.rs. | |||
2018-09-30 | Add copyFile/copyFileSync (#863) | Kevin (Kun) "Kassimo" Qian | |