Skip to content

Commit 55befea

Browse files
authored
Merge pull request #1 from mahkoh/jorth/version-1
Prepare the 0.1.0 release
2 parents eb9e52a + f3a724e commit 55befea

File tree

7 files changed

+1080
-4
lines changed

7 files changed

+1080
-4
lines changed

apps/window-to-tray/src/wtt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ use {
118118
};
119119

120120
pub fn main(theme: Theme, program: &[String]) -> Result<(), WttError> {
121-
let server = SimpleProxy::new(Baseline::V1_UNSTABLE).map_err(WttError::CreateServer)?;
121+
let server = SimpleProxy::new(Baseline::V1).map_err(WttError::CreateServer)?;
122122
Command::new(&program[0])
123123
.args(&program[1..])
124124
.with_wayland_display(server.display())

apps/wl-format-filter/src/hf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ use {
2626
};
2727

2828
pub fn main(allow: Vec<Filter>, deny: Vec<Filter>, program: Vec<String>) -> Result<(), HfError> {
29-
let server = SimpleProxy::new(Baseline::V1_UNSTABLE).map_err(HfError::CreateServer)?;
29+
let server = SimpleProxy::new(Baseline::V1).map_err(HfError::CreateServer)?;
3030
Command::new(&program[0])
3131
.args(&program[1..])
3232
.with_wayland_display(server.display())

apps/wl-paper/src/paper.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ use {
5454

5555
pub fn main(config: Config, program: &[String]) -> Result<(), PaperError> {
5656
let config = Arc::new(config);
57-
let server = SimpleProxy::new(Baseline::V1_UNSTABLE).map_err(PaperError::CreateServer)?;
57+
let server = SimpleProxy::new(Baseline::V1).map_err(PaperError::CreateServer)?;
5858
Command::new(&program[0])
5959
.args(&program[1..])
6060
.with_wayland_display(server.display())

wl-proxy/src/baseline.rs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,14 @@ impl Baseline {
5252
#[doc(hidden)]
5353
pub const V0_UNSTABLE: Self = Self::V0;
5454

55+
/// Version 1.
56+
pub const V1: Self = Self(1, v1::BASELINE);
57+
58+
/// Version 1 (deprecated alias).
59+
#[deprecated]
60+
#[doc(hidden)]
61+
pub const V1_UNSTABLE: Self = Self::V1;
62+
5563
/// The unreleased baseline.
5664
///
5765
/// This is unstable and can change at any time.
@@ -62,7 +70,7 @@ impl Baseline {
6270
/// - create Self::VN and Self::VN_UNSTABLE
6371
/// - mark Self::VN_UNSTABLE as deprecated
6472
#[doc(hidden)]
65-
pub const V1_UNSTABLE: Self = Self(1, prototyping::BASELINE);
73+
pub const V2_UNSTABLE: Self = Self(2, prototyping::BASELINE);
6674

6775
/// This baseline always contains all protocols supported by this crate in their
6876
/// highest supported version.

wl-proxy/src/baseline/versions.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
pub(super) mod prototyping;
22
pub(super) mod v0;
3+
pub(super) mod v1;

wl-proxy/src/baseline/versions/v1.rs

Lines changed: 798 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 269 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,269 @@
1+
cosmic_a11y_manager_v1 = 3
2+
cosmic_corner_radius_manager_v1 = 1
3+
cosmic_corner_radius_toplevel_v1 = 1
4+
ext_background_effect_manager_v1 = 1
5+
ext_background_effect_surface_v1 = 1
6+
ext_data_control_device_v1 = 1
7+
ext_data_control_manager_v1 = 1
8+
ext_data_control_offer_v1 = 1
9+
ext_data_control_source_v1 = 1
10+
ext_foreign_toplevel_handle_v1 = 1
11+
ext_foreign_toplevel_image_capture_source_manager_v1 = 1
12+
ext_foreign_toplevel_list_v1 = 1
13+
ext_idle_notification_v1 = 2
14+
ext_idle_notifier_v1 = 2
15+
ext_image_capture_source_v1 = 1
16+
ext_image_copy_capture_cursor_session_v1 = 1
17+
ext_image_copy_capture_frame_v1 = 1
18+
ext_image_copy_capture_manager_v1 = 1
19+
ext_image_copy_capture_session_v1 = 1
20+
ext_output_image_capture_source_manager_v1 = 1
21+
ext_session_lock_manager_v1 = 1
22+
ext_session_lock_surface_v1 = 1
23+
ext_session_lock_v1 = 1
24+
ext_transient_seat_manager_v1 = 1
25+
ext_transient_seat_v1 = 1
26+
ext_workspace_group_handle_v1 = 1
27+
ext_workspace_handle_v1 = 1
28+
ext_workspace_manager_v1 = 1
29+
hyprland_ctm_control_manager_v1 = 2
30+
hyprland_focus_grab_manager_v1 = 1
31+
hyprland_focus_grab_v1 = 1
32+
hyprland_global_shortcut_v1 = 1
33+
hyprland_global_shortcuts_manager_v1 = 1
34+
hyprland_input_capture_manager_v1 = 1
35+
hyprland_input_capture_v1 = 1
36+
hyprland_lock_notification_v1 = 1
37+
hyprland_lock_notifier_v1 = 1
38+
hyprland_surface_manager_v1 = 2
39+
hyprland_surface_v1 = 2
40+
hyprland_toplevel_export_frame_v1 = 2
41+
hyprland_toplevel_export_manager_v1 = 2
42+
hyprland_toplevel_mapping_manager_v1 = 1
43+
hyprland_toplevel_window_mapping_handle_v1 = 1
44+
ivi_application = 1
45+
ivi_hmi_controller = 1
46+
ivi_surface = 1
47+
jay_popup_ext_manager_v1 = 1
48+
jay_popup_ext_v1 = 1
49+
jay_tray_item_v1 = 1
50+
jay_tray_v1 = 1
51+
org_kde_kwin_server_decoration = 1
52+
org_kde_kwin_server_decoration_manager = 1
53+
river_decoration_v1 = 3
54+
river_input_device_v1 = 1
55+
river_input_manager_v1 = 1
56+
river_layer_shell_output_v1 = 1
57+
river_layer_shell_seat_v1 = 1
58+
river_layer_shell_v1 = 1
59+
river_libinput_accel_config_v1 = 1
60+
river_libinput_config_v1 = 1
61+
river_libinput_device_v1 = 1
62+
river_libinput_result_v1 = 1
63+
river_node_v1 = 3
64+
river_output_v1 = 3
65+
river_pointer_binding_v1 = 3
66+
river_seat_v1 = 3
67+
river_shell_surface_v1 = 3
68+
river_window_manager_v1 = 3
69+
river_window_v1 = 3
70+
river_xkb_binding_v1 = 1
71+
river_xkb_bindings_v1 = 1
72+
weston_capture_source_v1 = 2
73+
weston_capture_v1 = 2
74+
weston_content_protection = 1
75+
weston_debug_stream_v1 = 1
76+
weston_debug_v1 = 1
77+
weston_desktop_shell = 1
78+
weston_direct_display_v1 = 1
79+
weston_protected_surface = 1
80+
weston_screensaver = 1
81+
weston_test = 1
82+
weston_test_runner = 1
83+
weston_touch_calibration = 1
84+
weston_touch_calibrator = 1
85+
weston_touch_coordinate = 1
86+
wl_buffer = 1
87+
wl_callback = 1
88+
wl_compositor = 6
89+
wl_data_device = 3
90+
wl_data_device_manager = 3
91+
wl_data_offer = 3
92+
wl_data_source = 3
93+
wl_display = 1
94+
wl_drm = 2
95+
wl_fixes = 1
96+
wl_keyboard = 10
97+
wl_output = 4
98+
wl_pointer = 10
99+
wl_region = 1
100+
wl_registry = 1
101+
wl_seat = 10
102+
wl_shell = 1
103+
wl_shell_surface = 1
104+
wl_shm = 2
105+
wl_shm_pool = 2
106+
wl_subcompositor = 1
107+
wl_subsurface = 1
108+
wl_surface = 6
109+
wl_touch = 10
110+
wlproxy_sync_v1 = 1
111+
wlproxy_test = 1
112+
wlproxy_test_array_echo = 1
113+
wlproxy_test_dummy = 1
114+
wlproxy_test_fd_echo = 1
115+
wlproxy_test_hops = 1
116+
wlproxy_test_non_forward = 1
117+
wlproxy_test_object_echo = 1
118+
wlproxy_test_server_sent = 1
119+
wp_alpha_modifier_surface_v1 = 1
120+
wp_alpha_modifier_v1 = 1
121+
wp_color_management_output_v1 = 2
122+
wp_color_management_surface_feedback_v1 = 2
123+
wp_color_management_surface_v1 = 2
124+
wp_color_manager_v1 = 2
125+
wp_color_representation_manager_v1 = 1
126+
wp_color_representation_surface_v1 = 1
127+
wp_commit_timer_v1 = 1
128+
wp_commit_timing_manager_v1 = 1
129+
wp_content_type_manager_v1 = 1
130+
wp_content_type_v1 = 1
131+
wp_cursor_shape_device_v1 = 2
132+
wp_cursor_shape_manager_v1 = 2
133+
wp_drm_lease_connector_v1 = 1
134+
wp_drm_lease_device_v1 = 1
135+
wp_drm_lease_request_v1 = 1
136+
wp_drm_lease_v1 = 1
137+
wp_fifo_manager_v1 = 1
138+
wp_fifo_v1 = 1
139+
wp_fractional_scale_manager_v1 = 1
140+
wp_fractional_scale_v1 = 1
141+
wp_image_description_creator_icc_v1 = 2
142+
wp_image_description_creator_params_v1 = 2
143+
wp_image_description_info_v1 = 2
144+
wp_image_description_reference_v1 = 1
145+
wp_image_description_v1 = 2
146+
wp_linux_drm_syncobj_manager_v1 = 1
147+
wp_linux_drm_syncobj_surface_v1 = 1
148+
wp_linux_drm_syncobj_timeline_v1 = 1
149+
wp_pointer_warp_v1 = 1
150+
wp_presentation = 2
151+
wp_presentation_feedback = 2
152+
wp_security_context_manager_v1 = 1
153+
wp_security_context_v1 = 1
154+
wp_single_pixel_buffer_manager_v1 = 1
155+
wp_tearing_control_manager_v1 = 1
156+
wp_tearing_control_v1 = 1
157+
wp_viewport = 1
158+
wp_viewporter = 1
159+
xdg_activation_token_v1 = 1
160+
xdg_activation_v1 = 1
161+
xdg_dialog_v1 = 1
162+
xdg_popup = 7
163+
xdg_positioner = 7
164+
xdg_surface = 7
165+
xdg_system_bell_v1 = 1
166+
xdg_toplevel = 7
167+
xdg_toplevel_drag_manager_v1 = 1
168+
xdg_toplevel_drag_v1 = 1
169+
xdg_toplevel_icon_manager_v1 = 1
170+
xdg_toplevel_icon_v1 = 1
171+
xdg_toplevel_tag_manager_v1 = 1
172+
xdg_wm_base = 7
173+
xdg_wm_dialog_v1 = 1
174+
xwayland_shell_v1 = 1
175+
xwayland_surface_v1 = 1
176+
zcosmic_output_configuration_head_v1 = 2
177+
zcosmic_output_configuration_v1 = 1
178+
zcosmic_output_head_v1 = 3
179+
zcosmic_output_manager_v1 = 3
180+
zcosmic_overlap_notification_v1 = 1
181+
zcosmic_overlap_notify_v1 = 1
182+
zcosmic_workspace_handle_v2 = 2
183+
zcosmic_workspace_image_capture_source_manager_v1 = 1
184+
zcosmic_workspace_manager_v2 = 2
185+
zwlr_data_control_device_v1 = 2
186+
zwlr_data_control_manager_v1 = 2
187+
zwlr_data_control_offer_v1 = 1
188+
zwlr_data_control_source_v1 = 1
189+
zwlr_export_dmabuf_frame_v1 = 1
190+
zwlr_export_dmabuf_manager_v1 = 1
191+
zwlr_foreign_toplevel_handle_v1 = 3
192+
zwlr_foreign_toplevel_manager_v1 = 3
193+
zwlr_gamma_control_manager_v1 = 1
194+
zwlr_gamma_control_v1 = 1
195+
zwlr_input_inhibit_manager_v1 = 1
196+
zwlr_input_inhibitor_v1 = 1
197+
zwlr_layer_shell_v1 = 5
198+
zwlr_layer_surface_v1 = 5
199+
zwlr_output_configuration_head_v1 = 4
200+
zwlr_output_configuration_v1 = 4
201+
zwlr_output_head_v1 = 4
202+
zwlr_output_manager_v1 = 4
203+
zwlr_output_mode_v1 = 3
204+
zwlr_output_power_manager_v1 = 1
205+
zwlr_output_power_v1 = 1
206+
zwlr_screencopy_frame_v1 = 3
207+
zwlr_screencopy_manager_v1 = 3
208+
zwlr_virtual_pointer_manager_v1 = 2
209+
zwlr_virtual_pointer_v1 = 2
210+
zwp_confined_pointer_v1 = 1
211+
zwp_fullscreen_shell_mode_feedback_v1 = 1
212+
zwp_fullscreen_shell_v1 = 1
213+
zwp_idle_inhibit_manager_v1 = 1
214+
zwp_idle_inhibitor_v1 = 1
215+
zwp_input_method_context_v1 = 1
216+
zwp_input_method_keyboard_grab_v2 = 1
217+
zwp_input_method_manager_v2 = 1
218+
zwp_input_method_v1 = 1
219+
zwp_input_method_v2 = 1
220+
zwp_input_panel_surface_v1 = 1
221+
zwp_input_panel_v1 = 1
222+
zwp_input_popup_surface_v2 = 1
223+
zwp_input_timestamps_manager_v1 = 1
224+
zwp_input_timestamps_v1 = 1
225+
zwp_keyboard_shortcuts_inhibit_manager_v1 = 1
226+
zwp_keyboard_shortcuts_inhibitor_v1 = 1
227+
zwp_linux_buffer_params_v1 = 5
228+
zwp_linux_buffer_release_v1 = 1
229+
zwp_linux_dmabuf_feedback_v1 = 5
230+
zwp_linux_dmabuf_v1 = 5
231+
zwp_linux_explicit_synchronization_v1 = 2
232+
zwp_linux_surface_synchronization_v1 = 2
233+
zwp_locked_pointer_v1 = 1
234+
zwp_pointer_constraints_v1 = 1
235+
zwp_pointer_gesture_hold_v1 = 3
236+
zwp_pointer_gesture_pinch_v1 = 3
237+
zwp_pointer_gesture_swipe_v1 = 3
238+
zwp_pointer_gestures_v1 = 3
239+
zwp_primary_selection_device_manager_v1 = 1
240+
zwp_primary_selection_device_v1 = 1
241+
zwp_primary_selection_offer_v1 = 1
242+
zwp_primary_selection_source_v1 = 1
243+
zwp_relative_pointer_manager_v1 = 1
244+
zwp_relative_pointer_v1 = 1
245+
zwp_tablet_manager_v2 = 2
246+
zwp_tablet_pad_dial_v2 = 2
247+
zwp_tablet_pad_group_v2 = 2
248+
zwp_tablet_pad_ring_v2 = 2
249+
zwp_tablet_pad_strip_v2 = 2
250+
zwp_tablet_pad_v2 = 2
251+
zwp_tablet_seat_v2 = 2
252+
zwp_tablet_tool_v2 = 2
253+
zwp_tablet_v2 = 2
254+
zwp_text_input_manager_v1 = 1
255+
zwp_text_input_manager_v3 = 1
256+
zwp_text_input_v1 = 1
257+
zwp_text_input_v3 = 1
258+
zwp_virtual_keyboard_manager_v1 = 1
259+
zwp_virtual_keyboard_v1 = 1
260+
zwp_xwayland_keyboard_grab_manager_v1 = 1
261+
zwp_xwayland_keyboard_grab_v1 = 1
262+
zxdg_decoration_manager_v1 = 1
263+
zxdg_exported_v2 = 1
264+
zxdg_exporter_v2 = 1
265+
zxdg_imported_v2 = 1
266+
zxdg_importer_v2 = 1
267+
zxdg_output_manager_v1 = 3
268+
zxdg_output_v1 = 3
269+
zxdg_toplevel_decoration_v1 = 1

0 commit comments

Comments
 (0)