summaryrefslogtreecommitdiff
path: root/libcaribou
Commit message (Collapse)AuthorAgeFilesLines
* Stop patching the generated GIRRico Tzschichholz2021-01-201-6/+2
|
* Fix build with newer valac versionsRico Tzschichholz2021-01-201-1/+1
| | | | Fixes https://gitlab.gnome.org/GNOME/caribou/issues/7
* xadapter.vala: Remove XkbKeyTypesMask and fields from XKbChangeMap call.Michael Webster2021-01-131-7/+2
| | | | | | | | | | | This was originally a workaround for xFree86 4.3 - see: https://bugzilla.gnome.org/show_bug.cgi?id=673547 ​ As of https://gitlab.freedesktop.org/xorg/xserver/-/commit/87c64fc5b0 this causes a BadLength error when attempting to use shifted characters. ​ Ref: https://www.x.org/releases/X11R7.7/doc/libX11/XKB/xkblib.html#Changing_Map_Components_in_the_Server
* xadapter: Avoid a crash when Xkl doesn't know the real xkb groupsRui Matos2015-10-131-2/+11
| | | | | | | | | | | | | | | Xkl.ConfigRec gets its layouts and variants from the _XKB_RULES_NAMES root window property which isn't specified anywhere and in fact doesn't get set under Xwayland. The group index though is accurate which means that we might end up trying to access an invalid index on the layouts or variants array and crashing. Avoid this by just lying to the caller since we can't obtain the real layout/variant names in that case. Since this only happens under Xwayland and in that case the only consumer of this API is gnome-shell which ends up not using the names, this should be safe. https://bugzilla.gnome.org/show_bug.cgi?id=756194
* display-adapter: Allow setting an external default adapter instanceRui Matos2015-04-141-0/+7
| | | | | | | | This will allow gnome-shell, when running as a native wayland compositor, to set its own display adapter implementation since the X one doesn't work for that case. https://bugzilla.gnome.org/show_bug.cgi?id=747273
* libcaribou: Enable keyboard creation from a fileDaiki Ueno2015-01-162-14/+49
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=690436
* libcaribou: Use libtool versioningDaiki Ueno2014-11-281-0/+1
|
* Allow to overwrite the label in the keyboard layout.Raphael Freudiger2014-11-122-1/+4
| | | | | | | | | | Currently some buttons do only have its name as label. This is not always useful. I.e. for the dead-keys the label is often only "dead". In some keyboard layout it is preferred to have a symbol as label. This allows to overwrite the default label in the keyboard layout. https://bugzilla.gnome.org/show_bug.cgi?id=739837
* Add label to all keysRaphael Freudiger2014-11-091-4/+23
| | | | | | | | | | | Some keys do not have a label, so one has to guess what it does. Do the following for keys we do not have a label yet. First, try to find a label for dead keys by looking for the label of the non-dead key. Second, if no label is found use the key name as a label. https://bugzilla.gnome.org/show_bug.cgi?id=739526
* Add more keys to label_mapRaphael Freudiger2014-11-071-1/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=739716
* build: run fix_gir.py with $(PYTHON)Daiki Ueno2014-01-311-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=722355
* xadapter: disable slowkeys when sending key eventManuel BACHMANN2013-11-051-0/+20
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=698746
* libcaribou: factor out X dependencyDaiki Ueno2013-08-096-34/+199
| | | | | | | This patch adds a new abstract class DisplayAdapter to handle multiple display backends, other than X. https://bugzilla.gnome.org/show_bug.cgi?id=705720
* Make key repeat work againDaiki Ueno2013-04-222-4/+16
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=690435
* xml-deserializer: fallback to "touch" keyboard type, if not foundDaiki Ueno2013-02-261-0/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=689844
* Track XKB group configuration changeDaiki Ueno2013-02-182-14/+44
| | | | | | | | | | | | Since GNOME 3.6, switching XKB layouts changes the group configuration, while libcaribou assumes that the configuration is fixed during the session. This patch tries to track group configuration changes and allow clients to reconstruct keyboard UI through two new signals: KeyboardModel::group-added and KeyboardModel::group-removed. https://bugzilla.gnome.org/show_bug.cgi?id=694011
* Move external vapi files under $(top_srcdir)/vapiDaiki Ueno2013-02-173-450/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=688218
* libcaribou: fix dereferencing Gdk.XEvent pointer with Vala 0.16Daiki Ueno2013-01-211-0/+11
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=691992
* libcaribou: avoid integer overflowDaiki Ueno2013-01-111-5/+5
| | | | | | | | Since Xkb.Desc.{min,max}_keycode and Xkb.SymMap.width are defined as uchar, for-loops over them with an uchar index may not stop, if the upper bound is uchar.MAX or the lower bound is 0. https://bugzilla.gnome.org/show_bug.cgi?id=691463
* build: rename caribou.pc to caribou-1.0.pcDaiki Ueno2013-01-112-3/+5
| | | | | | | | Both *.pc and *.vapi should have the same basename. Also remove *.pc on "make distclean" instead of "make clean" since it is created at configure time. https://bugzilla.gnome.org/show_bug.cgi?id=687315
* build: don't use deprecated Automake variable INCLUDEDaiki Ueno2012-12-301-7/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=687315
* build: use git.mkDaiki Ueno2012-12-301-2/+7
| | | | | | | | Use git.mk to generate .gitignore files upon building. Also remove *.[ch] from CLEANFILES since it makes little sense with automake Vala support. https://bugzilla.gnome.org/show_bug.cgi?id=687315
* build: install pkg-config fileDaiki Ueno2012-12-302-0/+15
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=687315
* build: install vapi fileDaiki Ueno2012-12-302-2/+14
| | | | | | | | Install caribou-1.0.vapi into the standard vapi directory. Also install caribou-1.0.deps file so "--pkg caribou-1.0" automatically pulls dependencies. https://bugzilla.gnome.org/show_bug.cgi?id=687315
* build: only export public symbols from the libraryDaiki Ueno2012-12-301-1/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=687315
* Add valadoc comment to each public class.Daiki Ueno2012-12-3013-0/+59
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=687244
* key-model: Use key-released instead of key-clicked to hide subkeysRui Matos2012-11-261-3/+3
| | | | | | | | | | | This allows users to insert subkeys with a single button press/release pair by pressing on the main key, then moving and releasing while hovering the subkey. Also, emit key-released instead of key-clicked on the main key since that is a better model of what is really happening. https://bugzilla.gnome.org/show_bug.cgi?id=688656
* libcaribou: refactor some codeDaiki Ueno2012-11-227-57/+40
| | | | | | | | Use Gee lists and hashtables extensively instead of GLib's; specify proper cname to libxklavier signals to avoid using a static signal handler; remove unnecessary "using". https://bugzilla.gnome.org/show_bug.cgi?id=688517
* Port from libgee 0.6 to 0.8Daiki Ueno2012-11-013-3/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=687166
* Port label string construction code to libcaribouDaiki Ueno2012-10-311-0/+43
| | | | | | | Move the key label construction code from Antler to libcaribou and also handle the "text" attribute of key. https://bugzilla.gnome.org/show_bug.cgi?id=656175
* xml: add "text" attribute to keyDaiki Ueno2012-10-302-5/+24
| | | | | | | Add a new attribute "text" to the key elements in XML, so that text producing keys such as ".com" can be implemented. https://bugzilla.gnome.org/show_bug.cgi?id=687026
* xadapter: use level3 shift if possibleDaiki Ueno2012-10-302-6/+31
| | | | | | | | Some international keyboards (such as Czech) assign more than two keysyms to each key. Use level 3 shift modifier (so called AltGr) to designate those keysyms and avoid needless keysym remapping. https://bugzilla.gnome.org/show_bug.cgi?id=687018
* xadapter: use XkbChangeMap instead of XkbSetMapDaiki Ueno2012-10-262-11/+48
| | | | | | | Optimize keycode replacement logic using XkbChangeMap instead of XkbSetMap. https://bugzilla.gnome.org/show_bug.cgi?id=673547
* xadapter: specify core device when calling XkbSetMapDaiki Ueno2012-10-262-1/+2
| | | | | | | | device_spec needs to be specified when calling XkbSetMap so that the keymap change affects XTestFakeKeyEvent. Also fix the type of syms field in XkbClientMap Vala binding. https://bugzilla.gnome.org/show_bug.cgi?id=673547
* libcaribou: simplify using xtst.vapi provided by valaDaiki Ueno2012-10-083-20/+8
| | | | | | | | XTest.send_fake_key event and X.keysym_to_keycode are now available in vapi files in vala distribution. Also fix some compiler warnings. https://bugzilla.gnome.org/show_bug.cgi?id=685607
* libcaribou: Ignore level 3 keysyms when looking up keycodeDaiki Ueno2012-10-051-2/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=673579
* keyboard-service: don't try to replace an existing keyboardDan Winship2011-09-231-1/+1
| | | | | | | In particular, antler should never try to replace the gnome-shell keyboard. https://bugzilla.gnome.org/show_bug.cgi?id=659867
* build: Fix header installationRico Tzschichholz2011-09-221-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=659793
* libcaribou: Set correct share-library in gir typelib.Eitan Isaacson2011-09-111-1/+1
|
* Added annotations for list struct members in vapi.Eitan Isaacson2011-08-292-0/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=657648
* Add timestamp to show/hide Gtk module methodsNohemi Fernandez2011-08-121-3/+3
| | | | | | | Several signals may be passed to the GNOME shell to show/hide the keyboard. Since, the signals may be received in a different order than they were sent, we ignore older messages and process the newer ones.
* Fix Vala compilation problemBastien Nocera2011-08-101-1/+1
| | | | | | | | | Fixes the following error: xadapter.vala:42.29-42.80: error: duplicating Display instance, use unowned variable or explicitly invoke copy method this.xdisplay = Gdk.X11Display.get_xdisplay (rootwin.get_display ()); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ https://bugzilla.gnome.org/show_bug.cgi?id=655980
* libcaribou: fix compileDan Winship2011-08-041-0/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=655976
* Don't throw an error when no supported layout is found.Eitan Isaacson2011-07-201-3/+8
| | | | Thanks Nohemi!
* Add Ctrl/Alt functionalityEitan Isaacson2011-07-189-30/+139
| | | | Based on a patch by Nohemi Fernandez <nf68@cornell.edu>.
* Remove HAVE_GOBJECT_INTROSPCTION, it is mandatory.Eitan Isaacson2011-07-011-3/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=653268
* abolish margin and use alignEitan Isaacson2011-06-224-49/+32
|
* Removed Json loader and replaced with XML loader.Eitan Isaacson2011-06-225-143/+154
|
* Use generic keyboard service name.Eitan Isaacson2011-06-081-8/+21
| | | | | | | | - Have it replaceable by a service that is activated later. - Have Antler quit if the generic name is acquired by a new service. - Keep non-replaceable implementation specific name on bus. https://bugzilla.gnome.org/show_bug.cgi?id=651702
* Change key press/release to 200 ms.Eitan Isaacson2011-06-081-1/+1
|