Ry Dahl
5f1df038fb
Replace libdeno with rusty_v8 ( #3556 )
2020-01-05 09:19:29 -05:00
Luca Casonato
c41280a057
perf: TextEncoder.encode improvement ( #3596 )
2020-01-04 17:00:03 -05:00
Waldir Pimenta
2a36879e30
Add missing year ranges to copyright notices ( #3582 )
2020-01-02 18:41:59 -05:00
Ry Dahl
bfab4ed0df
Happy new year! ( #3578 )
2020-01-02 15:13:47 -05:00
Bartek Iwańczuk
46d76a7562
upgrade: Tokio 0.2 ( #3418 )
2019-12-30 14:57:17 +01:00
Kevin (Kun) "Kassimo" Qian
df1665a8fc
net: expose shutdown TS def ( #3560 )
2019-12-30 11:30:20 +01:00
Kevin (Kun) "Kassimo" Qian
176d1ff12e
net: expose shutdown() and ShutdownMode ( #3558 )
2019-12-29 10:20:23 -05:00
Alexandre Szymocha
4d4908dde3
Fix: allow reading into a 0-length array ( #3329 )
2019-12-28 08:48:36 -05:00
Kevin (Kun) "Kassimo" Qian
43fb24f4cd
Drop unnecessary Object.assign from createResolvable() ( #3548 )
2019-12-24 21:59:46 -05:00
Nayeem Rahman
f07ffe8980
feat: Add Deno.dir("executable") ( #3526 )
2019-12-21 06:30:13 -05:00
Nayeem Rahman
f4f4c6bcb4
fix: Use sync ops when clearing the console ( #3533 )
2019-12-21 03:58:28 -05:00
Nayeem Rahman
b7b0668c78
feat: Return null on error in Deno.dir() ( #3531 )
2019-12-20 19:06:07 -05:00
Ry Dahl
077b6f7672
Reduce all directory functions to Deno.dir() ( #3518 )
2019-12-18 09:29:00 -05:00
Axetroy
de94698915
Feat: Add more dir APIs for Deno ( #3491 )
2019-12-15 13:14:20 +08:00
Axetroy
83f95fb8df
fetch support URL instance as input ( #3496 )
2019-12-14 20:49:30 +08:00
Kevin (Kun) "Kassimo" Qian
ec7f3ce1c2
timer: due/now Math.max instead of min ( #3477 )
2019-12-10 12:21:30 +01:00
Andy Finch
7c3b9b4f4f
feat: first pass at native plugins ( #3372 )
2019-12-05 15:30:20 -05:00
Kevin (Kun) "Kassimo" Qian
3293725131
Timer/microtask ordering fix ( #3439 )
2019-12-03 22:19:03 -05:00
木杉
537c6b3ed9
fix realpath behavior in windows ( #3425 )
2019-12-01 11:23:35 -08:00
Kevin (Kun) "Kassimo" Qian
f88dc4e197
Add Deno.realpath ( #3404 )
2019-11-26 00:40:57 -08:00
Bartek Iwańczuk
658ec2aaf9
better error message for missing module ( #3402 )
2019-11-25 09:33:23 -05:00
Kitson Kelly
9e97eb2879
Make private namespaces in lib.deno_runtime.d.ts more private ( #3400 )
2019-11-24 10:36:49 -05:00
Kitson Kelly
8d977d0117
feat: Support named exports on bundles. ( #3352 )
2019-11-20 11:02:08 -05:00
Ry Dahl
4902a1cacb
Turn on TS strict mode for deno_typescript ( #3330 )
2019-11-14 15:05:36 -05:00
Kevin (Kun) "Kassimo" Qian
4189cc1ab5
Loader: support .wasm imports ( #3328 )
...
* loader: support .wasm imports
* http_server: true
* Support named exports
* Clippy
2019-11-14 08:31:39 -05:00
Kitson Kelly
9837d324a7
Update to TypeScript 3.7 ( #3275 )
...
and update to prettier 1.19
Also, update `assert()` and remove not null assertions where possibly
in `cli`.
Closes #3273
2019-11-13 13:42:34 -05:00
Kitson Kelly
8d03397293
Make bundles fully standalone ( #3325 )
...
- Bundles are fully standalone. They now include the shared loader with
`deno_typescript`.
- Refactor of the loader in `deno_typescript` to perform module
instantiation in a more
- Change of behaviour when an output file is not specified on the CLI.
Previously a default name was determined and the bundle written to that
file, now the bundle will be sent to `stdout`.
- Refactors in the TypeScript compiler to be able to support the concept
of a request type. This provides a cleaner abstraction and makes it
easier to support things like single module transpiles to the userland.
- Remove a "dangerous" circular dependency between `os.ts` and `deno.ts`,
and define `pid` and `noColor` in a better way.
- Don't bind early to `console` in `repl.ts`.
- Add an integration test for generating a bundle.
2019-11-13 10:35:56 -05:00
木杉
0f33bf6885
fix url parse bug ( #3316 )
2019-11-12 13:45:48 -05:00
Yoshiya Hinosawa
31115067cd
Add permissions.request ( #3296 )
2019-11-11 10:33:29 -05:00
Bartek Iwańczuk
335e8bd33c
refactor: worker is no longer a resource ( #3290 )
2019-11-09 12:07:14 -08:00
Nayeem Rahman
d586f119fa
net: Check for closing status when iterating Listener ( #3309 )
...
std/http/server.ts: Use listener.next() instead of listener.accept()
2019-11-09 14:40:22 -05:00
Ry Dahl
1726194452
Revert "reduce redundancies in the fetch code ( #3249 )" ( #3264 )
...
Max latency benchmark went to zero for deno_proxy.
This reverts commit 65e9179672
2019-11-04 19:10:54 -05:00
Bartek Iwańczuk
0049d4e50c
Refactor Worker and ThreadSafeState ( #3242 )
...
* Split ThreadSafeState into State and GlobalState. State is a "local"
state belonging to "Worker" while "GlobalState" is state shared by
whole program.
* Update "Worker" and ops to use "GlobalState" where applicable
* Move and refactor "WorkerChannels" resource
2019-11-04 10:38:52 -05:00
Nick Stott
65e9179672
reduce redundancies in the fetch code ( #3249 )
2019-11-02 11:47:55 -04:00
Ry Dahl
af61dbed87
Upgrade node_modules, change tagline, clean up root directory ( #3247 )
...
* Upgrade node_modules
* Simplify tagline
* Move gclient_config.py out of root
* Move package.json to tools
* Remove yarn.lock
* Remove CONTRIBUTING.md
2019-10-31 19:33:27 -07:00
Kevin (Kun) Kassimo Qian
9d6cbb73a8
cli: replace timer map with red-black tree ( #3218 )
...
This avoids a crash when the Deno process has been running for
2**32 ms (about 50 days). Additionaly, time complexity of finding which
timer is due to fire next is reduced from from O(n) to O(log n).
2019-10-31 17:11:58 -07:00
Sven Nicolai Viig
d7a5aed511
Adds custom inspect method for URL ( #3241 )
2019-10-31 14:55:54 -04:00
Yoshiya Hinosawa
4f8c936974
Make EOF unique symbol ( #3244 )
2019-10-31 10:57:09 -04:00
Ry Dahl
8f571ef166
Remove TTY tests - dead code ( #3229 )
2019-10-29 17:52:57 -04:00
Andy Hayden
3c2399e437
Use top-level await in jsdoc examples ( #3239 )
2019-10-29 17:11:41 -04:00
Kevin (Kun) "Kassimo" Qian
2f0f236d56
Prevent customInspect error from crashing console ( #3226 )
2019-10-28 18:29:15 -04:00
Nick Stott
65d9286203
Re-enable basic stream support for fetch bodies ( #3192 )
...
* Add sd-streams from https://github.com/stardazed/sd-streams/blob/master/packages/streams/src/
* change the interfaces in dom_types to match what sd-streams expects
2019-10-28 12:41:36 -04:00
Rory Malcolm
967c236fa5
Add CustomInspect for Headers ( #3130 )
...
Worth noting due to implementation of the Headers class the contents of headersMap have lowercase keys, although this matches the specification as header keys are case agnostic it does seem to not match behaviour of other implementations in other languages I have seen, would require some rewriting of Headers.ts
2019-10-28 12:23:39 -04:00
Yoshiya Hinosawa
efd7e78af3
Use web standard Permissions API ( #3200 )
2019-10-27 11:22:53 -04:00
Andy Hayden
aec5a646c9
feat: top-level-for-await ( #3212 )
2019-10-27 09:04:42 -04:00
Kitson Kelly
c5fe657dd3
Use a more performant utf8 decoder algorithm. ( #3204 )
...
Fixes #3163
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
Co-authored-by: Qwerasd <qwerasd205@users.noreply.github.com>
2019-10-26 10:51:53 -04:00
Bartek Iwańczuk
dfcdc03152
fix: handle malformed control buffers ( #3202 )
2019-10-25 13:23:16 -04:00
Bartek Iwańczuk
492b87d460
Add error handling for minimal dispatch ( #3176 )
2019-10-24 17:22:31 -04:00
Ry Dahl
1d8f3cc896
Remove old website ( #3194 )
...
Move manual.md and style_guide.md into //std so they can be accessed
from https://deno.land/std/manual.md
Code for new website is https://github.com/denoland/deno_website2
Co-authored-by: Christian Moritz <chrmoritz@gmail.com>
2019-10-24 16:14:05 -04:00
Yoshiya Hinosawa
2804ba8674
remove --no-prompt flag, fail on missing permissions ( #3183 )
2019-10-22 19:35:43 -04:00