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

Add a script to list all CSS properties parsed by Servo. #9333

Merged
merged 2 commits into from Jan 15, 2016
Merged

Conversation

@SimonSapin
Copy link
Member

SimonSapin commented Jan 15, 2016

I’ve been asked for that list by two different people this week :)

r? @larsbergstrom

Review on Reviewable

@highfive
Copy link

highfive commented Jan 15, 2016

Heads up! This PR modifies the following files:

  • @bholley: components/style/list_properties.py
@highfive
Copy link

highfive commented Jan 15, 2016

warning Warning warning

  • These commits modify style code, but no tests are modified. Please consider adding a test!
@SimonSapin
Copy link
Member Author

SimonSapin commented Jan 15, 2016

@larsbergstrom could we run this on CI and publish the output somewhere?

@nox
Copy link
Member

nox commented Jan 15, 2016

Could that be a mach command?

@SimonSapin
Copy link
Member Author

SimonSapin commented Jan 15, 2016

Command that prints the list, or runs the smoke test?

@nox
Copy link
Member

nox commented Jan 15, 2016

That prints the list.

@SimonSapin
Copy link
Member Author

SimonSapin commented Jan 15, 2016

It didn’t seem worth the bother since I don’t expect people to use it interactively (as opposed to a script that maintains some other data), but it could.

@larsbergstrom
Copy link
Contributor

larsbergstrom commented Jan 15, 2016

@larsbergstrom
Copy link
Contributor

larsbergstrom commented Jan 15, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Jan 15, 2016

📌 Commit 9d29c3d has been approved by larsbergstrom

@bors-servo
Copy link
Contributor

bors-servo commented Jan 15, 2016

Testing commit 9d29c3d with merge c705e8e...

bors-servo added a commit that referenced this pull request Jan 15, 2016
Add a script to list all CSS properties parsed by Servo.

I’ve been asked for that list by two different people this week :)

r? @larsbergstrom

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9333)
<!-- Reviewable:end -->
@larsbergstrom
Copy link
Contributor

larsbergstrom commented Jan 15, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Jan 15, 2016

📌 Commit 0d4330f has been approved by larsbergstrom


template = Template(filename=os.path.join(style, "properties.mako.rs"), input_encoding='utf8')
template.render()
properties = dict(

This comment has been minimized.

This comment has been minimized.

@SimonSapin

SimonSapin Jan 15, 2016

Author Member

Yes, old habits of writing code that runs on 2.6 :)

@bors-servo
Copy link
Contributor

bors-servo commented Jan 15, 2016

Testing commit 0d4330f with merge b0de61d...

bors-servo added a commit that referenced this pull request Jan 15, 2016
Add a script to list all CSS properties parsed by Servo.

I’ve been asked for that list by two different people this week :)

r? @larsbergstrom

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9333)
<!-- Reviewable:end -->
@SimonSapin SimonSapin force-pushed the list-properties branch from 0d4330f to 2222f34 Jan 15, 2016
@SimonSapin
Copy link
Member Author

SimonSapin commented Jan 15, 2016

Oops tidy.

@bors-servo r=larsbergstrom

@bors-servo
Copy link
Contributor

bors-servo commented Jan 15, 2016

📌 Commit 2222f34 has been approved by larsbergstrom

@bors-servo
Copy link
Contributor

bors-servo commented Jan 15, 2016

Testing commit 2222f34 with merge 157b366...

bors-servo added a commit that referenced this pull request Jan 15, 2016
Add a script to list all CSS properties parsed by Servo.

I’ve been asked for that list by two different people this week :)

r? @larsbergstrom

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9333)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Jan 15, 2016

💔 Test failed - mac-rel-css

@KiChjang
Copy link
Member

KiChjang commented Jan 15, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Jan 15, 2016

Testing commit 2222f34 with merge dba1f27...

bors-servo added a commit that referenced this pull request Jan 15, 2016
Add a script to list all CSS properties parsed by Servo.

I’ve been asked for that list by two different people this week :)

r? @larsbergstrom

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9333)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Jan 15, 2016

💔 Test failed - linux-rel

@KiChjang
Copy link
Member

KiChjang commented Jan 15, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Jan 15, 2016

Previous build results for android, gonk, linux-dev, mac-dev-unit, mac-rel-css are reusable. Rebuilding only linux-rel, mac-rel-wpt...

@bors-servo
Copy link
Contributor

bors-servo commented Jan 15, 2016

@bors-servo bors-servo merged commit 2222f34 into master Jan 15, 2016
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@SimonSapin SimonSapin deleted the list-properties branch Jan 16, 2016
@SimonSapin
Copy link
Member Author

SimonSapin commented Jan 16, 2016

@LifeIsStrange that spreadsheet has to be maintained manually. The point of this script is that its output is always up to date.

@LifeIsStrange
Copy link

LifeIsStrange commented Jan 17, 2016

Oh sorry, I had misunderstood !

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

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