summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2018-08-29Implement makeTempDirSync()Bert Belder
2018-08-28v0.1.1Ryan Dahl
2018-08-26Replaced read_file_sync{_string} with std::fs::read{_to_string}Aaron Power
2018-08-23Bump version to v0.1.0Ryan Dahl
https://github.com/denoland/deno/milestone/1
2018-08-23Normalize windows paths.Ryan Dahl
Add resolve_module test
2018-08-23First pass at HTTP importsRyan Dahl
Implement --reload Integrate hyper errors into DenoError In collaboration with Tommy Savaria <tommy.savaria@protonmail.ch>
2018-08-22Implement writeFileSyncRyan Dahl
In collaboration with Tommy Savaria <tommy.savaria@protonmail.ch>
2018-08-22Bump version to v0.0.3Ryan Dahl
2018-08-22Change usage example script extension from .js to .tsJeremy Banks
2018-08-21Better error handling in src/handlers.rsRyan Dahl
Introduces error codes that are shared between JS/RS Fixes #526.
2018-08-21Travis deploy (#548)Ryan Dahl
* Fix travis deploy / simplify build. - No more stages, only build release mode. - Fixes API key issue. * Reinstate master only - testing was successful.
2018-08-20First pass at fetch()Ryan Dahl
With help from Thomas Ghysels <info@thomasg.be>
2018-08-19chore: move libdeno files to //libdeno/Yoshiya Hinosawa
2018-08-17Use snake-case for cmd_id.Ryan Dahl
2018-08-17Upgrade fbs to latest.Ryan Dahl
Reduces numbers of warnings.
2018-08-17Command line flag parsing (#524)Ryan Dahl
In particular this allow -D for logging debug output.
2018-08-16Remove dead code: src/flatbuffer_builder.ccRyan Dahl
2018-08-16Implement deno_handle_msg_from_js in RustRyan Dahl
Fixes #419, #414.
2018-08-16Upgrade Rust FlatbuffersRyan Dahl
2018-08-11Rename mock_runtime_test to libdeno_testRyan Dahl
Fixes #465
2018-08-10Fix stacktraces in deno_nsKitson Kelly
2018-08-09Change Deno::new to return an owned BoxRobby Madruga
2018-08-09Add readFileSyncRyan Dahl
2018-08-09Add fs::read_file_sync_stringRyan Dahl
2018-08-09First pass at setTimeout with Tokio (#434)Ryan Dahl
2018-08-08Organize libdeno functions.Ryan Dahl
2018-08-08Fix rust logger.Ryan Dahl
2018-08-08Hacky error handling for Url::from_file_path.Ryan Dahl