aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/page.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8aJack Moffitt2014-11-131-3/+3
|
* Clip display list based on frame viewportMartin Robinson2014-11-111-2/+53
| | | | | | Instead of creating a display list for the entire page, only create one for an area that expands around the viewport. On my machine this makes incremental layout of http://timecube.com 50% faster.
* Invert control flow, fix resizing, and improve checkerboardingPatrick Walton2014-11-041-3/+2
| | | | | significantly by giving tiles some time to paint before we render unrendered content.
* Have ContentBox(es)Queries consult the flow treeMartin Robinson2014-11-031-14/+41
| | | | | | | | | Instead of looking at the display tree, have ContentBox(es)Query consult the flow tree. This allow optimizing away parts of the display tree later. To do this we need to be more careful about how we send reflow requests, only querying the flow tree when possible. Fixes #3790.
* Use DOMRefCell for Page.Tetsuharu OHZEKI2014-10-221-15/+16
|
* Privatize WindowTim Taubert2014-10-131-1/+1
|
* Incremental Style RecalcClark Gaebel2014-10-091-41/+19
| | | | | | | | | | | | | | | | | | | This patch puts in the initial framework for incremental reflow. Nodes' styles are no longer recalculated unless the node has changed. I've been hacking on the general problem of incremental reflow for the past couple weeks, and I've yet to get a full implementation that actually passes all the reftests + wikipedia + cnn. Therefore, I'm going to try to land the different parts of it one by one. This patch only does incremental style recalc, without incremental flow construction, inline-size bubbling, reflow, or display lists. Those will be coming in that order as I finish them. At least with this strategy, I can land a working version of incremental reflow, even if not yet complete. r? @pcwalton
* Remove unnecessary `deref()`s (fixes #3586)Tim Taubert2014-10-091-2/+2
|
* Remove Traceable/Untraceable from page.rsManish Goregaokar2014-10-051-53/+51
|
* Remove Traceable/Untraceable from window.rsManish Goregaokar2014-10-051-1/+1
|
* Remove the fragment_node field from Page (fixes #3543).Ms2ger2014-10-021-6/+3
| | | | | | Since Page isn't reflected, it cannot be rooted, and pointers to JS-managed objects inside it are not guaranteed to be traced. This may cause the pointer to become dangling.
* Move find_fragment_node to Document.Ms2ger2014-10-021-17/+3
|
* Implement MutNullableJS for mutable, nullable member pointers to DOM objects.Josh Matthews2014-10-011-3/+5
|
* Use string-cache's Namespace typeKeegan McAllister2014-09-291-2/+1
|
* Address review commentsManish Goregaokar2014-09-241-2/+0
|
* Use JSTraceable everywhereManish Goregaokar2014-09-241-4/+4
|
* Eliminate warningsKeegan McAllister2014-09-201-7/+7
|
* Upgrade to rustc 0.12.0-pre (4d2af3861 2014-09-17 15:51:11 +0000)Keegan McAllister2014-09-201-3/+3
|
* First steps of &JSRef -> JSRef conversionCameron Zwarich2014-09-191-7/+7
| | | | | | | | | 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.
* Merge pull request #3379 from cgaebel/bucketed-timingClark Gaebel2014-09-181-0/+1
|\ | | | | Added more complex profiling metadata.
| * Added more complex profiling metadata.Clark Gaebel2014-09-171-0/+1
| |
* | Revert "script: Use atom comparison in more places, especially for ↵Josh Matthews2014-09-181-6/+3
| | | | | | | | | | | | attributes." for persistent test failures. This reverts commit 874db261046d6155b1942efa106d2e0014295d6d.
* | Merge pull request #3358 from jdm/thespicemustnotreflowJosh Matthews2014-09-171-4/+32
|\ \ | |/ |/| Delay initiating layout operations for as long as possible.
| * Delay initiating layout operations for as long as possible.Josh Matthews2014-09-151-4/+32
| |
* | script: Use atom comparison in more places, especially for attributes.Patrick Walton2014-09-171-3/+6
| | | | | | | | 75% improvement in style recalc for Guardians of the Galaxy.
* | Add unrooted_must_root lint for enums and structs containing JS<T>, as well ↵Manish Goregaokar2014-09-161-0/+1
|/ | | | | | | as functions with JS<T> in their parameter list For safe wrappers over JS<T> (eg Temporary<T>) use #[allow(unrooted_must_root)]. For all other types containing a #[must_root] value, annotate the type with #[must_root] to ensure that it is never used unrooted
* Store Compositor ReadyState per-pipelineBryan Bell2014-09-121-1/+1
| | | | | Instead of storing a single ReadyState, store one per pipeline and track the earliest one.
* Coalesce pending reflow messages so they don't queue up.Glenn Watson2014-09-121-0/+4
|
* Move Attr helper methods to AttrHelpers trait to avoid to touch them from ↵Tetsuharu OHZEKI2014-09-111-0/+1
| | | | layout task.
* Cargoify servoJack Moffitt2014-09-081-0/+437