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

Allow deriving Parse on keywords. #19578

Merged
merged 4 commits into from Dec 15, 2017
Merged

Allow deriving Parse on keywords. #19578

merged 4 commits into from Dec 15, 2017

Conversation

@emilio
Copy link
Member

emilio commented Dec 15, 2017

This makes patches like #19576 much easier.


This change is Reviewable

@highfive
Copy link

highfive commented Dec 15, 2017

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
Copy link

highfive commented Dec 15, 2017

warning Warning warning

  • These commits modify style code, but no tests are modified. Please consider adding a test!
emilio added 2 commits Dec 15, 2017
@emilio emilio force-pushed the emilio:parse-keyword branch from 869354a to 8fbdbc8 Dec 15, 2017
@emilio
Copy link
Member Author

emilio commented Dec 15, 2017

@highfive highfive assigned Manishearth and unassigned pcwalton Dec 15, 2017
@emilio
Copy link
Member Author

emilio commented Dec 15, 2017

(or anyone else)

@emilio emilio mentioned this pull request Dec 15, 2017
2 of 2 tasks complete
@Manishearth
Copy link
Member

Manishearth commented Dec 15, 2017

💯💯 💯 💯 💯 💯 💯 💯 💯 💯

@emilio
Copy link
Member Author

emilio commented Dec 15, 2017

💯💯 💯 💯 💯 💯 💯 💯 💯 💯

Does this mean r=Manish? :P

@Manishearth
Copy link
Member

Manishearth commented Dec 15, 2017

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
Member

Manishearth commented Dec 15, 2017

dammit wrong button

@emilio
Copy link
Member Author

emilio commented Dec 15, 2017

Copy link
Member

Manishearth left a comment

r+

@@ -2,6 +2,8 @@
* 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"]

This comment has been minimized.

Copy link
@Manishearth
@emilio
Copy link
Member Author

emilio commented Dec 15, 2017

@bors-servo r=Manishearth

@bors-servo
Copy link
Contributor

bors-servo commented Dec 15, 2017

📌 Commit 8fbdbc8 has been approved by Manishearth

while let Some(segment) = split_camel_segment(&mut camel_case) {
if first {
match segment {
"Moz" | "Webkit" => first = false,

This comment has been minimized.

Copy link
@canova

canova Dec 15, 2017

Member

We should also add "Servo" here.

This comment has been minimized.

Copy link
@emilio

emilio Dec 15, 2017

Author Member

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

@emilio
Copy link
Member Author

emilio commented Dec 15, 2017

@bors-servo r=Manishearth,canaltinova

@bors-servo
Copy link
Contributor

bors-servo commented Dec 15, 2017

📌 Commit 5b8f651 has been approved by Manishearth,canaltinova

@emilio
Copy link
Member Author

emilio commented Dec 15, 2017

@bors-servo
Copy link
Contributor

bors-servo commented Dec 15, 2017

Testing commit 5b8f651 with merge e631d16...

bors-servo added 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 -->
@bors-servo
Copy link
Contributor

bors-servo commented Dec 15, 2017

☀️ 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
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@bors-servo bors-servo mentioned this pull request Dec 15, 2017
3 of 5 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

6 participants
You can’t perform that action at this time.