罗文
80b1371548
fmt: allow configuration of Prettier options ( #3314 )
2019-11-13 11:21:17 -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
Vincent LE GOFF
ee1b8dc883
feat: std/node ( #3319 )
2019-11-12 15:51:14 -05:00
木杉
0f33bf6885
fix url parse bug ( #3316 )
2019-11-12 13:45:48 -05:00
罗文
7ba42ee4a6
flags: bump deno_std to v0.23.0 ( #3322 )
2019-11-12 08:34:09 -05:00
Yoshiya Hinosawa
31115067cd
Add permissions.request ( #3296 )
2019-11-11 10:33:29 -05:00
木杉
b3baab6d14
fix manual ( #3313 )
...
PS C:\Users\zhbnh> git config --global core.symlinks=true
error: invalid key: core.symlinks=true
2019-11-10 09:59:17 -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
罗文
9889a28008
upgrade: Prettier 1.19.1 ( #3305 )
2019-11-09 08:24:43 -05:00
Yoshiya Hinosawa
54f23b7caa
test: re-enable integration test 045 ( #3300 )
...
This test was improved in #3185 .
2019-11-08 20:11:22 -08:00
Ryan Dahl
964b84091a
disable flaky test
2019-11-08 17:27:09 -05:00
Ryan Dahl
97ceea49f5
Add jsdoc for std/http/http_status.ts
...
The website documentation now supports enums
6f4fb0f5a3
2019-11-08 17:27:09 -05:00
Bert Belder
adab69bccc
Upgrade rust crates ( #3292 )
2019-11-07 16:21:51 -08:00
Bartek Iwańczuk
c57207e96a
refactor: move Child resource to ops/process.rs ( #3291 )
2019-11-07 18:52:21 -05:00
Ryan Dahl
b3c0e1c3e8
Rebase v8 changes in third_party
2019-11-07 18:31:48 -05:00
Ryan Dahl
508d728b5e
upgrade: V8 8.0.192
2019-11-07 17:58:05 -05:00
Ryan Dahl
e1d1836854
disable flaky test
2019-11-07 17:58:05 -05:00
Ry Dahl
2cf0866ba3
upgrade: Rust 1.39.0 ( #3286 )
2019-11-07 11:21:45 -08:00
Ry Dahl
709cb3c9ba
Fix jsdoc in std/http/server.ts ( #3284 )
2019-11-07 11:00:27 -08:00
Bartek Iwańczuk
25c276055b
refactor: remove cli::resources::Resource ( #3285 )
2019-11-07 11:11:15 -05:00
Bartek Iwańczuk
415d4c2e52
refactor: rewrite accept resources ( #3271 )
2019-11-07 09:59:02 -05:00
Ry Dahl
f466ef9706
manual: add chocolatey install instructions ( #3280 )
2019-11-06 21:05:37 -08:00
Liam Perlaki
ccc9f1ae5e
Allow http server to take { hostname, port } argument ( #3233 )
2019-11-06 12:18:28 -05:00
Ry Dahl
5c1deac0cf
Remove CoreResource::inspect_repr method ( #3274 )
...
Towards simplifying (or better removing entirely) the CoreResource
trait. Resources should be any bit of privileged heap allocated memory
that needs to be referenced from JS, not very specific trait
implementations. Therefore CoreResource should be pushed towards being
as general as possible.
2019-11-06 12:17:28 -05:00
Andy Hayden
92b8674162
Exclude prebuilt from deno_src release ( #3272 )
2019-11-05 17:06:16 -05:00
Ry Dahl
adc3467c9c
Disable flaky tests ( #3270 )
2019-11-05 15:45:00 -05:00
Ryan Dahl
a611788834
v0.23.0
2019-11-04 19:46:27 -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
Ry Dahl
c04ff22afe
Remove tsconfig files - they are not part of build process ( #3262 )
2019-11-04 18:13:28 -05:00
Kevin (Kun) "Kassimo" Qian
0644f9c1a6
std/http: add serveTLS and listenAndServeTLS ( #3257 )
2019-11-04 13:45:29 -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
James Wright
429439d198
Consolidates asserts#equal branches for keyed collections (Map/Set) and supports deep equality of Map keys ( #3258 )
2019-11-04 10:21:42 -05:00
Ry Dahl
86b3ac5108
feat: lockfiles ( #3231 )
...
Use --lock-write=lock.json or --lock-check=lock.json on the command
line.
2019-11-03 10:39:27 -05:00
Nick Stott
65e9179672
reduce redundancies in the fetch code ( #3249 )
2019-11-02 11:47:55 -04:00
Kang Huaishuai
36d4256f1c
Upgrade github actions mac environment to macos-latest ( #3250 )
2019-10-31 19:36:22 -07: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
James Wright
64957d92ef
Support for deep Map
equality with asserts#equal
( #3236 )
2019-10-29 20:23:54 -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
Ry Dahl
14713adca5
Rename Github Actions workflow ( #3238 )
2019-10-29 17:07:15 -04:00
Andy Hayden
49e04fb240
fix race condition in test http server ( #3237 )
2019-10-29 16:06:14 -04:00
Joseph Sintum
0d41b10ade
Update broken links ( #3225 )
2019-10-29 05:17:58 -04:00
Ry Dahl
38f01f73a4
Move prebuilt binaries to third_party ( #3227 )
2019-10-28 22:04:24 -04:00
Bartek Iwańczuk
a7992e7703
refactor: use core ResourceTable in cli ( #3206 )
2019-10-28 20:42:44 -04:00
Kevin (Kun) "Kassimo" Qian
2f0f236d56
Prevent customInspect error from crashing console ( #3226 )
2019-10-28 18:29:15 -04:00
Andy Hayden
f484776384
Use top-level for-await in various places ( #3217 )
2019-10-28 15:58:35 -04:00