summaryrefslogtreecommitdiff
path: root/js/mock_runtime.js
AgeCommit message (Collapse)Author
2018-08-11Rename mock_runtime_test to libdeno_testRyan Dahl
Fixes #465
2018-08-08Organize libdeno functions.Ryan Dahl
2018-07-24Allow deno_buf with null alloc_ptr to be memcpy'dRyan Dahl
This is a temporary hack to allow for easier restructuring of the serialization code as we move Flatbuffer stuff from C++ to Rust.
2018-07-24Add mock_runtime_test for deno_last_exception.Ryan Dahl
2018-07-24Change copyrights to be 'Deno authors'.Ryan Dahl
2018-07-12Move buffers between V8 and nativeBert Belder
* send()/recv() now operate on TypedArrays rather than ArrayBuffers. * Remove a copy (through ArrayBuffer.slice()) from the send path. * Remove a copy (through v8::ArrayBuffer::New()) from the return path. * After moving a buffer from JS to native, the ArrayBuffer object and it's views are made inaccessible ('neutered'). * `struct deno_buf` now holds two [ptr, length] tuples, one for the actual memory allocation, and one for the logical data contained therein. This is necessary because flatbuffers fills it's buffer bottom-up, so the serialized blob doesn't start at beginning of the buffer, but somewhere in the middle.
2018-07-06Remove channel parameter from deno_send/recv.Ryan Dahl
2018-07-03Switch back to recv/send instead of pub/sub for low-level API.Ryan Dahl
2018-07-01chore: move //src/js to //jsYoshiya Hinosawa
refs: #285