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

refactor!: remove clipboard impl #797

Merged
merged 1 commit into from
Oct 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changes/clipboard.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tao": "minor"
---

**Breaking change**: Removed clipboard implementation. Use `arboard` crate instead.
98 changes: 0 additions & 98 deletions src/clipboard.rs

This file was deleted.

1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ extern crate bitflags;
#[macro_use]
extern crate objc;

pub mod clipboard;
pub mod dpi;
#[macro_use]
pub mod error;
Expand Down
12 changes: 0 additions & 12 deletions src/platform_impl/android/clipboard.rs

This file was deleted.

2 changes: 0 additions & 2 deletions src/platform_impl/android/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ use std::{
time::{Duration, Instant},
};

mod clipboard;
pub use clipboard::Clipboard;
pub mod ndk_glue;
use ndk_glue::{Event, Rect};

Expand Down
12 changes: 0 additions & 12 deletions src/platform_impl/ios/clipboard.rs

This file was deleted.

2 changes: 0 additions & 2 deletions src/platform_impl/ios/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ macro_rules! assert_main_thread {
}

mod app_state;
mod clipboard;
mod event_loop;
mod ffi;
mod keycode;
Expand All @@ -86,7 +85,6 @@ use std::fmt;

pub(crate) use self::event_loop::PlatformSpecificEventLoopAttributes;
pub use self::{
clipboard::Clipboard,
event_loop::{EventLoop, EventLoopProxy, EventLoopWindowTarget},
keycode::{keycode_from_scancode, keycode_to_scancode},
monitor::{MonitorHandle, VideoMode},
Expand Down
50 changes: 0 additions & 50 deletions src/platform_impl/linux/clipboard.rs

This file was deleted.

6 changes: 1 addition & 5 deletions src/platform_impl/linux/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
target_os = "openbsd"
))]

mod clipboard;
mod device;
mod event_loop;
mod icon;
Expand All @@ -23,10 +22,7 @@ mod window;
pub mod taskbar;
pub mod x11;

pub use self::{
clipboard::Clipboard,
keycode::{keycode_from_scancode, keycode_to_scancode},
};
pub use self::keycode::{keycode_from_scancode, keycode_to_scancode};
pub(crate) use event_loop::PlatformSpecificEventLoopAttributes;
pub use event_loop::{EventLoop, EventLoopProxy, EventLoopWindowTarget};
pub use icon::PlatformIcon;
Expand Down
43 changes: 0 additions & 43 deletions src/platform_impl/macos/clipboard.rs

This file was deleted.

2 changes: 0 additions & 2 deletions src/platform_impl/macos/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
mod app;
mod app_delegate;
mod app_state;
mod clipboard;
mod event;
mod event_loop;
mod ffi;
Expand All @@ -26,7 +25,6 @@ use std::{fmt, ops::Deref, sync::Arc};
pub(crate) use self::event_loop::PlatformSpecificEventLoopAttributes;
pub use self::{
app_delegate::{get_aux_state_mut, AuxDelegateState},
clipboard::Clipboard,
event::KeyEventExtra,
event_loop::{EventLoop, EventLoopWindowTarget, Proxy as EventLoopProxy},
keycode::{keycode_from_scancode, keycode_to_scancode},
Expand Down
Loading
Loading