1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-01 09:24:20 -04:00
Commit graph

5269 commits

Author SHA1 Message Date
Yungoo Kong
61b401c63a Fix wrong links (denoland/deno_std#106)
Original: 39cfdb48a8
2019-01-14 01:45:59 -05:00
迷渡
096e0b36e6 fix wrong links for flags (denoland/deno_std#112)
Original: 1d64eba63d
2019-01-14 00:34:46 -05:00
Kitson Kelly
7d08db2191 Fix JSON Modules (#1514) 2019-01-14 00:18:42 -05:00
Kitson Kelly
de9c67a702 Cleanup compiler and re-enable tests (#1512) 2019-01-13 23:44:11 -05:00
Bert Belder
8039e2a55a
third_party: upgrade rust crates, now with --edition 2018 support 2019-01-14 05:03:14 +01:00
Bert Belder
eab457ef95
ci: upgrade rust to version 1.31.1 2019-01-14 05:03:04 +01:00
Ryan Dahl
3c1a0ad19e
Properly parse network addresses. (#1515) 2019-01-13 22:14:59 -05:00
Bert Belder
9e9550ceea
third_party: upgrade rust crates 2019-01-14 02:18:19 +01:00
Bert Belder
74e623b537
third_party: clean up .gitignore 2019-01-14 02:18:19 +01:00
Bert Belder
56824411fa
ci: cargo build --locked 2019-01-14 02:18:18 +01:00
Bert Belder
0cdcefdcc7
build: bring rustc --cfg flag support back 2019-01-14 02:18:18 +01:00
Bert Belder
4f63aa4634
build: winapi is a windows-only dep 2019-01-14 02:18:18 +01:00
Bert Belder
69c370c5cc
src: remove dependency on the 'kernel32' crate 2019-01-14 02:18:18 +01:00
Kitson Kelly
4a79450988 Improve re-exports in http (denoland/deno_std#111)
Original: b99d7d3e0f
2019-01-13 19:55:23 -05:00
Joshua Flancer
fda604ff05 Added rid to Conn interface (#1513) 2019-01-13 19:54:30 -05:00
Ryan Dahl
b1c59d7231
Fix links on website (#1511) 2019-01-13 15:52:42 -05:00
hkdnet
429fcbf77a Remove an unnecessary code block (denoland/deno_std#107)
Original: 9f1de43cc4
2019-01-13 12:40:57 -05:00
Ryan Dahl
8ae178e9ce
Fix permission_prompt_test (#1509) 2019-01-13 12:09:45 -05:00
Yoshiya Hinosawa
3b59323e42 chore: re-enable test of website (#1508) 2019-01-13 10:42:08 -05:00
JaePil Jung
02792d58d4 Remove unnecessary async keyword in test file (#1507) 2019-01-13 09:39:23 -05:00
Andy Hayden
f626b04ebe Reorgnanize repos, examples and tests (denoland/deno_std#105)
Original: c5e6e015b5
2019-01-12 16:50:04 -05:00
木杉
7d6a0f64f2 refactor(mkdirp): reorg (denoland/deno_std#103)
Original: 41312ad39f
2019-01-12 13:07:18 -05:00
JaePil Jung
37e3db00a2 Add --allow-run test code (#1504) 2019-01-12 11:29:45 -05:00
JaePil Jung
6c9695a528 Remove unused imports (#1503) 2019-01-12 09:16:18 -05:00
Kevin (Kun) "Kassimo" Qian
e29a676b78 Avoid show confusing lines in gen/bundle/main.js that throws error (#1502) 2019-01-12 09:14:09 -05:00
木杉
708400804a style(net): format code (denoland/deno_std#104)
Original: c42686dc36
2019-01-11 21:56:35 -05:00
Ryan Dahl
6322f45e7b Pipe new exception info through into JSError
Adds a new integration test for syntax error.
2019-01-11 21:44:26 -05:00
Ryan Dahl
8fdc1251cd libdeno: pipe more exception information thru 2019-01-11 21:44:26 -05:00
Kwang-in (Dennis) Jung
c363fc1de4 Define type for available date format (denoland/deno_std#88)
Original: 3656ab5b99
2019-01-11 00:19:42 -05:00
Kitson Kelly
0e933177ad Add media_types collection (denoland/deno_std#97)
Original: 0e00fe9cd3
2019-01-11 00:16:47 -05:00
Kitson Kelly
6f5dbfe102 Reorg colors (denoland/deno_std#96)
Original: 92bbca8166
2019-01-10 20:18:21 -05:00
木杉
57c877c443 refactor(path): reorg (denoland/deno_std#101)
Original: 5be16ba599
2019-01-10 17:11:44 -05:00
Ryan Dahl
904c69c4c6 Add some links to website 2019-01-10 18:13:48 +01:00
Ryan Dahl
cca3a9562b
Re-enable --recompile (#1492) 2019-01-09 20:52:13 -05:00
Ryan Dahl
26bc251c58 Upgrade deno_std submodule. 2019-01-10 02:45:18 +01:00
Kevin (Kun) "Kassimo" Qian
d835c84ba9 Prevent segfault when eval throws an error (#1411) 2019-01-09 15:56:42 -05:00
Maxim Mazurok
3634488caa Fix flaky REPL test (#1491)
Fixes #1490
2019-01-09 15:32:05 -05:00
Ryan Dahl
0ceb554343
Native ES modules (#1460)
* 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-09 12:59:46 -05:00
Ryan Dahl
3afdae165d
Add --allow-all flag (#1482) 2019-01-09 11:59:54 -05:00
Yoshiya Hinosawa
6f8dc44a2b feat: print test status on the same line as test name (denoland/deno_std#100)
Original: 41a2d21826
2019-01-09 10:32:37 -05:00
Ryan Dahl
6f79ad721a
Minimal Worker support (#1476)
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-08 14:44:06 -05:00
Ryan Dahl
9ff6bca863
Isolate::execute_mod wrap filename in CString (#1479)
When we called js_filename.as_ptr() without using CString it wasn't
necessarally null terminated, which was creating spurious failures.
2019-01-08 14:42:53 -05:00
Ryan Dahl
fc20b977c0 Bump deno version to v0.2.6
Original: 72b2e20f9d
2019-01-08 09:55:53 -05:00
Kevin (Kun) "Kassimo" Qian
2558d6e184 Use multimap with Persistent module handle to avoid IdentityHash collision (#1466) 2019-01-07 21:18:32 -05:00
Ryan Dahl
404e6f8634 v0.2.6 2019-01-07 17:33:06 -05:00
Kevin (Kun) "Kassimo" Qian
3dd70d411a path: remove export = module (denoland/deno_std#95)
Original: a0b5aec823
2019-01-07 10:39:36 -05:00
Ryan Dahl
bc2c808da1
Upgrade crates (#1471) 2019-01-07 10:36:08 -05:00
Yoshiya Hinosawa
cae71ed841 Implement console.groupCollapsed (#1452)
This implementation of groupCollapsed is intentionally different
from the spec defined by whatwg. See the conversation in #1355
and #1363.
2019-01-06 16:34:52 -05:00
Ryan Dahl
1b7938e3aa
Add libdeno.builtinModules (#1463)
This is needed to support builtin modules like

    import { open } from "deno"
2019-01-06 16:32:21 -05:00
Yusuke Sakurai
7907bfc4c9 Add web socket module (denoland/deno_std#84)
Original: 2606e295c7
2019-01-06 14:26:18 -05:00