aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen/CodegenRust.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Return Fallible from get_callable_property.Ms2ger2015-06-141-4/+2
|
* Fix codegen for overload resolution. Fixes #6300Mukilan Thiyagarajan2015-06-101-16/+9
|
* Auto merge of #6299 - GreenRecycleBin:#6271, r=Ms2gerbors-servo2015-06-071-2/+2
|\ | | | | | | | | | | | | | | | | | | get_proto_or_iface_array now returns *mut ProtoOrIfaceArray Fix #6271 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6299) <!-- Reviewable:end -->
| * Avoid casting in the callersDaniel Le2015-06-061-2/+2
| | | | | | | | | | | | get_proto_or_iface_array now returns *mut ProtoOrIfaceArray Fix #6271
* | Auto merge of #6297 - brson:inline, r=jdmbors-servo2015-06-061-10/+10
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | This results in a 14% compile time improvement. See https://gist.github.com/brson/b48dd03b06c406be68e6 I'm not suggesting you merge this as-is, but you might consider whether removing some of these is worth pursuing. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6297) <!-- Reviewable:end -->
| * Convert inline(always) to inline in CodegenRust and jstraceable.Brian Anderson2015-06-051-10/+10
| | | | | | | | | | | | This results in a 14% compile time improvement. See https://gist.github.com/brson/b48dd03b06c406be68e6
* | Trace the prototype array on the global object.Josh Matthews2015-06-011-2/+6
|/
* Add WebGLContextAttributes supportecoal952015-06-011-1/+28
| | | | | | | This commit also: * Allows to return non-rootable dictionaries from Codegen. * Merges the two context types in an enum type.
* Use byte string instead of handcrafted byte arrayPhilipp Hartwig2015-05-251-36/+14
|
* Fix length value of interface methodsAnthony Ramine2015-05-141-2/+2
|
* Generate forwarded settersAnthony Ramine2015-05-071-5/+32
|
* Auto merge of #5896 - nox:stringifier-proxy, r=jdmbors-servo2015-04-301-20/+1
|\ | | | | | | | | | | | | | | The proxy stringifiers called through {}.toString.call() (obj_toString) shouldn't use the stringifier. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5896) <!-- Reviewable:end -->
| * Properly generate proxy stringifiersAnthony Ramine2015-04-291-20/+1
| |
* | Implement Clone for Copy types.Ms2ger2015-04-281-3/+3
| |
* | Auto merge of #5845 - snf:defineProperty_fix, r=jdmbors-servo2015-04-281-14/+31
|\ \ | |/ |/| | | | | | | | | | | This patch should get rid of #5223. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5845) <!-- Reviewable:end -->
| * fix defineproperty for cases with namedsettersnf2015-04-271-14/+31
| |
* | Uniformise root() methodsAnthony Ramine2015-04-281-3/+3
| | | | | | | | | | They now live in traits Rootable, OptionalOptionalRootable, OptionalRootable and ResultRootable.
* | Fix some no_move errorsManish Goregaokar2015-04-281-0/+1
|/
* Auto merge of #5850 - nox:nullary-callbacks, r=jdmbors-servo2015-04-271-4/+1
|\ | | | | | | | | | | <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5850) <!-- Reviewable:end -->
| * Fix generation of nullary callbacksAnthony Ramine2015-04-261-4/+1
| |
* | Remove useless unsafe methods on LayoutJS<T>Anthony Ramine2015-04-261-2/+2
| |
* | Remove useless unsafe methods on JS<T>Anthony Ramine2015-04-261-9/+7
|/
* Auto merge of #5779 - nox:css-escape, r=Ms2gerbors-servo2015-04-251-4/+8
|\ | | | | | | | | | | <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5779) <!-- Reviewable:end -->
| * Fix generation of static JS methodsAnthony Ramine2015-04-251-4/+8
| | | | | | | | They now take a global argument.
* | Stop using the deprecated range function.Ms2ger2015-04-221-2/+2
|/
* Auto merge of #3726 - ChrisParis:callback-constants, r=jdmbors-servo2015-04-131-19/+41
|\ | | | | | | This addresses https://github.com/servo/servo/issues/3149. The immediate purpose is to support the constants in NodeFilter. The changes mostly follow the current Gecko Codegen.py. The main gist is that the generation of certain code artifacts is now gated by hasInterfaceObject() or hasInterfacePrototypeObject(), rather than by isCallback().
| * Support callback interfaces with constants.Chris Paris2015-04-111-19/+41
| |
* | Clean up CGImports a bit more.Josh Matthews2015-04-101-14/+24
|/
* Auto merge of #5619 - jdm:bindglob, r=Manishearthbors-servo2015-04-101-8/+42
|\ | | | | | | r? @Ms2ger
| * Remove glob import from generated bindings. Fixes #1788.Josh Matthews2015-04-091-8/+42
| |
* | Generate from_layout_js() conversion methodsAnthony Ramine2015-04-091-0/+6
|/
* Auto merge of #5564 - Ms2ger:FromJSValConvertible, r=saneyukibors-servo2015-04-081-17/+6
|\
| * When converting a non-finite float, throw the TypeError from the ↵Ms2ger2015-04-071-17/+6
| | | | | | | | | | | | | | | | FromJSValConvertible implementation. This removes some unnecessary custom code in the codegen and makes this implementation follow the convention of having thrown an exception when returning Err() from FromJSValConvertible.
* | Auto merge of #5569 - Ms2ger:object, r=jdmbors-servo2015-04-071-7/+17
|\ \
| * | Implement support for object in IDL.Ms2ger2015-04-071-7/+17
| |/
* / Add casts to Temporary typesAnthony Ramine2015-04-071-0/+10
|/
* Stop using int/uint in script.Ms2ger2015-04-031-1/+1
|
* Support the conversion behavior from ECMAScript value to restricted float.Tetsuharu OHZEKI2015-03-251-6/+17
| | | | | | | This is defined by WebIDL spec: - http://heycam.github.io/webidl/#es-float - http://heycam.github.io/webidl/#es-double
* Introduce Finite<T: Float> for restricted values defined in WebIDL.Tetsuharu OHZEKI2015-03-251-2/+3
|
* Add bindings support for unrestricted float/double values.Tetsuharu OHZEKI2015-03-251-3/+8
|
* Free the interface prototype array when Window is finalizedTim Cuthbertson2015-03-201-1/+7
| | | | Fixes #1871
* Implement USVString.Ms2ger2015-03-131-0/+32
|
* Update the WebIDL parser.Ms2ger2015-03-131-1/+2
|
* Don't define empty FooMethods traits.Ms2ger2015-03-131-5/+8
|
* Remove unused lifetime parameters to dictionaries.Ms2ger2015-03-131-6/+6
| | | | They were used for Root members, but those no longer use lifetimes.
* Fix #2108 by renaming unwrap functions to native_from_reflectorChris Double2015-03-121-4/+4
| | | | | | | | | | As noted by @bholley. "unwrap" is confusing because we are both stripping off wrappers *and* getting a native from a reflector. Changing the "unwrap" usage to "native_from_reflector" for clarity. This renames 'unwrap' to 'native_from_reflector' and 'unwrap_jsmanaged' to 'native_from_reflector_jsmanaged'.
* Move everything unrelated to the frame tree out of Page and into Document or ↵Josh Matthews2015-03-031-1/+0
| | | | Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal.
* Fix string default values.Ms2ger2015-03-021-9/+2
|
* auto merge of #5103 : Ms2ger/servo/from_actual, r=jdmbors-servo2015-02-281-1/+1
|\
| * Use the correct lifetime bounds for FooCast::from_actual.Ms2ger2015-02-281-1/+1
| |