From: Jan Arne Petersen <[email protected]> This patch series replaces the previous "Extend text protocol for IBus support" and "Improve text protocol".
All changes include: * Some cleanups from the previous text input patch series (required by the new patches) * Add support for overlay panel input panel surfaces which follow the input cursor. * Requires specifying an output for toplevel input panel surfaces (currently they are positioned on the bottom center of that output). * Extract input panel support from shell.c into an own file (so it is easier to add support to different shells). * Add a weston-control utility client to reload the config or set an input method. Requires to have the weston-control.so module loaded in weston. * Fix some small editor bugs * Fixes serials handling in text protocol * Adds documentation to the protocols * Adds wl_ prefixes to the interfaces. We are back to use byte offsets instead of Unicode characters like in the previous patch series. Jan Arne Petersen (26): text: Add language and text-direction to protocol text: Add example for language/text direction keyboard: Reset state on activate editor: Reset text model on reset view: g_type_init() is deprecated in glib >= 2.35 text: rename text_model::commit to commit_state text: Order requests and events in a nice way text: Rename text_model to text_input text: Add "none" preedit-style editor: Only delete on backspace key released editor: Send cursor position to the input method text: Add support for panels following the cursor text: Add output argument to set_toplevel text: Move input panel into an own file text: Only allow input-method started by weston to bind Add weston-control to allow reloading the config file text: Fix serial handling text: delete text on commit_string keyboard: Remove unneded calls text: Rename text_input to wl_text_input text: Rename ::set_panel to ::set_overlay_panel text: Improve protocol documentation. text: Rename input_method to wl_input_method text: add cursor_rectangle event to input_panel_surface keyboard: Fix offsets when deleting text editor: Fix some offsets for multi-byte characters Krzesimir Nowak (2): text: Fix password content hint value text: Fix some text and input-method docs clients/.gitignore | 3 + clients/Makefile.am | 9 + clients/editor.c | 387 +++++++++++++++++++++++-------------- clients/keyboard.c | 443 +++++++++++++++++++++++++++++------------- clients/view.c | 2 + clients/weston-control.c | 101 ++++++++++ clients/weston-simple-im.c | 178 ++++++++--------- protocol/Makefile.am | 1 + protocol/control.xml | 35 ++++ protocol/input-method.xml | 176 +++++++++++++---- protocol/text.xml | 320 +++++++++++++++++------------- src/.gitignore | 3 + src/Makefile.am | 17 +- src/compositor.c | 4 + src/compositor.h | 17 ++ src/control.c | 88 +++++++++ src/input-panel.c | 472 +++++++++++++++++++++++++++++++++++++++++++++ src/shell.c | 284 +-------------------------- src/text-backend.c | 449 ++++++++++++++++++++++++++---------------- tests/text-test.c | 120 +++++++----- 20 files changed, 2072 insertions(+), 1037 deletions(-) create mode 100644 clients/weston-control.c create mode 100644 protocol/control.xml create mode 100644 src/control.c create mode 100644 src/input-panel.c -- 1.8.1.4 _______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
