Justin Starry
e2ed0953d6
Update README.md
2019-11-28 14:27:04 -05:00
Justin Starry
75f8186a05
Update README.md
2019-11-28 12:48:06 -05:00
Justin Starry
8fd95d867a
Use VList for VTag children ( #754 )
...
* Use VList for VTag children
* Fix placeholder bug
* impl Deref for VList
* cargo fmt
2019-11-24 13:19:24 -05:00
Justin Starry
ff042058e5
Disable emscripten in CI for beta/nightly ( #731 )
...
* Update emscripten
* Don't fail on rustup check
* Disable emscripten for non-stable builds
* Try with cargo-web emscripten
* Revert system emscripten stuff
2019-11-23 17:13:13 -05:00
Justin Starry
1218c1de33
Update wasm-bindgen ( #753 )
2019-11-23 16:51:16 -05:00
Justin Starry
c439a3d477
Clean up comments, generics names, and variable names ( #752 )
2019-11-23 16:50:20 -05:00
Henry Zimmerman
b4c141560a
Manually implement Clone for ComponentLink ( #749 )
2019-11-18 22:30:23 -05:00
Henry Zimmerman
91d8a893d5
Add send_self_batch to ComponentLink ( #748 )
2019-11-18 22:30:02 -05:00
Justin Starry
0f890fd41b
Revert "Implement Clone for ComponentLink ( #741 )" ( #747 )
...
This reverts commit 7019dfb6b14bbc901a1329ed72eeccea55caa0b4.
2019-11-18 21:26:05 -05:00
Maxim Vorobjov
f6af516e95
Allow to compile to wasi target without wasm_bindgen ( #746 )
...
* allow to compile to wasi without wasm-bindgen
* allow to compile to wasm32-wasi without wasm_bindgen
2019-11-18 13:32:13 -05:00
Justin Starry
7019dfb6b1
Implement Clone for ComponentLink ( #741 )
2019-11-13 22:50:13 -05:00
Justin Starry
7c959a5396
Bump yew from 0.10 to 0.10.1 ( #737 )
2019-11-11 00:58:44 -05:00
Justin Starry
6bc6a301de
Update CHANGELOG.md ( #736 )
0.10.0
2019-11-11 00:38:54 -05:00
Henry Zimmerman
0b8d48ec80
Clarify doc comments in ComponentLink about when messages are processed ( #728 )
...
* Clarify doc comments in ComponentLink about when messages are sent and processed
* change doc comment
2019-11-10 22:12:25 -05:00
Henry Zimmerman
1c54ab1784
Add a default-enabled feature gate for agents and services ( #684 )
...
* Add a default-enabled feature gate for agents and services
* cargo fmt
* change feature name for agent support from agents to agent
2019-11-10 21:52:56 -05:00
Justin Starry
5cc48d060d
Don't force the wasm-bindgen-cli install ( #735 )
2019-11-10 21:48:55 -05:00
Nate Mara
98ebc65637
Improve unimplemented message ( #716 )
...
* Improve unimplemented message
When calling Bridged::bridge, it is possible to get a confusing
unimplemented error. This PR adds some explanation and clarity around
the error.
* Update link to point to latest
* cargo fmt
2019-11-10 21:19:16 -05:00
Miklós Tusz
c7cc4c2f0e
Add link to docs in README ( #729 )
2019-11-10 21:17:18 -05:00
Henry Zimmerman
f60e533de4
Add send_future to ComponentLink ( #717 )
...
* bump wasm-bindgen to 0.2.51 (#681 )
* upgrade wasm-bindgen to 0.2.51
* Run macro tests on beta and update readme
* Update README.md
* Update .travis.yml
* implement send_future
* cargo fmt
* add todo question
* static dispatch on Error in future
* Add framework for example using futures
* add a basic future to indicate that futures work
* change example to fetch markdown instead of just resolving a string
* remove unnneded import
* Force users to handle errors in their future
* Force users to handle errors in their future
* cleanup and introduction of FetchState
* respond to feedback
* update comment
* fix cargo.toml dependency issues
2019-11-10 21:16:29 -05:00
Justin Starry
6ba83fc061
Update min rust version to 1.39.0 ( #730 )
...
* Update min rustc to 1.39.0
* Bump wasm-bindgen to 0.2.54
* always install wasm-bindgen-cli
2019-11-10 20:19:34 -05:00
Li Zhaoxian
e4b6512b33
Fix ws connect panic ( #727 )
...
* fix websocket connect panic on malformed url
* fix build failure
* fix review
* fix cargo fmt
2019-11-10 16:04:47 -05:00
Justin Starry
c178d5273f
Add ref attributes to enabling DOM access in Components ( #715 )
2019-11-04 00:32:56 -05:00
Justin Starry
3a72766daf
Fix the mount order of components ( #725 )
2019-11-03 22:46:44 -05:00
Miklós Tusz
1db0e3c75d
Remove event handler debug message ( #723 )
2019-11-01 23:47:50 -04:00
Maxim Vorobjov
8b46aac358
Allow to extend agent communication from external crates ( #721 )
...
* allow to extend agent communication from external crates
* Fixing build on rustc 1.35
* implement Default for AgentScope with public new
* toml-rs 0.5.5 fixed compatibility with rustc 1.35
2019-11-01 16:30:52 -04:00
Michael Macias
8bad9b28ff
examples/large_table: Fix deprecation warning ( #713 )
...
This fixes the `cargo web start` deprecation warning:
```
WARNING: `/js/app.js` is deprecated; you should update your HTML file to use `/large_table.js` instead!
```
2019-10-19 00:41:10 -04:00
Henry Zimmerman
5056b8458f
Box VTag to reduce size disparity between VNode variants ( #675 )
2019-10-14 19:57:31 -04:00
Justin Starry
c6a677a417
Remove git files from travis cache
2019-10-14 15:54:49 -04:00
Justin Starry
bbbf344e5f
Speed up cache ( #707 )
2019-10-14 15:06:49 -04:00
Justin Starry
7e1b725f87
Cleanup run tests CI script ( #709 )
2019-10-14 15:06:12 -04:00
Justin Starry
9c9794bd9e
Enable clippy in CI ( #706 )
...
* Enable clippy in CI
* Fix clippy warnings
* Only run fmt and clippy on stable
* Fix check script
2019-10-14 15:06:07 -04:00
Justin Starry
3a25c8aba4
Use latest chromedriver ( #708 )
2019-10-14 15:06:02 -04:00
Justin Starry
6fdf17757f
Use wasm32-unknown-unknown as the default build target ( #702 )
...
* Use wasm32-unknown-unknown as the default build target
* Print rustup installed targets
* Add doc_test alias
2019-10-14 15:05:51 -04:00
Justin Starry
322a1f9236
Fix travis ( #711 )
...
* Rework travis cache and fix cargo-update
* Split examples out of main workspace
2019-10-14 15:05:14 -04:00
Justin Starry
7f276d57f1
Improve compile error for non-string attributes ( #710 )
2019-10-13 23:18:42 -04:00
Henry Zimmerman
0b59933547
Forbid missing Debug implementations ( #673 )
...
* Forbid missing debug implementations
* someday I'll remember to run cargo fmt before pushing the first time
* add debug for other format types
* derive debug for HandlerId
2019-10-13 19:47:56 -04:00
Kelly Thomas Kline
23c6c12303
Optimize the default change implementation ( #690 )
...
* Optimize the default `change` implementation
Return `false` if `Self::Properties` has a value of `()`.
* Use TypeId for checking Properties == ()
2019-10-13 18:22:32 -04:00
Justin Starry
058b85f453
Add CI caching for nvm ( #700 )
2019-10-13 07:31:05 -04:00
Justin Starry
d90870f94c
Stop force installing wasm-bindgen-cli in CI ( #701 )
2019-10-13 07:26:51 -04:00
Justin Starry
34c47edb31
Pin ryu dependency to 1.0.0 for emscripten targets ( #703 )
2019-10-12 23:16:54 -04:00
Justin Starry
8da232c2a9
Fix VTag attribute updates ( #698 )
2019-10-12 21:21:53 -04:00
Justin Starry
9bf627d4cd
Fix diff for VText nodes ( #697 )
2019-10-12 16:46:14 -04:00
Justin Starry
9845bd3ff8
Variable renames ( #696 )
...
* childs -> children
* precursor -> previous_sibling
* cargo fmt and name changes
2019-10-12 16:39:55 -04:00
Justin Starry
0c6b9d32f8
Bump wasm bindgen to 0.2.50 ( #695 )
...
* Bump wasm-bindgen to 0.2.50
* Update Cargo.toml
* Update Cargo.toml
2019-10-11 10:49:55 -04:00
Justin Starry
4f31997968
Bump stdweb to 0.4.20 ( #694 )
2019-10-11 00:09:55 -04:00
Justin Starry
e08b33d0cd
Fix multi_thread example ( #689 )
2019-10-09 15:29:52 -04:00
Benjamin Reynolds
01c0dd0633
Use trait objects with explicit dyn in examples ( #687 )
...
Fixes #685
Address deprecations warnings in the examples directory:
warning: trait objects without an explicit `dyn` are deprecated
2019-10-08 09:53:44 -04:00
Cameron Taggart
c24ee3e6e1
bump to stdweb 0.4.19 ( #683 )
2019-10-07 12:44:08 -04:00
Henry Zimmerman
8b671cf83d
Derive PartialEq for Classes ( #680 )
2019-10-07 10:27:13 -04:00
Justin Starry
43e9347269
Add render method to Component and auto implement Renderable ( #563 )
...
* Add render method to Component and auto implement Renderable
* More cleanup
* Rename Renderable method from view to render
* Doc fixes
* fix
* Update CHANGELOG.md
2019-09-30 22:23:25 -04:00