1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-14 16:33:45 -05:00
Commit graph

428 commits

Author SHA1 Message Date
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
Ryan Dahl
aa7a0f4bd8
Fix tools/cargo_package.py (#2940) 2019-09-13 16:39:42 -04:00
Bert Belder
ac68f628d2
Upgrade rust crates 2019-09-13 00:38:02 +02:00
Christian Moritz
19cd8deaf2 tools: download gn from CIPD (#2912) 2019-09-11 18:22:23 -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
Bartek Iwańczuk
85c51404ae feat: Set user agent for http client (#2916) 2019-09-11 07:31:00 -04:00
Bert Belder
df5b6cdd7f
Remove error message mentioning build.py 2019-09-10 20:23:59 -07:00
Ryan Dahl
dd70d8622b
Upgrade V8 to 7.9.8 (#2907)
//build was updated and our patch rebased:
https://github.com/denoland/chromium_build/tree/20190910_win_clang_depfile

V8 has removed the binaries third_party/v8/buildtools/*/gn.sha1 and started 
using CIPD. In this patch, I've hacked in the original .sha1 files and continue to
use download_from_google_storage instead of the new CIPD. This will be fixed
in later work.
2019-09-10 19:18:31 -04:00
Ryan Dahl
49aea7abbc
Minor fixes in tools/ (#2906)
* Fix tools/docs.py

* Remove dead code: sync_rust_crates.py
2019-09-10 14:34:54 -04:00
Bartek Iwańczuk
acee1944b9 feat: Make integration tests rust unit tests (#2884)
Co-authored-by:  Bartek Iwańczuk <biwanczuk@gmail.com>
2019-09-10 11:09:54 -04:00
Ryan Dahl
acaff6d056
Remove tools/build.py (#2865)
Testing regression: ASAN build removed.
2019-09-06 20:32:58 -04:00
Ryan Dahl
9d62d77cfa
Run tests after "cargo build" on travis (#2854) 2019-09-04 17:16:46 -04:00
Ryan Dahl
d43b43ca78
Refactor snapshot build (#2825)
Instead of using core/snapshot_creator.rs, instead two crates are
introduced which allow building the snapshot during build.rs.

Rollup is removed and replaced with our own bundler. This removes
the Node build dependency. Modules in //js now use Deno-style imports
with file extensions, rather than Node style extensionless imports.

This improves incremental build time when changes are made to //js files
by about 40 seconds.
2019-09-02 17:07:11 -04:00
Nayeem Rahman
df2f54b2a6 Fix REPL '_' assignment, support '_error' (#2845) 2019-08-31 15:17:56 -04:00
Kevin (Kun) "Kassimo" Qian
07c3c76d0d Save last execution result in for REPL (#2843) 2019-08-31 02:45:35 -04:00
Ryan Dahl
c370f749b2
Remove ts_library_builder, maintain lib.deno_runtime.d.ts by hand (#2827) 2019-08-30 11:11:33 -04:00
Bert Belder
e939ec0f21
third_party: upgrade 'rustls' and related crates 2019-08-29 10:45:09 -07:00
Ryan Dahl
725eb98105
Clean up various flatbuffer references (#2819) 2019-08-26 22:29:51 -04:00
Ryan Dahl
f94900406d
Remove flatbuffers (#2818) 2019-08-26 17:02:34 -04:00
Ryan Dahl
7ff67017f2 Move TestFmt to the end of tests, because slow 2019-08-26 14:56:42 -04:00
Bartek Iwańczuk
017f88ee99 fix: shared queue requires aligned buffer (#2816) 2019-08-26 07:48:40 -04:00
Ryan Dahl
de713e42c8
Upgrade to rust 1.37.0 (#2786) 2019-08-16 20:49:00 -04:00
Kevin (Kun) "Kassimo" Qian
286ee1d8b6 Fix dynamic import base path problem for REPL and eval (#2757) 2019-08-09 16:33:59 -07:00
Daniel Buckmaster
520bdb6c31 Fix repl crash when deno dir doesn't exist (#2727) 2019-08-08 07:25:39 -04:00
Ryan Dahl
a517513182
Remove Deno.build.args feature (#2728)
This is a minor feature which complicates the build signifigantly.
Removing to ease refactoring the build system:
https://github.com/denoland/deno/issues/2608
2019-08-05 18:00:45 -04:00
Kevin (Kun) "Kassimo" Qian
52c13fb3ed Enforce env permission on homeDir() and execPath (#2714) 2019-08-03 21:34:13 -04:00
Bert Belder
c6861b537e
third_party: upgrade rust crates 2019-08-02 18:59:54 +02:00
Ryan Dahl
3971dcfe10
Use system rustfmt instead of fixed binary (#2701) 2019-07-31 17:11:37 -04:00
Bartek Iwańczuk
e7cee29c84 Add --current-thread flag (#2702) 2019-07-31 11:02:20 -04:00
Bartek Iwańczuk
ff96e3dc63 benchmarks: make latency benchmark less noisy (#2689) 2019-07-28 21:31:18 +00:00
Bartek Iwańczuk
187310a3e1 benchmarks: add bundle size (#2690) 2019-07-28 10:11:08 +00:00
Ryan Dahl
bc12a3ba56
Reorder tools/format.py so slowest are last (#2661) 2019-07-18 15:00:50 -04:00
Bartek Iwańczuk
8214b686ce Refactor DenoDir (#2636)
* rename `ModuleMetaData` to `SourceFile` and remove TS specific
  functionality

* add `TsCompiler` struct encapsulating processing of TypeScript files

* move `SourceMapGetter` trait implementation to `//cli/compiler.rs`

* add low-level `DiskCache` API for general purpose caches and use it in
  `DenoDir` and `TsCompiler` for filesystem access

* don't use hash-like filenames for compiled modules, instead use
  metadata file for storing compilation hash

* add `SourceFileCache` for in-process caching of loaded files for fast
  subsequent access

* define `SourceFileFetcher` trait encapsulating loading of local and
  remote files and implement it for `DenoDir`

* define `use_cache` and `no_fetch` flags on `DenoDir` instead of using
  in fetch methods
2019-07-17 18:15:30 -04:00
Ryan Dahl
bd6ebb32df
hyper_hello should be in its own crate (#2641)
So that "cargo build" will build it when the gn frontend is eventually
removed.
2019-07-15 14:00:27 -04:00
Ryan Dahl
1fde15c0bc
Fix REPL when it receives EOF (#2638) 2019-07-12 10:23:08 -04:00
Yoshiya Hinosawa
a948f9ff54 io: change Reader interface (#2591)
Instead of returning { nread: number, eof: bool }, read() returns EOF | number.
2019-07-06 10:16:03 -04:00
Bartek Iwańczuk
9d18f97327 fix: normalize Deno.execPath (#2598) 2019-06-30 13:32:24 -04:00
Yoshiya Hinosawa
1068b4848c ts_library_builder: update README (#2604) 2019-06-30 10:52:28 -04:00
Long(Tony) Lian
1d0d54247c feat: fetch() now handles redirects (#2561) 2019-06-24 06:34:09 -07:00
Yoshiya Hinosawa
201ddd29a7 fmt_test: resolve old absolute path issue (#2562) 2019-06-22 07:21:39 -07:00
Ryan Dahl
8693d0e0a7 Split up tools/sync_third_party
This is just encoding my actual workflow; not suggesting that this
workflow is ideal. Previously I would edit sync_third_party.py each time
I ran it.
2019-06-12 10:57:58 -04:00
Ryan Dahl
912e4f7177
feat: default output filename for deno bundle (#2484)
And improve bundle docs
2019-06-11 14:38:19 -04:00
Ryan Dahl
508e9849ff
Move TestFmt to end of tests (#2491) 2019-06-11 11:11:12 -04:00
Andy Hayden
5960e398ec make tests quieter (#2468)
Don't mix every http request in with the tests output.
Don't print that the file servers are starting unless
-vv flag is passed.

Capture the output of run with run_output which returns
stdout, stderr and exit_code. Test against this rather
than relying on sys.exit.
2019-06-08 07:46:57 -04:00
Kurt Mackey
4ea2df6759 http benchmarks with unique ports (#2471) 2019-06-07 15:36:26 -04:00
Kurt Mackey
9a6cfd653d add tcp proxy benchmarks + split out website section for proxy req/s (#2464) 2019-06-06 22:46:18 -04:00
Kurt Mackey
341150266e add http proxy benchmark (#2462) 2019-06-06 12:44:35 -04:00
Bartek Iwańczuk
43c6c1a9f5 Refactor test infrastructure (#2432)
* use subclass of unittest.TestCase for all test cases

* allow to run single test file (eg. python tools/integration_tests.py)

* test filtering (via --pattern/-p CLI flag)

* use common CLI parser for all tests:
  usage: test.py [-h] [--failfast] [--verbose] [--executable EXECUTABLE]
               [--release] [--pattern PATTERN] [--build-dir BUILD_DIR]

  optional arguments:
  -h, --help            show this help message and exit
  --failfast, -f        Stop on first failure
  --verbose, -v         Verbose output
  --executable EXECUTABLE
                        Use external executable of Deno
  --release             Test against release executable
  --pattern PATTERN, -p PATTERN
                        Run tests that match provided pattern
  --build-dir BUILD_DIR
                        Deno build directory

* respect NO_COLOR variable
2019-06-03 12:35:55 -04:00
Kitson Kelly
d438a6d259 Upgrade TypeScript to 3.5.1 (#2437) 2019-06-01 11:13:36 -04:00
Andy Hayden
8fb44eba5b chore: refactor python tests to use unittest (#2414)
Move every test to a method on DenoTestCase.
test.py is a single TestSuite of every TestCase.

Add a Spawn context manager for http_server,
this is explicitly used where it's needed.
Each python test file can now be run independently
without needing to manually run http_server.

Add --help and consistent flags using argparse for
each python test, including --failfast.

Use ColorTextTestRunner so that '... ok' is green.
2019-05-30 16:40:40 -04:00
Christian Moritz
0e780e8948 tools/setup: don't download sccache if --no-binary-download is passed 2019-05-30 13:18:30 -04:00
Christian Moritz
15dadf812c tools/third_party: add DENO_GN_PATH and DENO_NINJA_PATH env vars 2019-05-30 13:18:30 -04:00
Ryan Dahl
64d2b7bc90 Change tools/fmt_test.py to always download prettier
This is to ensure a more fair test. Also we were already downloading
from the internet since we changed the URL to use std@v0.5.0. This
change exposes an OOM bug, which is then fixed in the upcoming compiler
refactor by changing checkJs compiler option to false.
2019-05-29 07:53:39 -04:00
Bartek Iwańczuk
824542e61e chore: Port Python tests to unittest (#2408) 2019-05-27 09:27:55 -04:00
Bartek Iwańczuk
1105982586 re-fix permissions for dial and listen (#2400)
Closes #2397
2019-05-23 23:47:55 +03:00
Bert Belder
7d03a63ded
Revert "Fix permissions for dial and listen (#2373)"
This reverts commit 7219787894.
2019-05-22 19:47:15 -07:00
Bartek Iwańczuk
7219787894 Fix permissions for dial and listen (#2373) 2019-05-17 14:50:53 -04:00
Bert Belder
6e7ccf0b49
tools: format .gn files in the 'cli' directory 2019-05-16 19:57:31 -07:00
Ryan Dahl
160a815767
Rename HTTP benchmarks (#2350) 2019-05-14 15:22:50 -04:00
Kevin (Kun) "Kassimo" Qian
d9cdc6788b fix: support relative path for whitelisting (#2317)
Using `std::fs::canonicalize` to expand path to full existing path, such that
later attempt to loop-pop and compare path segment would work.
2019-05-09 12:20:34 -04:00
andy finch
2edee3367d First pass at permissions whitelist (#2129) 2019-05-08 19:20:30 -04:00
Bartek Iwańczuk
ac8c6fec5b Refactor unit test runner (#2294)
Properly discovers the permissions needed for each test.
2019-05-08 19:15:24 -04:00
Bartek Iwańczuk
f6a9d7d717 add "deno run" subcommand (#2215) 2019-05-03 17:15:16 -04:00
Kevin (Kun) "Kassimo" Qian
3608117132 feat(cli cmd): deno xeval (#2260) 2019-05-03 16:24:09 -04:00
Ryan Dahl
e4354ce739
Re-enable networking unit tests (#2268)
The following tests were commented out in order to get this to go green :
- bodyMultipartFormData
- bodyURLEncodedFormData
- fetchRequestInitStringBody
- netConcurrentAccept
- netListenAsyncIterator
2019-05-02 17:08:02 -04:00
Bartek Iwańczuk
8978870808 Rename test targets (#2262) 2019-05-01 09:48:56 -04:00
andy finch
c36b5dd01c Make error in ast_util more informative. (#2252) 2019-04-30 12:15:03 -07:00
Bartek Iwańczuk
b7d8a0c6f6 Rename deno prefetch to deno fetch (#2210) 2019-04-25 13:47:33 -04:00
Ryan Dahl
9dfebbc949
Fix eslint warnings (#2151)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Co-authored-by: LE GOFF Vincent <g_n_s@hotmail.fr>
2019-04-21 16:40:10 -04:00
Bartek Iwańczuk
cd19da62d9 Refactor CLI entry point (#2157)
Changes "deno --types" to "deno types"
and "deno --prefetch" to "deno prefetch"
2019-04-21 11:34:18 -04:00
Jonathon Orsi
648d2f3ba8 fix typo in permissions explanation (#2162) 2019-04-20 15:12:00 -04:00
Ryan Dahl
f03280ead1
benchmarks: improve syscall and thread count (#2140) 2019-04-17 15:47:07 -04:00
Ryan Dahl
f20b05af24
benchmarks: fix max_memory and clean up (#2137) 2019-04-17 10:52:36 -04:00
Dmitry Sharshakov
0c46358220 Add max memory benchmark (#2061) 2019-04-16 13:57:05 -04:00
Yoshiya Hinosawa
5a3f3a7445 upgrade deno_std & add workaround prettier issue (#2087) 2019-04-09 13:32:48 -04:00
Vincent LE GOFF
734cf781c6 Allow high precision performance.now() (#1977) 2019-04-08 16:22:40 -04:00
Ryan Dahl
3995473925
Fix unit_tests.py (#2065)
They were silently broken in 780e72 due to flag reordering. This commit
also includes a new assert that would avoid that kind of failure in the
future.
2019-04-07 20:58:26 +03:00
Bartek Iwańczuk
780e72ab6a Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
Ryan Dahl
cb11bbd839
Test TCP_NODELAY in hyper_hello (#2060) 2019-04-06 16:56:30 +03:00
Ryan Dahl
9e890c260b Fix tools/docs.py (#2055) 2019-04-06 15:54:54 +02:00
andy finch
7a3df0a184 Add worker benchmarks (#2059) 2019-04-05 22:57:59 +03:00
Kevin (Kun) "Kassimo" Qian
534b8d3021 Follow redirect location as new referrers for nested module imports (#2031)
Fixes #1742
Fixes #2021
2019-04-01 21:46:40 -04:00
andy finch
b0a23beb8f Add web worker JS API (#1993)
* Refactored the way worker polling is scheduled and errors are handled.
* Share the worker future as a Shared
2019-04-01 15:09:59 -04:00
Kitson Kelly
ada5ffa610 Upgrade to TypeScript 3.4.1 (#2027) 2019-04-01 12:47:25 -04:00
Bert Belder
97265895ba
Publish rust crate on crates.io (#2024) 2019-03-31 17:22:02 -04:00
Ryan Dahl
6744bb8d75
Call ninja directly from build.rs (#2020) 2019-03-30 19:27:00 -04:00
Ryan Dahl
c9614d86c1
Move //libdeno to //core/libdeno (#2015)
Fixes some sed errors introduced in c43cfe.

Unfortunately moving libdeno required splitting build.rs into two parts,
one for cli and one for core.

I've also removed the arm64 build - it's complicating things at this
re-org and we're not even testing it. I need to swing back to it and get
tools/test.py running for it.
2019-03-30 14:45:36 -04:00
Ryan Dahl
c25e262b04
Merge the --recompile and --reload flags (#2003) 2019-03-28 16:05:41 -04:00
Bartek Iwańczuk
5ae78eb1de Update ts_library_builder (#1920) 2019-03-25 00:23:24 -04:00
Bernard Lin
3cc90d9bcf Add benchmark for max latency (#1975) 2019-03-24 23:36:27 -04:00
Ryan Dahl
12753e492f
Website updates (#1984) 2019-03-22 11:34:47 -04:00
Ryan Dahl
fa3c35301a
Rename //src/ to //cli/ (#1962)
To better distinguish the deno_core crate from the executable deno,
which will now be called "the cli" internally.
2019-03-19 12:18:05 -04:00
Ryan Dahl
c7d81fa9ff Make write_gn_args.py quiet 2019-03-19 03:50:47 -04:00
Ryan Dahl
8f3d0ca664 Deprecate DENO_BUILD_MODE=release
Instead use: tools/build.py --release
2019-03-19 03:50:47 -04:00
andy finch
e98d3391de Re-enable permissions prompt tests (#1957) 2019-03-18 18:54:59 -04:00
Ryan Dahl
44773c9b0f Integrate //core into existing code base
This disables a few tests which are broken still:
- tests/error_004_missing_module.test
- tests/error_005_missing_dynamic_import.test
- tests/error_006_import_ext_failure.test
- repl_test test_set_timeout
- repl_test test_async_op
- repl_test test_set_timeout_interlaced
- all of permission_prompt_test
2019-03-18 17:17:08 -04:00
Ryan Dahl
33438b83a2 Re-order tests for sanity 2019-03-18 17:17:08 -04:00
andy finch
08a674bf91 More permissions prompt options (#1926) 2019-03-18 16:46:23 -04:00
Ryan Dahl
59ac2063e0 Remove unused tools/build_test.py file 2019-03-18 14:07:24 -04:00
Ryan Dahl
52b7cc5499 Fix entry point for tools/docs.py 2019-03-18 14:07:24 -04:00
Ryan Dahl
1811318097 core: Behavior shouldn't be generic
We always pass around Box<[u8]>, and adding this generic is an
unnecessary complication.

Add deno_core_http_bench_test to test.py

sharedQueue works on deno_core_http_bench
2019-03-15 10:58:18 -04:00
Ryan Dahl
76c73ec61e
Add --no-binary-download option to setup.py (#1916) 2019-03-15 10:06:17 -04:00
andy finch
7e09221031 --no-prompt flag for non-interactive environments (#1913) 2019-03-13 12:43:47 -04:00
Kitson Kelly
75a500ba81 Update to TypeScript 3.3 (#1908) 2019-03-11 10:53:18 -04:00
Kitson Kelly
034e2cc028 Migrate from tslint to eslint for linting (#1905) 2019-03-09 12:30:38 -05:00
Kitson Kelly
24d6bf6aeb Remove 'deno' builtin module (#1895) 2019-03-07 21:56:56 -05:00
Kitson Kelly
0473d832c1 Cleanup node_modules, update packages (#1894)
And fix new lint issues.
2019-03-07 08:53:56 -05:00
Andy Hayden
91364cabae Replace deno.land/x/std with deno.land/std (#1890) 2019-03-06 10:23:47 -05:00
Bert Belder
ee29ed79a7
tools/run_node: only create 'node_modules' symlink once
Previously run_node.py would always attempt to remove and then re-create
the 'target/xx/node_modules' symlink. This causes sporadic build errors
on windows when multiple build targets that use run_node.py are being
built concurrently.
2019-03-04 21:01:52 -08:00
Bert Belder
860be9f0de
tools: remove fix_symlinks() function
This fixes an issue on Windows that causes build to fails when
fix_symlinks() is called concurrently with another build step.

It is also no longer necessary, since recent versions of git know how to
properly create symbolic links on checkout.
2019-03-04 21:01:52 -08:00
Yoshiya Hinosawa
a7bb8ccce8 Add Deno.version.gnArgs (#1845)
To display specific build args passed to GN.
2019-03-01 19:33:28 -05:00
Ryan Dahl
b8a537d020
deno_core (#1827)
A new low-level crate with focus on speed. 
This doesn't yet hook into the existing code base.
2019-02-26 17:36:05 -05:00
Ryan Dahl
e109941bd2 Improve readme (#1822) 2019-02-21 20:22:44 -08:00
Dmitry Sharshakov
4dc4329e27 Add execPath function (#1743) 2019-02-15 11:22:02 -05:00
Ryan Dahl
748e456cdb
Use prebuilt hyperfine (#1755) 2019-02-14 18:18:24 -05:00
Ryan Dahl
f29c40a433
Decouple ts_library_builder from std/testing (#1749) 2019-02-12 15:22:43 -05:00
Ryan Dahl
0b0d962eb9
Revert "Rewrite tools/format.py in deno (#1528)" (#1752)
tools/format.ts is making CI flaky and it's difficult to run right now.
Reverting to tools/format.py

This reverts commit f19622e768.
2019-02-12 15:20:32 -05:00
Kitson Kelly
a21a5ad2fa Add Deno global namespace (#1748)
Resolves #1705

This PR adds the Deno APIs as a global namespace named `Deno`. For backwards
compatibility, the ability to `import * from "deno"` is preserved. I have tried
to convert every test and internal code the references the module to use the
namespace instead, but because I didn't break compatibility I am not sure.

On the REPL, `deno` no longer exists, replaced only with `Deno` to align with
the regular runtime.

The runtime type library includes both the namespace and module. This means it
duplicates the whole type information. When we remove the functionality from the
runtime, it will be a one line change to the library generator to remove the
module definition from the type library.

I marked a `TODO` in a couple places where to remove the `"deno"` module, but
there are additional places I know I didn't mark.
2019-02-12 10:08:56 -05:00
Ryan Dahl
a4dec944bc
web design (#1728) 2019-02-11 17:41:13 -05:00
Kevin (Kun) "Kassimo" Qian
489c69f8e1 REPL multiline support with recoverable errors (#1731) 2019-02-11 14:01:28 -05:00
Yoshiya Hinosawa
d26655371b fix: improve formatting (#1732) 2019-02-11 12:57:26 -05:00
Kevin (Kun) "Kassimo" Qian
1d36eb47eb Support scoped variables, unblock REPL async op, and REPL error colors (#1721) 2019-02-09 16:55:40 -05:00
Yoshiya Hinosawa
1502051453 Add read permission for format.ts (#1726) 2019-02-09 10:55:18 -05:00
J2P
65cafd2edf Add --allow-read test code 2019-02-09 05:57:41 -05:00
Bert Belder
394b81de15
Move .rustfmt.toml to the repository root
This allows rustfmt to automatically pick it up.
It's right there with similar files such as .prettierrc.
2019-02-08 20:06:21 -08:00
Ryan Dahl
526497bc29
Adds deno.noColor (#1716) 2019-02-08 22:13:04 -05:00
Yoshiya Hinosawa
4c869dc885 Use std/prettier in deno //tools/format.ts (#1708) 2019-02-08 21:38:59 -05:00
Dmitry Sharshakov
9ab03389f0 Add --allow-read (#1689)
Co-authored-by: Greg Altman <g.s.altman@gmail.com>
2019-02-08 15:59:38 -05:00
Ryan Dahl
46804e50ed
Color exceptions (#1698) 2019-02-07 20:07:20 -05:00
Dmitry Sharshakov
5c50d2819b Add emojis to permission prompts (#1684) 2019-02-07 16:19:50 -05:00
Dmitry Sharshakov
aea7884d11 Make integration tests standalone (#1671)
Co-authored-by: Sergey Golovin <golovim@gmail.com>
2019-02-07 15:11:03 -05:00
Ryan Dahl
79b95341d9
Upgrade V8 to 7.4.98 (kKeep fix) (#1640)
* Upgrade V8 to 7.4.98 (kKeep fix)

https://github.com/denoland/deno/issues/814
https://bugs.chromium.org/p/v8/issues/detail?id=8761

* fix tests
2019-02-06 23:43:31 -05:00
Kitson Kelly
48fedee34e Add WebAssembly to runtime library (#1677)
This also modifies the `ts_library_builder` to support inlining assets.

Includes integration tests from @sh7dm
2019-02-05 08:12:58 -05:00
Dmitry Sharshakov
181b03273c Add isTTY function (#1622) 2019-02-02 22:05:30 -05:00
Ryan Dahl
18b815e336 Support --fmt 2019-02-02 17:48:43 -05:00
Ryan Dahl
98d20cd178 Make it possible to run one integration test at a time 2019-02-02 17:33:21 -05:00
Kevin (Kun) "Kassimo" Qian
3650bae5f6 Add --info flag to display file info (compiled code/source map) (#1647) 2019-02-02 01:28:31 -05:00
Ryan Dahl
eff7a1484e
Upgrade deno_std to bef7ba (#1609) 2019-01-31 18:11:37 -05:00
Ryan Dahl
06c0e29118 Fix cpplint 2019-01-30 15:53:23 -05:00
Ryan Dahl
b9e368cb4c
Add snapshot_compiler.bin to binary size benchmark (#1611) 2019-01-30 14:01:13 -05:00
Sergey Golovin
240ca25617 Add repl functions "help" and "exit" (#1563) 2019-01-29 14:41:12 -05:00
JaePil Jung
7f88b5fff3 Minor code cleanups (#1570) 2019-01-24 10:54:43 -05:00
Yoshiya Hinosawa
77114fbda4 chore: update license lines (#1557) 2019-01-21 13:03:30 -06:00
Yoshiya Hinosawa
f19622e768 Rewrite tools/format.py in deno (#1528)
Note: findFiles and findFilesWalk are borrowed from the previous
attempt of @pseudo-su (#1434)
2019-01-17 15:09:44 -05:00
J2P
befc6b2e76 Fixed copyright of types output 2019-01-17 14:44:31 -05:00
Kitson Kelly
00b655add1 Add globalThis definition to runtime (#1534) 2019-01-16 17:57:15 -05:00
Kevin (Kun) "Kassimo" Qian
c870cf4082 Add --prefetch flag for deps prefetch without running (#1475) 2019-01-15 12:19:58 -05:00
Ryan Dahl
8ae178e9ce
Fix permission_prompt_test (#1509) 2019-01-13 12:09:45 -05:00