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

Initial refactoring of displayz #3

Draft
wants to merge 24 commits into
base: main
Choose a base branch
from
Draft

Commits on Jun 21, 2023

  1. Initial refactoring of displayz

    - Bump Cargo.lock and dependencies.
    - Use `cfg_attr` to expose platform-specific APIs in the `platform`
      module, then export with `pub use`.
    - Create initial `common` module for abstracting displays.
    - Make examples only run on Windows - pending refactoring of Windows
      backend.
    - Add lints.
    
    Resolves michidk#2.
    shymega committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    4e46aea View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cc27b10 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    484d20b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    71530f5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4d48493 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5fe124c View commit details
    Browse the repository at this point in the history
  7. Change Resolution/Position types to struct

    (Also, change `usize` to `i32` to allow for negative Positions.
    Resolution was changed for consistency)
    shymega committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    76b96d7 View commit details
    Browse the repository at this point in the history
  8. Add Linux Wayland/X11 feature flags and optional deps

    This is in preparation for the Linux platform support.
    shymega committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    2f7d397 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    73dc598 View commit details
    Browse the repository at this point in the history
  10. Bump Cargo.lock

    shymega committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    c6d2463 View commit details
    Browse the repository at this point in the history
  11. Rename linux to unix to support BSDs/Linux

    We now use feature flags to control X11/Wayland exporting.
    shymega committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    b5da993 View commit details
    Browse the repository at this point in the history
  12. Change Wayland dep target to unix target_family

    This way we can support the BSDs, as well as Linux. I now know that
    FreeBSD supports Wayland.
    shymega committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    d42f95f View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    21aac60 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    364433a View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    5129c31 View commit details
    Browse the repository at this point in the history
  16. Wrap get_edid in an Option<T>

    shymega committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    f3a7e5a View commit details
    Browse the repository at this point in the history
  17. Run cargo-fmt on codebase

    shymega committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    3d1318a View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2023

  1. Revert "Add note to Resolutions type about future use"

    This reverts commit 364433a.
    
    As per @michidk's review comment on PR michidk#3.
    shymega committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    657ce27 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2023

  1. Add Wayland protocols for Plasma/KDE

    This allows `displayz` to run on KDE, which uses a different set of
    protocols to the usual `wlr` crate.
    shymega committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    14871ba View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2024

  1. refactor: Refactor types into structs, impl Debug/Display

    - Change `Resolutions` into tuple struct.
    - Impl `Debug` & `Display` for `Position` and `Resolutions`.
    - Use `Default` trait for default trait impl.
    shymega committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    6e37517 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7f1aa2f View commit details
    Browse the repository at this point in the history
  3. chore: Remove Windows CLI

    shymega committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    e62b7dc View commit details
    Browse the repository at this point in the history
  4. chore: bump Cargo.lock

    shymega committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    c81f8dc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4d3a92f View commit details
    Browse the repository at this point in the history