Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove HTMLDocument. | Ms2ger | 2014-02-24 | 1 | -51/+0 |
| | |||||
* | Move HTMLDocument members to Document. | Ms2ger | 2014-02-24 | 1 | -42/+0 |
| | |||||
* | Implement JSManaged for DOM objects. | Josh Matthews | 2014-02-24 | 1 | -21/+28 |
| | |||||
* | Use eq() and eq_slice() less, and map_default() more. | Ms2ger | 2014-02-16 | 1 | -11/+12 |
| | |||||
* | Implement document.URL & document.documentURI | Bruno de Oliveira Abinader | 2014-01-30 | 1 | -4/+5 |
| | | | | | | | | Specs: http://dom.spec.whatwg.org/#dom-document-url http://dom.spec.whatwg.org/#dom-document-documenturi This is a sub-task for #1428. | ||||
* | Move script::dom::namespace into util, in order to use it from style later. | Simon Sapin | 2014-01-25 | 1 | -1/+1 |
| | |||||
* | auto merge of #1533 : metajack/servo/unsafe-get-attr, r=jdm | bors-servo | 2014-01-22 | 1 | -3/+2 |
|\ | | | | | | | | | | | | | | | The old code was used by both layout and script, but was erroneously borrowing for the layout case (which causes parallelism problems). script now uses only `value_ref()` or `get_attribute()`, and layout now has its own unsafe version that dances around the borrows of `@mut Attr`. | ||||
| * | Change `get_attr()` to `get_attr_val_for_layout()`. | Jack Moffitt | 2014-01-22 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | | The old code was used by both layout and script, but was erroneously borrowing for the layout case (which causes parallelism problems). script now uses only `value_ref()` or `get_attribute()`, and layout now has its own unsafe version that dances around the borrows of `@mut Attr`. | ||||
* | | Basic support for Document::contentType | Bruno de Oliveira Abinader | 2014-01-21 | 1 | -1/+1 |
|/ | | | | | | | Spec: http://dom.spec.whatwg.org/#dom-document-contenttype This is a subtask for #1428, #1510 and #1526. | ||||
* | Remove unused imports. | Ms2ger | 2014-01-13 | 1 | -2/+0 |
| | |||||
* | Fix to avoid attribute name clash between Document/HTMLDocument | Bruno de Oliveira Abinader | 2014-01-08 | 1 | -8/+0 |
| | | | | | | | Use children() instead of traverse_preorder(), and avoid having GetHead() in both Document and HTMLDocument. Closes #1465. | ||||
* | Implement Document::head() | Bruno de Oliveira Abinader | 2014-01-07 | 1 | -4/+3 |
| | | | | | | | | Implementation details according to the specification below: http://www.whatwg.org/specs/web-apps/current-work/#dom-document-head This patch is for: https://github.com/mozilla/servo/issues/1465 | ||||
* | Pass a Namespace to Element::get_attr. | Ms2ger | 2013-12-23 | 1 | -2/+3 |
| | |||||
* | script: Eliminate the phantom type in favor of just whitelisting methods | Patrick Walton | 2013-12-17 | 1 | -2/+2 |
| | | | | | | | that layout can safely call. This is simpler. Currently, the set of methods is not safe, but I plan to lock it down more soon. | ||||
* | script: Make trees less generic | Patrick Walton | 2013-12-17 | 1 | -3/+1 |
| | |||||
* | Fix #1264: support namespaced attribute selectors. | Simon Sapin | 2013-12-10 | 1 | -2/+2 |
| | |||||
* | Remove Reflectable::GetParentObject. | Ms2ger | 2013-11-06 | 1 | -5/+1 |
| | |||||
* | Remove Reflectable::wrap_object_shared. | Ms2ger | 2013-11-06 | 1 | -5/+1 |
| | |||||
* | Rewrite Document creation and reflection. | Ms2ger | 2013-11-05 | 1 | -18/+10 |
| | |||||
* | Make Document a Node. | Josh Matthews | 2013-10-31 | 1 | -0/+4 |
| | |||||
* | Revert "Make Document a Node." for breaking Acid1 | Patrick Walton | 2013-10-24 | 1 | -5/+0 |
| | | | | | | | | This reverts commit 4e47d59165d186d0938fe9ffd726b2c1b83d50f4. Conflicts: src/components/script/dom/domparser.rs | ||||
* | Make Document a Node. | Josh Matthews | 2013-10-24 | 1 | -0/+5 |
| | |||||
* | Remove no-op implementations from Document and HTMLDocument. | Ms2ger | 2013-10-21 | 1 | -101/+1 |
| | |||||
* | Merge BindingObject and Reflectable. | Ms2ger | 2013-10-18 | 1 | -3/+1 |
| | |||||
* | Remove unused aTriedToWrap argument. | Ms2ger | 2013-10-17 | 1 | -2/+1 |
| | |||||
* | Move Element::get_attr to a trait defined in util::tree | Simon Sapin | 2013-10-16 | 1 | -1/+1 |
| | | | | … and add a get_local_name() method to that trait. | ||||
* | Issue #1071 - Ensure that Documents always have a non-null Window. | Ms2ger | 2013-10-16 | 1 | -2/+2 |
| | |||||
* | auto merge of #1051 : Ms2ger/servo/private-root, r=jdm | bors-servo | 2013-10-14 | 1 | -11/+4 |
|\ | | | | | | | In preparation for removing it as part of making Document a Node. | ||||
| * | Make Document::root private, in preparation for removing it as part of ↵ | Ms2ger | 2013-10-13 | 1 | -11/+4 |
| | | | | | | | | making Document a Node. | ||||
* | | Implement Window::get_cx() to reduce code repetition. | Ms2ger | 2013-10-13 | 1 | -2/+1 |
|/ | |||||
* | implement NodeList and consolidate common scope and context retrieval | Tim Taubert | 2013-10-11 | 1 | -7/+0 |
| | |||||
* | Introduce mutable/immutable variants of reflector() with named lifetimes, ↵ | Bobby Holley | 2013-10-10 | 1 | -1/+5 |
| | | | | and kill unsafe casts. | ||||
* | Rename some local variables and shorten some lines. | Bobby Holley | 2013-10-09 | 1 | -2/+1 |
| | | | | This was done manually, and might benefit from a more careful review. | ||||
* | Rename WrappableDocument stuff. | Bobby Holley | 2013-10-09 | 1 | -3/+3 |
| | |||||
* | Rename {get,set}_wrapper to {get,set}_jsobject. v1 | Bobby Holley | 2013-10-09 | 1 | -1/+1 |
| | |||||
* | Rename get_wrappercache() to reflector(). v1 | Bobby Holley | 2013-10-09 | 1 | -3/+3 |
| | | | | I also updated some variable names in the codegen. | ||||
* | Rename WrapperCache to Reflector. | Bobby Holley | 2013-10-09 | 1 | -2/+2 |
| | | | | | I think the abstraction from the raw JSObject is still probably worthwhile for now. | ||||
* | Rename CacheableWrapper to Reflectable. | Bobby Holley | 2013-10-09 | 1 | -3/+3 |
| | |||||
* | Don't require passing a root element to Document::new (needed for issue #888). | Ms2ger | 2013-10-05 | 1 | -10/+15 |
| | |||||
* | Make proxy bindings generate trace and finalization hooks. | Josh Matthews | 2013-09-30 | 1 | -2/+7 |
| | |||||
* | bindings: Return errors in Result rather than setting an out parameter | Keegan McAllister | 2013-09-18 | 1 | -23/+27 |
| | | | | Fixes #909. | ||||
* | Make DOMString an alias for Option<~str> | Keegan McAllister | 2013-09-18 | 1 | -10/+10 |
| | | | | Fixes #898. | ||||
* | Make Window store an @Page instead of a *Page and remove a bunch of unsafe code. | Josh Matthews | 2013-09-12 | 1 | -2/+2 |
| | |||||
* | Update Rust version again | Keegan McAllister | 2013-08-15 | 1 | -1/+1 |
| | | | | This gets us the new runtime. | ||||
* | For loops and misc changes | Keegan McAllister | 2013-08-15 | 1 | -1/+1 |
| | |||||
* | Reorganize tree ref / node traits | Keegan McAllister | 2013-08-15 | 1 | -1/+1 |
| | | | | | | rustc is no longer happy with impl<NR:TreeNodeRef<N>,N:TreeNode<NR>> TreeUtils for NR | ||||
* | Simplify HTMLCollection predicates | Youngsoo Son | 2013-08-09 | 1 | -23/+8 |
| | |||||
* | Add a getter of 'document.head' according to HTML spec. | Junyoung Cho | 2013-08-08 | 1 | -3/+10 |
| | | | | | Add a getter and a setter of 'document.title' according to HTML spec. Modify the test file. | ||||
* | Fill out various proxy binding traps as part of making setters work. Add ↵ | Josh Matthews | 2013-08-03 | 1 | -0/+4 |
| | | | | named getter and setter and indexed getter support, as well as proxy object expandos. Fixes #660. | ||||
* | Simplify HTMLCollection predicates | Keegan McAllister | 2013-08-02 | 1 | -18/+5 |
| |