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

469 commits

Author SHA1 Message Date
Ryan Dahl
1361e30223 Revert "Refactor dispatch handling (#2452)"
Due to performance regression:
dc60fe9f30 (commitcomment-33943711)

This reverts commit dc60fe9f30.
2019-06-14 13:56:36 -07:00
迷渡
52448f351d feat: URLSearchParams should work with custom iterator (#2512) 2019-06-14 08:46:07 -07:00
andy finch
dc60fe9f30 Refactor dispatch handling (#2452)
Promise id is now created in core and passed back to JS.
2019-06-13 20:43:54 -07:00
Bartek Iwańczuk
fdd2eb5383 expose window.Response (#2515) 2019-06-13 19:53:30 -07:00
迷渡
42d1024cd9 forbidden to set this for setTimeout (#2511) 2019-06-13 08:08:27 -07:00
Kurt Mackey
7bdeee8997 makes global request type an interface (#2503) 2019-06-11 21:32:49 -04:00
Ryan Dahl
912e4f7177
feat: default output filename for deno bundle (#2484)
And improve bundle docs
2019-06-11 14:38:19 -04:00
justjavac
cb58162052 set setTimeout callback's this to window object 2019-06-11 10:09:33 -04:00
迷渡
0efb7c2ab7 fix bug in URL (#2495) 2019-06-10 23:55:38 -04:00
迷渡
5871d22d9b check URLSearchParams.constructor's params (#2488) 2019-06-10 07:20:59 -04:00
Ryan Dahl
8ec5276d30
Add asserts checking that async ops return null (#2463) 2019-06-08 18:11:47 -04:00
Kitson Kelly
307e092753 Add 'bundle' subcommand. (#2467) 2019-06-08 14:42:28 -04:00
Kitson Kelly
a71305b4fe Handle compiler diagnostics in Rust (#2445) 2019-06-04 09:03:56 -04:00
Ryan Dahl
60d4522641
Compiler exit before emit if preEmitDiagnostics found (#2441) 2019-06-03 12:58:49 -04:00
Kitson Kelly
d438a6d259 Upgrade TypeScript to 3.5.1 (#2437) 2019-06-01 11:13:36 -04:00
Kurt Mackey
652be19041 use body when Request instance is passed to fetch (fixes #2433) (#2435) 2019-05-31 17:00:37 -04:00
Ryan Dahl
856c44213b TS compiler refactor
* Compiler no longer has its own Tokio runtime. Compiler handles one
  message and then exits.

* Uses the simpler ts.CompilerHost interface instead of
  ts.LanguageServiceHost.

* avoids recompiling the same module by introducing a hacky but simple
  `hashset<string>` that stores the module names that have been already
  compiled.

* Removes the CompilerConfig op.

* Removes a lot of the mocking stuff in compiler.ts like `this._ts`. It
  is not useful as we don't even have tests.

* Turns off checkJs because it causes fmt_test to die with OOM.
2019-05-29 07:53:39 -04:00
Adam Conrad
9fd4096235 add EventTarget implementation (#2377) 2019-05-27 09:20:34 -04:00
Ryan Dahl
583a646be7
Fix concurrent accepts (#2403) 2019-05-23 21:22:52 +03:00
Ryan Dahl
2952fb5405
Rename --allow-high-precision to --allow-hrtime (#2398) 2019-05-23 19:28:29 +03:00
Ryan Dahl
4a52fd7b61 Upgrade deno_std (#2378) 2019-05-20 10:42:41 -07:00
chiefbiiko
00f6fa46b3 Add crypto.getRandomValues() (#2327) 2019-05-17 14:03:01 -04:00
JaePil Jung
c3a30dd3c3 Delete unnecessary console.log in test code (#2368) 2019-05-17 02:49:20 -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
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
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
Kevin (Kun) "Kassimo" Qian
3608117132 feat(cli cmd): deno xeval (#2260) 2019-05-03 16:24:09 -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
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
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
Kurt Mackey
c05cbc8eac Add Request global constructor (#2253) 2019-05-01 23:56:42 -04:00
andy finch
2f4fefd0f6 Async iterator for listener (#2263) 2019-05-01 16:58:09 -04:00
Kevin (Kun) "Kassimo" Qian
7237e9d34a fs: add Deno.utime/Deno.utimeSync (#2241) 2019-05-01 05:08:11 -04:00
迷渡
bbeb30fc5e Make atob follow the spec (#2242) 2019-04-30 11:25:37 -07:00
Ryan Dahl
a217e55fec
Fix another flaky assert (#2246) 2019-04-30 10:43:00 -07:00
迷渡
4dcdd88155 removes ? from URL when deleting all params (#2217) 2019-04-29 16:45:20 -07:00
Kitson Kelly
1a0f53a807 Add support for custom tsconfig.json (#2089)
Use `--config`
2019-04-29 07:58:31 -07:00
Ryan Dahl
73be183864
Disable flaky assert in killSuccess (#2230) 2019-04-28 14:16:37 -07:00
Ryan Dahl
1af02b405e
Revert "recover: #1517 Kill all pending accepts when TCP listener is closed (#2224)" (#2239)
Crashes while running wrk against
js/deps/https/deno.land/std/http/http_bench.ts

This reverts commit 972ac03858.
2019-04-28 14:15:15 -07:00
迷渡
a4551c853e fix test description for atob (#2232) 2019-04-28 09:14:57 -07:00
Yusuke Sakurai
972ac03858 recover: #1517 Kill all pending accepts when TCP listener is closed (#2224) 2019-04-27 11:33:24 -07:00
迷渡
6c9e0530f5 URLSearchParams init with itself (#2218) 2019-04-27 10:16:28 -07:00
迷渡
8578ed4e7f URLSearchParams deleting appended multiple (#2201) 2019-04-25 09:29:50 -04:00
Ryan Dahl
f694823507
Fix symlinkSyncNotImplemented (#2198) 2019-04-24 20:34:33 -04:00