aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings
Commit message (Collapse)AuthorAgeFilesLines
* 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-123-10/+10
| | | | | | | | | | 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'.
* Use new `if let` syntax wherever possible. Fixes #4153.Zack Slayton2015-03-101-22/+12
|
* auto merge of #5054 : psdh/servo/scriptimplementation, r=jdmbors-servo2015-03-061-0/+3
|\ | | | | | | Fixes #4089
| * implement missing steps from "prepare a script" algorithmPrabhjyot Singh Sodhi2015-03-061-0/+3
| | | | | | | | Fixes #4089
* | ScriptTask::mouse_over_targets is not traced #4985Guro Bokum2015-03-061-1/+2
| |
* | auto merge of #5127 : KiChjang/servo/partial-eq-jsref, r=Ms2gerbors-servo2015-03-051-1/+1
|\ \ | | | | | | | | | Fixes #5112, #3960
| * | Added type parameter to PartialEq on JSRef (fixes #5112, #3960)Keith Yeung2015-03-031-1/+1
| |/
* | Documentation and cleanup.Josh Matthews2015-03-031-2/+0
| |
* | Move everything unrelated to the frame tree out of Page and into Document or ↵Josh Matthews2015-03-033-3/+4
| | | | | | | | Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal.
* | Replace borrow with borrow_for_gc_trace in JSTraceable::trace (Issue #4778).Avi Weinstock2015-03-031-1/+3
|/
* 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
| |
* | auto merge of #5099 : Ms2ger/servo/exceptions, r=saneyukibors-servo2015-02-282-28/+56
|\ \ | |/ |/|
| * Add support for throwing TypeErrors from DOM implementations.Ms2ger2015-02-281-0/+10
| |
| * Clarify the documentation for dom::bindings::error::Error variants.Ms2ger2015-02-281-15/+15
| |
| * Inline DOMException::new_from_error.Ms2ger2015-02-281-2/+20
| |
| * Rename FailureUnknown to JSFailed.Ms2ger2015-02-282-11/+11
| |
* | auto merge of #5094 : chmanchester/servo/binarynames, r=jdmbors-servo2015-02-283-20/+42
|\ \
| * | Add support for BinaryName attribute to servo's codegen (fixes #4435) r=jdmChris Manchester2015-02-273-20/+42
| |/
* / Fix a typo in argument_type.Ms2ger2015-02-281-2/+2
|/
* Simplify RootCollection::unroot a bit.Ms2ger2015-02-231-5/+3
|
* script: Implement enough 2D canvas support to render basic SVGs such as the ↵Patrick Walton2015-02-221-0/+2
| | | | tiger.
* Mark some unused arguments as unused in bindings.Ms2ger2015-02-221-4/+4
|
* Only unwrap the object once when finalizing.Ms2ger2015-02-221-3/+2
| | | | | Previously, we had 'value' and 'this' locals, both storing a pointer to the DOM object, for no good reason.
* Fixing Intermittent failure in pages with timersPrabhjyot Singh Sodhi2015-02-221-1/+1
| | | | Fixes #4923
* Remove the implementation of ToJSValConvertible for JS<T>.Ms2ger2015-02-211-7/+1
| | | | It is unused and doesn't serve a purpose.
* auto merge of #4882 : chmanchester/servo/stringifiers, r=Ms2gerbors-servo2015-02-202-31/+61
|\
| * Add stringifier method support to CodegenRust.py (fixes #1986)Chris Manchester2015-02-202-31/+61
| | | | | | | | | | | | Add a stringifier to URLUtils (Location). (fixes #4605) wpt metadata updates for #4605
* | Replace uint/int by usize/isize in various places.Ms2ger2015-02-207-21/+21
| |
* | Pass isize to ptr.offset().Ms2ger2015-02-201-2/+2
| |
* | Return usize from IDLInterface::get_prototype_depth.Ms2ger2015-02-202-2/+2
| | | | | | | | It is used as an index into an array.
* | Use u32 for reserved slot indices.Ms2ger2015-02-202-5/+5
| | | | | | | | This is what the JSAPI expects.
* | Stop casting the right-hand side of shifts to uint.Ms2ger2015-02-201-2/+2
| | | | | | | | This is no longer required.
* | Use the try macro to initialize dictionaries.Ms2ger2015-02-201-9/+6
| |
* | Remove the Option<Self> arguments from IDLInterface.Ms2ger2015-02-192-8/+6
| |
* | Porting Gecko's JSToNativeConversionInfo changes to Servo's codegenPrabhjyot Singh Sodhi2015-02-181-34/+84
| | | | | | | | Fixes #4800
* | Replace the FooCast traits by structs.Ms2ger2015-02-161-11/+11
| | | | | | | | This should allow us to remove most type annotations in the DOM.
* | Fix indentation in InheritTypes.Ms2ger2015-02-161-2/+2
| |
* | Improve the formatting for FromJSValConvertible implementations in UnionTypes.Ms2ger2015-02-151-2/+5
| |
* | auto merge of #4910 : Ms2ger/servo/squirrel, r=jdmbors-servo2015-02-122-11/+6
|\ \
| * | Replace squirrel_away_unique by boxed::into_raw.Ms2ger2015-02-122-11/+6
| | |
* | | auto merge of #4909 : saneyuki/servo/warn, r=jdmbors-servo2015-02-121-4/+10
|\ \ \ | | | | | | | | | | | | follow up #4893
| * | | DOMRefCell<T>.is_mutably_borrowed() should return the state correctly.Tetsuharu OHZEKI2015-02-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This method returned the result of `RefCell<T>.try_borrow().is_some()`. But it meant whether the state **is not** BorrowState::Writing. This wrong is introduced by [1], Before it revision, this method had returned whether the state is BorrowState::Writing or not. This doesn't change callers of this method because git blames ([3], [4]) says that the caller is introduced by [2] and [2] is introduced before [1]. [1]: https://github.com/servo/servo/commit/86d609abaf7bf980a55916b90add2795cc11bf17 [2]: https://github.com/servo/servo/commit/49234484d6539a4d8df8374a9548c2004b8e68b7 [3]: https://github.com/servo/servo/blame/2cc08f289ab909de44fa09a07b2c43b70ce379b9/components/script/dom/servohtmlparser.rs [4]: https://github.com/servo/servo/blame/a7e29939a1df679bd865573dc71f7ba65f0268c4/components/script/dom/bindings/cell.rs
| * | | Fix warnings about RefCell<T>.try_borrow().Tetsuharu OHZEKI2015-02-131-3/+9
| |/ /
* | | Remove MutNullableJS::get_inner.Ms2ger2015-02-121-7/+1
| | | | | | | | | | | | There should be no reason to call this.
* | | Remove JS::unsafe_get.Ms2ger2015-02-121-8/+2
| | | | | | | | | | | | | | | The codegen users already migrated to Unrooted, and the layout users are better off using LayoutJS.
* | | Add Unrooted::from_js.Ms2ger2015-02-121-0/+8
|/ / | | | | | | | | There should not be a JS here; that is #2661. Until that's fixed, though, it's better to encapsulate it.