Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge upstream into master #1

Merged
merged 207 commits into from
Jan 20, 2020
Merged

Merge upstream into master #1

merged 207 commits into from
Jan 20, 2020

Conversation

llebout
Copy link
Owner

@llebout llebout commented Jan 20, 2020

No description provided.

tafia and others added 30 commits August 19, 2019 09:10
591: Remove allocation in vtag diff r=jstarry a=tafia

**Disclaimer**: I couldn't test it on my system yet.

This PR attempts to remove all allocations (`String`, `Vec` and `HashSet`) used in various vtag diff functions.

I believe this should have an impact both in terms of performance and memory.



Co-authored-by: Johann Tuffe <tafia973@gmail.com>
608: Update proc-macro2, syn and quote to 1.0 r=jstarry a=hobofan

CLOSES #590

I also tried to lift the recursion limits in the examples, but it looks like they are still required (maybe due to macros from stdweb?).

Co-authored-by: Maximilian Goisser <goisser94@gmail.com>
611: Fixed typo r=jstarry a=UnHumbleBen



Co-authored-by: Benjamin Lee <bnllee@ucdavis.edu>
612: Add support for optional callbacks to component properties r=jstarry a=Wodann

Added transformer for conversion of a closure to an optional callback, as requested in issue #609.

Co-authored-by: Wodann <remco.kuijper@gmail.com>
614: Fix typo r=jstarry a=king6cong



Co-authored-by: king6cong <king6cong@gmail.com>
615: Add `Classes` to prelude r=jstarry a=kellytk



Co-authored-by: Kelly Thomas Kline <kellytk@sw-e.org>
jstarry and others added 28 commits December 31, 2019 00:03
* Fix `js_callback` example.

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

* Fix missing type annotation.
Tag::TableHead should correspond to <th> and not <tr>
* 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.
…843)

* Revert "Revert "Improve nested html! expansion by unwrapping VNodes (#820)" (#842)"

This reverts commit 70862a4

* 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 34dc935.

* 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>
* Update changelog for v0.11 release

* Bump version to v0.11
* Update wasm-bindgen and fix cargo config

* clippy
This allows the various formats that can't be converted in or out of
Text to be used in the callback that a websocket will use.  It also
supports the packed version of CBOR.

Co-authored-by: Justin Starry <justin.m.starry@gmail.com>
Updates the requirements on [autocfg](https://github.com/cuviper/autocfg) to permit the latest version.
- [Release notes](https://github.com/cuviper/autocfg/releases)
- [Commits](https://github.com/cuviper/autocfg/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Improve html! iteratable ergonomics

* feedback
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](pyfisch/cbor@v0.10.2...v0.11.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Switch to `anyhow` and `thiserror`.

* Fix doc tests.

* Fix fmt.

* Some polish.
In serde_cbor 0.9, the helper function to_vec_packed created the smallest
CBOR representation of data.  When serde_cbor 0.10 was introduced, that
function was left in place and the documentation for it didn't change, but
its behavior did.  Specifically, enum variants that carry data would no
longer have the variant encoded efficiently; instead it was encoded as a
String.  As such, using to_vec_packed is not the way to get a compact
representation if your data contains enums which carry data.

Since there hasn't been a yew release yet that has CBorPacked in it,
this commit removes CborPacked.
* Add Transformer impls to handle handle Option<T> properties

* Add test

* More tests
…pression) (#881)

* Add `default` value for properties

* Default values specified by paths instead of exprs

* Fix misleading error message

* Remove confusing Option
This allows users to create their own encoding wrappers.

The provided documentation uses real-life examples from within yew.
This commit also fixes a minor oversight, where use of the
text_format_is_an_error macro required the end-user to explicitly use
the text_format macro instead of simply bringing it in itself.
@llebout llebout merged commit 2c17e70 into llebout:master Jan 20, 2020
llebout pushed a commit that referenced this pull request Jan 20, 2020
* Early msgs queue for Public worker

* Early msgs queue for Public worker

* update (#1)

* Fix typo

* Require fmt in travis script

* Apply cargo format to all modules

* ??

* Merge (yewstack#2)

* Fix typo

* Require fmt in travis script

* Apply cargo format to all modules

* avoid allocating in diff_classes

* avoid allocating for diff_kind

* avoid allocating for diff_value

* simplify diff_attributes and avoid allocations

* return iterator for diff_classes and diff_attributes

* rustfmt on vtags

* clean apply_diff

* more cleaning

* apply suggestions

* Update proc-macro2, syn and quote to 1.0

CLOSES yewstack#590

* Fixed typo

* Add support for optional callbacks to component properties

* Add tests for a component with optional callback

* Fix typo

* Add `Classes` to prelude

* binary ser/de issue fix

* merge (yewstack#3)

* Fix typo

* Require fmt in travis script

* Apply cargo format to all modules

* avoid allocating in diff_classes

* avoid allocating for diff_kind

* avoid allocating for diff_value

* simplify diff_attributes and avoid allocations

* return iterator for diff_classes and diff_attributes

* rustfmt on vtags

* clean apply_diff

* more cleaning

* apply suggestions

* Update proc-macro2, syn and quote to 1.0

CLOSES yewstack#590

* Fixed typo

* Add support for optional callbacks to component properties

* Add tests for a component with optional callback

* Fix typo

* Add `Classes` to prelude

* added bincode type for data ser de

* fixed Into func

* Update (yewstack#5)

* in yewstack org

* Initial implementation using an iterator adaptor to provide a coherent struct to implement Into<VNode> (via From<>) for

* update large table example to demonstrate new .html() method instead of 'for'

* ran cargo fmt

* Add a section for project templates to the README

* Change org to YewStack

* Implement FromIterator instead of wrapping iterator

* remove dead code

* ran fmt

* Add extend method to Classes

* change to union

* renamed union back to extend

* removed unused import of RangeFull

* update

* Fix touch events (yewstack#656)

* Update changelog for v0.9 release (yewstack#657)

* Implement Debug for ChildRenderer<T> (yewstack#655)

* Implement Debug for ChildRenderer<T>

* fix formatter type lifetime

* remove fmt

* cargo fmt

* Emit initial route to router subscribers (yewstack#634)

* Fix typo in RenderService (yewstack#658)

* Add From<&String> for Classes implementation

* @jstarry feedback

- cargo fmt
- rename DEDICATED_WORKERS_* to REMOTE_AGENTS_*
- remove unrelated changes

* TypeId ask key instead &str

* Remove .gitignore changes

* Update agent.rs

* Update agent.rs

* Fix merge conflict
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.