1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-26 17:19:06 -05:00
Commit graph

5148 commits

Author SHA1 Message Date
Bert Belder
15146ad886
Remove 'rust_staticlib' build template
It's not used for anything, nor are we planning to use it.
2018-08-09 02:19:20 +02:00
Bert Belder
98e8b102fd
Fix test_cc build dependencies 2018-08-09 02:03:24 +02:00
Bert Belder
d8cc487a46
Make 'tokio' build on windows, add windows deps 2018-08-09 01:29:32 +02:00
Bert Belder
4b75dd7cf5
Support building multiple versions of a rust crate
This is only to be used in exceptional cases.
Generally we don't allow using multiple versions of a crate.
2018-08-09 01:19:04 +02:00
Robby Madruga
58b2362a24
Add 'tokio' and dependencies
Use tokio from git.
2018-08-09 01:13:11 +02:00
Ryan Dahl
942b3090e7 Remove yarn.lock
Fixes #393.
2018-08-08 10:08:18 -07:00
Kitson Kelly
817380a2d9 Generate declarations 2018-08-08 04:17:46 -07:00
Kitson Kelly
eda1c7b74a Create ASSETS const in runtime.ts 2018-08-08 04:17:46 -07:00
Kitson Kelly
28078cf441 Rename lib.deno.d.ts to lib.globals.d.ts 2018-08-08 04:17:46 -07:00
Ryan Dahl
b8e0ce4d16 Add Cargo.lock to .gitignore. 2018-08-07 10:08:19 -04:00
Ryan Dahl
376f4dfcbf travis: adjust cache
- cache sysroot and llvm-build so they don't have to be downloaded each time.
- Remove DENO_BUILD_PATH from cache. ccache does all the heavy lifting, no need
  to cache the build dir.
2018-08-07 10:08:19 -04:00
Ryan Dahl
d09a552aff Remove //third_party/v8/third_party/depot_tools
It was a duplicate of //third_party/depot_tools
2018-08-07 10:08:19 -04:00
Ryan Dahl
e9bc278933 Disable CFI for now.
Fixes Linux release build.
2018-08-07 10:08:19 -04:00
Bert Belder
fbb6cd4b82
Appveyor updates
* Don't update the cache after building a PR or feature branch.
* Work around 'rustup update' erroring when an update is found.
* Log deleted directories and success/failure status.
* Make build log less noisy.
2018-08-04 06:01:58 +02:00
Ryan Dahl
60f6067cf9 Implement os.exit 2018-08-03 22:41:59 -04:00
Mihal Malostanidis
d15d334c24 Replace protobuf with flatbuffer 2018-08-03 12:15:52 -04:00
Ryan Dahl
2830023f65 Fix badges
Add gitter link.
2018-08-03 10:28:02 -04:00
Ryan Dahl
229e3b80c5 Improve rust build docs 2018-08-03 10:04:12 -04:00
Ryan Dahl
d63e03a8e7 Use build.py -j2 on travis.
Avoids OOM during rollup.
2018-08-02 23:12:49 -04:00
Ryan Dahl
d8b68648d1 Update repo links to denoland. 2018-08-02 23:12:49 -04:00
Ryan Dahl
3e5e07289e Update README 2018-08-02 17:16:24 -04:00
Ryan Dahl
c7c6203e61
Source map support (#429)
This change increases size:
out/debug/obj/libdeno/from_snapshot.o  19M -> 34M
out/release/deno                       32M -> 47M
2018-08-02 13:13:32 -04:00
Ryan Dahl
e30bdb71aa Fix snapshot build dependencies. 2018-08-02 12:49:40 -04:00
Ryan Dahl
193b3965ca Travis: cache ~/.cargo 2018-08-02 12:49:40 -04:00
Ryan Dahl
7fe656f4b9 Add 005_more_imports.ts
And run check_output_test in order.
2018-08-02 12:49:40 -04:00
Ryan Dahl
421358e7a9 Remove dispatch.ts and move assignCmdId to util.ts 2018-08-02 12:49:40 -04:00
Bert Belder
df8208557d
Set up Appveyor 2018-08-02 03:56:49 +02:00
Bert Belder
788b0795de
util: make symlink() work on older Windows versions 2018-08-02 02:59:37 +02:00
Bert Belder
e5b7d31aba
tools/setup: avoid running gn gen twice in the same output directory 2018-08-02 02:59:36 +02:00
Bert Belder
446081b1e6
rollup: add extension to mock_builtin.js 2018-08-02 02:59:36 +02:00
Bert Belder
1a6ba1f812
tools: fix tools/clang symlink on startup 2018-08-02 02:59:36 +02:00
Karl Horky
2adc9bd580 Update protobuf link to flatbuffer
Ref: https://github.com/ry/deno/pull/330
2018-08-01 14:59:37 -04:00
Ryan Dahl
6b6fac209c Optimize compile time by using asm.
Switches to using asm incbin to embed the V8 snapshot instead of
outputing C code and then compiling it.

Compile time for from_snapshot.o goes from 44s to 1s.
2018-08-01 12:14:10 -04:00
Ryan Dahl
db8dc0e9f8 Better handling of exceptions during snapshot creation. 2018-08-01 12:14:10 -04:00
Ryan Dahl
ae82db54f6 build: use compiled_action for create_snapshot.
Switch the order of the snapshot_creator args, in order to allow for
optional source map arg.
2018-08-01 12:14:10 -04:00
Ryan Dahl
9a42fcad9f Add base64-js to third_party.
It's a dependency of js/v8_source_maps.ts.
2018-08-01 12:14:10 -04:00
Kitson Kelly
36fa1cea4a Upgrade TypeScript (3.0.1)
Update runtime to use lib.deno.d.ts

Add proper console declaration

Upgrade prettier (There was an issue formatting lib.deno.d.ts)
2018-07-31 20:47:49 -04:00
Ryan Dahl
b44c235579 Install sysroot on linux. 2018-07-29 00:24:16 -04:00
Ryan Dahl
37ec079325 Remove depot_tools from travis.
Fixes #399
2018-07-29 00:24:16 -04:00
Ryan Dahl
db65c723ae Rename run_hooks.py to setup.py
Moves 'gn gen' into setup.py

Make tools/build.py more ergonomic.
2018-07-29 00:24:16 -04:00
Bert Belder
604a8a640c Add winapi crate, make 'rand' and 'tempfile' work 2018-07-29 00:22:39 -04:00
Bert Belder
37a4606d29 Add "features" argument to rust components 2018-07-29 00:22:39 -04:00
Ryan Dahl
4d386e9e1c Implement CodeCache 2018-07-29 00:22:39 -04:00
Ryan Dahl
1f093c12f8 Add sha1 and tempfile crates. 2018-07-29 00:22:39 -04:00
Ryan Dahl
c06f2789f8 spelling 2018-07-29 00:22:39 -04:00
Ryan Dahl
20a41aa9b5 Add from_c() to get a Deno object from ptr.
This is a utility function for CodeCache and other handlers.
2018-07-29 00:22:39 -04:00
Ryan Dahl
e7445507aa Implement a logger so we can get logging output. 2018-07-29 00:22:39 -04:00
Ryan Dahl
57c52a83a0 Add tests/003_relative_import.ts 2018-07-29 00:22:39 -04:00
Kitson Kelly
5d146ed742 Ignore any generated TypeScript files 2018-07-27 10:06:29 -04:00
Ryan Dahl
6b49944da1 Simplify run_rustc.py output. 2018-07-26 11:38:03 -04:00