Anthony Ramine
faf0a11e78
servo: Merge #20275 - Finish cleaning up trait bounds generation in style_derive (from servo:derive-all-the-things); r=emilio
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 9d4cdfcfc31e4d3fca16e074c7481211f880be9f
2018-03-12 04:52:02 -04:00
Anthony Ramine
6abf6ba585
servo: Merge #20258 - Continue to improve style_derive (from servo:derive-all-the-things); r=emilio
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 909ebff1844c3fcf95ea3b479b61077ff5a552e2
2018-03-09 17:29:05 -05:00
Anthony Ramine
603d398ac3
servo: Merge #20254 - Some random improvements to derived style code (from servo:derive-all-the-things); r=emilio
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 664efab4a33264c07d68013a0ac3585544556b72
2018-03-09 05:58:22 -05:00
Anthony Ramine
f8e491e59f
servo: Merge #20237 - Opt into field bounds when deriving ToCss, instead of opting out (from servo:derive-all-the-things); r=emilio
...
Source-Repo: https://github.com/servo/servo
Source-Revision: b6de0563fbd74799060735b8452f86a533f19573
2018-03-08 12:25:20 -05:00
Emilio Cobos Álvarez
c1ea816d41
servo: Merge #20236 - Introduce #[css(skip_if)] (from emilio:to-css-skip-if); r=nox
...
This is most of #20224 but without the actual counter() fix since it's waiting on a WPT update.
Source-Repo: https://github.com/servo/servo
Source-Revision: 8133f788cfbde23cc54032a3327303b42257b91d
2018-03-08 09:16:55 -05:00
Anthony Ramine
ca40129ce4
servo: Merge #20230 - Introduce #[css(if_empty = "…", iterable)] (from servo:derive-all-the-things); r=emilio
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 2f4c13d27d4acf5a5a356c9168feb7203ecf2d14
2018-03-07 11:06:09 -05:00
Anthony Ramine
741a2d8ebd
servo: Merge #20211 - Improve #[derive(ToCss)] (from servo:derive-all-the-things); r=emilio
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 785b7c7775ae13c02556c84a16469efc6c4d71e8
2018-03-06 11:42:58 -05:00
Anthony Ramine
c1ded86a36
servo: Merge #20200 - Derive some more ToCss stuff again (from servo:derive-all-the-things); r=emilio
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 17b5a8332b4309188ea7ce9c1aa5919aeb7834e6
2018-03-06 03:33:18 -05:00
Anthony Ramine
a876b113c8
servo: Merge #20198 - Use darling::util::Override in #[derive(ToCss)] (from servo:derive-all-the-things); r=emilio
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 7931df716d3f2145758b5bfc278fa345d3b3b327
2018-03-05 08:24:35 -05:00
Anthony Ramine
12dfba4580
servo: Merge #20189 - Never store a squared root in SquaredDistance (from servo:squared-distance-for-real); r=emilio
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 86a70100821a841fc68dc037a7b43a69c7999dfe
2018-03-03 20:11:41 -05:00
Anthony Ramine
f235f43aae
servo: Merge #20183 - Unconditionally derive ToComputedValue as Clone for non-generic types (from servo:computed-as-clone); r=emilio
...
We assume that types such as `<Self as ToComputedValue>::ToComputedValue == Self`
just construct a new value that is just a clone of the original one without any
additional code.
Source-Repo: https://github.com/servo/servo
Source-Revision: 95f81d0c394e99a43552b1f964a9bf4df90ec759
2018-03-03 14:15:17 -05:00
Anthony Ramine
8fa887416b
servo: Merge #20178 - Derive ToCss for some more stuff (from servo:derive-all-the-things); r=emilio
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 0c9be9f77630c30120a72e50f0865b8b6e55db00
2018-03-03 10:17:42 -05:00
Bastien Orivel
ff6f12df0d
servo: Merge #20022 - Update syn, quote and synstructure (from Eijebong:syn); r=nox
...
Right now they're duplicated because we need a new serde release (ping @dtolnay), a new cssparser release (ping @SimonSapin) and a new release of html5ever with https://github.com/servo/html5ever/pull/336
Source-Repo: https://github.com/servo/servo
Source-Revision: 6cb78057bb115262f31548ef651b24a48957f11d
2018-02-13 11:15:54 -05:00
Emilio Cobos Álvarez
94a1fa08c7
servo: Merge #19981 - style: Derive ToCss for FontFamilyList (from emilio:nicer); r=nox
...
The extra reference in to_css is needed because the family list iterator returns
by value in Gecko.
Source-Repo: https://github.com/servo/servo
Source-Revision: 10552c23fc6c81b37bcfcba8f35430fc8d6a0ea8
2018-02-07 12:42:18 -05:00
Anthony Ramine
752e14e980
servo: Merge #19903 - Derive more Parse implementations ( fixes #19827 ) (from servo:derive-all-the-things); r=emilio
...
Fixes #19827 .
Source-Repo: https://github.com/servo/servo
Source-Revision: b4339ab5c8fc31d5eeb7e1fae55cab05e400ec9e
2018-02-01 05:52:08 -06:00
Anthony Ramine
3ac08c3f7f
servo: Merge #19838 - Make ToCss' SequenceWriter not monomorphise like a maniac anymore (from servo:rm-sequence-writer-as-it-was); r=emilio
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 6b2e5283c9e810ac316c203849b6ea25544a62c7
2018-01-23 12:03:41 -06:00
Emilio Cobos Álvarez
3b52622ff3
servo: Merge #19665 - style_derive: Support parse-time aliases (from emilio:derive-parse-alias); r=Manishearth
...
This will allow #19659 to use derive on display using:
#[parse(aliases = "-webkit-flex")]
Flex,
#[parse(aliases = "-webkit-inline-flex")]
InlineFlex,
And such.
Source-Repo: https://github.com/servo/servo
Source-Revision: 4ba795081cd1efa42ce03c996d574cfe96f68ece
2017-12-31 03:46:22 -06:00
Nazım Can Altınova
a3bf8b66fa
servo: Merge #19576 - style: Move text-align outside of the mako file (from canaltinova:text-align); r=Manishearth,emilio
...
I will need this refactoring before my next job. I didn't actually fix the FIXME's along the way. My other PR probably will cover these.
---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
Source-Repo: https://github.com/servo/servo
Source-Revision: a9c17970c19a993920ce1ba2ff9faebd033c52b4
2017-12-18 12:12:52 -06:00
CYBAI
56a76d7cd4
servo: Merge #19583 - style: Move will-change outside of mako (from CYBAI:move-will-change-out-of-mako); r=emilio
...
This is a sub-PR of #19015
r? emilio
---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19582
- [x] These changes do not require tests
Source-Repo: https://github.com/servo/servo
Source-Revision: 8aba41d951d63a09cc6c12cba7ed200ea4396544
2017-12-16 16:39:37 -06:00
Emilio Cobos Álvarez
14b15cf097
servo: Merge #19578 - Allow deriving Parse on keywords (from emilio:parse-keyword); r=Manishearth,canaltinova
...
This makes patches like #19576 much easier.
Source-Repo: https://github.com/servo/servo
Source-Revision: e631d167bf28676e45e37f418b4282fcfba98c1e
2017-12-15 14:55:49 -06:00
Matt Brubeck
bd2b1d6b5f
servo: Merge #19537 - style: Use the ? operator for Option (from mbrubeck:try); r=nox
...
This is stable in Rust 1.22 (#19532 ).
---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes do not require tests because it is refactoring only
Source-Repo: https://github.com/servo/servo
Source-Revision: 5f4f355cea4a24992ac9efa97f4a6e1837008e0b
2017-12-09 10:50:55 -06:00
Emilio Cobos Álvarez
450c743dea
servo: Merge #19217 - style: Remove mozmm CSS unit (from emilio:bye-mozmm); r=heycam
...
Bug: 1416564
Reviewed-by: heycam
MozReview-Commit-ID: AU4CUq09tw4
Source-Repo: https://github.com/servo/servo
Source-Revision: d287ec8d3ee5af9e64979ec77894f218cae1b46d
2017-11-14 07:27:28 -06:00
Emilio Cobos Álvarez
f08fc1d394
servo: Merge #19186 - style: Derive more stuff (from emilio:derive-more-stuff); r=nox
...
Source-Repo: https://github.com/servo/servo
Source-Revision: fad4d7ae49140b8919f9b823542b440aeb0ecc9e
2017-11-12 09:41:04 -06:00
Manish Goregaokar
afced2ad88
servo: Merge #18750 - Make transforms generic (from Manishearth:transform-generic); r=emilio,xidorn
...
This makes the specified and computed value of transform share a generic
backing enum.
This will eventually be a complete fix for
https://bugzilla.mozilla.org/show_bug.cgi?id=1391145 , and also
incidentally fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1405881
Currently WIP -- the generic transform exists and is used, but this
currently misses some animation and glue cases.
Source-Repo: https://github.com/servo/servo
Source-Revision: c494d25e24d515509a5d8bb86a30669ee01742b9
2017-11-02 17:02:07 -05:00
Emilio Cobos Álvarez
f27de589aa
servo: Merge #18300 - style: Remove HasViewportPercentage (from emilio:die-hvp-die); r=nox
...
It's not needed since #18268 , let's kill it.
Source-Repo: https://github.com/servo/servo
Source-Revision: 5dee83d54d3f05cc631ee89de612c14e21dd92ec
2017-08-30 04:31:11 -05:00
Anthony Ramine
921035a05a
servo: Merge #18239 - Refactor how we handle trait bounds in style_derive (from servo:derive-all-the-things); r=emilio
...
Source-Repo: https://github.com/servo/servo
Source-Revision: a266e96d28b7960b4fb0b236c3e8e93cf70f09b0
2017-08-28 10:13:13 -05:00
Anthony Ramine
07d1982f60
servo: Merge #18208 - Use darling and derive more things (from servo:derive-all-the-things); r=emilio
...
Source-Repo: https://github.com/servo/servo
Source-Revision: d3c2017b23a39b3a55990bb3da676de5eb479f90
2017-08-24 04:05:03 -05:00
Anthony Ramine
18c756b992
servo: Merge #18204 - Fix quote dependency version (from servo:quote); r=bustage
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 16c1446137317b7e974d65119d2187b81f0d2394
2017-08-23 12:13:18 -05:00
Anthony Ramine
4f1124467c
servo: Merge #18200 - Introduce style_derive::cg (from servo:derive-all-the-things); r=emilio
...
Source-Repo: https://github.com/servo/servo
Source-Revision: e629f8da7ba373f6575c2e9ccc6259b7f2c4e3e4
2017-08-23 10:01:15 -05:00
Anthony Ramine
2d98274b8d
servo: Merge #18192 - Derive Animate and ToAnimatedZero (from servo:we-are-leaving-babylon); r=emilio
...
ONLY PARSE NEEDS DERIVING NOW. THE HYPE IS REAL.
Source-Repo: https://github.com/servo/servo
Source-Revision: ec2dae90685da47c17cde9011736c893b037ff01
2017-08-22 14:53:11 -05:00
Anthony Ramine
bea653582c
servo: Merge #18058 - Introduce and derive ComputeSquaredDistance (from servo:compute-squared-distance); r=emilio
...
This new trait merges the former `Animatable` methods `compute_distance` and `compute_squared_distance`.
Source-Repo: https://github.com/servo/servo
Source-Revision: 60c44b072c12d65d70649391631dd28f1d939b65
2017-08-13 16:23:58 -05:00
Corey Farwell
e8ccc518c5
servo: Merge #17883 - Audit usages of unicode case-changing methods (from frewsxcv:frewsxcxv-lowercase); r=SimonSapin
...
Part of https://github.com/servo/servo/issues/17777 .
Source-Repo: https://github.com/servo/servo
Source-Revision: 5fff90c73f77dd9ed41b692e6b3ea960a29ee8a8
2017-08-02 03:01:26 -05:00
Anthony Ramine
4e80fc699e
servo: Merge #17662 - Improve derivation of ToCss again (from servo:derive-all-the-things); r=emilio,SimonSapin
...
Source-Repo: https://github.com/servo/servo
Source-Revision: f9fad3d9593e45189408ba1caf10fc0d528c763f
2017-07-12 04:56:31 -07:00
Anthony Ramine
55d7345833
servo: Merge #17560 - Introduce ToAnimatedValue 🎥 (from servo:derive-all-the-things); r=<try>
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 9a13cf6bdaa823369f29d7d0f4469087cf17ce6a
2017-06-29 06:49:39 -07:00
Anthony Ramine
72d2d84a9f
servo: Merge #17446 - Simplify machinery to serialise optional parts of CSS values (from servo:derive-all-the-things); r=emilio
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 0913d65243878ac6a37caed57c1cc7dfbd44ff54
2017-06-22 01:19:51 -07:00
Anthony Ramine
f31295978e
servo: Merge #17382 - Derive more ToCss impls (from servo:derive-all-the-things); r=emilio
...
Source-Repo: https://github.com/servo/servo
Source-Revision: effd6f2f877e767352b45fc35c8066a56c1612b7
2017-06-17 04:53:32 -07:00
Anthony Ramine
f67f1b3c59
servo: Merge #17356 - Minor improvements to #[derive(ToCss)] (from servo:derive-all-the-things); r=SimonSapin
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 2b02a444ea57448fb30408cba5297101bf9b310d
2017-06-16 15:46:12 -07:00
Anthony Ramine
e7b4db0490
servo: Merge #17291 - Function support for #[derive(ToCss)] and an Animatable fix (from servo:derive-all-the-things); r=<try>
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 44eb8c8e4fbafa3dac18ae0464923c63e5fc929d
2017-06-13 01:24:53 -07:00
Anthony Ramine
a9ced8d2d6
servo: Merge #17209 - Introduce more generics and more deriving (from servo:derive-all-the-things); r=emilio
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 738483742c32f6de680b13be31ffc552059b39b9
2017-06-07 08:55:08 -07:00
Anthony Ramine
f9a5fecca7
servo: Merge #17152 - Derive the most trivial ToCss implementations 🌋 (from servo:derive-all-the-things); r=emilio
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 942fce3a0bcc307caabecec42bc65265fbee6688
2017-06-04 10:02:28 -07:00
Anthony Ramine
c2f511de0e
servo: Merge #16973 - Derive ToComputedValue (from servo:derive-all-the-things); r=emilio
...
Source-Repo: https://github.com/servo/servo
Source-Revision: a25b1e5fe3ee1c88a029835e5e27c73fdbdafa2c
2017-05-21 08:48:10 -05:00
Anthony Ramine
3f8de1332b
servo: Merge #16960 - Derive HasViewportPercentage 🍷 (from servo:derive-all-the-things); r=emilio
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 4f0b24ac0c3bd04104d705898ceb4d06ef5ea092
2017-05-20 11:34:36 -05:00