aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen/CodegenRust.py
Commit message (Collapse)AuthorAgeFilesLines
* Auto merge of #24137 - gterzian:fix_error_throwing_on_unknown_js_arg, r=jdmbors-servo2019-09-051-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Codegen: throw type error when encountering an unknown argument <!-- Please describe your changes on the following line: --> FIX #24130 --- <!-- 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 ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- 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/24137) <!-- Reviewable:end -->
| * codegen: throw type error when encountering an unknown argumentGregory Terzian2019-09-051-1/+1
| |
* | Add [Default] toJSON() to performance interfacesKagami Sascha Rosylight2019-09-011-4/+9
|/
* Upgrade to rustc 1.39.0-nightly (f7af19c27 2019-08-15)Simon Sapin2019-08-231-3/+3
|
* Auto merge of #23844 - saschanaz:tojson, r=Manishearthbors-servo2019-08-201-2/+87
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support default toJSON in WebIDL <!-- Please describe your changes on the following line: --> Ported related lines from gecko. --- <!-- 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 - [x] These changes fix #22781 <!-- Either: --> - [x] There are tests for these changes <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- 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/23844) <!-- Reviewable:end -->
| * remove redundant extra scopingKagami Sascha Rosylight2019-07-251-8/+1
| |
| * use SafeJSContextKagami Sascha Rosylight2019-07-251-4/+4
| |
| * Merge branch 'master' into tojsonKagami Sascha Rosylight2019-07-251-187/+197
| |\
| * | Support default toJSON in WebIDLKagami Sascha Rosylight2019-07-241-2/+94
| | |
* | | Use safe JSContext in callbacksmarmeladema2019-08-091-6/+6
| | |
* | | Use safe JSContext as first argument for throw_dom_exceptionmarmeladema2019-08-091-5/+5
| | |
* | | Remove usage of various unsafe keywordmarmeladema2019-08-091-14/+15
| | |
* | | Use safe JSContext when possible in interface.rsmarmeladema2019-08-091-9/+9
| | |
* | | Use safe JSContext in compartmentsmarmeladema2019-08-091-1/+1
| | |
* | | Don't mark new methods as unsafe in code generationmarmeladema2019-08-091-14/+16
| | |
* | | Remove some usage of unsafe code in Promisemarmeladema2019-08-091-1/+1
| | |
* | | Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30)Simon Sapin2019-07-311-2/+2
| | |
* | | Generate apis.html and css-properties.json for docs as part of crates’ ↵Simon Sapin2019-07-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | build scripts … rather than as an extra step after `cargo doc`. This helps always using the correct set of CSS properties (for layout 2013 v.s. 2020).
* | | Update SpiderMonkey bindings for Windows arm64 crash fix.Josh Matthews2019-07-251-13/+16
| |/ |/|
* | Convert CGTraitInterface to use safe JSContext instead of raw JSContextmarmeladema2019-07-241-3/+3
| |
* | Convert internal methods to handle safe JSContext instead of raw JSContextmarmeladema2019-07-241-136/+144
| |
* | Callbacks now uses safe JSContext instead of raw JSContextmarmeladema2019-07-241-4/+4
| |
* | DefineDOMInterfaceMethod now takes a SafeJSContext instead of a JSContextmarmeladema2019-07-241-5/+5
| | | | | | | | as first argument.
* | GetPerInterfaceObject methods now takes a SafeJSContext instead of a JSContextmarmeladema2019-07-241-8/+8
| | | | | | | | as first argument.
* | CreateInterfaceObjects now takes a SafeJSContext instead of a JSContextmarmeladema2019-07-241-29/+29
| | | | | | | | as first argument.
* | Wrap(Global)Method now takes a SafeJSContext instead of a JSContextmarmeladema2019-07-241-22/+23
| | | | | | | | as first argument.
* | ConstructorEnabled now takes a SafeJSContext instead of a JSContextmarmeladema2019-07-241-2/+3
|/ | | | | a first argument. The function cannot be made safe because of call to unsafe function is_exposed_in.
* Change bindings generation to make Exposed annotation aware of ↵sreeise2019-07-141-8/+20
| | | | members/partial interfaces
* Require default dictionary value for optional dictsKagami Sascha Rosylight2019-07-121-5/+11
|
* Implement DOMPoint.fromPointKagami Sascha Rosylight2019-07-061-1/+2
|
* Upgrade to Spidermonkey 67.Josh Matthews2019-06-261-14/+9
|
* Make tidy happyBastien Orivel2019-05-251-8/+20
|
* Add support for attributes to the inCompartments binding parameterBastien Orivel2019-05-251-3/+6
|
* Add an inCompartments config for bindingsBastien Orivel2019-05-241-4/+11
|
* Update to SpiderMonkey 66.Josh Matthews2019-05-101-19/+18
|
* #8539 Config preferences backend restructurePeter Hall2019-03-201-2/+3
|
* Simplify RootedReference and make it specifically about slicesIt's now ↵Anthony Ramine2019-03-111-1/+1
| | | | called DomSlice<T>.
* Don't use RootedReference for Option<T> in codegen anymoreAnthony Ramine2019-03-101-2/+4
|
* Remove most RootedReference usesAnthony Ramine2019-03-101-1/+3
| | | | We can replace all uses of RootedReference for Option<T> by Option::deref calls.
* Add support for default dict values being boolean, use in MediaStreamConstraintsManish Goregaokar2019-03-041-1/+9
|
* Add aspect/frameRate/sampleRate parametersManish Goregaokar2019-03-041-0/+1
|
* Update WebIDL.py to 4166cae81546Manish Goregaokar2019-03-041-17/+9
| | | | | | https://hg.mozilla.org/integration/autoland/rev/4166cae81546f54accae807413f806d20bf30920 Pulls in changes from https://bugzilla.mozilla.org/show_bug.cgi?id=1359269
* Update bool pattern matching into if-elsePiotr Szpetkowski2019-01-301-5/+2
|
* Update to new JS runtime creation APIs.Josh Matthews2019-01-151-5/+4
|
* Update MPL license to https (part 3)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* Switch most crates to the 2018 editionSimon Sapin2018-11-061-4/+8
|
* Use 2018-style paths in generated DOM bindingsSimon Sapin2018-11-061-143/+143
|
* Handle default empty sequence valuesKeith Yeung2018-11-011-15/+18
|
* Make expectionCode of Promise have newline character automaticallyCYBAI2018-10-181-1/+1
| | | | | | | | | In the `fill` method, it will check if the exception code is empty string or has newline character in the end of string or not. However, we didn't do any change to exceptionCode when type is Promise. Thus, we add the newline character to make it pass the checking in `fill` method. See more detail from the log of IRC: https://mozilla.logbot.info/servo/20180501#c14692647
* Upgrade to rustc 1.31.0-nightly (8c4ad4e9e 2018-10-04)Simon Sapin2018-10-051-1/+8
| | | | CC https://github.com/rust-lang/rust/issues/54846