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
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
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
Bartek Iwańczuk
a7992e7703
refactor: use core ResourceTable in cli ( #3206 )
2019-10-28 20:42:44 -04:00
Bartek Iwańczuk
6c5a981fd2
feat: Deno.listenTLS ( #3152 )
2019-10-21 14:38:28 -04:00
Andy Hayden
f7bbd71e21
Update rust to 1.38.0 ( #3030 )
2019-10-03 09:16:06 -04:00
Jonathon Orsi
045e74bb39
feat: Add Deno.dialTLS()
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2019-09-23 15:12:42 -04:00
Bartek Iwańczuk
2a83327a21
fix: replace bad rid panics with errors ( #2870 )
2019-09-10 00:59:40 -04:00
Bartek Iwańczuk
723284fd20
Use 'reqwest' to implement HTTP client ( #2822 )
...
Closes #2720
2019-08-30 14:49:03 -07:00
Bartek Iwańczuk
aaa7a3eac4
use BTreeMap for ResourceTable ( #2721 )
2019-08-04 09:35:03 -04:00
Ryan Dahl
3971dcfe10
Use system rustfmt instead of fixed binary ( #2701 )
2019-07-31 17:11:37 -04:00
Bert Belder
abe8a113ad
Refactor error to use dynamic dispatch and traits
...
This is in preperation for dynamic import (#1789 ), which is more easily
implemented when errors are dynamic.
2019-07-11 14:37:00 -04:00
Bartek Iwańczuk
642eaf97c6
feat: redirect process stdio to file ( #2554 )
2019-06-21 16:00:14 -07:00
Kitson Kelly
425df50484
Combine CLI Errors ( #2487 )
2019-06-19 19:07:01 -07:00
Ryan Dahl
583a646be7
Fix concurrent accepts ( #2403 )
2019-05-23 21:22:52 +03:00
Ryan Dahl
aba952397a
Add progress bar ( #2309 )
2019-05-11 10:23:19 -04: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
Yusuke Sakurai
972ac03858
recover: #1517 Kill all pending accepts when TCP listener is closed ( #2224 )
2019-04-27 11:33:24 -07:00
Ryan Dahl
d2579f4564
core: Rename Behavior to Dispatch ( #2082 )
...
And rename IsolateState to ThreadSafeState.
Also make ThreadSafeState directly implement Dispatch. This is simpler.
2019-04-09 13:11:25 -04:00
Ryan Dahl
2debbdacb9
Merge Worker and Isolate types ( #2078 )
...
Reduces generics.
2019-04-08 17:10:00 -04:00
andy finch
0e7311e171
Non-fatal compile_sync failures ( #2039 )
...
And model worker resources as Stream
2019-04-04 05:33:32 -04:00
andy finch
b0a23beb8f
Add web worker JS API ( #1993 )
...
* Refactored the way worker polling is scheduled and errors are handled.
* Share the worker future as a Shared
2019-04-01 15:09:59 -04:00
Ryan Dahl
e9910d8ae5
Rename crate deno_core to deno ( #2022 )
2019-03-30 19:30:40 -04:00
Kevin (Kun) "Kassimo" Qian
5c4189a3b8
Do not close file on invalid seek mode ( #2004 )
2019-03-26 22:47:17 -04:00
Ryan Dahl
94405bb617
Fix clippy errors and upgrade Rust to 1.33.0 in CI ( #1945 )
2019-03-20 18:55:52 -04:00
andy finch
6131152a57
Remove old Buf definition in cli.rs ( #1971 )
2019-03-19 16:47:35 -04:00
Ryan Dahl
fa3c35301a
Rename //src/ to //cli/ ( #1962 )
...
To better distinguish the deno_core crate from the executable deno,
which will now be called "the cli" internally.
2019-03-19 12:18:05 -04:00