aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/bindings/codegen
Commit message (Collapse)AuthorAgeFilesLines
* Cargoify servoJack Moffitt2014-09-08103-30131/+0
|
* Throw TypeErrors instead of uncatcheable exceptions in CodegenRust.py (fixes ↵Pierre Louis Aublin2014-09-041-5/+6
| | | | #347, #3065).
* Support callback return types in codegenChris Paris2014-08-282-2/+2
|
* Introduce the NativePropertyHooks struct.Ms2ger2014-08-281-2/+32
| | | | This will be required for the cross-origin wrapper work.
* Update ProxyTraps to use real bools.Ms2ger2014-08-261-35/+38
|
* Merge pull request #3121 from Ms2ger/sorted-dictionariesMs2ger2014-08-201-23/+0
|\ | | | | Stop resorting dictionaries; r=abinader
| * Stop resorting dictionaries.Ms2ger2014-08-201-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).Ms2ger2014-08-203-10/+14
|/ | | | This makes our approach consistent with Gecko's.
* Add a documentation comment for CGWrapMethod.Ms2ger2014-08-191-0/+4
|
* Merge pull request #3112 from Ms2ger/hasInterfacePrototypeObjectManish Goregaokar2014-08-192-64/+49
|\ | | | | Replace hasInterfacePrototypeObject checks by isCallback checks in codegen.
| * Replace hasInterfacePrototypeObject checks by isCallback checks in codegen.Ms2ger2014-08-192-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.Ms2ger2014-08-191-67/+560
| |
* | Add a script to update the WebIDL parser.Ms2ger2014-08-193-0/+64
|/
* Upgrade Rust.Jack Moffitt2014-08-081-4/+6
|
* Correct the fallibility of proxy operations in the *Methods trait (fixes #3041).Ms2ger2014-08-081-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.Ms2ger2014-08-051-1/+4
|
* Throw a TypeError when unwrapping an interface argument fails.Ms2ger2014-08-051-1/+9
|
* Remove FailureFatalCastableObjectUnwrapper.Ms2ger2014-08-051-22/+8
| | | | | The inheritance pattern used here was not particularly enlightening, and only one caller uses FailureFatalCastableObjectUnwrapper.
* Fix the double indentation in CastableObjectUnwrapper.Ms2ger2014-08-051-7/+9
| | | | The current code indents the first line of codeOnFailure four spaces too far.
* Upgrade Rust.Jack Moffitt2014-08-021-77/+76
|
* Throw a TypeError when a non-object is passed where one is expected.Ms2ger2014-07-301-1/+1
|
* Implement the delete proxy trap (fixes #2213).Sankha Narayan Guria2014-07-291-2/+2
|
* Call the generated rather than the hand-written traits (fixes #2936).Ms2ger2014-07-271-4/+0
|
* Generate traits for the generated bindings code to call.Ms2ger2014-07-271-1/+106
|
* Remove an unused argument to needCx and use it in CGCallGenerator.Ms2ger2014-07-271-5/+3
|
* Pass a non-nullable string to NamedGetter.Ms2ger2014-07-271-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.Ms2ger2014-07-151-0/+3
| | | | Part of #2811.
* Introduce abstractions for global scopes.Ms2ger2014-07-151-2/+3
| | | | Part of #2811.
* Remove the unused 'obj' local from the construct hook.Ms2ger2014-07-141-1/+0
|
* Merge pull request #2820 from Ms2ger/RegisterBindingsMs2ger2014-07-131-8/+11
|\ | | | | Move the call to RegisterBindings::Register into WindowBinding::Wrap; r=jdm
| * Move the call to RegisterBindings::Register into WindowBinding::Wrap.Ms2ger2014-07-131-1/+4
| |
| * Pass a JSContext and a reflector to RegisterBindings::Register.Ms2ger2014-07-131-7/+7
| | | | | | | | | | This makes the generated code less dependent on the fact that all global objects are Windows.
* | Remove empty objects from Bindings.conf.Ms2ger2014-07-132-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.Ms2ger2014-07-121-32/+78
|
* Merge pull request #2807 from Ms2ger/pyflakes-2Josh Matthews2014-07-111-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.Ms2ger2014-07-111-30/+13
| |
* | Return a Temporary from *Binding::Wrap.Ms2ger2014-07-101-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/urlsearchparamsJosh Matthews2014-07-021-0/+1
|\ | | | | Add URLSearchParams interface with serialization support
| * Add URLSearchParams interface with serialization supportManish Goregaokar2014-07-021-0/+1
| |
* | Remove deref_mut from Untraceable/Traceable (fixes #2736)Manish Goregaokar2014-07-011-2/+4
|/
* Upgrade to latest Rust.Manish Goregaokar2014-06-271-3/+3
|
* Partial implementation of FormData and FileManish Goregaokar2014-06-251-0/+1
|
* Store this-values and arguments in immutable locals in codegen.Ms2ger2014-06-221-17/+14
|
* Implement static attributes (fixes #1989).Ms2ger2014-06-221-28/+104
|
* Implement static methods (fixes #1989).Ms2ger2014-06-221-4/+48
|
* Introduce static makeNativeName methods to share code with the upcoming ↵Ms2ger2014-06-221-12/+27
| | | | static members.
* Pass the NativeProperties struct to CreateInterfaceObjects2.Ms2ger2014-06-221-6/+1
| | | | This will simplify adding more kinds of properties, such as static attributes.
* Introduce a NativeProperties struct to store the properties.Ms2ger2014-06-221-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].Ms2ger2014-06-221-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.Ms2ger2014-06-211-17/+19
|