Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.9 #201

Merged
merged 7 commits into from
Nov 23, 2023
Merged

Release 0.9 #201

merged 7 commits into from
Nov 23, 2023

Conversation

Adanos020
Copy link
Owner

Added

  • DockArea::surfaces_count
  • DockArea::iter_surfaces[_mut]
  • DockArea::iter_all_tabs[_mut]
  • DockArea::iter_all_nodes[_mut]
  • Node::iter_tabs[_mut]
  • Surface::iter_nodes[_mut]
  • Surface::iter_all_tabs[_mut]

Breaking changes

  • Upgraded to egui 0.24.
  • Removed the deprecated DockState::iter.

Deprecated

  • DockState::iter_nodes – use iter_all_nodes instead.
  • DockState::iter_main_surface_nodes[_mut] – use dock_state.main_surface().iter() (and corresponding mut versions) instead.

eupraxia05 and others added 7 commits November 4, 2023 08:49
…s_mut (#195)

* added iter_nodes_mut

* finished adding iter_nodes_mut

* added iter_main_surface_nodes_mut

* ran cargo fmt
* Remove the deprecated `DockState::iter`

* Rename `iter_nodes{,_mut}` to `iter_all_nodes{,_mut}` and deprecate `iter_nodes`

* Add iterators over surfaces

* Expand `iter_all_nodes{,_mut}` to include containing surface indices

* Deprecated `iter_main_surface_nodes{,_mut}`

* Add iterators for all tabs and containing surface and node indices

* Update changelog

* Add node and tab iterators to `Surface`

* Add tab iterators to `Node`

* Update changelog

* Update changelog
* Implement mapping over tab types

* Fix compile errors

* Fix formatting

---------

Co-authored-by: Adam Gąsior <[email protected]>
@Adanos020 Adanos020 merged commit c360442 into main Nov 23, 2023
8 checks passed
@Adanos020 Adanos020 deleted the release-0.9 branch November 23, 2023 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants