1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-04 08:54:20 -05:00
Commit graph

1889 commits

Author SHA1 Message Date
Ryan Dahl
fde96a8e43 allow_reuse_address for test http server. 2018-08-27 17:51:24 -04:00
Aaron Power
f43259e5ab Moved console tests to own file, and switched circular test to use stringify with assertEqual 2018-08-27 17:18:37 -04:00
Aaron Power
0f1db89aa6 Fixed printing strings in arrays & objects without quotes 2018-08-27 13:45:29 -04:00
Bert Belder
224cfc8c74
build: fix rust temp file conflicts during parallel build 2018-08-26 19:22:37 +02:00
Bert Belder
dfcde3e1ee
format 2018-08-26 19:22:37 +02:00
Bert Belder
7041f2e5f1
appveyor: verify that ninja files do not use absolute path names
Using absolute paths is generally not intended, and it makes
ccache/sccache much less effective.
2018-08-26 18:27:23 +02:00
Bert Belder
dc105cca5a
appveyor: fix conditional
If the build is not a tag build, APPVEYOR_REPO_TAG is [string]"false",
which is a truthy value.
2018-08-26 18:27:23 +02:00
Bert Belder
ba6514dfcf
build: fix typescript dirs not correctly rebased 2018-08-26 18:27:23 +02:00
Bert Belder
79f60f6731
build: do not bake absolute paths into deno_ns 2018-08-26 18:27:23 +02:00
Bert Belder
26707446fc
libdeno: add file utilities Dirname() and ExePath() 2018-08-26 18:27:23 +02:00
Bert Belder
ddddd50540
format 2018-08-26 18:27:22 +02:00
Bert Belder
4747f50f52
tools/format: fix clang-format glob pattern 2018-08-26 18:27:12 +02:00
Yoshiya Hinosawa
17d6d6b336 refactor: add and use libdeno.setGlobalErrorHandler instead of window.onerror 2018-08-26 11:03:41 -04:00
Aaron Power
3a5cf9ca8b Replaced read_file_sync{_string} with std::fs::read{_to_string} 2018-08-26 11:00:22 -04:00
Francesco Borzì
84c38f34ee Prevent circular imports in ts code (#576) 2018-08-25 15:42:49 -04:00
Bert Belder
3bcf7e271f
Build: make it possible to use ccache/sccache on windows
Also auto-detect the availability of sccache in setup.py.
2018-08-25 14:16:41 +02:00
Kitson Kelly
c003df53ab Integrate ScriptSnapshot into ModuleMetaData 2018-08-24 17:16:54 -04:00
Ryan Dahl
a4b3741b4d Upgrade flatbuffers
83a71543f8
2018-08-24 22:21:06 +02:00
Bert Belder
4b3a8be640 travis: allow cache to be saved when build takes too long
Kill Ninja after 35 minutes to prevent Travis from cancelling the build
due to time-out. This allows the cache to be saved, so the build can
complete when it is attempted again.
2018-08-24 20:57:32 +02:00
Andy Hayden
0208305fcd Add osx to travis 2018-08-24 00:06:05 -04:00
Kitson Kelly
59231d74b5 Improve DenoCompiler.makeDefine and localRequire 2018-08-23 17:55:22 -04:00
Ryan Dahl
1355803849 Update Readme with link to releases. 2018-08-23 19:03:35 +02:00
Ryan Dahl
68d388229e Bump version to v0.1.0
https://github.com/denoland/deno/milestone/1
2018-08-23 10:37:06 -04:00
Ryan Dahl
ecb955929f Normalize windows paths.
Add resolve_module test
2018-08-23 09:41:08 -04:00
Ryan Dahl
e2f9b0e6fd First pass at HTTP imports
Implement --reload

Integrate hyper errors into DenoError

In collaboration with Tommy Savaria <tommy.savaria@protonmail.ch>
2018-08-23 09:41:08 -04:00
Ryan Dahl
242e68e50c fmt 2018-08-23 09:41:08 -04:00
Ryan Dahl
7d7263c48f Implement writeFileSync
In collaboration with Tommy Savaria <tommy.savaria@protonmail.ch>
2018-08-22 18:39:07 -04:00
Ryan Dahl
e7cab71574
runtime.ts refactor into compiler.ts (#564)
Adds compiler_test.ts
2018-08-22 17:17:26 -04:00
Bert Belder
c5bb412933
Make deploying windows binaries from appveyor work 2018-08-22 22:34:22 +02:00
Ryan Dahl
0c907715a3 Travis: branches only master prevents building tags
It appears there's no way to whitelist tags in addition to master, so we
can just build all for now.
https://github.com/travis-ci/travis-ci/issues/2111
2018-08-22 14:18:09 -04:00
Ryan Dahl
355da89eae
Add appveyor binary deploy. (#556)
Also switch to release mode.
2018-08-22 13:42:04 -04:00
Ryan Dahl
ca4ace6b1f Bump version to v0.0.3 2018-08-22 12:08:52 -04:00
Jeremy Banks
27ef77e31b Change usage example script extension from .js to .ts 2018-08-22 09:57:21 -04:00
Ryan Dahl
790baae673 Expose deno.exit() and add test. 2018-08-21 18:34:56 -04:00
Ryan Dahl
18d495c7d1 Better error handling in src/handlers.rs
Introduces error codes that are shared between JS/RS

Fixes #526.
2018-08-21 15:37:45 -04:00
Ryan Dahl
cb1393cdae
Travis deploy (#548)
* Fix travis deploy / simplify build.

- No more stages, only build release mode.
- Fixes API key issue.

* Reinstate master only - testing was successful.
2018-08-21 08:42:23 -04:00
Ryan Dahl
5d866161f8 Fix TS errors in fetch.ts 2018-08-20 21:20:15 -04:00
Ryan Dahl
868e8d8866 First pass at fetch()
With help from Thomas Ghysels <info@thomasg.be>
2018-08-20 16:53:39 -04:00
Thomas Ghysels
7b0618c20b Add hyper dependencies 2018-08-20 16:53:39 -04:00
Ryan Dahl
f7fd238953 Enable http server for tests. 2018-08-20 16:53:39 -04:00
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