aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom
Commit message (Collapse)AuthorAgeFilesLines
* Use the try macro to initialize dictionaries.Ms2ger2015-02-201-9/+6
|
* Remove the Option<Self> arguments from IDLInterface.Ms2ger2015-02-192-8/+6
|
* auto merge of #4951 : glennw/servo/set-title, r=jdmbors-servo2015-02-181-0/+13
|\
| * Change window title to reflect document titleGlenn Watson2015-02-181-0/+13
| |
* | Porting Gecko's JSToNativeConversionInfo changes to Servo's codegenPrabhjyot Singh Sodhi2015-02-181-34/+84
|/ | | | Fixes #4800
* XMLHttpRequestEventTarget should not be [NoInterfaceObject].Tetsuharu OHZEKI2015-02-181-1/+1
|
* Use rustc-serialize rather than the built-in deprecated serialize.Ms2ger2015-02-171-1/+1
|
* 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
|
* Do not glob-export DevtoolsControlMsg variants.Ruud van Asseldonk2015-02-131-2/+3
|
* 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-122-17/+11
| | | | | | | | | | The codegen users already migrated to Unrooted, and the layout users are better off using LayoutJS.
* | Add Unrooted::from_js.Ms2ger2015-02-122-3/+9
|/ | | | | There should not be a JS here; that is #2661. Until that's fixed, though, it's better to encapsulate it.
* Fix some warnings in script.Ms2ger2015-02-1210-14/+14
|
* auto merge of #4866 : KiChjang/servo/trigger-fragment-string, r=jdmbors-servo2015-02-121-4/+7
|\ | | | | | | Fixes #4863
| * Updated trigger_fragment to take a string instead of URL and updated callersKeith Yeung2015-02-071-4/+7
| |
* | Upgrade to rustc ba2f13ef0 2015-02-04Simon Sapin2015-02-1115-34/+30
| |
* | auto merge of #4889 : Ms2ger/servo/4747-base64, r=jdmbors-servo2015-02-101-1/+1
|\ \
| * | Use base64 from rustc-serialize (fixes #4747).Ms2ger2015-02-101-1/+1
| | |
* | | auto merge of #4885 : Ms2ger/servo/doc-js, r=Manishearthbors-servo2015-02-101-62/+85
|\ \ \ | |/ / |/| |
| * | Improve documentation for MutHeap and RootCollection.Ms2ger2015-02-101-2/+8
| | |
| * | Improve the documentation in js.rs.Ms2ger2015-02-101-31/+31
| | |
| * | Rewrap the documentation in js.rs to 80 columns for readability.Ms2ger2015-02-101-56/+73
| | |
* | | auto merge of #4887 : Ms2ger/servo/servo_net, r=jdmbors-servo2015-02-108-11/+11
|\ \ \
| * | | Import net as net rather than servo_net.Ms2ger2015-02-108-11/+11
| | | |
* | | | auto merge of #4878 : saneyuki/servo/doc, r=Ms2gerbors-servo2015-02-103-51/+15
|\ \ \ \ | |/ / / |/| | | | | | | Now, we have many documents about dom bindings as inline comments. It's better to fuse a standalone markdown document to them.
| * | | [script] Merge the binding design document into inline doc comments.Tetsuharu OHZEKI2015-02-103-51/+15
| | | |
* | | | Import msg as msg rather than servo_msg.Ms2ger2015-02-105-9/+9
| |/ / |/| |
* | | Document the main steps involved in adding a new DOM interface.Ms2ger2015-02-091-0/+14
|/ /
* | Use the try macro for the result of accept_node.Ms2ger2015-02-081-29/+23
| |
* | Remove incorrect SetterThrows annotation.Ms2ger2015-02-082-5/+3
| | | | | | | | This was copied from Gecko, which has an outdated throwing condition.
* | Implement window.frameElement, change window.parent to make use of it.Glenn Watson2015-02-073-16/+28
|/
* Implement an Unrooted smart pointer to replace JS when it is not traced.Ms2ger2015-02-0611-63/+137
|
* Implemented Location.assignKeith Yeung2015-02-062-1/+7
|
* auto merge of #4854 : jdm/servo/workererr, r=jdmbors-servo2015-02-052-3/+36
|\ | | | | | | | | | | ...rker object. Rebased from #4537.
| * Support firing error events from a dedicated worker at the containing worker ↵Shreya Bastikar2015-02-052-3/+36
| | | | | | | | object.
* | Add console message support to devtools. Does not actually cause logging to ↵Sagar Muchhal2015-02-051-5/+24
|/ | | | occur in the remote console.
* auto merge of #4845 : KiChjang/servo/location-in-doc, r=jdmbors-servo2015-02-052-5/+10
|\ | | | | | | Fixes #4840
| * Moved Location object from Window to DocumentKeith Yeung2015-02-062-5/+10
| |
* | auto merge of #4850 : Ms2ger/servo/root-deref, r=jdmbors-servo2015-02-057-60/+66
|\ \
| * | Remove the Root.jsref member.Ms2ger2015-02-051-7/+4
| | | | | | | | | | | | It is simpler to just construct it when the methods are called.
| * | Replace Root::deref by a custom get_unsound_ref_forever method.Ms2ger2015-02-057-54/+63
| |/ | | | | | | | | This will hopefully make it clearer that this is not the correct function to call.
* | Document the DOM.Ms2ger2015-02-053-0/+207
| | | | | | | | This is by no means complete, but it is a good place to start.
* | Fix a typo in the refcounted documentation.Ms2ger2015-02-051-1/+1
|/