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

Split out platform-independent types into a new winit-core crate #3455

Closed
wants to merge 17 commits into from

Commits on Feb 7, 2024

  1. chore: Move winit files to winit subfolder

    This will allow us to split off crates from the main winit crate.
    
    Signed-off-by: John Nunley <[email protected]>
    notgull committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    3a81764 View commit details
    Browse the repository at this point in the history
  2. chore: Bring up winit-core crate

    Signed-off-by: John Nunley <[email protected]>
    notgull committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    a97255e View commit details
    Browse the repository at this point in the history
  3. chore: Move part of error.rs to winit-core

    Signed-off-by: John Nunley <[email protected]>
    notgull committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    623b3e5 View commit details
    Browse the repository at this point in the history
  4. chore: Move dpi.rs to winit-core wholesale

    Signed-off-by: John Nunley <[email protected]>
    notgull committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    5574644 View commit details
    Browse the repository at this point in the history
  5. chore: Move most of keyboard.rs to winit-core

    Signed-off-by: John Nunley <[email protected]>
    notgull committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    2f19731 View commit details
    Browse the repository at this point in the history
  6. chore: Move parts of window.rs to winit-core

    As winit no longer owns some of the types this requires some adjustments
    in the Wayland backend.
    
    Signed-off-by: John Nunley <[email protected]>
    notgull committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    114e699 View commit details
    Browse the repository at this point in the history
  7. feat: Re-export cursor types in winit-core/window

    Signed-off-by: John Nunley <[email protected]>
    notgull committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    48831f7 View commit details
    Browse the repository at this point in the history
  8. feat: Move WindowId to winit-core

    This commit moves WindowId to winit-core and replaces its inner type
    with a platform-agnostic `u64`. This required some changes to many of
    the backend in order to accommodate this new system.
    
    Signed-off-by: John Nunley <[email protected]>
    notgull committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    a232f7b View commit details
    Browse the repository at this point in the history
  9. feat: Move DeviceId to winit-core

    This requires a similar restructuring as with WindowId.
    
    Signed-off-by: John Nunley <[email protected]>
    notgull committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    859a6f1 View commit details
    Browse the repository at this point in the history
  10. feat: Move Event to winit-core

    This requires a lot of restructuring on the backend side, as we need to
    accommodate for backends not being able to construct these types
    implicitly. In addition, we also need to expose some new APIs on these
    types to make them usable.
    
    Several breaking changes occurred in this commit.
    
    Signed-off-by: John Nunley <[email protected]>
    notgull committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    284f4c0 View commit details
    Browse the repository at this point in the history
  11. chore: Move over ControlFlow

    Signed-off-by: John Nunley <[email protected]>
    notgull committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    c6e5743 View commit details
    Browse the repository at this point in the history
  12. chore: Housekeeping

    - Update CHANGELOG
    - Add documentation to items I forgot to document
    - Trait implementations
    
    Signed-off-by: John Nunley <[email protected]>
    notgull committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    daf1304 View commit details
    Browse the repository at this point in the history
  13. chore: fmt and doc fixes

    Signed-off-by: John Nunley <[email protected]>
    notgull committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    4b28f10 View commit details
    Browse the repository at this point in the history
  14. chore: Fix failing CI

    Signed-off-by: John Nunley <[email protected]>
    notgull committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    52532d2 View commit details
    Browse the repository at this point in the history
  15. ci: Use -p option in CI

    Signed-off-by: John Nunley <[email protected]>
    notgull committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    1b9c576 View commit details
    Browse the repository at this point in the history
  16. ci: Missed a spot

    Signed-off-by: John Nunley <[email protected]>
    notgull committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    cfd35d2 View commit details
    Browse the repository at this point in the history
  17. chore: Rebase on latest master

    Signed-off-by: John Nunley <[email protected]>
    notgull committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    d28c867 View commit details
    Browse the repository at this point in the history