summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
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
2019-11-07refactor: rewrite accept resources (#3271)Bartek Iwańczuk
2019-11-06Remove CoreResource::inspect_repr method (#3274)Ry Dahl
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-04v0.23.0Ryan Dahl
2019-10-28refactor: use core ResourceTable in cli (#3206)Bartek Iwańczuk
2019-10-28v0.22.0Ryan Dahl
2019-10-23core: Add ResourceTable (#3150)Bartek Iwańczuk
2019-10-23refactor DenoPermissions.check_net & resolve_addr (#3182)EnokMan
2019-10-22core: gracefully handle bad op id (#3131)Bartek Iwańczuk
2019-10-19v0.21.0Ryan Dahl
2019-10-19feat: Allow "deno eval" to run code as module (#3148)Kevin (Kun) "Kassimo" Qian