egui/crates
Diggory Hardy fb726aaabb
egui-winit: fix unsafe API of Clipboard::new (#2765)
* egui-winit: fix unsafe API of Clipboard::new

The old API allowed passing an arbitrary pointer. The new
API still breaks safety by allowing the object to outlive
the input, but is at least safer.

* Update crates/egui-winit/src/clipboard.rs

Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>

* Fix typo

* Update crates/egui-winit/src/clipboard.rs

Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>

* cargo fmt

* egui-winit: fix init_smithay_clipboard

---------

Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
2023-03-30 10:21:07 +02:00
..
ecolor Add badges to all crates' README.md 2023-02-12 18:08:13 +01:00
eframe eframe: add a simplified native-only API for simple native apps (#2453) 2023-03-30 10:00:47 +02:00
egui feat: simple grid row color picker (#2519) 2023-03-30 10:01:22 +02:00
egui-wgpu [egui-wgpu] Do vertex & index buffer in a single copy each (#2820) 2023-03-29 19:30:18 +02:00
egui-winit egui-winit: fix unsafe API of Clipboard::new (#2765) 2023-03-30 10:21:07 +02:00
egui_demo_app demo app: use `enum` instead of strings for demo-selector anchor (#2781) 2023-03-30 09:20:07 +02:00
egui_demo_lib Fix resizable columns option in the table demo (#2780) 2023-03-29 15:53:56 +02:00
egui_extras Add #![forbid(unsafe_code)] where unsafe isn't needed (#2773) 2023-03-29 14:39:51 +02:00
egui_glium Add #![forbid(unsafe_code)] where unsafe isn't needed (#2773) 2023-03-29 14:39:51 +02:00
egui_glow eframe: capture a screenshot using `Frame::request_screenshot` 2023-03-29 16:34:22 +02:00
egui_web Fix broken GitHub source links due to #1940 2022-08-20 15:18:02 +02:00
emath Add #![forbid(unsafe_code)] where unsafe isn't needed (#2773) 2023-03-29 14:39:51 +02:00
epaint eframe: capture a screenshot using `Frame::request_screenshot` 2023-03-29 16:34:22 +02:00