gecko-dev/servo/components
Emilio Cobos Álvarez 29b0cd4d4c Bug 1523140 - Derive more length stuff, and shrink MaxLength / MozLength's repr(C) representation. r=boris
This patch:

 * Makes LengthPercentageOrAuto generic, and removes a bunch of code fo
   LengthPercentageOrNone, which was used only for servo and now can use the
   normal MaxLength (with a cfg() guard for the ExtremumLength variant).

 * Shrinks MaxLength / MozLength's repr(C) reperesentation by reducing enum
   nesting. The shrinking is in preparation for using them from C++ too, though
   that'd be a different bug.

 * Moves NonNegative usage to the proper places so that stuff for them can be
   derived.

I did this on top of bug 1523071 to prove both that it could be possible and
that stuff wasn't too messy. It got a bit messy, but just because of a bug I
had fixed in bindgen long time ago already, so this updates bindgen's patch
version to grab a fix instead of ugly workarounds :)

Differential Revision: https://phabricator.services.mozilla.com/D17762
2019-02-10 06:51:00 +01:00
..
fallible Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
hashglobe Bug 1506391 - cargo fix --edition. r=emilio 2018-11-11 02:40:21 +01:00
malloc_size_of Bug 1521392 - Cherry-pick Servo-only changes to malloc_size_of. 2019-01-20 16:29:22 +01:00
selectors Bug 1521187 - Derive more. r=emilio 2019-01-22 12:19:22 -08:00
servo_arc Bug 1506391 - cargo fix --edition. r=emilio 2018-11-11 02:40:21 +01:00
size_of_test Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
style Bug 1523140 - Derive more length stuff, and shrink MaxLength / MozLength's repr(C) representation. r=boris 2019-02-10 06:51:00 +01:00
style_derive Bug 1519729 - Rustfmt recent changes. 2019-01-13 21:55:56 +01:00
style_traits Bug 1520154 - Move cursor to cbindgen. r=boris 2019-01-16 14:13:07 +01:00