gecko-dev/servo/ports/geckolib
Emilio Cobos Álvarez 810916db16 Bug 1554433 - Move system colors to values::specified::color. r=xidorn
This should be an idempotent patch. The way to come up with this patch has been:

 * Run the first script attached to the bug and pipe it to xclip, then paste it
   in color.rs
 * Add the relevant #[derive] annotations and remove the color.mako.rs
   definition.
 * Reorder the values to match the ColorID definition, on which some widget
   prefs and caching stuff relies on.
 * Manually port some documentation from nsLookAndFeel.h
 * Run `rg 'eColorID_' | cut -d : -f 1 | sort | uniq >files`
 * Run the second script attached to the bug.
 * Manually fix usage of `LAST_COLOR` (adding the `End` variant), and adding
   casts to integer as needed.
 * Add an static assert so that people remember to update the prefs, rather than
   a comment on the definition :)

Differential Revision: https://phabricator.services.mozilla.com/D32610

--HG--
extra : moz-landing-system : lando
2019-05-26 13:10:00 +00:00
..
tests Bug 1474793 - Part 11: Add FFI API to use SharedMemoryBuilder. r=emilio 2019-03-30 00:16:27 +00:00
Cargo.toml Bug 1552549 - Update rand dependency to 0.6 r=kats,froydnj,nika,jkt,jcj 2019-05-23 19:54:25 +00:00
cbindgen.toml Bug 1554433 - Move system colors to values::specified::color. r=xidorn 2019-05-26 13:10:00 +00:00
error_reporter.rs Bug 1537876 - Augment CSS errors with the CSS selector r=emilio 2019-03-27 12:12:55 +00:00
glue.rs Bug 1383650 - Add geometry property support for Servo glue r=emilio 2019-05-16 13:21:21 +00:00
lib.rs Bug 1474793 - Part 11: Add FFI API to use SharedMemoryBuilder. r=emilio 2019-03-30 00:16:27 +00:00
stylesheet_loader.rs Bug 1521652 - Run rustfmt on servo/ports/geckolib/. r=emilio 2019-01-22 01:59:21 +00:00