Ryan Dahl
b2b4054f97
Fix snapshot source code wrapping.
2018-06-19 19:09:47 +02:00
Bert Belder
eed514ddd7
Work around v8 snapshot serializer bug
...
See also: https://github.com/ry/deno/pull/267#issuecomment-398181986
2018-06-19 15:07:31 +02:00
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
a5f53c000a
Cleans up ReadFile and snapshot_creator code.
2018-06-14 14:19:17 +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
Bert Belder
1676822888
deno2: build on Windows
2018-06-13 00:31:38 +02:00
Ryan Dahl
7784cc2c15
Fix protobufjs snapshotting.
2018-06-12 17:26:18 +02:00
Ryan Dahl
041e503838
Minor libdeno clean ups.
2018-06-10 14:34:59 +02:00
Ryan Dahl
9296b21b87
Use C linkage in deno.h
2018-06-10 14:18:15 +02:00
Ryan Dahl
a6880dad65
make_snapshot should be private
...
Now deno.h doesn't export v8.h and is self contained.
2018-06-10 13:17:06 +02:00
Ryan Dahl
3062039ffe
First pass at libdeno.
2018-06-10 04:55:31 +02:00
Ryan Dahl
aa857984b0
Simplify c api
2018-06-10 04:11:02 +02:00
Ryan Dahl
092ec21381
Wrap deno library in a namespace.
2018-06-10 02:24:34 +02:00
Ryan Dahl
110ddab670
Add deno2 prototype from external repo.
2018-06-10 01:02:08 +02:00