Граф коммитов

10 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 18f790ca50 servo: Merge #10815 - style: Support anonymous box pseudo-elements (from emilio:anonbox-gcs); r=SimonSapin,bholley
This is a work-in-progress that:

 * Adds support for some pseudo-elements to skip the cascade entirely, in an analogous way to Gecko's anonymous box pseudo-elements.
 * Takes rid of `StylistWrapper`, and uses `Arc::get_mut` instead.
 * Uses the first bullet to precompute the `-servo-details-content` pseudo's style.

I'd like @bholley to take a look before following, do you think that the aproach is the correct?
Also, @SimonSapin could want to put some eyes on it.

Depends on https://github.com/servo/rust-selectors/pull/81

Source-Repo: https://github.com/servo/servo
Source-Revision: 407f991c8aba5dcf5312bb2c34a3dd4fe12e5471
2016-04-29 14:27:16 -07:00
Bobby Holley ce0dac1c89 servo: Merge #10865 - Remove the need for custom clang to generate stylo bindings, plus misc other fixes (from bholley:simplify_bindgen); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 77553ab42cb4f49d38be030a3c6852550c9f2a1b
2016-04-26 19:51:13 -07:00
Bobby Holley 27821dd5bb servo: Merge #10697 - Implement enough of geckolib to cascade the first node (from bholley:need_clone); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: c372dee6ca68f261a65d5332cfb02fb9e44b90b2
2016-04-22 12:56:13 -07:00
Bobby Holley 119ed5405f servo: Merge #10556 - Automatically generate Gecko style struct setters for most keyword properties (from bholley:keyword_setters); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: e21e5551ec96831d7b001933b2e5588aff9fbccc
2016-04-14 21:29:34 +05:01
Emilio Cobos Álvarez cfdb9792b3 servo: Merge #10377 - geckolib: All bindings aligning properly! (from emilio:geckolib); r=bholley
So the following PR includes bitfield support and correct `#[repr(..)]` for enum declarations (even though I was forced to add a dummy variant in order for `rustc` to be happy).

So... **That makes all of our style structs align correctly**!

The only failing test is `nsDataHashTable`, but you know, that test is ill-formed because of it being an opaque type with type parameters.

BTW, just landed on bindgen 7ee7bae788, so you can add `-raw-line "use gecko_style_structs::*;"` in `regen_bindings.sh` and stop relying on manual hacks.

r? @bholley

Source-Repo: https://github.com/servo/servo
Source-Revision: 8dd24fa783eb28f3c4f0beacae33ba1b947b1f36
2016-04-05 00:09:15 +05:01
Bobby Holley 4d37b3664d servo: Merge #10359 - Implement construction, destruction, and copying of gecko style structs (from bholley:style_struct_management); r=SimonSapin
This requires some new machinery on the gecko side, which I'll get up in bugzilla shortly.

Source-Repo: https://github.com/servo/servo
Source-Revision: a3b55d68a84dac301b3bc40d2444934b7df8e167
2016-04-04 19:42:29 +05:01
Emilio Cobos Álvarez cd35a4e119 servo: Merge #10358 - Stylo again (from emilio:stylo-again); r=bholley
This fixes some bugs in our bindings, the most important one being that we didn't repr(C) opaque types.

r? @bholley

Source-Repo: https://github.com/servo/servo
Source-Revision: 71428b5ddaa2d9b680c5b6678917a8c5c7bf5c90
2016-04-02 10:01:35 +05:01
Bobby Holley 35b85ab9ed servo: Merge #10293 - Tweak gecko bindings (from bholley:tweak_bindings); r=emilio
A few changes as discussed.

Source-Repo: https://github.com/servo/servo
Source-Revision: 95819a4334526751168de0b9868dbd76e27b0d57
2016-04-01 16:23:30 +05:01
Emilio Cobos Álvarez 03d45310c6 servo: Merge #10194 - geckolib: Add style structs bindings and documentation (from emilio:stylo-fixes-and-doc); r=bholley
See the description of 6c851c8 to see which incorrect bindings remain. They're just nine types.

cc @bholley @SimonSapin @pcwalton

(I don't know who should review this actually)

Source-Repo: https://github.com/servo/servo
Source-Revision: d77c7b21aebb8996768bbf6215f0ec6b4440a2c8
2016-03-25 23:41:55 +05:01
Bobby Holley e191536d43 servo: Merge #9852 - Stylo uplifts 3 (from bholley:stylo_uplifts_3); r=bholley
Source-Repo: https://github.com/servo/servo
Source-Revision: 49e9594fb97d396f909cf367f70dec6c1ac32fc3
2016-03-05 01:19:35 +05:01