Ryan Dahl
6446bc5328
Move fetch headers into its own file.
2018-11-02 20:50:01 -07:00
Ryan Dahl
edd12b90a8
test_rs needs deno_deps.
2018-11-02 18:14:42 +01:00
Bert Belder
67944f298c
cargo: build only necessary Ninja targets when invoked by RLS
2018-11-01 13:34:16 +01:00
Bert Belder
b73b651612
build: remove absolute path
2018-11-01 13:34:16 +01:00
Ryan Dahl
198e396ead
Support cargo check ( #1128 )
...
- Based on code from @qti3e and @piscisaureus in #724 and #1125
respectively.
- TODO The DENO_BUILD_PATH env var must be supplied and must be an
absolute path, this restriction should be removed in future work.
2018-10-31 11:11:10 -07:00
Ryan Dahl
7c82667f75
Upgrade Flatbuffers. ( #1127 )
...
Use msg_generated.rs as mod instead of crate.
2018-10-31 00:32:42 -07:00
Bartek Iwańczuk
946acbc559
Add resources op ( #1119 )
2018-10-30 12:58:55 -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
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
31de3b938c
build: snapshot blob is an input for the snapshot object
2018-10-26 18:03:53 +02: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
Kevin (Kun) "Kassimo" Qian
988ec88dd0
Switch to getopts for flag parsing ( #1080 )
2018-10-23 21:02:43 -07: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
f18a349fdf
Windows: dont use ts-node symlinked path
2018-10-20 12:09:22 -07:00
Bert Belder
3a6b2f3c71
build: make rollup generate a depfile for the bundle build
2018-10-20 03:42:45 +02:00
Ryan Dahl
213885a9d0
Optimization: Reuse ArrayBuffer during serialization.
2018-10-17 20:20:06 -04:00
Shiva Prasanth
bbf88c5295
Add cwd() and chdir() ( #907 )
2018-10-13 16:03:27 -04:00
Kevin (Kun) "Kassimo" Qian
45d3b8955d
Fix promise reject issue ( #936 )
2018-10-12 14:22:52 -04:00
Kitson Kelly
ec402c6932
Replace globals.d.ts with lib.deno_runtime.d.ts
2018-10-11 20:29:43 -04:00
Bartek Iwańczuk
51f9331ecb
Add deno.metrics()
2018-10-11 15:45:51 -04:00
Ryan Dahl
2f44db6756
Use underscores in filenames.
2018-10-04 00:25:55 -04:00
Ryan Dahl
0422b224e8
First pass at support for TCP servers and clients. ( #884 )
...
Adds deno.listen(), deno.dial(), deno.Listener and deno.Conn.
2018-10-03 23:58:29 -04:00
J2P
ea87034e26
Implemented readDirSync, readDir
2018-10-03 18:22:57 -04:00
Ryan Dahl
0cdf1f451d
Rename tsconfig.generated.json to tsconfig.declarations.json
2018-10-03 16:59:00 -04:00
Kevin (Kun) "Kassimo" Qian
50a9c2b575
Add copyFile/copyFileSync ( #863 )
2018-09-30 18:06:41 -04:00
ztplz
062b22fe56
Add deno.truncate ( #805 )
2018-09-30 15:06:20 -04:00
Ryan Dahl
bcbbee7399
Adds basic File I/O and FD table.
...
Adds deno.stdin, deno.stdout, deno.stderr, deno.open(), deno.write(),
deno.read(), deno.Reader, deno.Writer, deno.copy().
Fixes #721 . tests/cat.ts works.
2018-09-28 20:53:33 -04:00
Ryan Dahl
df09fbad92
Use the thread pool for blocking I/O
2018-09-26 14:43:26 -04:00
Ryan Dahl
4fd2b19f64
Make Deno multithreaded.
...
By using the tokio default runtime.
This patch makes all of the ops thread safe.
Adds libdeno to JS globals to make for easier testing.
Preliminary work for #733 .
2018-09-25 17:02:49 -04:00
Ryan Dahl
7c128df4a0
Use lazy_static for HttpsConnector
...
And rename net.rs to http.rs
Share HTTP connection.
2018-09-25 17:02:49 -04:00
Mani Maghsoudlou
ad5065e23e
Implement deno.readlink() ( #797 )
2018-09-25 00:20:49 -04:00
Bert Belder
d6a97ae4f0
build: always enable clang color output
2018-09-24 13:45:03 -07:00
Kevin (Kun) "Kassimo" Qian
7a0670a951
Implement deno.trace() ( #795 )
2018-09-22 03:59:26 -04:00
Kevin (Kun) "Kassimo" Qian
fab4bdf40d
Add deno.arch/deno.platform ( #773 )
2018-09-20 02:13:59 -04:00
Mani Maghsoudlou
017ef096df
Implement deno.symlink() ( #742 )
2018-09-18 21:38:24 -07:00
Kevin (Kun) "Kassimo" Qian
0185f9f9de
Add the 'dirs' crate, enable the required 'winapi' features
2018-09-16 18:38:41 -07:00
Kitson Kelly
0ef28bec4d
Improve integration of dom_types
2018-09-16 09:10:36 -07:00
Parsa Ghadimi
66c09de967
Rename fetch_types.d.ts to dom_types.d.ts
2018-09-14 12:27:32 -07:00
Parsa Ghadimi
7b7052e1ab
Implement Blob
2018-09-14 10:04:10 -07:00
Yoshiya Hinosawa
0ca7301a2d
feat: add deno.makeTempDir
2018-09-12 22:33:11 -07:00
Bert Belder
410ea92e32
build: rebuild bundle when npm packages are added/removed/updated
2018-09-12 21:25:43 -07:00
Ryan Dahl
cb6c78c6d2
Dedup js source list in BUILD.gn
2018-09-12 14:19:57 -04:00
Mani Maghsoudlou
88d42f0b18
Implement deno.rename() ( #731 )
2018-09-12 11:44:58 -04:00
Kevin (Kun) "Kassimo" Qian
1ffae65165
Add remove(), removeAll().
...
and removeSync(), removeAllSync().
2018-09-12 10:24:17 -04:00
Sajjad Hashemian
7c50c11f40
Implement deno.stat() and deno.lstat()
2018-09-11 16:05:00 -04:00
Sajjad Hashemian
c2663e1d82
Implement deno.mkdir()
2018-09-10 15:02:07 -04:00