Skip to content

Releases: khonsulabs/appit

v0.3.2

28 Aug 15:51
2b7829a
Compare
Choose a tag to compare

Fixed

  • When multiple windows are open, windows now properly close fully without
    requiring that all windows are closed.

v0.3.1

15 Jul 16:36
d0af8bb
Compare
Choose a tag to compare

Added

  • WindowAttributes::delay_visible is a new setting initializes the window
    visible: false before showing it after the first successful redraw. The goal
    is to avoid the OS drawing an empty window before the window behavior has
    initialized. This new attribute defaults to true.

v0.3.0

12 May 15:21
400ff14
Compare
Choose a tag to compare

Breaking Changes

  • This crate no longer specifies a specific raw-window-handle flag for winit.
    This crate will maintain feature flags that allow picking whatever versions
    winit is exposing. As of writing this note, the choices are rwh_05 and
    rwh_06. rwh_05 was the feature that was activated in v0.2.0.
  • winit has been updated to 0.30.0.
  • Window::id now returns Option<WindowId>, as a window may be opened before
    the event loop has been started.
  • WindowBehavior::build, WindowBehavior::build_with, WindowBehavior::open,
    and WindowBehavior::open_with now require exclusive references to the
    application.
  • These gesture events have been renamed to match winit's updated nomenclature:
    • WindowBehavior::touchpad_magnify -> WindowBehavior::pinch_gesture
    • WindowBehavior::smart_magnify -> WindowBehavior::double_tap_gesture

Changed

  • All &Appplication bounds now are ?Sized, enabling &dyn Application
    parameters.
  • Redraw requests from winit now block the event loop thread until the window
    has been repainted.

Added

  • AsApplication now provides as_application_mut.
  • WindowBeahvior::pan_gesture is a new event provided by winit.

v0.2.0

28 Dec 02:58
f5b8c8c
Compare
Choose a tag to compare

Breaking Changes

  • UnwindSafe is no longer required for WindowBehavior or
    WindowBehavior::Context.

Changed

  • This crate's default features now include wayland-csd-adwaita. This enables
    winit's built-in decoration drawing on Wayland.

Fixed

  • App now implements Application.
  • Window is now fully weak. Previously the channel for messages would still
    remain allocated while instances of Window existed. Now, the messages
    channel is freed as soon as the window is closed.

Added

  • AsApplication is a new trait that can be implemented to resolve to the App
    type. This allows wrapper types to be written that hide the appit types.
  • WindowAttributes now implement Debug.

v0.1.0

18 Dec 18:56
c036093
Compare
Choose a tag to compare

This is the initial alpha release of appit.