Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | style: Factor out some of style_derive. | Cameron McCormack | 2019-04-12 | 1 | -350/+0 |
| | | | | Differential Revision: https://phabricator.services.mozilla.com/D17188 | ||||
* | style: Reformat recent changes. | Emilio Cobos Álvarez | 2019-03-13 | 1 | -3/+3 |
| | |||||
* | style: When deriving something with an output type, map preconditions as well. | Emilio Cobos Álvarez | 2019-03-13 | 1 | -0/+64 |
| | | | | | | | Otherwise, deriving ToComputedValue and ToAnimatedValue in structs or enums with other where clauses just doesn't work. Differential Revision: https://phabricator.services.mozilla.com/D21859 | ||||
* | Fix some warnings | Simon Sapin | 2018-12-28 | 1 | -1/+1 |
| | |||||
* | Rustfmt has changed its default style :/ | Simon Sapin | 2018-12-28 | 1 | -3/+1 |
| | |||||
* | Fix all clippy warnings in style_derive | Bastien Orivel | 2018-12-12 | 1 | -3/+3 |
| | |||||
* | Update syn and related dependencies | Bastien Orivel | 2018-11-30 | 1 | -14/+18 |
| | |||||
* | Update MPL license to https (part 4) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-10 | 1 | -3/+1 |
| | |||||
* | Use 2018-style paths in code generated by style_derive | Simon Sapin | 2018-11-10 | 1 | -1/+1 |
| | |||||
* | Reorder imports | Pyfisch | 2018-11-06 | 1 | -1/+1 |
| | |||||
* | Format remaining files | Pyfisch | 2018-11-06 | 1 | -3/+6 |
| | |||||
* | Format component of style_derive | chansuke | 2018-09-07 | 1 | -80/+92 |
| | |||||
* | style: Add a ValueInfo trait for exposing types needed by devtools. | Xidorn Quan | 2018-04-29 | 1 | -2/+9 |
| | | | | | | | | | | | | Most of types just derive it using proc_macro directly. Some of value types need manual impl. In my current plan, this new trait will be used in bug 1434130 to expose values as well. Bug: 1455576 Reviewed-by: emilio MozReview-Commit-ID: LI7fy45VkRw | ||||
* | Opt out of bounds on type params for #[derive(ToAnimatedZero)] | Anthony Ramine | 2018-03-12 | 1 | -138/+3 |
| | |||||
* | Kill fmap_output_type | Anthony Ramine | 2018-03-09 | 1 | -15/+2 |
| | |||||
* | Opt into field bounds for #[derive(ToComputedValue)] | Anthony Ramine | 2018-03-09 | 1 | -12/+1 |
| | |||||
* | Simplify the derived bounds for ToAnimatedValue | Anthony Ramine | 2018-03-09 | 1 | -2/+11 |
| | |||||
* | Opt into field bounds when deriving ToCss, instead of opting out | Anthony Ramine | 2018-03-08 | 1 | -17/+16 |
| | |||||
* | Bump syn/quote in style_derive | Bastien Orivel | 2018-02-12 | 1 | -192/+161 |
| | |||||
* | style: Handle servo-prefixed stuff correctly. | Emilio Cobos Álvarez | 2017-12-15 | 1 | -2/+2 |
| | |||||
* | Allow deriving Parse for keywords. | Emilio Cobos Álvarez | 2017-12-15 | 1 | -0/+38 |
| | |||||
* | Implement #[animate(fallback)] for #[derive(Animate)] | Anthony Ramine | 2017-08-28 | 1 | -1/+11 |
| | | | | | This allows us to derive the Animate trait, providing a fallback function for when the 2 values aren't similar. | ||||
* | Improve handling of trait bounds when deriving fmap-like traits | Anthony Ramine | 2017-08-28 | 1 | -23/+204 |
| | |||||
* | Introduce #[animation(constant)] for the Animate trait | Anthony Ramine | 2017-08-28 | 1 | -8/+18 |
| | | | | This allows us to handle fields that should be the same during animations. | ||||
* | Refactor how we handle trait bounds in style_derive | Anthony Ramine | 2017-08-27 | 1 | -20/+42 |
| | | | | | | For the traits we derive which methods don't depend on associated types (i.e. all of them but ToAnimatedValue and ToComputedValue), we now add trait bounds for the actual field types directly, instead of bounding the type parameters. | ||||
* | Remove some garbage code from style_derive | Anthony Ramine | 2017-08-27 | 1 | -47/+2 |
| | |||||
* | Use darling in style_derive | Anthony Ramine | 2017-08-24 | 1 | -0/+11 |
| | | | | This allows use to handle #[css] in a way simpler fashion. | ||||
* | Introduce style_derive::cg | Anthony Ramine | 2017-08-23 | 1 | -0/+219 |