1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-20 22:34:46 -05:00
Commit graph

12831 commits

Author SHA1 Message Date
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
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