summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-09-25Clean up flags.Ryan Dahl
2018-09-25Implement deno.readlink() (#797)Mani Maghsoudlou
2018-09-24Add flag --recompile (#801)Bartek IwaƄczuk
2018-09-22Rename deno.argv, libdeno::DenoC and deno_set_flags (#796)ztplz
2018-09-21v0.1.5Ryan Dahl
- Add atob() btoa() #776 - Add deno.arch deno.platform #773 - Add deno.symlink() and deno.symlinkSync() #742 - Add deno.mkdir() and deno.mkdirSync() #746 - Add deno.makeTempDir() #740 - Improvements to FileInfo interface #765, #761 - Add fetch.blob() - Upgrade V8 to 7.0.276.15 - Upgrade Rust crates
2018-09-18Implement deno.symlink() (#742)Mani Maghsoudlou
2018-09-17Isolate::execute doesn't need mutability.Ryan Dahl
2018-09-17Rename Deno to Isolate and move to own file.Ryan Dahl
2018-09-17Make mode always u32 and switch to has_mode for StatRes fbs (#761)Kevin (Kun) "Kassimo" Qian
2018-09-16Use `dirs::home_dir` to replace deprecated `std::env::home_dir`Kevin (Kun) "Kassimo" Qian
2018-09-16formatBert Belder
2018-09-16Remove remove_timer asserts (#760)Kevin (Kun) "Kassimo" Qian
* Remove remove_timer asserts * Add clearTimeout invalid id no-panic test * Move timer test to its file AND some lint side-effects
2018-09-14[fs] Enable mode for `mkdir` on unix (#746)Kevin (Kun) "Kassimo" Qian
2018-09-12v0.1.4Ryan Dahl
- 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.
2018-09-12Small handers.rs cleanup (#735)JaePil Jung
2018-09-12Add support for fetch() headers (#727)qti3e
2018-09-12Implement deno.rename() (#731)Mani Maghsoudlou
2018-09-12 Add unix-only `mode` for FileInfo (#732)Kevin (Kun) "Kassimo" Qian
2018-09-12Add remove(), removeAll().Kevin (Kun) "Kassimo" Qian
and removeSync(), removeAllSync().
2018-09-11Implement deno.stat() and deno.lstat()Sajjad Hashemian
2018-09-11Move writeFileSync to write_file.ts, add writeFile and tests (#728)Kevin (Kun) "Kassimo" Qian
2018-09-10Implement deno.mkdir()Sajjad Hashemian
2018-09-10Support async futures that have empty response.Ryan Dahl
2018-09-10Implement deno.readFile()Ryan Dahl
As an example of how to implement ops that have both sync and async versions.
2018-09-10create_msg -> serialize_responseRyan Dahl
2018-09-10Remove null_buf()Ryan Dahl
2018-09-09Better NotFound error handling in CodeFetchRyan Dahl
throwResolutionError was swallowing unrelated errors.
2018-09-09Remove namespace from src/msg.fbsRyan Dahl
2018-09-09Map promises onto futures.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.
2018-09-07Format msg.fbsJ2P
2018-09-06Check allow-net in fetchParsa Ghadimi
2018-09-06Implementing --deps flagMirko 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
2018-09-05v0.1.3Ryan 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
2018-09-05Rename src/binding.rs -> src/libdeno.rsRyan Dahl
2018-09-05FormatRyan Dahl
2018-09-05Improve module resolution.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.
2018-09-04Better flag parsingIan Shehadeh
2018-09-04Implement renameSyncMani Maghsoudlou
2018-09-03Implement mkdirSyncSajjad Hashemian
2018-09-03Clean up handlers.Ryan Dahl
2018-09-03Upgrade flatbuffersRyan Dahl
2018-09-03Format.Ryan Dahl
2018-09-02Log level code refactoringJ2P
2018-08-31Implemented deno.env and refactored flags.rsAaron Power
2018-08-30v0.1.2Ryan Dahl
* Added https import support. * Added deno.makeTempDirSync(). * Added deno.lstatSync() and deno.statSync().
2018-08-30formatRyan Dahl
2018-08-30Implemented statSync and lStatSyncAaron Power
2018-08-30Support https imports.Ryan Dahl
Adds hyper-rustls to the build. Use ring for sha1 instead of "ssh1" crate. Fixes #528.
2018-08-30Downgrading tokio to registry version.Ryan Dahl
Prep for rustls.
2018-08-30Fix warnings.Ryan Dahl
Ref #374