summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-01-09Fix flaky REPL test (#1491)Maxim Mazurok
Fixes #1490
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-09feat: print test status on the same line as test name (denoland/deno_std#100)Yoshiya Hinosawa
Original: https://github.com/denoland/deno_std/commit/41a2d218264b2f9217bf793893aff5dadd2c4ca9
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-08Isolate::execute_mod wrap filename in CString (#1479)Ryan Dahl
When we called js_filename.as_ptr() without using CString it wasn't necessarally null terminated, which was creating spurious failures.
2019-01-08Bump deno version to v0.2.6Ryan Dahl
Original: https://github.com/denoland/deno_std/commit/72b2e20f9da1d431ba9cac3247ee38ee82d5d8f4
2019-01-07Use multimap with Persistent module handle to avoid IdentityHash collision ↵Kevin (Kun) "Kassimo" Qian
(#1466)
2019-01-07v0.2.6Ryan Dahl
2019-01-07path: remove export = module (denoland/deno_std#95)Kevin (Kun) "Kassimo" Qian
Original: https://github.com/denoland/deno_std/commit/a0b5aec82397bf76d3e8348194536c2596292e65
2019-01-07Upgrade crates (#1471)Ryan Dahl
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-06Add web socket module (denoland/deno_std#84)Yusuke Sakurai
Original: https://github.com/denoland/deno_std/commit/2606e295c77fb9d5796d527ed15f2dab3de1a696
2019-01-06Fix format globs (denoland/deno_std#87)Ryan Dahl
Original: https://github.com/denoland/deno_std/commit/297cf0975eca194a677e6fadd7d753d62eb453c3
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 Scoop installation command to README.md (#1467)Mark Tiedemann
2019-01-05Add Scoop installation command to Docs.md (#1468)Mark Tiedemann
2019-01-05Add Event web API (#1059)Adam Conrad
2019-01-05Windows CI should use a fixed version of deno (denoland/deno_std#89)Srijan Reddy
Original: https://github.com/denoland/deno_std/commit/4e12c2b4d2b8e16deb345c993611b56fc8497fd8
2019-01-04Fix to use unknown type in testing/mod.ts (denoland/deno_std#73)Masashi Hirano
Original: https://github.com/denoland/deno_std/commit/8221924d9a814eb8d644b2f47e57687134341cc8
2019-01-04Azure windows pipeline (denoland/deno_std#85)Srijan Reddy
Fixes denoland/deno_std#34 Original: https://github.com/denoland/deno_std/commit/2ece847a82bd06eb8810950b3064070135d2d94d
2019-01-04docs: update testing module url (#1459)木杉
2019-01-04docs(readme): fix small typo (denoland/deno_std#82)Satya Rohith
Original: https://github.com/denoland/deno_std/commit/e504e545249c12b64b0e7e0ffe0706170a884b70
2019-01-04fix(testing): readme import url (denoland/deno_std#81)木杉
Original: https://github.com/denoland/deno_std/commit/9d3d90560c92be4f080f984209a7ffd5a4bbb920
2019-01-04Remove logging's flaky basicTest (denoland/deno_std#83)Ryan Dahl
Original: https://github.com/denoland/deno_std/commit/6754d468d8806e467edc3690fb02c1a587d02a26
2019-01-03First pass on style guide (denoland/deno_std#66)Ryan Dahl
Original: https://github.com/denoland/deno_std/commit/2916791dfb14bf486185eca6c7859b49c1c4c052
2019-01-03Remove travis, rely on pipelines (denoland/deno_std#68)Ryan Dahl
Original: https://github.com/denoland/deno_std/commit/63d4f6d8282cda659a2e238e96df8a43df4c8b4b
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-03Create .editorconfig (denoland/deno_std#74)Dmitry Sharshakov aka. sh7dm
Original: https://github.com/denoland/deno_std/commit/66baebf8bd69517e7019637199981ed65408f6de
2019-01-03Move testing module to deno_std (#1451)Ryan Dahl
Upgrades deno_std submodule.
2019-01-03Add testing/README.md (denoland/deno_std#75)Masashi Hirano
Original: https://github.com/denoland/deno_std/commit/9552f28daf5e9bc77e0ace4032c93e538ef1f9f5
2019-01-03resolve_module: handle "." and ".." referrers (#1454)Ryan Dahl
2019-01-03Make README readable on mobile (denoland/deno_std#71)Bartek Iwańczuk
Original: https://github.com/denoland/deno_std/commit/2d9a9cdfd1d01f7d80c930f24da3e948eb70ca5b
2019-01-03Add datetime utils (denoland/deno_std#72)Dmitry Sharshakov aka. sh7dm
Original: https://github.com/denoland/deno_std/commit/b4906387469eba24f868082b263dd44d89a40db7
2019-01-03AppVeyor: Disable DENO_BUILD_PATH cache.Ryan Dahl
Seems to be necessary to get the previous commits to compile correctly.
2019-01-03Add rust binding and test for deno_execute_mod()Ryan Dahl
2019-01-03Add ESM support to libdenoRyan Dahl
Introduces deno_execute_mod() for executing ES modules.
2019-01-03Properly internalize V8 strings.Ryan Dahl
2019-01-03Use camel-case for libdeno::deno_recv_cbRyan Dahl
For better greppability and conformance with other symbols in libdeno.rs
2019-01-03ci: use RUST_BACKTRACE=fullRyan Dahl
2019-01-03travis: remove -j2 flagsRyan Dahl
2019-01-03Support more fetch init body types (#1449)Kevin (Kun) "Kassimo" Qian
2019-01-03Fix test js_error_apply_source_map_2Ryan Dahl
If the project is checked out into a directory not called "deno" this test fails.
2019-01-02Add -glldb to clang flags for libdeno (#1446)Kevin (Kun) "Kassimo" Qian
2019-01-02fix: use unknown instead of any in testingbokuweb
2019-01-02Add testing moduleRyan Dahl
Original: https://github.com/denoland/deno_std/commit/61fdae51a7cc50874b9674c40b1aef3fbf012494
2019-01-02Disable logging test to pass CI.Ryan Dahl
Original: https://github.com/denoland/deno_std/commit/5132550c113c7e03081fc64e62f2c1a68ea35a0f