Commit Graph

53 Commits

Author SHA1 Message Date
094aa872ce Cleanups: fix deprecated g_type_class_add_private()
- use G_DECLARE_ and G_DEFINE_ macros
- move all data into ClassNamePrivate
- use _get_instance_private()

This should not introduce any functional changes or breakage.

Skipped two classes (EekKeyboard and EekboardContextService) for now in
order not to break the build.

These two classes are used in some very funky WIP code that tries to
circumvent encapsulation.

(Funky code is in eekboard/key-emitter.c and eekboard/eekboard-context-service.c)
2019-07-08 08:44:05 +02:00
9e5629d1e0 Enable Wayland's virtual-keyboard protocol
This commit includes a little restructuring necessary for keeping wayland objects properly.
It doesn't fix broken modifier functionality yet.
2019-06-25 18:12:15 +00:00
02525056d6 Removed X11 header, added some clarifications 2019-06-22 16:20:03 +00:00
b5b59e77d6 Check errors when retrieving XKB layout information. 2012-04-24 11:58:41 +09:00
cce883808e Simplify eek-xkb-layout.c. 2012-04-24 11:01:42 +09:00
4538ef38a1 Revert "Remove eek-xkb*."
This reverts commit ee12d02402.
2012-04-24 10:06:09 +09:00
ee12d02402 Remove eek-xkb*. 2012-04-23 18:35:15 +09:00
7050fa41a0 G_CONST_RETURN -> const. 2012-04-23 17:09:48 +09:00
6db99bee25 Don't enumerate over keys when find_by_keycode. 2012-03-28 14:43:49 +09:00
048e08b59a Factor out symbols from keyboard file. 2012-03-23 18:07:01 +09:00
f442733b33 Fix some mistakes.
* remove useless g_obect_{set,get}_property call.
* free GError on error.
2012-03-16 18:15:50 +09:00
a6fe5bd859 Use GInitable to define EekXklLayout. 2012-03-16 17:36:20 +09:00
6a7b256676 Remove unnecessary null initialization. 2011-08-18 11:31:01 +09:00
ac8764b9b7 Fix compiler warnings. 2011-04-19 11:56:00 +09:00
23ab2a343f Fix coding style. 2011-03-04 14:28:20 +09:00
98e15d7741 Resolve AltGr modifier at run time. 2011-03-04 10:42:31 +09:00
8b632356e9 Fix memleaks. 2011-03-03 15:05:59 +09:00
f7caf6fe49 Handle Num_Lock correctly (RHBZ#680826). 2011-03-02 15:44:35 +09:00
7916930160 Implement serialization to GVariant. 2011-02-14 14:13:02 +09:00
c7a2be629f Set empty keysym matrix if keycode is 0. 2011-02-02 13:10:07 +09:00
e6df7d90fe Use GObject instead of guint to represent keysyms. 2011-01-28 16:19:18 +09:00
880ba76bd8 Update copyright year. 2011-01-27 16:58:59 +09:00
4008706bb0 Remove useless get_group method and group_changed signal of EekLayout. 2011-01-27 11:09:24 +09:00
45cd7958d0 Don't cache group/level in EekKey. 2011-01-26 07:57:44 +09:00
48e64f1c32 Move eek_keyboard_new to eek-layout.c; add utility functions. 2011-01-25 16:17:34 +09:00
907fc3f872 Define EekLayout as a class instead of an interface. 2011-01-25 14:29:57 +09:00
a0167c4cc2 Re-organize API.
EekGtkKeyboard is now a subclass of GtkWidget not EekKeyboard.  Widget
creation is done as follows:

layout = eek_xkl_layout_new (...);
keyboard = eek_keyboard_new (layout, 640, 480);
widget = eek_gtk_keyboard_new (keyboard);

Broken Clutter support is temporarily disabled.
2011-01-22 11:55:29 +09:00
29c55b6ca3 Suppress compiler warnings. 2010-12-06 12:12:52 +09:00
7f52069e41 libeek: terminate args of eek_xkb_layout_set_names_full() with NULL instead of -1. 2010-08-13 08:11:40 +09:00
a2d2ef3a5e libeek: add eek_xkb_layout_set_names_full_valist(). 2010-08-12 12:03:21 +09:00
27ddc144e0 libeek: add Since: doc-comment 2010-06-22 17:19:25 +09:00
fdb083bb12 libeek: supress compiler warning 2010-06-22 17:01:43 +09:00
9aabdc0812 Fix coding style. 2010-06-22 16:29:24 +09:00
a388d9e6e1 libeek: add wrapper functions to avoid exposing XKB/XKL structures to GIR 2010-06-22 16:14:28 +09:00
f50a8a98f4 Generate gobject-introspection files. 2010-06-22 10:44:19 +09:00
1bcb2cc31d libeek: abolish arguments for eek_clutter_keyboard_new() and eek_xkb_layout_new() 2010-06-16 16:08:23 +09:00
b2ace93fef EekKey#set_keysym_index(): fallback to level 0 when level exceeds num_levels 2010-06-16 12:24:03 +09:00
2d7c1e52f2 EekXklLayout: eek_xkl_layout_set_config() takes XklConfigRec as an argument. 2010-06-14 18:05:22 +09:00
e6b4f50c84 Fix GObject#dispose() usage. 2010-06-12 16:59:50 +09:00
89cfaef48c EekXkbLayout: Implement get_group() of EekLayoutIface. 2010-06-11 18:47:30 +09:00
4b7f244062 Add a standalone application. 2010-06-11 17:56:32 +09:00
5f0c22b125 Fix clean rebuild. 2010-06-11 06:09:40 +09:00
43fdb5e960 Fix object finalization.
Add XKL wrapper (not ready).
2010-06-10 17:53:54 +09:00
9011a7309b Fix the last commit. 2010-06-09 18:38:19 +09:00
f6e6fda47e Fix finalization. 2010-06-09 18:37:07 +09:00
662f619ba2 Rewrite. 2010-06-09 16:44:26 +09:00
bb7462e786 Add "keycode" property to EekKey.
Add eek_key_get_keysyms().
2010-06-08 09:27:41 +09:00
15eb856ed3 Add eek_section_{set,get}_orientation. 2010-06-06 13:19:36 +09:00
4447dca695 Split eek_section_{set,get}_dimensions. 2010-06-06 04:36:49 +09:00
31004846a2 Make sure the XKB layout is initialized properly. 2010-06-05 19:53:23 +09:00