Bert Belder
6e7ccf0b49
tools: format .gn files in the 'cli' directory
2019-05-16 19:57:31 -07:00
Bert Belder
6ab2c350b7
build: forward rustc '--cfg' flags correctly
2019-05-16 19:55:45 -07:00
Daiki Ihara
9c9c58c84d
Add permission whitelist docs ( #2365 )
2019-05-16 10:39:19 -04:00
Atty Eleti
6679c4807c
Fix typo in style guide ( #2364 )
2019-05-16 10:37:47 -04:00
Yoshiya Hinosawa
6a5893a269
fmt: use --write option of prettier/main.ts ( #2363 )
...
This is step 1 of the plan outlined here:
https://github.com/denoland/deno/issues/2090#issuecomment-492897028
2019-05-16 10:11:35 -04:00
Ryan Dahl
e02d8bcf18
Remove FileInfo.path
2019-05-15 21:14:17 -04:00
Ryan Dahl
7d25c559fc
Upgrade deno_std
2019-05-15 21:14:17 -04:00
diskkid
2508480465
Add error handling to dispatch_minimal::ops::read/write ( #2349 )
2019-05-15 14:50:54 -04:00
Ryan Dahl
a00fa7056b
Fix command in docs ( #2353 )
2019-05-14 15:23:56 -04:00
Ryan Dahl
160a815767
Rename HTTP benchmarks ( #2350 )
2019-05-14 15:22:50 -04:00
ztplz
5e56e26c8b
Typo ( #2342 )
2019-05-13 07:38:03 -04:00
Ryan Dahl
23aca36d52
v0.5.0
2019-05-11 17:19:21 -04:00
Nikola Ristic
551b56dd85
Typo ( #2337 )
2019-05-11 16:10:19 -04:00
Ryan Dahl
aba952397a
Add progress bar ( #2309 )
2019-05-11 10:23:19 -04:00
Bartek Iwańczuk
2c6b93e0a0
fix: edge case in toAsyncIterator ( #2335 )
2019-05-11 10:05:56 -04:00
Ryan Dahl
cb93246f6d
Reorder benchmark page ( #2314 )
2019-05-11 00:44:48 -04:00
Bert Belder
c0341cb1af
third_party: upgrade rust crates
2019-05-11 05:03:03 +02:00
Bert Belder
369a7ec94e
core: make PinnedBuf::Raw -> PinnedBuf conversion actually a move
2019-05-11 03:13:29 +02:00
Bartek Iwańczuk
1fc61f3b6a
core: Privatize ModuleNameMap SymbolicModule deno_buf ( #2324 )
2019-05-09 16:44:30 -04:00
Vincent LE GOFF
07886a03cc
[manual] fix example ( #2307 )
2019-05-09 13:44:38 -04:00
Kevin (Kun) "Kassimo" Qian
d9cdc6788b
fix: support relative path for whitelisting ( #2317 )
...
Using `std::fs::canonicalize` to expand path to full existing path, such that
later attempt to loop-pop and compare path segment would work.
2019-05-09 12:20:34 -04:00
andy finch
2edee3367d
First pass at permissions whitelist ( #2129 )
2019-05-08 19:20:30 -04:00
Bartek Iwańczuk
ac8c6fec5b
Refactor unit test runner ( #2294 )
...
Properly discovers the permissions needed for each test.
2019-05-08 19:15:24 -04:00
Yingbo (Max) Wang
ec9080f34c
Add Deno.chown ( #2292 )
2019-05-07 21:58:57 -04:00
Bartek Iwańczuk
1f7ad17152
fix: Add all permissions to deno xeval ( #2290 )
2019-05-06 10:48:19 -04:00
Bartek Iwańczuk
482834ba1f
update manual.md for deno v0.4.0 ( #2291 )
2019-05-04 12:19:26 -04:00
Vincent LE GOFF
4861bb8aad
add warning for adblockers ( #2250 )
2019-05-03 20:52:23 -04:00
Ryan Dahl
2aae09c2b8
v0.4.0
2019-05-03 19:33:50 -04:00
Bartek Iwańczuk
5824e55efa
fix: deno version panic ( #2286 )
2019-05-03 18:48:50 -04:00
Ryan Dahl
3b1e2f1ad4
v0.3.11
2019-05-03 18:05:41 -04:00
Bartek Iwańczuk
f6a9d7d717
add "deno run" subcommand ( #2215 )
2019-05-03 17:15:16 -04:00
Kevin (Kun) "Kassimo" Qian
3608117132
feat(cli cmd): deno xeval ( #2260 )
2019-05-03 16:24:09 -04:00
Kevin (Kun) "Kassimo" Qian
401a5c0211
feat: support .mjs extension resolution ( #2283 )
...
Removed `extmap` and added .mjs entry in `map_file_extension`.
The assert in the compiler does not need to be updated, since it is
resolving from the compiled cache instead of elsewhere (notice the .map
is asserted next to it)
2019-05-03 15:03:10 -04:00
Ryan Dahl
4648277fb4
Minor doc edits ( #2231 )
2019-05-03 15:02:14 -04:00
Kevin (Kun) "Kassimo" Qian
6929aba71d
fix: display "-0" for -0 ( #2281 )
...
Added special handling code in js/console.ts
2019-05-03 14:01:20 -04:00
Bert Belder
52830414da
ci: make the sanitize build fast again ( #2280 )
...
sccache doesn't work for cache debug builds at the moment, because it
doesn't support the `-Xclang -fdebug-compilation-dir` flag that has been
added by the most recent V8 upgrade.
This patch should make the asan/lsan job on Travis CI fast again.
2019-05-03 12:54:25 -04:00
Bert Belder
da428b52a1
Bump required rustc version to 1.34.1
2019-05-03 17:13:47 +02:00
Bartek Iwańczuk
459162fc6e
add --no-fetch CLI flag to prevent remote downloads ( #2213 )
2019-05-03 11:09:51 -04:00
Bartek Iwańczuk
bf9b0c8231
Fix: deno --v8-options does not print v8 options ( #2277 )
2019-05-03 08:59:52 -04:00
Kurt Mackey
4d4dcafb96
fixes body formData tests disabled in #2268 ( #2274 )
2019-05-03 00:52:50 -04:00
Ryan Dahl
00ac871607
Optimize read and write ops ( #2259 )
2019-05-03 00:06:43 -04:00
Bert Belder
cfff8a9c1b
ci: run clippy
2019-05-03 03:47:57 +02:00
Bert Belder
8999517421
core,cli: fix clippy warnings
2019-05-03 03:29:42 +02:00
Ryan Dahl
e4354ce739
Re-enable networking unit tests ( #2268 )
...
The following tests were commented out in order to get this to go green :
- bodyMultipartFormData
- bodyURLEncodedFormData
- fetchRequestInitStringBody
- netConcurrentAccept
- netListenAsyncIterator
2019-05-02 17:08:02 -04:00
Bert Belder
48bcfce09e
Work around Windows-only V8 concurrent initialization crash
...
This patch provides a work-around for an apparent V8 bug where
initializing multiple isolates concurrently leads to a crash on
Windows.
At the time of writing the cause of this crash is not exactly
understood, but it seems to be related to the V8 internal
function win64_unwindinfo::RegisterNonABICompliantCodeRange(),
which didn't exist in older versions of V8.
2019-05-02 20:46:56 +02:00
Bert Belder
ae0544b7ce
core: remove support for moving deno_buf ownership from C++ to JavaScript
...
The functionality hasn't been in use for a long time. Without this feature,
the `alloc_ptr` and `alloc_len` fields are no longer necessary.
2019-05-02 06:25:44 +02:00
Kurt Mackey
c05cbc8eac
Add Request global constructor ( #2253 )
2019-05-01 23:56:42 -04:00
Kevin (Kun) "Kassimo" Qian
1dd30f658f
doc: add long about messages for subcommands ( #2264 )
...
Type deno <subcommand> -h to view descriptions.
2019-05-01 19:15:36 -04:00
Ryan Dahl
c171813e89
core: express op as enum ( #2255 )
2019-05-01 18:22:32 -04:00
andy finch
2f4fefd0f6
Async iterator for listener ( #2263 )
2019-05-01 16:58:09 -04:00