1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-14 19:37:59 -05:00
Commit graph

12599 commits

Author SHA1 Message Date
C. K. Tang
8aa0408671 Readme: specify build deps more carefully (#547) 2018-08-19 15:25:09 -04:00
Bartek Iwańczuk
66f0e93b4c add notImplemented and unreachable util functions (#540) 2018-08-19 15:04:27 -04:00
Yoshiya Hinosawa
aaabc853e8 chore: move libdeno files to //libdeno/ 2018-08-19 11:27:47 -04:00
Andy Hayden
146bc93b81 Add an error message if rustc is not installed 2018-08-18 22:20:53 -04:00
Robert Lin
2d6cb9024e Fix travis release builds (#539) 2018-08-18 11:46:40 -04:00
Ryan Dahl
81b042c8db
Rename :all target to :default 2018-08-18 01:09:48 +02:00
Bert Belder
3640ea4c0d
build: don't clobber rust depfile mtime when fixing its paths
This avoids ninja unnecessarily rebuilding rust targets.
Add a check for problems like these to be run on appveyor.
2018-08-18 00:58:01 +02:00
Ryan Dahl
42e7b7b3e7 Use snake-case for cmd_id. 2018-08-17 18:50:37 -04:00
Ryan Dahl
0b61d955eb Upgrade fbs to latest.
Reduces numbers of warnings.
2018-08-17 18:50:37 -04:00
Ryan Dahl
17b9c5c390
Command line flag parsing (#524)
In particular this allow -D for logging debug output.
2018-08-17 16:34:30 -04:00
Bert Belder
4a55724f81
appveyor: automatically remove stale build outputs from cache 2018-08-17 21:25:12 +02:00
Bert Belder
d75010ddfe
appveyor: use somewhat terser style 2018-08-17 21:25:11 +02:00
Bert Belder
5bdb1ce452
appveyor: work around rust parellel build conflict 2018-08-17 21:25:11 +02:00
Bert Belder
6326ae72b6
appveyor: never save cache after a failed CI run 2018-08-17 21:25:11 +02:00
Ryan Dahl
3f7d61a589 Add yarn.lock to third_party
Prevents upgrades with running tools/sync_third_party.py
2018-08-17 15:11:32 -04:00
Yoshiya Hinosawa
67d89ff692 chore: download clang-format from google storage 2018-08-17 12:58:58 -04:00
Yoshiya Hinosawa
565a21eb0e chore: format files in tests/ 2018-08-17 12:43:21 -04:00
Robert Lin
87a061785e Travis: publish from CI (#501)
Split travis build into stages, add release stage.
2018-08-17 11:54:36 -04:00
mervynzhang
e41ee9bf4c import sys since sys.exit(1) used 2018-08-17 11:00:57 -04:00
Ryan Dahl
b6912e718a Remove dead code: src/flatbuffer_builder.cc 2018-08-16 08:40:11 -04:00
Ryan Dahl
36d82374cf Implement deno_handle_msg_from_js in Rust
Fixes #419, #414.
2018-08-16 08:40:11 -04:00
Ryan Dahl
d770cc18f8 Upgrade Rust Flatbuffers 2018-08-16 08:40:11 -04:00
Kitson Kelly
168d92f5d2 Use typescript strict mode (#505) 2018-08-15 12:40:30 -04:00
Yoshiya Hinosawa
0ce7b6e870 chore: introduce rust_treat_warnings_as_errors build arg 2018-08-14 10:51:01 -04:00
Yoshiya Hinosawa
f46c271afc fix: change :test_cc to v8_executable 2018-08-13 23:42:45 -04:00
Ryan Dahl
02540e559d Fix transitive rust deps.
Use a single out_dir for all rust crates.
2018-08-13 13:27:13 -04:00
Ryan Dahl
2c384f2b07 Use source_set for rust_crate 2018-08-13 13:27:13 -04:00
Ryan Dahl
61f5f25f26 s/rust_component/rust_crate/ 2018-08-13 13:27:13 -04:00
Kitson Kelly
e9d692ef70 Use @internal with js/timers.ts 2018-08-13 11:54:10 -04:00
Ryan Dahl
4772c14d12 Add async tests from prototype 2018-08-11 09:02:07 -07:00
Ryan Dahl
c7ce450ee9 Rename mock_runtime_test to libdeno_test
Fixes #465
2018-08-11 09:02:07 -07:00
Ryan Dahl
89eee51f07 Use unit_tests for readFileSync testing. 2018-08-11 09:02:07 -07:00
Kitson Kelly
9be36ffbf8 Add error tests 2018-08-10 11:50:45 -07:00
Kitson Kelly
2c8bdd2f5f Fix stacktraces in deno_ns 2018-08-10 11:50:45 -07:00
Kitson Kelly
c4cafcecb1 Support wildcard matching of output in tests 2018-08-10 11:50:45 -07:00
Kitson Kelly
e28d7abc1c Only emit declarations for generated files (#502)
and remove declarationMap flag from generated tsconfig
2018-08-10 10:46:09 -07:00
Robby Madruga
99932f6422 Change Deno::new to return an owned Box 2018-08-09 14:59:49 -07:00
Ryan Dahl
9d90c4ae95
Adds js/unit_tests.ts (#448) 2018-08-09 14:48:17 -07:00
Ryan Dahl
413bcf2042 Add readFileSync 2018-08-09 14:27:46 -07:00
Ryan Dahl
72544de443 Add fs::read_file_sync_string 2018-08-09 14:27:46 -07:00
Ryan Dahl
040a042679 Add TextEncoder/TextDecoder support.
Fixes #470

This commit increases size:
out/release/gen/bundle/main.js      7.3M -> 7.9M
out/release/gen/bundle/main.js.map   11M -> 12M
out/release/gen/snapshot_deno.bin    34M -> 37M
out/release/deno                     49M -> 53M

Note the amount in the JS code added is quite small:
4.0K    node_modules/text-encoding/index.js
4.0K    node_modules/@types/text-encoding/index.d.ts
4.0K    js/text_encoding.ts

Unclear to me what is causing the jump in snapshot size.
2018-08-09 14:27:46 -07:00
Ryan Dahl
fb87cb38ec
First pass at setTimeout with Tokio (#434) 2018-08-09 12:17:08 -07:00
Kitson Kelly
0e96125260 Use sourcemapFile to reroot sourcemap sources 2018-08-08 23:00:44 -07:00
Ryan Dahl
038c5f0727 Remove RUSTFMT_FLAGS 2018-08-08 18:35:26 -07:00
Ryan Dahl
51380bf399 Organize libdeno functions. 2018-08-08 18:35:26 -07:00
Ryan Dahl
4a1ccdeadb Change rustfmt flags. For v0.8.2. 2018-08-08 18:35:26 -07:00
Ryan Dahl
7895964ee1 Better error for 'No such asset' 2018-08-08 18:35:26 -07:00
Ryan Dahl
070c5f85da Fix rust logger. 2018-08-08 18:35:26 -07:00
Ryan Dahl
69f73ee368 Hacky error handling for Url::from_file_path. 2018-08-08 18:35:26 -07:00
Ryan Dahl
f632797bc8 Print output even when test failed. 2018-08-08 18:35:26 -07:00