Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove all traces of Box representation from bindings. Work around file read ↵ | Josh Matthews | 2014-03-18 | 1 | -2/+2 | |
| | | | | runtime problem. | |||||
* | Rust upgrades | Lars Bergstrom | 2014-03-18 | 1 | -37/+47 | |
| | ||||||
* | Use the JSVal member functions to replace JSVAL_IS_* and JSVAL_TO_*. | Ms2ger | 2014-03-09 | 1 | -4/+1 | |
| | ||||||
* | Use FooValue() functions. | Ms2ger | 2014-03-09 | 1 | -2/+2 | |
| | ||||||
* | Stop sticking a Page in the JSContext's private. | Ms2ger | 2014-03-05 | 1 | -17/+1 | |
| | ||||||
* | Pass &JS<Window> to some constructors. | Ms2ger | 2014-03-04 | 1 | -1/+1 | |
| | ||||||
* | Remove next_subpage_id argument from parse_html.(fixes #1801) | lpy | 2014-03-04 | 1 | -2/+1 | |
| | ||||||
* | Fix a dynamic borrow failure with iframes | Keegan McAllister | 2014-03-03 | 1 | -4/+2 | |
| | ||||||
* | De-@mut the script crate. | Josh Matthews | 2014-02-28 | 1 | -173/+296 | |
| | ||||||
* | Implement "resize" DOM Event. | Tetsuharu OHZEKI | 2014-03-01 | 1 | -1/+20 | |
| | | | | | * We cannot automate this feature. * So this testcase is a manual test. | |||||
* | Add url getter to Page and fix users of Page url with it.(fixes #1762) | lpy | 2014-02-28 | 1 | -4/+6 | |
| | ||||||
* | Remove the image loading workaround from the parser. | Ms2ger | 2014-02-25 | 1 | -1/+0 | |
| | ||||||
* | Remove DocumentTypeId. | Ms2ger | 2014-02-24 | 1 | -2/+2 | |
| | ||||||
* | Remove document::DocumentType (fixes #1730). | Ms2ger | 2014-02-24 | 1 | -2/+2 | |
| | ||||||
* | Remove HTMLDocument. | Ms2ger | 2014-02-24 | 1 | -4/+3 | |
| | ||||||
* | Implement JSManaged for DOM objects. | Josh Matthews | 2014-02-24 | 1 | -79/+109 | |
| | ||||||
* | Use eq() and eq_slice() less, and map_default() more. | Ms2ger | 2014-02-16 | 1 | -5/+3 | |
| | ||||||
* | Restore failure handling | Keegan McAllister | 2014-02-12 | 1 | -3/+8 | |
| | | | | | | | We probably leak some threads and resources, e.g. when the script task crashes and doesn't get a chance to send layout data back to layout to be deallocated. Not tested with iframes yet. | |||||
* | This is implement Hover Event. If over element, currently full reflow. after ↵ | HyunJune Kim | 2014-02-10 | 1 | -3/+74 | |
| | | | | PR, will make partial reflow. | |||||
* | compositor can get mouse point from window event | HyunJune Kim | 2014-02-10 | 1 | -1/+2 | |
| | ||||||
* | Reduce copying on parse_url() call sites. | Tetsuharu OHZEKI | 2014-02-09 | 1 | -1/+1 | |
| | ||||||
* | Rename make_url/current_url to parse_url/base_url, to align with spec ↵ | Simon Sapin | 2014-02-01 | 1 | -4/+4 | |
| | | | | terminology. | |||||
* | Add a LoadComplete message so that script informs the constellation, | Lars Bergstrom | 2014-01-30 | 1 | -3/+5 | |
| | | | | | | | which can then inform the compositor (and anyone else, later) about the completion of loading a page. This is important for ref tests, which should not emit a PNG until load has completed, even if we perform a composite before then. | |||||
* | Implement document.URL & document.documentURI | Bruno de Oliveira Abinader | 2014-01-30 | 1 | -1/+1 | |
| | | | | | | | | 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 | |
| | ||||||
* | Change `get_attr()` to `get_attr_val_for_layout()`. | Jack Moffitt | 2014-01-22 | 1 | -6/+6 | |
| | | | | | | | | 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`. | |||||
* | When `window.close()` is called, we should just ask the compositor to exit | Lars Bergstrom | 2014-01-15 | 1 | -6/+7 | |
| | | | | | | | | | normally. The old code made the mistake of attempting to shutdown the associated pipelines itself, which caused race conditions with the constellation and compositor, as they expect to be able to drain their message queues before exiting. | |||||
* | script: Stop trusting pointers to DOM nodes that layout provides. | Patrick Walton | 2014-01-14 | 1 | -22/+22 | |
| | | | | | | | Pointers to DOM nodes from layout could go stale if incremental reflow does not correctly destroy dead nodes. Therefore, we ask the JavaScript garbage collector to verify that each DOM node is indeed a valid pointer before calling event handlers on it, and fail otherwise. | |||||
* | add names for all servo spawned tasks | zmike | 2014-01-13 | 1 | -1/+2 | |
| | | | | | | | | * add servo_util::task::{spawn_named,spawn_with_named} functions * add name param for spawn_listener and spawn_conversation functions this should resolve #1169 | |||||
* | Upgrade to latest Rust. | Jack Moffitt | 2014-01-12 | 1 | -83/+46 | |
| | ||||||
* | auto merge of #1409 : pcwalton/servo/fix-get-bounding-client-rect, r=jdm | bors-servo | 2014-01-07 | 1 | -20/+15 | |
|\ | | | | | | | | | | | This fixes the `getBoundingClientRect()` content test. r? @jdm | |||||
| * | script: Don't do anything before the window size comes in. | Patrick Walton | 2013-12-13 | 1 | -20/+15 | |
| | | | | | | | | This fixes the `getBoundingClientRect()` content test. | |||||
* | | Pass a Namespace to Element::get_attr. | Ms2ger | 2013-12-23 | 1 | -2/+3 | |
| | | ||||||
* | | layout: Stop exposing raw `Element` types to layout as well. | Patrick Walton | 2013-12-17 | 1 | -1/+0 | |
| | | | | | | | | | | This should make layout memory-safe as is, though we will need to do more stuff for incremental reflow and parallelism. | |||||
* | | script: Eliminate the phantom type in favor of just whitelisting methods | Patrick Walton | 2013-12-17 | 1 | -4/+3 | |
| | | | | | | | | | | | | | | 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 | -1/+1 | |
|/ | ||||||
* | layout: Stop going to the DOM for iframe sizes | Patrick Walton | 2013-12-13 | 1 | -4/+4 | |
| | ||||||
* | constellation: Stop using futures for frame sizes. | Patrick Walton | 2013-12-13 | 1 | -44/+66 | |
| | | | | | | This will allow us to stop going to the DOM in order to handle iframe sizing. Instead we can just store the pipeline and frame IDs of iframes inside the flow tree itself. | |||||
* | Mark some rust files as non-executable. | Ms2ger | 2013-12-13 | 1 | -0/+0 | |
| | ||||||
* | Allow setting id, class, style without a full reflow | Keegan McAllister | 2013-12-12 | 1 | -3/+0 | |
| | | | | | | | | Instead we do selector matching again, then diff the style structs to set the "restyle damage" bits which are used to prune reflow traversals. Also don't force a reflow when timers finish, because individual DOM methods should already take care of that. | |||||
* | Get rid of reflow_all | Keegan McAllister | 2013-12-12 | 1 | -18/+10 | |
| | | | | This refactoring should not alter behavior. | |||||
* | Fix #1264: support namespaced attribute selectors. | Simon Sapin | 2013-12-10 | 1 | -2/+2 | |
| | ||||||
* | Reflow with full style damage when content changes | Keegan McAllister | 2013-12-09 | 1 | -1/+2 | |
| | | | | Fixes #664. | |||||
* | Implement local bookmark(hashtag) for Acid2. With @joonwonlee | june0cho | 2013-12-01 | 1 | -2/+58 | |
| | | | | Support hashtag through link (e.g. <a href="#top">) | |||||
* | Rewrite flow construction to be incrementalizable and parallelizable. | Patrick Walton | 2013-11-18 | 1 | -42/+77 | |
| | | | | | | | | | | | | This replaces flow construction with a strict bottom-up tree traversal, allowing for parallelism. Each step of the traversal creates a flow or a `ConstructionItem`, similar to how Gecko works. {ib} splits are handled by not creating `InlineFlow`s until the containing block is reached. This should be able to be incrementalized by storing the `Flow` from layout to layout, and performing fixups during flow construction and/or wiping containing blocks in a previous pass. | |||||
* | Make the HTML parser parse into the document rather than an element. | Ms2ger | 2013-11-17 | 1 | -6/+3 | |
| | | | | This removes the duplicate html element. | |||||
* | Remove type_id arguments from Event::new and UIEvent::new. | Ms2ger | 2013-11-14 | 1 | -2/+2 | |
| | ||||||
* | Stop passing DOMStrings via borrowed pointer. (#1201) | Tetsuharu OHZEKI | 2013-11-14 | 1 | -1/+1 | |
| | ||||||
* | Don't pass nullable strings to native DOM methods that want non-nullable ↵ | Ms2ger | 2013-11-12 | 1 | -1/+1 | |
| | | | | strings. Fixes #1207. | |||||
* | Add a spec-incompliant load event. | Josh Matthews | 2013-11-11 | 1 | -0/+11 | |
| |