summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
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
2019-10-15perf: fairer ops scheduling (#3128)Bartek Iwańczuk
2019-10-14perf: eager poll async ops in Isolate (#3046)Bartek Iwańczuk
2019-10-07v0.20.0Ryan Dahl
2019-10-06Upgrade V8 to 7.9.218 (#3067)Ryan Dahl
2019-10-05remove appveyor specific code paths (#3071)Christian Moritz
2019-10-03Update rust to 1.38.0 (#3030)Andy Hayden
2019-10-02remove legacy Isolate.set_dispatch API (#3041)Bartek Iwańczuk
* migrate deno_typescript crate to Isolate.register_op API * remove dual-dispatch mechanism * update Isolate tests to new dispatch mechanism
2019-09-30feat: op registration in core (#3002)Bartek Iwańczuk
2019-09-25v0.19.0Ryan Dahl
2019-09-24Upgrade V8 for top-level-await (#3015)Ryan Dahl
2019-09-15Make deno_cli installable via crates.io (#2946)Ryan Dahl
- Fixes cargo publish on deno_typescript, deno_cli_snapshots, and deno_cli. - Combines cli_snapshots and js into one directory. - Extracts TS version at compile time rather than runtime - Bumps version awkwardly - it was necessary to test end-to-end publishing. Sorry. - Adds git submodule deno_typescript/typescript
2019-09-15Move GN root into //core/libdeno (#2943)Christian Moritz
2019-09-13v0.18.0Ryan Dahl
2019-09-13Upgrade rust cratesBert Belder
2019-09-12feat: add bindings to run microtasks from Isolate (#2793)Bartek Iwańczuk
2019-09-11fix: panic during fetch (#2925)Bartek Iwańczuk
2019-09-07Update @typescript-eslint/* to v2.1.0 (#2878)Yoshiya Hinosawa
2019-09-06build: on windows, don't pass -glldb to clang (#2874)Bert Belder
2019-09-06Remove tools/build.py (#2865)Ryan Dahl
Testing regression: ASAN build removed.
2019-09-04v0.17.0Ryan Dahl
2019-09-04perf: less aggresive dyn import polling (#2858)Bartek Iwańczuk
2019-09-02Refactor snapshot build (#2825)Ryan Dahl
Instead of using core/snapshot_creator.rs, instead two crates are introduced which allow building the snapshot during build.rs. Rollup is removed and replaced with our own bundler. This removes the Node build dependency. Modules in //js now use Deno-style imports with file extensions, rather than Node style extensionless imports. This improves incremental build time when changes are made to //js files by about 40 seconds.
2019-08-31Add window.queueMicrotask (#2844)Kevin (Kun) "Kassimo" Qian
2019-08-29third_party: downgrade 'url' crate to version 1.7.2Bert Belder
2019-08-26Clean up various flatbuffer references (#2819)Ryan Dahl
2019-08-26fix: shared queue requires aligned buffer (#2816)Bartek Iwańczuk