summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2019-01-11Pipe new exception info through into JSErrorRyan Dahl
Adds a new integration test for syntax error.
2019-01-09Re-enable --recompile (#1492)Ryan Dahl
2019-01-09Native 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-09Add --allow-all flag (#1482)Ryan Dahl
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.