aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/bindings/codegen/CodegenRust.py
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Completely rewrite the code to convert JSVals to unions.Ms2ger2014-03-111-377/+176
| | | | | | This code works correctly for the two unions currently in use, and raises exceptions in codegen for most other cases. I will implement those cases when the need arises.
* Replace GetReflector by an implementation of ToJSValConvertible.Ms2ger2014-03-111-37/+3
|
* Reorder GetProtoObject.Ms2ger2014-03-111-5/+6
|
* Cleanup and simplify CGImports.Ms2ger2014-03-111-133/+124
|
* Cleanup the code in PrototypeList().Ms2ger2014-03-111-43/+5
|
* Stop pointlessly indenting GetProtoObject.Ms2ger2014-03-111-1/+1
|
* Remove some dead code from CGAbstractMethod._decorators.Ms2ger2014-03-111-8/+6
|
* Remove unused CGAbstractStaticMethod class.Ms2ger2014-03-111-20/+1
|
* auto merge of #1877 : Ms2ger/servo/dead-codegen-code, r=jdmbors-servo2014-03-101-200/+6
|\
| * Remove code from codegen that is nowhere close to working.Ms2ger2014-03-101-200/+6
| |
* | Replace jsval_to_str and jsval_to_domstring with a FromJSValConvertible ↵Ms2ger2014-03-101-20/+19
| | | | | | | | implementation.
* | Replace str_to_jsval and domstring_to_jsval by a ToJSValConvertible ↵Ms2ger2014-03-101-6/+3
| | | | | | | | implementation.
* | Allow passing options to FromJSValConvertible::from_jsval.Ms2ger2014-03-101-1/+1
| |
* | Pass a JSContext to ToJSValConvertible::to_jsval.Ms2ger2014-03-101-1/+1
|/