Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use new `if let` syntax wherever possible. Fixes #4153. | Zack Slayton | 2015-03-10 | 1 | -9/+6 |
| | |||||
* | Documentation and cleanup. | Josh Matthews | 2015-03-03 | 1 | -2/+2 |
| | |||||
* | Move everything unrelated to the frame tree out of Page and into Document or ↵ | Josh Matthews | 2015-03-03 | 1 | -20/+16 |
| | | | | Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal. | ||||
* | Import msg as msg rather than servo_msg. | Ms2ger | 2015-02-10 | 1 | -3/+3 |
| | |||||
* | Replace Root::deref by a custom get_unsound_ref_forever method. | Ms2ger | 2015-02-05 | 1 | -0/+1 |
| | | | | | This will hopefully make it clearer that this is not the correct function to call. | ||||
* | Parsing sandbox attribute on iframe elements | Prabhjyot Singh Sodhi | 2015-02-05 | 1 | -0/+9 |
| | |||||
* | add `unwrap` to `send/recv` calls | Alexandru Cojocaru | 2015-02-03 | 1 | -1/+1 |
| | |||||
* | Import the util crate as util rather than servo_util. | Ms2ger | 2015-01-29 | 1 | -1/+1 |
| | | | | | | | | This used to conflict with the util crate from the standard library, which has long since been removed. The import in layout has not been changed because of a conflict with the util mod there. | ||||
* | Don't shadow lifetimes in script. | Ms2ger | 2015-01-28 | 1 | -1/+1 |
| | |||||
* | Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. | Josh Matthews | 2015-01-28 | 1 | -1/+1 |
| | |||||
* | Update FrameTree pipelines when appropriate | Martin Robinson | 2015-01-09 | 1 | -34/+29 |
| | | | | | | Instead of simply creating a new FrameTree when an iframe starts a load, update the existing FrameTree's pipeline. This prevents the FrameTree from accumulating many extra children. | ||||
* | Store HTMLIFrameElement sandbox attr as TokenList | Jim Hoskins | 2015-01-09 | 1 | -11/+13 |
| | | | | | | | | | | | Fixes #3758 Store the sandbox attribute of HTMLIFrameElement as a TokenList internally. Use .tokens() to iterate over the tokens instead of splitting on the string value. The external interface for sandbox remains a DOMString, which will need to be fixed when DOMSettableTokenList is implemented (#1717). | ||||
* | Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19. | Ms2ger | 2015-01-08 | 1 | -0/+1 |
| | |||||
* | auto merge of #4542 : servo/servo/pre-rustup_20141221, r=saneyuki | bors-servo | 2015-01-04 | 1 | -4/+4 |
|\ | | | | | | | In particular, this contains changes to qualify enums where rust will require it, and to stop using some features that will be removed. | ||||
| * | Rename constellation_msg::Msg variants. | Ms2ger | 2015-01-04 | 1 | -4/+4 |
| | | |||||
* | | auto merge of #4495 : MeghaGupta/servo/typeid, r=Ms2ger | bors-servo | 2015-01-04 | 1 | -4/+5 |
|\ \ | |/ |/| | |||||
| * | Add HTMLElementTypeId enum (fixes #3625) | Megha Gupta | 2015-01-02 | 1 | -4/+5 |
| | | |||||
* | | Remove unsound Root::deref() calls in HTML elements. | Ms2ger | 2015-01-01 | 1 | -0/+1 |
| | | |||||
* | | Replace Root::deref() calls by Root::r() calls where possible. | Ms2ger | 2015-01-01 | 1 | -4/+4 |
|/ | | | | This changes those calls that were already sound. | ||||
* | Remove manual impls of Reflectors (autogen) | Manish Goregaokar | 2014-12-27 | 1 | -6/+0 |
| | | | | | | | | | Obtained via: `find . -maxdepth 1 -type f -print0 | xargs -0 sed -z -i "s/\\nimpl Reflectable for[^{]*{[^}]*}[^}]*}\\n//"` `find . -maxdepth 1 -type f -print0 |xargs -0 grep -lZ dom_struct | xargs -0 grep -LZ "reflector()\\|Reflector::new" |xargs -0 sed -z -i "s/use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object};/use dom::bindings::utils::reflect_dom_object;/"` followed by semi-automated removal of leftover imports | ||||
* | Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d. | Ms2ger | 2014-12-17 | 1 | -13/+13 |
| | |||||
* | Add contentDocument support for HTMLIFrameElement. Fixes #3808. | Tomasz Kołodziejski | 2014-11-13 | 1 | -0/+18 |
| | |||||
* | Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8a | Jack Moffitt | 2014-11-13 | 1 | -1/+1 |
| | |||||
* | Send incremental frame tree updates to the compositor | Martin Robinson | 2014-11-11 | 1 | -9/+3 |
| | | | | | | | | | This allows the compositor to add frames after the call to SetIds, where the initial frame tree is created. There are still some issues preventing proper late frame creation, but this prevents crashes when it happens. Fixes #3738. | ||||
* | Rename LoadIframeUrlMsg to CreateIFrameAndLoadUrlMsg | Martin Robinson | 2014-11-11 | 1 | -2/+2 |
| | | | | This better reflects what the message does. | ||||
* | Really fix #3738 by only processing iframe src attributes during parsing. | Josh Matthews | 2014-10-23 | 1 | -1/+1 |
| | |||||
* | Implement Document.readyState. Prevent iframes from notifying the compositor ↵ | Josh Matthews | 2014-10-23 | 1 | -3/+9 |
| | | | | after the initial parse. Fixes #1720. Fixes #3738. | ||||
* | Usage of JSRef<Attr> in before_remove_attr & after_set_attr | Bruno de Oliveira Abinader | 2014-10-22 | 1 | -30/+33 |
| | | | | | JSRef<Attr> does not require allocating a DOMString for value, which are unused in most cases. It also provides more access to Attr data. | ||||
* | Use #[dom_struct] everywhere | Manish Goregaokar | 2014-10-16 | 1 | -3/+1 |
| | |||||
* | script: Use atom comparison in more places, especially for attributes. | Patrick Walton | 2014-10-14 | 1 | -5/+5 |
| | | | | 75% improvement in style recalc for Guardians of the Galaxy. | ||||
* | Privatize Window | Tim Taubert | 2014-10-13 | 1 | -1/+1 |
| | |||||
* | Privatize EventTarget and EventListenerEntry | Tim Taubert | 2014-10-13 | 1 | -1/+1 |
| | |||||
* | Privatize InheritTypes | Tim Taubert | 2014-10-13 | 1 | -5/+24 |
| | |||||
* | Remove unnecessary `deref()`s (fixes #3586) | Tim Taubert | 2014-10-09 | 1 | -7/+7 |
| | |||||
* | Take the prefix from createElementNS into account for HTML elements | Gilles Leblanc | 2014-10-06 | 1 | -4/+4 |
| | | | | Fixes #3139 | ||||
* | Remove Traceable/Untraceable from page.rs | Manish Goregaokar | 2014-10-05 | 1 | -3/+3 |
| | |||||
* | Remove Traceable from htmliframelement.rs | Manish Goregaokar | 2014-10-05 | 1 | -10/+9 |
| | |||||
* | Use string-cache's Namespace type | Keegan McAllister | 2014-09-29 | 1 | -2/+1 |
| | |||||
* | Eliminate servo_util::atom | Keegan McAllister | 2014-09-29 | 1 | -1/+1 |
| | | | | We only needed this for Encodable, and now we use JSTraceable instead. | ||||
* | Fix indentation in is_htmliframeelement. | Ms2ger | 2014-09-28 | 1 | -1/+1 |
| | |||||
* | Made some DOM fields private. | ProgramFOX | 2014-09-26 | 1 | -1/+1 |
| | | | | Relevant to #2242. | ||||
* | Use JSTraceable everywhere | Manish Goregaokar | 2014-09-24 | 1 | -2/+2 |
| | |||||
* | Remove some extraneous &* pairs | Cameron Zwarich | 2014-09-20 | 1 | -1/+1 |
| | |||||
* | Convert various helper traits from &JSRef to JSRef | Cameron Zwarich | 2014-09-20 | 1 | -9/+9 |
| | | | | | | | | | | | | | | | I converted them all with a few exceptions: - Methods that were used by trait objects, since trait objects don't work with `self` methods. - Methods that take an &'b JSRef<'a, T> and return an &'b. In reality, many (all?) could return an &'a instead, but this isn't allowed by the Deref trait. - Methods that internally rely on the same issue with Deref. - I left out the traits involved in layout entirely, even though not all of their methods suffer from one of the above problems. There will probably be solutions to all of these problems in the future. | ||||
* | More progress in the &JSRef -> JSRef conversion | Cameron Zwarich | 2014-09-20 | 1 | -10/+10 |
| | | | | | Change all of the <Class>Methods traits to take `self` instead of `&self`. | ||||
* | First steps of &JSRef -> JSRef conversion | Cameron Zwarich | 2014-09-19 | 1 | -12/+12 |
| | | | | | | | | | Replace &JSRef with JSRef in the bulk of the generated code. This will remove a level of indirection throughout all DOM code. This patch doesn't change methods implemented on JSRef<T> to take `self` rather than `&self`, and it leaves a few other uses of &JSRef, but those changes can be made incrementally. | ||||
* | Revert "script: Use atom comparison in more places, especially for ↵ | Josh Matthews | 2014-09-18 | 1 | -3/+3 |
| | | | | | | attributes." for persistent test failures. This reverts commit 874db261046d6155b1942efa106d2e0014295d6d. | ||||
* | script: Use atom comparison in more places, especially for attributes. | Patrick Walton | 2014-09-17 | 1 | -3/+3 |
| | | | | 75% improvement in style recalc for Guardians of the Galaxy. | ||||
* | Merge pull request #3374 from Manishearth/lint_unrooted_jsmanaged | Manish Goregaokar | 2014-09-17 | 1 | -0/+2 |
|\ | | | | | Add lint for ensuring proper rooting of JS<T>; r=jdm | ||||
| * | Use #[must_root] for HTMLElements | Manish Goregaokar | 2014-09-17 | 1 | -0/+2 |
| | |