aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/binding_tools
Commit message (Collapse)AuthorAgeFilesLines
* Bug 1364412: Convert pseudo-elements to an enum. r=hiro,xidornEmilio Cobos Álvarez2017-05-164-309/+0
|
* Make atom files generated at build-time.Xidorn Quan2017-05-081-8/+9
|
* Move atom_macro.rs to generated dir.Xidorn Quan2017-05-081-1/+1
|
* Rename gecko_ prefix of pseudo_element_helper file.Xidorn Quan2017-05-081-1/+1
|
* style: Fix stylo's atom script.Emilio Cobos Álvarez2017-05-031-1/+1
|
* Correct typo about pseudo_element macrosJ. Ryan Stinnett2017-04-271-1/+1
| | | | MozReview-Commit-ID: 3PDBeOdsX4D
* Update Gecko atom bindings for Gecko bug 1351139.Boris Zbarsky2017-03-281-1/+1
|
* Update bindinggen bits for gecko bug 1343078.Boris Zbarsky2017-03-081-1/+1
| | | | | Both the set of atoms and the way they are represented in the atom list is changing a bit.
* Avoid write atoms files when not necessaryXidorn Quan2016-12-281-2/+37
| | | | | This would avoid rebuilding style component even when nothing is changed when using "mach build-geckolib --with-gecko".
* Remove static atoms of CSS propertiesXidorn Quan2016-12-161-19/+7
|
* Update atoms when build geckolib with geckoXidorn Quan2016-12-161-10/+15
|
* Remove script and doc no longer relevantXidorn Quan2016-12-103-50/+0
|
* Make regen_atoms.py work by itselfXidorn Quan2016-12-101-5/+8
|
* Do build-time bindgenXidorn Quan2016-12-101-820/+0
| | | | | | | Majority of build_gecko.rs is just the straightforward conversion from regen.py. There are two differences that: 1. Side in whitelist is changed to mozilla::Side 2. std::atomic__My_base is added to opaque types for Windows
* Update regen.py for recent mozilla-central and rust-bindgen.Cameron McCormack2016-12-081-1/+4
|
* stylo: Whitelist some stuff to work-around bindgen generating too many tests.Emilio Cobos Álvarez2016-12-081-0/+3
|
* stylo: Use proper namespaces in bindings.Emilio Cobos Álvarez2016-12-081-20/+53
| | | | This allows us to incrementally remove both bindgen hacks and stylo hacks.
* stylo: Use bindgen master again.Emilio Cobos Álvarez2016-12-051-38/+34
| | | | | Stylo has been stuck with an old version of bindgen from quite a bit of time, this commit does the minimal stuff to put it working again with master.
* Update regen.py for recent mozilla-central changes.Cameron McCormack2016-12-031-1/+1
|
* Add insertRule/deleteRule support for styloXidorn Quan2016-12-011-1/+2
|
* Bug 1317016 - Basic infrastructure for RestyleHint-driven traversal.Bobby Holley2016-11-242-6/+20
| | | | MozReview-Commit-ID: 7wH5XcILVmX
* Add stylo FFI for CSSStyleRuleXidorn Quan2016-11-241-1/+2
|
* Add stylo FFI for CSSRuleListXidorn Quan2016-11-241-1/+14
|
* Remove unused check_bindingsXidorn Quan2016-11-231-37/+0
|
* Auto merge of #14268 - Manishearth:regen, r=bholleybors-servo2016-11-211-0/+6
|\ | | | | | | | | | | | | | | | | | | | | Regenerate bindings Don't merge yet <!-- 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/14268) <!-- Reviewable:end -->
| * Uplift bitfield fix for nsChangeHintManish Goregaokar2016-11-181-0/+6
| |
* | Regenerate bindings.Cameron McCormack2016-11-211-0/+1
|/ | | | MozReview-Commit-ID: LLZf2HKBpjF
* stylo: support transformManish Goregaokar2016-11-101-3/+21
|
* Auto merge of #14038 - upsuper:bug1294299, r=heycambors-servo2016-11-032-8/+22
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Element.style support for stylo <!-- Please describe your changes on the following line: --> This is the Servo side change of [bug 1294299](https://bugzilla.mozilla.org/show_bug.cgi?id=1294299) which has been reviewed by @heycam, @emilio, and @SimonSapin. This should not be merged until the Gecko side change gets merged into mozilla-central. r? @heycam --- <!-- 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 - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/14038) <!-- Reviewable:end -->
| * Add static atoms for CSS properties from GeckoXidorn Quan2016-11-031-7/+19
| |
| * Add binding functions for length and item getter of DeclarationBlockXidorn Quan2016-11-031-1/+3
| |
* | Whitelist ThreadSafeFooHolder types in bindings.rs.Cameron McCormack2016-11-031-0/+1
|/
* Regenerate bindings for mozilla-central rev ↵Bobby Holley2016-10-301-0/+1
| | | | e3279760cd977aac30bd9e8032d3ee71f55d2a67.
* Auto merge of #13974 - heycam:rm-bindgen-option, r=emiliobors-servo2016-10-291-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stop passing now-unrecognized --no-type-renaming to rust-bindgen. <!-- Please describe your changes on the following line: --> r? @emilio --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/13974) <!-- Reviewable:end -->
| * Stop passing now-unrecognized --no-type-renaming to rust-bindgen.Cameron McCormack2016-10-291-1/+1
| |
* | Rename NodeData and associated data structures to Element*.Bobby Holley2016-10-291-2/+2
|/ | | | MozReview-Commit-ID: 96VsmsoZtjZ
* Regenerate bindings.Cameron McCormack2016-10-281-0/+1
| | | | MozReview-Commit-ID: LTpO8Kt3ALk
* Use nsACString to pass string params for bindingsXidorn Quan2016-10-251-1/+7
|
* Move RawGecko{Node,Element,Document} to bindingsXidorn Quan2016-10-241-6/+8
|
* Use str for bindgen output directly.Xidorn Quan2016-10-221-3/+3
|
* Rearrange some data structures in preparation for the new incremental ↵Bobby Holley2016-10-211-3/+3
| | | | | | restyle algorithm. MozReview-Commit-ID: 8iOALQylOuK
* Regenerate bindings.Cameron McCormack2016-10-191-0/+1
|
* Declare nullable strong borrowed ref type for RawServoDeclarationBlock.Manish Goregaokar2016-10-181-0/+1
|
* Rename ServoDeclarationBlock to RawServoDeclarationBlock.Xidorn Quan2016-10-181-1/+1
|
* Make some lists in regen.py neater.Cameron McCormack2016-10-171-72/+149
|
* Add bindings for constructing nsStyleQuoteValuesManish Goregaokar2016-10-141-1/+1
| | | | MozReview-Commit-ID: EjuzgZKMpPp
* Vendor m-c's nsstring in-treeManish Goregaokar2016-10-121-0/+7
| | | | | | | | It is called nsstring_vendor since libgkrust already depends on nsstring, and we can't have two crates with the same name in-tree. We can't directly depend on the in-tree one since this will stop independent `./mach build-geckolib` builds from working. MozReview-Commit-ID: CR4tHgzXWFZ
* Auto merge of #13700 - Manishearth:bindgen-testing, r=emiliobors-servo2016-10-121-41/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Run bindings tests with whole crate We currently run bindgen's autogenerated `#[test]` blocks directly on the structs files. That is, after generating them, we run `rustc --test` on them. This works fine for now, but if you want to refer to types defined outside of these files (e.g. in https://bugzilla.mozilla.org/show_bug.cgi?id=1309165), the tests are broken. This puts a `cargo test -p style` in `./mach test-stylo`. I disabled doctests because they were failing (unable to find the `ns!()` and `atom!()` macros), and I couldn't figure out why -- will investigate in a later bug. 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/13700) <!-- Reviewable:end -->
| * Run bindings tests with whole crateManish Goregaokar2016-10-121-41/+1
| |
* | Fix bindings.rs warnings.Bobby Holley2016-10-111-7/+5
| | | | | | | | MozReview-Commit-ID: G03MWTQMkWt