1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 17:49:08 -05:00
Commit graph

11549 commits

Author SHA1 Message Date
Ryan Dahl
c4d61accf4 Fix rust depfile problem.
Fixes #316.
2018-07-09 16:50:33 -04:00
Yoshiya Hinosawa
46db20172c chore: use local prettier 2018-07-09 11:05:02 -04:00
Bert Belder
14f208fff9
Regenerate msg_generated.ts
I forgot to commit this file in 8a17db8.
2018-07-09 04:23:58 +02:00
Bert Belder
8a17db8266
Add 'command id' field to messages
This allows for correlating response messages to the command message that
caused them.
2018-07-08 21:01:24 +02:00
Bert Belder
7c5db007de tools: fix windows
This fixes most things, but format.py doesn't work yet, because
yapf is broken due to some depot_tools shimming python.
2018-07-08 13:40:18 -04:00
Ryan Dahl
f917c5e722 Clean up tools/
- Factor out tools/util.py
- Move js/*.py to tools.
- Rewrite tools/format.sh in python.
- Run lint first in travis.
2018-07-08 13:40:18 -04:00
Yoshiya Hinosawa
6c79b471aa tools: generate third_party dir and symlinks from the script. (#346)
Everyone needs to run ./tools/build_third_party.py after this commit.
2018-07-08 02:18:14 -04:00
Hao Li
cf0c0668da Rewrite tools/lint.sh in python (#343) 2018-07-08 01:56:03 -04:00
Ryan Dahl
740b47db6c Move flatbuffers gn files to //build_extra/flatbuffers
Fixes #342.
2018-07-07 17:40:59 -04:00
Ryan Dahl
d4c5ff841e Merge flatbuffer.gni and ts_flatbuffer.gni 2018-07-07 17:40:59 -04:00
Ryan Dahl
bcdd917d79 Fix command in README 2018-07-07 17:40:59 -04:00
Ryan Dahl
6bff970d69 Add rust_test to gn build, with working example. 2018-07-07 17:24:46 -04:00
Ryan Dahl
a2dde56c59 Remove channel parameter from deno_send/recv. 2018-07-06 18:25:09 -04:00
Ryan Dahl
9778eceaf5 Use C++ to do flatbuffer parsing.
- Port protobuf messages to flatbuffers.
- Demo linking to rust from C++ executable.
- Start using the prototype TS libraries.
2018-07-06 17:33:06 -04:00
Ryan Dahl
d9cb093989 Run tools/format.sh 2018-07-06 17:33:06 -04:00
Ryan Dahl
fe404dfce9 Import ts file from prototype without change
From commit 559453cf6c
Excluding v8worker.d.ts, main.ts, and deno.d.ts.

Updates tslint.json to be original settings.
2018-07-06 12:22:11 -04:00
Ryan Dahl
21e1425656 Better c++ error handling 2018-07-06 12:22:11 -04:00
Ryan Dahl
41328d796e Improve README 2018-07-06 10:46:30 -04:00
Ryan Dahl
179eeb2b50 s/rust_deps/extern/g 2018-07-06 10:46:30 -04:00
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