[PATCH v2 00/17] Improved text protocol, editor and keyboard examples

Jan Arne Petersen jpetersen at openismus.com
Sun Sep 9 14:08:29 PDT 2012


From: Jan Arne Petersen <jpetersen at openismus.com>

Fixed some small bugs in still open patches, and added them here since they are
dependencies of the other changes.

Improve the editor example adding cursor, selection and pre-edit support.

Add a proper QWERTY keyboard layout example with upper- and lowercase
letters.

Enhance the protocol with a better set_surrounding_text request, support for
pre-edit strings, support for deleting text (delete_surrounding_text), support
for control keys and a request to reset text buffers.

Show the enhanced protocol in the editor and keyboard examples.

The patches are also at the https://github.com/openismus/weston repository.

Jan Arne Petersen (16):
  text: Remove surface arg in create_text_model
  text: Introduce input_method_context interface
  text: Add some documentation to the text protocol
  editor: Make text_entry a widget
  editor: Extract text handling into text_layout
  editor: Add support for cursor
  editor: Insert commit-string at cursor
  editor: Add support for selection
  editor: Add support for setting a preedit
  text: Fix set_surrounding_text request
  text: Split text and input-method protocols
  keyboard: Use a qwerty virtual keyboard layout
  text: Add support for pre-edit string
  text: Add delete_surrounding_text to protocol
  text: Add support for control keys to the protocol
  text: Add reset requets to protocol

Philipp Brüschweiler (1):
  text: Have only one text_model_factory

 clients/.gitignore        |   2 +
 clients/Makefile.am       |   6 +-
 clients/editor.c          | 642 +++++++++++++++++++++++++++++++++++++++-------
 clients/keyboard.c        | 306 +++++++++++++++++++---
 protocol/Makefile.am      |   1 +
 protocol/input-method.xml |  98 +++++++
 protocol/text.xml         | 104 ++++++--
 src/.gitignore            |   2 +
 src/Makefile.am           |   4 +
 src/compositor.c          |   1 +
 src/compositor.h          |   3 +
 src/text-backend.c        | 245 ++++++++++++++----
 tests/test-text-client.c  |  19 +-
 tests/text-test.c         |   2 +-
 14 files changed, 1232 insertions(+), 203 deletions(-)
 create mode 100644 protocol/input-method.xml

-- 
1.7.11.4



More information about the wayland-devel mailing list