Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cargoify servo | Jack Moffitt | 2014-09-08 | 103 | -30131/+0 |
| | |||||
* | Throw TypeErrors instead of uncatcheable exceptions in CodegenRust.py (fixes ↵ | Pierre Louis Aublin | 2014-09-04 | 1 | -5/+6 |
| | | | | #347, #3065). | ||||
* | Support callback return types in codegen | Chris Paris | 2014-08-28 | 2 | -2/+2 |
| | |||||
* | Introduce the NativePropertyHooks struct. | Ms2ger | 2014-08-28 | 1 | -2/+32 |
| | | | | This will be required for the cross-origin wrapper work. | ||||
* | Update ProxyTraps to use real bools. | Ms2ger | 2014-08-26 | 1 | -35/+38 |
| | |||||
* | Merge pull request #3121 from Ms2ger/sorted-dictionaries | Ms2ger | 2014-08-20 | 1 | -23/+0 |
|\ | | | | | Stop resorting dictionaries; r=abinader | ||||
| * | Stop resorting dictionaries. | Ms2ger | 2014-08-20 | 1 | -23/+0 |
| | | | | | | | | | | | | Rust is more forgiving about the order of definitions than C++, so there is no need to try to sort them. Worse, the "sorting" actually causes the order in the generated file to be non-deterministic. | ||||
* | | Use extended attributes to define which interfaces are globals (fixes #1053). | Ms2ger | 2014-08-20 | 3 | -10/+14 |
|/ | | | | This makes our approach consistent with Gecko's. | ||||
* | Add a documentation comment for CGWrapMethod. | Ms2ger | 2014-08-19 | 1 | -0/+4 |
| | |||||
* | Merge pull request #3112 from Ms2ger/hasInterfacePrototypeObject | Manish Goregaokar | 2014-08-19 | 2 | -64/+49 |
|\ | | | | | Replace hasInterfacePrototypeObject checks by isCallback checks in codegen. | ||||
| * | Replace hasInterfacePrototypeObject checks by isCallback checks in codegen. | Ms2ger | 2014-08-19 | 2 | -64/+49 |
| | | | | | | | | | | | | | | Checking for callbacks directly makes it a lot clearer what's going on, and we don't intend to take hasConcreteDescendant into consideration. See also <https://bugzilla.mozilla.org/show_bug.cgi?id=1026720>. | ||||
* | | Update WebIDL.py. | Ms2ger | 2014-08-19 | 1 | -67/+560 |
| | | |||||
* | | Add a script to update the WebIDL parser. | Ms2ger | 2014-08-19 | 3 | -0/+64 |
|/ | |||||
* | Upgrade Rust. | Jack Moffitt | 2014-08-08 | 1 | -4/+6 |
| | |||||
* | Correct the fallibility of proxy operations in the *Methods trait (fixes #3041). | Ms2ger | 2014-08-08 | 1 | -1/+1 |
| | | | | | A typo caused us to use the fallibility of the last normal method in the interface. | ||||
* | Throw a TypeError when unwrapping a this object fails. | Ms2ger | 2014-08-05 | 1 | -1/+4 |
| | |||||
* | Throw a TypeError when unwrapping an interface argument fails. | Ms2ger | 2014-08-05 | 1 | -1/+9 |
| | |||||
* | Remove FailureFatalCastableObjectUnwrapper. | Ms2ger | 2014-08-05 | 1 | -22/+8 |
| | | | | | The inheritance pattern used here was not particularly enlightening, and only one caller uses FailureFatalCastableObjectUnwrapper. | ||||
* | Fix the double indentation in CastableObjectUnwrapper. | Ms2ger | 2014-08-05 | 1 | -7/+9 |
| | | | | The current code indents the first line of codeOnFailure four spaces too far. | ||||
* | Upgrade Rust. | Jack Moffitt | 2014-08-02 | 1 | -77/+76 |
| | |||||
* | Throw a TypeError when a non-object is passed where one is expected. | Ms2ger | 2014-07-30 | 1 | -1/+1 |
| | |||||
* | Implement the delete proxy trap (fixes #2213). | Sankha Narayan Guria | 2014-07-29 | 1 | -2/+2 |
| | |||||
* | Call the generated rather than the hand-written traits (fixes #2936). | Ms2ger | 2014-07-27 | 1 | -4/+0 |
| | |||||
* | Generate traits for the generated bindings code to call. | Ms2ger | 2014-07-27 | 1 | -1/+106 |
| | |||||
* | Remove an unused argument to needCx and use it in CGCallGenerator. | Ms2ger | 2014-07-27 | 1 | -5/+3 |
| | |||||
* | Pass a non-nullable string to NamedGetter. | Ms2ger | 2014-07-27 | 1 | -5/+5 |
| | | | | | | | | | There is no actual reason to use a nullable string here; all callers have a string they want to pass. The issue dates back to the time that DOMString was inherently nullable (before #1215); this API was not converted back to the non-nullable DOMString type after that landed. | ||||
* | Implement stub classes for WorkerGlobalScope and DedicatedWorkerGlobalScope. | Ms2ger | 2014-07-15 | 1 | -0/+3 |
| | | | | Part of #2811. | ||||
* | Introduce abstractions for global scopes. | Ms2ger | 2014-07-15 | 1 | -2/+3 |
| | | | | Part of #2811. | ||||
* | Remove the unused 'obj' local from the construct hook. | Ms2ger | 2014-07-14 | 1 | -1/+0 |
| | |||||
* | Merge pull request #2820 from Ms2ger/RegisterBindings | Ms2ger | 2014-07-13 | 1 | -8/+11 |
|\ | | | | | Move the call to RegisterBindings::Register into WindowBinding::Wrap; r=jdm | ||||
| * | Move the call to RegisterBindings::Register into WindowBinding::Wrap. | Ms2ger | 2014-07-13 | 1 | -1/+4 |
| | | |||||
| * | Pass a JSContext and a reflector to RegisterBindings::Register. | Ms2ger | 2014-07-13 | 1 | -7/+7 |
| | | | | | | | | | | This makes the generated code less dependent on the fact that all global objects are Windows. | ||||
* | | Remove empty objects from Bindings.conf. | Ms2ger | 2014-07-13 | 2 | -112/+17 |
|/ | | | | | This also comments out an unused mixin interface, and adds NoInterfaceObject to one that missed it. | ||||
* | Store proxy handlers in a static array rather than a hashtable per window. | Ms2ger | 2014-07-12 | 1 | -32/+78 |
| | |||||
* | Merge pull request #2807 from Ms2ger/pyflakes-2 | Josh Matthews | 2014-07-11 | 1 | -30/+13 |
|\ | | | | | Remove some dead code and fix some pyflakes warnings in CodegenRust.py. | ||||
| * | Remove some dead code and fix some pyflakes warnings in CodegenRust.py. | Ms2ger | 2014-07-11 | 1 | -30/+13 |
| | | |||||
* | | Return a Temporary from *Binding::Wrap. | Ms2ger | 2014-07-10 | 1 | -3/+4 |
|/ | | | | | | Returning a JS<T> is GC-unsafe. This commit also includes some cleanup around Node and Document reflection. | ||||
* | Merge pull request #2735 from Manishearth/urlsearchparams | Josh Matthews | 2014-07-02 | 1 | -0/+1 |
|\ | | | | | Add URLSearchParams interface with serialization support | ||||
| * | Add URLSearchParams interface with serialization support | Manish Goregaokar | 2014-07-02 | 1 | -0/+1 |
| | | |||||
* | | Remove deref_mut from Untraceable/Traceable (fixes #2736) | Manish Goregaokar | 2014-07-01 | 1 | -2/+4 |
|/ | |||||
* | Upgrade to latest Rust. | Manish Goregaokar | 2014-06-27 | 1 | -3/+3 |
| | |||||
* | Partial implementation of FormData and File | Manish Goregaokar | 2014-06-25 | 1 | -0/+1 |
| | |||||
* | Store this-values and arguments in immutable locals in codegen. | Ms2ger | 2014-06-22 | 1 | -17/+14 |
| | |||||
* | Implement static attributes (fixes #1989). | Ms2ger | 2014-06-22 | 1 | -28/+104 |
| | |||||
* | Implement static methods (fixes #1989). | Ms2ger | 2014-06-22 | 1 | -4/+48 |
| | |||||
* | Introduce static makeNativeName methods to share code with the upcoming ↵ | Ms2ger | 2014-06-22 | 1 | -12/+27 |
| | | | | static members. | ||||
* | Pass the NativeProperties struct to CreateInterfaceObjects2. | Ms2ger | 2014-06-22 | 1 | -6/+1 |
| | | | | This will simplify adding more kinds of properties, such as static attributes. | ||||
* | Introduce a NativeProperties struct to store the properties. | Ms2ger | 2014-06-22 | 1 | -16/+36 |
| | | | | This will simplify adding more kinds of properties, such as static attributes. | ||||
* | Store the arrays of properties as &'static [T] rather than [T, ..N]. | Ms2ger | 2014-06-22 | 1 | -3/+3 |
| | | | | | This means the .as_slice() call (which is problematic when storing the array in a static struct) is no longer necessary. | ||||
* | Remove some spurious newlines from the generated code. | Ms2ger | 2014-06-21 | 1 | -17/+19 |
| |