summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-10-08Rename Deno.data to Deno.user_dataBert Belder
Also use the correct rust type for it.
2018-10-08Rename Isolate.ptr to Isolate.libdeno_isolateBert Belder
2018-10-06docs: fix urls in commentsYoshiya Hinosawa
2018-10-06Make ntasks an atomic counter.Ryan Dahl
Fixes #919.
2018-10-06Fix symlink error messageKevin (Kun) "Kassimo" Qian
2018-10-05Replace panic with error on windows for symlinkKevin (Kun) "Kassimo" Qian
2018-10-05Clean up helpers in src/errors.rsRyan Dahl
* Add errors::bad_resource() * Move permission_denied() to errors.rs * Make op_symlink's not_implemented() into a runtime panic.
2018-10-05Always die on panic.Ryan Dahl
2018-10-05Implement closeRead/closeWrite using TcpStream::shutdown (#903)Kevin (Kun) "Kassimo" Qian
2018-10-04v0.1.7Ryan Dahl
- Improve fetch headers (#853) - Add deno.truncate (#805) - Add copyFile/copyFileSync (#863) - Limit depth of output in console.log for nested objects, and add console.dir (#826) - Guess extensions on extension not provided (#859) - Renames: deno.platform -> deno.platform.os deno.arch -> deno.platform.arch - Upgrade TS to 3.0.3 - Add readDirSync(), readDir() - Add support for TCP servers and clients. (#884) Adds deno.listen(), deno.dial(), deno.Listener and deno.Conn.
2018-10-04Use underscores in filenames.Ryan Dahl
2018-10-04Rename flatbuffer base.msg to base.innerRyan Dahl
This better disambiguates with the msg_generated.ts module, which in JS we call "fbs", but would be better called "msg".
2018-10-04Rename msg_from_js() to dispatch().Ryan Dahl
2018-10-04Rename handler.rs to ops.rsRyan Dahl
2018-10-03First pass at support for TCP servers and clients. (#884)Ryan Dahl
Adds deno.listen(), deno.dial(), deno.Listener and deno.Conn.
2018-10-03Implemented readDirSync, readDirJ2P
2018-10-03isolate: work around a rust compiler bugBert Belder
2018-10-03timers: remove the old timer implementationBert Belder
Fixes #878.
2018-10-03timers: implement timers in javascriptBert Belder
2018-10-02Guess extensions on extension not provided (#859)Kevin (Kun) "Kassimo" Qian
Fixes #857
2018-10-01Adjust how handle_read handle_write function.Ryan Dahl
Use tokio_io::io::read() and tokio_io::io::write_all() instead of poll_fn() as suggested in the Tokio gitter.
2018-10-01Rename FdTable to ResourceTable.Ryan Dahl
Add docs to src/resources.rs.
2018-10-01Format.Ryan Dahl
2018-10-01rename parse_core_args to v8_set_flags_preprocess (#871)ztplz
2018-09-30Add copyFile/copyFileSync (#863)Kevin (Kun) "Kassimo" Qian
2018-09-30Remove unused table WriteFileSyncKevin (Kun) "Kassimo" Qian
2018-09-30Add deno.truncate (#805)ztplz
2018-09-29v0.1.6Ryan Dahl
- Adds deno.stdin, deno.stdout, deno.stderr, deno.open(), deno.write(), deno.read(), deno.Reader, deno.Writer, deno.copy() #846 - Print 'Compiling' when compiling TS. - Support zero-copy for writeFile() writeFileSync() #838 - Fixes eval error bug #837 - Make Deno multithreaded #782 - console.warn() goes to stderr #810 - Add deno.readlink()/readlinkSync() #797 - Add --recompile flag #801 - Use constructor.name to print out function type #664 - Rename deno.argv to deno.args - Add deno.trace() #795 - Continuous benchmarks https://denoland.github.io/deno/
2018-09-28Adds basic File I/O and FD table.Ryan Dahl
Adds deno.stdin, deno.stdout, deno.stderr, deno.open(), deno.write(), deno.read(), deno.Reader, deno.Writer, deno.copy(). Fixes #721. tests/cat.ts works.
2018-09-27Support zero-copy data in libdeno.send(). (#838)Ryan Dahl
This is a large API refactor of deno.h which replaces deno_send() and deno_set_response() with deno_respond(). It also adds a req_id parameter to the deno_recv_cb. Make writeFile/writeFileSync use it.
2018-09-26Use the thread pool for blocking I/ORyan Dahl
2018-09-25Disable test_fetch_sync_string.Ryan Dahl
2018-09-25Add SetGlobalTimeout().Ryan Dahl
To be used for a timers implementation soon.
2018-09-25Make Deno multithreaded.Ryan Dahl
By using the tokio default runtime. This patch makes all of the ops thread safe. Adds libdeno to JS globals to make for easier testing. Preliminary work for #733.
2018-09-25Use lazy_static for HttpsConnectorRyan Dahl
And rename net.rs to http.rs Share HTTP connection.
2018-09-25formatRyan Dahl
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.