aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen/CodegenRust.py
Commit message (Collapse)AuthorAgeFilesLines
...
| | * 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
| * Properly set desc.obj in CodegenRust.py (fixes #11868)Anthony Ramine2018-09-041-3/+2
| |
| * Support unions of objects in overloadsAnthony Ramine2018-08-301-8/+13
| | | | | | | | Part of #20513, implementing the parts useful for WebGL.
| * Upgraded to SM 60Alan Jeffrey2018-08-201-34/+52
| |
| * Make (dictionary)::empty() safeManish Goregaokar2018-07-061-8/+48
| | | | | | | | | | | | | | | | | | It currently works by constructing from null (which will throw a runtime error if there are non-defaultable members). This changes it so that we no longer need a JSContext to construct this, so it can be safely constructed. In the case of non-defaultable members, this method simply does not exist.
| * Assert that DOM structs have the correct first fieldManish Goregaokar2018-07-031-1/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DOM structs embed their parent type as their first field. This introduces a `.parent()` method to the DOM struct that returns its first field, and codegens a type assert that ensures that `.parent()` returns the parent struct. This generates: On `#[dom_struct]`: ```rust impl HasParent for Type { type Parent = ParentType; fn as_parent(&self) -> ParentType { &self.first_field } } ``` In the codegen files: ```rust impl Type { fn __assert_parent_type(&self) { let _: &ParentType = self.as_parent(); } } ````
| * Updated to mozjs v0.7.1.Alan Jeffrey2018-05-301-8/+8
| |
| * Update the WebIDL parserAnthony Ramine2018-04-031-1/+1
| |