Ryan Dahl
cc2ae2d316
Snapshot clean ups
...
- Don't call eval() in mock_runtime - not allowed - see js2c.py.
- Don't use v8_use_external_startup_data
- Move MakeSnapshot to snapshot_creator.cc
- Use logging.h in from_snapshot.cc
2018-06-19 15:07:31 +02:00
Ryan Dahl
064d889af0
Fix snapshot bug. ( #267 )
2018-06-18 15:55:36 +02:00
Ryan Dahl
4ac67cf343
Demo protobufs in deno2.
...
Adds deno_set_response() to allow stack allocated responses.
2018-06-14 14:19:17 +02:00
Ryan Dahl
7784cc2c15
Fix protobufjs snapshotting.
2018-06-12 17:26:18 +02:00
Ryan Dahl
356fd18c73
Calling denoSub twice should fail.
2018-06-11 22:51:11 +02:00
Ryan Dahl
64d41a72f1
deno_dispose -> deno_delete
2018-06-11 22:36:14 +02:00
Ryan Dahl
e89a49490c
Clarify memory guarantees of deno_buf
2018-06-11 22:24:06 +02:00
Ryan Dahl
7242f2b5a5
Add channel to pub/sub
2018-06-11 21:57:25 +02:00
Ryan Dahl
314f086721
Better function names in mock_runtime.js
2018-06-11 21:33:58 +02:00
Ryan Dahl
56c3ac464e
Rename deno_load to deno_execute.
2018-06-11 20:49:57 +02:00
Ryan Dahl
482fc3a2ce
Add tests for deno_sub_cb.
2018-06-11 20:18:56 +02:00
Ryan Dahl
2443f7efee
Use pub/sub instead of send/recv
2018-06-11 19:19:34 +02:00
Ryan Dahl
9590c87c62
Add deno_dispose to tests.
...
And fix ArrayBuffer memory problem.
2018-06-11 19:19:30 +02:00
Ryan Dahl
cbbe8ad999
Add deno_send tests.
2018-06-11 18:17:28 +02:00
Ryan Dahl
0e07e16dd6
Add mock_runtime_test.
2018-06-11 17:50:06 +02:00