1142 Commits

Author SHA1 Message Date
Justin Starry
cc0be53382 Update issue templates 2019-12-28 21:07:28 -06:00
Justin Starry
84a9ed0e09
Make virtual dom cloneable (#786) 2019-12-28 20:53:29 -06:00
Justin Starry
3ffde502a7
Enable emscripten in CI for rustc 1.39.0 (#828) 2019-12-28 18:03:39 -06:00
dependabot-preview[bot]
d1e881cd43 Update rustversion requirement from 0.1 to 1.0 (#815)
Updates the requirements on [rustversion](https://github.com/dtolnay/rustversion) to permit the latest version.
- [Release notes](https://github.com/dtolnay/rustversion/releases)
- [Commits](https://github.com/dtolnay/rustversion/compare/0.1.0...1.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-26 15:34:11 -06:00
Justin Starry
88374c7993
Remove unnecessary macro test helper (#825) 2019-12-26 15:05:31 -06:00
dependabot-preview[bot]
75c93a889a Update http requirement from 0.1 to 0.2 (#814)
Updates the requirements on [http](https://github.com/hyperium/http) to permit the latest version.
- [Release notes](https://github.com/hyperium/http/releases)
- [Changelog](https://github.com/hyperium/http/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/http/compare/v0.1.0...v0.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-26 14:37:19 -06:00
Justin Starry
17fdf5ea01
Disable emscripten in CI (#824) 2019-12-26 13:55:27 -06:00
Justin Starry
12e81f1f56
Fix clippy on Rust 1.40 (#822) 2019-12-24 12:57:20 -06:00
Justin Starry
8df15fdef8
Update wasm-bindgen to 0.2.56 (#821) 2019-12-24 11:46:14 -06:00
Kelly Thomas Kline
627eb4002b Add a performance optimization note to the changelog (#812) 2019-12-24 11:25:19 -06:00
dependabot-preview[bot]
f24dc2ee3c Update ryu requirement from =1.0.0 to =1.0.2 (#811)
* Update ryu requirement from =1.0.0 to =1.0.2

Updates the requirements on [ryu](https://github.com/dtolnay/ryu) to permit the latest version.
- [Release notes](https://github.com/dtolnay/ryu/releases)
- [Commits](https://github.com/dtolnay/ryu/compare/1.0.0...1.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Update Cargo.toml

Co-authored-by: Justin Starry <justin.m.starry@gmail.com>
2019-12-24 10:41:13 -06:00
dependabot-preview[bot]
72ca3bb700 Update rmp-serde requirement from 0.13.7 to 0.14.0 (#810)
Updates the requirements on [rmp-serde](https://github.com/3Hren/msgpack-rust) to permit the latest version.
- [Release notes](https://github.com/3Hren/msgpack-rust/releases)
- [Commits](https://github.com/3Hren/msgpack-rust/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-15 13:49:00 -05:00
dependabot-preview[bot]
631995a33a Update serde_cbor requirement from 0.9.0 to 0.10.2 (#809)
Updates the requirements on [serde_cbor](https://github.com/pyfisch/cbor) to permit the latest version.
- [Release notes](https://github.com/pyfisch/cbor/releases)
- [Commits](https://github.com/pyfisch/cbor/compare/v0.9.0...v0.10.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-15 13:48:46 -05:00
dependabot-preview[bot]
5d5a9534c7 Update toml requirement from 0.4 to 0.5 (#808)
Updates the requirements on [toml](https://github.com/alexcrichton/toml-rs) to permit the latest version.
- [Release notes](https://github.com/alexcrichton/toml-rs/releases)
- [Commits](https://github.com/alexcrichton/toml-rs/compare/0.4.0...0.5.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-15 13:48:22 -05:00
Justin Starry
60cbcf4746
Add bincode format and make bincode an optional dependency (#806) 2019-12-14 21:41:13 -05:00
Hugues Morisset
1390474abd Implement Clone for Agent (#802)
Use an Rc instead of a Box for responder field
2019-12-10 21:13:34 -08:00
Henry Zimmerman
5d97142cf4 remove send_future from ComponentLink (#799)
* remove send_future from ComponentLink

* Revert "remove send_future from ComponentLink"

This reverts commit c1b1ad4d283f3a289b94a20f24d73ad98f58fc5b.

* remove send_future, reimplement it in the futures example
2019-12-10 09:39:37 -08:00
Henry Zimmerman
fad1b489bc remove routing example (#797) 2019-12-09 23:05:24 -08:00
Konstantin Itskov
bb2bbb9799 Add extra setup for testing instructions to readme (#798) 2019-12-09 22:45:35 -08:00
Miklós Tusz
f872884a36 Add no-op method for Callback (#793)
When a component is created with an optional event handler, it can
be passed as an `Option` prop, however in certain cases, it is useful to
have either a default event handler, rather than passing a `None`.
2019-12-09 21:50:18 -08:00
Kelly Thomas Kline
06c1c82c8c Describe the new callback type requirement (#789) 2019-12-09 21:49:36 -08:00
Thomas Gotwig
414df9e9d2 Refactor dashboard example (#744)
Reducing levels of nesting
2019-12-09 21:48:56 -08:00
Konstantin Itskov
5c23da01cf Update CHANGELOG.md (#794)
Fixing another tiny typo regarding the transition instructions.
2019-12-09 20:39:15 -08:00
Justin Starry
f98273ba32
Update CHANGELOG.md 2019-12-09 20:34:21 -08:00
Justin Starry
cd407a1122
Cleanup VList and undo breaking change (#788) 2019-12-08 21:10:35 -08:00
Justin Starry
ff9fe6a9c8
Update CHANGELOG.md 2019-12-08 20:49:40 -08:00
Justin Starry
77273f7946
Prep changelog (#787) 2019-12-08 17:16:24 -08:00
Philip Peterson
bf06e36eb7 Some simple proposed renames (#751)
* AgentUpdate -> AgentLifecycleEvent

* Responder::response -> Responder::respond

* AgentLink::response -> AgentLink::respond

* Agent::handle -> Agent::handle_input
2019-12-08 11:03:35 -08:00
Justin Starry
f61667be97
Remove generics from virtual dom (#783)
* Fix tests

* Remove generics from virtual dom

* Prep for degenerify

* Fix examples

* Remove props cloning

* Fix tests
2019-12-08 10:47:51 -08:00
Proesmans Bert
def59a0079 Fixed Multi Thread example (#784)
Link field was not provided on struct Model
2019-12-08 08:58:48 -08:00
Justin Starry
0e8ffcc54c
Remove support for element listener magical closures (#782) 2019-12-07 17:48:56 -08:00
Justin Starry
f48bc90edb
Use callbacks in examples (#781) 2019-12-07 16:56:26 -08:00
Justin Starry
ffbb9e0ac3
Rename methods and loosen mutability for component link and agent (#780)
* Rename methods and loosen mutability for component link and agent

* Update send_back to callback

* mut link -> link
2019-12-07 18:18:33 -05:00
Justin Starry
9e8ccac683
Change callback reform to not consume self (#779) 2019-12-07 17:17:26 -05:00
Justin Starry
c583f731c5
Support passing callbacks to elements (#777)
* Support passing callbacks to elements

* Fix tests
2019-12-07 13:42:19 -05:00
Justin Starry
e044f73fdb
Refactor HiddenScope to clean up code (#778) 2019-12-07 12:42:29 -05:00
Henry Zimmerman
45574e53ae improve speed of to_string for Classes (#772) 2019-12-04 16:00:37 -05:00
Justin Starry
fd8c3ee665
Filter empty string classes (#770)
* Filter empty string classes

* cargo fmt

* feedback

* Add tests
2019-12-03 23:06:35 -05:00
Zydnar
cb671ad4d2 nested_list example fix (#765) (#767)
Added missing parameter in two places
2019-12-02 09:32:30 -05:00
Kelly Thomas Kline
d03f59185f Add roadmap link to the readme (#764) 2019-12-01 11:43:21 -05:00
Justin Starry
231bda8cbe
VComp cleanup (#761) 2019-11-29 11:31:19 -05:00
Justin Starry
128567016e
VTag cleanup (#760) 2019-11-29 00:11:29 -05:00
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