Commit Graph

2331 Commits

Author SHA1 Message Date
47f3247a0e Installing and running the linkcheck mdbook backend 2019-03-16 17:42:15 +00:00
185c2b66fa Import correct functions 2019-03-14 23:28:18 +01:00
d5a9208b49 Merge pull request #1344 from c410-f3r/arg-names
Preserve argument names
2019-03-14 13:45:52 -05:00
91ea972c03 Take &str instead of String in argument fn 2019-03-14 12:21:41 -03:00
59c1b2a565 Merge branch 'master' into arg-names 2019-03-14 09:30:14 -03:00
70f5373348 Preserve argument names 2019-03-14 08:46:42 -03:00
e075d0492d Merge pull request #1342 from alexcrichton/bump
Bump to 0.2.39
0.2.39
2019-03-13 14:47:57 -05:00
228f58dca3 Bump to 0.2.39 2019-03-13 11:02:27 -07:00
4cda18f777 Merge pull request #1338 from alexcrichton/fix-nom
Workaround an upstream `nom` bug
2019-03-13 09:48:35 -05:00
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
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
c857a93784 Merge pull request #1336 from ibaryshnikov/issue-1322-simplify-webgl-example
Simplified webgl example
2019-03-11 10:46:24 -07:00
daad58f9b3 simplified webgl example 2019-03-10 17:40:02 +03:00
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
8db85dddde Update a few links here and there with doc restructuring 2019-03-08 05:58:22 -08:00
a7e7f8b5e1 Merge pull request #1328 from alexcrichton/switch-to-web
Switch the `--browser` argument to `--web`
2019-03-07 15:25:26 -06:00
e5ec474896 Update crates/cli-support/src/js/mod.rs
Co-Authored-By: alexcrichton <alex@alexcrichton.com>
2019-03-07 15:25:20 -06:00
7627b8e00a Merge pull request #1329 from alexcrichton/nightly-header
Add a "nightly only" warning to documentation
2019-03-07 15:17:34 -06:00
91e47360d9 Update README.md
Co-Authored-By: alexcrichton <alex@alexcrichton.com>
2019-03-07 15:17:28 -06:00
fcafd03dcd Update guide/src/contributing/index.md
Co-Authored-By: alexcrichton <alex@alexcrichton.com>
2019-03-07 15:17:17 -06:00
0b7fab4474 Merge pull request #1331 from c410-f3r/span-impls
Remove PartialEq and Eq from Function
2019-03-07 13:32:42 -06:00
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
ded4fdf52d Remove PartialEq and Eq from Function 2019-03-07 15:00:55 -03:00
2a2581188a Create out_dir (usually "pkg") if it does not exist 2019-03-07 19:56:57 +03:00
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
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
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
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
17bd1969b6 Merge pull request #1323 from alexcrichton/bump-walrus
Update walrus to 0.5.0
2019-03-06 22:34:28 -06:00
795bf7c6b1 Update walrus to 0.5.0 2019-03-06 15:09:20 -08:00
eaaf3461bd Merge pull request #1321 from ibaryshnikov/master
Fixed typo in .slice for typed arrays
2019-03-06 15:22:43 -06:00
fa0a3610af issue-1317-typed-array-typo-fixed 2019-03-06 22:12:48 +03:00
e84b327306 Fix a dead link in new example
Closes #1319
2019-03-06 08:01:03 -08:00
9f6c2a6125 Merge pull request #1314 from alexcrichton/typescript-tests
Start testing TypeScript output on CI
2019-03-05 17:20:00 -06:00
20c25ca922 Merge pull request #1295 from alexcrichton/js-snippets
Implement the local JS snippets RFC
2019-03-05 17:18:04 -06:00
d6e3770350 Scope snippets within a crate
Use the same crate identifier for manually included snippets as well as
inline snippets to help with debugging.
2019-03-05 14:53:14 -08:00
c463cc96df Clean up the super long finalize function 2019-03-05 14:40:05 -08:00
f3935cc44f Enable special env vars for Windows CI on webidl tests 2019-03-05 14:12:29 -08:00
bdf98f3a11 Fixup some documentation 2019-03-05 12:32:40 -08:00
f3f3ebee3a Remove unsafe usage in backend/src/encode.rs
Using `unsafe` was just a little too eager there so let's use an
off-the-shelf solution for solving the actual problem we have, which is
to allocate strings with a lifetime of `Interner` rather than
deduplicating strings.
2019-03-05 12:28:14 -08:00
93a1301c9f Don't explicitly hide _INCLUDED_FILES
It's already hidden from docs!
2019-03-05 12:17:42 -08:00
95ab24a4e2 Try to reduce spurious failures on Windows 2019-03-05 12:14:15 -08:00
59e88449b8 Update examples/without-a-bundler/index.html
Co-Authored-By: alexcrichton <alex@alexcrichton.com>
2019-03-05 12:30:47 -06:00
6c86d23836 Update examples/without-a-bundler-no-modules/README.md
Co-Authored-By: alexcrichton <alex@alexcrichton.com>
2019-03-05 12:30:38 -06:00
bdcfcb49b1 Log webdriver command we execute 2019-03-05 09:33:22 -08:00
235bc7c889 Start testing TypeScript output on CI
This commit starts to add some simple tests for our TypeScript output of
the wasm-bindgen CLI, currently just running `tsc` to make sure syntax
looks good and types are emitted as expected. This'll hopefully be able
to get expanded over time with bug reports as they come in as well as
ensure that we don't regress anything in egregious manners!

Closes #922
2019-03-05 08:57:52 -08:00
9063a6b701 Get WebIDL tests working 2019-03-05 08:14:55 -08:00
f1e391e3db Attempt to debug geckodriver spurious failures on Windows 2019-03-05 08:14:01 -08:00
33494a25ad Fix import_js example 2019-03-05 08:00:47 -08:00
20f1e503d3 Fix the webidl-tests crate 2019-03-05 08:00:47 -08:00