summaryrefslogtreecommitdiff
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Started changelogRaymond Penners2003-04-151-16/+16
|
* Merged with Arnaud Charlet + notebook TOP changesRaymond Penners2003-04-152-1403/+1536
|
* Initial revisionRaymond Penners2003-03-186-0/+1674
|
* Call AC_LIBTOOL_WIN32_DLL. Set OS_WIN32 conditional on Windows.Tor Lillqvist2003-03-022-1/+9
| | | | | | | | | | | | | | | | | | | | | | | 2003-03-02 Tor Lillqvist <tml@iki.fi> * configure.in: Call AC_LIBTOOL_WIN32_DLL. Set OS_WIN32 conditional on Windows. * makefile.cygwin: Remove, unmaintained and obsolete. * Makefile.am (EXTRA_DIST): Remove here, too. * README.win32: Update. pixbuf: 2003-03-02 Tor Lillqvist <tml@iki.fi> * Makefile.am: Use -no-undefined on Windows. metal and redmond95: 2003-03-02 Tor Lillqvist <tml@iki.fi> * Makefile.am: Use -no-undefined, and do use GTK_LIBS on Windows.
* 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
* Patch from Takuro Ashie to fix updating of open_ims list. (#95150)Owen Taylor2002-10-081-1/+1
| | | | | | | Tue Oct 8 09:41:43 2002 Owen Taylor <otaylor@redhat.com> * Patch from Takuro Ashie to fix updating of open_ims list. (#95150)
* Fix memory intilization error caused by my previous checkin. #94908 aHidetoshi Tajima2002-10-041-1/+1
| | | | | | * modules/input/gtkimcontextxim.c (get_ic_real): Fix memory intilization error caused by my previous checkin. #94908 a patch from famao@momonga-linux.org (Motonobu Ichimura)
* Patch from J. Ali Harlow to avoid generating gtk.immodules whenOwen Taylor2002-09-271-3/+21
| | | | | | | | Fri Sep 27 17:40:47 2002 Owen Taylor <otaylor@redhat.com> * modules/input/Makefile.am: Patch from J. Ali Harlow to avoid generating gtk.immodules when cross-compiling. (#87774)
* - use gtk_settings_get_for_screen () instead of gtk_settings_get_defaultHidetoshi Tajima2002-09-261-132/+208
| | | | | | | | | * modules/input/gtkimcontextxim.c: - use gtk_settings_get_for_screen () instead of gtk_settings_get_default () for multihead - connect property-notify signal handlers to respond runtime changes of status_style and preedit_style in the settings - Some indentation and code cleanup (#59076 - 2nd check-in)
* disable/enable preedit/status in GtkIMContextXIM (#59076)Hidetoshi Tajima2002-09-241-3/+69
| | | | | | | | | | | | | | | * gnome-settings-xsettings.c: added two new xsettings for GTK+ input method preedit and status styles. With the other patch for gtk+, the preedit and status styles of GTK+ input method are configurable with associated gconf schemas keys: "/desktop/gnome/interface/gtk-im-preedit-style" "/desktop/gnome/interface/gtk-im-status-style" Both are set to "callback" by default, and platform's packging can have different default by changing libgnome's desktop_gnome_interface.schemas.
* Fix incorrect usage of gdk_get_default_root_window ()). (#92767)Owen Taylor2002-09-231-1/+6
| | | | | | | Mon Sep 23 12:24:14 2002 Owen Taylor <otaylor@redhat.com> * modules/input/gtkimcontextxim.c (status_window_get): Fix incorrect usage of gdk_get_default_root_window ()). (#92767)
* modify a warning when XSetLocaleModifiers() fails, and add a warning whenHidetoshi Tajima2002-09-102-68/+102
| | | | | | | | | | | * modules/input/gtkimcontextxim.c (get_im): modify a warning when XSetLocaleModifiers() fails, and add a warning when XOpenIM() fails (gtk_im_context_xim_filter_keypress): use XLookupString when xic is not available. (#90661) (gtk_im_context_xim_get_ic, gtk_im_with_preedit, gtk_im_without_preeedit): filter key release events only when input methods ask for (#81759)
* Update ChangeLog creditsGTK_ENGINES_2_2_0Owen Taylor2002-09-071-1/+1
|
* Account for the possibility of detail == NULL (#89561, Hongli Lai)Owen Taylor2002-09-072-2/+9
| | | | | | | Fri Sep 6 20:32:45 2002 Owen Taylor <otaylor@redhat.com> * pixbuf-draw.c: Account for the possibility of detail == NULL (#89561, Hongli Lai)
* Pass the actual input keycode to XIM, rather than the result ofOwen Taylor2002-09-061-1/+1
| | | | | | | | | | | Fri Sep 6 12:41:16 2002 Owen Taylor <otaylor@redhat.com> * modules/input/gtkimcontextxim.c: Pass the actual input keycode to XIM, rather than the result of backconverting the keysym. Fixes the <> input problem! (#74922) * gtk/gtkimmodule.c: Fix bug where GTK_IM_MODULE environment variable couldn't be used to force the input method to the default input method.
* Fix some cases where signal connection IDs where being assigned to guintOwen Taylor2002-07-101-2/+2
| | | | | | | | | Wed Jul 10 14:27:14 2002 Owen Taylor <otaylor@redhat.com> * modules/input/gtkimcontextxim.c gtk/gtkcolorsel.c gtk/gtkdialog.c gtk/gtktextbtree.c: Fix some cases where signal connection IDs where being assigned to guint rather than gulong. (part of #87281, Shivram U)
* Protect against reentrancy problems by emitting ::preedit_changed at theOwen Taylor2002-05-173-24/+74
| | | | | | | | | | | | | | | | | Fri May 17 14:40:24 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkimmulticontext.c (gtk_im_multicontext_set_slave): Protect against reentrancy problems by emitting ::preedit_changed at the end, fixing input context leak. (Yao Zhang) * modules/input/gtkimcontextxim.c (status_window_free): Patch from Federico Mena Quintero to fix problem where references to IMContextXIM were kept around after module was unloaded. * gtk/gtkdnd.c (gtk_drag_dest_set): NULL initialize proxy window.
* Make multihead-safe; use a different IM context per display.Alex Larsson2002-04-302-16/+26
| | | | | | | | | | | | | | | | | Tue Apr 30 11:37:09 2002 Owen Taylor <otaylor@redhat.com> * modules/input/gtkimcontextxim.c: Make multihead-safe; use a different IM context per display. * configure.in acconfig.h: Add Xinerama checks from multihead branch, changing HAS_XINERAMA => HAVE_XINERAMA. * gdk/x11/gdkdisplay-x11.c: HAS_XINERAMA => HAVE_XINERAMA. 2002-04-29 Alex Larsson <alexl@redhat.com> * gdk/gdkpango.c (gdk_draw_layout_line_with_colors): Use tmp also if foreground is set.
* Add a fake STEPPER function that is used for drawing scrollbar steppers,GTK_ENGINES_1_9_0Owen Taylor2002-04-214-168/+105
| | | | | | | | | | | | | Sun Apr 21 14:10:04 2002 Owen Taylor <otaylor@redhat.com> * pixbuf-rc-style.c pixbuf.h pixbuf-draw.c: Add a fake STEPPER function that is used for drawing scrollbar steppers, so that themes that want to draw the button and arrow separately can override the default handling. * pixbuf-draw.c: Remove draw_polygon() since it was just a cut-and-paste of the default one. Remove some unused code.
* Fix incorrect return value, filter out returns of 0x7f for the delete key.Owen Taylor2002-03-121-4/+5
| | | | | | | | Tue Mar 12 10:50:09 2002 Owen Taylor <otaylor@redhat.com> * modules/input/gtkimcontextxim.c (gtk_im_context_xim_filter_keypress): Fix incorrect return value, filter out returns of 0x7f for the delete key. (#74179, Kang Jeong-He)
* link pixbuf engine against the gtk+ libraries, so that it can be used withJames Henstridge2002-03-062-0/+8
| | | | | | | | | 2002-03-07 James Henstridge <james@daa.com.au> * Makefile.am (libpixmap_la_LIBADD): link pixbuf engine against the gtk+ libraries, so that it can be used with programs that dlopen gtk+ without the RTLD_GLOBAL flag (such as scripting languages and mozilla).
* Update version to 2.0.0Owen Taylor2002-03-051-7/+7
| | | | | | | | | | | | | | | | Tue Mar 5 15:47:54 2002 Owen Taylor <otaylor@redhat.com> * configure.in test/makefile.msc **.pc.in **/*.am: Update version to 2.0.0 * gtk/Makefile.am (MAINTAINERCLEANFILES): Add stamp files. * configure.in (GDK_PIXBUF_VERSION): Require GLib 2.0.0, Pango, Atk, 1.0.0. * m4macros/gtk-2.0.m4: Default to 2.0.0 as the minimum version.
* Fix install location.Owen Taylor2002-03-031-1/+1
| | | | | | | Sun Mar 3 11:05:13 2002 Owen Taylor <otaylor@redhat.com> * modules/input/Makefile.am (moduledir): Fix install location.
* Fixes for uninstalled operation with module suffixes other than .so and inOwen Taylor2002-03-031-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sat Mar 2 23:08:23 2002 Owen Taylor <otaylor@redhat.com> Fixes for uninstalled operation with module suffixes other than .so and in general for platforms like AIX where the module suffix isn't predictable. (#72185, problems reported by Miroslaw Dobrzanski-Neumann) * modules/input/Makefile.am (gtk.immodules): Query .la files rather than shared objects in .libs when creating the uninstalled gtk.immodules file. * gtk/gtkmain.c (_gtk_find_module): Look for .la files after looking for the normal soname extension to handle cases where the soname extension isn't predictable, like AIX. * gtk/gtkthemes.c (gtk_theme_engine_load): Don't call g_module_build_path... leave that to gtk_rc_find_module_in_path. * demos/gtk-demo/main.c (main) demos/pixbuf-init.c (pixbuf_init): tests/testgtk.c (test_init): tests/testtext.c (test_init) tests/testdnd.c (test_init): Point gdk-pixbuf to .la files rather than poking in .libs for .so files. * gtk/stock-icons/Makefile.am (gtkstockpixbufs.h): Remove .libs from GDK_PIXBUF_MODULEDIR.
* Add ko and zh to the locales where this is the default.Owen Taylor2002-02-271-1/+1
| | | | | | | Wed Feb 27 14:08:26 2002 Owen Taylor <otaylor@redhat.com> * modules/input/imxim.c: Add ko and zh to the locales where this is the default.
* Add three Ethiopic input methods from Daniel Yacob.Owen Taylor2002-02-104-2/+1491
| | | | | | | | Sun Feb 10 12:32:44 2002 Owen Taylor <otaylor@redhat.com> * modules/input/Makefile.am modules/input/{imam-et.c, imti-er.c, imti-et.c} po/POTFILES.in: Add three Ethiopic input methods from Daniel Yacob.
* Add gradient rendering -- if the source width/height is zero, render aOwen Taylor2002-02-072-8/+179
| | | | | | | | Thu Feb 7 00:21:21 2002 Owen Taylor <otaylor@redhat.com> * pixbuf-render.c (pixbuf_render): Add gradient rendering -- if the source width/height is zero, render a gradient from the surrounding values.
* modules/input/imhangul.c modules/input/imhangul-defs.h po/POTFILES.in. AddOwen Taylor2002-01-293-1/+2689
| | | | | | | | Mon Jan 28 19:57:39 2002 Owen Taylor <otaylor@redhat.com> * modules/input/imhangul.c modules/input/imhangul-defs.h po/POTFILES.in. Add port of Emacs korean-hangul input method from Yusuke Tabata (#67665)
* Fix hint computation again.Owen Taylor2002-01-282-4/+9
| | | | | | | Mon Jan 28 15:34:43 2002 Owen Taylor <otaylor@redhat.com> * pixbuf-render.c (compute_hint): Fix hint computation again.
* Fix problems in computing MISSING hint.Owen Taylor2002-01-282-2/+7
| | | | | | | Mon Jan 28 12:17:07 2002 Owen Taylor <otaylor@redhat.com> * pixbuf-render.c (compute_hint): Fix problems in computing MISSING hint.
* Optimize the case where a component is entirely transparent by skippingOwen Taylor2002-01-286-8/+55
| | | | | | | | | | | | | | | Sun Jan 27 23:58:13 2002 Owen Taylor <otaylor@redhat.com> * pixbuf-render.c (compute_hint): Optimize the case where a component is entirely transparent by skipping drawing it. * pixbuf-rc-style.c (theme_parse_image): Catch case where background or overlay border/stretch are specified without a background image. * pixbuf-render.c (theme_pixbuf_destroy): Actually free the structure and filename.
* Move back into gtk-enginesOwen Taylor2002-01-201-0/+2
|
* Catch invalid borders, and warn.Owen Taylor2002-01-192-0/+18
| | | | | | | Sat Jan 19 02:45:17 2002 Owen Taylor <otaylor@redhat.com> * src/pixbuf-render.c (theme_pixbuf_compute_hints): Catch invalid borders, and warn.