1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-14 16:33:45 -05:00
Commit graph

741 commits

Author SHA1 Message Date
Tristan Marion
3b595253a2 Move deno2 folder to src (#277) 2018-06-22 15:30:35 +02:00
Ryan Dahl
86354a29a4
Delete go implementation (#276)
The go prototype will remain at https://github.com/ry/deno/tree/golang
2018-06-22 14:23:42 +02:00
Ryan Dahl
ef9dc2464e Travis for deno2 2018-06-22 12:38:16 +02:00
Bert Belder
559453cf6c
Make set_flags() return the remaining non-v8 arguments 2018-06-19 19:10:35 +02:00
Ryan Dahl
b2b4054f97 Fix snapshot source code wrapping. 2018-06-19 19:09:47 +02:00
Bert Belder
7a38a2f1a7
Don't run package.json through prettier
Because yarn and npm reset the style every time they update the file.
2018-06-19 15:29:41 +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
0b07d637be Downgrade V8 to 6.8-lkgr 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
064d889af0
Fix snapshot bug. (#267) 2018-06-18 15:55:36 +02:00
Bert Belder
e6f51fd458
Clean up GN templates for rust a little 2018-06-17 17:16:29 +02:00
Ryan Dahl
e7d071b750 Start roadmap document. 2018-06-17 13:51:13 +02:00
Ryan Dahl
f1dcfbb59d
First pass at deno rust 2018-06-17 12:43:04 +02:00
Ryan Dahl
993d58c410
Move gn templates into deno.gni 2018-06-17 12:43:04 +02:00
Ryan Dahl
b548ef2701
Fix embedder string 2018-06-17 12:43:04 +02:00
Bert Belder
7887469524
Small fixes
* Squelch printf format warning.
* Fix Linux build by symlinking buildtools to v8/buildtools.
* Lint comment in BUILD.gn.
2018-06-17 12:43:04 +02:00
Yoshiya Hinosawa
a77af25480 docs: update deno2 README 2018-06-16 17:43:46 +02:00
Bert Belder
004e0426f7
deno2: make parcel produce more modern javascript
Parcel runs typescript compiler output through babel. Unfortunately
there's no way to turn this off entirely, but with this rule it at least
won't transpile down to ES5.

See also https://github.com/parcel-bundler/parcel/issues/954
2018-06-15 23:33:24 +02:00
Ryan Dahl
30479868d0 Make libdeno a complete_static_lib for rust linking 2018-06-15 22:19:00 +02:00
Ryan Dahl
97923e3d26 Fix error handling in deno::ReadFileToString
Starts a unit test for it, and adds to mock_runtime_test.
2018-06-15 22:19:00 +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
Bert Belder
fb98474239 deno2: make getcwd() work on windows 2018-06-14 14:19:17 +02:00
Ryan Dahl
a5f53c000a Cleans up ReadFile and snapshot_creator code. 2018-06-14 14:19:17 +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
168cc755cf Clean up build files. 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
Ryan Dahl
0888f2b2ae Change msg.proto package name. 2018-06-14 14:19:17 +02:00
Ryan Dahl
5c7ba22f22 Merge branch 'deno2' 2018-06-13 15:01:21 +02:00
Ryan Dahl
bb6222c918 Clean up the build (replace browserify with parcel) 2018-06-13 14:58:06 +02:00
Bert Belder
1676822888
deno2: build on Windows 2018-06-13 00:31:38 +02:00
Bert Belder
36f657c0d2 deno2/main: add missing #include 2018-06-12 17:41:51 +02:00
Ryan Dahl
7d9a43638a Fix git versions in gclient 2018-06-12 17:41:27 +02:00
Ryan Dahl
7784cc2c15 Fix protobufjs snapshotting. 2018-06-12 17:26:18 +02:00
Ryan Dahl
dd48f8095c Simplify pbjs build with hack.
Just check in the generated files and create them using
js/pbjs_hack.py. This allows vscode to be used and sane
compilations.
2018-06-12 05:16:41 +02:00
Ryan Dahl
0f71da91d3 Improve deno2 bundling 2018-06-12 04:45:37 +02:00
Ryan Dahl
e73b244599 Format json too. 2018-06-12 03:59:22 +02:00
Ryan Dahl
b3003535be deno2: compile in TS, build protobuf 2018-06-12 03:59:04 +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
7d972b4534 Fix deno executable 2018-06-11 22:32:55 +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
997b300745 deno2: fmt js dir 2018-06-11 21:34:01 +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
Joshua Chaitin-Pollak
69868c2b0e Add note about github noise (#244) 2018-06-11 20:28:33 +02:00