aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/binding_tools
Commit message (Collapse)AuthorAgeFilesLines
...
* | Eliminate warning about unsafe references to extern static variables.Bobby Holley2016-10-111-5/+10
|/ | | | MozReview-Commit-ID: 7UJNBaEWnH7
* Regen bindingsManish Goregaokar2016-10-101-1/+1
|
* Import NS_FONT_* constants for font-* glueRavi Shankar2016-10-091-2/+1
|
* Script-generated tests for Servo_* gecko bindingsRafael Gomes Dantas2016-10-061-0/+37
|
* Auto merge of #13569 - Manishearth:simpliffi, r=emiliobors-servo2016-10-051-4/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Start simplifying FFI ownership sugar This is step one of a series of changes planned to make the ownership sugar easier to use. This was blocked on #13038 *very* unsure about second commit. Don't like the thought of accepting types with destructors over FFI. Probably will revert it. Leaving it in for now in case you have some insight. Eventually at least for the borrowed stuff I want to use T directly (because the crates are merged now), instead of the fake void types. Perhaps for the others too. I might include those changes in this PR -- was originally planning to but I realized that these steps could be split out. Tentative plan for `Owned` (assuming it's not removed) is to have `Owned<T> <-> Box<T>` (same `T`, no "FFI type") conversions. We will only use ownership wrapper types for things with destructors, and try to keep the conversion simple. I'm envisioning a couple methods for arc/strong and a few more for box/owned. We may need to introduce new wrapper types for gecko-side managed objects (`RefPtr<T>`, `UniquePtr<T>`) but that should be all the wrapper types we have in the ownership sugar. This PR relies on the guarantee that `Option<&T>` and `Option<Box<T>>` are pointer-sized via the `NonZero` optimization. I am now less unconvinced that this is a good idea :wink:. r? @emilio cc @mystor <!-- 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/13569) <!-- Reviewable:end -->
| * Remove Borrowed<T>/BorrowedMut<T>, use Option<&T> instead.Manish Goregaokar2016-10-041-4/+4
| |
* | Add NS_FONT_STRETCH_* to bindgen scriptRavi Shankar2016-10-031-0/+2
|/
* Auto merge of #13518 - upsuper:patch-1, r=emiliobors-servo2016-10-011-1/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | Move --use-msvc-mangling out from clang flags. `--use-msvc-mangling` is not a clang flag, but a flag for bindgen. r? @emilio <!-- 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/13518) <!-- Reviewable:end -->
| * Move --use-msvc-mangling out from clang flags.Xidorn Quan2016-09-301-1/+3
| |
* | Refactor geckolib atoms regen scriptRavi Shankar2016-09-301-43/+67
| |
* | Auto merge of #13477 - Manishearth:regen, r=emiliobors-servo2016-09-302-4/+4
|\ \ | |/ |/| | | | | | | | | | | | | | | | | Regenerate bindings r? @emilio <!-- 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/13477) <!-- Reviewable:end -->
| * Fix indent in regen.py; fix importsManish Goregaokar2016-09-282-4/+4
| |
* | Minor cleanup to the bindgen scriptsRavi Shankar2016-09-272-15/+10
| |
* | Update README for bindgen toolsRavi Shankar2016-09-271-19/+5
|/
* Move most of geckolib into style::geckoManish Goregaokar2016-09-262-5/+9
|
* Move gecko_bindings and gecko_string_cache into the style crateManish Goregaokar2016-09-246-0/+972