Commit graph

122 commits

Author SHA1 Message Date
Ryan Dahl fd432e2346
upgrade: dprint 0.9.5 (#4491) 2020-03-25 17:24:26 -04:00
João Souto 70a5034431
feat: Support Unix Domain Sockets (#4176) 2020-03-23 18:02:51 -04:00
Ryan Dahl b924e5ab7e
v0.37.1 2020-03-23 17:14:34 -04:00
Ryan Dahl d143fe61bc
v0.37.0 2020-03-23 12:28:27 -04:00
bartOssh ec07386067
feat: first pass at "deno upgrade" (#4328) 2020-03-23 11:37:24 -04:00
dubiousjim 69303e2149
refactor: move code from fs.rs into ops/fs.rs (#4428)
This a complex boring PR that shifts around code (primarily) in cli/fs.rs and
cli/ops/fs.rs. The gain of this refactoring is to ease the way for #4188 and
#4017, and also to avoid some future development pain.

Mostly there is no change in functionality. Except:
* squashed bugs where op_utime and op_chown weren't using `resolve_from_cwd`
* eliminated the use of the external `remove_dir_all` crate.
* op_chmod now only queries metadata to verify file/dir exists on Windows (it
  will already fail on Unix if it doesn't)
* op_chown now verifies the file/dir's existence on Windows like chmod does.
2020-03-20 09:46:26 -04:00
Bert Belder a2b2851582
Upgrade rust crates (#4412) 2020-03-17 17:42:22 -07:00
Bartek Iwańczuk bf51f7b2ec
replace source-mappings-map with rust-sourcemap (#4368) 2020-03-14 22:10:23 +01:00
Ryan Dahl 3ed6ccc905
v0.36.0 2020-03-11 19:13:01 -04:00
Ryan Dahl dad8036766
upgrade: dprint 0.8.0 (#4308) 2020-03-10 01:01:33 +01:00
Ryan Dahl 18076db8f0
upgrade rust dependencies (#4270) 2020-03-07 15:51:23 -05:00
Ryan Dahl a29343c7d6 v0.35.0 2020-02-28 23:49:49 -05:00
Ryan Dahl 3eebef39c5
upgrade: dprint 0.7.0 (#4130)
* upgrade: dprint 0.7.0

Also make deno fmt less verbose (like cargo fmt)
2020-02-26 11:50:53 +01:00
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
hazæ41 08686cbc3a
feat: support UDP sockets (#3946) 2020-02-21 11:26:54 -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
Ryan Dahl 161cf7cdfd
refactor: Use Tokio's single-threaded runtime (#3844)
This change simplifies how we execute V8. Previously V8 Isolates jumped
around threads every time they were woken up. This was overly complex and
potentially hurting performance in a myriad ways. Now isolates run on
their own dedicated thread and never move.

- blocking_json spawns a thread and does not use a thread pool
- op_host_poll_worker and op_host_resume_worker are non-operational
- removes Worker::get_message and Worker::post_message
- ThreadSafeState::workers table contains WorkerChannel entries instead
  of actual Worker instances.
- MainWorker and CompilerWorker are no longer Futures.
- The multi-threaded version of deno_core_http_bench was removed.
- AyncOps no longer need to be Send + Sync

This PR is very large and several tests were disabled to speed
integration:
- installer_test_local_module_run
- installer_test_remote_module_run
- _015_duplicate_parallel_import
- _026_workers
2020-02-03 18:08:44 -05: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
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 8bc639a23e
v0.31.0 2020-01-24 11:07:53 -05:00
Bartek Iwańczuk 63293a90e1
refactor: snapshotting (#3753) 2020-01-22 23:58:13 +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
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
Ryan Dahl 525784e564 v0.29.0 2020-01-09 11:42:24 -07: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
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 bfab4ed0df
Happy new year! (#3578) 2020-01-02 15:13:47 -05: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
Ryan Dahl 0ce9011edc v0.26.0 2019-12-05 21:41:16 -05:00