Tristan Marion
3b595253a2
Move deno2
folder to src
( #277 )
2018-06-22 15:30:35 +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
064d889af0
Fix snapshot bug. ( #267 )
2018-06-18 15:55:36 +02:00
Ryan Dahl
b2694ecbd8
Don't use bool in deno.h to support C.
2018-06-15 22:19:00 +02:00
Bert Belder
4f6c8ba54b
deno2: add global deno
namespace
2018-06-14 17:24:00 +02:00
Ryan Dahl
f92f10b848
deno2: pass argv to js
2018-06-14 14:19:17 +02:00
Ryan Dahl
ec65717c59
Add ability to link to v8_libbase.
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
Ryan Dahl
f97216609d
Add InitializeContext for future deno_nosnapshot target.
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
356fd18c73
Calling denoSub twice should fail.
2018-06-11 22:51:11 +02:00
Ryan Dahl
f89f576f6d
Use camel-case for deno js api.
2018-06-11 22:42:08 +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
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
Ryan Dahl
041e503838
Minor libdeno clean ups.
2018-06-10 14:34:59 +02:00
Ryan Dahl
c0401a4096
Organize BUILD.gn
2018-06-10 14:24:39 +02:00
Ryan Dahl
9296b21b87
Use C linkage in deno.h
2018-06-10 14:18:15 +02:00
Ryan Dahl
12cded8af6
make_snapshot shouldn't depend on Deno object
2018-06-10 06:13:48 +02:00
Ryan Dahl
ff48eca540
Expose deno::from_snapshot() constructor
2018-06-10 05:34:03 +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
7c71785981
deno.cc clean up
2018-06-10 04:01:14 +02:00
Ryan Dahl
092ec21381
Wrap deno library in a namespace.
2018-06-10 02:24:34 +02:00
Ryan Dahl
9df9cdae07
deno2 Simplify Print binding.
2018-06-10 02:02:40 +02:00
Ryan Dahl
110ddab670
Add deno2 prototype from external repo.
2018-06-10 01:02:08 +02:00