1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-26 16:09:27 -05:00
Commit graph

90 commits

Author SHA1 Message Date
Bert Belder
d3e5a13201
third_party: force all crates to use the latest version of rand_core 2019-01-26 16:32:03 +01:00
Bert Belder
6ad2e001b4
third_party: upgrade rust crates 2019-01-26 16:32:02 +01:00
Yoshiya Hinosawa
77114fbda4 chore: update license lines (#1557) 2019-01-21 13:03:30 -06:00
Andy Hayden
526fdac053
Update to rust 2018 edition 2019-01-14 22:30:04 +01:00
Bert Belder
8039e2a55a
third_party: upgrade rust crates, now with --edition 2018 support 2019-01-14 05:03:14 +01:00
Bert Belder
9e9550ceea
third_party: upgrade rust crates 2019-01-14 02:18:19 +01:00
Bert Belder
0cdcefdcc7
build: bring rustc --cfg flag support back 2019-01-14 02:18:18 +01:00
Ryan Dahl
bc2c808da1
Upgrade crates (#1471) 2019-01-07 10:36:08 -05:00
Ryan Dahl
63d558da0c
Use flatbuffers from crates.io (#1400) 2018-12-23 12:39:40 -05:00
Bert Belder
838d14a589
build: build rustls with the same features between gn/ninja and cargo 2018-12-19 12:19:44 +01:00
Goffert van Gool
40d6daf824 Read version from Cargo.toml (#1267) 2018-12-13 16:16:58 -05:00
Ryan Dahl
c113df1bb8
Process source maps in Rust instead of JS (#1280)
- Improves speed and binary size significantly.
- Makes deno_last_exception() output a JSON structure.
- Isolate::execute and Isolate::event_loop now return
  structured, mapped JSError objects on errors.
- Removes libdeno functions:
  libdeno.setGlobalErrorHandler()
  libdeno.setPromiseRejectHandler()
  libdeno.setPromiseErrorExaminer()

In collaboration with Ryan Dahl.
2018-12-06 23:05:36 -05:00
Ryan Dahl
3846384888 Upgrade Rust crates 2018-11-30 15:07:13 -08:00
Ryan Dahl
c5d8cf8eb6 Use pylint. 2018-11-30 11:33:45 -08:00
Ryan Dahl
1ac2934604 Make //build a git submodule
So we can float patches before sending them upstream.
https://github.com/denoland/chromium_build

Remove build_extra/toolchain
2018-11-29 23:12:38 -08:00
Ryan Dahl
84a1b4d793 Move libdeno build config to libdeno/BUILD.gn 2018-11-29 17:46:09 -08:00
Ryan Dahl
ea4580f337 Fix mac debug build. 2018-11-29 17:46:09 -08:00
Ryan Dahl
65cce40a89 gitignore vim .swp files 2018-11-27 15:47:31 -08:00
Andy Hayden
27ecfc1617 Add repl (#998)
- Running repl from js side.
- Add tests for repl behavior.
- Handle ctrl-C and ctrl-D.
2018-11-05 09:55:59 -08:00
Bert Belder
b9914c3113
third_party: add tokio-process Rust crate and its dependencies 2018-11-03 07:42:24 +01:00
Bert Belder
a244c16270
third_party: upgrade Rust crates 2018-11-03 07:22:04 +01:00
Bert Belder
a4b5146157
build: infer label name for versioned Rust crates 2018-11-03 07:18:10 +01:00
Bert Belder
ec17239f46
cargo: build in Cargo's out dir if DENO_BUILD_PATH is not set
Plus some minor improvements and clean-ups:

* Resolve DENO_BUILD_PATH to an absolute path if necessary.
* Rename DENO_BUILD_PATH to GN_OUT_DIR in places where it is supposed to
  be set by the build system (and not a user configuration variable).
* Output Cargo `rerun-if-*-changed` instructions first, so even if the
  build itself fails, configuration changes will still trigger a re-run
  of build.rs.
* Remove TODOs that are impossible.
* Re-run build.rs when the flatbuffer definition file changes.
2018-11-01 14:18:18 +01:00
Ryan Dahl
198e396ead
Support cargo check (#1128)
- Based on code from @qti3e and @piscisaureus in #724 and #1125
  respectively.
- TODO The DENO_BUILD_PATH env var must be supplied and must be an
  absolute path, this restriction should be removed in future work.
2018-10-31 11:11:10 -07:00
Ryan Dahl
7c82667f75
Upgrade Flatbuffers. (#1127)
Use msg_generated.rs as mod instead of crate.
2018-10-31 00:32:42 -07:00
Ryan Dahl
6adc87e3eb
Ergonomics: Prompt TTY for permission escalation (#1081) 2018-10-27 06:11:39 -07:00
Ryan Dahl
59acd8d1ac
Turn on treat_warnings_as_errors (#1086)
Fixes #374
2018-10-25 17:05:59 -07:00
Bert Belder
00e4f7cf83
build: fix compatibility with rustc 1.30.0
Additionally:
* Rebuild rust crates when the rustc version changes.
* Fetch all rust ldflags in one exec_script() call instead of two.
2018-10-25 22:48:08 +02:00
Kevin (Kun) "Kassimo" Qian
988ec88dd0 Switch to getopts for flag parsing (#1080) 2018-10-23 21:02:43 -07:00
Bert Belder
edb7b609f2
build: clean up the gn template for rust targets a bit 2018-10-20 07:20:07 +02:00
Ryan Dahl
00884d7164 Add rustfmt to third_party. 2018-10-20 01:19:59 -04:00
Ryan Dahl
6e6deed12d Upgrade crates 2018-10-19 21:42:23 -04:00
Ryan Dahl
1cfa41920e Disable warning on linux. 2018-10-19 21:35:10 -04:00
Ryan Dahl
930df1848a Upgrade hyper-rustls
This removes tokio-core, which was deprecated.
2018-10-10 12:19:08 -04:00
Bert Belder
47e8242b29
build: add support for rustc_wrapper
Fixes #690.
2018-09-26 10:25:58 -07:00
Bert Belder
f10012facf
build: let rustc pick filenames, remove rust depfile hack
Fixes #787.
2018-09-26 10:25:49 -07:00
Bert Belder
531a427d88
build: do not quote cc_wrapper on windows
This brings behavior inline with the unix toolchain, which also leaves
cc_wrapper unquoted. If necessary, add quotes in the setup phase instead.
2018-09-26 09:52:30 -07:00
Bert Belder
d6a97ae4f0
build: always enable clang color output 2018-09-24 13:45:03 -07:00
Bert Belder
af3f62eedf
build: enable rust color output on windows 2018-09-24 13:45:03 -07:00
Ryan Dahl
24ebd80ae7 Upgrade rust crates. 2018-09-17 12:09:20 -07:00
Bert Belder
836fc255ba
Suppress remaining warnings in third party rust crates 2018-09-16 20:57:17 -07:00
Kevin (Kun) "Kassimo" Qian
0185f9f9de
Add the 'dirs' crate, enable the required 'winapi' features 2018-09-16 18:38:41 -07:00
Bert Belder
ba8757b44a
build: properly rebuild rust crates when their deps change 2018-09-16 18:37:18 -07:00
Bert Belder
30b268dd7d
build: override host_toolchain on windows to use sccache with v8 2018-09-08 23:55:18 +02:00
Ryan Dahl
4ccae957fb Upgrade flatbuffers 2018-09-03 10:45:58 -04:00
Ryan Dahl
d8d5c421c3 Support https imports.
Adds hyper-rustls to the build.

Use ring for sha1 instead of "ssh1" crate.

Fixes #528.
2018-08-30 08:29:28 -04:00
Ryan Dahl
11896647e6 Downgrading tokio to registry version.
Prep for rustls.
2018-08-30 08:29:28 -04:00
Ryan Dahl
902e6e2ee6 Fix warnings.
Ref #374
2018-08-30 05:48:40 -04:00
Bert Belder
542eb54254
tools: make sha256sum.py more generic and move it to 'tools' 2018-08-29 12:28:11 +02:00
Bert Belder
f47582bbc5
build: regenerate BUILD.gn for cacheable windows toolchain 2018-08-28 02:01:42 +02:00