summaryrefslogtreecommitdiff
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* caribou-gtk-module: fix build with Vala 0.25.2Jürg Billeter2014-08-271-1/+1
|
* build: use git.mkDaiki Ueno2012-12-303-0/+14
| | | | | | | | 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: Fix parallel compilation of modules/Colin Walters2012-02-092-0/+4
| | | | | We need to explicitly specify Vala .h files in BUILT_SOURCES. Thanks to Jürg Billeter <j@bitron.ch> for help.
* module: fix module loading/unloadingDan Winship2011-09-192-15/+11
| | | | | | | | | | | Force the module to stay resident after being loaded (otherwise it will crash if it's loaded, unloaded, and loaded again, because it will fail to register its types the second time). Also fix a few bugs in the unload() function, even though it is no longer used at this point. To be fixed for 3.4. https://bugzilla.gnome.org/show_bug.cgi?id=655979
* Auto-load OSK GTK+ modules when OSK is enabledBastien Nocera2011-09-192-0/+13
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=655979
* caribou-gtk-module: don't add the event filter until the dbus call finishesDan Winship2011-09-151-3/+13
| | | | | | | | event_filter() assumes that the D-Bus handle to the keyboard has been initialized (and will crash if it's null), so don't set up the event filter until after the async call returns. https://bugzilla.gnome.org/show_bug.cgi?id=658063
* Use async Bus.get_proxy()Nohemi Fernandez2011-08-121-8/+13
| | | | | | The sync version of this method would result in apps hanging briefly at startup, however in the async version a window may be created/focused before the async callback runs.
* Connects to text location instead of cursor location with get_character_extentsNohemi Fernandez2011-08-122-3/+10
|
* Implement g_module_unload to clean up after disabling keyboardNohemi Fernandez2011-08-123-0/+20
|
* Implement set_cursor_location, off by a few pixelsNohemi Fernandez2011-08-121-3/+15
|
* Fix the gtk2 moduleDan Winship2011-08-121-3/+12
|
* Use an event filter to find new windows rather than a timeoutDan Winship2011-08-125-18/+44
|
* Fix widget type checkDan Winship2011-08-121-1/+4
| | | | | Check that the widget is either a Gtk.Editable (eg, a Gtk.Entry) or a Gtk.TextView, and check that it's not read-only as well.
* Use gdk_x11_display_get_user_time() instead of gtk_get_current_event_time()Dan Winship2011-08-123-1/+11
| | | | | | | XFocusChangeEvents don't have timestamps, so gtk_get_current_event_time() will return 0 inside the has-toplevel-focus notification handler. So use the last user interaction time instead.
* connect to both notify["has-toplevel-focus"] and set_focusDan Winship2011-08-121-5/+12
| | | | | | the former tells us when a new window has been focused, the latter tells us when the focus changes from one widget to another within a window.
* Make "windows" a hash table rather than a listDan Winship2011-08-121-4/+5
| | | | And remove windows from it when they are destroyed
* code style fixups to match the rest of caribouDan Winship2011-08-121-12/+11
| | | | particularly, add spaces before function call parentheses
* rename module to caribou-gtk-moduleDan Winship2011-08-122-30/+30
| | | | | | | | | | | If the module is just named "libcaribou.so", then gobject-introspection will get confused and think that $libdir/gtk-3.0/modules/libcaribou.so is the same thing as $libdir/libcaribou.so, and so it won't dlopen the real libcaribou, and so, eg, gnome-shell will crash because keyboard.js can't find any of the libcaribou types/methods it needs. also, fix Makefiles to use tabs consistently
* caribou-module: check the GTK version, not glibDan Winship2011-08-121-3/+1
| | | | | | | Checking the glib version causes problems, because we may be compiling against a newer version of glib than gtk2 is linked against, causing it to not load. So just check the gtk version (just to make sure we got the right major version) instead.
* Remove get_acc_geometryNohemi Fernandez2011-08-125-73/+2
|
* Rename get_top_level_focusNohemi Fernandez2011-08-121-6/+5
|
* Add GLib Timeout to know when new windows are createdNohemi Fernandez2011-08-121-2/+5
| | | | | | | Right now there is no way to know whether a new window has been created without checking it repeatedly, as is done in this patch. https://bugzilla.gnome.org/show_bug.cgi?id=655828
* Do not setup timeout if you fail to get org.gnome.Caribou.keyboard dbus proxyNohemi Fernandez2011-08-121-4/+4
|
* Change caribou-gtk-modules to caribou-gtk-moduleNohemi Fernandez2011-08-126-10/+10
|
* Add Caribou to GTK_MODULESNohemi Fernandez2011-08-129-0/+246
The Caribou IM module would override any other modules the user is utilizing; by adding it to the GTK_MODULES the user can decide whether or not to enable the module (enabled automatically for onscreen keyboard) and will avoid override. There is also no dependency for the abstract class GtkIMContextSimple.