summaryrefslogtreecommitdiff
path: root/js
AgeCommit message (Collapse)Author
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
2019-01-10Upgrade deno_std submodule.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-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.
2019-01-06Implement console.groupCollapsed (#1452)Yoshiya Hinosawa
This implementation of groupCollapsed is intentionally different from the spec defined by whatwg. See the conversation in #1355 and #1363.
2019-01-06Add libdeno.builtinModules (#1463)Ryan Dahl
This is needed to support builtin modules like import { open } from "deno"
2019-01-06Revert "Split Runner from Compiler" (#1462)Ryan Dahl
This reverts commit 3d03f5b0cb3c513e449f3aaa5d35c493b72f47b4.
2019-01-06Add deno.pid (#1464)Ryan Dahl
2019-01-05Add Event web API (#1059)Adam Conrad
2019-01-03Revert "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.
2019-01-03Remove assertion for empty modules (#1450)Satya Rohith
2019-01-03Move testing module to deno_std (#1451)Ryan Dahl
Upgrades deno_std submodule.
2019-01-03Support more fetch init body types (#1449)Kevin (Kun) "Kassimo" Qian
2019-01-02fix: use unknown instead of any in testingbokuweb
2019-01-02Happy new year!Ryan Dahl
2018-12-31Upgrade deno_stdRyan Dahl
2018-12-29make `Headers` follow spec (#1427)迷渡