1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-15 16:43:44 -05:00
Commit graph

5040 commits

Author SHA1 Message Date
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
Ryan Dahl
b39a71d4c6 Fix clang warning.
warning: comparison of integers of different signs: 'const unsigned
long' and 'const int' [-Wsign-compare]
2018-07-26 11:38:03 -04:00
Ryan Dahl
16caa1173d Run tools/format.py 2018-07-26 11:38:03 -04:00
Kitson Kelly
5562c36824 Remove msg_generated hack (#409) 2018-07-25 23:07:50 -04:00
robbym
180170d860 Add --v8-options flag (#405) 2018-07-25 21:27:27 -04:00
Bert Belder
4d08bb85a4
Clean up and fix tools
* Make sync_third_party work in general
* Un-break build.py and run_hooks.py on windows
* Partially fix format.py on windows
* Reduce code duplication between run_hooks and sync_third_party
2018-07-25 20:13:17 +02:00
Ryan Dahl
0875411267
Add tools/build.py (#398)
To allow better tab completion for ./tools/build.py
mv build_third_party.py sync_third_party.py
2018-07-24 13:42:23 -04:00
Ryan Dahl
0213053856 Remove handlers crate target.
- Add build scripts for Rust flatbuffers.
- Rewrites some reply.cc methods in Rust.
- Changes some struct elements to table in msg.fbs (rust flatbuffers
  lacks support currently)
- Renames handlers_test to test_rs.
- This reorg is needed to make progress on the code cache handler.
2018-07-24 12:29:54 -04:00
Ryan Dahl
b79ce93010 Allow deno_buf with null alloc_ptr to be memcpy'd
This is a temporary hack to allow for easier restructuring of
the serialization code as we move Flatbuffer stuff from C++ to Rust.
2018-07-24 12:29:54 -04:00