Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Indent the contents of getOwnPropertyDescriptor. | Ms2ger | 2014-06-21 | 1 | -1/+1 | |
| | | ||||||
| * | Use CGIndenter for CGProxyUnwrap.definition_body. | Ms2ger | 2014-06-21 | 1 | -6/+6 | |
| | | ||||||
| * | Use CGIndenter for CGSpecialized{Method, Getter, Setter}.definition_body. | Ms2ger | 2014-06-21 | 1 | -12/+12 | |
| | | ||||||
| * | Stop indenting in CGMethodCall. | Ms2ger | 2014-06-21 | 1 | -7/+7 | |
| | | ||||||
| * | Use CGIndenter for CGDefineDOMInterfaceMethod.definition_body. | Ms2ger | 2014-06-21 | 1 | -39/+39 | |
| | | ||||||
| * | Use CGIndenter for CGGetPerInterfaceObject.definition_body. | Ms2ger | 2014-06-21 | 1 | -27/+27 | |
| | | ||||||
| * | Use CGIndenter for CGWrapMethod.definition_body. | Ms2ger | 2014-06-21 | 1 | -33/+33 | |
| | | ||||||
| * | Return a CGThing from CGAbstractMethod.definition_body. | Ms2ger | 2014-06-21 | 1 | -29/+38 | |
| | | ||||||
| * | Move the responsibility for indentation to ↵ | Ms2ger | 2014-06-21 | 1 | -14/+14 | |
| | | | | | | | | CGAbstractBindingMethod.definition_body from its callees. | |||||
* | | Merge pull request #2683 from Ms2ger/nointerfaceobject | Josh Matthews | 2014-06-21 | 2 | -48/+47 | |
|\| | | | | | Fix the implementation of NoInterfaceObject. | |||||
| * | Keep calling the DefineDOMInterface method for NoInterfaceObject interfaces. | Ms2ger | 2014-06-20 | 1 | -12/+7 | |
| | | | | | | | | | | DefineDOMInterface also creates the proxy handler for proxy classes, so it should be called in this case as well. | |||||
| * | Pass the interface object-related arguments to CreateInterfaceObjects2 ↵ | Ms2ger | 2014-06-20 | 2 | -26/+34 | |
| | | | | | | | | | | | | together in an Option. This clarifies the code and fixes our support of NoInterfaceObject interfaces. | |||||
| * | Generate code for NoInterfaceObject interfaces in InterfaceTypes and ↵ | Ms2ger | 2014-06-20 | 1 | -8/+2 | |
| | | | | | | | | | | | | InheritTypes. There is no reason for those interfaces to be excluded. | |||||
| * | Correct the condition for generating CGGetConstructorObjectMethod. | Ms2ger | 2014-06-20 | 1 | -2/+4 | |
| | | | | | | | | | | As we don't actually implement the feature for which this is needed, I've commented the call out for now and mentioned the issue for the feature. | |||||
* | | Fix field-value checking to not throw for lone spaces | Manish Goregaokar | 2014-06-21 | 1 | -1/+15 | |
|/ | ||||||
* | Merge pull request #2663 from saneyuki/trace_comment | Josh Matthews | 2014-06-20 | 1 | -0/+6 | |
|\ | | | | | Mention the usecase of Traceable/Untraceable. | |||||
| * | Mention the usecase of Traceable/Untraceable. | Tetsuharu OHZEKI | 2014-06-17 | 1 | -0/+6 | |
| | | ||||||
* | | Stop pretending that CreateInterfaceObjects2 can return the interface object. | Ms2ger | 2014-06-20 | 2 | -21/+12 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We do not currently support the case of a non-callback interface that doesn't have an interface prototype object. (This case is not allowed by the WebIDL specification; it was added to Gecko to allow feature-detecting the URL interface. See <https://bugzilla.mozilla.org/show_bug.cgi?id=1026720>.) It follows that, if we call CreateInterfaceObjects2 at all, we will call it with a protoClass argument, so there is no reason to use a nullable pointer type for that argument. Moreover, if we had actually supported that case, the returned interface object would have been stored in the interface prototype object cache, to ill effect. | |||||
* | | Handle JSAPI OOM failures by task failure as soon as possible. | Ms2ger | 2014-06-20 | 2 | -61/+28 | |
| | | | | | | | | | | | | | | | | | | We already ensure to fail the task if GetProtoObject returns null, as we don't have a useful way to handle OOM, and we don't wish to thread the failure through to some place where we could handle it in a useful way. Unfortunately, we cannot ensure through the type system that none of those functions returns null, so we use assertions to check it dynamically. | |||||
* | | Request termination for XHR | Manish Goregaokar | 2014-06-19 | 1 | -1/+3 | |
| | | ||||||
* | | Remove unused code to support preffed-off and chrome-only APIs. | Ms2ger | 2014-06-14 | 1 | -107/+16 | |
|/ | ||||||
* | auto merge of #2653 : Ms2ger/servo/docs, r=Ms2ger,metajack | bors-servo | 2014-06-13 | 1 | -54/+57 | |
|\ | ||||||
| * | Correct formatting in documentation in js.rs. | Ms2ger | 2014-06-13 | 1 | -36/+36 | |
| | | ||||||
| * | Add some blank lines to ensure rustdoc picks up the lists. | Ms2ger | 2014-06-13 | 1 | -0/+3 | |
| | | ||||||
| * | Use '//!' rather than '///' for the overview comment in js.rs. | Ms2ger | 2014-06-13 | 1 | -36/+36 | |
| | | ||||||
* | | auto merge of #2649 : ebalint/servo/2580_JS_T_unrooted_replace, r=jdm | bors-servo | 2014-06-13 | 1 | -3/+3 | |
|\ \ | | | | | | | | | | | | | removed .clone() calls modified from_rooted method parameter: T to &T | |||||
| * | | Replace uses of JS<T>.unrooted() with JS::from_rooted #2580 | Edit Balint | 2014-06-13 | 1 | -3/+3 | |
| | | | ||||||
* | | | auto merge of #2585 : ebalint/servo/2530, r=jdm | bors-servo | 2014-06-13 | 1 | -2/+2 | |
|\ \ \ | ||||||
| * | | | Split Page code out of script_task.rs #2530 | Edit Balint | 2014-06-13 | 1 | -2/+2 | |
| | |/ | |/| | ||||||
* | | | Remove Reflectable::mut_reflector. | Ms2ger | 2014-06-13 | 3 | -15/+0 | |
| | | | ||||||
* | | | Use Cell for Reflector::object. | Ms2ger | 2014-06-13 | 2 | -11/+14 | |
|/ / | ||||||
* | | auto merge of #2652 : saneyuki/servo/root, r=jdm | bors-servo | 2014-06-13 | 1 | -17/+6 | |
|\ \ | |/ |/| | | | fix #2650 | |||||
| * | Make the conservertive stack scanner calculates `Temporary<T>` as root ↵ | Tetsuharu OHZEKI | 2014-06-14 | 1 | -17/+6 | |
| | | | | | | | | | | | | instead of calling root methods. See: https://github.com/mozilla/servo/issues/2650 | |||||
* | | auto merge of #2616 : Ms2ger/servo/attrvalue, r=jdm | bors-servo | 2014-06-13 | 1 | -0/+1 | |
|\ \ | |/ |/| | | | Obsoletes #2073. | |||||
| * | Implement Element.classList (partially fixes #1717). | Ms2ger | 2014-06-13 | 1 | -0/+1 | |
| | | ||||||
* | | auto merge of #2633 : Ms2ger/servo/derefmut, r=jdm | bors-servo | 2014-06-11 | 1 | -1/+1 | |
|\ \ | | | | | | | | | | Part of #1854. | |||||
| * | | Use internal mutability for Window::browser_context. | Ms2ger | 2014-06-11 | 1 | -1/+1 | |
| | | | ||||||
* | | | auto merge of #2637 : Ms2ger/servo/initids, r=larsbergstrom | bors-servo | 2014-06-11 | 1 | -28/+2 | |
|\ \ \ | |/ / |/| | | ||||||
| * | | Remove unused InitIds function. | Ms2ger | 2014-06-11 | 1 | -28/+2 | |
| | | | ||||||
* | | | Pass a JSRef to RegisterBindings::Register. | Ms2ger | 2014-06-11 | 1 | -2/+2 | |
|/ / | | | | | | | | | JS<T> should only be used for members of traced structures; the correct type for arguments is JSRef. | |||||
* | | Avoid reallocations with variadic arguments. | Ms2ger | 2014-06-10 | 1 | -1/+1 | |
| | | | | | | | | Thanks to huon for pointing that out. | |||||
* | | Support union variadic arguments and add tests. | Ms2ger | 2014-06-10 | 1 | -4/+0 | |
| | | ||||||
* | | Implement variadic arguments (fixes #1985). | Ms2ger | 2014-06-10 | 1 | -18/+46 | |
| | | ||||||
* | | auto merge of #2611 : Ms2ger/servo/webidl-parser-sync, r=jdm | bors-servo | 2014-06-09 | 2 | -263/+1220 | |
|\ \ | ||||||
| * | | Add support for undefined default values for 'any'. | Ms2ger | 2014-06-07 | 1 | -2/+12 | |
| | | | | | | | | | | | | | | | This also updates TestBinding to take into account the automatic default for optional 'any' arguments and dictionary members. | |||||
| * | | Reinstate IDLCallbackType.module. | Ms2ger | 2014-06-07 | 1 | -0/+3 | |
| | | | ||||||
| * | | Remove support for external interfaces. | Ms2ger | 2014-06-07 | 1 | -38/+2 | |
| | | | ||||||
| * | | Import the WebIDL parser from Gecko. | Ms2ger | 2014-06-07 | 1 | -267/+1247 | |
| | | | ||||||
* | | | auto merge of #2613 : Manishearth/servo/xhr-wpt-methods, r=Ms2ger | bors-servo | 2014-06-08 | 3 | -1/+14 | |
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | For [XMLHttpRequest/open-method-case-sensitive.htm](https://github.com/w3c/web-platform-tests/blob/master/XMLHttpRequest/open-method-case-sensitive.htm), [XMLHttpRequest/XMLHttpRequest/open-method-insecure.htm](https://github.com/w3c/web-platform-tests/blob/master/XMLHttpRequest/open-method-insecure.htm), [XMLHttpRequest/XMLHttpRequest/open-method-responsetype-set-sync.htm ](https://github.com/w3c/web-platform-tests/blob/master/XMLHttpRequest/open-method-responsetype-set-sync.htm) in particular. `getResponseHeader()` is used by a lot of other tests (the harness echoes most of the metadata in the response headers, which is tested on this side) The sync changes fixes half of the timeouts to give meaningful results. Blocks #2525 | |||||
| * | | Empty methods are not allowed | Manish Goregaokar | 2014-06-08 | 1 | -0/+4 | |
| | | |