summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
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-07Use multimap with Persistent module handle to avoid IdentityHash collision ↵Kevin (Kun) "Kassimo" Qian
(#1466)
2019-01-07v0.2.6Ryan Dahl
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-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-04docs: update testing module url (#1459)木杉
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-03resolve_module: handle "." and ".." referrers (#1454)Ryan Dahl
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-02Happy new year!Ryan Dahl
2019-01-01v0.2.5Ryan Dahl
2018-12-31Upgrade deno_stdRyan Dahl
2018-12-31Add CI badges to websiteRyan Dahl
2018-12-30print string with NULL '\0' (#1428)迷渡
2018-12-29make `Headers` follow spec (#1427)迷渡
2018-12-27Lazily create .mime files only with mismatch/no extension (#1417)Kevin (Kun) "Kassimo" Qian
2018-12-27Rename file.ts to dom_file.ts (#1423)Yoshihisa Mochihara
2018-12-27check runtime `FormData` and `Headers` params (#1415)迷渡
2018-12-27fix(test): fix test of unbuffered_stderrYoshiya Hinosawa
2018-12-24travis: set -eRyan Dahl
2018-12-24travis: Work around clang_format errorRyan Dahl
2018-12-24deno_net -> deno_std renameRyan Dahl
Also don't format external js/deps
2018-12-24fix FormData.name (#1412)迷渡
2018-12-23v0.2.4Ryan Dahl
- "cargo build" support (#1369 #1296 #1377 #1379) - Remove support for extensionless import (#1396) - Upgrade V8 to 7.2.502.16 (#1403) - make stdout unbuffered (#1355) - Implement `Body.formData` for fetch (#1393) - Improve handling of non-coercable objects in assertEqual (#1385) - Avoid fetch segfault on empty Uri (#1394) - Expose deno.inspect (#1378) - Add illegal header name and value guards (#1375) - Fix URLSearchParams set() and constructor() (#1368) - Remove prebuilt v8 support (#1369) - Enable jumbo build in release. (#1362) - Add URL implementation (#1359) - Add console.count and console.time (#1358) - runtime arg check `URLSearchParams` (#1390)
2018-12-23runtime arg check `URLSearchParams` (#1390)迷渡
2018-12-23Upgrade V8 to 7.2.502.16 (#1403)Ryan Dahl
2018-12-23Add Releases.md file (#1402)Ryan Dahl
2018-12-23libdeno: Remove unused members of DenoIsolateRyan Dahl
2018-12-23Use flatbuffers from crates.io (#1400)Ryan Dahl