summaryrefslogtreecommitdiff
path: root/src/isolate.rs
AgeCommit message (Collapse)Author
2018-10-24libdeno: deno_new should take a snapshot parameter.Ryan Dahl
2018-10-23Switch to getopts for flag parsing (#1080)Kevin (Kun) "Kassimo" Qian
2018-10-19formatBert Belder
2018-10-18add test case for metricsBartek Iwańczuk
2018-10-18fix metrics logicBartek Iwańczuk
2018-10-16FormatRyan Dahl
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-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-10Clean up Isolate::event_loop with utility function.Ryan 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-06Make ntasks an atomic counter.Ryan Dahl
Fixes #919.
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-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-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-22Rename deno.argv, libdeno::DenoC and deno_set_flags (#796)ztplz
2018-09-17Isolate::execute doesn't need mutability.Ryan Dahl
2018-09-17Rename Deno to Isolate and move to own file.Ryan Dahl