Alex Crichton
0e2e826182
Hide the __wbindgen_if_not_std
macro from docs
2018-07-06 20:04:49 -07:00
Alex Crichton
ef807a8068
Tweak some docs and fixup some symbol tests
2018-07-06 20:00:53 -07:00
dependabot[bot]
fce0bbba7f
Merge pull request #406 from rustwasm/dependabot/npm_and_yarn/webpack-cli-3.0.8
2018-07-07 01:02:06 +00:00
dependabot[bot]
fcb3085485
Bump webpack-cli from 2.1.5 to 3.0.8
...
Bumps [webpack-cli](https://github.com/webpack/webpack-cli ) from 2.1.5 to 3.0.8.
- [Release notes](https://github.com/webpack/webpack-cli/releases )
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-cli/compare/v2.1.5...v3.0.8 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-07-06 23:45:53 +00:00
dependabot[bot]
e0ed0a36a1
Merge pull request #408 from rustwasm/dependabot/npm_and_yarn/webpack-4.15.1
2018-07-06 23:44:22 +00:00
dependabot[bot]
11b58f0c03
Bump webpack from 4.12.0 to 4.15.1
...
Bumps [webpack](https://github.com/webpack/webpack ) from 4.12.0 to 4.15.1.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v4.12.0...v4.15.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-07-06 22:23:31 +00:00
dependabot[bot]
d1f22d3101
Merge pull request #407 from rustwasm/dependabot/npm_and_yarn/ts-loader-4.4.2
2018-07-06 22:22:15 +00:00
dependabot[bot]
8bf53aae5d
Merge pull request #405 from rustwasm/dependabot/npm_and_yarn/@types/node-10.5.2
2018-07-06 21:44:39 +00:00
dependabot[bot]
31252a23c8
Bump ts-loader from 4.4.1 to 4.4.2
...
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader ) from 4.4.1 to 4.4.2.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases )
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v4.4.1...v4.4.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-07-06 20:33:01 +00:00
dependabot[bot]
5da5bddadf
Bump @types/node from 9.6.22 to 10.5.2
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped ) from 9.6.22 to 10.5.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-07-06 20:32:16 +00:00
Alex Crichton
45d25ebdf0
Only check the master branch
2018-07-06 13:30:28 -07:00
dependabot[bot]
37bb15baf6
Merge pull request #404 from rustwasm/dependabot/cargo/docopt-1.0
2018-07-06 19:43:25 +00:00
dependabot[bot]
9a7e780904
Merge pull request #403 from rustwasm/dependabot/cargo/wasmi-0.3
2018-07-06 19:19:54 +00:00
dependabot[bot]
ded378b92f
Update docopt requirement to 1.0
...
Updates the requirements on [docopt](https://github.com/docopt/docopt.rs ) to permit the latest version.
- [Release notes](https://github.com/docopt/docopt.rs/releases )
- [Commits](https://github.com/docopt/docopt.rs/commits/1.0.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-07-06 16:55:11 +00:00
dependabot[bot]
178375a51b
Update wasmi requirement to 0.3
...
Updates the requirements on [wasmi](https://github.com/paritytech/wasmi ) to permit the latest version.
- [Release notes](https://github.com/paritytech/wasmi/releases )
- [Commits](https://github.com/paritytech/wasmi/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-07-06 16:54:52 +00:00
Jannik Keye
175319c1e0
doc: add reference document ( #242 ) ( #383 )
...
* doc: add reference document
* fix: link reference doc in SUMMARY.md
* fix(reference.md): collapse related rows
2018-07-06 11:25:10 -05:00
Nick Fitzgerald
a526be9baf
Merge pull request #401 from rail44/support-symbol
...
Add support for static props of Symbol
2018-07-06 09:15:36 -07:00
limira
04e29db588
Correct link to WebIDL issue ( #402 )
2018-07-06 11:09:48 -05:00
Marcin Baraniecki
83a7d5bfdc
Merge pull request #399 from alexcrichton/jsvalue-debug
...
Implement `Debug for JsValue`
2018-07-06 13:36:17 +02:00
Marcin Baraniecki
c9f4a266b0
Merge pull request #386 from jannikkeye/bindings-reflect
...
Reflect.xx bindings
2018-07-06 13:34:59 +02:00
Marcin Baraniecki
f7dc819289
Merge pull request #387 from Hywan/webassembly
...
feat(js) Implement the `WebAssembly.validate` binding.
2018-07-06 13:33:37 +02:00
Ivan Enderlin
b4bf8fbfba
test(js) New WebAssembly.validate_with_invalid_input
test case.
2018-07-06 10:41:51 +02:00
Ivan Enderlin
d1955c91b7
test(js) Don't unwrap to false
.
2018-07-06 10:41:32 +02:00
Satoshi Amemiya
6e4948d983
Add support for static props of Symbol
2018-07-06 17:07:43 +09:00
Jannik Keye
2022b44416
fix: convert tests to plain js
2018-07-06 09:41:08 +02:00
Jannik Keye
99d66ad6ed
merge master
2018-07-06 09:31:58 +02:00
Sendil Kumar N
a65b6c7003
Merge pull request #397 from ZerothLaw/Issue275/ArrayFind
...
Issue #275 : Added Array.prototype.find binding
2018-07-06 09:22:46 +02:00
Sendil Kumar N
142d7377e2
Merge pull request #400 from alexcrichton/derive-import
...
Forward attributes on `type` declaration to definition
2018-07-06 09:21:01 +02:00
Sendil Kumar N
15b346994d
Merge pull request #373 from rail44/static-property
...
Add support getter and setter for static props
2018-07-06 09:06:42 +02:00
Satoshi Amemiya
1bcfcaf1ed
TypeScript is no longer enabled
2018-07-06 15:41:07 +09:00
Satoshi Amemiya
bd068207a1
Fix test of Symbol.hasInstance
2018-07-06 14:57:22 +09:00
Satoshi Amemiya
2518048f25
Add support Symbol.hasInstance as sample of static prop getter
2018-07-06 14:57:17 +09:00
Satoshi Amemiya
e6b2a0d98c
Add support getter and setter for static props
2018-07-06 14:57:17 +09:00
Alex Crichton
f4b49226b6
Fix webidl crate
2018-07-05 21:25:40 -07:00
Alex Crichton
5a776c16b2
Forward attributes on type
declaration to definition
...
This'll allow things like `#[derive(Clone)]` or `#[derive(Debug)]` to control
traits for these types.
2018-07-05 20:28:52 -07:00
Alex Crichton
d930a5a97a
Implement Debug for JsValue
2018-07-05 20:24:28 -07:00
Tyler Laing
baf76431bc
Issue #275 : Adding Array.prototype.find. Fixing newline.
2018-07-05 16:02:51 -07:00
Tyler Laing
d29b17f158
Issue #275 : Added Array.prototype.find binding
2018-07-05 15:05:23 -07:00
Nick Fitzgerald
bc2eab1434
Merge pull request #396 from fitzgen/pull-project-testing-out-into-its-own-crate
...
tests: Pull the `project()` builder out into its own crate
2018-07-05 15:01:21 -07:00
Nick Fitzgerald
e5172902a8
Merge pull request #394 from fitzgen/use-scalars-not-opaque-number-objects
...
js: Return scalar types instead of `Number` objects
2018-07-05 14:33:00 -07:00
Nick Fitzgerald
549e5a9be9
tests: Pull the project()
builder out into its own crate
...
The WebIDL-based -sys crate will also use this, but I want its tests to be a
separate suite that we can run separately and in parallel in CI. Therefore, this
testing infrastructure code needs to be share-able between them :)
2018-07-05 14:27:26 -07:00
Nick Fitzgerald
7ff90f1490
js: Return scalar types instead of Number
objects
...
99% of the time we don't want to deal with opaque handles to `Number`
objects.
2018-07-05 13:02:40 -07:00
Sendil Kumar N
52a00d5e16
Merge pull request #392 from brisad/add-more-bindings
...
Add bindings in Date and Number
2018-07-05 19:51:58 +02:00
Michael Hoffmann
9f3722bbd9
Change assert to assert.ok to fix test
2018-07-05 17:34:45 +02:00
Michael Hoffmann
260183a522
Add binding for Number.isInteger
2018-07-05 17:09:59 +02:00
Michael Hoffmann
9d3b26341e
Add binding for Date.prototype.getDate
2018-07-05 17:09:59 +02:00
Nick Fitzgerald
59b3b4dc8d
Headless browser testing infrastructure ( #371 )
...
* tests: Add newlines between impl methods for Project
* WIP headless browser testing with geckodriver and selenium
* Get some more of headless testing working
* Extract `console.log` invocations and print them from the console
* Ship the error message from an exception from the browser back to the command
line
* Cleanup some "if headless" and `else` branches
* Fix killing `webpack-dev-server` in the background with `--watch-stdin`
* Fix path appending logic for Windows
* Always log logs/errors in headless mode
* Install Firefox on Travis
* Don't duplicate full test suite with `yarn`
No need to run that many tests, we should be able to get by with a smoke test
that it just works.
* headless tests: Move `run-headless.js` to its own file and `include_str!` it
* Run `rustfmt` on `tests/all/main.rs`
* guide: Add note about headless browser tests and configuration
* test: Log WASM_BINDGEN_FIREFOX_BIN_PATH in run-headless.js
* TEMP only run add_headless test in CI
* Add more logging to headless testing
* Allow headless tests to run for 60 seconds before timeout
* TEMP add logging to add_headless test
* Fix headless browser tests
* Another attempt to fix Travis
* More attempts at debugging
* Fix more merge conflicts
* Touch up an error message
* Fixup travis again
* Enable all travis tests again
* Test everything on AppVeyor
2018-07-05 09:22:01 -05:00
Marcin Baraniecki
9431037265
Merge pull request #382 from srenatus/sr/js_globals/Proxy
...
Add bindings for Proxy
2018-07-05 10:20:43 +02:00
Stephan Renatus
06b8d3535d
js_globals::Proxy::*: make tests plain JS
...
Signed-off-by: Stephan Renatus <srenatus@chef.io>
2018-07-05 09:03:16 +02:00
Jannik Keye
8dd8475000
fix: Reflec.defineProperty no longer returns Result
2018-07-05 08:33:22 +02:00