aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen/CodegenRust.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Codegen empty lines fixBruno de Oliveira Abinader2014-12-301-42/+34
|
* Codegen indent fixesBruno de Oliveira Abinader2014-12-301-5/+5
|
* Codegen whitespace fixesBruno de Oliveira Abinader2014-12-301-362/+362
|
* Add support for named deleterBruno de Oliveira Abinader2014-12-291-2/+43
| | | | Closes #4469.
* script: to_string() -> into_string()Manish Goregaokar2014-12-271-2/+2
|
* auto merge of #4467 : servo/servo/dataset, r=Ms2gerbors-servo2014-12-251-9/+20
|\
| * Implement dummy getOwnPropertyNames and enumerate traps.Ms2ger2014-12-241-3/+4
| |
| * Correct the generated code for NamedSetter calls.Bruno de Oliveira Abinader2014-12-231-1/+8
| |
| * Use the custom defineProperty trap when it exists.Bruno de Oliveira Abinader2014-12-231-2/+5
| |
| * Call the NamedGetter method from the get trap in proxy bindings.Bruno de Oliveira Abinader2014-12-231-3/+3
| |
* | This fixes #4166. throw_dom_exception will take the GlobalRef by value, and ↵Matt McCoy2014-12-241-1/+1
|/ | | | all generated code will pass it by value.
* Revert PR #4038 for causing WPT failures.Ms2ger2014-12-231-16/+6
|
* auto merge of #4454 : amwatson/servo/global_update, r=jdmbors-servo2014-12-201-1/+1
|\ | | | | | | Changed fn_wrap argument in reflect_dom_object() and reflect_node() to pass GlobalRef by value rather than by reference. Fixes #4165
| * GlobalRef passed by value in reflect_dom_object, reflect_node #4165Amanda Watson2014-12-201-1/+1
| |
* | auto merge of #4452 : Ms2ger/servo/_obj_toString, r=jdmbors-servo2014-12-201-2/+1
|\ \ | |/ |/|
| * Simplify _obj_toString by using JS_NewStringCopyN.Ms2ger2014-12-201-2/+1
| |
* | auto merge of #4038 : brunoabinader/servo/dataset, r=Ms2gerbors-servo2014-12-201-6/+16
|\ \ | |/ |/| | | | | | | Spec: https://html.spec.whatwg.org/multipage/dom.html#dom-dataset Closes #2974.
| * CodegenRust fixes for NamedGetterBruno de Oliveira Abinader2014-12-191-6/+16
| |
* | Move unwrap_jsmanaged and related machinery to conversions.rs.Ms2ger2014-12-201-3/+5
| |
* | Use unwrap() when finalizing.Ms2ger2014-12-201-4/+4
| | | | | | | | This allows us to duplicate a little less code.
* | Remove the proto_{id,depth} arguments from unwrap_jsmanaged.Ms2ger2014-12-201-5/+1
|/ | | | | Instead, we infer them from the type we're unwrapping into. This will prevent any mismatches between the type we return and the type we check for.
* Rename the PrototypeList enums to fix case build warnings.Ms2ger2014-12-181-14/+14
|
* Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.Ms2ger2014-12-171-40/+38
|
* Fixed codegen error regarding Uint8ClampedArrayEdit Balint2014-12-161-3/+2
|
* Make callers of `${Derived}::${base}()` use casts instead.Tetsuharu OHZEKI2014-11-281-3/+9
|
* Fix binding generation for Callback Functions and Callback InterfacesMukilan Thiyagarajan2014-11-151-331/+76
|
* Add KeyboardEvent stub.Josh Matthews2014-11-131-9/+5
|
* Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8aJack Moffitt2014-11-131-29/+29
|
* Remove VoidVal.Ms2ger2014-11-081-1/+0
| | | | There are no undefined constants in IDL.
* Couple more fixes to handle 'setter' properties in WebIDLBruno de Oliveira Abinader2014-11-061-5/+10
|
* Various fixes to CodegenRust.pyBruno de Oliveira Abinader2014-11-031-4/+5
|
* Implement [LenientThis] support and enable it in Document.webidlMukilan Thiyagarajan2014-10-251-7/+7
| | | | Closes issue #3760
* Move jsstring_to_str and jsid_to_str to conversions.rs.Ms2ger2014-10-161-1/+1
| | | | | | This appears to be a more sensible location for them. Relevant to #433.
* Add a to_js method to the casting trait code in CodegenRust.pyKasey Carrothers2014-10-141-0/+11
| | | | | | Replace the manual checks and calls to transmute_copy in /layout/wrapper.rs with calls to to_js Fixes #3616
* script: Use atom comparison in more places, especially for attributes.Patrick Walton2014-10-141-0/+1
| | | | 75% improvement in style recalc for Guardians of the Galaxy.
* Privatize InheritTypesTim Taubert2014-10-131-1/+1
|
* Remove unnecessary `deref()`s (fixes #3586)Tim Taubert2014-10-091-2/+2
|
* Remove unused cx_for_dom_object function.Ms2ger2014-09-251-1/+1
|
* Move global_object_for_js_object to global.rs.Ms2ger2014-09-251-1/+1
| | | | This appears to be a more sensible place for it (related to #433).
* Use JSTraceable everywhereManish Goregaokar2014-09-241-13/+4
|
* Remove the glob import for UnionTypes.Ms2ger2014-09-211-3/+2
|
* Share code to compute the type of a union.Ms2ger2014-09-211-5/+9
| | | | This does not change the generated code.
* Don't use a glob import for codegen::{PrototypeList, RegisterBindings}.Ms2ger2014-09-211-1/+1
|
* Eliminate warningsKeegan McAllister2014-09-201-5/+5
|
* Upgrade to rustc 0.12.0-pre (4d2af3861 2014-09-17 15:51:11 +0000)Keegan McAllister2014-09-201-3/+3
|
* More progress in the &JSRef -> JSRef conversionCameron Zwarich2014-09-201-2/+2
| | | | | Change all of the <Class>Methods traits to take `self` instead of `&self`.
* First steps of &JSRef -> JSRef conversionCameron Zwarich2014-09-191-23/+26
| | | | | | | | | Replace &JSRef with JSRef in the bulk of the generated code. This will remove a level of indirection throughout all DOM code. This patch doesn't change methods implemented on JSRef<T> to take `self` rather than `&self`, and it leaves a few other uses of &JSRef, but those changes can be made incrementally.
* Remove uses of &mut JSRefCameron Zwarich2014-09-181-13/+0
| | | | | Since everything with JSRef happens with interior mutability, it doesn't make any sense to use an &mut JSRef.
* Revert "script: Use atom comparison in more places, especially for ↵Josh Matthews2014-09-181-1/+0
| | | | | | attributes." for persistent test failures. This reverts commit 874db261046d6155b1942efa106d2e0014295d6d.
* script: Use atom comparison in more places, especially for attributes.Patrick Walton2014-09-171-0/+1
| | | | 75% improvement in style recalc for Guardians of the Galaxy.