1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 09:39:08 -05:00
Commit graph

2948 commits

Author SHA1 Message Date
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
Ryan Dahl
7e3296dad9 v0.18.0 2019-09-13 16:40:08 -04:00
Ryan Dahl
aa7a0f4bd8
Fix tools/cargo_package.py (#2940) 2019-09-13 16:39:42 -04:00
Ryan Dahl
f5afadc000 Remove old comment about gn build (#2944) 2019-09-13 21:45:46 +02:00
Bert Belder
ac68f628d2
Upgrade rust crates 2019-09-13 00:38:02 +02:00
Bert Belder
111b19b0a3
Remove 'integer-atomics' crate 2019-09-13 00:38:02 +02:00
Kitson Kelly
d231df17b0 deno_typescript cleanup/improvements (#2901) 2019-09-12 17:30:04 -04:00
Bartek Iwańczuk
c03cdcc939 feat: add bindings to run microtasks from Isolate (#2793) 2019-09-12 15:13:08 -04:00
Ryan Dahl
69e01c2374
Update README for integration tests (#2929) 2019-09-12 14:51:15 -04:00
Bert Belder
dcf2d1405f
appveyor: download sccache before attempting to start it 2019-09-12 19:38:38 +02:00
Bert Belder
152de0129e
appveyor: do not explicitly configure GN/Ninja environment
Users shouldn't have to do this manually, so we want to configure CI
such that it fails if our build scripts don't set it up automatically.
2019-09-12 19:38:38 +02:00
Bert Belder
e2421f78f3
appveyor: upgrade git to v2.23.0 2019-09-12 19:38:33 +02:00
Ryan Dahl
93d6faacf5
Keep all deno_std URLs in sync (#2930) 2019-09-12 12:56:53 -04:00
Bert Belder
c7db26cfec
Clean up and remove dead code from .appveyor.yml 2019-09-12 08:43:03 -07:00
Bartek Iwańczuk
a8f44213ec bump prettier revision (#2928) 2019-09-12 06:32:24 -04:00
Axetroy
878a9a29e7 bump prettier to 1.18.2 (denoland/deno_std#592)
Original: 06958a4ada
2019-09-11 23:31:23 -04:00
Bartek Iwańczuk
61231912e2 fix: panicking when can't create runtime for block_on (#2905) 2019-09-11 20:10:14 -04:00
Christian Moritz
19cd8deaf2 tools: download gn from CIPD (#2912) 2019-09-11 18:22:23 -04:00
Bartek Iwańczuk
945dc7b84b fix: panic during fetch (#2925) 2019-09-11 17:34:22 -04:00
Ryan Dahl
82dc1b8e59
Upgrade pylint (#2917)
depot_tools is removing pylint from its distribution so we must maintain
our own copy.
2019-09-11 16:47:42 -04:00
Nayeem Rahman
ad11f2ad6a Default base URL path to '/' (#2921) 2019-09-11 16:20:54 -04:00
Luca Casonato
f38bd45bf9 Added normalized benchmark graphs (#2919) 2019-09-11 16:09:58 -04:00
Nayeem Rahman
a1976236d9 Default 'this' to window in EventTarget (#2918) 2019-09-11 12:53:01 -04:00
Nimalan
08087e921e Make uuid v4 rfc4122 compliant (denoland/deno_std#580)
Original: ba69f1ea14
2019-09-11 12:34:44 -04:00
Nayeem Rahman
8d355908ab Add xeval (denoland/deno_std#581)
Co-authored-by: Nayeem Rahman <muhammed.9939@gmail.com>


Original: a2cae360e8
2019-09-11 12:31:14 -04:00
Bartek Iwańczuk
85c51404ae feat: Set user agent for http client (#2916) 2019-09-11 07:31:00 -04:00