summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-10-24libdeno: deno_new should take a snapshot parameter.Ryan Dahl
2018-10-24fix typos (#1083)Joseph
2018-10-24Move eager functions into eager_unix.rsBert Belder
2018-10-24Refactor eager_{read,write,accept}_tcp into separate functionsBert Belder
2018-10-23Switch to getopts for flag parsing (#1080)Kevin (Kun) "Kassimo" Qian
2018-10-23Enforce media typesKitson Kelly
2018-10-20v0.1.9Ryan Dahl
- Performance and stability improvements on all platforms. - Add cwd() and chdir() #907 - Specify deno_dir location with env var DENO_DIR #970 - Make fetch() header compliant with the current spec #1019 - Upgrade TypeScript to 3.1.3 - Upgrade V8 to 7.1.302.4
2018-10-20Optimization: eager acceptRyan Dahl
2018-10-20Optimization: eager writeRyan Dahl
2018-10-20Optimization: eager readRyan Dahl
TCP sockets should attempt the non-blocking read in the main thread.
2018-10-20Allow partial writes.Ryan Dahl
Do not use tokio_io::io:write_all(). Adds src/tokio_write.rs
2018-10-19Sort ops.Ryan Dahl
2018-10-19Add missing copyrights (#1024)ztplz
2018-10-19formatBert Belder
2018-10-18add test case for metricsBartek Iwańczuk
2018-10-18fix metrics logicBartek Iwańczuk
2018-10-17Optimization: Reuse ArrayBuffer during serialization.Ryan Dahl
2018-10-17Fix a bug that copyFile reports different error codesJinho Bang
This is a workaroud. Once the issue is resolved in Rust side, we should remove it. Fixes #895
2018-10-16FormatRyan Dahl
2018-10-15`deno -v` should report typescript versionJinho Bang
Fixes #993
2018-10-15Exit cleanly on unrecognized arguments (#990)Andy Hayden
Refactor set_flags to return a Result
2018-10-15Specify deno_dir location with env var DENO_DIR (#970)Amos Lim
(Use C:\deno instead of c:\deno in appveyor config because it's cloned to c:\ by clone_folder variable in .appveyor.yml. On the other hand, build directory is pointed to C:\ by $(APPVEYOR_BUILD_FOLDER) so that test targets are placed on separated partitions.)
2018-10-13Add cwd() and chdir() (#907)Shiva Prasanth
2018-10-12v0.1.8Ryan Dahl
- Fix promise reject issue (#936) - Add --types command line flag. - Add metrics() - Add redirect follow feature #934 - Fix clearTimer bug #942 - Improve error printing #935 - Expose I/O interfaces Closer, Seeker, ReaderCloser, WriteCloser, ReadSeeker, WriteSeeker, ReadWriteCloser, ReadWriteSeeker - Fix silent death on double await #919 - Add Conn.closeRead() and Conn.closeWrite() #903
2018-10-12Fix promise reject issue (#936)Kevin (Kun) "Kassimo" Qian
2018-10-11Add support for --typesKitson Kelly
2018-10-11Fix metrics() race condition. (#965)Ryan Dahl
2018-10-11Add deno.metrics()Bartek Iwańczuk
2018-10-10src/http.rs -> src/http_util.rsRyan Dahl
So as not to conflict with http crate.
2018-10-10Rename BadFileDescriptorJ2P
2018-10-10Clean up Isolate::event_loop with utility function.Ryan Dahl
2018-10-09Add redirect follow feature (#934)Kevin (Kun) "Kassimo" Qian
2018-10-09Re-enable test_fetch_sync_stringRyan Dahl
2018-10-08Remove deno_get_data()Bert Belder
Instead, pass the isolate data to the dispatch callback directly.
2018-10-08Abide by the rules when passing Isolate between c and rustBert Belder
Ensure that at most one mutable Isolate reference exists at a time. `deno_execute()` and `deno_respond()` now borrow a reference to the rust-side isolate from the caller. When we need a reference to the isolate while one of these functions is on the stack, `deno_get_data()` can be used to borrow back that reference.
2018-10-08Remove ntasks aliasing workaroundBert Belder
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