Nayeem Rahman
718c8c4360
Fix path normalization in resolve_from_cwd() ( #2875 )
2019-09-07 14:13:09 -04:00
Bartek Iwańczuk
2b40fa065c
feat: use trust-dns-resolver in HTTP client ( #2847 )
2019-09-07 13:16:36 -04:00
Nayeem Rahman
8e3c879d13
Add default-run (+ clean up old references) ( #2876 )
2019-09-06 22:31:56 -04:00
Ryan Dahl
acaff6d056
Remove tools/build.py ( #2865 )
...
Testing regression: ASAN build removed.
2019-09-06 20:32:58 -04:00
Yoshiya Hinosawa
595b4daa77
Remove replacements hack in deno_typescript ( #2864 )
2019-09-06 12:57:15 -04:00
Ryan Dahl
9d62d77cfa
Run tests after "cargo build" on travis ( #2854 )
2019-09-04 17:16:46 -04:00
Ryan Dahl
82588ec09c
v0.17.0
2019-09-04 17:15:32 -04:00
Yoshiya Hinosawa
249db0f7d9
Handle typescript version in rust ( #2855 )
2019-09-03 22:12:21 -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
Yoshiya Hinosawa
56508f113d
ops/fetch: add statusText ( #2851 )
2019-09-02 12:30:14 -04:00
Nayeem Rahman
0ce15f08c7
Remove DenoSubcommand::Install ( #2846 )
2019-09-01 14:20:23 -04:00
Bartek Iwańczuk
723284fd20
Use 'reqwest' to implement HTTP client ( #2822 )
...
Closes #2720
2019-08-30 14:49:03 -07:00
Bert Belder
840c4aa2b2
third_party: add 'reqwest' crate and dependencies
2019-08-30 14:47:48 -07:00
Ryan Dahl
c370f749b2
Remove ts_library_builder, maintain lib.deno_runtime.d.ts by hand ( #2827 )
2019-08-30 11:11:33 -04: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
Bert Belder
89794d5d34
build: make it possible to pass arbitrary env vars to rustc
2019-08-29 10:45:00 -07:00
Ryan Dahl
2b79552dd1
Internalize base64-js, convert to TypeScript
2019-08-28 18:25:15 -04:00
Ryan Dahl
45ddff14b2
Remove unused GN action
2019-08-28 18:25:15 -04:00
Bartek Iwańczuk
20739a8111
feat: implement Addr interface ( #2821 )
2019-08-27 11:35:32 -04:00
Ryan Dahl
725eb98105
Clean up various flatbuffer references ( #2819 )
2019-08-26 22:29:51 -04:00
Ryan Dahl
f94900406d
Remove flatbuffers ( #2818 )
2019-08-26 17:02:34 -04:00
Ryan Dahl
d8ada4d3fc
Port readSync/writeSync ops to minimal
...
This removes dispatch_flatbuffers as it is now unused. There are still a
few places where msg_generated is used: ErrorKind and MediaType. These
will be dealt with later.
2019-08-26 14:56:42 -04:00
Bartek Iwańczuk
a6f6209f52
port fs ops to JSON ( #2812 )
2019-08-26 10:18:42 -04:00
Bartek Iwańczuk
520f9631e0
bring back json ops ( #2815 )
2019-08-26 08:50:21 -04:00
Bartek Iwańczuk
017f88ee99
fix: shared queue requires aligned buffer ( #2816 )
2019-08-26 07:48:40 -04:00
Ryan Dahl
2235dd795d
Revert json ops ( #2814 )
...
* Revert "port more ops to JSON (#2809 )"
This reverts commit 137f33733d
.
* Revert "port ops to JSON: compiler, errors, fetch, files (#2804 )"
This reverts commit 79f82cf10e
.
* Revert "Port rest of os ops to JSON (#2802 )"
This reverts commit 5b2baa5c99
.
2019-08-24 13:20:48 -07:00
Bartek Iwańczuk
137f33733d
port more ops to JSON ( #2809 )
2019-08-24 08:31:14 -07:00
Bartek Iwańczuk
79f82cf10e
port ops to JSON: compiler, errors, fetch, files ( #2804 )
2019-08-24 06:02:42 -07:00
Ryan Dahl
5b2baa5c99
Port rest of os ops to JSON ( #2802 )
2019-08-24 05:13:50 -07:00
Ryan Dahl
bc467b265f
introduce JSON serialization for ops ( #2799 )
...
Converts env(), exit(), execPath(), utime() and utimeSync() to use JSON
instead of flatbuffers.
2019-08-22 22:30:14 -07: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
Kitson Kelly
6c7d337960
Support .d.ts files ( #2746 )
...
Fixes #1432
2019-08-22 12:05:01 -04:00
Ryan Dahl
bdc97b3976
Organize dispatch a bit ( #2796 )
...
Just some clean up reorganization around flatbuffer/minimal dispatch
code. This is prep for adding a JSON dispatcher.
2019-08-21 20:42:48 -04:00
Bartek Iwańczuk
389763c04e
bump test runner revision ( #2800 )
2019-08-21 13:49:48 -04:00
Bartek Iwańczuk
4faab6a74b
fix: handle tsconfig.json with comments ( #2773 )
2019-08-17 12:53:34 -04:00
Ryan Dahl
de713e42c8
Upgrade to rust 1.37.0 ( #2786 )
2019-08-16 20:49:00 -04:00
Bartek Iwańczuk
1978358328
chore: bump test runner version ( #2784 )
2019-08-16 18:20:36 -04:00
Ryan Dahl
81f809f2a6
Revert "Remove dead code: legacy read/write ops"
...
This is causing a segfault for unknown reasons - see #2787 .
This reverts commit 498f6ad431
.
2019-08-16 14:41:08 -04:00
Nayeem Rahman
52a66c2796
Fix import map panics, use import map's location as its base URL ( #2770 )
2019-08-15 13:58:04 -04:00
Bartek Iwańczuk
d2d3afaf2d
add deno test subcommand ( #2783 )
2019-08-15 10:11:52 -04:00
Ryan Dahl
498f6ad431
Remove dead code: legacy read/write ops ( #2776 )
...
readSync and writeSync use dispatch_minimal now.
2019-08-14 19:54:35 -04:00
Bartek Iwańczuk
e6c349af9f
split up ops.rs ( #2753 )
...
Note cli/dispatch_minimal.rs ops are not yet included in cli/ops.
This is part of work towards #2730
2019-08-14 11:03:02 -04:00
Ryan Dahl
58f0e9b9b1
v0.15.0
2019-08-13 18:35:04 -04:00
Ryan Dahl
1f8b1a587c
Dynamic import should respect permissions ( #2764 )
2019-08-13 14:51:15 -04:00
Nayeem Rahman
1947f572d7
Fix permission requirements for Deno.rename() and Deno.link() ( #2737 )
2019-08-13 09:39:01 -04:00
Bert Belder
c3afa55751
Propagate Url::to_file_path() errors instead of panicking ( #2771 )
...
* Propagate Url::to_file_path() errors instead of panicking
2019-08-13 03:52:03 +02:00
Bartek Iwańczuk
9bd473d8ac
feat: print cache location when no arg in deno info ( #2752 )
2019-08-11 18:43:01 -06:00