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

Update to egui master #6448

Merged
merged 21 commits into from
May 29, 2024
Merged

Update to egui master #6448

merged 21 commits into from
May 29, 2024

Conversation

emilk
Copy link
Member

@emilk emilk commented May 28, 2024

Test

  • image loading
  • gltf

Checklist

  • I have read and agree to Contributor Guide and the Code of Conduct
  • I've included a screenshot or gif (if applicable)
  • I have tested the web demo (if applicable):
  • The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG
  • If applicable, add a new check to the release checklist!

To run all checks from main, comment on the PR with @rerun-bot full-check.

egui changelog so far

Full diff at https://github.com/emilk/egui/compare/0.27.0..HEAD

ecolor

  • Fix hex_color! macro by re-exporting color_hex crate from ecolor #4372 (thanks @dataphract!)
  • Remove extra_asserts and extra_debug_asserts feature flags #4478

eframe

egui_extras

  • Update image crate to 0.25 #4160

egui_plot

  • Plot::Items:allow_hover give possibility to masked the interaction on hovered item #2558 (thanks @haricot!)
  • Expose ClosestElem and PlotConfig #4380 (thanks @Narcha!)
  • Disable interaction for ScrollArea and Plot when UI is disabled #4457 (thanks @varphone!)
  • Make sure plot size is positive #4429 (thanks @rustbasic!)
  • Introduce lifetime to egui_plot::Plot to replace 'static fields #4435 (thanks @Fabus1184!)
  • Hide all other series when alt-clicking in the legend #4549 (thanks @abey79!)
  • Plot now respects the interact_radius set in the UI's style #4520 (thanks @YgorSouza!)

egui_glow

egui-wgpu

  • Update to wgpu 0.20 #4433 (thanks @KeKsBoTer!)
  • Revert update to wgpu 0.20 => downgrade to wgpu 0.19.1 #4559

egui-winit

egui

  • Improve the UI for changing the egui theme #4257
  • Change the resize cursor when you reach the resize limit #4275
  • Make TextEdit an atomic widget #4276
  • Overload operators for Rect + Margin, Rect - Margin etc #4277
  • Implement blinking text cursor in TextEdit #4279
  • Rename fn scroll2 to fn scroll #4282
  • Change Frame::multiply_with_opacity to multiply in gamma space #4283
  • Support order on windows #4301 (thanks @alexparlett!)
  • Fix wrong replacement function in deprecation notice of drag_released* #4314 (thanks @sornas!)
  • Consider layer transform when positioning text agent #4319 (thanks @juancampa!)
  • Fix incorrect line breaks #4377 (thanks @juancampa!)
  • Fix hex_color! macro by re-exporting color_hex crate from ecolor #4372 (thanks @dataphract!)
  • Change Ui::allocate_painter to inherit properties from Ui #4343 (thanks @varphone!)
  • Use parent Uis style for popups #4325 (thanks @alexparlett!)
  • Fix : take rounding into account when using Slider::trailing_fill #4308 (thanks @rustbasic!)
  • Add a way to specify Undoer settings and construct Undoers more easily #4357 (thanks @valadaptive!)
  • Add xtask crate #4293 (thanks @YgorSouza!)
  • Add ViewportCommand::RequestCut, RequestCopy and RequestPaste to trigger Clipboard actions #4035 (thanks @bu5hm4nn!)
  • Fix Panel incorrect size #4351 (thanks @zhatuokun!)
  • Improve IME support with new Event::Ime #4358 (thanks @rustbasic!)
  • Allow users to create viewports larger than monitor on Windows & macOS #4337 (thanks @lopo12123!)
  • Added ability to define colors at UV coordinates along a path #4353 (thanks @murl-digital!)
  • Eframe: update ViewportBuilder.with_icon() documentation #4408 (thanks @roccoblues!)
  • Update to Rust 1.76 #4411
  • Add a Display impl for Vec2, Pos2, and Rect #4428 (thanks @tgross35!)
  • Remove extra_asserts and extra_debug_asserts feature flags #4478
  • Egui-winit: emit physical key presses when a non-Latin layout is active #4461 (thanks @TicClick!)
  • Disable interaction for ScrollArea and Plot when UI is disabled #4457 (thanks @varphone!)
  • Update ahash 0.8.6 -> 0.8.11 #4507 (thanks @hellodword!)
  • include_image! now accepts expressions #4521 (thanks @YgorSouza!)
  • Remove Event::Scroll and handle it in egui #4524
  • Remove scroll latency for smooth trackpads #4526
  • Smooth out zooming with discreet scroll wheel #4530
  • Add Options::line_scroll_speed and scroll_zoom_speed #4532
  • Don't panic when replacement glyph is not found #4542 (thanks @RyanBluth!)
  • Make TextEdit::return_key optional #4543 (thanks @doonv!)
  • Add TextEdit::hint_text_font #4517 (thanks @zaaarf!)
  • Add Options::reduce_texture_memory to free up RAM #4431 (thanks @varphone!)
  • Fix Ui::scroll_with_delta only scrolling if the ScrollArea is focused #4303 (thanks @lucasmerlin!)
  • Add support for text truncation to egui::Style #4556 (thanks @abey79!)
  • Hide toolip when opening ComboBox drop-down #4546 (thanks @abey79!)
  • Better spacing and sizes for (menu) buttons #4558

epaint

  • Add RectShape::blur_width to implement shadows #4267
  • Overload operators for Rect + Margin, Rect - Margin etc #4277
  • Fix incorrect line breaks #4377 (thanks @juancampa!)
  • Fix hex_color! macro by re-exporting color_hex crate from ecolor #4372 (thanks @dataphract!)
  • Add emath::OrderedFloat (moved from epaint::util::OrderedFloat) #4389
  • Added ability to define colors at UV coordinates along a path #4353 (thanks @murl-digital!)
  • Add a Display impl for Vec2, Pos2, and Rect #4428 (thanks @tgross35!)
  • Remove extra_asserts and extra_debug_asserts feature flags #4478
  • Make epaint::mutex::RwLock allow ?Sized types #4485 (thanks @crumblingstatue!)
  • Update ahash 0.8.6 -> 0.8.11 #4507 (thanks @hellodword!)
  • Don't panic when replacement glyph is not found #4542 (thanks @RyanBluth!)

@emilk emilk added ui concerns graphical user interface dependencies concerning crates, pip packages etc exclude from changelog PRs with this won't show up in CHANGELOG.md labels May 28, 2024
@emilk emilk force-pushed the emilk/update-to-egui-master branch from 5c5b2c2 to 5dc997d Compare May 28, 2024 13:54
@emilk emilk marked this pull request as ready for review May 28, 2024 18:53
@emilk
Copy link
Member Author

emilk commented May 28, 2024

Link-checker error is unrelated

Copy link
Member

@abey79 abey79 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

@emilk emilk merged commit f8d5d4c into main May 29, 2024
34 of 39 checks passed
@emilk emilk deleted the emilk/update-to-egui-master branch May 29, 2024 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies concerning crates, pip packages etc exclude from changelog PRs with this won't show up in CHANGELOG.md ui concerns graphical user interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants