1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-11 10:07:54 -05:00
Commit graph

6680 commits

Author SHA1 Message Date
Ryan Dahl
d30664958e Further gn/rust cleanups
Move rust.gni and deno.gni into build_extra/

Removes rust_library which was only an action. This instead defines
rust_component, which is an action plus a gn "component" target
to expose the resulting object file. This simplifies link code in
rust.gni.

Support rust modules that can be linked into C++.
2018-07-06 10:46:30 -04:00
Faris Amali Alis
bfe08aa462 Rename deno.cc to binding.cc and other renames (#339)
Fixes #336
2018-07-06 03:19:19 -04:00
Yoshiya Hinosawa
1f6f2f5cae chore: add symlink //third_party/yarn.lock 2018-07-06 01:57:32 -04:00
Yoshiya Hinosawa
c1f430966a chore: reorganize symlinks
resolves #332
2018-07-06 01:57:32 -04:00
Yoshiya Hinosawa
31eda28a64 chore: clean up build_third_party.py 2018-07-05 20:57:42 -04:00
Ryan Dahl
131e0ce4c7 Rename mock_main to deno_cc 2018-07-05 12:41:28 -04:00
Ryan Dahl
06a28998ea Replace protobufs with flatbuffers 2018-07-04 16:43:08 -04:00
Ryan Dahl
72cd03a1c5 Change node_modules cache dir. 2018-07-04 16:43:08 -04:00
Bert Belder
29ba462e7d Fix msg.pb.h path 2018-07-04 21:55:58 +02:00
Yoshiya Hinosawa
2060bc939d Add tools/build_third_party.py (#328)
Fixes #312
2018-07-04 15:04:59 +02:00
Ryan Dahl
15d6541d4d Separate deno.gni and rust.gni and clean up.
Put rust depfile in target_out_dir because the depfile isn't in the
outputs, the gen directory doesn't get created.

Prefix rlib files with lib.
2018-07-04 14:24:25 +02:00
Mike Reinstein
693e43e421 removed now irrelevant kKeep segfault comment 2018-07-04 03:46:52 +02:00
Ryan Dahl
67b50b7d30 Rename .gclient
so it doesn't accidentally get run in root dir.

Ref #322
2018-07-04 03:03:55 +02:00
Ryan Dahl
530e9feab2 deno.gni script locations absolute 2018-07-04 03:03:55 +02:00
Mike Reinstein
24dfbd1568 switch from kClear to kKeep 2018-07-04 01:55:40 +02:00
Mike Reinstein
86dac80d98 upgrade v8 to 6.9.297. remove IIFE workaround for bug in v8 snapshot serializer 2018-07-04 01:55:40 +02:00
Ryan Dahl
a33f575cda Switch back to recv/send instead of pub/sub for low-level API. 2018-07-03 21:22:39 +02:00
Robby Madruga
7fcaf7d35d Rustify Deno API 2018-07-03 21:22:39 +02:00
Ryan Dahl
92d01f8519 Remove BaseMsg from msg.proto 2018-07-03 21:22:39 +02:00
Ryan Dahl
cf07ec5b63 Call into JS from rust 2018-07-03 21:22:39 +02:00
Ryan Dahl
6c9598d358
Adjust roadmap security text. (#320) 2018-07-03 21:18:42 +02:00
Yoshiya Hinosawa
6f7ca760b8 move v8 to third_party/v8 (#322) 2018-07-03 10:15:32 +02:00
Ryan Dahl
6d288b63cd Call lint in travis (and fix long long issue) 2018-07-02 09:09:23 +02:00
Parsa Ghadimi
235e549035 Add tslint 2018-07-01 21:41:53 +02:00
Yoshiya Hinosawa
ea35281d63 chore: move //src/js to //js
refs: #285
2018-07-01 17:22:36 +02:00
Ryan Dahl
9528ee4a42 Add cpplint to third_party 2018-07-01 15:28:36 +02:00
Yoshiya Hinosawa
6830370c3e reorg: Move GN files to root (#309)
refs: #285
2018-07-01 13:47:28 +02:00
Ryan Dahl
f65d5fb312 Integrate meeting notes into Roadmap. 2018-06-29 17:20:01 +02:00
Ryan Dahl
467408c6dc Reorg: Move tools/ and gitignore to root. 2018-06-28 21:56:53 +02:00
Mike Reinstein
c2deb54daf explicitly add rust as an install dependency 2018-06-28 21:23:11 +02:00
Matias Insaurralde
fc328e0095 README: update build instructions (#292) 2018-06-27 11:39:28 +02:00
Ryan Dahl
4b234df803 Rename deno_rs to deno. 2018-06-25 23:08:14 +02:00
Ryan Dahl
5aeaad9a6a Fix run_node.py symlink. 2018-06-25 23:07:57 +02:00
Mike Reinstein
7bbf7943ae reflect deno2 being merged into root already 2018-06-24 20:15:49 +02:00
Kevin (Kun) "Kassimo" Qian
a2064ca89c Update README to reflect on Go removal; Improve compile instructions (#283) 2018-06-23 01:19:58 +02:00
Ryan Dahl
1330553be1 Add onerror test to mock_runtime_test.cc 2018-06-22 23:42:04 +02:00
Ryan Dahl
9315adb8c5 lint 2018-06-22 23:19:55 +02:00
Ryan Dahl
6f51c1774d Fix travis node_modules symlink problem by force. 2018-06-22 19:22:38 +02:00
Ryan Dahl
bd4693471f
run_node.py don't error if symlink exists (#279)
The switch from deno2/ to src/ made Travis's cached symlink invalid and
now os.path.exists() returns false.
2018-06-22 17:50:27 +02:00
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