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

Rule tree, v1 #13202

Merged
merged 4 commits into from Nov 5, 2016
Merged

Rule tree, v1 #13202

merged 4 commits into from Nov 5, 2016

Conversation

@emilio
Copy link
Member

emilio commented Sep 8, 2016


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • There are tests for these changes OR

This patch introduces infrastructure for the rule tree, and constructs it.

We don't use it yet, nor have good heuristics for GC'ing it, but this should not
happen anymore once we store the rule node reference in the node.

I haven't messed up with memory orders because I want to do a try run with it,
then mess with them.


This change is Reviewable

@highfive
Copy link

highfive commented Sep 8, 2016

Heads up! This PR modifies the following files:

  • @bholley: components/style/lib.rs, components/style/parallel.rs, components/style/values/specified/mod.rs, components/style/selector_matching.rs, components/style/properties/properties.mako.rs, components/style/data.rs, components/style/thread_state.rs, components/style/rule_tree/mod.rs, components/style/animation.rs, components/style/matching.rs
  • @KiChjang: components/script_layout_interface/wrapper_traits.rs
@highfive
Copy link

highfive commented Sep 8, 2016

warning Warning warning

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

emilio commented Sep 8, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Sep 8, 2016

Trying commit f1f6891 with merge dfd58bf...

bors-servo added a commit that referenced this pull request Sep 8, 2016
[WIP] Rule tree, v1

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

<!-- Either: -->
- [x] There are tests for these changes OR

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

This patch introduces infrastructure for the rule tree, and constructs it.

We don't use it yet, nor have good heuristics for GC'ing it, but this should not
happen anymore once we store the rule node reference in the node.

I haven't messed up with memory orders because I want to do a try run with it,
then mess with them.
@bors-servo
Copy link
Contributor

bors-servo commented Sep 8, 2016

💔 Test failed - linux-dev

mixed_declarations: declarations.clone(),
importance: Importance::Normal,
source_order: 0,
specificity: ::std::u32::MAX,

This comment has been minimized.

@SimonSapin

SimonSapin Sep 8, 2016

Member

Isn’t max specificity here important?

This comment has been minimized.

@emilio

emilio Sep 9, 2016

Author Member

I don't think so, we only pass it to cascade, that doesn't use it at all.

@bors-servo
Copy link
Contributor

bors-servo commented Sep 9, 2016

The latest upstream changes (presumably #13205) made this pull request unmergeable. Please resolve the merge conflicts.

@emilio emilio force-pushed the emilio:rule-tree branch from f1f6891 to 7464e25 Sep 9, 2016
@highfive highfive removed the S-tests-failed label Sep 9, 2016
@emilio emilio force-pushed the emilio:rule-tree branch 3 times, most recently from 0dd92a6 to d333633 Sep 9, 2016
@emilio
Copy link
Member Author

emilio commented Sep 9, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Sep 9, 2016

Trying commit d333633 with merge e3c3d7d...

bors-servo added a commit that referenced this pull request Sep 9, 2016
[WIP] Rule tree, v1

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

<!-- Either: -->
- [x] There are tests for these changes OR

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

This patch introduces infrastructure for the rule tree, and constructs it.

We don't use it yet, nor have good heuristics for GC'ing it, but this should not
happen anymore once we store the rule node reference in the node.

I haven't messed up with memory orders because I want to do a try run with it,
then mess with them.

<!-- 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/13202)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Sep 9, 2016

💔 Test failed - linux-rel

@highfive
Copy link

highfive commented Sep 9, 2016

  ▶ FAIL [expected PASS] /_mozilla/css/setpropertypriority.html
  └   → /_mozilla/css/setpropertypriority.html 059350c3fab2914549d382466f600fa6be9e9599
/_mozilla/css/setpropertypriority_ref.html f565a85a358e1e10906e0a87eb234acff04e9bfb
Testing 059350c3fab2914549d382466f600fa6be9e9599 == f565a85a358e1e10906e0a87eb234acff04e9bfb
@emilio emilio force-pushed the emilio:rule-tree branch from d333633 to f2251d4 Sep 9, 2016
@highfive highfive removed the S-tests-failed label Sep 9, 2016
@emilio
Copy link
Member Author

emilio commented Sep 9, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Sep 9, 2016

Trying commit f2251d4 with merge 8992c37...

bors-servo added a commit that referenced this pull request Sep 9, 2016
[WIP] Rule tree, v1

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

<!-- Either: -->
- [x] There are tests for these changes OR

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

This patch introduces infrastructure for the rule tree, and constructs it.

We don't use it yet, nor have good heuristics for GC'ing it, but this should not
happen anymore once we store the rule node reference in the node.

I haven't messed up with memory orders because I want to do a try run with it,
then mess with them.

<!-- 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/13202)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Sep 9, 2016

💔 Test failed - mac-rel-wpt

@bors-servo
Copy link
Contributor

bors-servo commented Nov 5, 2016

📌 Commit 1a18161 has been approved by SimonSapin,Manishearth,emilio

@notriddle
Copy link
Contributor

notriddle commented Nov 5, 2016

http://build.servo.org/homu/queue/servo says it's pending. GitHub says it's trying.

@bors-servo
Copy link
Contributor

bors-servo commented Nov 5, 2016

💔 Test failed - mac-rel-wpt2

@highfive
Copy link

highfive commented Nov 5, 2016

  ▶ TIMEOUT [expected CRASH] /_mozilla/mozilla/sigsegv.html
  │ 
  │ VMware, Inc.
  │ Gallium 0.4 on softpipe
  └ 3.3 (Core Profile) Mesa 12.0.1
@SimonSapin
Copy link
Member

SimonSapin commented Nov 5, 2016

@SimonSapin
Copy link
Member

SimonSapin commented Nov 5, 2016

@bors-servo retry force

Trying to get the queue unstuck, http://build.servo.org/waterfall is showing no activity.

@bors-servo
Copy link
Contributor

bors-servo commented Nov 5, 2016

Testing commit 1a18161 with merge 151fb7e...

bors-servo added a commit that referenced this pull request Nov 5, 2016
Rule tree, v1

<!-- Please describe your changes on the following line: -->
---

<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

<!-- Either: -->
- [x] There are tests for these changes OR

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

This patch introduces infrastructure for the rule tree, and constructs it.

We don't use it yet, nor have good heuristics for GC'ing it, but this should not
happen anymore once we store the rule node reference in the node.

I haven't messed up with memory orders because I want to do a try run with it,
then mess with them.

<!-- 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/13202)

<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Nov 5, 2016

💔 Test failed - mac-rel-wpt2

@highfive
Copy link

highfive commented Nov 5, 2016

  ▶ TIMEOUT [expected CRASH] /_mozilla/mozilla/sigsegv.html
  │ 
  │ VMware, Inc.
  │ Gallium 0.4 on softpipe
  └ 3.3 (Core Profile) Mesa 12.0.1
@emilio
Copy link
Member Author

emilio commented Nov 5, 2016

@bors-servo retry

#14067
@bors-servo
Copy link
Contributor

bors-servo commented Nov 5, 2016

Previous build results for arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css, mac-rel-wpt1, windows-dev are reusable. Rebuilding only mac-rel-wpt2...

@bors-servo
Copy link
Contributor

bors-servo commented Nov 5, 2016

The build was interrupted to prioritize another pull request.

@bors-servo
Copy link
Contributor

bors-servo commented Nov 5, 2016

Testing commit 1a18161 with merge ac04759...

bors-servo added a commit that referenced this pull request Nov 5, 2016
Rule tree, v1

<!-- Please describe your changes on the following line: -->
---

<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

<!-- Either: -->
- [x] There are tests for these changes OR

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

This patch introduces infrastructure for the rule tree, and constructs it.

We don't use it yet, nor have good heuristics for GC'ing it, but this should not
happen anymore once we store the rule node reference in the node.

I haven't messed up with memory orders because I want to do a try run with it,
then mess with them.

<!-- 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/13202)

<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Nov 5, 2016

@bors-servo bors-servo merged commit 1a18161 into servo:master Nov 5, 2016
2 of 3 checks passed
2 of 3 checks passed
continuous-integration/appveyor/pr AppVeyor build failed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@emilio emilio deleted the emilio:rule-tree branch Nov 6, 2016
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

You can’t perform that action at this time.