1062 Commits

Author SHA1 Message Date
Clifford T. Matthews
5d27094370 Implements CborPacked, a more compressed variant of CBOR. (#849) 2020-01-07 12:17:34 +08:00
Justin Starry
5361f51981
Update Cargo.toml 2020-01-07 09:57:43 +08:00
Justin Starry
88ea0ab145
Update Cargo.toml 2020-01-07 09:55:27 +08:00
Justin Starry
a8c383d932
Update FUNDING.yml 2020-01-07 09:28:05 +08:00
Justin Starry
bad5302412
Update FUNDING.yml 2020-01-07 09:24:56 +08:00
Justin Starry
8a4684fcf2
Bump wasm-bindgen version from 0.2.56 to 0.2.57 (#848) 2020-01-07 09:16:18 +08:00
Justin Starry
09cc6c5f3d Bump version to v0.11.1 2020-01-06 21:16:47 +08:00
Justin Starry
b15493c4ee
Prep v0.11 release (#846)
* Update changelog for v0.11 release

* Bump version to v0.11
0.11.0
2020-01-06 17:55:52 +08:00
Konstantin Itskov
f18eca1860 Add html_nested! macro to support nested iterable children access (#843)
* Revert "Revert "Improve nested html! expansion by unwrapping VNodes (#820)" (#842)"

This reverts commit 70862a46

* Add minor fix to VList to conform with #820

* Add unittest for the regression bug #839

* Resolve #839 regression issue introduced by #820

* wip

* Revert "Resolve #839 regression issue introduced by #820"

This reverts commit 34dc935821cb32526c3085505649c0d70b163a13.

* Use explicit html_nested

* Remove NodeSeq from prelude

* Clean up tests

* Add list and tag tests

* Revert vtag children change

Co-authored-by: Justin Starry <justin.m.starry@gmail.com>
2020-01-06 17:27:47 +08:00
Matt Hoyt
c7c9dcd31b Fix handling of boolean attributes (#840)
* Updated so boolean attributes are either there or not.

Issue #394

* Ran cargo fmt.

* Updated to remove checked and selected special handling.

* Update the attribute list to match what mdn says.

Removed deceprated attributes.

* Added back the checked special handling.
2020-01-05 20:17:06 -08:00
Konstantin Itskov
fb17517e40 Remove redundant class string is_empty checks (#844) 2020-01-05 17:48:51 -08:00
Christian Göhring
f32aa7e498 Corrected table head tag example (#845)
Tag::TableHead should correspond to <th> and not <tr>
2020-01-05 17:09:18 -08:00
daxpedda
eaf5125018 Fix js_callback example. (#838)
* Fix `js_callback` example.

-  Add `#[allow(unused_imports)]` for `js` macro.
-  Add `self.link.callback` to `oninput`.

* Fix missing type annotation.
2020-01-04 13:38:13 -05:00
Justin Starry
70862a46a1
Revert "Improve nested html! expansion by unwrapping VNodes (#820)" (#842)
This reverts commit a900fbee496d1140b424bcb2f1c91402d20eca2b.
2020-01-04 13:35:50 -05:00
Justin Starry
f7313348f6
Fix generic component tags in html macro (#837) 2019-12-31 00:03:02 -05:00
Fabian Würfl
ccddb50ccc Fix file upload example (#833) 2019-12-29 19:33:53 -06:00
Justin Starry
fe0e69bc33 Update issue templates 2019-12-29 20:33:15 -05:00
Konstantin Itskov
a900fbee49 Improve nested html! expansion by unwrapping VNodes (#820)
* Improve nested html! expansion by omitting VNodes

* Add unittest and fix child node expansion

* Fix existing unittests and check backward compat

* Fix rebase conflicts

* Parse expression

* Fix clippy

Co-authored-by: Justin Starry <justin.starry@icloud.com>
2019-12-28 22:27:23 -06:00
Justin Starry
b801d4fbf9
Improve macro error message for unexpected close tag (#831) 2019-12-28 21:27:13 -06:00
Justin Starry
33351f3e2a
Use stable rust in CI for rustfmt and clippy (#829) 2019-12-28 21:08:30 -06:00
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