Closed
Bug 1496486
Opened 7 years ago
Closed 7 years ago
Remove a lot of nsCSSValue usage.
Categories
(Core :: CSS Parsing and Computation, enhancement)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla64
Tracking | Status | |
---|---|---|
firefox64 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
(Blocks 1 open bug)
Details
Attachments
(6 files, 1 obsolete file)
46 bytes,
text/x-phabricator-request
|
Details | Review | |
46 bytes,
text/x-phabricator-request
|
Details | Review | |
46 bytes,
text/x-phabricator-request
|
Details | Review | |
46 bytes,
text/x-phabricator-request
|
Details | Review | |
46 bytes,
text/x-phabricator-request
|
Details | Review | |
2.33 KB,
patch
|
froydnj
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•7 years ago
|
||
Assignee | ||
Comment 2•7 years ago
|
||
This needs a cssparser update which I already landed on inbound, to
include https://github.com/servo/rust-cssparser/pull/228.
Really sorry for the size of the patch.
Assignee | ||
Comment 3•7 years ago
|
||
It's unused.
Assignee | ||
Comment 4•7 years ago
|
||
Assignee | ||
Comment 5•7 years ago
|
||
This will actually be a proper version bump with the updated configure
check and such once that PR (https://github.com/eqrion/cbindgen/pull/213) is in
a release. I don't plan to land these changes before that.
Assignee | ||
Comment 6•7 years ago
|
||
We can't remove the defaulted constructors because we use them in
FindMatchingFontFaces.
Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/autoland/rev/ab92ed3e0a23
Remove a bunch of unused nsCSSValue code. r=heycam
https://hg.mozilla.org/integration/autoland/rev/86382b2249f6
Remove nsCSSValue usage from font code. r=heycam
https://hg.mozilla.org/integration/autoland/rev/8e465202c355
Remove GridTemplateAreas stuff from nsCSSValue. r=heycam
https://hg.mozilla.org/integration/autoland/rev/5cf44e254ac3
Remove some more leftover code. r=heycam
https://hg.mozilla.org/integration/autoland/rev/6b740afea403
Bump cbindgen. r=heycam
Comment 9•7 years ago
|
||
Backed out 5 changesets (Bug 1496486) for build bustages on gfxUserFontSet.h.
Backout: https://hg.mozilla.org/integration/autoland/rev/be1729663405c3f81c34ef5008cda8893d32e04e
Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=pending,running,success,testfailed,busted,exception&selectedJob=204233309&revision=6b740afea4037c8d83d8ff3329a0c72689f13867
Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=204233309&repo=autoland&lineNumber=33074
Flags: needinfo?(emilio)
Comment 10•7 years ago
|
||
There were also bustages on FontFaceSet.cpp
Log link: https://treeherder.mozilla.org/logviewer.html#?job_id=204234332&repo=autoland&lineNumber=26438
Assignee | ||
Comment 11•7 years ago
|
||
Wow, somehow managed to break all builds but linux64, which is what I pushed with...
There's a mixture of:
* Old libclang causing bindgen issues.
* Missing include in gfxUserFontSet.h
* Some compiler seems unhappy about doing switch on an enum class, and it doesn't consider it exhaustive enough... I'll add a MOZ_ASSERT_UNREACHABLE or something.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=7193661b37b069c36b19dd518d8238c8d5856088
Should be enough to fix it.
Comment 12•7 years ago
|
||
Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/autoland/rev/e8d8e2f3f00b
Remove a bunch of unused nsCSSValue code. r=heycam
https://hg.mozilla.org/integration/autoland/rev/4dd15fa31474
Remove nsCSSValue usage from font code. r=heycam
https://hg.mozilla.org/integration/autoland/rev/2f629a60f12c
Remove GridTemplateAreas stuff from nsCSSValue. r=heycam
https://hg.mozilla.org/integration/autoland/rev/7f843f4ee162
Remove some more leftover code. r=heycam
https://hg.mozilla.org/integration/autoland/rev/d2f1e35ee4b7
Bump cbindgen. r=heycam
Assignee | ||
Updated•7 years ago
|
Flags: needinfo?(emilio)
Comment 13•7 years ago
|
||
Backed out for valgrind bustages
Log link: https://treeherder.mozilla.org/logviewer.html#?job_id=204250739&repo=autoland&lineNumber=43395
Flags: needinfo?(emilio)
Comment 14•7 years ago
|
||
Backout by nbeleuzu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/35f51b769efe
Backed out 5 changesets for valgrind bustages. CLOSED TREE
Assignee | ||
Comment 15•7 years ago
|
||
I rewrote the computed value implementation to avoid allocating and this tricked
Valgrind.
There's nothing uninitialized or unsafe from the code in:
https://hg.mozilla.org/integration/autoland/rev/4dd15fa31474#l28.68
Flags: needinfo?(emilio)
Attachment #9015602 -
Flags: review?(nfroyd)
Attachment #9015602 -
Flags: review?(jseward)
![]() |
||
Updated•7 years ago
|
Attachment #9015602 -
Flags: review?(nfroyd)
Attachment #9015602 -
Flags: review?(jseward)
Attachment #9015602 -
Flags: review+
Comment 16•7 years ago
|
||
Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/autoland/rev/02e58f0b7d60
Remove a bunch of unused nsCSSValue code. r=heycam
https://hg.mozilla.org/integration/autoland/rev/473ff44d5f12
Remove nsCSSValue usage from font code. r=heycam
https://hg.mozilla.org/integration/autoland/rev/9ac1296e4cc0
Remove GridTemplateAreas stuff from nsCSSValue. r=heycam
https://hg.mozilla.org/integration/autoland/rev/5febc1595fd4
Remove some more leftover code. r=heycam
https://hg.mozilla.org/integration/autoland/rev/836472045b3b
Bump cbindgen. r=heycam
https://hg.mozilla.org/integration/autoland/rev/8ecaee03d38e
Valgrind suppression. rs=froydnj
Comment 17•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/02e58f0b7d60
https://hg.mozilla.org/mozilla-central/rev/473ff44d5f12
https://hg.mozilla.org/mozilla-central/rev/9ac1296e4cc0
https://hg.mozilla.org/mozilla-central/rev/5febc1595fd4
https://hg.mozilla.org/mozilla-central/rev/836472045b3b
https://hg.mozilla.org/mozilla-central/rev/8ecaee03d38e
Assignee | ||
Comment 18•7 years ago
|
||
Per discussion with jwatt I'll move the last patch to bug 1498571.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Attachment #9014489 -
Attachment is obsolete: true
Updated•7 years ago
|
Keywords: leave-open
Updated•7 years ago
|
status-firefox64:
--- → fixed
Target Milestone: --- → mozilla64
You need to log in
before you can comment on or make changes to this bug.
Description
•