1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-12 12:50:00 -05:00
Commit graph

7473 commits

Author SHA1 Message Date
Bartek Iwańczuk
112ce0df1f test: add HTTP_PROXY tests (#2977) 2019-09-24 18:52:01 -04:00
Ryan Dahl
a497f87b59
Upgrade V8 for top-level-await (#3015) 2019-09-24 18:37:04 -04:00
Christian Moritz
726f08694b tools: fix cc_wrapper in setup.py (#3017) 2019-09-24 15:19:23 -04:00
Bartek Iwańczuk
2201414a7a fix: run missing integration tests (#2997) 2019-09-24 10:46:57 -04:00
Jonathon Orsi
045e74bb39 feat: Add Deno.dialTLS()
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2019-09-23 15:12:42 -04:00
Yusuke Sakurai
aa21e7bc81 fix TOML's key encoding (denoland/deno_std#612)
Original: 54a5b95fef
2019-09-23 11:08:57 -04:00
Tomohito Nakayama
4ff04ad96f Rename class name DenoFile to DomFileImpl (#3006) 2019-09-23 11:07:13 -04:00
Dmitry Sharshakov
9739ba55df Implement readString (denoland/deno_std#607)
Original: 20b6408e10
2019-09-22 13:04:46 -04:00
Dmitry Sharshakov
f545f1d571 Fix types in example_client for ws module (denoland/deno_std#609)
Original: a4a8bb2948
2019-09-21 14:37:05 -04:00
Dmitry Sharshakov
b7dea16a37 Update mime-db to commit c50e0d1 (denoland/deno_std#608)
Original: 51134571c4
2019-09-21 14:33:21 -04:00
Nayeem Rahman
6fdf92d1ab Remove //testing/main.ts (denoland/deno_std#605)
Original: e3a33a79e6
2019-09-21 14:32:15 -04:00
Ryan Dahl
97bb2bdb79
dial/listen API change (#3000)
Previously: dial("tcp", "deno.land:80")
Now: dial({ hostname: "deno.land", port: 80, transport: "tcp" })
Similarly with listen().
2019-09-20 18:32:18 -04:00
Bert Belder
93b7acf99d
js: reschedule global timer if it fires earlier than expected (#2989)
When the global timer fires earlier than expected, which apparently
happens sometimes on server editions of Windows, we didn't call any
setTimeout callbacks, but we *also* didn't reschedule the global timer
to fire again later.

When this situation occurred it would make deno exit abruptly if there
were no other asynchronous ops running on the event loop. It could also
lead to application hangs if the upcoming setTimeout callback was
critical for the application to make progress.
2019-09-20 19:00:12 +02:00
Yoshiya Hinosawa
560edc536c Fix handling of config file (#2996) 2019-09-20 10:19:51 -04:00
YIPG
7f90b7826d change color of chart in dark mode (#2995) 2019-09-20 10:01:19 -04:00
Ryan Dahl
718a2e8281
Set RUSTC_WRAPPERf in travis and appveyor (#2978) 2019-09-19 15:35:44 -04:00
Ryan Dahl
56ac638d93
Remove test.py, use cargo test as test frontend (#2967)
Fixes #2933
2019-09-19 14:48:05 -04:00
迷渡
1b1ae65a4a Make window compatible with ts 3.6 (#2984) 2019-09-19 11:40:52 -04:00
迷渡
5102eec92b fix spaces of indented in list (#2983) 2019-09-19 03:28:04 -04:00
Bert Belder
a130e8858b
Clean up miscellaneous metafiles (#2981)
The yarn.lock file is moved from //third_party to the root of
the main repository. This is where other package metadata
files (e.g. Cargo.lock and package.json) are also located.
2019-09-19 03:32:48 +02:00
Kitson Kelly
693a45c3fd Utilise internal names for snapshot bundles (#2973) 2019-09-18 19:56:13 -04:00
Ryan Dahl
de19598d13
Run github actions on all pull requests (#2980) 2019-09-18 19:37:31 -04:00
Ryan Dahl
4a807f4225
First pass at github actions (#2966) 2019-09-18 17:23:27 -04:00
Ryan Dahl
3e9c7918c9 v0.18.0 (denoland/deno_std#600)
Several tests were disabled in order to land this update.
Original: a8f6cf7b4f
2019-09-18 13:17:03 -04:00
Nayeem Rahman
fd44fe34d4 Add includeDirs to WalkOptions (denoland/deno_std#601)
Original: de8d0ab4a1
2019-09-18 11:37:37 -04:00
Ryan Dahl
4d3df6f73b
Run tools/sync_node_modules.py (#2972) 2019-09-17 15:10:18 -04:00
Bert Belder
29b9f90d90
Use shallow submodules, don't clone Typescript recursively 2019-09-17 18:38:51 +02:00
Kitson Kelly
60a2b5a8d0 Update to TypeScript 3.6.3 (#2969) 2019-09-17 12:24:44 -04:00
Nayeem Rahman
e55e4a2838 Remove some non-standard web API constructors (#2970)
This removes the EventListener, EventInit and CustomEventInit constructors from the userland globals. The type exports stay.

I removed the internal classes as well. EventListener's implementation seemed to be doing some bookkeeping on handled events but that's not being used anywhere so I assume it's old debug stuff. The other two are completely redundant.
2019-09-17 12:17:12 -04:00
Ryan Dahl
9cfdc60a23
Move integration tests to //cli/tests/ (#2964)
This ensures the deno executable is properly created before running the integration tests.

Also allows deno_cli to be used as a lib. Docs are now properly generated: https://docs.rs/deno_cli/0.18.4/deno_cli/

Towards #2933
Prep for #2955
2019-09-16 21:05:14 -04:00
Bert Belder
02cb34d8ad
Fix and enable linting of deno_typescript/*, tools/*, website/* (#2962) 2019-09-16 23:30:56 +02:00
Christian Moritz
c6afe87feb remove zlib from gclient_config.py (#2961)
and remove DENO_NINJA_PATH from manual
2019-09-16 13:18:18 -04:00
Bert Belder
2788b5d4a1
Use more ergonomic submodule names
Change submodule names to match the name of the corresponding github
repository, which is easier to remember than using the full path where
the submodule is (or used to be) checked out.
2019-09-16 13:36:21 +02:00
Ryan Dahl
c9ef182886
Make deno_cli installable via crates.io (#2946)
- Fixes cargo publish on deno_typescript, deno_cli_snapshots, and
  deno_cli.
- Combines cli_snapshots and js into one directory.
- Extracts TS version at compile time rather than runtime
- Bumps version awkwardly - it was necessary to test end-to-end
  publishing. Sorry.
- Adds git submodule deno_typescript/typescript
2019-09-15 18:36:27 -04:00
Bert Belder
1d305c2ac7
third_party: remove zlib 2019-09-15 23:49:06 +02:00
Christian Moritz
9c282d6a0e
Move GN root into //core/libdeno (#2943) 2019-09-15 22:12:12 +02:00
Christian Moritz
40a6d83073
ci: fix Travis builds timing out because of no output (#2943) 2019-09-15 21:59:35 +02:00
Christian Moritz
1a6c4b644b
ci: use Node.js v12 on Appveyor (#2943) 2019-09-15 21:59:34 +02:00
Tomohito Nakayama
a93b29007f Rename ansi.rs to colors.rs (#2956) 2019-09-15 14:48:25 -04:00
Bert Belder
4556a38ed9
Run format.py (#2950) 2019-09-15 20:12:17 +02:00
Bert Belder
c8184eceb0
tools: remove unused function 'find_exts()' (#2950) 2019-09-15 20:12:16 +02:00
Bert Belder
63e1a4cf2b
tools: do not use 'find_exts()' in benchmarks.py (#2950) 2019-09-15 20:12:16 +02:00
Bert Belder
fbfd895bc7
tools: refactor lint.py and format.py (#2950) 2019-09-15 17:47:51 +02:00
Bert Belder
456b75cbf9
tools: add 'shell' parameter to 'run()' (#2950) 2019-09-15 17:47:51 +02:00
Bert Belder
e7d1da3671
tools: clean up third_party.py, and merge prebuilt.py into it (#2950)
* Remove reference to removed dir 'third_party/rust_crates'.
* Remove reference to unused environment variable 'DENO_NINJA_PATH'.
* Remove helper functions 'root()' and 'tp()'.
* Move definition of 'third_party_path' to build.py.
* Move definition of 'gn_exe()' to setup.py.
* Move 'download_sccache()' and 'download_hyperfine()' from prebuilt.py
  to third_party.py, and delete prebuilt.py.
* Add helper function 'get_platform_dir_name()' to locate the
  platform-specific 'v8/buildtools/<platform>' and
  'prebuilt/<platform>' directories.
* Add helper function 'get_prebuilt_tool_path()' that returns the full
  path to a platform-specific executable in //prebuilt.
* Cosmetic improvements.
2019-09-15 17:47:50 +02:00
Bert Belder
d936c49d53
tools: consistently use 'sys.executable' instead of 'python' (#2950) 2019-09-15 17:47:50 +02:00
Bert Belder
2d20ac8319
cli_snapshots: remove unused file run.py (#2950) 2019-09-15 17:47:50 +02:00
Kitson Kelly
8ab48e7ef7 Fix debug logging in runtime/compiler (#2953) 2019-09-15 11:04:05 -04:00
Kitson Kelly
c30decab77 Fix type directive parsing (#2954) 2019-09-15 08:58:06 -04:00
Bartek Iwańczuk
686b86edb1 feat: parallelize downloads from TS compiler (#2949) 2019-09-14 12:05:00 -04:00