Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cargoify servo | Jack Moffitt | 2014-09-08 | 113 | -32722/+0 |
| | |||||
* | Avoid trying to trace a null JSVal. | Ms2ger | 2014-09-07 | 1 | -1/+1 |
| | | | | | JSVal::trace_kind() asserts that it is a markable type; null is a gcthing that is not markable. | ||||
* | 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 ConstantSpec::get_value. | Ms2ger | 2014-08-28 | 1 | -9/+15 |
| | | | | I'll need it for cross-origin wrappers as well. | ||||
* | Introduce the NativePropertyHooks struct. | Ms2ger | 2014-08-28 | 2 | -3/+45 |
| | | | | This will be required for the cross-origin wrapper work. | ||||
* | Factor out code to call JS_DeletePropertyById2. | Ms2ger | 2014-08-27 | 2 | -9/+15 |
| | | | | I'll need to write the same code again for cross-origin wrappers. | ||||
* | Update ProxyTraps to use real bools. | Ms2ger | 2014-08-26 | 2 | -52/+57 |
| | |||||
* | 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 |
|/ | |||||
* | Distinguish the sender to the own thread and to the parent thread in ↵ | Ms2ger | 2014-08-12 | 1 | -0/+2 |
| | | | | | | | | | DedicatedWorkerGlobalScope. The WorkerGlobalScope stores a reference to the sender for the own thread, to allow passing clones to sub-workers. The DedicatedWorkerGlobalScope additionally keeps a reference to the sender for the (unique) parent thread, to implement postMessage and memory management of the Worker object. | ||||
* | Store a pointer to the Worker in the DedicatedWorkerGlobalScope. | Ms2ger | 2014-08-12 | 1 | -0/+10 |
| | |||||
* | Throw a catchable exception from ThrowingConstructor. | Ms2ger | 2014-08-10 | 1 | -2/+3 |
| | |||||
* | Upgrade Rust. | Jack Moffitt | 2014-08-08 | 4 | -8/+12 |
| | |||||
* | 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 | 8 | -165/+136 |
| | |||||
* | 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 | 2 | -3/+22 |
| | |||||
* | 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. | ||||
* | Merge pull request #2933 from Ms2ger/initialize_global | Josh Matthews | 2014-07-27 | 1 | -0/+2 |
|\ | | | | | Assert that we're handed a DOM global in initialize_global. | ||||
| * | Assert that we're handed a DOM global in initialize_global. | Ms2ger | 2014-07-26 | 1 | -0/+2 |
| | | |||||
* | | Merge pull request #2932 from Ms2ger/fixme-347 | Manish Goregaokar | 2014-07-26 | 2 | -1/+2 |
|\ \ | |/ |/| | Add pointers to the relevant issue for some bugs; r=jdm | ||||
| * | Add pointers to the relevant issue for some bugs. | Ms2ger | 2014-07-26 | 2 | -1/+2 |
| | | |||||
* | | Add documentation for the DOM. | Ms2ger | 2014-07-26 | 9 | -12/+206 |
|/ | |||||
* | Don't fail on invalid JS syntax in event handlers. | Matt Brubeck | 2014-07-18 | 1 | -2/+18 |
| | | | | Fixes #2862. | ||||
* | Store the ScriptChan in the WorkerGlobalScope. | Ms2ger | 2014-07-17 | 1 | -1/+4 |
| | | | | This is necessary to make XMLHttpRequest and postMessage work. | ||||
* | Store the worker's URL in the WorkerGlobalScope. | Ms2ger | 2014-07-17 | 1 | -1/+4 |
| | | | | This will be necessary to resolve relative URLs in the worker. | ||||
* | Implement a resource_task getter on GlobalRef. | Ms2ger | 2014-07-17 | 1 | -3/+7 |
| | | | | This is needed to fetch resources on all threads. | ||||
* | Support Worker globals in global_object_for_js_object. | Ms2ger | 2014-07-15 | 1 | -2/+7 |
| | |||||
* | Store the JSContext in a field on the worker global scope. | Ms2ger | 2014-07-15 | 1 | -1/+1 |
| | |||||
* | Add worker scope variants to the Global enums. | Ms2ger | 2014-07-15 | 1 | -0/+10 |
| | |||||
* | Implement stub classes for WorkerGlobalScope and DedicatedWorkerGlobalScope. | Ms2ger | 2014-07-15 | 1 | -0/+3 |
| | | | | Part of #2811. | ||||
* | Add newlines in global.rs. | Ms2ger | 2014-07-15 | 1 | -0/+2 |
| | |||||
* | Introduce abstractions for global scopes. | Ms2ger | 2014-07-15 | 5 | -13/+100 |
| | | | | Part of #2811. | ||||
* | Simplify the implementation of cx_for_dom_reflector. | Ms2ger | 2014-07-15 | 1 | -6/+2 |
| | |||||
* | Rename variables that refer to global objects. | Ms2ger | 2014-07-15 | 2 | -4/+4 |
| | | | | | | | | This clarifies whether those variables will point to a Window object or an arbitrary global object. Note in particular that all IDL Constructors will accept an arbitrary global object. | ||||
* | Remove the unused 'obj' local from the construct hook. | Ms2ger | 2014-07-14 | 1 | -1/+0 |
| |