Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-02-08 | refactor: rename ThreadSafeState, use RefCell for mutable state (#3931) | Bartek Iwańczuk | |
* rename ThreadSafeState to State * State stores InnerState wrapped in Rc and RefCell | |||
2020-02-07 | Add blanket impl for the 'Resource' trait (#3903) | Bert Belder | |
2020-02-07 | Enable thread pool for blocking ops (#3912) | Ryan Dahl | |
2020-02-05 | fix: basic web worker message passing (#3893) | Ryan Dahl | |
Removes OP_HOST_GET_WORKER_LOADED, OP_HOST_POLL_WORKER, OP_HOST_RESUME_WORKER and ready/messageBuffer in cli/js/workers.ts. | |||
2020-02-05 | Move create_channels into worker constructor (#3889) | Ryan Dahl | |
2020-02-04 | refactor: CLI subcommands and argv (#3886) | Bartek Iwańczuk | |
2020-02-03 | refactor: Use Tokio's single-threaded runtime (#3844) | Ryan Dahl | |
This change simplifies how we execute V8. Previously V8 Isolates jumped around threads every time they were woken up. This was overly complex and potentially hurting performance in a myriad ways. Now isolates run on their own dedicated thread and never move. - blocking_json spawns a thread and does not use a thread pool - op_host_poll_worker and op_host_resume_worker are non-operational - removes Worker::get_message and Worker::post_message - ThreadSafeState::workers table contains WorkerChannel entries instead of actual Worker instances. - MainWorker and CompilerWorker are no longer Futures. - The multi-threaded version of deno_core_http_bench was removed. - AyncOps no longer need to be Send + Sync This PR is very large and several tests were disabled to speed integration: - installer_test_local_module_run - installer_test_remote_module_run - _015_duplicate_parallel_import - _026_workers | |||
2020-02-03 | fix: Deno.remove() to properly remove dangling symlinks (#3860) | Rafael Vargas | |
For some reason, the unit tests for Deno.remove() were not being imported to unit_tests.ts and, consequently, not being executed. Thus, I imported them, refactored some existent ones and wrote new ones for the symlink removal case. Since the creation of a symlink is not implemented for Windows yet, assertions that consider this state were added when the tests are executed in this OS. | |||
2020-01-29 | Deno.makeTempDir() check permissions (#3810) | EnokMan | |
2020-01-29 | workers: proper TS libs, more spec-compliant APIs (#3812) | Bartek Iwańczuk | |
* split lib.deno_main.d.ts into: - lib.deno.shared_globals.d.ts - lib.deno.window.d.ts - lib.deno.worker.d.ts * remove no longer used libs: - lib.deno_main.d.ts - lib.deno_worker.d.ts * change module loading to use proper TS library for compilation * align to Worker API spec: - Worker.terminate() - self.close() - self.name | |||
2020-01-27 | refactor: isomorphic snapshot for CLI (#3728) | Bartek Iwańczuk | |
2020-01-26 | Improve support of type definitions (#3755) | Kitson Kelly | |
2020-01-25 | refactor: Modules and Loader trait (#3791) | Bartek Iwańczuk | |
* move is_dyn_import argument from Loader::resolve to Loader::load - it was always kind of strange that resolve() checks permissions. * change argument type from &str to &ModuleSpecifier where applicable | |||
2020-01-25 | Refactor error tracking and scope juggling in deno_core (#3783) | Bert Belder | |
2020-01-24 | s/PinnedBuf/ZeroCopyBuf (#3782) | Ryan Dahl | |
2020-01-24 | Add signal handlers (#3757) | Yoshiya Hinosawa | |
2020-01-22 | Reland "Create an old program to be used in snapshot." (#3747) | Bartek Iwańczuk | |
* read CLI assets from disk during snapshotting | |||
2020-01-21 | Revert "Create an old program to be used in snapshot. (#3644)" | Ry Dahl | |
Ref #3712. This change allowed the deno_typescript crate to reference cli/js/lib.deno_runtime.d.ts which breaks "cargo package". We intend to reintroduce a revised version of this patch later once "cargo package" is working and tested. This reverts commit 737ab94ea1bdf65eeef323ea37e84bcf430fb92c. | |||
2020-01-21 | feat: add AsyncUnref ops (#3721) | Yoshiya Hinosawa | |
This is in order to support features like signal handlers, which shouldn't prevent the program from exiting. | |||
2020-01-21 | refactor: split cli::Worker (#3735) | Bartek Iwańczuk | |
* cli::Worker is base struct to create specialized workers * add MainWorker * add CompilerWorker * refactor WebWorker to use Worker | |||
2020-01-21 | refactor: Rename JS entry functions (#3732) | Bartek Iwańczuk | |
2020-01-21 | refactor: don't create new runtime for fs ops (#3730) | Bartek Iwańczuk | |
2020-01-21 | Implemented alternative open mode in files (#3119) | Michał Sabiniarz | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2020-01-21 | refactor: split worker and worker host logic (#3722) | Bartek Iwańczuk | |
* split ops/worker.rs into ops/worker_host.rs and ops/web_worker.rs * refactor js/workers.ts and factor out js/worker_main.ts - entry point for WebWorker runtime * BREAKING CHANGE: remove support for blob: URL in Worker * BREAKING CHANGE: remove Deno namespace support and noDenoNamespace option in Worker constructor * introduce WebWorker struct which is a stripped down version of cli::Worker | |||
2020-01-20 | refactor: reduce number of ErrorKind variants (#3662) | Bartek Iwańczuk | |
2020-01-20 | refactor: Improve path handling in permission checks (#3714) | Nayeem Rahman | |
2020-01-18 | stabilize net Addr (#3709) | Bartek Iwańczuk | |
Co-authored-by: xiaoxintang <15707971810@163.com> | |||
2020-01-18 | rename dial to connect and dialTLS to connectTLS (#3710) | Bartek Iwańczuk | |
2020-01-17 | workers: minimal error handling and async module loading (#3665) | Bartek Iwańczuk | |
2020-01-16 | fix: Resolve read/write whitelists from CWD (#3684) | Nayeem Rahman | |
2020-01-16 | perf: share http client in file fetcher (#3683) | Bartek Iwańczuk | |
2020-01-16 | feat(fs): add more unix-only fields to FileInfo (#3680) | Kevin (Kun) "Kassimo" Qian | |
2020-01-12 | Create an old program to be used in snapshot. (#3644) | Kitson Kelly | |
2020-01-12 | upgrade: tokio 0.2.9, reqwest 0.10.1 (#3653) | Bartek Iwańczuk | |
2020-01-09 | feat: Deno.args now does not include script (#3628) | Ry Dahl | |
Previously Deno.args was ["script.js", "arg1", "arg2"] Now it is just ["arg1", "arg2"] BREAKING CHANGE | |||
2020-01-08 | Runtime Compiler API (#3442) | Kitson Kelly | |
Also restructures the compiler TypeScript files to make them easier to manage and eventually integrate deno_typescript fully. | |||
2020-01-06 | error on warnings (#3612) | Ry Dahl | |
2020-01-05 | Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600) | Ry Dahl | |
2020-01-04 | Use async at places, use &self instead of self: &Self (#3594) | Gurwinder Singh | |
2020-01-02 | Happy new year! (#3578) | Ry Dahl | |
2020-01-02 | Remove unnecessary use of Pin, use ready! (#3576) | Gurwinder Singh | |
2019-12-31 | refactor: move HttpBody to cli/http_util.rs (#3569) | Bartek Iwańczuk | |
2019-12-30 | upgrade: Tokio 0.2 (#3418) | Bartek Iwańczuk | |
2019-12-23 | Upgrades rust to 1.40.0 (#3542) | Axetroy | |
2019-12-21 | feat: Add Deno.dir("executable") (#3526) | Nayeem Rahman | |
2019-12-18 | Reduce all directory functions to Deno.dir() (#3518) | Ry Dahl | |
2019-12-15 | Feat: Add more dir APIs for Deno (#3491) | Axetroy | |
2019-12-08 | fix: plugin ops should change op count metrics (#3455) | Luca Casonato | |
2019-12-05 | feat: first pass at native plugins (#3372) | Andy Finch | |
2019-12-03 | remove duplicated argv member from ThreadSafeGlobalState (#3433) | Ry Dahl | |