aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/bindings/codegen/CodegenRust.py
Commit message (Collapse)AuthorAgeFilesLines
* auto merge of #2093 : Ms2ger/servo/DOMObjectPointerType, r=jdmbors-servo2014-04-101-10/+4
|\
| * Remove DOMObjectPointerType.Ms2ger2014-04-101-10/+4
| |
* | Make GetCallableProperty more rustic.Ms2ger2014-04-101-9/+9
|/
* Remove getWrapTemplateForType and simplify wrapForType.Ms2ger2014-04-101-87/+16
|
* Use ToJSValConvertible for all conversions to JSVal.Ms2ger2014-04-101-72/+2
|
* Remove all traces of C wrappers for SpiderMonkey class stubs.Josh Matthews2014-04-081-47/+47
|
* auto merge of #2051 : Ms2ger/servo/more-xray, r=jdmbors-servo2014-04-071-31/+12
|\ | | | | | | On top of #2050
| * Remove some more xray code.Ms2ger2014-04-061-31/+12
| |
* | auto merge of #2050 : sankha93/servo/rmxray, r=Ms2gerbors-servo2014-04-061-109/+2
|\|
| * Remove XRay related stuff from codegen (fixes #1936)Sankha Narayan Guria2014-04-071-109/+2
| |
* | Use ToJSValConvertible to convert nullable enums to JSVal.Ms2ger2014-04-061-5/+3
| |
* | Use ToJSValConvertible to convert enums to JSVal.Ms2ger2014-04-061-9/+11
| |
* | Remove EnumEntry, as Rust already provides O(1) access to the string length.Ms2ger2014-04-061-3/+2
| |
* | Move all the generated code for enums into CGEnum.Ms2ger2014-04-061-22/+22
|/
* Upgrade rust.Ms2ger2014-04-041-9/+9
|
* Annotate 'inline' to TCast::to/to_unchecked/from.Tetsuharu OHZEKI2014-03-231-0/+3
|
* Remove |unused| field from DOMClass.(fixes #1960)lpy2014-03-221-1/+0
|
* auto merge of #1950 : Ms2ger/servo/nullable-string-with-null-default, r=jdmbors-servo2014-03-211-2/+1
|\
| * Fix code generation for a null default value for nullable string arguments.Ms2ger2014-03-201-2/+1
| |
* | Make unwrap and unwrap_object less generic.Ms2ger2014-03-201-2/+2
| |
* | Remove support for non-castable arguments.Ms2ger2014-03-201-30/+16
|/
* Stop returning None from getRetvalDeclarationForType and update documentation.Ms2ger2014-03-201-13/+7
|
* Make the result and result_fallible variables immutable.Ms2ger2014-03-201-2/+2
|
* Remove the declareResult argument to CGCallGenerator's constructor.Ms2ger2014-03-201-2/+2
|
* Use CGIfElseWrapper in a few more places.Ms2ger2014-03-201-20/+12
|
* Remove the codeToSetNull argument to wrapObjectTemplate.Ms2ger2014-03-201-6/+4
|
* Remove the preSuccess and postSuccess arguments to ↵Ms2ger2014-03-201-17/+6
| | | | | | getJSToNativeConversionTemplate. They were used for unions until 06f9afdad52cba426aedd45d0e08a7b2bdecc8f4.
* Remove unused import of std::intrinsics::uninit.Ms2ger2014-03-201-1/+0
|
* auto merge of #1864 : saneyuki/servo/split_cast_to, r=jdmbors-servo2014-03-201-2/+9
|\ | | | | | | fix #1836
| * Split TCast::to into TCast::to_unchecked and TCast::to.Tetsuharu OHZEKI2014-03-201-2/+9
| |
* | auto merge of #1943 : lpy/servo/issue1933, r=jdmbors-servo2014-03-201-0/+2
|\ \ | | | | | | | | | see #1933
| * | Force infallible binding methods to return void.(fixes #1933)lpy2014-03-201-0/+2
| | |
* | | auto merge of #1945 : Ms2ger/servo/1196-isDefinitelyObject, r=jdmbors-servo2014-03-201-2/+2
|\ \ \ | |_|/ |/| | | | | ... and fix nearby whitespace (fixes #1196).
| * | Pass the isDefinitelyObject argument to wrapObjectTemplate and fix nearby ↵Ms2ger2014-03-201-2/+2
| | | | | | | | | | | | whitespace (fixes #1196).
* | | auto merge of #1944 : lpy/servo/issue1938, r=Ms2gerbors-servo2014-03-201-3/+3
|\ \ \ | |/ / |/| | | | | see #1938
| * | Rename squirrel_away_unboxed to squirrel_away_unique.(fixes #1938)lpy2014-03-201-3/+3
| |/
* | auto merge of #1909 : Ms2ger/servo/optional-defaults, r=jdmbors-servo2014-03-191-9/+6
|\ \ | |/ |/| | | ...(fixes #1813).
| * Pass Option<T> for optional primitive arguments without a default value ↵Ms2ger2014-03-191-9/+6
| | | | | | | | (fixes #1813).
* | auto merge of #1915 : Ms2ger/servo/wrap-return-js, r=jdmbors-servo2014-03-191-15/+10
|\ \ | | | | | | | | | | | | | | | This lets us avoid the sketchy tricks in JS::new and Window::new, where we kept an unsafe pointer to the native object across the Wrap call that consumed the owned pointer.
| * | Return a JS<T> from *Binding::Wrap rather than a JSObject.Ms2ger2014-03-141-15/+10
| | | | | | | | | | | | | | | | | | This lets us avoid the sketchy tricks in JS::new and Window::new, where we kept an unsafe pointer to the native object across the Wrap call that consumed the owned pointer.
* | | auto merge of #1910 : Ms2ger/servo/dead-arg-CGAbstractMethod, r=jdmbors-servo2014-03-191-5/+5
|\ \ \ | |_|/ |/| |
| * | Remove a dead argument from CGAbstractMethod methods.Ms2ger2014-03-131-5/+5
| |/
* | Rust upgrade for new master rebaseLars Bergstrom2014-03-181-3/+3
| |
* | Warning police.Josh Matthews2014-03-181-14/+16
| |
* | Remove all traces of Box representation from bindings. Work around file read ↵Josh Matthews2014-03-181-19/+18
| | | | | | | | runtime problem.
* | Rust upgradesLars Bergstrom2014-03-181-16/+18
| |
* | Expose named constants in bindings.Tetsuharu OHZEKI2014-03-161-1/+1
| |
* | Implement named constants in bindingsTom Schuster2014-03-141-0/+32
|/
* Remove support for returning values through outparams.Ms2ger2014-03-121-19/+12
|
* Merge CGThing.declare and CGThing.define.Ms2ger2014-03-111-133/+60
| | | | | This distincion is carried over from the C++ codegen, but it has no meaning in Rust.