summaryrefslogtreecommitdiff
path: root/js
AgeCommit message (Collapse)Author
2019-02-12Revert "Rewrite tools/format.py in deno (#1528)" (#1752)Ryan Dahl
tools/format.ts is making CI flaky and it's difficult to run right now. Reverting to tools/format.py This reverts commit f19622e7681b7753788137706e535f72c3ebb38e.
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-11Fix REPL formatting (#1744)Kevin (Kun) "Kassimo" Qian
2019-02-11REPL multiline support with recoverable errors (#1731)Kevin (Kun) "Kassimo" Qian
2019-02-11fix: improve formatting (#1732)Yoshiya Hinosawa
2019-02-10Rationalise startup for compiler/main (#1737)Kitson Kelly
2019-02-10Respect NO_COLOR in TypeScript output (#1736)Bartek Iwańczuk
2019-02-10Set globals on compiler startup (#1735)Bartek Iwańczuk
2019-02-09Support scoped variables, unblock REPL async op, and REPL error colors (#1721)Kevin (Kun) "Kassimo" Qian
2019-02-08Adds deno.noColor (#1716)Ryan Dahl
2019-02-08Add --allow-read (#1689)Dmitry Sharshakov
Co-authored-by: Greg Altman <g.s.altman@gmail.com>
2019-02-06Add missing run permission in test function (#1697)JaePil Jung
2019-02-05Fixed test code (#1688)JaePil Jung
2019-02-05Add WebAssembly to runtime library (#1677)Kitson Kelly
This also modifies the `ts_library_builder` to support inlining assets. Includes integration tests from @sh7dm
2019-02-02Add isTTY function (#1622)Dmitry Sharshakov
2019-02-02Compiler cleanups and minor improvements (#1656)Kitson Kelly
2019-02-02Upgrade deno_std for std/prettier/main.tsRyan Dahl
2019-02-02Clarify writeFile options and avoid unexpected perm modification (#1643)Kevin (Kun) "Kassimo" Qian
2019-02-02Add performance.now (#1633)Dmitry Sharshakov
2019-01-31Upgrade deno_std to bef7ba (#1609)Ryan Dahl
2019-01-30Fix example code of writeFile (#1626)Masashi Hirano
According to spec, `TextEncoder()` takes no parameters. However `TextEncoder("utf-8")` is written in example codes. Spec of TextEncoder: https://www.w3.org/TR/encoding/#interface-textencoder MDN: https://developer.mozilla.org/ja/docs/Web/API/TextEncoder/TextEncoder#Parameters
2019-01-29Add repl functions "help" and "exit" (#1563)Sergey Golovin
2019-01-29docs/typo: readerIterator -> toAsyncIterator as exported (#1620)bdistin
2019-01-28Split out compiler snapshot (#1566)Kitson Kelly
Speeds up startup time, reduces runtime heap size.
2019-01-28Combine deno.removeAll into deno.remove (#1596)Jan Lo
2019-01-28Add console.table (#1608)Sergey Golovin
2019-01-26timers: use int instead of double for timeout type (#1469)bokuweb
2019-01-24Add console.clear() (#1562)binaryta
2019-01-24console output with format (#1565)迷渡
2019-01-23fix: set env,key for string and value for string (#1567)jingweicai
2019-01-23Minor optimization to repl.ts (#1561)thefliik
2019-01-23Web API: CustomEvent (#1505)Adam Conrad
2019-01-21chore: update license lines (#1557)Yoshiya Hinosawa
2019-01-21Revert "Use the same parse processing at contractor of URL with setters (#1549)"Ryan Dahl
Right now every instance of URL which has a basePath passed will share the same instance of parts, so a change to one of them will change them all. https://github.com/denoland/deno/pull/1549#issuecomment-455896081 This reverts commit 9e1f5ccb8b06c01c1330ed38aeba83cfc51f5387.
2019-01-20Use the same parse processing at contractor of URL with setters (#1549)Daijiro Wachi
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-17Unflake test netConcurrentAccept (#1544)Kevin (Kun) "Kassimo" Qian
2019-01-17Revert "fix: fix fetch tests (#1535)"Ryan Dahl
This reverts commit dd081655280243ad6c1e6b99599424f21c3aa456. These tests are still flaky: https://travis-ci.com/denoland/deno/jobs/171240240 https://travis-ci.com/denoland/deno/jobs/170775382
2019-01-17Rewrite tools/format.py in deno (#1528)Yoshiya Hinosawa
Note: findFiles and findFilesWalk are borrowed from the previous attempt of @pseudo-su (#1434)
2019-01-16Add globalThis definition to runtime (#1534)Kitson Kelly
2019-01-16fix: fix fetch tests (#1535)Yoshiya Hinosawa
2019-01-15Kill all pending accepts when TCP listener is closed (#1517)Kevin (Kun) "Kassimo" Qian
2019-01-14Fix JSON Modules (#1514)Kitson Kelly
2019-01-13Cleanup compiler and re-enable tests (#1512)Kitson Kelly
2019-01-13Properly parse network addresses. (#1515)Ryan Dahl
2019-01-13Added rid to Conn interface (#1513)Joshua Flancer
2019-01-13chore: re-enable test of website (#1508)Yoshiya Hinosawa
2019-01-13Remove unnecessary async keyword in test file (#1507)JaePil Jung
2019-01-12Remove unused imports (#1503)JaePil Jung
2019-01-09Re-enable --recompile (#1492)Ryan Dahl