summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-02-18build: fix deps for deno_runtime_declarationRyan Dahl
2019-02-18Add window.locationRyan Dahl
2019-02-18Match TypeScript & JavaScript error colors (#1793)Bartek IwaƄczuk
2019-02-18Add `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-18Rationalise compiler ops (#1740)Kitson Kelly
2019-02-15Add execPath function (#1743)Dmitry Sharshakov
2019-02-15Module dep pretty printing in --infoGreg Altman
2019-02-15feat: env option in run api (#1773)Yoshiya Hinosawa
2019-02-13Use proper directory for cache files (#1763)Philipp A
Operating systems have defined directories for cache files. That allows them to do smart things such as leaving them out when doing a backup, or deleting them when disk space gets low. Also a %home%\.deno folder on windows made no sense whatsoever. Fixes #481
2019-02-12Drop assert!() from untrack_task() (#1757)Kevin (Kun) "Kassimo" Qian
2019-02-12Include deno version in source_code_hash (#1751)Ryan Dahl
Fixes #472
2019-02-11REPL multiline support with recoverable errors (#1731)Kevin (Kun) "Kassimo" Qian
2019-02-09Support scoped variables, unblock REPL async op, and REPL error colors (#1721)Kevin (Kun) "Kassimo" Qian
2019-02-09Fix read permission messageJ2P
2019-02-08Adds deno.noColor (#1716)Ryan Dahl
2019-02-08Add deps to --info output. (#1720)Ryan Dahl
Move module stuff into its own file.
2019-02-08Add --allow-read (#1689)Dmitry Sharshakov
Co-authored-by: Greg Altman <g.s.altman@gmail.com>
2019-02-08fix clippy warnings (#1711)bokuweb
2019-02-07Color exceptions (#1698)Ryan Dahl
2019-02-07Add emojis to permission prompts (#1684)Dmitry Sharshakov
2019-02-06fix: do not load cache files when recompile flag is set (#1695)jingweicai
2019-02-02Add isTTY function (#1622)Dmitry Sharshakov
2019-02-02Compiler cleanups and minor improvements (#1656)Kitson Kelly
2019-02-02Support --fmtRyan Dahl
2019-02-02Avoid --info crash on missing filename (#1660)Kevin (Kun) "Kassimo" Qian
2019-02-02Better error message for bad filename CLI argument.Ryan Dahl
2019-02-02Clean up return value of deno_executeRyan Dahl
and deno_respond
2019-02-02Clarify writeFile options and avoid unexpected perm modification (#1643)Kevin (Kun) "Kassimo" Qian
2019-02-02Add --info flag to display file info (compiled code/source map) (#1647)Kevin (Kun) "Kassimo" Qian
2019-02-02Add performance.now (#1633)Dmitry Sharshakov
2019-02-01src: simplify rust codeBert Belder
2019-01-30nit: add missing dot when printing helpAmen
2019-01-30Refactor libdeno ES module interface. (#1624)Ryan Dahl
Allows for future asynchronous module loading. Add support for import.meta.url Fixes #1496
2019-01-29Minor code cleanups (#1613)JaePil Jung
2019-01-28Split out compiler snapshot (#1566)Kitson Kelly
Speeds up startup time, reduces runtime heap size.
2019-01-26timers: use int instead of double for timeout type (#1469)bokuweb
2019-01-24Minor code cleanups (#1570)JaePil Jung
2019-01-21chore: update license lines (#1557)Yoshiya Hinosawa
2019-01-18Avoid crashes on ES module resolution when module not found (#1546)Kevin (Kun) "Kassimo" Qian
2019-01-17mkdir 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-16Remove resolve_addr::tests::resolve_addr_err (#1531)Ryan Dahl
On some nameservers bad domain names still resolve.
2019-01-16use upper case name for static variable `c_rid` (#1537)wangcong
2019-01-15Kill all pending accepts when TCP listener is closed (#1517)Kevin (Kun) "Kassimo" Qian
2019-01-15 Add --prefetch flag for deps prefetch without running (#1475)Kevin (Kun) "Kassimo" Qian
2019-01-15Clippy fixes (also fixes build with nightly) (#1527)Bert Belder
2019-01-14trim_left_matches (deprecated) => trim_start_matches (#1524)Kevin (Kun) "Kassimo" Qian
2019-01-14Update to rust 2018 editionAndy Hayden
2019-01-13Properly parse network addresses. (#1515)Ryan Dahl
2019-01-14src: remove dependency on the 'kernel32' crateBert Belder
2019-01-12Avoid show confusing lines in gen/bundle/main.js that throws error (#1502)Kevin (Kun) "Kassimo" Qian