Repository navigation
plugins: Autogeneration of Reflectable; Inheritance lint - #4173
Closed
Manishearth wants to merge 7 commits into
Closed
Manishearth wants to merge 7 commits into
Manishearth wants to merge 7 commits into
Conversation
|
Critic review: https://critic.hoppipolla.co.uk/r/3339 This is an external review system which you may optionally use for the code review of your pull request. In order to help critic track your changes, please do not make in-place history rewrites (e.g. via |
Member
Author
|
@kmcallister r? |
Manishearth
force-pushed
the
a-more-dom-struct
branch
2 times, most recently
from
December 10, 2014 03:32
88b4ec6 to
446af3f
Compare
Member
|
Still waiting on @kmcallister to review the new commits since the original review. |
Manishearth
force-pushed
the
a-more-dom-struct
branch
from
December 18, 2014 07:44
d830a3a to
90b5cb7
Compare
Obtained via:
`find . -maxdepth 1 -type f -print0 | xargs -0 sed -z -i "s/\\nimpl Reflectable for[^{]*{[^}]*}[^}]*}\\n//"`
`find . -maxdepth 1 -type f -print0 |xargs -0 grep -lZ dom_struct | xargs -0 grep -LZ "reflector()\\|Reflector::new" |xargs -0 sed -z -i "s/use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object};/use dom::bindings::utils::reflect_dom_object;/"`
followed by semi-automated removal of leftover imports
Manishearth
force-pushed
the
a-more-dom-struct
branch
from
December 26, 2014 21:23
0213808 to
4ed4e41
Compare
Command: `find . -maxdepth 1 -type f -print0 | xargs -0 sed -z -i "s/}\\n\\n\\n/}\\n\\n/"`
bors-servo
pushed a commit
that referenced
this pull request
Dec 26, 2014
Now `#[dom_struct]` also generates Reflectable impls, and there's another lint to ensure that a DOM struct only contains one bare DOM field (as the first field) or a Reflector. A lot of this was generated by sed -- each autogenerated change has its own commit for easy review; these will be squashed later.
Manishearth
force-pushed
the
a-more-dom-struct
branch
from
December 26, 2014 21:37
4ed4e41 to
738222d
Compare
bors-servo
pushed a commit
that referenced
this pull request
Dec 26, 2014
Now `#[dom_struct]` also generates Reflectable impls, and there's another lint to ensure that a DOM struct only contains one bare DOM field (as the first field) or a Reflector. A lot of this was generated by sed -- each autogenerated change has its own commit for easy review; these will be squashed later.
Manishearth
force-pushed
the
a-more-dom-struct
branch
2 times, most recently
from
December 26, 2014 21:58
6f3ac1f to
50c246b
Compare
bors-servo
pushed a commit
that referenced
this pull request
Dec 28, 2014
Now `#[dom_struct]` also generates Reflectable impls, and there's another lint to ensure that a DOM struct only contains one bare DOM field (as the first field) or a Reflector. A lot of this was generated by sed -- each autogenerated change has its own commit for easy review; these will be squashed later.
bors-servo
pushed a commit
that referenced
this pull request
Dec 28, 2014
Now `#[dom_struct]` also generates Reflectable impls, and there's another lint to ensure that a DOM struct only contains one bare DOM field (as the first field) or a Reflector. A lot of this was generated by sed -- each autogenerated change has its own commit for easy review; these will be squashed later.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Now
#[dom_struct]also generates Reflectable impls, and there's another lint to ensure that a DOM struct only contains one bare DOM field (as the first field) or a Reflector.A lot of this was generated by sed -- each autogenerated change has its own commit for easy review; these will be squashed later.