Commit graph

299 commits

Author SHA1 Message Date
Kevin (Kun) "Kassimo" Qian 5946808f66
tty: Deno.setRaw(rid, mode) to turn on/off raw mode (#3958) 2020-02-26 01:01:24 -05:00
João Souto 5c1ab080cd
Remove ansi_term dependency (#4116) 2020-02-24 19:30:17 -05:00
Ryan Dahl 4005174f6c
Revert "Remove ansi_term dependency"
Broke colors
https://github.com/denoland/deno/issues/4112#issuecomment-590545385

This reverts commit c250778704.
2020-02-24 17:18:15 -05:00
João Souto c250778704
Remove ansi_term dependency (#4106) 2020-02-24 10:29:56 -05:00
EnokMan 14129b6c8f
feat: support brotli compression for fetch API (#4082) 2020-02-23 09:37:43 -05:00
Bartek Iwańczuk bd640bc7e6
feat: Deno.fsEvents() (#3452) 2020-02-21 13:21:51 -05:00
木杉 6dd9643845
upgrade: dprint 0.6.1 (#4061) 2020-02-21 00:13:11 -05:00
Ryan Dahl a0d3b4ebc5 v0.34.0 2020-02-20 10:57:42 -05:00
Ryan Dahl f0f807c524
upgrade: dprint 0.6.0 (#4026) 2020-02-18 10:34:24 -05:00
Bartek Iwańczuk 95563476f6
fix(deno test): support directories as arguments (#4011) 2020-02-17 13:11:45 -05:00
Ryan Dahl 87c329c45a
v0.33.0 2020-02-13 17:45:22 -05:00
Ryan Dahl e1105a1594
upgrade: dprint-plugin-typescript 0.5.0 (#3952) 2020-02-10 19:08:49 +01:00
Bert Belder f650c3edb3
Refactor deno_core_http_bench and make it single-threaded (#3903) 2020-02-07 18:17:03 -08:00
Ryan Dahl 0471243334
upgrade: dprint 0.3.0-alpha.6 2020-02-03 15:52:32 -05:00
Bartek Iwańczuk f4cc08c4fc
v0.32.0 2020-02-03 16:36:07 +01:00
Bartek Iwańczuk c7a2a33ea1
chore: upgrade dprint (#3842) 2020-01-31 11:06:42 +01:00
Ryan Dahl 51089836eb
Upgrade Rust crates (#3829) 2020-01-30 10:08:51 -05:00
Bartek Iwańczuk 73a3cc21d0
feat: dprint formatter (#3820)
* rewrite fmt_test in Rust, remove tools/fmt_test.py
* remove //std/prettier
2020-01-29 21:16:48 -05:00
Ryan Dahl d14864c57c
Upgrade rusty_v8 (#3816) 2020-01-29 13:03:42 +01:00
Ryan Dahl 8bc639a23e
v0.31.0 2020-01-24 11:07:53 -05:00
Ryan Dahl 9f1e4237a5
Upgrade rusty_v8 to 0.2.0 (#3764) 2020-01-23 20:22:05 -05:00
Bert Belder 8c3cd634a8
Upgrade to rusty_v8 v0.1.1 (#3741) 2020-01-21 21:31:52 +01:00
Ryan Dahl 7fd50065a7 v0.30.1
This patch release is being done only to test crate publishing, hence
lack of release notes or published binaries.
2020-01-21 12:44:05 -05:00
Bartek Iwańczuk c90036ab88 refactor: reduce number of ErrorKind variants (#3662) 2020-01-20 10:50:16 -05:00
Ryan Dahl b2f01dcb50 v0.30.0 2020-01-18 07:58:49 -05:00
Ry Dahl aedf8721cf
Upgrade crate deps (#3699)
Remove unused tokio-executor dep
2020-01-17 13:57:56 -05:00
Bert Belder d8ad81d3fb
Upgrade to rusty_v8 v0.1.0 (#3691) 2020-01-17 02:26:40 +01:00
Bartek Iwańczuk 8fac8ab130
upgrade: tokio 0.2.9, reqwest 0.10.1 (#3653) 2020-01-12 10:21:53 +01:00
EnokMan 1ea06f9c84 Add gzip, brotli and ETag support for file fetcher (#3597) 2020-01-11 11:11:05 +01:00
Bert Belder c4e8ed3c44 Upgrade to rusty_v8 v0.0.25 (#3645) 2020-01-10 12:57:36 +01:00
Ryan Dahl 525784e564 v0.29.0 2020-01-09 11:42:24 -07:00
Ry Dahl 7d2d442a77
Upgrade rusty_v8 to 0.0.24 [V8 8.1.108] (#3623) 2020-01-08 10:17:09 -05:00
Bert Belder 52a0f3a5ef
Upgrade rust crates and modernize hyper_hello (#3606) 2020-01-05 23:12:35 +01:00
Ry Dahl 76e44ddfd0
Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600) 2020-01-05 11:56:18 -05:00
Ry Dahl 5f1df038fb
Replace libdeno with rusty_v8 (#3556) 2020-01-05 09:19:29 -05:00
Ryan Dahl a61966a243 v0.28.1 2020-01-03 09:04:04 -05:00
Bartek Iwańczuk 5e61af7447
chore: disable default reqwest features (#3586) 2020-01-03 14:15:19 +01:00
Ry Dahl 328fef9cd6
v0.28.0 2020-01-02 08:41:25 -05:00
Bartek Iwańczuk 05dce90165
bump reqwest to 0.10.0 (#3567) 2019-12-30 20:14:52 +01:00
Bartek Iwańczuk 46d76a7562
upgrade: Tokio 0.2 (#3418) 2019-12-30 14:57:17 +01:00
Ryan Dahl fcae4a7c0d v0.27.0 2019-12-18 18:48:41 -05:00
Bartek Iwańczuk e1eb458cad upgrade: tokio 0.2 in deno_core_http_bench, take2 (#3435) 2019-12-15 18:47:26 +08:00
Ryan Dahl 0ce9011edc v0.26.0 2019-12-05 21:41:16 -05:00
Andy Finch 7c3b9b4f4f feat: first pass at native plugins (#3372) 2019-12-05 15:30:20 -05:00
Ry Dahl a537c03df7
Revert "update deno_core_http_bench to Tokio 0.2 (#3408)"
It seems this has caused CI to go red for an unknown reason.

This reverts commit 866dba8aa1.
2019-11-27 08:03:58 -08:00
Bartek Iwańczuk 866dba8aa1 update deno_core_http_bench to Tokio 0.2 (#3408) 2019-11-26 18:07:40 -08:00
Ryan Dahl 2cd22b5437 v0.25.0 2019-11-26 10:01:59 -08:00
Bartek Iwańczuk f437521afb chore: remove unneeded tokio deps (#3376) 2019-11-18 21:11:50 -05:00
Bartek Iwańczuk 8f9a942cb9 Use futures 0.3 API (#3358) 2019-11-16 19:17:47 -05:00
Ryan Dahl 0fffef8e5a v0.24.0 2019-11-14 22:52:58 -05:00
Kevin (Kun) "Kassimo" Qian 4189cc1ab5 Loader: support .wasm imports (#3328)
* loader: support .wasm imports

* http_server: true

* Support named exports

* Clippy
2019-11-14 08:31:39 -05:00
Bert Belder adab69bccc
Upgrade rust crates (#3292) 2019-11-07 16:21:51 -08:00
Ryan Dahl a611788834 v0.23.0 2019-11-04 19:46:27 -05:00
Ryan Dahl 71efe6f2c5 v0.22.0 2019-10-28 14:12:12 -04:00
Bartek Iwańczuk 492b87d460 Add error handling for minimal dispatch (#3176) 2019-10-24 17:22:31 -04:00
Bartek Iwańczuk 029e833075 core: Add ResourceTable (#3150) 2019-10-23 12:32:28 -04:00
Ryan Dahl 4e88ba9a11 v0.21.0 2019-10-19 18:46:02 -04:00
Ryan Dahl a4b27db21a v0.20.0 2019-10-07 12:57:29 -04:00
Ryan Dahl b81e5db17a
Merge deno_cli_snapshots into deno_cli (#3064) 2019-10-04 20:28:51 -04:00
Kevin (Kun) "Kassimo" Qian 6efca6d1a1 Add Deno.hostname() (#3032) 2019-09-27 19:09:42 -04:00
Ryan Dahl 3892cf5901 v0.19.0 2019-09-25 10:58:35 -04:00
Jonathon Orsi 045e74bb39 feat: Add Deno.dialTLS()
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2019-09-23 15:12:42 -04:00
Ryan Dahl 9cfdc60a23
Move integration tests to //cli/tests/ (#2964)
This ensures the deno executable is properly created before running the integration tests.

Also allows deno_cli to be used as a lib. Docs are now properly generated: https://docs.rs/deno_cli/0.18.4/deno_cli/

Towards #2933
Prep for #2955
2019-09-16 21:05:14 -04:00
Ryan Dahl c9ef182886
Make deno_cli installable via crates.io (#2946)
- Fixes cargo publish on deno_typescript, deno_cli_snapshots, and
  deno_cli.
- Combines cli_snapshots and js into one directory.
- Extracts TS version at compile time rather than runtime
- Bumps version awkwardly - it was necessary to test end-to-end
  publishing. Sorry.
- Adds git submodule deno_typescript/typescript
2019-09-15 18:36:27 -04:00
Ryan Dahl 7e3296dad9 v0.18.0 2019-09-13 16:40:08 -04:00
Bert Belder ac68f628d2
Upgrade rust crates 2019-09-13 00:38:02 +02:00
Bert Belder 111b19b0a3
Remove 'integer-atomics' crate 2019-09-13 00:38:02 +02:00
Bartek Iwańczuk acee1944b9 feat: Make integration tests rust unit tests (#2884)
Co-authored-by:  Bartek Iwańczuk <biwanczuk@gmail.com>
2019-09-10 11:09:54 -04:00
Ryan Dahl 35e3c06aed
Revert "feat: use trust-dns-resolver in HTTP client"
It caused the final executable to grow by 1.5 mb, and is not having any
other benefit.

This reverts commit 2b40fa065c.
2019-09-09 20:35:48 -04:00
Bartek Iwańczuk 2b40fa065c feat: use trust-dns-resolver in HTTP client (#2847) 2019-09-07 13:16:36 -04:00
Ryan Dahl 82588ec09c v0.17.0 2019-09-04 17:15:32 -04:00
Ryan Dahl d43b43ca78
Refactor snapshot build (#2825)
Instead of using core/snapshot_creator.rs, instead two crates are
introduced which allow building the snapshot during build.rs.

Rollup is removed and replaced with our own bundler. This removes
the Node build dependency. Modules in //js now use Deno-style imports
with file extensions, rather than Node style extensionless imports.

This improves incremental build time when changes are made to //js files
by about 40 seconds.
2019-09-02 17:07:11 -04:00
Bert Belder 840c4aa2b2
third_party: add 'reqwest' crate and dependencies 2019-08-30 14:47:48 -07:00
Bert Belder e939ec0f21
third_party: upgrade 'rustls' and related crates 2019-08-29 10:45:09 -07:00
Bert Belder 177727d730
third_party: downgrade 'url' crate to version 1.7.2 2019-08-29 10:45:09 -07:00
Ryan Dahl f94900406d
Remove flatbuffers (#2818) 2019-08-26 17:02:34 -04:00
Bert Belder 47c216317f
build: enable 'derive' feature of 'serde' crate 2019-08-22 17:27:51 -07:00
Ryan Dahl 0809b06a39 v0.16.0 2019-08-22 15:11:22 -07:00
Bert Belder 7f9c6decc8
third_party: upgrade rust crates 2019-08-22 14:22:25 -07:00
Ryan Dahl 58f0e9b9b1 v0.15.0 2019-08-13 18:35:04 -04:00
Bert Belder 83d5362f1d
v0.14.0 2019-08-09 03:03:27 +02:00
Bert Belder c6861b537e
third_party: upgrade rust crates 2019-08-02 18:59:54 +02:00
Ryan Dahl b3541c38f5 v0.13.0 2019-07-31 15:09:06 -04:00
Ryan Dahl 4e248ecda9 v0.12.0 2019-07-16 16:08:50 -04:00
Ryan Dahl bd6ebb32df
hyper_hello should be in its own crate (#2641)
So that "cargo build" will build it when the gn frontend is eventually
removed.
2019-07-15 14:00:27 -04:00
Ryan Dahl 92ac616708 v0.11.0 2019-07-07 12:17:46 -04:00
Ryan Dahl c56df45355 v0.10.0 2019-06-25 07:09:46 -07:00
Ryan Dahl 3a4d88475b Port code from Cargo and use for progress
A lot of its functionality is unused still, but the goal it to slowly
migrate logging functionality to it. There is also a useful progress bar
which can be ported over later - it depends on this module.

4c1fa54d10/src/cargo/util/progress.rs
2019-06-25 06:32:28 -07:00
Bert Belder 89216c7baa third_party: add rust crate 'termcolor' 2019-06-25 06:32:28 -07:00
Ryan Dahl 7b06aa3734 v0.9.0 2019-06-15 09:04:57 -07:00
Bert Belder 77737707e4
third_party: upgrade rust crates 2019-06-15 15:20:02 +02:00
Bartek Iwańczuk bca5cc5041 Move ModuleSpecifier to //core (#2509) 2019-06-12 16:55:59 -07:00
Bartek Iwańczuk a115340288 feat: Import maps (#2360) 2019-06-09 09:08:20 -04:00
Ryan Dahl d60bdb6350 v0.8.0 2019-06-08 15:16:34 -04:00
Bert Belder 1540b36ce7
third_party: upgrade rust crates 2019-05-30 11:28:05 -07:00
Ryan Dahl 5265bd7cb1 v0.7.0 2019-05-29 18:42:49 -04:00
Ryan Dahl 22feb74ba1 v0.6.0 2019-05-20 15:22:08 -04:00
Bert Belder 3ff240b963
third_party: add rust crate 'serde_derive' 2019-05-16 20:51:47 -07:00
Bert Belder e9c9d71633
third_party: upgrade rust crates 2019-05-16 20:43:23 -07:00
Ryan Dahl 23aca36d52 v0.5.0 2019-05-11 17:19:21 -04:00
Bert Belder c0341cb1af
third_party: upgrade rust crates 2019-05-11 05:03:03 +02:00
Ryan Dahl 2aae09c2b8 v0.4.0 2019-05-03 19:33:50 -04:00
Ryan Dahl 3b1e2f1ad4 v0.3.11 2019-05-03 18:05:41 -04:00
Kevin (Kun) "Kassimo" Qian 7237e9d34a fs: add Deno.utime/Deno.utimeSync (#2241) 2019-05-01 05:08:11 -04:00
Ryan Dahl 40d8ef1ec9 v0.3.10 2019-04-25 13:59:18 -06:00
Ryan Dahl e725b26b28 v0.3.9 2019-04-25 17:44:34 +02:00
Bert Belder 6caf865507
third_party: upgrade rust crates 2019-04-23 18:01:57 +02:00
Kevin (Kun) "Kassimo" Qian 1d4b92ac85 Add Deno.kill(pid, signo) and process.kill(signo) (Unix only) (#2177) 2019-04-21 21:26:56 -04:00
Ryan Dahl 0796a8f2f7 v0.3.8 2019-04-19 11:41:13 -04:00
Bert Belder 90c2b10f47
Add cli dependency on tokio-rustls 2019-04-17 14:02:20 +02:00
Ryan Dahl 79a974229a
Move deno_core_http_bench into examples dir (#2127) 2019-04-16 17:53:43 -04:00
Bert Belder 97f0fe7437
third_party: upgrade rust crates 2019-04-15 18:56:29 +02:00
Ryan Dahl 8584d80cfd v0.3.7 2019-04-11 15:35:21 -04:00
Bartek Iwańczuk 780e72ab6a Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
Ryan Dahl 744e56cb58 v0.3.6 2019-04-04 09:59:41 -04:00
Bert Belder ff1c80d6d8
third_party: add rust crate 'clap' 2019-03-31 17:55:03 -04:00
Ryan Dahl 3ba4c3c2b0
Remove deno_core_http_bench from core/Cargo.toml (#2023)
So we don't have to have an optional tokio dependency. We build
deno_core_http_bench using GN anyway.
2019-03-31 11:11:36 -04:00
Ryan Dahl e9910d8ae5
Rename crate deno_core to deno (#2022) 2019-03-30 19:30:40 -04:00
Bert Belder 3d6c033369
third_party: upgrade rust crates 2019-03-29 14:50:07 -04:00
Ryan Dahl b965c7ab36 v0.3.5 2019-03-28 16:58:17 -04:00
Ryan Dahl 223a2adbb4 v0.3.4 2019-03-20 18:54:47 -04:00
Ryan Dahl 3dbb06e699 v0.3.3 2019-03-13 13:31:23 -04:00
Ryan Dahl 535037b519 v0.3.2 2019-03-06 21:22:48 -05:00
Ryan Dahl b3b989ffdc
Use deno_core::JSError in deno (#1855)
src/js_errors.rs takes care of source maps and color while
core/js_errors.rs is just the basic struct.
2019-02-28 16:19:04 -05:00
Ryan Dahl b0c7b54f69 v0.3.1 2019-02-27 16:20:10 -05:00
Bert Belder d4e3bf945d
third_party: upgrade rust crates 2019-02-27 10:24:22 -08:00
Bert Belder 15831272bb
core: add Cargo.toml
This aids development using Visual Studio Code. The http_bench can't be
built with cargo yet because it needs to link with libdeno.
2019-02-26 16:23:36 -08:00
Ryan Dahl a5720d9e28 v0.3.0 2019-02-18 23:22:41 -05:00
Bert Belder 9240f9b57f
third_party: upgrade rust crates 2019-02-12 09:30:36 -08:00
Ryan Dahl b2fb8261e7 v0.2.11
- Add deps to --info output (#1720)
- Add --allow-read (#1689)
- Add deno.isTTY() (#1622)
- Add emojis to permission prompts (#1684)
- Add basic WebAssembly support (#1677)
- Add `NO_COLOR` support https://no-color.org/ (#1716)
- Add color exceptions (#1698)
- Fix: do not load cache files when recompile flag is set (#1695)
- Upgrade V8 to 7.4.98 (#1640)
2019-02-08 23:34:05 -05:00
Bert Belder f22e0d72c5
third_party: add the 'regex' crate 2019-02-07 14:46:52 -08:00
Dmitry Sharshakov 5c50d2819b Add emojis to permission prompts (#1684) 2019-02-07 16:19:50 -05:00
Ryan Dahl c324182252 v0.2.10 2019-02-02 18:26:31 -05:00
Ryan Dahl 1681bda14d v0.2.9 2019-01-29 22:57:11 -05:00
Bert Belder c03ff8556b
third_party: add the 'integer-atomics' crate 2019-01-26 16:32:03 +01:00
Bert Belder 6ad2e001b4
third_party: upgrade rust crates 2019-01-26 16:32:02 +01:00
Ryan Dahl a47d545e4d v0.2.8 2019-01-19 11:54:45 -05:00
Ryan Dahl eb4a19ef6e v0.2.7 2019-01-14 20:25:57 -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 9e9550ceea
third_party: upgrade rust crates 2019-01-14 02:18:19 +01:00
Ryan Dahl 404e6f8634 v0.2.6 2019-01-07 17:33:06 -05:00
Ryan Dahl bc2c808da1
Upgrade crates (#1471) 2019-01-07 10:36:08 -05:00
Ryan Dahl 320577c131 v0.2.5 2019-01-01 14:30:23 -05:00
Ryan Dahl c6e2fffc13 v0.2.4
- "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-23 23:39:11 -05:00
Ryan Dahl 63d558da0c
Use flatbuffers from crates.io (#1400) 2018-12-23 12:39:40 -05:00
Yoshiya Hinosawa bee55fcd20 make stdout unbuffered (#1355) 2018-12-22 23:53:29 -05:00
Ryan Dahl aa66ef98ea
travis: Set CARGO_HOME to third_party/rust_crates (#1370)
Adds prebuilt hyperfine and sccache binaries 

Only build test_cc for LSAN

Add Cargo.lock

Only run benchmarks in master
2018-12-18 21:09:30 -05:00
Ryan Dahl 1f093c12f8 Add sha1 and tempfile crates. 2018-07-29 00:22:39 -04:00
robbym d93bd4b127 Use Cargo to install rust deps into //third_party/rust_crates (#383) 2018-07-18 20:00:53 -04:00