Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't define empty FooMethods traits. | Ms2ger | 2015-03-13 | 1 | -5/+8 |
| | |||||
* | Remove unused lifetime parameters to dictionaries. | Ms2ger | 2015-03-13 | 1 | -6/+6 |
| | | | | They were used for Root members, but those no longer use lifetimes. | ||||
* | Fix #2108 by renaming unwrap functions to native_from_reflector | Chris Double | 2015-03-12 | 3 | -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 Slayton | 2015-03-10 | 1 | -22/+12 |
| | |||||
* | auto merge of #5054 : psdh/servo/scriptimplementation, r=jdm | bors-servo | 2015-03-06 | 1 | -0/+3 |
|\ | | | | | | | Fixes #4089 | ||||
| * | implement missing steps from "prepare a script" algorithm | Prabhjyot Singh Sodhi | 2015-03-06 | 1 | -0/+3 |
| | | | | | | | | Fixes #4089 | ||||
* | | ScriptTask::mouse_over_targets is not traced #4985 | Guro Bokum | 2015-03-06 | 1 | -1/+2 |
| | | |||||
* | | auto merge of #5127 : KiChjang/servo/partial-eq-jsref, r=Ms2ger | bors-servo | 2015-03-05 | 1 | -1/+1 |
|\ \ | | | | | | | | | | Fixes #5112, #3960 | ||||
| * | | Added type parameter to PartialEq on JSRef (fixes #5112, #3960) | Keith Yeung | 2015-03-03 | 1 | -1/+1 |
| |/ | |||||
* | | Documentation and cleanup. | Josh Matthews | 2015-03-03 | 1 | -2/+0 |
| | | |||||
* | | Move everything unrelated to the frame tree out of Page and into Document or ↵ | Josh Matthews | 2015-03-03 | 3 | -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 Weinstock | 2015-03-03 | 1 | -1/+3 |
|/ | |||||
* | Fix string default values. | Ms2ger | 2015-03-02 | 1 | -9/+2 |
| | |||||
* | auto merge of #5103 : Ms2ger/servo/from_actual, r=jdm | bors-servo | 2015-02-28 | 1 | -1/+1 |
|\ | |||||
| * | Use the correct lifetime bounds for FooCast::from_actual. | Ms2ger | 2015-02-28 | 1 | -1/+1 |
| | | |||||
* | | auto merge of #5099 : Ms2ger/servo/exceptions, r=saneyuki | bors-servo | 2015-02-28 | 2 | -28/+56 |
|\ \ | |/ |/| | |||||
| * | Add support for throwing TypeErrors from DOM implementations. | Ms2ger | 2015-02-28 | 1 | -0/+10 |
| | | |||||
| * | Clarify the documentation for dom::bindings::error::Error variants. | Ms2ger | 2015-02-28 | 1 | -15/+15 |
| | | |||||
| * | Inline DOMException::new_from_error. | Ms2ger | 2015-02-28 | 1 | -2/+20 |
| | | |||||
| * | Rename FailureUnknown to JSFailed. | Ms2ger | 2015-02-28 | 2 | -11/+11 |
| | | |||||
* | | auto merge of #5094 : chmanchester/servo/binarynames, r=jdm | bors-servo | 2015-02-28 | 3 | -20/+42 |
|\ \ | |||||
| * | | Add support for BinaryName attribute to servo's codegen (fixes #4435) r=jdm | Chris Manchester | 2015-02-27 | 3 | -20/+42 |
| |/ | |||||
* / | Fix a typo in argument_type. | Ms2ger | 2015-02-28 | 1 | -2/+2 |
|/ | |||||
* | Simplify RootCollection::unroot a bit. | Ms2ger | 2015-02-23 | 1 | -5/+3 |
| | |||||
* | script: Implement enough 2D canvas support to render basic SVGs such as the ↵ | Patrick Walton | 2015-02-22 | 1 | -0/+2 |
| | | | | tiger. | ||||
* | Mark some unused arguments as unused in bindings. | Ms2ger | 2015-02-22 | 1 | -4/+4 |
| | |||||
* | Only unwrap the object once when finalizing. | Ms2ger | 2015-02-22 | 1 | -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 timers | Prabhjyot Singh Sodhi | 2015-02-22 | 1 | -1/+1 |
| | | | | Fixes #4923 | ||||
* | Remove the implementation of ToJSValConvertible for JS<T>. | Ms2ger | 2015-02-21 | 1 | -7/+1 |
| | | | | It is unused and doesn't serve a purpose. | ||||
* | auto merge of #4882 : chmanchester/servo/stringifiers, r=Ms2ger | bors-servo | 2015-02-20 | 2 | -31/+61 |
|\ | |||||
| * | Add stringifier method support to CodegenRust.py (fixes #1986) | Chris Manchester | 2015-02-20 | 2 | -31/+61 |
| | | | | | | | | | | | | Add a stringifier to URLUtils (Location). (fixes #4605) wpt metadata updates for #4605 | ||||
* | | Replace uint/int by usize/isize in various places. | Ms2ger | 2015-02-20 | 7 | -21/+21 |
| | | |||||
* | | Pass isize to ptr.offset(). | Ms2ger | 2015-02-20 | 1 | -2/+2 |
| | | |||||
* | | Return usize from IDLInterface::get_prototype_depth. | Ms2ger | 2015-02-20 | 2 | -2/+2 |
| | | | | | | | | It is used as an index into an array. | ||||
* | | Use u32 for reserved slot indices. | Ms2ger | 2015-02-20 | 2 | -5/+5 |
| | | | | | | | | This is what the JSAPI expects. | ||||
* | | Stop casting the right-hand side of shifts to uint. | Ms2ger | 2015-02-20 | 1 | -2/+2 |
| | | | | | | | | This is no longer required. | ||||
* | | Use the try macro to initialize dictionaries. | Ms2ger | 2015-02-20 | 1 | -9/+6 |
| | | |||||
* | | Remove the Option<Self> arguments from IDLInterface. | Ms2ger | 2015-02-19 | 2 | -8/+6 |
| | | |||||
* | | Porting Gecko's JSToNativeConversionInfo changes to Servo's codegen | Prabhjyot Singh Sodhi | 2015-02-18 | 1 | -34/+84 |
| | | | | | | | | Fixes #4800 | ||||
* | | Replace the FooCast traits by structs. | Ms2ger | 2015-02-16 | 1 | -11/+11 |
| | | | | | | | | This should allow us to remove most type annotations in the DOM. | ||||
* | | Fix indentation in InheritTypes. | Ms2ger | 2015-02-16 | 1 | -2/+2 |
| | | |||||
* | | Improve the formatting for FromJSValConvertible implementations in UnionTypes. | Ms2ger | 2015-02-15 | 1 | -2/+5 |
| | | |||||
* | | auto merge of #4910 : Ms2ger/servo/squirrel, r=jdm | bors-servo | 2015-02-12 | 2 | -11/+6 |
|\ \ | |||||
| * | | Replace squirrel_away_unique by boxed::into_raw. | Ms2ger | 2015-02-12 | 2 | -11/+6 |
| | | | |||||
* | | | auto merge of #4909 : saneyuki/servo/warn, r=jdm | bors-servo | 2015-02-12 | 1 | -4/+10 |
|\ \ \ | | | | | | | | | | | | | follow up #4893 | ||||
| * | | | DOMRefCell<T>.is_mutably_borrowed() should return the state correctly. | Tetsuharu OHZEKI | 2015-02-13 | 1 | -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 OHZEKI | 2015-02-13 | 1 | -3/+9 |
| |/ / | |||||
* | | | Remove MutNullableJS::get_inner. | Ms2ger | 2015-02-12 | 1 | -7/+1 |
| | | | | | | | | | | | | There should be no reason to call this. | ||||
* | | | Remove JS::unsafe_get. | Ms2ger | 2015-02-12 | 1 | -8/+2 |
| | | | | | | | | | | | | | | | The codegen users already migrated to Unrooted, and the layout users are better off using LayoutJS. | ||||
* | | | Add Unrooted::from_js. | Ms2ger | 2015-02-12 | 1 | -0/+8 |
|/ / | | | | | | | | | There should not be a JS here; that is #2661. Until that's fixed, though, it's better to encapsulate it. |