Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-02-11 | chore: share HTTP server between tests (#3966) | Bartek Iwańczuk | |
2020-02-11 | dont use env vars in multiple installer tests (#3967) | Bartek Iwańczuk | |
2020-02-11 | feat(node): add EventEmitter.errorMonitor (#3960) | Chris Knight | |
2020-02-11 | fix(file_server): don't crash on "%" pathname (#3953) | 木杉 | |
2020-02-11 | update references to testing/mod.ts in manual (#3973) | Bartek Iwańczuk | |
2020-02-11 | refactor: rewrite tests in std/ to use Deno.test (#3930) | Bartek Iwańczuk | |
2020-02-11 | refactor: Remove atomics from metrics (#3968) | Bartek Iwańczuk | |
* replace "AtomicUsize" with "u64" for field type on "Metrics" * move "compiler_starts" field from "Metrics" to "GlobalState" | |||
2020-02-11 | fix(std/node): support named import for EventEmitter (#3959) | uki00a | |
2020-02-11 | refactor: rewrite deno test, add Deno.test() (#3865) | Bartek Iwańczuk | |
* rewrite test runner in Rust * migrate "test" and "runTests" functions from std to "Deno" namespace * use "Deno.test()" to run internal JS unit tests * remove std downloads for Deno subcommands | |||
2020-02-11 | refactor: Use PathBuf for paths in flag parsing and whitelists (#3955) | Nayeem Rahman | |
* Use PathBuf for DenoSubcommand::Bundle's out_file * Use PathBuf for DenoSubcommand::Format's files * Use PathBuf for DenoSubcommand::Install's dir * Use PathBuf for read/write whitelists | |||
2020-02-11 | workers: basic event loop (#3828) | Bartek Iwańczuk | |
* establish basic event loop for workers * make "self.close()" inside worker * remove "runWorkerMessageLoop() - instead manually call global function in Rust when message arrives. This is done in preparation for structured clone * refactor "WorkerChannel" and use distinct structs for internal and external channels; "WorkerChannelsInternal" and "WorkerHandle" * move "State.worker_channels_internal" to "Worker.internal_channels" * add "WorkerEvent" enum for child->host communication; currently "Message(Buf)" and "Error(ErrBox)" variants are supported * add tests for nested workers * add tests for worker throwing error on startup | |||
2020-02-10 | feat: Event emitter node polyfill (#3944) | Chris Knight | |
2020-02-10 | upgrade: dprint-plugin-typescript 0.5.0 (#3952) | Ryan Dahl | |
2020-02-10 | feat: Support HTTP trailer headers for response (#3938) | Yusuke Sakurai | |
2020-02-10 | Add readlink, readlinkSync for std/node/fs.ts (#3926) | Benny Shi | |
2020-02-09 | No longer require aligned buffer for shared queue (#3935) | Andy Finch | |
Fixes: #3925 | |||
2020-02-09 | Bump required VS version (#3940) | Nikolai Vavilov | |
deno builds successfully with VS2019, so no need to require VS2017. | |||
2020-02-09 | fmt: `deno fmt -` formats stdin and print to stdout (#3920) | Kevin (Kun) "Kassimo" Qian | |
2020-02-08 | reenable server tests (#3928) | Bartek Iwańczuk | |
2020-02-08 | remove non-null assertion operator from std (part2) (#3927) | Yusuke Sakurai | |
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-08 | install: add --force flag and remove yes/no prompt (#3917) | Kevin (Kun) "Kassimo" Qian | |
2020-02-07 | Refactor deno_core_http_bench and make it single-threaded (#3903) | Bert Belder | |
2020-02-07 | Add blanket impl for the 'Resource' trait (#3903) | Bert Belder | |
2020-02-07 | toAsyncIterable: Remove unnecessary EOF check (#3914) | Brad Dunbar | |
In denoland/deno#2335 a conditional was added to make sure toAsyncIterator didn't skip chunks because the reader returned data and EOF in a single call, fixing #2330. Later, in denoland/deno#2591, the `Reader` interface changed to `Promise<number | EOF>`. Since the reader no longer returns data and EOF in a single call, this conditional is not necessary. We can just return `{ done: true }` when we get `EOF`. Co-authored-by: Arun Srinivasan <rulfzid@gmail.com> Co-authored-by: Arun Srinivasan <rulfzid@gmail.com> | |||
2020-02-07 | Enable thread pool for blocking ops (#3912) | Ryan Dahl | |
2020-02-07 | Remove conditionals from installer (#3909) | Ryan Dahl | |
2020-02-07 | Fix deno types | head (#3910) | Ryan Dahl | |
2020-02-07 | remove non-null assertion operator from std (part1) (#3900) | Yusuke Sakurai | |
2020-02-07 | Improve support for diagnostics from runtime compiler APIs (#3911) | Kitson Kelly | |
- Exports diagnostic items from `diagnostics.ts` which are missing at runtime. - Returns an array of diagnostics, instead of an object with a property of `items`. This is because of the way Rust deals with certain structures, and shouldn't be exposed in the APIs. | |||
2020-02-07 | feat: add std/signal/mod.ts (#3913) | Yoshiya Hinosawa | |
2020-02-06 | Rename ThreadSafeGlobalState to GlobalState (#3907) | Ryan Dahl | |
simplify | |||
2020-02-06 | fix(cli/flags.rs): Prevent providing --allow-env flag twice (#3906) | Seungho Kim | |
2020-02-06 | fix 015_duplicate_parallel_import (#3904) | Ryan Dahl | |
2020-02-06 | fix(std/path/globrex.ts): Use non-capturing groups in globrex() (#3898) | Nayeem Rahman | |
2020-02-06 | fix: make WebSocket.send() exclusive (#3885) | Yusuke Sakurai | |
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 | Fix: jsDoc for Deno.dir() (#3888) | Chris Knight | |
2020-02-05 | fix: Validate all tests included in unit_tests.ts (#3879) | Chris Knight | |
2020-02-05 | Move create_channels into worker constructor (#3889) | Ryan Dahl | |
2020-02-04 | refactor: port fetch test to rust (#3887) | Luka Hartwig | |
2020-02-04 | refactor: CLI subcommands and argv (#3886) | Bartek Iwańczuk | |
2020-02-04 | Do not encode files loaded from network as utf8 (#3856) | Tilman Roeder | |
2020-02-04 | std/http/server::serve aligned to std/http/server::serveTLS (#3881) | Kitson Kelly | |
2020-02-04 | reenable some tests (#3882) | 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 | upgrade: dprint 0.3.0-alpha.6 | Ryan Dahl | |
2020-02-03 | v0.32.0 | Bartek Iwańczuk | |
2020-02-03 | Make fetch API more standards compliant (#3667) | serverhiccups | |
2020-02-03 | Use tokio::test for some of cli's unit tests (#3868) | Ryan Dahl | |