- 12 9月, 2018 6 次提交
-
-
由 Mani Maghsoudlou 提交于
-
-
and removeSync(), removeAllSync().
-
由 Sajjad Hashemian 提交于
-
由 Parsa Ghadimi 提交于
-
-
- 11 9月, 2018 2 次提交
-
-
由 Sajjad Hashemian 提交于
-
由 Ryan Dahl 提交于
-
- 10 9月, 2018 14 次提交
-
-
由 Ryan Dahl 提交于
As an example of how to implement ops that have both sync and async versions.
-
由 Ryan Dahl 提交于
-
由 Ryan Dahl 提交于
-
由 Ryan Dahl 提交于
And send() -> sendSync()
-
由 Ryan Dahl 提交于
throwResolutionError was swallowing unrelated errors.
-
由 Ryan Dahl 提交于
Originally we planned to have a JS class for each error code. But it seems better to just have a single DenoError class with a "kind" property. One nice thing about using an enum instead of classes for errors is that switch() can be used during error handling instead of a bunch of instanceof branches.
-
由 Ryan Dahl 提交于
-
由 Bert Belder 提交于
-
由 Bert Belder 提交于
-
由 Ryan Dahl 提交于
Refactors handlers.rs The idea is that all Deno "ops" (aka bindings) should map onto a Rust Future. By setting the "sync" flag in the Base message users can determine if the future is executed immediately or put on the event loop. In the case of async futures, a promise is automatically created. Errors are automatically forwarded and raised. TODO: - The file system ops in src/handler.rs are not using the thread pool yet. This will be done in the future using tokio_threadpool::blocking. That is, if you try to call them asynchronously, you will get a promise and it will act asynchronous, but currently it will be blocking. - Handlers in src/handler.rs returned boxed futures. This was to make it easy while developing. We should try to remove this allocation.
-
由 Ryan Dahl 提交于
-
由 Ryan Dahl 提交于
-
由 Ryan Dahl 提交于
-
由 Yoshiya Hinosawa 提交于
-
- 09 9月, 2018 3 次提交
-
-
由 Daniel Ramos 提交于
-
由 Bert Belder 提交于
-
由 Bert Belder 提交于
-
- 08 9月, 2018 2 次提交
- 07 9月, 2018 2 次提交
-
-
由 Kitson Kelly 提交于
-
由 Kitson Kelly 提交于
-
- 06 9月, 2018 11 次提交
-
-
由 Bert Belder 提交于
* Add forgotten --eol argument to 'git ls-files'. Without it, in certain edge cases, files might have their mtime restored when it shouldn't. * Don't parse ls-files output into fields; it's unnecessary. * Disable the pip cache dir, and stop saving it to the appveyor cache. * Leverage the 'git -C «dir»' flag to make a script shorter. * Fix some factually and/or grammatically incorrect comments.
-
由 Parsa Ghadimi 提交于
-
由 Kitson Kelly 提交于
-
由 Mirko Jotic 提交于
- Adding a ModuleId type alias to specify original url or local file of dependency - Modifying ModuleMetaData class to contain ModuleId - Adding a --deps flag
-
由 Ryan Dahl 提交于
https://github.com/denoland/deno_install 1. This allows the installer to use a more aggressive CI build matrix with different version of python. 2. Running the installer during tools/test.py artificially inflates our download stats. 3. Running the installer during tools/test.py makes the test script dependent on having an internet connection. 4. Running the installer during tools/test.py introduces a race condition during release - where it tries and fails to download the latest release in build process that should be uploading that release.
-
由 Ryan Dahl 提交于
* Fixes module resolution error #645 * Better flag parsing * lStatSync -> lstatSync * Added deno.renameSync() * Added deno.mkdirSync() * Fix circular dependencies #653 * Added deno.env() and --allow-env
-
由 Bert Belder 提交于
This fixes that a lot of targets were being rebuilt unnecessarily.
-
由 Ryan Dahl 提交于
Fixes #677
-
由 Ryan Dahl 提交于
-
由 Ryan Dahl 提交于
-
由 Ryan Dahl 提交于
Windows can't handle ":" in path names, so we use a special directory format .deno/deps/localhost_PORT4545/ to represent hosts with non-default ports. Fixes #645.
-