Alex Crichton
d49d8c9e1b
Merge pull request #1372 from RReverser/fix-dataview-docs
...
Fix docs for DataView::get*int32*
2019-03-20 13:47:10 -05:00
Alex Crichton
3f86c9429f
Merge pull request #1371 from RReverser/merge-typed-arrays
...
Merge TypedArray definitions into a macro
2019-03-20 13:46:12 -05:00
Ingvar Stepanyan
4e806bab70
Fix docs for DataView::get*int32*
2019-03-20 18:32:34 +00:00
Ingvar Stepanyan
c5260f29aa
Merge TypedArray definitions into a macro
2019-03-20 17:25:35 +00:00
konstin
42c1cdd8bf
Merge branch 'master' into reexporting_in_2018
2019-03-18 21:38:18 +01:00
Alex Crichton
2177dee9e4
Merge pull request #1353 from alexcrichton/raw-module
...
Add a `raw_module` attribute to `#[wasm_bindgen]`
2019-03-18 12:48:14 -05:00
Alex Crichton
ae47665b4d
Merge pull request #1356 from c410-f3r/ts-tests
...
Improve TS tests
2019-03-18 10:10:21 -05:00
Alex Crichton
b89fefde29
Merge pull request #1346 from rustwasm/dependabot/npm_and_yarn/@wasm-tool/wasm-pack-plugin-0.2.7
...
Update @wasm-tool/wasm-pack-plugin requirement from 0.2.5 to 0.2.7
2019-03-18 10:09:12 -05:00
Alex Crichton
8cc9374904
Merge pull request #1350 from alexlapa/enable-rtc-rtp-transceiver
...
Enable OptionIntoWasmAbi and OptionFromWasmAbi for ast::ImportEnum, RTCRtpTransceiver.webidl
2019-03-18 10:08:59 -05:00
konstin
69bbf597af
Allow reexporting proc macro output in the 2018 edition
...
Trying to use a proc macro from a 2018 edition crate in a 2018 edition crate that reexports wasm bindgen's output failed before this commit with "could not find `wasm_bindgen` in `{{root}}`".
This commit was made with
rg " ::wasm_bindgen::" --files-with-matches | xargs sed -i 's/::wasm_bindgen::/wasm_bindgen::/g'
2019-03-18 10:43:48 +01:00
Stephen Sherratt
47f3247a0e
Installing and running the linkcheck mdbook backend
2019-03-16 17:42:15 +00:00
Caio
dc50a5ab58
Improve TS tests
2019-03-15 22:15:04 -03:00
alexlapa
4e32b5e430
add read_optional_enum_attribute to webidl-tests/enums
2019-03-15 14:27:18 -06:00
Alex Crichton
0d592fffb0
Add a raw_module
attribute to #[wasm_bindgen]
...
This allows subverting the checks and resolution performed by the
`module` attribute added as part of [RFC 6] and has been discussed in #1343 .
Closes #1343
[RFC 6]: https://github.com/rustwasm/rfcs/pull/6
2019-03-15 08:08:09 -07:00
Alex Crichton
9e74085f4b
Merge pull request #1351 from konradsz/number_slices_guide
...
Import correct functions
2019-03-15 09:34:57 -05:00
Konrad Szymoniak
185c2b66fa
Import correct functions
2019-03-14 23:28:18 +01:00
alexlapa
1014bdb5df
Merge remote-tracking branch 'upstream/master' into enable-rtc-rtp-transceiver
2019-03-14 13:24:24 -06:00
alexlapa
e6c42d4155
fix
2019-03-14 12:50:50 -06:00
Alex Crichton
d5a9208b49
Merge pull request #1344 from c410-f3r/arg-names
...
Preserve argument names
2019-03-14 13:45:52 -05:00
alexlapa
bf273a2035
fix
2019-03-14 12:30:08 -06:00
alexlapa
9178231b60
impl OptionFromWasmAbi and OptionIntoWasmAbi for ImportEnum, enable RTCRtpTransceiver.webidl, add add rtc_rtp_transceiver_direction test
2019-03-14 12:15:02 -06:00
Caio
91ea972c03
Take &str instead of String in argument fn
2019-03-14 12:21:41 -03:00
Caio
59c1b2a565
Merge branch 'master' into arg-names
2019-03-14 09:30:14 -03:00
Caio
70f5373348
Preserve argument names
2019-03-14 08:46:42 -03:00
dependabot[bot]
5403510594
Update @wasm-tool/wasm-pack-plugin requirement from 0.2.5 to 0.2.7
...
Updates the requirements on [@wasm-tool/wasm-pack-plugin](https://github.com/wasm-tool/wasm-pack-plugin ) to permit the latest version.
- [Release notes](https://github.com/wasm-tool/wasm-pack-plugin/releases )
- [Commits](https://github.com/wasm-tool/wasm-pack-plugin/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-14 08:17:24 +00:00
Alex Crichton
e075d0492d
Merge pull request #1342 from alexcrichton/bump
...
Bump to 0.2.39
2019-03-13 14:47:57 -05:00
Alex Crichton
228f58dca3
Bump to 0.2.39
2019-03-13 11:02:27 -07:00
Alex Crichton
4cda18f777
Merge pull request #1338 from alexcrichton/fix-nom
...
Workaround an upstream `nom` bug
2019-03-13 09:48:35 -05:00
Alex Crichton
5192b95bf3
Workaround an upstream nom
bug
...
This commit works around Geal/nom#843 where the API of the `nom` crate
changes based on feature selection, meaning we need to be compatible
even if another crate in the crate graph enables a feature.
Ideally this'd be fixed in upstream `nom`, and it looks like it will in
the next major version! For now a local catch-all directive should help
out.
2019-03-12 12:22:24 -07:00
Alex Crichton
90c3196b7b
Merge pull request #1333 from nstoddard/master
...
Make the slice argument of texImage2D and related functions immutable
2019-03-11 14:14:50 -05:00
Nick Fitzgerald
c857a93784
Merge pull request #1336 from ibaryshnikov/issue-1322-simplify-webgl-example
...
Simplified webgl example
2019-03-11 10:46:24 -07:00
ibaryshnikov
daad58f9b3
simplified webgl example
2019-03-10 17:40:02 +03:00
Nathan Stoddard
03fa00d201
Make the slice argument of texImage2D and related functions immutable
...
This also adds immutable slice whitelisting for Uint8Array, ArrayBufferView, and BufferSource, and removes Uint8ArrayMut.
2019-03-08 15:25:52 -08:00
Alex Crichton
8db85dddde
Update a few links here and there with doc restructuring
2019-03-08 05:58:22 -08:00
Alex Crichton
a7e7f8b5e1
Merge pull request #1328 from alexcrichton/switch-to-web
...
Switch the `--browser` argument to `--web`
2019-03-07 15:25:26 -06:00
Nick Fitzgerald
e5ec474896
Update crates/cli-support/src/js/mod.rs
...
Co-Authored-By: alexcrichton <alex@alexcrichton.com>
2019-03-07 15:25:20 -06:00
Alex Crichton
7627b8e00a
Merge pull request #1329 from alexcrichton/nightly-header
...
Add a "nightly only" warning to documentation
2019-03-07 15:17:34 -06:00
Nick Fitzgerald
91e47360d9
Update README.md
...
Co-Authored-By: alexcrichton <alex@alexcrichton.com>
2019-03-07 15:17:28 -06:00
Nick Fitzgerald
fcafd03dcd
Update guide/src/contributing/index.md
...
Co-Authored-By: alexcrichton <alex@alexcrichton.com>
2019-03-07 15:17:17 -06:00
Alex Crichton
0b7fab4474
Merge pull request #1331 from c410-f3r/span-impls
...
Remove PartialEq and Eq from Function
2019-03-07 13:32:42 -06:00
Alex Crichton
f00c74aeb0
Merge pull request #1330 from Vlad-Shcherbina/mkdir_pkg
...
Create --out_dir (usually "pkg") if it does not exist
2019-03-07 12:08:37 -06:00
Caio
ded4fdf52d
Remove PartialEq and Eq from Function
2019-03-07 15:00:55 -03:00
Vlad Shcherbina
2a2581188a
Create out_dir (usually "pkg") if it does not exist
2019-03-07 19:56:57 +03:00
Alex Crichton
cd3781cb73
Switch the --browser
argument to --web
...
This commit reverts part of the implementation of [RFC 6]. That RFC
specified that the `--browser` flag was going to be repurposed for the
new "natively loadable as ES module output", but unfortunately the
breakage is far broader than initially expected. It turns out that
`wasm-pack` passes `--browser` by default which means that a change to
break `--browser` would break all historical versions of `wasm-pack`
which is a bit much for now.
To solve this the `--browser` flag is going back to what it represents
on the current released version of `wasm-bindgen` (optimize away some
node.js checks in a few places for bundler-style output) and a new
`--web` flag is being introduced as the new deployment strategy.
[RFC 6]: https://github.com/rustwasm/rfcs/pull/6
Closes #1318
2019-03-07 08:26:36 -08:00
Alex Crichton
96f4c8aa63
Add a "nightly only" warning to documentation
...
Official documentation is now available at
https://rustwasm.github.io/docs/wasm-bindgen/ , so let's leave this git
repository's documentation purely for our own previewing purposes.
2019-03-07 07:48:26 -08:00
Alex Crichton
79a8c5d27c
Merge pull request #1325 from rustwasm/dependabot/npm_and_yarn/@wasm-tool/wasm-pack-plugin-0.2.5
...
Update @wasm-tool/wasm-pack-plugin requirement from 0.2.3 to 0.2.5
2019-03-07 09:02:38 -06:00
dependabot[bot]
e817780172
Update @wasm-tool/wasm-pack-plugin requirement from 0.2.3 to 0.2.5
...
Updates the requirements on [@wasm-tool/wasm-pack-plugin](https://github.com/wasm-tool/wasm-pack-plugin ) to permit the latest version.
- [Release notes](https://github.com/wasm-tool/wasm-pack-plugin/releases )
- [Commits](https://github.com/wasm-tool/wasm-pack-plugin/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-07 08:14:43 +00:00
Alex Crichton
17bd1969b6
Merge pull request #1323 from alexcrichton/bump-walrus
...
Update walrus to 0.5.0
2019-03-06 22:34:28 -06:00
Alex Crichton
795bf7c6b1
Update walrus to 0.5.0
2019-03-06 15:09:20 -08:00
Alex Crichton
eaaf3461bd
Merge pull request #1321 from ibaryshnikov/master
...
Fixed typo in .slice for typed arrays
2019-03-06 15:22:43 -06:00