1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00
Commit graph

863 commits

Author SHA1 Message Date
Ryan Dahl
50d6593f6a Fix race condition in chmod test 2018-10-27 08:08:51 -07:00
Ryan Dahl
6adc87e3eb
Ergonomics: Prompt TTY for permission escalation (#1081) 2018-10-27 06:11:39 -07:00
Ryan Dahl
7f204b9803 Remove broken feature: trace() 2018-10-26 13:07:33 -07:00
Ryan Dahl
6bbf0777b1 Remove broken feature: --deps 2018-10-26 13:07:33 -07:00
Kevin (Kun) "Kassimo" Qian
a99aaf5def Add chmod/chmodSync on unix (and fix Cargo.toml) (#1088)
Initial implementation by Srijan Reddy (@srijanreddy98, #672).
2018-10-26 13:01:45 -07:00
Bert Belder
fe97217fa8
ci: peg rust version to 1.30.0 2018-10-26 19:09:38 +02:00
Ryan Dahl
9b8f77f525 Support https in fetch.
fetch should use same hyper connector as import.
2018-10-26 09:40:27 -07:00
Bert Belder
31de3b938c
build: snapshot blob is an input for the snapshot object 2018-10-26 18:03:53 +02:00
Kevin (Kun) "Kassimo" Qian
8500b78955 Add separate http/https cache dirs to DENO_DIR (#971)
Also change remote relative import logic.
2018-10-26 06:55:05 -07:00
Bert Belder
dfe21af237
Disable treat_warnings_as_errors on windows when sccache is in use 2018-10-26 04:14:37 +02:00
David Michael Gregg
61b765e008 Minor text fixes and improvements to Docs.md (#1091) 2018-10-25 17:08:07 -07:00
Ryan Dahl
59acd8d1ac
Turn on treat_warnings_as_errors (#1086)
Fixes #374
2018-10-25 17:05:59 -07:00
Antoine du Hamel
00082352e9 doc: update TS and V8 version in README file
Refs: https://github.com/denoland/deno/pull/980
Refs: https://github.com/denoland/deno/pull/1041
2018-10-25 16:40:22 -07:00
Ryan Dahl
231bb9cfb6 Add error_001.ts to execution time benchmarks.
Ref #1087
2018-10-25 16:12:52 -07:00
Bert Belder
00e4f7cf83
build: fix compatibility with rustc 1.30.0
Additionally:
* Rebuild rust crates when the rustc version changes.
* Fetch all rust ldflags in one exec_script() call instead of two.
2018-10-25 22:48:08 +02:00
Bert Belder
243a3ba2d0
appveyor: fix logic in Get-SaveCache 2018-10-25 22:48:08 +02:00
Kitson Kelly
2cfa608324 Support CheckJS 2018-10-24 15:29:30 -07:00
Ryan Dahl
0501330607 Add libdeno.shared global shared ArrayBuffer. 2018-10-24 14:52:38 -07:00
Ryan Dahl
61cda72881 libdeno: Expose snapshot creation. 2018-10-24 14:52:38 -07:00
Ryan Dahl
6afe94b3c8 libdeno: clean up
- Use a proper class for DenoIsolate.
- Move extern C stuff to api.cc
2018-10-24 14:52:38 -07:00
Ryan Dahl
fd68f85ce8 libdeno: deno_new should take a snapshot parameter. 2018-10-24 14:52:38 -07:00
Ryan Dahl
3438dbe350 Remove deno_ns 2018-10-24 14:52:38 -07:00
Joseph
d2df67e822 fix typos (#1083) 2018-10-24 08:54:34 -07:00
Ryan Dahl
5fbe6a242c
Clean up y-axes on benchmark page. (#1077) 2018-10-24 07:04:33 -07:00
Bert Belder
ae00df73a2
Move eager functions into eager_unix.rs 2018-10-24 11:16:00 +02:00
Bert Belder
58f0547e09
Refactor eager_{read,write,accept}_tcp into separate functions 2018-10-24 11:16:00 +02:00
Kevin (Kun) "Kassimo" Qian
988ec88dd0 Switch to getopts for flag parsing (#1080) 2018-10-23 21:02:43 -07:00
Ryan Dahl
a4fb5175ce
Add node_tcp target to http_benchmark. (#1074) 2018-10-23 15:02:30 -07:00
Bert Belder
e9bf206416
format: don't format files in third_party
It's annoying, and it also makes appveyor slow because it will re-upload
the third_party cache every time something changes in there.
2018-10-23 18:51:06 +02:00
Bert Belder
0dda87f962
third_party: install yapf with pip 2018-10-23 16:51:54 +02:00
Bert Belder
4ceb205512
Bundle pywin32 in third_party 2018-10-23 16:29:46 +02:00
Ryan Dahl
5cf37c2f20 Revert "Support CheckJS"
Broken in master.

This reverts commit dd230d520b.
2018-10-23 07:07:17 -07:00
Kitson Kelly
dd230d520b Support CheckJS 2018-10-23 06:01:11 -07:00
Kitson Kelly
8ef7da2611 Enforce media types 2018-10-23 04:48:00 -07:00
Kitson Kelly
c0492ef061 Make Headers more idiomatic (#1062) 2018-10-23 04:43:43 -07:00
ztplz
de85f94435 improve file_info.ts 2018-10-23 04:42:22 -07:00
Kitson Kelly
64f0dfd50e Improve globals for runtime type library 2018-10-22 19:37:38 -07:00
ztplz
c4bddc4651 Implemente clone for FetchResponse (#1054) 2018-10-21 14:42:18 -07:00
Ryan Dahl
47c96a6152 CI should fail when code isn't formatted. 2018-10-21 13:59:53 -07:00
Ryan Dahl
ae0dec39da Add the right mac rustfmt binary 2018-10-21 13:59:53 -07:00
Ryan Dahl
bb9a927bd5 Add yapf to third_party. 2018-10-21 13:59:53 -07:00
Bert Belder
ef77d6f553
third_party: add the right rustfmt.exe binary 2018-10-21 20:30:16 +02:00
Kyra
fbb3f05b6f Add URLSearchParams (#1049) 2018-10-21 08:07:29 -07:00
Kevin (Kun) "Kassimo" Qian
86409eb836 Add Rust hyper http benchmark (#1043)
* Add go net/http benchmark

* Forget about Go. Let's do Rust Hyper

* Update BUILD.gn

* Rename
2018-10-20 19:56:16 -07:00
Ryan Dahl
c85311dd7d v0.1.9
- Performance and stability improvements on all platforms.
- Add cwd() and chdir() #907
- Specify deno_dir location with env var DENO_DIR #970
- Make fetch() header compliant with the current spec #1019
- Upgrade TypeScript to 3.1.3
- Upgrade V8 to 7.1.302.4
2018-10-20 17:30:17 -07:00
Ryan Dahl
bcf10bcf27 Upgrade V8 to 7.1.302.4 2018-10-20 16:30:02 -07:00
Ryan Dahl
92b0a94c23 Optimization: eager accept 2018-10-20 12:39:56 -07:00
Ryan Dahl
aac9e204b7 Optimization: eager write 2018-10-20 12:39:56 -07:00
Ryan Dahl
2c33334d28 Optimization: eager read
TCP sockets should attempt the non-blocking read in the main thread.
2018-10-20 12:39:56 -07:00
Ryan Dahl
2af25b1957 Allow partial writes.
Do not use tokio_io::io:write_all().
Adds src/tokio_write.rs
2018-10-20 12:39:56 -07:00