summaryrefslogtreecommitdiff
path: root/modules/input
Commit message (Collapse)AuthorAgeFilesLines
* If major.minor of required and available glib versions are the same, addBehdad Esfahbod2006-01-291-1/+0
| | | | | | | | | 2006-01-28 Behdad Esfahbod <behdad@gnome.org> * configure.in: If major.minor of required and available glib versions are the same, add -DG_DISABLE_DEPRECATED to GLIB_CFLAGS. (bug #328617) * */Makefile.am: Remove hardcoded -DG_DISABLE_DEPRECATED.
* Include <config.h>. (#317444, Kazuki Iwamoto)Tor Lillqvist2005-09-281-0/+1
| | | | | | | 2005-09-28 Tor Lillqvist <tml@novell.com> * modules/input/imime.c: Include <config.h>. (#317444, Kazuki Iwamoto)
* Add copyright and license informationMatthias Clasen2005-07-121-4/+20
|
* Fix includesMatthias Clasen2005-07-061-3/+4
|
* Don't prematurely unregister callbacks.Matthias Clasen2005-06-301-1/+1
| | | | | | | 2005-06-30 Matthias Clasen <mclasen@redhat.com> * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize): Don't prematurely unregister callbacks.
* Avoid a segfault. (#309054)Matthias Clasen2005-06-271-14/+20
| | | | | | | | | | | | | | | | | 2005-06-27 Matthias Clasen <mclasen@redhat.com> * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize): Avoid a segfault. (#309054) * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add fields for grab timestamps. * gdk/x11/gdkmain-x11.c (gdk_pointer_grab, gdk_keyboard_grab): Store grab timestamps when grabbing. * gdk/x11/gdkdisplay-x11.c (gdk_display_keyboard_ungrab) (gdk_display_pointer_ungrab): Don't unset the grab_window if the timestamps indicate that the ungrab will fails.
* Unregister XIM callbacks here. (#309054)Matthias Clasen2005-06-272-7/+20
| | | | | | | | | 2005-06-26 Matthias Clasen <mclasen@redhat.com> * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize): Unregister XIM callbacks here. (#309054) * modules/input/gtkimcontextxim.h: Small cleanup.
* modules/engines/Makefile.am Decide whether to build the ms-windows themeTor Lillqvist2005-06-041-1/+1
| | | | | | | | | | | | 2005-06-05 Tor Lillqvist <tml@novell.com> * modules/engines/Makefile.am * modules/input/Makefile.am: Decide whether to build the ms-windows theme engine based on the GDK backend, not based on platform. (I.e., if building for Cygwin with the X11 backend, we shouldn't build the ms-windows engine, but if building for Cygwin but with the Win32 backend, we should.) Ditto for the IME (Windows) input module. (#305832)
* Use the wide character version of ImmGetCompositionString() here, too.Tor Lillqvist2005-02-031-2/+2
| | | | | | | | 2005-02-03 Tor Lillqvist <tml@novell.com> * modules/input/gtkimcontextime.c (get_pango_attr_list): Use the wide character version of ImmGetCompositionString() here, too. (#165278, Takuro Ashie)
* Use NULL, not 0 to terminate NULL-terminated va lists. (#165683)Matthias Clasen2005-01-311-3/+3
| | | | | | | 2005-01-31 Matthias Clasen <mclasen@redhat.com> * modules/input/gtkimcontextxim.c: Use NULL, not 0 to terminate NULL-terminated va lists. (#165683)
* Prevent double commits, don't commit when Ctrl is present. (#160376,Matthias Clasen2004-12-061-0/+4
| | | | | | | 2004-12-06 Matthias Clasen <mclasen@redhat.com> * modules/input/gtkimcontextime.c: Prevent double commits, don't commit when Ctrl is present. (#160376, Kazuki IWAMOTO)
* Use the module's correct name in test. (#160122)Tor Lillqvist2004-12-011-1/+1
| | | | | | | 2004-12-01 Tor Lillqvist <tml@iki.fi> * modules/input/imime.c (im_module_create): Use the module's correct name in test. (#160122)
* modules/engines/ms-windows/msw_rc_style.cManish Singh2004-11-1911-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fri Nov 19 15:18:51 2004 Manish Singh <yosh@gimp.org> * modules/engines/ms-windows/msw_rc_style.c * modules/engines/ms-windows/msw_style.c * modules/engines/ms-windows/msw_theme_main.c * modules/engines/pixbuf/pixbuf-main.c * modules/engines/pixbuf/pixbuf-rc-style.c * modules/input/gtkimcontextime.c * modules/input/gtkimcontextxim.c * modules/input/imam-et.c * modules/input/imcedilla.c * modules/input/imcyrillic-translit.c * modules/input/iminuktitut.c * modules/input/imipa.c * modules/input/imthai-broken.c * modules/input/imti-er.c * modules/input/imti-et.c * modules/input/imviqr.c * tests/prop-editor.c * tests/testentrycompletion.c * tests/testfilechooser.c * tests/testmerge.c * tests/testtoolbar.c * tests/testtreecolumns.c * tests/testtreeview.c: get rid of unnecessary casts. * tests/testgtk.c (create_labels): add GTK_LABEL() casts for gtk_label_set_ellipsize() calls. * tests/testicontheme.c (main): remove unused pixbuf variable.
* Fix many sparse warnings.Matthias Clasen2004-10-281-1/+1
|
* Set _gdk_input_ignore_wintab to FALSE, thus enabling tablet input byTor Lillqvist2004-10-012-180/+163
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-01 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkglobals-win32.c: Set _gdk_input_ignore_wintab to FALSE, thus enabling tablet input by default. * gdk/win32/gdkmain-win32.c (_gdk_windowing_args): Accept the --use-wintab option again (but without effect, as this is now the default, see above). (#153788) * modules/input/gtkimcontextime.c: Numerous changes. Remove the ifdef UNICODE conditionals. Always use the wide-character Imm* API. It is present also in Windows 98 and Me. (Not Windows 95, but I think we don't care about that.) Using the multibyte API wouldn't work anyway on systems where the system codepage doesn't support the language the user uses an IME for, so for instance I wouldn't be able to test this module on my English Windows 2000 although I do have C, J and K IMEs available. Guard against IMM not being active, always check ImmGetContext() returning NULL. Work to some extent even without any IME. Fixes #153800 at least partially. * modules/input/imime.c (ime_info): Rename to "ime" to match the naming pattern of other input modules. Make it default for ja:ko:zh only.
* Fix the spelling of Inuktitut in several places. (#154176, John Austin)Matthias Clasen2004-10-011-2/+2
| | | | | | | 2004-10-01 Matthias Clasen <mclasen@redhat.com> * modules/input/iminuktitut.c: Fix the spelling of Inuktitut in several places. (#154176, John Austin)
* Link with -limm32.Tor Lillqvist2004-08-302-4/+4
| | | | | | | | | 2004-08-30 Tor Lillqvist <tml@iki.fi> * modules/input/Makefile.am (im_ime_la_LIBADD): Link with -limm32. * modules/input/gtkimcontextime.c: Use quotes in #includes, to find headers when building inside GTK+ sources.
* Build imime.la on Windows.Matthias Clasen2004-08-265-1/+1294
| | | | | | | | | | | | | 2004-08-26 Matthias Clasen <mclasen@redhat.com> * modules/input/Makefile.am: Build imime.la on Windows. * modules/input/gtkimcontextime.h: * modules/input/gtkimcontextime.c: * modules/input/imime.c: * modules/input/imm-extra.h: Add the IME input method for Win32 written by Takuro Ashie and Kazuko IWAMOTO. The code was previously hosted at http://sourceforge.jp/projects/imime. (#135195)
* Fix the recent string_conversion_callback change to work on Solaris.Matthias Clasen2004-05-041-2/+2
| | | | | | | | 2004-05-04 Matthias Clasen <mclasen@redhat.com> * modules/input/gtkimcontextxim.c: Fix the recent string_conversion_callback change to work on Solaris. (#141190, Padraig O'Briain)
* Patch to add support for string conversion callbacks toTheppitak Karoonboonyanan2004-04-242-8/+152
| | | | GtkIMContextXIM (#101814)
* Clear preedit string and emit preedit_changed as needed on AIX. (#130617,Owen Taylor2004-03-111-0/+7
| | | | | | | | Thu Mar 11 17:51:10 2004 Owen Taylor <otaylor@redhat.com> * modules/input/gtkimcontextxim.c (preedit_done_callback): Clear preedit string and emit preedit_changed as needed on AIX. (#130617, Philip K Warren)
* Fixes #136082 and #135265, patch by Morten Welinder.Federico Mena Quintero2004-03-0611-0/+11
| | | | | | | | | | 2004-03-05 Federico Mena Quintero <federico@ximian.com> Fixes #136082 and #135265, patch by Morten Welinder. * configure.in: Use AC_SYS_LARGEFILE. * */*.c: #include <config.h>
* Interrupted commit.Matthias Clasen2004-02-221-0/+2
|
* only reference input method modules we've actually built. Fixes re-buildMark McLoughlin2004-02-171-1/+1
| | | | | | | | 2004-02-17 Mark McLoughlin <mark@skynet.ie> * modules/input/Makefile.am: only reference input method modules we've actually built. Fixes re-build failure with stale hangul module lying aroung. Bug #134518.
* gtk/gtktextlayout.c (line_display_iter_to_index) Only adjust the preeditOwen Taylor2004-01-291-2/+4
| | | | | | | | | | | | | | | | | | | Thu Jan 29 18:08:06 2004 Owen Taylor <otaylor@redhat.com> * gtk/gtktextlayout.c (line_display_iter_to_index) * gtk/gtktextlayout.c (line_display_index_to_iter): Only adjust the preedit position for lines that include the preedit string. (#132353, Yao Zhang). How the heck did this work as well as it did?!?! * modules/input/gtkimcontextxim.c (gtk_im_context_xim_get_ic): Reverse change to change of XNFilterEvents event mask from #110493 -- it's documented and in the Xlib code an unsigned long. * modules/input/gtkimcontextxim.c (preedit_start_callback): Return -1 rather than void to indicate no length limit. (#129548)
* Remove broken hangul input module.Changwoo Ryu2004-01-273-2689/+0
| | | | | | * modules/input/imhangul-defs.h: * modules/input/imhangul.c: * modules/input/Makefile.am: Remove broken hangul input module.
* The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog andMatthias Clasen2004-01-161-4/+4
| | | | | | | | | | | | | | | | | | | | Fri Jan 16 23:59:01 2004 Matthias Clasen <maclas@gmx.de> The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog and po/ChangeLog): * gtk/gtkintl.h: * gdk-pixbuf/gdk-pixbuf-i18n.h: * gdk/gdkintl.h: Define P_() for property blurbs and nicks. * gdk/gdkdisplaymanager.c: * gdk-pixbuf/gdk-pixbuf.c: * modules/input/gtkimcontextxim.c: * gtk/*.c: Mark property blurbs and nicks with P_(). * po/Makefile.in.in: Add --keyword=P_ to the xgettext invocation, since property blurbs and nicks are now marked with P_().
* gdk-pixbuf/Makefile.am Use install-data-hook for gdk-pixbuf.loaders andManish Singh2003-11-181-1/+5
| | | | | | | | | | | Mon Nov 17 16:25:04 2003 Manish Singh <yosh@gimp.org> * gdk-pixbuf/Makefile.am * modules/input/Makefile.am: Use install-data-hook for gdk-pixbuf.loaders and gtk.immodules install generation targets. Fixes #112806. * gtk/gtkexpander.h: Apply missing declarations from #124449.
* === Released 2.3.0 ===GTK_2_3_0Owen Taylor2003-10-241-1/+1
| | | | | | | | | | | | | | Fri Oct 24 16:54:04 2003 Owen Taylor <otaylor@redhat.com> * === Released 2.3.0 === * configure.in: Remove a stray comma. * README.in: Fix a few notes about Xft 1 and pango-1.0. * NEWS: Finish updates for 2.3.0. * po/Makefile.in.in: Update to latest GLib version.
* Substantially rework the handling of status windows:Owen Taylor2003-08-192-201/+407
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Aug 18 17:19:12 2003 Owen Taylor <otaylor@redhat.com> * modules/input/gtkimcontextxim.[ch]: Substantially rework the handling of status windows: - Store the current StatusWindow in the GtkIMContextXIM structure and vice-versa, so we don't have to hunt the window hierarchy on cleanup. - Use the Gtkidget hierarchy instead of/or as well as the GdkWindow hierarchy when finding the toplevel; this helps for things like GtkHandlebox - Watch GtkWidget::hierarchy_changed to catch changes in the toplevel without changes in the GdkWindow (reparenting) - Never create the GtkWindow for the status window unless we have text to display. - Various cleanups, add lots of comments. (#115077, much help from Takuro Ashie and Hidetoshi Tajima in tracking this down and figuring out a fix.) * modules/input/gtkimcontextxim.c (gtk_im_context_xim_focus_in): * modules/input/gtkimcontextxim.c: Track the current screen for each toplevel so that we show the status window on the right screen. (#116340, James Su) * modules/input/gtkimcontextxim.c: If create a new IC when we currently have the focus, call XSetICFocus() on it. * modules/input/gtkimcontextxim.c (get_im): Fix bug with multiple open screens.
* Make the list of default languages more comprehensive. (Suggestion of Fco.Owen Taylor2003-08-161-1/+1
| | | | | | | | | | | | | Sat Aug 16 10:34:49 2003 Owen Taylor <otaylor@redhat.com> * modules/input/imcedilla.c: Make the list of default languages more comprehensive. (Suggestion of Fco. Javier F. Serrador) Sat Aug 9 12:47:11 2003 Owen Taylor <otaylor@redhat.com> * gdk/gdk.c (gdk_arg_context_parse): Fix broken parentheses when skipping args.
* Improve Cedilla handling - based on a patch from Gustavo De Nardin,Owen Taylor2003-08-152-0/+131
| | | | | | | | | | | | | | | | | | | | | Fri Aug 15 16:54:39 2003 Owen Taylor <otaylor@redhat.com> Improve Cedilla handling - based on a patch from Gustavo De Nardin, #111334 * modules/input/imcedilla.c po/POTFILES.in: Input method that produces C_WITH_CEDILLA rather than C_WITH_ACUTE for dead_acute+c combinations. Make this the default for fr and pt. * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave): Use LC_CTYPE instead of LC_MESSAGES to pick the default input method. Fri Aug 15 17:00:19 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkimcontextsimple.c: Fix missing compose sequence for Multi_key+c+apostrophe.
* New function for XIM instantiate callback. New function where call toHidetoshi Tajima2003-06-101-90/+163
| | | | | | | | | | | | | | | | | | | | | | | | | Tue Jun 10 11:23:48 2003 Hidetoshi Tajima <hidetoshi.tajima@sun.com> * modules/input/gtkimcontextxim.c (xim_instantiate_callback): New function for XIM instantiate callback. * modules/input/gtkimcontextxim.c (xim_info_try_im): New function where call to XOpenIM() or XRegisterIMInstantiateCallback() is actually made. * modules/input/gtkimcontextxim.c (xim_destroy_callback): New function for XIM's destroy callback. * modules/input/gtkimcontextxim.c (get_im): add a check if info->im is set or not - if it's not set, call xim_info_try_im() to try to initiaize it. * modules/input/gtkimcontextxim.c (reinitialize_ic): reset filter_key_release flag of the context. * modules/input/gtkimcontextxim.c (get_ic_real): removed * modules/input/gtkimcontextxim.c (gtk_im_context_xim_get_ic): move code from the removed get_ic_real(). For XIM instantiation, destruction and re-instantiation. With this, Gtk+ apps will be able to connect or reconnect to the XIM, when it starts after the apps, or when the XIM gets lost and recover. (#113099, #107782).
* Add a 'finalizing' flag to keep preedit-[start,changed,end] signals fromHidetoshi Tajima2003-06-062-21/+27
| | | | | | | | | | Fri Jun 6 11:05:45 2003 Hidetoshi Tajima <hidetoshi.tajima@sun.com> * modules/input/gtkimcontextxim.h (struct _GtkIMContextXIM): * modules/input/gtkimcontextxim.c (preedit_start_callback, preedit_draw_callback, preedit_done_callback): Add a 'finalizing' flag to keep preedit-[start,changed,end] signals from being called during finalization (#111861).
* use GETTEXT_PACKAGE to get a translation for "Default"(#113850).Hidetoshi Tajima2003-05-301-1/+1
| | | | | | | Thu May 29 18:30:55 2003 Hidetoshi Tajima <hidetoshi.tajima@sun.com> * modules/input/imipa.c: use GETTEXT_PACKAGE to get a translation for "Default"(#113850).
* make "Default" label of default input method localizable. use translationsHidetoshi Tajima2003-05-308-11/+11
| | | | | | | | | | | | | | | Thu May 29 09:34:05 2003 Hidetoshi Tajima <hidetoshi.tajima@sun.com> * gtk/gtkimmodule.c (_gtk_im_module_list): make "Default" label of default input method localizable. * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems): use translations of input method context names * modules/input/imam-et.c, modules/input/imcyrillic-translit.c, modules/input/iminuktitut.c, modules/input/imthai-broken.c, modules/input/imti-er.c, modules/input/imti-et.c modules/input/imviqr.c, modules/input/imxim.c use GETTEXT_PACKAGE instead of "gtk+" for domain name. (#113850).
* gtk settings for XIMPreeditNone and XIMStatusNone. (#105909)Hidetoshi Tajima2003-05-211-0/+4
| | | | | | * gtk/gtkenums.h (enum GtkIMPreeditStyle, GtkIMStatusStyle): * modules/input/gtkimcontextxim.c (preedit_style_change, status_style_change): gtk settings for XIMPreeditNone and XIMStatusNone. (#105909)
* fix a memory leak, free input context list (#113259).Hidetoshi Tajima2003-05-211-1/+1
| | | | | * modules/input/gtkimcontextxim.c (xim_info_display_closed): fix a memory leak, free input context list (#113259).
* use type of guint32 instead of gumake for XNFilterEvents eventHidetoshi Tajima2003-05-141-1/+1
| | | | | * modules/input/gtkimcontextxim.c (get_ic_real): use type of guint32 instead of gumake for XNFilterEvents event mask(#110493).
* Patch from James Henstridge to update to automake-1.7 (#109542)Owen Taylor2003-05-061-12/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue May 6 16:50:52 2003 Owen Taylor <otaylor@redhat.com> Patch from James Henstridge to update to automake-1.7 (#109542) * autogen.sh: update to call newer tools. * configure.in: various updates, to use M4 macros to put variables that change each release at the top. Use AC_HELP_STRING to format help strings. Use AC_CONFIG_COMMANDS to generate gdkconfig.h. * Makefile.am: require Automake 1.7. Remove gdk-2.0.pc and gtk+-2.0.pc on uninstall. Pass --enable-gtk-doc to configure during distcheck. * docs/reference/*/Makefile.am: simplify to use the gtk-doc.make makefile fragment. * */Makefile.am: don't use STRIP_BEGIN/STRIP_END. Use BUILT_SOURCES where appropriate. Build generated files in builddir rather than srcdir. Fix uninstall and distclean targets to satisfy distcheck. === * gdk/*/Makefile.am: Remove the hacks to get gdkenumtypes.h built first, since we are now using BUILT_SOURCES. * gdk/Makefile.am: Remove an outdated comment about gdk_headers. * demos/gtk-demo/Makefile.am: Fix srcdir != buildd problem with geninclude.pl. * configure.in: Update versions to 2.3.0.
* Check for XAddConnectionWatch()/X11R6, and if found, disable XIM and useOwen Taylor2003-04-181-1/+1
| | | | | | | | | Fri Apr 18 16:31:49 2003 Owen Taylor <otaylor@redhat.com> * configure.in gdk/x11/gdkdisplay-x11.c modules/input/Makefile.am: Check for XAddConnectionWatch()/X11R6, and if found, disable XIM and use of XAddConnectionWatch. Remove --enable-xim config option. Should fix building on X11R6 (#110523, Albert Chin
* fix a memory initialization error for selecting input style (#103549).Hidetoshi Tajima2003-01-291-0/+9
| | | | | * modules/input/gtkimcontextxim.c (choose_better_style): fix a memory initialization error for selecting input style (#103549).
* Don't call status_window_set_text() if the status window doesn't alreadyOwen Taylor2002-12-151-4/+3
| | | | | | | | | | | | Sat Dec 14 22:03:21 2002 Owen Taylor <otaylor@redhat.com> * modules/input/gtkimcontextxim.c (status_window_hide): Don't call status_window_set_text() if the status window doesn't already exist. (#100933, reported by Anand Subra) * modules/input/gtkimcontextxim.c (status_window_show): Don't bother creating the status window here, wait for the set_text(). (Fixes a warning)
* === Released GTK+-2.1.4 ===GTK_2_1_4Owen Taylor2002-12-121-1/+0
| | | | | | | | | | | Wed Dec 11 18:30:05 2002 Owen Taylor <otaylor@redhat.com> * === Released GTK+-2.1.4 === * NEWS: Updated. * modules/input/Makefile.am (INCLUDES): Remove GTK_LOCALEDIR from here as well. (Manish Singh)
* Fix #99593: Fix a memory leak when XmbLookupString returns XBufferOverflowHidetoshi Tajima2002-11-261-0/+5
| | | | | | | * modules/input/gtkimcontextxim.c (gtk_im_context_xim_filter_keypress): Fix #99593: Fix a memory leak when XmbLookupString returns XBufferOverflow
* Fix #90661: add im_info->im switch at the top of setup_im() andHidetoshi Tajima2002-11-131-28/+33
| | | | | | | | * modules/input/gtkimcontextxim.c: Fix #90661: add im_info->im switch at the top of setup_im() and get_ic_real(). Fix #97674: make sure only one status window for the focused input context should be shown.
* Don't use connect_swapped() when the function being connected has aOwen Taylor2002-10-151-2/+2
| | | | | | | | Tue Oct 15 17:25:47 2002 Owen Taylor <otaylor@redhat.com> * modules/input/gtkimcontextxim.c (get_im): Don't use connect_swapped() when the function being connected has a non-swapped signature.
* Initialize info->ics to NULL. (Hidetoshi Tajima.)Owen Taylor2002-10-151-1/+2
| | | | | | | | | | Tue Oct 15 09:54:54 2002 Owen Taylor <otaylor@redhat.com> * modules/input/gtkimcontextxim.c (get_im): Initialize info->ics to NULL. (Hidetoshi Tajima.) * modules/input/gtkimcontextxim.c (status_window_get): Call set_resizable on the window, not on the structure.
* - Make GtkXIMInfo structures per-screen (they were a mix betweenOwen Taylor2002-10-141-80/+101
| | | | | | | | | | | Mon Oct 14 15:10:34 2002 Owen Taylor <otaylor@redhat.com> * modules/input/gtkimcontextxim.c: - Make GtkXIMInfo structures per-screen (they were a mix between per-display and per-context before) - Make signal connections info->settings one-per-info - Handle a GdkDisplay being closed, by destroying all XIC, calling XCloseIM on the XIM. (#87482)
* Deprecation cleanupManish Singh2002-10-1311-17/+18
| | | | | | | | | | | | | | Sun Oct 13 13:43:16 2002 Manish Singh <yosh@gimp.org> * gtk/gtkcurve.[ch] gtk/gtkgamma.[ch] gtk/gtklayout.[ch] gtk/gtkwidget.[ch] modules/input/gtkimcontextxim.c modules/input/imam-et.c modules/input/imcyrillic-translit.c modules/input/imhangul.c modules/input/iminuktitut.c modules/input/imipa.c modules/input/imthai-broken.c modules/input/imti-er.c modules/input/imti-et.c modules/input/imviqr.c: Deprecation cleanup * modules/input/Makefile.am: Added disable deprecation flags