1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00
Commit graph

12740 commits

Author SHA1 Message Date
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
Bert Belder
69ee336840
Remove the 'cfg' variable from rust templates
It's never been used for anything other than enabling crate features.
Use the 'features' variable instead, it's more readable and more terse.
2018-08-09 02:20:32 +02:00
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