summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2020-01-17fix deno_core_http_bench (#3698)Bartek Iwańczuk
2020-01-17feat: support individual async handler for each op (#3690)Andy Finch
2020-01-17Upgrade to rusty_v8 v0.1.0 (#3691)Bert Belder
2020-01-12Create an old program to be used in snapshot. (#3644)Kitson Kelly
2020-01-11refactor: remove Isolate.current_send_cb_info and DenoBuf, port ↵Bartek Iwańczuk
Isolate.shared_response_buf (#3643) * remove Isolate.current_send_cb_info * remove DenoBuf * remove Isolate.shared_ab * port Isolate.shared_response_buf (last bit not ported from libdeno) * add some docs for Isolate and EsIsolate
2020-01-10Upgrade to rusty_v8 v0.0.25 (#3645)Bert Belder
2020-01-09v0.29.0Ryan Dahl
2020-01-08Upgrade rusty_v8 to 0.0.24 [V8 8.1.108] (#3623)Ry Dahl
2020-01-08refactor: module loading in EsIsolate (#3615)Bartek Iwańczuk
* refactored RecursiveLoad - it was renamed to RecursiveModuleLoad, it does not take ownership of isolate anymore - a struct implementing Stream that yields SourceCodeInfo * untangled module loading logic between RecursiveLoad and isolate - that logic is encapsulated in EsIsolate and RecursiveModuleLoad, where isolate just consumes modules as they become available - does not require to pass Arc<Mutex<Isolate>> around anymore * removed EsIsolate.mods_ in favor of Modules and moved them inside EsIsolate * EsIsolate now requires "loader" argument during construction - struct that implements Loader trait * rewrite first methods on isolate as async
2020-01-07core: factor out EsIsolate from Isolate (#3613)Bartek Iwańczuk
2020-01-06refactor: remove core/libdeno.rs (#3611)Bartek Iwańczuk
2020-01-06error on warnings (#3612)Ry Dahl
2020-01-06merge libdeno::DenoIsolate into core::Isolate (#3605)Bartek Iwańczuk
2020-01-05Upgrade rust crates and modernize hyper_hello (#3606)Bert Belder
2020-01-05libdeno: don't pass pointers between core::Isolate and libdeno (#3602)Bartek Iwańczuk
2020-01-05remove libdeno::UserDataScope (#3601)Bartek Iwańczuk
2020-01-05Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600)Ry Dahl
2020-01-05Replace libdeno with rusty_v8 (#3556)Ry Dahl
2020-01-03v0.28.1Ryan Dahl
2020-01-02Add missing year ranges to copyright notices (#3582)Waldir Pimenta
2020-01-02Happy new year! (#3578)Ry Dahl
2020-01-02v0.28.0Ry Dahl
2020-01-02fix typos (#3573)EnokMan
2019-12-30upgrade: Tokio 0.2 (#3418)Bartek Iwańczuk
2019-12-23Upgrades rust to 1.40.0 (#3542)Axetroy
2019-12-20repl: do not crash on async op reject (#3527)Kevin (Kun) "Kassimo" Qian
2019-12-18v0.27.0Ryan Dahl
2019-12-15upgrade: tokio 0.2 in deno_core_http_bench, take2 (#3435)Bartek Iwańczuk
2019-12-08Replace deprecated GetContent with GetBackingStore (#3458)Kevin (Kun) "Kassimo" Qian
2019-12-08fix isolate tests (#3459)Bartek Iwańczuk
Some tests were silently failing after #3358 and #3434 because pool.spawn_ok was used which doesn't panic on errors. For reference, the failure looked like this: thread '<unnamed>' panicked at 'assertion failed: match isolate.poll_unpin(cx) { Poll::Ready(Ok(_)) => true, _ => false, }', core/isolate.rs:1408:7
2019-12-05v0.26.0Ryan Dahl
2019-12-05feat: first pass at native plugins (#3372)Andy Finch
2019-12-02disable eager polling for ops (#3434)Bartek Iwańczuk
2019-11-27Revert "update deno_core_http_bench to Tokio 0.2 (#3408)" Ry Dahl
It seems this has caused CI to go red for an unknown reason. This reverts commit 866dba8aa116677143a354af7f3271e4f9c417e1.
2019-11-26update deno_core_http_bench to Tokio 0.2 (#3408)Bartek Iwańczuk
2019-11-26v0.25.0Ryan Dahl
2019-11-26better error messages for 'relative import path not prefixed with / or ./ or ↵Bartek Iwańczuk
../' (#3405)
2019-11-25better error message for missing module (#3402)Bartek Iwańczuk
2019-11-18feat: op registration during calls (#3375)Andy Finch
2019-11-17fix deno_core_http_bench (#3364)Bartek Iwańczuk
2019-11-17refactor: fixes for futures (#3363)Bartek Iwańczuk
After landing #3358 the benchmarks exploded indicating problems with workers and deno_core_http_bench. This PR dramatically fixes thread/syscall count that showed up on benchmarks. Thread count is not back to previous levels but difference went from hundreds/thousands to about ~50.
2019-11-16Use futures 0.3 API (#3358)Bartek Iwańczuk
2019-11-14v0.24.0Ryan Dahl
2019-11-14refactor: per-worker resource table, take 2 (#3342)Bartek Iwańczuk
- removes global `RESOURCE_TABLE` - resource tables are now created per `Worker` in `State` - renames `CliResource` to `StreamResource` and moves all logic related to it to `cli/ops/io.rs` - removes `cli/resources.rs` - adds `state` argument to `op_read` and `op_write` and consequently adds `stateful_minimal_op` to `State` - IMPORTANT NOTE: workers don't have access to process stdio - this is caused by fact that dropping worker would close stdout for process (because it's constructed from raw handle, which closes underlying file descriptor on drop)
2019-11-13Revert "refactor: per-worker resource table (#3306)"Ryan Dahl
This patch does not work with the recent bundler changes (#3325). Unfortunately I didn't merge master before landing this patch. It has something to do with console.log not working inside the compiler worker. This reverts commit fd62379eafde6571f126df5650b80cfda9f74229.
2019-11-13refactor: per-worker resource table (#3306)Bartek Iwańczuk
- removes global `RESOURCE_TABLE` - resource tables are now created per `Worker` in `State` - renames `CliResource` to `StreamResource` and moves all logic related to it to `cli/ops/io.rs` - removes `cli/resources.rs` - adds `state` argument to `op_read` and `op_write` and consequently adds `stateful_minimal_op` to `State` - IMPORTANT NOTE: workers don't have access to process stdio - this is caused by fact that dropping worker would close stdout for process (because it's constructed from raw handle, which closes underlying file descriptor on drop)
2019-11-13Update to TypeScript 3.7 (#3275)Kitson Kelly
and update to prettier 1.19 Also, update `assert()` and remove not null assertions where possibly in `cli`. Closes #3273
2019-11-07Upgrade rust crates (#3292)Bert Belder
2019-11-07refactor: move Child resource to ops/process.rs (#3291)Bartek Iwańczuk
2019-11-07upgrade: V8 8.0.192Ryan Dahl