Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | * | Merge branch 'master' into tojson | Kagami Sascha Rosylight | 2019-07-25 | 1 | -187/+197 | |
| | |\ | ||||||
| | * | | Support default toJSON in WebIDL | Kagami Sascha Rosylight | 2019-07-24 | 1 | -2/+94 | |
| | | | | ||||||
| * | | | Use safe JSContext in callbacks | marmeladema | 2019-08-09 | 1 | -6/+6 | |
| | | | | ||||||
| * | | | Use safe JSContext as first argument for throw_dom_exception | marmeladema | 2019-08-09 | 1 | -5/+5 | |
| | | | | ||||||
| * | | | Remove usage of various unsafe keyword | marmeladema | 2019-08-09 | 1 | -14/+15 | |
| | | | | ||||||
| * | | | Use safe JSContext when possible in interface.rs | marmeladema | 2019-08-09 | 1 | -9/+9 | |
| | | | | ||||||
| * | | | Use safe JSContext in compartments | marmeladema | 2019-08-09 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Don't mark new methods as unsafe in code generation | marmeladema | 2019-08-09 | 1 | -14/+16 | |
| | | | | ||||||
| * | | | Remove some usage of unsafe code in Promise | marmeladema | 2019-08-09 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30) | Simon Sapin | 2019-07-31 | 1 | -2/+2 | |
| | | | | ||||||
| * | | | Generate apis.html and css-properties.json for docs as part of crates’ ↵ | Simon Sapin | 2019-07-30 | 1 | -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 Matthews | 2019-07-25 | 1 | -13/+16 | |
| | |/ | |/| | ||||||
| * | | Convert CGTraitInterface to use safe JSContext instead of raw JSContext | marmeladema | 2019-07-24 | 1 | -3/+3 | |
| | | | ||||||
| * | | Convert internal methods to handle safe JSContext instead of raw JSContext | marmeladema | 2019-07-24 | 1 | -136/+144 | |
| | | | ||||||
| * | | Callbacks now uses safe JSContext instead of raw JSContext | marmeladema | 2019-07-24 | 1 | -4/+4 | |
| | | | ||||||
| * | | DefineDOMInterfaceMethod now takes a SafeJSContext instead of a JSContext | marmeladema | 2019-07-24 | 1 | -5/+5 | |
| | | | | | | | | | | | | as first argument. | |||||
| * | | GetPerInterfaceObject methods now takes a SafeJSContext instead of a JSContext | marmeladema | 2019-07-24 | 1 | -8/+8 | |
| | | | | | | | | | | | | as first argument. | |||||
| * | | CreateInterfaceObjects now takes a SafeJSContext instead of a JSContext | marmeladema | 2019-07-24 | 1 | -29/+29 | |
| | | | | | | | | | | | | as first argument. | |||||
| * | | Wrap(Global)Method now takes a SafeJSContext instead of a JSContext | marmeladema | 2019-07-24 | 1 | -22/+23 | |
| | | | | | | | | | | | | as first argument. | |||||
| * | | ConstructorEnabled now takes a SafeJSContext instead of a JSContext | marmeladema | 2019-07-24 | 1 | -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 ↵ | sreeise | 2019-07-14 | 1 | -8/+20 | |
| | | | | | | | | members/partial interfaces | |||||
| * | Require default dictionary value for optional dicts | Kagami Sascha Rosylight | 2019-07-12 | 1 | -5/+11 | |
| | | ||||||
| * | Implement DOMPoint.fromPoint | Kagami Sascha Rosylight | 2019-07-06 | 1 | -1/+2 | |
| | | ||||||
| * | Upgrade to Spidermonkey 67. | Josh Matthews | 2019-06-26 | 1 | -14/+9 | |
| | | ||||||
| * | Make tidy happy | Bastien Orivel | 2019-05-25 | 1 | -8/+20 | |
| | | ||||||
| * | Add support for attributes to the inCompartments binding parameter | Bastien Orivel | 2019-05-25 | 1 | -3/+6 | |
| | | ||||||
| * | Add an inCompartments config for bindings | Bastien Orivel | 2019-05-24 | 1 | -4/+11 | |
| | | ||||||
| * | Update to SpiderMonkey 66. | Josh Matthews | 2019-05-10 | 1 | -19/+18 | |
| | | ||||||
| * | #8539 Config preferences backend restructure | Peter Hall | 2019-03-20 | 1 | -2/+3 | |
| | | ||||||
| * | Simplify RootedReference and make it specifically about slicesIt's now ↵ | Anthony Ramine | 2019-03-11 | 1 | -1/+1 | |
| | | | | | | | | called DomSlice<T>. | |||||
| * | Don't use RootedReference for Option<T> in codegen anymore | Anthony Ramine | 2019-03-10 | 1 | -2/+4 | |
| | | ||||||
| * | Remove most RootedReference uses | Anthony Ramine | 2019-03-10 | 1 | -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 MediaStreamConstraints | Manish Goregaokar | 2019-03-04 | 1 | -1/+9 | |
| | | ||||||
| * | Add aspect/frameRate/sampleRate parameters | Manish Goregaokar | 2019-03-04 | 1 | -0/+1 | |
| | | ||||||
| * | Update WebIDL.py to 4166cae81546 | Manish Goregaokar | 2019-03-04 | 1 | -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-else | Piotr Szpetkowski | 2019-01-30 | 1 | -5/+2 | |
| | | ||||||
| * | Update to new JS runtime creation APIs. | Josh Matthews | 2019-01-15 | 1 | -5/+4 | |
| | | ||||||
| * | Update MPL license to https (part 3) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 | |
| | | ||||||
| * | Switch most crates to the 2018 edition | Simon Sapin | 2018-11-06 | 1 | -4/+8 | |
| | | ||||||
| * | Use 2018-style paths in generated DOM bindings | Simon Sapin | 2018-11-06 | 1 | -143/+143 | |
| | | ||||||
| * | Handle default empty sequence values | Keith Yeung | 2018-11-01 | 1 | -15/+18 | |
| | | ||||||
| * | Make expectionCode of Promise have newline character automatically | CYBAI | 2018-10-18 | 1 | -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 Sapin | 2018-10-05 | 1 | -1/+8 | |
| | | | | | | | | CC https://github.com/rust-lang/rust/issues/54846 | |||||
| * | Properly set desc.obj in CodegenRust.py (fixes #11868) | Anthony Ramine | 2018-09-04 | 1 | -3/+2 | |
| | | ||||||
| * | Support unions of objects in overloads | Anthony Ramine | 2018-08-30 | 1 | -8/+13 | |
| | | | | | | | | Part of #20513, implementing the parts useful for WebGL. | |||||
| * | Upgraded to SM 60 | Alan Jeffrey | 2018-08-20 | 1 | -34/+52 | |
| | | ||||||
| * | Make (dictionary)::empty() safe | Manish Goregaokar | 2018-07-06 | 1 | -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 field | Manish Goregaokar | 2018-07-03 | 1 | -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 Jeffrey | 2018-05-30 | 1 | -8/+8 | |
| | | ||||||
| * | Update the WebIDL parser | Anthony Ramine | 2018-04-03 | 1 | -1/+1 | |
| | |