Skip to content

Generate all Derived implementations in codegen - #8020

Merged
bors-servo merged 2 commits into
servo:masterfrom
nox:codegen-derived
Oct 15, 2015
Merged

bors-servo merged 2 commits into
servo:masterfrom
nox:codegen-derived

Conversation

@nox

@nox nox commented Oct 14, 2015

Copy link
Copy Markdown
Contributor

Follow-up of #7873.

@Ms2ger r? :)

Review on Reviewable

@nox nox added A-content/dom Interacting with the DOM from web content A-content/bindings The DOM bindings labels Oct 14, 2015
@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Oct 14, 2015
@nox

nox commented Oct 15, 2015

Copy link
Copy Markdown
Contributor Author

@bors-servo p=1

@Ms2ger

Ms2ger commented Oct 15, 2015

Copy link
Copy Markdown
Contributor

-S-awaiting-review +S-needs-code-changes


Reviewed 93 of 93 files at r1, 78 of 78 files at r2.
Review status: all files reviewed at latest revision, 2 unresolved discussions, all commit checks successful.


components/script/dom/element.rs, line 122 [r2] (raw file):
This would probably need allow(unrooted_must_root) if that lint worked.


components/script/dom/htmlelement.rs, line 55 [r2] (raw file):
Or whitelist it in unrooted_must_root.rs if there's a lot of those.


Comments from the review on Reviewable.io

@Ms2ger Ms2ger added S-needs-code-changes Changes have not yet been made that were requested by a reviewer. and removed S-awaiting-review There is new code that needs to be reviewed. labels Oct 15, 2015
Given codegen now generates the various TypeId enums, it seems pointless to
still have to write their respective values in every DOM struct inheriting from
Node just to set the initial IS_IN_DOC flag in Document and IN_ENABLED_STATE in
form controls.
@nox
nox force-pushed the codegen-derived branch from f21c392 to 7d6ea83 Compare October 15, 2015 15:30
@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-needs-code-changes Changes have not yet been made that were requested by a reviewer. labels Oct 15, 2015
@nox

nox commented Oct 15, 2015

Copy link
Copy Markdown
Contributor Author

@Ms2ger Whitelisted all new_* functions.

@Ms2ger

Ms2ger commented Oct 15, 2015

Copy link
Copy Markdown
Contributor

-S-awaiting-review +S-awaiting-merge
@bors-servo r+


Reviewed 1 of 1 files at r3.
Review status: all files reviewed at latest revision, 2 unresolved discussions, some commit checks pending.


Comments from the review on Reviewable.io

@Ms2ger Ms2ger added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Oct 15, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 7d6ea83 has been approved by Ms2ger

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 7d6ea83 with merge 417cf57...

bors-servo pushed a commit that referenced this pull request Oct 15, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-content/bindings The DOM bindings A-content/dom Interacting with the DOM from web content S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants