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
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
207 commits
Select commit Hold shift + click to select a range
1163bf6
avoid allocating in diff_classes
tafia Aug 14, 2019
b2dfe0d
avoid allocating for diff_kind
tafia Aug 14, 2019
b3024ef
avoid allocating for diff_value
tafia Aug 14, 2019
2d466f9
simplify diff_attributes and avoid allocations
tafia Aug 14, 2019
a3bda76
return iterator for diff_classes and diff_attributes
tafia Aug 14, 2019
bd4659a
rustfmt on vtags
tafia Aug 14, 2019
02771be
clean apply_diff
tafia Aug 14, 2019
2f1a46b
more cleaning
tafia Aug 14, 2019
048865f
apply suggestions
tafia Aug 19, 2019
4f0b9cc
Merge #591
bors[bot] Aug 21, 2019
c97d23c
Update proc-macro2, syn and quote to 1.0
hobofan Aug 20, 2019
ec41e9d
Merge #608
bors[bot] Aug 21, 2019
695c919
Fixed typo
UnHumbleBen Aug 23, 2019
f3179f2
Add support for optional callbacks to component properties
Wodann Aug 23, 2019
bc447ad
Add tests for a component with optional callback
Wodann Aug 23, 2019
08bb49e
Merge #611
bors[bot] Aug 23, 2019
41c8a1d
Merge #612
bors[bot] Aug 23, 2019
d691744
Fix typo
king6cong Aug 23, 2019
a7e251c
First pass at component children
jstarry Aug 13, 2019
bddb2f0
Props
jstarry Aug 18, 2019
8e4a7ed
Add default implementation for children prop
jstarry Aug 21, 2019
bd2fc42
Use holder to avoid box paren wrapping
jstarry Aug 18, 2019
599e4d0
Support generic components
jstarry Aug 21, 2019
0e78f7a
Update example
jstarry Aug 25, 2019
7ae0886
Add tests
jstarry Aug 25, 2019
23c23d7
Cleanup
jstarry Aug 25, 2019
352e3cf
Merge #614
bors[bot] Aug 25, 2019
5c367d2
Update tests
jstarry Aug 26, 2019
1495457
Add `Classes` to prelude
kellytk Aug 26, 2019
56de638
Merge #615
bors[bot] Aug 26, 2019
d574a2c
in yewstack org
ctaggart Aug 29, 2019
107fcaf
Initial implementation using an iterator adaptor to provide a coheren…
hgzimmerman Aug 29, 2019
b6b55ab
update large table example to demonstrate new .html() method instead …
hgzimmerman Aug 29, 2019
4a9a4af
ran cargo fmt
hgzimmerman Aug 30, 2019
c976e1a
Add a section for project templates to the README
kellytk Aug 31, 2019
c4fa170
Change org to YewStack
therustmonk Aug 31, 2019
6b56491
Merge #625
bors[bot] Aug 31, 2019
5421c22
Merge #620
bors[bot] Aug 31, 2019
c1628e7
Implement FromIterator instead of wrapping iterator
hgzimmerman Aug 31, 2019
b1849d0
remove dead code
hgzimmerman Aug 31, 2019
87f1b82
ran fmt
hgzimmerman Aug 31, 2019
db52aa4
Add extend method to Classes
hgzimmerman Sep 1, 2019
7795848
change to union
hgzimmerman Sep 1, 2019
7965123
renamed union back to extend
hgzimmerman Sep 1, 2019
527cb98
Add is_empty and len methods to ChildrenRenderer
jstarry Sep 5, 2019
563807a
Implement Renderable trait and add docs
jstarry Sep 5, 2019
429ab73
cargo fmt
jstarry Sep 5, 2019
0883108
Merge #622
bors[bot] Sep 5, 2019
7ae0c0e
removed unused import of RangeFull
hgzimmerman Sep 5, 2019
c627946
Merge #626
bors[bot] Sep 5, 2019
24d39f9
Merge #589
bors[bot] Sep 10, 2019
16c7864
fix #638
astraw Sep 15, 2019
2256c04
Fix VNode orphaning inside of VTags
hgzimmerman Sep 21, 2019
5dc34e6
cargo fmt
hgzimmerman Sep 21, 2019
109504d
improve naming
hgzimmerman Sep 21, 2019
f8d0723
Add test
jstarry Sep 22, 2019
30e67d0
derive Debug for Classes (#650)
hgzimmerman Sep 22, 2019
258ed83
Implement Debug for ComponentLink and AgentLink (#652)
hgzimmerman Sep 22, 2019
07a30d7
update readme (#646)
hgzimmerman Sep 22, 2019
9bd9d52
Merge #640
bors[bot] Sep 22, 2019
1375714
Merge #651
bors[bot] Sep 23, 2019
567a945
Fix touch events (#656)
jstarry Sep 25, 2019
66b036b
Update changelog for v0.9 release (#657)
jstarry Sep 25, 2019
0d96d5b
Implement Debug for ChildRenderer<T> (#655)
hgzimmerman Sep 25, 2019
dd59cf0
Emit initial route to router subscribers (#634)
terry90 Sep 25, 2019
f794d55
Fix typo in RenderService (#658)
jstarry Sep 25, 2019
ff41a69
Add From<&String> for Classes implementation
jstarry Sep 25, 2019
0c2f2ac
Merge #659
bors[bot] Sep 25, 2019
97f5aa3
Add Dispatchers (#639)
hgzimmerman Sep 26, 2019
9757adf
Fix comment-typo in agent (#644)
tgotwig Sep 26, 2019
58495a1
Add a few more items to changelog for 0.9
jstarry Sep 26, 2019
dfc4968
Early msgs queue for Public worker (#596)
serzhiio Sep 26, 2019
9faefde
Add a method to emit multiple messages in one callback (#660)
stkevintan Sep 27, 2019
0ae9cd5
Add keyboard service (#647)
hgzimmerman Sep 27, 2019
5454948
Update CHANGELOG.md
jstarry Sep 27, 2019
2104ad4
Update CHANGELOG.md
jstarry Sep 27, 2019
afb832d
Bump version to v0.10.0 (#662)
jstarry Sep 27, 2019
d04ffd9
Update README.md
jstarry Sep 29, 2019
9c26fab
Fix spelling, grammar, and incorrect copied comments (#671)
hgzimmerman Sep 30, 2019
74583ed
Remove Transferable trait (#319)
hgzimmerman Sep 30, 2019
933f666
Implement Default for VNode (#672)
hgzimmerman Sep 30, 2019
70a95f8
Fix Doc Tests (#674)
hgzimmerman Sep 30, 2019
43e9347
Add render method to Component and auto implement Renderable (#563)
jstarry Oct 1, 2019
8b671cf
Derive PartialEq for Classes (#680)
hgzimmerman Oct 7, 2019
c24ee3e
bump to stdweb 0.4.19 (#683)
ctaggart Oct 7, 2019
01c0dd0
Use trait objects with explicit `dyn` in examples (#687)
benreyn Oct 8, 2019
e08b33d
Fix multi_thread example (#689)
jstarry Oct 9, 2019
4f31997
Bump stdweb to 0.4.20 (#694)
jstarry Oct 11, 2019
0c6b9d3
Bump wasm bindgen to 0.2.50 (#695)
jstarry Oct 11, 2019
9845bd3
Variable renames (#696)
jstarry Oct 12, 2019
9bf627d
Fix diff for VText nodes (#697)
jstarry Oct 12, 2019
8da232c
Fix VTag attribute updates (#698)
jstarry Oct 13, 2019
34c47ed
Pin ryu dependency to 1.0.0 for emscripten targets (#703)
jstarry Oct 13, 2019
d90870f
Stop force installing wasm-bindgen-cli in CI (#701)
jstarry Oct 13, 2019
058b85f
Add CI caching for nvm (#700)
jstarry Oct 13, 2019
23c6c12
Optimize the default `change` implementation (#690)
kellytk Oct 13, 2019
0b59933
Forbid missing Debug implementations (#673)
hgzimmerman Oct 13, 2019
7f276d5
Improve compile error for non-string attributes (#710)
jstarry Oct 14, 2019
322a1f9
Fix travis (#711)
jstarry Oct 14, 2019
6fdf177
Use wasm32-unknown-unknown as the default build target (#702)
jstarry Oct 13, 2019
3a25c8a
Use latest chromedriver (#708)
jstarry Oct 13, 2019
9c9794b
Enable clippy in CI (#706)
jstarry Oct 13, 2019
7e1b725
Cleanup run tests CI script (#709)
jstarry Oct 13, 2019
bbbf344
Speed up cache (#707)
jstarry Oct 14, 2019
c6a677a
Remove git files from travis cache
jstarry Oct 14, 2019
5056b84
Box VTag to reduce size disparity between VNode variants (#675)
hgzimmerman Oct 14, 2019
8bad9b2
examples/large_table: Fix deprecation warning (#713)
zaeleus Oct 19, 2019
8b46aac
Allow to extend agent communication from external crates (#721)
dunnock Nov 1, 2019
1db0e3c
Remove event handler debug message (#723)
mdtusz Nov 2, 2019
3a72766
Fix the mount order of components (#725)
jstarry Nov 4, 2019
c178d52
Add ref attributes to enabling DOM access in Components (#715)
jstarry Nov 4, 2019
e4b6512
Fix ws connect panic (#727)
lizhaoxian Nov 10, 2019
6ba83fc
Update min rust version to 1.39.0 (#730)
jstarry Nov 11, 2019
f60e533
Add send_future to ComponentLink (#717)
hgzimmerman Nov 11, 2019
c7cc4c2
Add link to docs in README (#729)
mdtusz Nov 11, 2019
98ebc65
Improve unimplemented message (#716)
lily-mara Nov 11, 2019
5cc48d0
Don't force the wasm-bindgen-cli install (#735)
jstarry Nov 11, 2019
1c54ab1
Add a default-enabled feature gate for agents and services (#684)
hgzimmerman Nov 11, 2019
0b8d48e
Clarify doc comments in ComponentLink about when messages are process…
hgzimmerman Nov 11, 2019
6bc6a30
Update CHANGELOG.md (#736)
jstarry Nov 11, 2019
7c959a5
Bump yew from 0.10 to 0.10.1 (#737)
jstarry Nov 11, 2019
7019dfb
Implement Clone for ComponentLink (#741)
jstarry Nov 14, 2019
f6af516
Allow to compile to wasi target without wasm_bindgen (#746)
dunnock Nov 18, 2019
0f890fd
Revert "Implement Clone for ComponentLink (#741)" (#747)
jstarry Nov 19, 2019
91d8a89
Add send_self_batch to ComponentLink (#748)
hgzimmerman Nov 19, 2019
b4c1415
Manually implement Clone for ComponentLink (#749)
hgzimmerman Nov 19, 2019
c439a3d
Clean up comments, generics names, and variable names (#752)
jstarry Nov 23, 2019
1218c1d
Update wasm-bindgen (#753)
jstarry Nov 23, 2019
ff04205
Disable emscripten in CI for beta/nightly (#731)
jstarry Nov 23, 2019
8fd95d8
Use VList for VTag children (#754)
jstarry Nov 24, 2019
75f8186
Update README.md
jstarry Nov 28, 2019
e2ed095
Update README.md
jstarry Nov 28, 2019
1285670
VTag cleanup (#760)
jstarry Nov 29, 2019
231bda8
VComp cleanup (#761)
jstarry Nov 29, 2019
d03f591
Add roadmap link to the readme (#764)
kellytk Dec 1, 2019
cb671ad
nested_list example fix (#765) (#767)
Zydnar Dec 2, 2019
fd8c3ee
Filter empty string classes (#770)
jstarry Dec 4, 2019
45574e5
improve speed of to_string for Classes (#772)
hgzimmerman Dec 4, 2019
e044f73
Refactor HiddenScope to clean up code (#778)
jstarry Dec 7, 2019
c583f73
Support passing callbacks to elements (#777)
jstarry Dec 7, 2019
9e8ccac
Change callback reform to not consume self (#779)
jstarry Dec 7, 2019
ffbb9e0
Rename methods and loosen mutability for component link and agent (#780)
jstarry Dec 7, 2019
f48bc90
Use callbacks in examples (#781)
jstarry Dec 8, 2019
0e8ffcc
Remove support for element listener magical closures (#782)
jstarry Dec 8, 2019
def59a0
Fixed Multi Thread example (#784)
Bert-Proesmans Dec 8, 2019
f61667b
Remove generics from virtual dom (#783)
jstarry Dec 8, 2019
bf06e36
Some simple proposed renames (#751)
philip-peterson Dec 8, 2019
77273f7
Prep changelog (#787)
jstarry Dec 9, 2019
ff9fe6a
Update CHANGELOG.md
jstarry Dec 9, 2019
cd407a1
Cleanup VList and undo breaking change (#788)
jstarry Dec 9, 2019
f98273b
Update CHANGELOG.md
jstarry Dec 10, 2019
5c23da0
Update CHANGELOG.md (#794)
trivigy Dec 10, 2019
414df9e
Refactor dashboard example (#744)
Dec 10, 2019
06c1c82
Describe the new callback type requirement (#789)
kellytk Dec 10, 2019
f872884
Add no-op method for Callback (#793)
mdtusz Dec 10, 2019
bb2bbb9
Add extra setup for testing instructions to readme (#798)
trivigy Dec 10, 2019
fad1b48
remove routing example (#797)
hgzimmerman Dec 10, 2019
5d97142
remove send_future from ComponentLink (#799)
hgzimmerman Dec 10, 2019
1390474
Implement Clone for Agent (#802)
izissise Dec 11, 2019
60cbcf4
Add bincode format and make bincode an optional dependency (#806)
jstarry Dec 15, 2019
5d5a953
Update toml requirement from 0.4 to 0.5 (#808)
dependabot-preview[bot] Dec 15, 2019
631995a
Update serde_cbor requirement from 0.9.0 to 0.10.2 (#809)
dependabot-preview[bot] Dec 15, 2019
72ca3bb
Update rmp-serde requirement from 0.13.7 to 0.14.0 (#810)
dependabot-preview[bot] Dec 15, 2019
f24dc2e
Update ryu requirement from =1.0.0 to =1.0.2 (#811)
dependabot-preview[bot] Dec 24, 2019
627eb40
Add a performance optimization note to the changelog (#812)
kellytk Dec 24, 2019
8df15fd
Update wasm-bindgen to 0.2.56 (#821)
jstarry Dec 24, 2019
12e81f1
Fix clippy on Rust 1.40 (#822)
jstarry Dec 24, 2019
17fdf5e
Disable emscripten in CI (#824)
jstarry Dec 26, 2019
75c93a8
Update http requirement from 0.1 to 0.2 (#814)
dependabot-preview[bot] Dec 26, 2019
88374c7
Remove unnecessary macro test helper (#825)
jstarry Dec 26, 2019
d1e881c
Update rustversion requirement from 0.1 to 1.0 (#815)
dependabot-preview[bot] Dec 26, 2019
3ffde50
Enable emscripten in CI for rustc 1.39.0 (#828)
jstarry Dec 29, 2019
84a9ed0
Make virtual dom cloneable (#786)
jstarry Dec 29, 2019
cc0be53
Update issue templates
jstarry Dec 29, 2019
33351f3
Use stable rust in CI for rustfmt and clippy (#829)
jstarry Dec 29, 2019
b801d4f
Improve macro error message for unexpected close tag (#831)
jstarry Dec 29, 2019
a900fbe
Improve nested html! expansion by unwrapping VNodes (#820)
trivigy Dec 29, 2019
fe0e69b
Update issue templates
jstarry Dec 30, 2019
ccddb50
Fix file upload example (#833)
BafDyce Dec 30, 2019
f731334
Fix generic component tags in html macro (#837)
jstarry Dec 31, 2019
70862a4
Revert "Improve nested html! expansion by unwrapping VNodes (#820)" (…
jstarry Jan 4, 2020
eaf5125
Fix `js_callback` example. (#838)
daxpedda Jan 4, 2020
f32aa7e
Corrected table head tag example (#845)
mostsignificant Jan 6, 2020
fb17517
Remove redundant class string is_empty checks (#844)
trivigy Jan 6, 2020
c7c9dcd
Fix handling of boolean attributes (#840)
mrh0057 Jan 6, 2020
f18eca1
Add `html_nested!` macro to support nested iterable children access (…
trivigy Jan 6, 2020
b15493c
Prep v0.11 release (#846)
jstarry Jan 6, 2020
09cc6c5
Bump version to v0.11.1
jstarry Jan 6, 2020
8a4684f
Bump wasm-bindgen version from 0.2.56 to 0.2.57 (#848)
jstarry Jan 7, 2020
bad5302
Update FUNDING.yml
jstarry Jan 7, 2020
a8c383d
Update FUNDING.yml
jstarry Jan 7, 2020
88ea0ab
Update Cargo.toml
jstarry Jan 7, 2020
5361f51
Update Cargo.toml
jstarry Jan 7, 2020
5d27094
Implements CborPacked, a more compressed variant of CBOR. (#849)
ctm Jan 7, 2020
99220f5
Update wasm-bindgen and fix cargo config (#853)
jstarry Jan 8, 2020
ba66c3e
Allow binary-only formats (e.g., CBOR) with websockets (#389) (#847)
ctm Jan 9, 2020
943d2ca
Update autocfg requirement from 0.1.3 to 1.0.0 (#860)
dependabot-preview[bot] Jan 9, 2020
e38ed00
Fix names of touch event listeners (#872)
AlephAlpha Jan 14, 2020
3d7bad9
Improve html! "for" iterable ergonomics (#875)
jstarry Jan 15, 2020
f3f5290
Remove default build target because it breaks trybuild tests (#876)
jstarry Jan 15, 2020
a442312
Update serde_cbor requirement from 0.10.2 to 0.11.1 (#869)
dependabot-preview[bot] Jan 15, 2020
1f4c415
Switch from `failure` to `anyhow` and `thiserror`. (#863)
daxpedda Jan 15, 2020
1abef04
Added financial contributors to the README (#880)
monkeywithacupcake Jan 18, 2020
ffadafe
Removes CborPacked. (#873)
ctm Jan 19, 2020
3195b50
Add Transformer impls to handle handle Option<T> properties (#878)
AlephAlpha Jan 19, 2020
6e63014
Add `default` value for properties (takes a function instead of an ex…
AlephAlpha Jan 19, 2020
287f0d6
Expose the formatting macros. (#883)
ctm Jan 19, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: deniskolodin
open_collective: # Replace with a single Open Collective username
open_collective: yew
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
Expand Down
40 changes: 40 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: Bug report
about: Create a report to help us improve Yew
title: ''
labels: bug
assignees: ''

---

**Problem**
<!-- A clear and concise description of what the bug is. -->

**Steps To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Environment:**
- Yew version [e.g. v0.10, `master`]
- Rust version [e.g. 1.40.0]
- Target if relevant [e.g. `wasm32-unknown-emscripten`]
- `stdweb` / `web-sys` version [e.g. web-sys v0.3.33]
- OS: [e.g. macos]
- Browser [e.g. chrome, safari]
- Browser version [e.g. 22]

**Questionnaire**
<!-- Developing Yew is a community effort! -->
<!-- If you feel up to the challenge, please check one of the boxes below: -->
- [ ] I'm interested in fixing this myself but don't know where to start
- [ ] I would like to fix and I have a solution
- [ ] I don't have time to fix this right now, but maybe later
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: feature
assignees: ''

---

<!-- Please only include one feature request per issue, thank you! -->

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
28 changes: 14 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,40 +4,40 @@ branches:
- trying
- master

language: rust

dist: trusty
language: rust
sudo: false
addons:
chrome: stable

cache:
timeout: 1000
directories:
- $HOME/.cargo
- $HOME/.rustup
- $HOME/.local/share/cargo-web/emscripten
cache: cargo
before_cache:
- ./ci/clear_cache.sh

rust:
- 1.35.0 # min supported
- 1.39.0 # min supported
- stable
- beta
- nightly

matrix:
allow_failures:
- rust: nightly
- rust: beta
fast_finish: true

install:
- nvm install 9
- rustup component add rustfmt
- rustup component add clippy
- rustup target add wasm32-unknown-unknown
- cargo install --force --version 0.2.42 -- wasm-bindgen-cli
- curl --retry 5 -LO https://chromedriver.storage.googleapis.com/2.41/chromedriver_linux64.zip
- cargo install cargo-update || true
- cargo install-update-config --version =0.2.58 wasm-bindgen-cli
- cargo install-update wasm-bindgen-cli
- LATEST_CHROMEDRIVER_VERSION=`curl -s "https://chromedriver.storage.googleapis.com/LATEST_RELEASE"`
- curl --retry 5 -LO "https://chromedriver.storage.googleapis.com/${LATEST_CHROMEDRIVER_VERSION}/chromedriver_linux64.zip"
- unzip chromedriver_linux64.zip
- ./ci/install_cargo_web.sh

script:
- cargo fmt --all -- --check
- ./ci/run_checks.sh
- CHROMEDRIVER=$(pwd)/chromedriver ./ci/run_tests.sh
- CHROMEDRIVER=$(pwd)/chromedriver ./ci/check_examples.sh
Loading