On Fri, 7 Sep 2012 20:48:17 -0400
jegde jedge wrote:
> Sorry for the delay, my mail tool didn't link up this thread fro me.
>
> I am running w/ DRM not X11; running weston in an X client was not
> adequate for my test app.
> I start by obtaining a virtual terminal ;init 3 ; then weston-launch
>
From: Bill Spitzak
This allows X applications to be run on wayland without having to
delete conf files needed to run the legacy X server on the same
machine.
The --config and --configdir switches can override these changes.
An extra patch to xorg was needed, as it *always* looked for
xorg.conf.
From: Jan Arne Petersen
Add key event to the text_model interface and a key request to the
input_method_context interface. Implement it in the example editor
client and the example keyboard.
Signed-off-by: Jan Arne Petersen
---
clients/editor.c | 25 -
clients/
From: Jan Arne Petersen
Add a reset request to the text_model interface and a reset event to the
input_method_context interface. Use it to reset the pre-edit buffers in
the example keyboard when the cursor is moved in the example editor
client.
Signed-off-by: Jan Arne Petersen
---
clients/edit
From: Jan Arne Petersen
Add delete_surrounding_text event in the text_model interface and the
request in the input_method_context interface. Implement it in the
example editor client and in the example keyboard so that the backspace
key works with it.
Signed-off-by: Jan Arne Petersen
---
clien
From: Jan Arne Petersen
Add support of preedit-string to the example editor client. Also add a
preedit_string request to the input_method_context interface and use
that in the example weston keyboard to first create a pre-edit string
when entering keys and commit it on space.
Signed-off-by: Jan
From: Jan Arne Petersen
Add support for a proper qwerty virtual keyboard layout with lowercase
and uppercase state, space and enter button.
Signed-off-by: Jan Arne Petersen
---
clients/keyboard.c | 206 -
1 file changed, 171 insertions(+), 35
From: Jan Arne Petersen
Add cursor and anchor positions as arguments to the set_surrounding_text
request. The cursor and anchor positions are relative to the surrounded
text, so it does not make sense to have that separate. Remove the
separate set_cursor_index and set_selected_text requests. Also
From: Jan Arne Petersen
It makes sense to split the interfaces in a text and a input-method
protocol for now (only the text protocol needs to be used in toolkits).
Signed-off-by: Jan Arne Petersen
---
clients/.gitignore| 2 ++
clients/Makefile.am | 6 ++--
clients/keyboard.c
From: Jan Arne Petersen
Add support for setting a preedit text to the editor example.
Signed-off-by: Jan Arne Petersen
---
clients/editor.c | 91 ++--
1 file changed, 89 insertions(+), 2 deletions(-)
diff --git a/clients/editor.c b/clients/e
From: Jan Arne Petersen
Make it possible to select text and render the selection to the editor
example.
Signed-off-by: Jan Arne Petersen
---
clients/editor.c | 76 +++-
1 file changed, 75 insertions(+), 1 deletion(-)
diff --git a/clients/edi
From: Jan Arne Petersen
Instead of appending at the end, insert the commit-string at the cursor
position.
Signed-off-by: Jan Arne Petersen
---
clients/editor.c | 34 --
1 file changed, 24 insertions(+), 10 deletions(-)
diff --git a/clients/editor.c b/clients/ed
From: Jan Arne Petersen
Add support for setting, moving and rendering a cursor.
Signed-off-by: Jan Arne Petersen
---
clients/editor.c | 100 +++
1 file changed, 100 insertions(+)
diff --git a/clients/editor.c b/clients/editor.c
index 03abab2
From: Jan Arne Petersen
Create a text_layout struct and functions for handling simple text
layouts.
Signed-off-by: Jan Arne Petersen
---
clients/editor.c | 99 +---
1 file changed, 94 insertions(+), 5 deletions(-)
diff --git a/clients/editor
From: Jan Arne Petersen
Simplify the example client by making text_entry a widget.
Signed-off-by: Jan Arne Petersen
---
clients/editor.c | 180 +--
1 file changed, 94 insertions(+), 86 deletions(-)
diff --git a/clients/editor.c b/clients/edi
From: Jan Arne Petersen
Add an input_method_context interface which is the representation of a
text_model on input_method side.
Signed-off-by: Jan Arne Petersen
---
clients/keyboard.c | 39 -
protocol/text.xml | 15 +++-
src/text-backend.c | 100 +
From: Jan Arne Petersen
Signed-off-by: Jan Arne Petersen
---
protocol/text.xml | 73 ---
1 file changed, 70 insertions(+), 3 deletions(-)
diff --git a/protocol/text.xml b/protocol/text.xml
index 7554167..a196b55 100644
--- a/protocol/text.xm
From: Philipp Brüschweiler
Have only one text_model_factory instead of one per seat.
This commit also introduces destruction of an input method when the
corresponding seat is removed.
Signed-off-by: Jan Arne Petersen
---
src/compositor.c | 1 +
src/compositor.h | 3 +++
src/text-backend
From: Jan Arne Petersen
Remove the wl_surface argument from create_text_model request. The
wl_surface is specified as an argument in the activate request instead.
Signed-off-by: Jan Arne Petersen
---
clients/editor.c | 6 ++
protocol/text.xml| 1 -
src/text-backend.c
From: Jan Arne Petersen
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.
En
Ran weston on the DRM backend (outside X), it did something weird, and you
want to get the output to a file? (And haven't set up gpm in forever?)
It's really easy:
# setterm -file log.txt -dump 4
Where "4" was the virtual terminal number I wanted the text from. You'll
need to run it as root.
As event-loop uses epoll() as base object we can stick one event-loop into
another by retrieving the epoll-fd and watching for events on it. However,
the idle objects aren't based on file-descriptors so if one event-callback
adds a new idle-source, the possible parent event-loop isn't notified of
t
22 matches
Mail list logo