aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen/CodegenRust.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove RethrowContentExceptions and related infrastructure.Ms2ger2015-01-101-31/+13
| | | | We do not intend to implement the DOM in JS, so this code isn't necessary.
* auto merge of #4566 : mattnenterprise/servo/globalref-by-value, r=Ms2gerbors-servo2015-01-081-1/+1
|\
| * Fixes #4164 Make Constructor and new functions take GlobalRef by valueMatt McCoy2015-01-071-1/+1
| |
* | auto merge of #4069 : guillaumebort/servo/fix/3936, r=jdmbors-servo2015-01-081-1/+2
|\ \
| * | Fix #3936 – {Window,WorkerGlobalScope}.set{Timeout,Interval}(DOMString)Guillaume Bort2015-01-071-1/+2
| |/
* / Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19.Ms2ger2015-01-081-4/+4
|/
* Slice some fixed-size arrays.Ms2ger2015-01-041-1/+1
|
* auto merge of #4526 : servo/servo/deref-1, r=Manishearthbors-servo2015-01-021-6/+6
|\ | | | | | | This is a start towards fixing #3868. Not all callers have been fixed yet, so the `Deref` implementation remains for now.
| * Rename GlobalRoot::root_ref() to GlobalRoot::r() for consistency.Ms2ger2015-01-011-2/+2
| |
| * Replace Root::deref() calls by Root::r() calls where possible.Ms2ger2015-01-011-2/+2
| | | | | | | | This changes those calls that were already sound.
| * Rename Root::root_ref() to Root::r().Ms2ger2015-01-011-2/+2
| | | | | | | | | | As it will be used much more widely after the upcoming changes, this limits the effort reading and writing the method calls.
* | Stop using ptr.is_not_null() in script.Ms2ger2015-01-011-12/+12
|/ | | | | This method is deprecated in rust master; removing its users in advance will make a future rust upgrade smoother.
* use str to_jsval() nowyodalee2015-01-011-1/+1
| | | | | | | | xmlhttprequest.rs, CodegenRust.py replace into_string().to_jsval() to to_jsval() conversions.rs DOMString to_jsval() use as_slice().tojsval() now
* Codegen style fixBruno de Oliveira Abinader2014-12-301-32/+47
|
* 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
|