Skip to content

Allow deriving Parse on keywords. - #19578

Merged
bors-servo merged 4 commits into
servo:masterfrom
emilio:parse-keyword
Dec 15, 2017
Merged

bors-servo merged 4 commits into
servo:masterfrom
emilio:parse-keyword

Conversation

@emilio

@emilio emilio commented Dec 15, 2017 •

Copy link
Copy Markdown
Member

This makes patches like #19576 much easier.


This change is Reviewable

@highfive

Copy link
Copy Markdown

Heads up! This PR modifies the following files:

  • @bholley: components/style/parser.rs, components/style/values/specified/background.rs, components/style/values/specified/position.rs
  • @canaltinova: components/style/parser.rs, components/style/values/specified/background.rs, components/style/values/specified/position.rs

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Dec 15, 2017
@highfive

Copy link
Copy Markdown

warning Warning warning

  • These commits modify style code, but no tests are modified. Please consider adding a test!

@emilio

emilio commented Dec 15, 2017

Copy link
Copy Markdown
Member Author

r? @Manishearth or @nox

@highfive highfive assigned Manishearth and unassigned pcwalton Dec 15, 2017
@emilio

emilio commented Dec 15, 2017

Copy link
Copy Markdown
Member Author

(or anyone else)

@Manishearth

Copy link
Copy Markdown
Member

✨ ✨ ✨ ✨ ✨ ✨ ✨ ✨ 💯💯 💯 💯 💯 💯 💯 💯 💯 💯 ✨ ✨ ✨ ✨ ✨ ✨ ✨ ✨

@emilio

emilio commented Dec 15, 2017

Copy link
Copy Markdown
Member Author

✨ ✨ ✨ ✨ ✨ ✨ ✨ ✨ 💯💯 💯 💯 💯 💯 💯 💯 💯 💯 ✨ ✨ ✨ ✨ ✨ ✨ ✨ ✨

Does this mean r=Manish? :P

@Manishearth

Copy link
Copy Markdown
Member

lol no it means I haven't reviewed it yet (doing so)

feel free to land with r=✨ and break all the tools that deal with m-c commits written in Python 2.

@Manishearth Manishearth reopened this Dec 15, 2017
@Manishearth

Copy link
Copy Markdown
Member

dammit wrong button

@emilio

emilio commented Dec 15, 2017 via email

Copy link
Copy Markdown
Member Author

@Manishearth Manishearth left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+

* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#![recursion_limit = "128"]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh no

@emilio

emilio commented Dec 15, 2017

Copy link
Copy Markdown
Member Author

@bors-servo r=Manishearth

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 8fbdbc8 has been approved by Manishearth

@highfive highfive 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 Dec 15, 2017
Comment thread components/style_derive/cg.rs Outdated
while let Some(segment) = split_camel_segment(&mut camel_case) {
if first {
match segment {
"Moz" | "Webkit" => first = false,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should also add "Servo" here.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just moving code around, but yeah, you're right.

@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Dec 15, 2017
@emilio

emilio commented Dec 15, 2017

Copy link
Copy Markdown
Member Author

@bors-servo r=Manishearth,canaltinova

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 5b8f651 has been approved by Manishearth,canaltinova

@emilio

emilio commented Dec 15, 2017

Copy link
Copy Markdown
Member Author

@bors-servo p=1

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 5b8f651 with merge e631d16...

bors-servo pushed a commit that referenced this pull request Dec 15, 2017
Allow deriving Parse on keywords.

This makes patches like #19576 much easier.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19578)
<!-- Reviewable:end -->
@highfive highfive 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 Dec 15, 2017
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css1, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, windows-msvc-dev
Approved by: Manishearth,canaltinova
Pushing e631d16 to master...

@bors-servo
bors-servo merged commit 5b8f651 into servo:master Dec 15, 2017
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Dec 15, 2017
@bors-servo bors-servo mentioned this pull request Dec 15, 2017
3 of 5 tasks
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.

6 participants