- 20 2月, 2020 2 次提交
-
-
由 Bartek Iwańczuk 提交于
-
由 Maximilien Mellen 提交于
Fixes #3324 Co-authored-by: NKitson Kelly <me@kitsonkelly.com>
-
- 19 2月, 2020 4 次提交
-
-
由 Bartek Iwańczuk 提交于
-
由 Kitson Kelly 提交于
Fixes #3726 This PR provides support for referencing other lib files (like lib.dom.d.ts that are not used by default in Deno.
-
由 Bartek Iwańczuk 提交于
* remove run_worker_loop, impl poll for WebWorker * store JoinHandle to worker thread
-
-
- 18 2月, 2020 4 次提交
-
-
由 Ryan Dahl 提交于
-
由 Bartek Iwańczuk 提交于
* rename methods on Worker related to module loading * reorganize cli/lib.rs * remove cli/progress.rs and cli/shell.rs
-
由 Bartek Iwańczuk 提交于
-
由 geoFlux 提交于
-
- 16 2月, 2020 1 次提交
-
-
由 Kitson Kelly 提交于
-
- 15 2月, 2020 2 次提交
-
-
由 Ben Noordhuis 提交于
Example: $ python2 -c 'open("\x80\x7F", "w")' $ deno eval 'Deno.readDirSync(".")' thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', cli/ops/fs.rs:373:16 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace fatal runtime error: failed to initiate panic, error 5 Aborted (core dumped) Before this commit they made deno panic, now they are silently skipped. Not ideal but arguably better than panicking. No test because what characters are and aren't allowed in filenames is highly file system-dependent. Closes #3950
-
由 Bartek Iwańczuk 提交于
-
- 14 2月, 2020 2 次提交
- 13 2月, 2020 2 次提交
-
-
由 Kitson Kelly 提交于
Moves to using a minimal System loader for bundles generated by Deno. TypeScript in 3.8 will be able to output TLA for modules, and the loader is written to take advantage of that as soon as we update Deno to TS 3.8. System also allows us to support `import.meta` and provide more ESM aligned assignment of exports, as well as there is better handling of circular imports. The loader is also very terse versus to try to save overhead. Also, fixed an issue where abstract classes were not being re-exported. Fixes #2553 Fixes #3559 Fixes #3751 Fixes #3825 Refs #3301
-
由 Nayeem Rahman 提交于
-
- 12 2月, 2020 4 次提交
-
-
由 Bartek Iwańczuk 提交于
-
由 Bartek Iwańczuk 提交于
-
由 Bartek Iwańczuk 提交于
-
由 Bartek Iwańczuk 提交于
* replace "AtomicUsize" with "u64" for field type on "Metrics" * move "compiler_starts" field from "Metrics" to "GlobalState"
-
- 11 2月, 2020 4 次提交
-
-
由 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
-
由 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
-
由 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
-
由 Ryan Dahl 提交于
-
- 10 2月, 2020 1 次提交
-
-
由 Andy Finch 提交于
Fixes: #3925
-
- 09 2月, 2020 2 次提交
-
-
-
由 Bartek Iwańczuk 提交于
* rename ThreadSafeState to State * State stores InnerState wrapped in Rc and RefCell
-
- 08 2月, 2020 4 次提交
-
-
-
由 Bert Belder 提交于
-
由 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: NArun Srinivasan <rulfzid@gmail.com> Co-authored-by: NArun Srinivasan <rulfzid@gmail.com>
-
由 Ryan Dahl 提交于
-
- 07 2月, 2020 7 次提交
-
-
由 Ryan Dahl 提交于
-
由 Ryan Dahl 提交于
-
由 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.
-
由 Yoshiya Hinosawa 提交于
-
由 Ryan Dahl 提交于
simplify
-
由 Seungho Kim 提交于
-
由 Ryan Dahl 提交于
-
- 06 2月, 2020 1 次提交
-
-
由 Ryan Dahl 提交于
Removes OP_HOST_GET_WORKER_LOADED, OP_HOST_POLL_WORKER, OP_HOST_RESUME_WORKER and ready/messageBuffer in cli/js/workers.ts.
-