summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-09-12appveyor: verify that js/ts files are listed in BUILD.gnBert Belder
2018-09-12build: rebuild bundle when npm packages are added/removed/updatedBert Belder
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-12Dedup js source list in BUILD.gnRyan Dahl
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-11Improve global typesParsa Ghadimi
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-10fbs_util.ts -> dispatch.tsRyan Dahl
And send() -> sendSync()
2018-09-09Better NotFound error handling in CodeFetchRyan Dahl
throwResolutionError was swallowing unrelated errors.
2018-09-09Expose deno.ErrorKindRyan 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.
2018-09-09Remove namespace from src/msg.fbsRyan Dahl
2018-09-10tools/setup: on windows, make env vars not affect gn gen outputBert Belder
2018-09-10tools/format: don't format files in third_party on WindowsBert Belder
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-09Add better assert message for CodeFetchResRyan Dahl
2018-09-09Add missing ts files to BUILD.gnRyan Dahl
2018-09-09Add milestone 2 to roadmapRyan Dahl
2018-09-09docs: add contributing guideYoshiya Hinosawa
2018-09-09Add type aliases for sourceCode and outputCodeDaniel Ramos
2018-09-08tools/setup: replace generated args.gn unless handcraftedBert Belder
2018-09-08build: override host_toolchain on windows to use sccache with v8Bert Belder
2018-09-07Format msg.fbsJ2P
2018-09-07Add and edit commentsJ2P
2018-09-06Cleanup public API of DenoCompilerKitson Kelly
2018-09-06Integrate format diagnostic host in DenoCompilerKitson Kelly
2018-09-06appveyor: small fixesBert 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.
2018-09-06Check allow-net in fetchParsa Ghadimi
2018-09-06Fix TypeScript exports in bundleKitson Kelly
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-06Move installer to its own repo.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.
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-06appveyor: cache modification times for files in the main repoBert Belder
This fixes that a lot of targets were being rebuilt unnecessarily.
2018-09-05Add --reload to JS unit tests.Ryan Dahl
Fixes #677
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-05Mark APIs at internal and include JSDoc in typesKitson Kelly
2018-09-05tools/build: skip build path detection when given '-C «dir»' ninja argBert Belder
2018-09-04Upgrade Flatbuffers (now using master)Ryan Dahl
2018-09-04Better flag parsingIan Shehadeh