feat(client): redesign native UI, themes, settings and avatars

Separate conversation drafts and voice view state, add native settings and restricted CSS themes, implement validated avatar cropping, and refresh dependencies with documented desktop compatibility backports.
This commit is contained in:
Loki 2026-10-24 14:23:48 +02:00
parent 44d284a568
commit 8e5ab56611
Signed by: boba
GPG key ID: 253067914055423B
276 changed files with 53546 additions and 3399 deletions

48
patches/atspi-proxies/src/socket.rs vendored Normal file
View file

@ -0,0 +1,48 @@
//! # `DBus` interface proxy for: `org.a11y.atspi.Socket`
//!
//! This code was generated by `zbus-xmlgen` `2.0.1` from `DBus` introspection data.
//! Source: `Socket.xml`.
//!
//! You may prefer to adapt it, instead of using it verbatim.
//!
//! More information can be found in the
//! [Writing a client proxy](https://dbus.pages.freedesktop.org/zbus/client.html)
//! section of the zbus documentation.
//!
use atspi_common::object_ref::ObjectRefOwned;
#[zbus::proxy(
interface = "org.a11y.atspi.Socket",
default_path = "/org/a11y/atspi/accessible/root",
default_service = "org.a11y.atspi.Registry"
)]
pub trait Socket {
/// @plug: a string for the unique bus name of the application, and an object path
/// for the application's' root object.
///
/// This is the entry point for an application that wants to register itself against
/// the accessibility registry. The application's root object, which it passes in
/// @plug, must support the org.a11y.atspi.Application interface.
///
/// When an application calls this method on the registry, the following handshake happens:
///
/// * Application calls this method on the registry to identify itself.
/// * The registry sets the "Id" property on the org.a11y.atspi.Application interface on the @plug object.
/// * The Embed method returns with the bus name and object path for the registry's root object.
/// Returns: the bus name and object path of the registry's root object.
fn embed(&self, plug: &(&str, zbus::wire::ObjectPath<'_>)) -> zbus::Result<ObjectRefOwned>;
/// This method is called by a socket to inform the plug that it is being
/// embedded. The plug should register the embedding socket as its parent.
fn embedded(&self, path: zbus::wire::ObjectPath<'_>) -> zbus::Result<()>;
/// Unembed method
/// @plug: a string for the unique bus name of the application, and an object path
/// for the application's' root object.
///
/// Unregisters an application from the accesibility registry. It is not necessary to
/// call this method; the accessibility registry detects when an application
/// disconnects from the bus.
fn unembed(&self, plug: &(&str, zbus::wire::ObjectPath<'_>)) -> zbus::Result<()>;
}