Age | Commit message (Collapse) | Author |
|
|
|
- Support headers in fetch()
- Adds many async fs functions:
deno.rename() deno.remove(), deno.removeAll(), deno.removeSync(),
deno.removeAllSync(), deno.mkdir(), deno.stat(), deno.lstat()
deno.readFile() and deno.writeFile().
- Add mode in FileInfo
- Access error codes via error.kind
- Check --allow-net permissions when using fetch()
- Add deno --deps for listing deps of a script.
|
|
|
|
|
|
|
|
|
|
and removeSync(), removeAllSync().
|
|
|
|
|
|
|
|
|
|
As an example of how to implement ops that have both sync and async
versions.
|
|
|
|
|
|
throwResolutionError was swallowing unrelated errors.
|
|
|
|
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.
|
|
|
|
|
|
- Adding a ModuleId type alias to specify original url or local file of
dependency
- Modifying ModuleMetaData class to contain ModuleId
- Adding a --deps flag
|
|
* 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
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Added https import support.
* Added deno.makeTempDirSync().
* Added deno.lstatSync() and deno.statSync().
|
|
|
|
|
|
Adds hyper-rustls to the build.
Use ring for sha1 instead of "ssh1" crate.
Fixes #528.
|
|
Prep for rustls.
|
|
Ref #374
|
|
|
|
|
|
|
|
https://github.com/denoland/deno/milestone/1
|
|
Add resolve_module test
|
|
Implement --reload
Integrate hyper errors into DenoError
In collaboration with Tommy Savaria <tommy.savaria@protonmail.ch>
|
|
In collaboration with Tommy Savaria <tommy.savaria@protonmail.ch>
|
|
|
|
|
|
Introduces error codes that are shared between JS/RS
Fixes #526.
|
|
* Fix travis deploy / simplify build.
- No more stages, only build release mode.
- Fixes API key issue.
* Reinstate master only - testing was successful.
|
|
With help from Thomas Ghysels <info@thomasg.be>
|