summaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
2019-11-22minor clean ups in TS compiler (#3394)Bartek Iwańczuk
2019-11-20feat: Support named exports on bundles. (#3352)Kitson Kelly
2019-11-19remove tokio_util::block_on from ops/workers.rs (#3381)Bartek Iwańczuk
2019-11-19fix: use AF_INET6 in ./tools/http_server.py (#3374)Bartek Iwańczuk
2019-11-18chore: remove unneeded tokio deps (#3376)Bartek Iwańczuk
2019-11-18feat: add --check for deno fmt (#3369)罗文
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 async to replace FutureExt in lib.rs (#3359)Kevin (Kun) "Kassimo" Qian
2019-11-16Use futures 0.3 API (#3358)Bartek Iwańczuk
2019-11-16fmt: respect prettierrc and prettierignore (#3346)罗文
2019-11-15run std test with cargo test (#3344)Bartek Iwańczuk
Removes three CI jobs
2019-11-15Fix remote .wasm import content type issue (#3351)Kevin (Kun) "Kassimo" Qian
2019-11-14v0.24.0Ryan Dahl
2019-11-14Turn on TS strict mode for deno_typescript (#3330)Ry 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-14Loader: support .wasm imports (#3328)Kevin (Kun) "Kassimo" Qian
* loader: support .wasm imports * http_server: true * Support named exports * Clippy
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-13Revert "tests: share http server between tests (#3336)"Ryan Dahl
This reverts commit dbf861f8a02f4a90ef68a4e2741b973becc53438.
2019-11-13tests: share http server between tests (#3336)Bartek Iwańczuk
Re-enable flaky tests
2019-11-13Disable flaky tests lock_check_ok2 again (#3334)Ry Dahl
Mistakenly re-enabled in #3275.
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-13Disable flaky tests lock_check_ok2 and lock_check_err2 (#3331)Ry Dahl
2019-11-13fmt: allow configuration of Prettier options (#3314)罗文
2019-11-13Make bundles fully standalone (#3325)Kitson Kelly
- 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-12fix url parse bug (#3316)木杉
2019-11-12flags: bump deno_std to v0.23.0 (#3322)罗文
2019-11-11Add permissions.request (#3296)Yoshiya Hinosawa
2019-11-09refactor: worker is no longer a resource (#3290)Bartek Iwańczuk
2019-11-09net: Check for closing status when iterating Listener (#3309)Nayeem Rahman
std/http/server.ts: Use listener.next() instead of listener.accept()
2019-11-08test: re-enable integration test 045 (#3300)Yoshiya Hinosawa
This test was improved in #3185.
2019-11-08disable flaky testRyan Dahl
2019-11-07Upgrade rust crates (#3292)Bert Belder
2019-11-07refactor: move Child resource to ops/process.rs (#3291)Bartek Iwańczuk
2019-11-07disable flaky testRyan Dahl
2019-11-07upgrade: Rust 1.39.0 (#3286)Ry Dahl
2019-11-07refactor: remove cli::resources::Resource (#3285)Bartek Iwańczuk
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-05Disable flaky tests (#3270)Ry Dahl
2019-11-04v0.23.0Ryan Dahl
2019-11-04Revert "reduce redundancies in the fetch code (#3249)" (#3264)Ry Dahl
Max latency benchmark went to zero for deno_proxy. This reverts commit 65e91796720ea68d69ac7f925a8f239aee8fb19e
2019-11-04Remove tsconfig files - they are not part of build process (#3262)Ry Dahl
2019-11-04Refactor Worker and ThreadSafeState (#3242)Bartek Iwańczuk
* 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-03feat: lockfiles (#3231)Ry Dahl
Use --lock-write=lock.json or --lock-check=lock.json on the command line.
2019-11-02reduce redundancies in the fetch code (#3249)Nick Stott
2019-10-31Upgrade node_modules, change tagline, clean up root directory (#3247)Ry Dahl
* 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-31cli: replace timer map with red-black tree (#3218)Kevin (Kun) Kassimo Qian
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-31Adds custom inspect method for URL (#3241)Sven Nicolai Viig
2019-10-31Make EOF unique symbol (#3244)Yoshiya Hinosawa