Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement the MozMap type. | Ms2ger | 2016-09-21 | 1 | -7/+24 |
| | | | | Fixes #13144. | ||||
* | Introduce wrapInNativeContainerType. | Ms2ger | 2016-09-21 | 1 | -3/+12 |
| | |||||
* | Use innerContainerType in getConversionConfigForType. | Ms2ger | 2016-09-21 | 1 | -1/+1 |
| | |||||
* | Rename innerSequenceType to innerContainerType. | Ms2ger | 2016-09-21 | 1 | -4/+4 |
| | |||||
* | Handle unsupported types better in getUnionTypeTemplateVars. | Ms2ger | 2016-09-21 | 1 | -13/+1 |
| | |||||
* | Improve handling of ConversionResult::Failure in unions. | Ms2ger | 2016-09-21 | 1 | -21/+19 |
| | |||||
* | Improve jsid_to_str's name and documentation. | Ms2ger | 2016-09-21 | 1 | -2/+2 |
| | |||||
* | Auto merge of #13185 - nox:namespaces, r=jdm,Ms2ger | bors-servo | 2016-09-10 | 2 | -30/+77 |
|\ | | | | | | | | | | | | | | | Make console a namespace (fixes #13010) <!-- 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/13185) <!-- Reviewable:end --> | ||||
| * | Implement WebIDL namespaces | Anthony Ramine | 2016-09-08 | 2 | -28/+75 |
| | | |||||
| * | Fix descriptor argument in CGCallGenerator.__init__ | Anthony Ramine | 2016-09-07 | 1 | -3/+3 |
| | | | | | | | | It's a descriptor, not a descriptor provider. | ||||
* | | Auto merge of #13201 - KiChjang:codegen-typedefs, r=nox | bors-servo | 2016-09-09 | 2 | -4/+15 |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | Properly generate typedef identities in unions Fixes #10605. <!-- 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/13201) <!-- Reviewable:end --> | ||||
| * | Properly generate typedef identities in unions | Keith Yeung | 2016-09-07 | 2 | -4/+15 |
| | | |||||
* | | Extract mutability out of Reflectable trait. | Josh Matthews | 2016-09-07 | 1 | -0/+1 |
|/ | |||||
* | Auto merge of #13183 - nox:cleanup-interface, r=Ms2ger | bors-servo | 2016-09-06 | 1 | -18/+14 |
|\ | | | | | | | | | | | | | | | Clean up stuff in bindings::interface <!-- 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/13183) <!-- Reviewable:end --> | ||||
| * | Fix case of InterfaceObjectClass in codegen | Anthony Ramine | 2016-09-06 | 1 | -2/+2 |
| | | |||||
| * | Remove NonNullJSNative | Anthony Ramine | 2016-09-06 | 1 | -3/+3 |
| | | |||||
| * | Move WebIDL constants machinery to bindings::constant | Anthony Ramine | 2016-09-06 | 1 | -9/+8 |
| | | |||||
| * | Simplify InterfaceConstructorBehavior | Anthony Ramine | 2016-09-06 | 1 | -4/+1 |
| | | |||||
* | | Add missing IsCallable checks. | Ms2ger | 2016-09-06 | 1 | -2/+12 |
|/ | |||||
* | Use Option<T> to return from getters | Anthony Ramine | 2016-08-30 | 1 | -10/+9 |
| | | | | | This removes the cumbersome &mut bool argument and offers overall a more readable code. | ||||
* | Compile WebIDL return type "object" to NonZero<*mut JSObject> | Anthony Ramine | 2016-08-30 | 1 | -1/+5 |
| | |||||
* | Convert imports in generate_imports into one per line, so that it can easily ↵ | tp6vup54 | 2016-08-27 | 1 | -71/+195 |
| | | | | add new ones with alphabetical order. | ||||
* | Make DOMJSClass use JSClass instead of Class (fixes #13031) | Tetsuharu OHZEKI | 2016-08-26 | 1 | -10/+8 |
| | |||||
* | Auto merge of #13044 - nox:webidl, r=Ms2ger | bors-servo | 2016-08-26 | 7 | -46/+73 |
|\ | | | | | | | | | | | | | | | Update the WebIDL parser <!-- 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/13044) <!-- Reviewable:end --> | ||||
| * | Update the WebIDL parser | Anthony Ramine | 2016-08-26 | 4 | -46/+31 |
| | | |||||
| * | Restore abstract.patch which was mistakenly removed | Anthony Ramine | 2016-08-26 | 1 | -0/+12 |
| | | |||||
| * | Hoist 7fd65affabd9ab49b254fefce968a9eafabf1fbf as its own patch | Anthony Ramine | 2016-08-26 | 2 | -0/+30 |
| | | |||||
* | | Implement [Replaceable] (fixes #13033) | Anthony Ramine | 2016-08-26 | 1 | -8/+30 |
|/ | |||||
* | Pass the receiver to get_property_on_prototype (fixes #11600) | Anthony Ramine | 2016-08-25 | 1 | -1/+1 |
| | |||||
* | Make has_property_on_prototype fallible | Anthony Ramine | 2016-08-25 | 1 | -10/+25 |
| | |||||
* | Call JS_SetImmutablePrototype for prototypes of globals (fixes #13023) | Anthony Ramine | 2016-08-25 | 1 | -21/+24 |
| | |||||
* | Define interface members on the global object directly (fixes #4593) | Anthony Ramine | 2016-08-25 | 1 | -9/+37 |
| | |||||
* | Pass a MutableHandleObject to create_global_object | Anthony Ramine | 2016-08-25 | 1 | -6/+7 |
| | |||||
* | Make create_global_object take a &'static Class | Anthony Ramine | 2016-08-25 | 1 | -1/+1 |
| | |||||
* | Rename utils::create_dom_object to interface::create_global_object | Anthony Ramine | 2016-08-25 | 1 | -15/+15 |
| | |||||
* | Split global logic out of CGWrapMethod | Anthony Ramine | 2016-08-25 | 1 | -25/+40 |
| | |||||
* | Auto merge of #12819 - jdm:iterable2, r=nox | bors-servo | 2016-08-24 | 5 | -147/+440 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support pair and value iterable WebIDL bindings The actual iterator implementation and JSAPI calls related to setting up the interface are ported directly from Gecko's Codegen.py, IterableIterator.h, and IterableIterator.webidl. The changes to support multiple interfaces in one file are required because the internal iterator interface the parser generates gets associated with the original interface's WebIDL file. It seemed like a good time to address #571 in that case. --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #12628 and fix #571. - [X] There are tests for these changes <!-- 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/12819) <!-- Reviewable:end --> | ||||
| * | Use named arguments for CGImports. | Josh Matthews | 2016-08-24 | 1 | -3/+10 |
| | | |||||
| * | Set up the iterator prototype as the prototype of iterator interfaces, and ↵ | Josh Matthews | 2016-08-24 | 1 | -4/+55 |
| | | | | | | | | alias forEach to the entries method. | ||||
| * | Implement pair iterators in WebIDL interfaces. | Josh Matthews | 2016-08-24 | 2 | -13/+104 |
| | | |||||
| * | Support value iterators in WebIDL interfaces. | Josh Matthews | 2016-08-24 | 1 | -0/+40 |
| | | |||||
| * | Support multiple WebIDL interfaces being generated in the same output ↵ | Josh Matthews | 2016-08-24 | 5 | -135/+239 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | binding file. Each interface gets its own module named ${Interface}Binding. Structs, enums, and callbacks continue to use the root module of the binding file. If there is only one interface in the file, we generate reexports for several public APIs and types so that existing DOM implementations don't need any modifications. When multiple interfaces exist, the reexported names get the interface name prepended (eg. FooWrap instead of Wrap). As part of this work, stop glob-importing all DOM types in every generated binding and start generating more targeted lists of relevant types based on the methods, members, etc. of WebIDL types that are in use. | ||||
* | | Reformat from_jsval implementation for unions. | Ms2ger | 2016-08-24 | 1 | -1/+2 |
|/ | |||||
* | Auto merge of #12954 - GuillaumeGomez:dictionary_error, r=nox | bors-servo | 2016-08-24 | 1 | -32/+72 |
|\ | | | | | | | | | | | | | | | Update rust-mozjs <!-- 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/12954) <!-- Reviewable:end --> | ||||
| * | Update rust-mozjs dependency | Guillaume Gomez | 2016-08-24 | 1 | -32/+72 |
| | | |||||
* | | Use JS_SplicePrototype to set the right proto on the global, instead of ↵ | Boris Zbarsky | 2016-08-24 | 1 | -2/+2 |
|/ | | | | JS_SetPrototype, since the latter will permanently deoptimize it. | ||||
* | Native MSVC windows build, convert to cmake | Vladimir Vukicevic | 2016-08-17 | 2 | -1/+67 |
| | |||||
* | bindings generator: support default ByteString values in dictionary | Malisa Smith | 2016-08-10 | 2 | -3/+27 |
| | |||||
* | Update SpiderMonkey to m-c bcf4ff0c3eef. | Ms2ger | 2016-07-28 | 1 | -58/+26 |
| | | | | | | This currently breaks Servo on Android, because there are a number of interdependent changes that cannot easily land serially in a way that keeps it working throughout. We expect to fix this in the near future. | ||||
* | Union types now allow ByteString | Malisa Smith | 2016-07-21 | 1 | -1/+4 |
| |