aboutsummaryrefslogtreecommitdiffstats
path: root/components/constellation/session_history.rs
Commit message (Collapse)AuthorAgeFilesLines
* Trace more functions by adding perfetto tracing events (#33417)atbrakhi2024-09-131-0/+1
| | | Signed-off-by: atbrakhi <atbrakhi@igalia.com>
* Move non-gfx things out of `gfx_traits` and create a `base` crate (#32296)Martin Robinson2024-05-171-3/+1
| | | | | | | | | | | | | | | | | | | | | | | For a long time, `gfx_traits` has held a lot of things unrelated to graphics and also unrelated to the `gfx` crate (which is mostly about fonts). This is a cleanup which does a few things: 1. Move non `gfx` crate things out of `gfx_traits`. This is important in order to prevent dependency cycles with a different integration between layout, script, and fonts. 2. Rename the `msg` crate to `base`. It didn't really contain anything to do with messages and instead mostly holds ids, which are used across many different crates in Servo. This new crate will hold the *rare* data types that are widely used. Details: - All BackgroundHangMonitor-related things from base to a new `background_hang_monitor_api` crate. - Moved `TraversalDirection` to `script_traits` - Moved `Epoch`-related things from `gfx_traits` to `base`. - Moved `PrintTree` to base. This should be widely useful in Servo. - Moved `WebrenderApi` from `base` to `webrender_traits` and renamed it to `WebRenderFontApi`.
* clippy: Fix warnings in `components/constellation` (#31610)eri2024-03-111-16/+16
| | | | | * clippy: fix warnings in components/constellation * fix: review comments
* rustdoc: Fix many rustdoc errors (#31147)Martin Robinson2024-01-221-1/+1
| | | | This fixes many rustdoc errors that occur due to raw URLs in rustdoc comments as well as unescaped Rust code that should be in backticks.
* constellation: clean up logging of pipelines and browsing contexts (#30657)Delan Azabani2023-11-141-1/+1
| | | | | | | * constellation: clean up logging of pipelines and browsing contexts * bring back sentence case; remove commented code * fix more typos and wordings
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-111-3/+5
| | | | | * strict imports formatting * Reformat all imports
* remove `extern crate` (#30311)Samson2023-09-081-0/+1
| | | | | | | | | | | * remove extern crate * Update components/script_plugins/lib.rs Co-authored-by: Martin Robinson <mrobinson@igalia.com> --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* Ensure layout/script always have a correct viewport size when a new pipeline ↵Josh Matthews2019-11-061-0/+5
| | | | is created.
* Make nested browsing context navigations check the loaded status of the ↵Josh Matthews2019-03-071-0/+2
| | | | active document of the nested browsing context.
* Update MPL license to https (part 4)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* Reorder importsPyfisch2018-11-061-2/+4
|
* `cargo fix --edition`Simon Sapin2018-11-061-1/+1
|
* Move Pipeline::{parent_info,visible,is_private} to BrowsingContextmandreyel2018-09-121-0/+5
|
* Rustfmt the constellationConnor Brewster2018-07-211-49/+73
|
* Track hash changes in session historyConnor Brewster2018-07-211-6/+16
| | | | Notify history changed on pushState and scroll to frag
* Make session history aware of URLsConnor Brewster2018-04-241-3/+28
|
* Implement history stateConnor Brewster2018-04-161-7/+33
|
* Remove entries for removed iframesConnor Brewster2018-04-121-0/+9
| | | | | | Notify history changed after a navigation Add history drop test
* Implement diff-based session historyConnor Brewster2018-04-051-0/+164
This new implementation of the session history keeps track of a single tree of browsing contexts and pipelines which represents the active entry of the session history and it keeps track of diffs between adjacent entries. This allows use to traverse across the joint session history by applying diffs to the active tree.