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
Ryan Dahl
35bc9ddf63
Implement deno.readFile()
...
As an example of how to implement ops that have both sync and async
versions.
2018-09-10 00:14:28 -04:00
Ryan Dahl
3afc0b8482
fbs_util.ts -> dispatch.ts
...
And send() -> sendSync()
2018-09-10 00:14:28 -04:00
Ryan Dahl
e226a67948
Add missing ts files to BUILD.gn
2018-09-09 18:47:22 -04:00
Ryan Dahl
787832c68e
Format.
2018-09-03 10:45:58 -04:00
Kitson Kelly
b3dac82887
Remove lib.globals.d.ts
2018-09-01 15:06:03 -04:00
Kitson Kelly
f83aee02e6
Bundle most types into globals.d.ts ( #642 )
2018-09-01 10:45:26 -04:00
Ryan Dahl
d8d5c421c3
Support https imports.
...
Adds hyper-rustls to the build.
Use ring for sha1 instead of "ssh1" crate.
Fixes #528 .
2018-08-30 08:29:28 -04:00
Ryan Dahl
11896647e6
Downgrading tokio to registry version.
...
Prep for rustls.
2018-08-30 08:29:28 -04:00
Bert Belder
ceaf822682
Implement makeTempDirSync()
2018-08-29 22:40:05 +02:00
Bert Belder
4cadf6e609
build: work around sccache false positives due to asm .incbin usage
2018-08-29 12:28:15 +02:00
Bert Belder
ba6514dfcf
build: fix typescript dirs not correctly rebased
2018-08-26 18:27:23 +02:00
Bert Belder
79f60f6731
build: do not bake absolute paths into deno_ns
2018-08-26 18:27:23 +02:00
Bert Belder
3bcf7e271f
Build: make it possible to use ccache/sccache on windows
...
Also auto-detect the availability of sccache in setup.py.
2018-08-25 14:16:41 +02:00
Ryan Dahl
e7cab71574
runtime.ts refactor into compiler.ts ( #564 )
...
Adds compiler_test.ts
2018-08-22 17:17:26 -04:00
Ryan Dahl
868e8d8866
First pass at fetch()
...
With help from Thomas Ghysels <info@thomasg.be>
2018-08-20 16:53:39 -04:00
Thomas Ghysels
7b0618c20b
Add hyper dependencies
2018-08-20 16:53:39 -04:00
Yoshiya Hinosawa
aaabc853e8
chore: move libdeno files to //libdeno/
2018-08-19 11:27:47 -04:00
Ryan Dahl
81b042c8db
Rename :all target to :default
2018-08-18 01:09:48 +02:00
Ryan Dahl
b6912e718a
Remove dead code: src/flatbuffer_builder.cc
2018-08-16 08:40:11 -04:00
Ryan Dahl
36d82374cf
Implement deno_handle_msg_from_js in Rust
...
Fixes #419 , #414 .
2018-08-16 08:40:11 -04:00
Yoshiya Hinosawa
f46c271afc
fix: change :test_cc to v8_executable
2018-08-13 23:42:45 -04:00
Ryan Dahl
02540e559d
Fix transitive rust deps.
...
Use a single out_dir for all rust crates.
2018-08-13 13:27:13 -04:00
Ryan Dahl
c7ce450ee9
Rename mock_runtime_test to libdeno_test
...
Fixes #465
2018-08-11 09:02:07 -07:00
Kitson Kelly
2c8bdd2f5f
Fix stacktraces in deno_ns
2018-08-10 11:50:45 -07:00