Commit graph

24 commits

Author SHA1 Message Date
Manish Goregaokar
f72cd7ffbc
Review fixes and bindings resync 2016-09-02 08:58:41 +05:30
Manish Goregaokar
0d4c5674ec
Handle RawGeckoElement and friends, add support for types which are used in both maybe-null and non-null forms 2016-09-02 08:56:51 +05:30
Manish Goregaokar
de90f5fce8
Add MaybeOwned, and use for ServoNodeData. More docs. 2016-09-02 08:56:49 +05:30
Manish Goregaokar
36c63db5d4
Rename sugar::refptr to sugar::ownership 2016-09-02 08:56:47 +05:30
Manish Goregaokar
8bed07292c
Add bindings for owned types, use for servostyleset 2016-09-02 08:56:45 +05:30
Manish Goregaokar
db7156526f
Allow for regular non-arc borrowed types, use for StyleSet 2016-09-02 08:56:44 +05:30
bors-servo
fb9c36c833 Auto merge of #13086 - Manishearth:shadowarray, r=emilio
Add bindings for nsCSSShadowArray, use for text-shadow and box-shadow

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13086)
<!-- Reviewable:end -->
2016-08-30 09:22:49 -05:00
Manish Goregaokar
a4a95dafd1 stylo: Add sugar for nsCSSShadowArray 2016-08-30 08:04:02 +05:30
Xidorn Quan
3bb7fdf025 Avoid LLVM prepending "_" for msvc32 symbols. 2016-08-30 11:23:14 +10:00
Bobby Holley
de7d7717c3 Fix incorrect flag syntax in regen.py.
This is a regression from #13079.
2016-08-29 15:00:05 -07:00
Emilio Cobos Álvarez
0670db3f71
Update regen script to take into account the bindgen docopt upgrade. 2016-08-27 01:33:30 -07:00
Xidorn Quan
2f4d6b5ce1 Make GeckoDeclarationBlock refcounted. 2016-08-23 09:42:12 +10:00
bors-servo
278bef474c Auto merge of #12940 - upsuper:binding-list, r=bholley
Include ServoBindingList.h for binding generating

<!-- Please describe your changes on the following line: -->
See [bug 1296594](https://bugzilla.mozilla.org/show_bug.cgi?id=1296594)

r? @bholley

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because binding code change

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

This is bug 1296594 on Gecko side.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12940)
<!-- Reviewable:end -->
2016-08-19 22:09:36 -05:00
bors-servo
609d47b44f Auto merge of #12878 - Manishearth:clip-path, r=heycam
stylo: Support clip-path

Todo:

 - [x] `set_clip_path` (probably needs a bunch of gecko bindings for running constructors/destructors)
 - [ ] Ensure that I've ordered the coordinates correctly
 - [ ] Check that it works
 - [x] Might want to convert NS_STYLE_FILL_RULE and NS_RADIUS to enum classes

Depends on:

 - https://github.com/servo/rust-bindgen/pull/29
 - https://github.com/Manishearth/gecko-dev/compare/servo:stylo...Manishearth:clip-path

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12878)
<!-- Reviewable:end -->
2016-08-19 14:24:08 -05:00
Manish Goregaokar
3895b7118e
Handle clip-path in stylo 2016-08-19 23:36:37 +05:30
Xidorn Quan
8bc06abe4a Include ServoBindingList.h for binding generating
This is bug 1296594 on Gecko side.
2016-08-19 21:48:43 +10:00
Emilio Cobos Álvarez
4974255411
stylo: Allow passing --debug and --debugger flags to the python script. 2016-08-18 15:59:39 -07:00
Emilio Cobos Álvarez
9a5ffb128a
stylo: Regen bindings with https://github.com/servo/rust-bindgen/pull/29 2016-08-18 15:59:38 -07:00
Manish Goregaokar
2fdbce0743
Resync bindings 2016-08-17 13:19:20 +05:30
Manish Goregaokar
0d4d1b539e Add safer bindings for refcounted types across ffi 2016-08-17 12:30:31 +05:30
Emilio Cobos Álvarez
b1091dff58
stylo: Regenerate the world. 2016-08-15 22:58:32 -07:00
Emilio Cobos Álvarez
df44ba40a4
stylo: generate bindings with bitfield accessors. 2016-08-15 22:58:32 -07:00
Emilio Cobos Álvarez
12fcb7a2e7
stylo: Allow regenerating atoms as part of the normal generation of bindings.
This configures the regeneration of atoms as part of the normal generation of
bindings, so it stops being a whole different process.

This also adds a generated file to components/style/generated with a convenience
macro invocation for pseudo-elements, which comes handy in order to avoid
duplication.
2016-08-15 22:58:32 -07:00
Emilio Cobos Álvarez
54b92015cb
stylo: Move gecko_bindins/tools to binding_tools 2016-08-15 22:58:31 -07:00