74dc8874e1
guide: add String
example usage to supported types
2018-08-13 16:20:25 -07:00
fa72afe286
guide: Add str
examples to supported types section
2018-08-13 16:12:58 -07:00
8e19645006
guide: Add exported rust type examples to reference
2018-08-13 16:03:02 -07:00
485d377594
guide: Add a reference section for Promises and Futures
2018-08-13 15:44:28 -07:00
36fe4c23dc
Merge pull request #678 from derekdreery/webidl_namespace_support
...
Add support webidl namespaces.
2018-08-12 17:41:54 -07:00
ea05235985
Fix docs about testing webidl
2018-08-12 21:28:59 +01:00
e87498e939
guide: Start adding example usage to "supported types" section
2018-08-10 16:56:40 -07:00
cc76963bad
guide: typo in arbitrary data with serde
2018-08-09 17:46:38 +02:00
2fcc74e226
guide: refactor and update testing instructions for contributing
2018-08-08 15:33:56 -07:00
5b935526ff
Merge pull request #640 from alexcrichton/jscast
...
Implement RFC #2 - casting hierarchy between JS values
2018-08-07 17:26:37 -05:00
43636977ae
Merge pull request #664 from fitzgen/guide-serde-arbitrary-data
...
Guide serde arbitrary data
2018-08-07 14:48:45 -07:00
1d92784e07
guide: add indexing_{getter,setter,deleter}
attribute page
2018-08-07 14:42:13 -07:00
2e7620e014
guide: Polish Serializing + Deserializing into/from JsValue with Serde section
2018-08-07 14:25:30 -07:00
676611020e
guide: Delete "Feature Reference" page
...
We now have a rather large section for feature reference, and I don't think
there is anything in this page that isn't covered elsewhere and in more detail
anymore.
2018-08-07 14:25:30 -07:00
bd15db40a0
Rebase fallout and review comments
2018-08-07 13:24:48 -07:00
37db88ebfa
Implement #[wasm_bindgen(extends = ...)]
...
This commit implements the `extends` attribute for `#[wasm_bindgen]` to
statically draw the inheritance hierarchy in the generated bindings, generating
appropriate `AsRef`, `AsMut`, and `From` implementations.
2018-08-07 13:04:11 -07:00
9d291187c5
guide: Fix alphabetizing of attributes
2018-08-07 11:14:00 -07:00
451a2a8118
guide: Add small intro to Rust export attributes section
2018-08-07 11:13:41 -07:00
e22ccb4d5d
guide: Clean up passing rust closures to JS section; add passing JS closures to rust section
2018-08-07 11:09:19 -07:00
33520d4828
guide: add exhuastive reference docs for #[wasm_bindgen] attributes
2018-08-07 11:09:19 -07:00
b6a6dee7f1
Merge pull request #652 from afdw/master
...
Add support for getters, setters and deleters
2018-08-06 21:43:53 -05:00
86b5ba6431
Add missing indexing words
2018-08-07 02:45:08 +03:00
f54d51e045
Add documentation
2018-08-07 01:49:45 +03:00
b2977a4262
Delete wasm-bindgen-test-project-builder
...
No more tests use it!
2018-08-06 11:48:34 -07:00
d5b81595ec
Remove support for the version
attribute
...
First added in #161 this never ended up panning out, so let's remove the
experimental suport which isn't actually used by anything today and hold off on
any other changes until an RFC happens.
2018-08-06 13:30:28 -05:00
2b8e092f78
guide: Note that wasm-pack
is preferred over using the wasm-bindgen
CLI directly
2018-08-03 22:35:19 -05:00
9b87e0c0b0
guide: clean up introduction to the supported types table
2018-08-03 22:35:19 -05:00
1e1188d9e5
guide: Add String
to "Supported Types" reference
2018-08-03 22:35:19 -05:00
93b3216014
guide: Add imported and exported types to "supported types" reference
2018-08-03 22:35:19 -05:00
536bf5e0d7
guide: Rename "Type Reference" section to "Supported Types"
2018-08-03 22:35:19 -05:00
9e03dba413
guide: Overhaul the CLI reference content
...
* Add missing documentation for a couple existing flags.
* Make each flag its own header, so it gets an anchor, and can be permalinked
to.
* Streamline some content and descriptions.
2018-08-03 22:35:19 -05:00
2b83f6aa9b
guide: Clean up title and URL of CLI reference section
2018-08-03 22:35:19 -05:00
39e576d0be
guide: Organize docs into "Whirlwind Tour" and "Reference" sections
...
First part of #616
2018-08-03 15:16:22 -07:00
7cc5dcf32d
Fix link in the guide book ( #609 )
2018-08-02 08:12:18 -05:00
fcda44c967
Update that web-sys tests require --target
now
2018-07-30 11:07:07 -07:00
71255acf5d
Try to enable all webidls ( #573 )
...
* Try to enable all webidls
* Separate out unavailable webidl files by reason.
* Create record of fully tested WebIDL files
* Update notes to reflect new situation with web-idl
* Make a blank ident fail, disable the necessary widls.
It turns out that all the blank idents came from blank enum variants,
which is allowed in webidl apparently.
2018-07-29 16:07:19 -07:00
fa4b636c25
Fix very small typo in guide ( #575 )
2018-07-28 09:36:23 -07:00
decdbd92b8
Js sys contributing ( #574 )
...
* guide: js-sys testing page should refer to js-sys not web-sys
* guide: Use checklist for adding new js-sys APIs
2018-07-27 16:22:33 -07:00
55e2ce9b53
Note that new WebIDL may need TODO comments
...
We don't support all features just yet!
Closes #570
2018-07-27 08:50:41 -07:00
f90f53c540
Fix some links in the guide
...
Closes #569
2018-07-27 08:48:10 -07:00
00bb6736e3
Add guide documentation for the js-sys
crate ( #566 )
2018-07-26 17:56:55 -07:00
28cb007c1b
guide: Also publish the test crates
2018-07-26 15:12:04 -07:00
08a449f667
guide: Also tag the release commit and push it
2018-07-26 15:01:36 -07:00
7a7d0d4097
guide: Allow dirty when publishing wasm-bindgen
...
Because we comment out the `[patch]` section and don't commit it.
2018-07-26 14:58:57 -07:00
9a0470b1c4
Bump to 0.2.15
2018-07-26 14:53:59 -07:00
906cd7adcc
Remove usage of wasm_import_module
feature
...
This is now stabilized! Also tweak usage of it to the stable version.
2018-07-21 19:00:40 -07:00
c174262cf0
Add documentation for passing arbitrary data ( #531 )
...
* Added passing-data readme entry
* Added the file
* Changed wording, and fixed hyperlinks
* Another attempt at fixing links
* Changed highlighting of key words
* Fixed typo
2018-07-21 13:57:03 -05:00
9753f9150b
Allow renaming exported functions into JS ( #525 )
...
Support the `js_name` attribute on exports as well as imports to allow exporting
types as camelCase instead of snake_case, for example.
Closes #221
2018-07-20 12:01:28 -05:00
61ef250dca
Add more documentation for --no-modules ( #526 )
...
Closes #211
2018-07-20 12:00:51 -05:00
801d62ae68
Add some notes about viewing bindings output. ( #521 )
...
* Add some notes about viewing bindings output.
I found this helpful when debugging, so I thought others might too.
* Fix formatting
* Another formatting fix
2018-07-20 10:41:31 -05:00