aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/main/pipeline.rs
Commit message (Collapse)AuthorAgeFilesLines
* Split compositing/pipeline/constellation code into separate crate.Josh Matthews2014-06-281-230/+0
|
* Rename |Profiler| as |TimeProfiler|.Nicholas Nethercote2014-06-261-7/+7
| | | | | And likewise for |ProfilerChan|, |profiler_chan|, and so on. This contrasts nicely with the newly added |MemoryProfiler|.
* Separate "desktop" and "mobile" zoom calculations.Matt Brubeck2014-06-201-3/+2
| | | | | | | | 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.
* Outside of compositor, store window size in CSS pxMatt Brubeck2014-06-091-2/+3
| | | | | | | | | | 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-051-4/+4
|
* Make RenderChan a newtype struct.Cameron Zwarich2014-05-261-2/+2
| | | | Also, derive Clone rather than implementing it manually.
* Update Rust.Ms2ger2014-05-221-4/+4
|
* Add a subpage_id field to NewLayoutInfo.Ms2ger2014-05-141-0/+1
|
* Rename the pipeline ID fields in NewLayoutInfo.Ms2ger2014-05-141-2/+2
| | | | This will make the distinction clearer with the subpage ID field to be added.
* Pass a non-Option SubpageId to Pipeline::with_script.Ms2ger2014-05-141-3/+3
| | | | | The ScriptTask is only reused for subpages, so there's no reason to pass an Option.
* Make Pipeline::url a plain Url.Ms2ger2014-05-121-18/+14
| | | | It is never mutated, and never None.
* This batch of changes upgrades Servo to work with the Rust upgrade as ofLars Bergstrom2014-04-271-12/+12
| | | | | | 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.
* auto merge of #2200 : jdm/servo/loadfail, r=mbrubeckbors-servo2014-04-241-0/+2
|\ | | | | | | | | | | ...k-related reasons. Under the hood, this requires treating the I Tried pipeline as a new load instead of a replacement, since the failure-handling code interacts poorly with the rest of the replacement code when we get a series of staggered failures over time from the various pipeline components.
| * Make the I Tried star appear when a top-level page load fails for ↵Josh Matthews2014-04-241-0/+2
| | | | | | | | | | | | network-related reasons. Under the hood, this requires treating the I Tried pipeline as a new load instead of a replacement, since the failure-handling code interacts poorly with the rest of the replacement code when we get a series of staggered failures over time from the various pipeline components.
* | Make sure RefCell borrows are temporary.Matt Brubeck2014-04-211-1/+2
|/ | | | | | This fixes two `RefCell<T> is already borrowed` failures when reloading an existing pipeline, both caused by functions trying to modify `Pipeline::url` or `ScriptTask::url` while a reference to a previous borrow is still in scope.
* Stop using deprecated RefCell<T>::getMatt Brubeck2014-04-161-1/+1
| | | | It's going away in the next Rust upgrade.
* Remove trailing whitespace.Ms2ger2014-04-071-1/+1
|
* Upgrade rust.Ms2ger2014-04-041-13/+13
|
* servo: Implement stacking contexts and allow multiple layers perPatrick Walton2014-04-031-4/+3
| | | | pipeline. This handles fixed positioning mostly correctly.
* Rust upgradesLars Bergstrom2014-03-181-8/+9
|
* De-@mut the script crate.Josh Matthews2014-02-281-1/+1
|
* Move from gfx::opts to servo_util::opts.Tetsuharu OHZEKI2014-02-251-1/+1
|
* De-@mut the FrameTree.Lars Bergstrom2014-02-211-1/+3
|
* De-@mut pipelineLars Bergstrom2014-02-181-11/+13
|
* Restore failure handlingKeegan McAllister2014-02-121-9/+23
| | | | | | | 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.
* Changes the Constellation shutdown procedure to a message and responseLars Bergstrom2014-01-151-0/+1
| | | | | | | | | | | 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-121-74/+44
|
* auto merge of #1409 : pcwalton/servo/fix-get-bounding-client-rect, r=jdmbors-servo2014-01-071-1/+4
|\ | | | | | | | | | | This fixes the `getBoundingClientRect()` content test. r? @jdm
| * script: Don't do anything before the window size comes in.Patrick Walton2013-12-131-1/+4
| | | | | | | | This fixes the `getBoundingClientRect()` content test.
* | layout: Replace `AbstractNode`s in layout with `OpaqueNode`, preventingPatrick Walton2013-12-161-5/+5
| | | | | | | | DOM access during reflow.
* | Ensure render and layout tasks get destructed before main thread finishesDaniel Hedlund2013-12-151-9/+50
|/ | | | Fixes #1097.
* constellation: Stop using futures for frame sizes.Patrick Walton2013-12-131-22/+24
| | | | | | 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.
* Kill Servo instead of displaying about:failure when running content testsKeegan McAllister2013-12-111-0/+4
| | | | Fixes #1380.
* Other language changesKeegan McAllister2013-10-311-4/+3
|
* Optimize reflow by changing enums to traits and inlining morePatrick Walton2013-10-281-2/+0
|
* Update to latest Rust.Jack Moffitt2013-10-211-1/+1
|
* Add a spawn_with! macro and clean up some spawnsKeegan McAllister2013-10-171-39/+16
|
* Remove special-casing of URLs ending in ".js"Keegan McAllister2013-10-171-6/+1
| | | | | | | This was a very old (May 2012) testing feature which used std::io::read_whole_file rather than our normal resource-loader mechanism. We can implement javascript: URLs later.
* Silence occasional task failure that occurs from sending to the render task ↵Josh Matthews2013-10-021-1/+1
| | | | after it's shut down.
* split script_task::ExitMsg into WindowExitMsg and PipelineExitMsgTim Kuehn2013-09-241-8/+3
|
* script task only exits when the root pipeline exitsTim Kuehn2013-09-241-1/+1
|
* fix constellation being inundated with messages from script.Tim Kuehn2013-09-201-0/+2
| | | | | | script task sent RendererReadyMsg after every reflow. now, the renderer sends RendererReady at the appropriate time, and _only_ if it doesn't have paint permission.
* Fix formatting issues.Lars Bergstrom2013-09-121-1/+1
|
* Pipeline create is now wrapped in a task that supervises the tasksLars Bergstrom2013-09-121-30/+76
| | | | | | | | created by script, rendering, and layout. When any of those fail, the pipeline is removed from the FrameTree and a new one is created with a failure HTML file. Additionally, the top-level Makefile is changed to store debug info.
* Remove extraneous references to flow tree objects.Eric Atkinson2013-08-201-2/+3
|
* Implement epochs; fix integration bugseschweic2013-08-191-1/+1
|
* move navigation_type from Pipeline to FrameChangeTim Kuehn2013-08-191-10/+6
|
* Library changesKeegan McAllister2013-08-151-1/+1
|
* Trait changes, and eliminate 'copy'Keegan McAllister2013-08-151-4/+4
|
* added subpage ids to map from iframe to all associated pipelinesTim Kuehn2013-07-311-8/+15
|