aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/msg
Commit message (Collapse)AuthorAgeFilesLines
* Cargoify servoJack Moffitt2014-09-087-330/+0
|
* Merge pull request #3173 from mrobinson/typed-units-1Josh Matthews2014-09-021-1/+2
|\ | | | | Start using more typed units in the compositor
| * Start using more typed units in the compositorMartin Robinson2014-08-271-1/+2
| | | | | | | | | | | | Now that rust-layers is starting to support typed units, we can use them more thoroughly in the compositor. This is a step toward removing as many untyped units as possible.
* | Remove RenderListener::set_layer_clip_rectBryan Bell2014-08-281-5/+0
|/ | | | It is currently unused.
* Upgrade Rust.Jack Moffitt2014-08-081-1/+1
|
* Fix rustdoc comment syntaxMatt Brubeck2014-08-061-1/+1
|
* Rename ReRenderMsg to RenderMsgCameron Zwarich2014-08-051-1/+1
| | | | | ReRenderMsg is also used for rendering the first time, so the name is confusing.
* Upgrade Rust.Jack Moffitt2014-08-021-3/+1
|
* Track rerender msgsBryan Bell2014-07-261-0/+1
| | | | | | | | | If the compositor outputs to a file: * Track rerender msgs sent from the compositor to the render tasks. * Before outputting, wait until all rerender msgs are processed by the render tasks. Fixes issue https://github.com/servo/servo/issues/2871.
* Start dogfooding rust-url. Fix #1673.Simon Sapin2014-07-211-1/+1
|
* Revert "Merge pull request #2819 from bjwbell/iframe-layers"Cameron Zwarich2014-07-192-7/+7
| | | | | This reverts commit 0200b61f713f2cdddcbc06ccd4cb5de11332899a, reversing changes made to ca968219025a46e57b5cd770ae7c8ac5919876b1.
* Restructure compositor layers to work with iframesBryan Bell2014-07-192-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | When a frame is selected via set_ids, a tree of root compositor layers is also created, matching the tree of pipelines in the frame. This decouples the chronological ordering dependency for parent frames and child iframes sending CreateOrUpdateRootLayer & CreateOrUpdateDescendentLayer messages. Change the Compositor ready and render states to per pipeline. This ensures the compositor doesn't composite for an epoch until every *pipeline* in the epoch is finished rendering. For iframes it fixes a bug where the compositor didnt wait on the child pipeline ready state before compositing the window. Gotchas: * layout task or script task failure on exit ("task '' failed at sending on a closed channel"), this happens if the child iframe shares the same script task as the parent and can be avoided by adding the sandbox attribute to the iframe. Other changes: * Inline set_clipping_rect in compositor.rs * Commented out ref test simple_iframe.html fails on os x
* Make RenderListener::paint take multiple repliesCameron Zwarich2014-07-101-3/+2
|
* Made Page.window_size and Page.next_subpage_id Traceable, added trait ↵eshyong2014-07-061-0/+2
| | | | Encodable for WindowSizeData, ViewportPx, PagePx, and DevicePixel
* Refactor compositor layer tree designMartin Robinson2014-07-021-74/+2
| | | | | | Instead of having two parallel trees of CompositorLayers and ContainerLayers, transform CompositorLayer to CompositorData and move tiling logic to rust-layers.
* Upgrade to latest Rust.Manish Goregaokar2014-06-272-10/+10
|
* Revert parallel render patch due to issue #2718.Glenn Watson2014-06-261-3/+0
|
* Merge pull request #2666 from mbrubeck/pinchLars Bergstrom2014-06-211-2/+15
|\ | | | | Separate "desktop" and "mobile" zoom calculations.
| * Separate "desktop" and "mobile" zoom calculations.Matt Brubeck2014-06-201-2/+15
| | | | | | | | | | | | | | | | This ensures that the layout viewport responds to each type of zoom correctly, and lays the ground for CSS Media Queries and CSS Device Adaption. Until we have proper touch support, mobile-style "pinch" zoom can be simulated by holding Ctrl while scrolling with a mousewheel or trackpad gesture.
* | Revert "Revert "Merge pull request #2609 from brson/parallel-render""Patrick Walton2014-06-201-0/+3
|/ | | | This reverts commit 3f8f065b76d034803bfb666899ef07afce0a1cd9.
* Revert "Merge pull request #2609 from brson/parallel-render"Lars Bergstrom2014-06-201-3/+0
| | | | | This reverts commit 850bd2891de589b95e32dc8f0b59d4043ed1e0a3, reversing changes made to 5b0feac32a3ef13a76670eb2f5f21e7b598fc890.
* Render in parallelBrian Anderson2014-06-181-0/+3
|
* Update submodules and ~str/String, to_owned/to_string, & cast/mem to get ↵Luqman Aden2014-06-101-2/+2
| | | | android building.
* Outside of compositor, store window size in CSS pxMatt Brubeck2014-06-092-2/+4
| | | | | | | | | | This fixes an issue where the CSS viewport was too large on high-DPI displays because it was set to the window size in device pixels, instead of px. This patch ensures that the window size is converted from device pixels to px before being passed to script/layout code. The Window trait now exposes the window size in both device pixels and density-independent screen coordinates, with clearer method names.
* Upgrade Rust.Jack Moffitt2014-06-053-6/+5
|
* Remove unused delete_layer code.Matt Brubeck2014-06-041-2/+0
|
* Update Rust.Ms2ger2014-05-221-5/+5
|
* Use Vec for the metadata argument to initialize_layers_for_pipeline.Ms2ger2014-05-061-1/+1
|
* ~[] to Vec in main/compositing and associated filesMatt Murphy2014-05-041-1/+1
|
* This batch of changes upgrades Servo to work with the Rust upgrade as ofLars Bergstrom2014-04-273-23/+24
| | | | | | April 10, 2014. The main changes are to privacy, to work around the issues with incorrect bounds on the libstd `Arc<Mutex<T>>`, and the various API changes strewn throughout the libraries.
* Remove unused invalidate_rect codeMatt Brubeck2014-04-221-1/+0
|
* auto merge of #2085 : lpy/servo/issue2079, r=jdmbors-servo2014-04-111-2/+0
|\ | | | | | | see #2079
| * Replace @s with Rc types.(fixes #2079)lpy2014-04-121-2/+0
| |
* | auto merge of #2070 : larsbergstrom/servo/android_201404c, ↵bors-servo2014-04-101-0/+2
|\ \ | | | | | | | | | | | | | | | r=larsbergstrom,metajack r? @metajack
| * | Android fixes for February Rust UpgradeLars Bergstrom2014-04-101-0/+2
| |/
* / Remove unused create_layer_group_for_pipelineMatt Brubeck2014-04-091-1/+0
|/
* Upgrade rust.Ms2ger2014-04-042-8/+8
|
* layout: Address review feedback.Patrick Walton2014-04-031-3/+3
|
* servo: Implement stacking contexts and allow multiple layers perPatrick Walton2014-04-031-10/+72
| | | | pipeline. This handles fixed positioning mostly correctly.
* Rust upgradesLars Bergstrom2014-03-183-18/+20
|
* De-@mut the script crate.Josh Matthews2014-02-281-0/+1
|
* Implement JSManaged for DOM objects.Josh Matthews2014-02-243-2/+11
|
* Move FailureMsg contents into a cloneable structKeegan McAllister2014-02-121-1/+8
|
* De @-mut windowing.Lars Bergstrom2014-02-101-2/+2
|
* Fix #1612 Rename .rc to .rs, and relevant changes in Makefile.inxiongmao862014-02-091-0/+0
|
* Add a LoadComplete message so that script informs the constellation,Lars Bergstrom2014-01-301-1/+2
| | | | | | | 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.
* Changes the Constellation shutdown procedure to a message and responseLars Bergstrom2014-01-151-2/+2
| | | | | | | | | | | from the Compositor instead of a message with an immediate callback. The problem was that the old model introduced a potential deadlock. If the Constellation had a pending RenderReadyMsg in its queue when the ExitMsg arrived from the Compositor, the Compositor would exit its message loop and wait for the response from the Constellation. But, the Constellation would send a SetIds message to the Compositor, which also required a response - resulting in deadlock.
* Upgrade to latest Rust.Jack Moffitt2014-01-122-6/+5
|
* add android graphic surface layer using EGL extensionsaydin.kim2013-12-302-0/+27
|
* Build with make instead of rustpkg.Jack Moffitt2013-12-261-4/+4
|