summaryrefslogtreecommitdiff
path: root/js
AgeCommit message (Collapse)Author
2019-02-26deno_core (#1827)Ryan Dahl
A new low-level crate with focus on speed. This doesn't yet hook into the existing code base.
2019-02-26Add import.meta.main (#1835)Bartek Iwańczuk
2019-02-25Fix console.table display of Map and move tests to unit test (#1839)Kevin (Kun) "Kassimo" Qian
2019-02-25Upgrade deno_std (#1833)Ryan Dahl
2019-02-25Fix copyright header (#1832)Ryan Dahl
2019-02-21manual: add Deno.run example (#1811)Bartek Iwańczuk
2019-02-19remove global_eval.ts (#1813)Yoshiya Hinosawa
2019-02-18Add window.locationRyan Dahl
2019-02-18Add back typescript version number and add Deno.version object. (#1788)Yoshiya Hinosawa
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-18refactor: replace any in console (#1804)Yoshiya Hinosawa
2019-02-16remove dead code (#1796)Yoshiya Hinosawa
2019-02-15Add execPath function (#1743)Dmitry Sharshakov
2019-02-15Fix behavior for extensionless files with .mime file (#1779)Kevin (Kun) "Kassimo" Qian
2019-02-15feat: env option in run api (#1773)Yoshiya Hinosawa
2019-02-13Cleanup Deno namespace (#1765)Kitson Kelly
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