Manish Goregaokar
e965b4e345
stylo: Add ServoBundledURI abstraction for use when setting css::URLValues
...
MozReview-Commit-ID: 4QKKzJ1DVYP
2017-02-18 02:42:47 -08:00
Emilio Cobos Álvarez
91e0ae2fe7
Bindgenup
...
Major pain point is that I had to write the bitfield stuff manually, but that
should be resolved soon again.
Now we generate proper layout for _every_ struct, including field offsets \o/.
2017-02-16 06:12:13 +01:00
Boris Chiou
c7dc3e4008
Bug 1335942 - Part 1: Introduce mozilla::AnimationValue. r=manishearth
...
Use AnimationValue to wrap StyleAnimationValue and RawServoAnimationValue.
2017-02-08 12:32:09 +08:00
Emilio Cobos Álvarez
79d9e2bd51
BindgenUp
2017-02-03 21:31:55 +01:00
Bobby Holley
ae88d22399
Update bindings.
2017-02-02 14:32:22 -08:00
Hiroyuki Ikezoe
b7d7ec233b
Update bindgen.
...
MozReview-Commit-ID: FDASu6yG306
2017-01-29 09:07:41 +09:00
Cameron McCormack
2f39b49e22
Regenerate bindings and tweak some geckolib code for it.
2017-01-26 17:32:08 +08:00
bors-servo
e4a1cb6f87
Auto merge of #15175 - BorisChiou:animation/interpolate_and_cascade, r=heycam
...
Interpolate servo animation values and add them to the cascade
These are the servo-side changes for [bug 1317209](https://bugzilla.mozilla.org/show_bug.cgi?id=1317209 ). @Manishearth, @emilio, and @heycam have already reviewed them there. Please merge these patches until the gecko-side changes for [bug 1317209](https://bugzilla.mozilla.org/show_bug.cgi?id=1317209 ) is landed.
---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix [bug 1317209](https://bugzilla.mozilla.org/show_bug.cgi?id=1317209 ).
- [X] These changes do not require tests because there are existing tests for this in mozilla-central
<!-- 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/15175 )
<!-- Reviewable:end -->
2017-01-25 23:36:33 -08:00
Emilio Cobos Álvarez
ec19f7c7cc
Regenerate in-tree bindings.
...
MozReview-Commit-ID: 4mnAh9y7SY4
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-01-25 10:42:45 +01:00
Boris Chiou
19aea7ea78
Bug 1317209 - Part 5: Support transition cascade level. r=emilio
...
Support a new enum, EffectCompositor_CascadeLevel, which is an equivalent of
EffectCompositor::CascadeLevel in Gecko.
2017-01-24 18:44:07 +08:00
Boris Chiou
4f0791a94b
Bug 1317209 - Part 1: Implement uncompute FFI. r=manishearth
2017-01-24 15:47:35 +08:00
Manish Goregaokar
9c69b3d0a5
Regen bindings
2017-01-21 16:54:17 -08:00
Emilio Cobos Álvarez
182e0758f7
Regenerate bindings.
...
MozReview-Commit-ID: 4XEaLnhGSqT
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-01-18 14:39:26 +01:00
Emilio Cobos Álvarez
646258e5a0
Bug 1331213: Don't make the pres context pointers opaque. r=heycam
...
I don't know why they were that way, but it makes no sense and tests still pass.
MozReview-Commit-ID: HAIuQhqlTtF
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-01-17 14:18:51 +01:00
Emilio Cobos Álvarez
5b5243b8af
Bug 1331213: Bootstrap a Gecko-side Device, and track it's dirtiness manually in the per-doc data. r=heycam
...
The setup is quite different to Servo-land, so add a comment about the different
setup.
Also, check viewport rules when flushing stylesheets. I believe that the
previous behavior is plain wrong, though I haven't taken the time to come up
with a test case.
In any case, it doesn't hurt any of both back-ends.
MozReview-Commit-ID: 46gtTkesOsr
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-01-17 14:05:23 +01:00
Cameron McCormack
6ca0c10e79
stylo: Regenerate bindings.
2017-01-16 16:22:55 +08:00
Manish Goregaokar
296b468801
stylo: Expose property-pref mappings
...
MozReview-Commit-ID: 7evWOUFwa3K
2017-01-13 14:22:04 -08:00
Manish Goregaokar
d87b710fdd
stylo: Store servo computed values for animation properties
...
MozReview-Commit-ID: IoQLN5tdIBw
2017-01-11 15:24:53 -08:00
Bobby Holley
3fcfc9c5fc
Bug 1325734 - Simplify ElementData and eliminate the concept of consuming styles. r=emilio
2017-01-09 11:51:37 -08:00
Cameron McCormack
252766b76b
stylo: Regenerate bindings.
2017-01-09 11:12:21 +08:00
Cameron McCormack
8f1f94d42b
stylo: Regenerate bindings.
2017-01-07 09:46:34 +08:00
Xidorn Quan
fa27ac0544
Add function to convert NonTSPseudoClass to CSSPseudoClassType
2017-01-06 21:25:45 +11:00
Boris Zbarsky
8908743719
Bug 1298588 part 2, servo piece. Pass through an nsPresContext to the PerDocumentStyleData constructor. r=bholley
2017-01-04 14:42:15 -05:00
Cameron McCormack
8d6c3e0bdf
stylo: Regenerate bindings.
2017-01-03 19:09:18 +08:00
Cameron McCormack
c15df6777e
stylo: Regenerate bindings.
2017-01-02 11:19:11 +08:00
Xidorn Quan
7d59e3bd93
Update helper functions of StyleComplexColor
2017-01-01 11:51:50 +11:00
Emilio Cobos Álvarez
a5f5e48c68
Bug 1304792: stylo: Implement @import. r=heycam
...
MozReview-Commit-ID: Hw1V66JxIBD
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2016-12-30 13:00:44 +01:00
Cameron McCormack
720942f792
Regenerate bindings.
2016-12-27 11:17:42 +08:00
Emilio Cobos Álvarez
bf53447b9c
stylo: Regen bindings.
2016-12-25 01:41:21 +01:00
Manish Goregaokar
211682ab49
Regen bindings
2016-12-22 23:26:21 -08:00
Cameron McCormack
2f81e8dfc9
Regenerate bindings.
2016-12-22 10:06:01 +08:00
Xidorn Quan
6a05615e67
Remove special case for nsCSSPropertyID
2016-12-21 18:15:18 +11:00
Cameron McCormack
45125c6da2
Regenerate bindings.
2016-12-14 10:59:27 +08:00
Cameron McCormack
444570db0f
Regenerate bindings.
2016-12-13 13:55:22 +08:00
Bobby Holley
3a56954069
Bug 1322945 - Change skip_root to unstyled_children_only and use StyleNewChildren in more places. r=heycam
...
I noticed that our current behavior in ContentRangeInserted is incorrect. Unlike
ContentInserted (where this code lived originally), ContentRangeInserted takes a
start and end element. I'm not sure if we ever take that path for new content that
needs style, but it seemed sketchy. And generally, it seems nice to just always
style new content the same way (though we still need to style NAC by the subtree
root, since it hasn't been attached to the parent yet).
For situations where there is indeed only one unstyled child, the traversal
overhead should be neglible, since we special-case the single-element in
parallel.rs to avoid calling into rayon.
Being more explicit about what we want here also makes us more robust against
the other handful of callpaths that can take us into
nsCSSFrameConstructor::{ContentRangeInserted,ContentAppended}. Currently we
can call StyleNewSubtree on an already-styled element via RecreateFramesForContent,
which triggers an assertion in the servo traversal.
MozReview-Commit-ID: DqCGh90deHH
2016-12-12 18:50:33 -08:00
Cameron McCormack
3d881f3622
Regenerate bindings.
2016-12-08 00:29:55 -10:00
Emilio Cobos Álvarez
e09bc36347
stylo: Update bindings with servo/rust-bindgen#325
2016-12-08 00:27:32 -10:00
Emilio Cobos Álvarez
5832507e56
stylo: Whitelist some stuff to work-around bindgen generating too many tests.
2016-12-08 00:27:32 -10:00
Emilio Cobos Álvarez
f7d64c66da
stylo: Regenerate bindings.
2016-12-08 00:27:32 -10:00
Cameron McCormack
b92c451b97
Regenerate bindings.
2016-12-05 21:48:53 -10:00
Emilio Cobos Álvarez
a890f9037d
stylo: Regen bindings.
2016-12-05 00:16:10 -08:00
Cameron McCormack
5aef349341
Regenerate bindings.
2016-12-03 23:21:30 -10:00
Bobby Holley
992f7dddf4
Bug 1317016 - Basic infrastructure for RestyleHint-driven traversal.
...
MozReview-Commit-ID: 7wH5XcILVmX
2016-11-24 17:07:38 -08:00
bors-servo
95bc7ece47
Auto merge of #14268 - Manishearth:regen, r=bholley
...
Regenerate bindings
Don't merge yet
<!-- 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/14268 )
<!-- Reviewable:end -->
2016-11-21 12:19:39 -06:00
Cameron McCormack
c6be1a8995
Regenerate bindings.
...
MozReview-Commit-ID: LLZf2HKBpjF
2016-11-21 11:35:02 +08:00
Manish Goregaokar
3d5b26ac26
Uplift bitfield fix for nsChangeHint
2016-11-18 21:45:12 -08:00
Manish Goregaokar
9fb589dfd2
Regenerate bindings
2016-11-17 17:48:28 -08:00
Cameron McCormack
6274ed1798
Regenerate bindings.
...
Bindings update corresponding to
https://hg.mozilla.org/incubator/stylo/rev/88d68e17f03c
2016-11-15 17:37:12 +08:00
Cameron McCormack
b5610ad5ca
Regenerate bindings.
...
Bindings update for
https://hg.mozilla.org/incubator/stylo/rev/00ef34eaec71e51237465ff06b5dd5b91e2f41e4
2016-11-15 11:57:33 +08:00
Manish Goregaokar
bb5f351f4a
stylo: support transform
2016-11-10 16:38:15 -08:00