1. 10 Sep, 2002 1 commit
    • Hidetoshi Tajima's avatar
      modify a warning when XSetLocaleModifiers() fails, and add a warning when · 2589ff07
      Hidetoshi Tajima authored
      	* 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)
      2589ff07
  2. 06 Sep, 2002 1 commit
    • Owen Taylor's avatar
      Pass the actual input keycode to XIM, rather than the result of · 7c7bcb24
      Owen Taylor authored
      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.
      7c7bcb24
  3. 10 Jul, 2002 1 commit
  4. 17 May, 2002 1 commit
    • Owen Taylor's avatar
      Protect against reentrancy problems by emitting ::preedit_changed at the · 3fe86a48
      Owen Taylor authored
      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.
      3fe86a48
  5. 30 Apr, 2002 1 commit
    • Alexander Larsson's avatar
      Make multihead-safe; use a different IM context per display. · 7df4f0fb
      Alexander Larsson authored
      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.
      7df4f0fb
  6. 12 Mar, 2002 1 commit
  7. 23 Dec, 2001 1 commit
    • Owen Taylor's avatar
      1.3.12, interface, binary age 0. · cd607046
      Owen Taylor authored
      Sat Dec 22 12:38:03 2001  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in: 1.3.12, interface, binary age 0.
      
              * configure.in: Require new versions of Glib, Pango, ATK.
      
              * NEWS: Updated.
      
              * configure.in: Make explicit what libtool we are executing.
              (Tomas Ogren)
      
              * gdk/gdkcolor.c gdk/gdkgc.c gdk/gdkwindow.c: Doc fixes.
      
              * gtk/gtkwidget.c (gtk_widget_[class]path) gtkrc.h : Fix
              parameter names for docs.
      
      Sat Dec 22 22:35:29 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwindow.c (gtk_window_realize)
                gtk/gtkplug.c (gtk_plug_realize): Include GDK_KEY_RELEASE_MASK.
      
              * gtk/gtkentry.c (gtk_entry_key_release)
                gtk/gtktextview.c (gtk_text_view_key_release_event): Pass
              key release events to the input method.
      
              * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
              Handle release of Control/Shift to end hex sequence.
      
              * modules/input/gtkimcontextxim.c (gtk_im_context_xim_filter_keypress):         Handle key releases as well as presses.
      cd607046
  8. 07 Dec, 2001 1 commit
  9. 02 Nov, 2001 1 commit
    • Owen Taylor's avatar
      Patch from HideToshi Tajima (#51922) · 7f63b5db
      Owen Taylor authored
      Fri Nov  2 15:30:34 2001  Owen Taylor  <otaylor@redhat.com>
      
              Patch from HideToshi Tajima (#51922)
      
              * gtk/gtkimmulticontext.c: Proxy set_use_preedit().
      
              * gtk/modules/input/gtkimcontextxim.[ch]: Implement
              set_use_preedit().
      
              * gtk/modules/input/gtkimcontextxim.[ch]: If we have
              to destroy the input context because we change the
              client window or use_preedit, make sure we empty
              the preedit string.
      7f63b5db
  10. 19 Oct, 2001 1 commit
    • Owen Taylor's avatar
      Make GtkIMContext derive from GObject, not GtkObject. (#62621) · effa3905
      Owen Taylor authored
      Fri Oct 19 15:08:30 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/{gtkimcontext.c,gtkimcontextsimple.c,gtkimmulticontext.c}
      	modules/input/{gtkimcontextxim.c,imcyrillic-translit.c,iminuktitut.c,
      	imipa.c,imthai-broken.c,imviqr.c}: Make GtkIMContext derive from
      	GObject, not GtkObject. (#62621)
      effa3905
  11. 06 Aug, 2001 1 commit
  12. 18 Jul, 2001 1 commit
    • Darin Adler's avatar
      Ignore the sgml directory made by gtkdoc. Use gtk_window_set_resizable · 03496763
      Darin Adler authored
      	* .cvsignore: Ignore the sgml directory made by gtkdoc.
      	* demos/pixbuf-demo.c: (main): Use gtk_window_set_resizable
      	instead of the deprecated gtk_window_set_policy.
      	* demos/testpixbuf-scale.c: Add missing <stdlib.h> include.
      	* gdk/gdkkeys.c: (gdk_keymap_class_init): Remove empty finalize
      	function to get rid of warning and some code too.
      	* gdk/x11/gdkfont-x11.c: (gdk_font_charset_for_locale): Add
      	missing const.
      	* gdk/x11/gdkmain-x11.c: (_gdk_windowing_init_check): Remove
      	unused local.
      	* gdk/x11/gdkpango-x11.c: (gdk_pango_context_get): Add missing
      	const.
      	* gdk/x11/gdkselection-x11.c: (gdk_text_property_to_utf8_list),
      	(gdk_utf8_to_compound_text): Add missing const.
      	* gtk/gtkimage.c: (gtk_image_expose): Remove unused local.
      	* gtk/gtkmenubar.c: (gtk_menu_bar_hierarchy_changed): Add missing
      	cast and get rid of an unnecessary one.
      	* gtk/gtksettings.c: (gtk_settings_notify): Remove unused local.
      	* gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate): Remove unused
      	local.
      	* gtk/gtktreemodelsort.c: (gtk_tree_model_sort_build_level):
      	Remove unused local.
      	* modules/input/gtkimcontextxim.c: (gtk_im_context_xim_new): Add
      	missing const.
      	* tests/testsocket.c: (add_child): Add cast so the printf format
      	doesn't make us implicitly depend on what integer type
      	gtk_socket_get_id returns.
      	* tests/testtextbuffer.c: Add missing const.
      	* tests/testtreefocus.c: (main): Remove unused local.
      	* tests/treestoretest.c: (iter_remove): Remove unused local.
      	(uppercase_value): Remove unused function.
      	(make_window): Add statement to quiet the compiler's uninitialized
      	variable warning.
      03496763
  13. 23 Jun, 2001 1 commit
    • Owen Taylor's avatar
      Fixup some problems with text length handling in error cases. · b09d194d
      Owen Taylor authored
      Sat Jun 23 10:27:53 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* modules/input/gtkimcontextxim.c: Fixup some problems with
      	text length handling in error cases.
      
      	* gtk/gtkwidget.c (gtk_widget_size_allocate): Reorder
      	a bit to make test actually warn on attempt to allocation
      	a negative size. (#56101, Matthias Clasen)
      b09d194d
  14. 16 Mar, 2001 1 commit
    • HideToshi Tajima's avatar
      rename set_cursor_pos to set_cursor_location in GtkInputContext class · df726ee8
      HideToshi Tajima authored
      2001-03-15  HideToshi Tajima  <tajima@happy>
      
              * modules/input/gtkimcontextxim.c (gtk_im_context_xim_set_cursor_locat
      ion):
              * gtk/gtkimmulticontext.c (gtk_im_multicontext_set_cursor_location):
              * gtk/gtkentry.c (update_im_cursor_location):
              * gtk/gtkimcontext.c (gtk_im_context_set_cursor_location):
              * gtk/gtkimcontext.h (struct _GtkIMContextClass): rename
              set_cursor_pos to set_cursor_location in GtkInputContext class
      df726ee8
  15. 14 Mar, 2001 1 commit
    • HideToshi Tajima's avatar
      add set_cursor_pos() virtual method · 02f376a9
      HideToshi Tajima authored
      2001-03-14  HideToshi Tajima  <tajima@happy.sunsoft.eng.sun.com>
      
      	* gtk/gtkimmulticontext.c (gtk_im_multicontext_set_cursor_pos):
      	* gtk/gtkimcontext.c (gtk_im_context_set_cursor_pos):
      	* gtk/gtkimcontext.h (struct _GtkIMContextClass): add
      	set_cursor_pos() virtual method
      
      	* modules/input/gtkimcontextxim.c (gtk_im_context_xim_class_init):
      	(gtk_im_context_xim_set_cursor_pos): add implementation for
      	set_cursor_pos() method
      
      	* gtk/gtkentry.c (recompute_idle_func): set current cursor
      	position to input methods
      02f376a9
  16. 05 Jan, 2001 1 commit
  17. 09 Dec, 2000 1 commit
    • 8's avatar
      Add focus_in and focus_out implementation to im_context_class as · eccd33b2
      8 authored
      2000-12-08    <tajima@eng.sun.com>
      
              * modules/input/gtkimcontextxim.c (gtk_im_context_xim_class_init):
                Add focus_in and focus_out implementation to im_context_class
                as gtk_im_context_xim_focus_in and gtk_im_context_xim_focus_out.
      eccd33b2
  18. 01 Dec, 2000 1 commit
    • Hidetoshi Tajima's avatar
      -Add NULL argument to XGetIMValues. · c396e4bb
      Hidetoshi Tajima authored
      -Check NULL return for xim_styles and ic_values.
      -Restore preedit state after XmbResetIC.
      -Change XVaNestedList* to XVaNestedList.
      -Match "preedit-changed" to "preedit_changed".
      c396e4bb
  19. 12 Nov, 2000 1 commit
    • Owen Taylor's avatar
      Rip out support for multiple locales; that simple doesn't work reliably · b9d32873
      Owen Taylor authored
      Tue Sep 19 10:54:22 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* modules/input/{gtkimcontextxim.[ch],imxim.c}: Rip
      	out support for multiple locales; that simple doesn't
      	work reliably with current Xlib
      
      	* gtk/gtkimcontext*.[ch] gtk/gtkimmulticontext.[ch]
      	gtk/gtktextlayout.[ch] gtk/gtktextview.c gtk/gtkentry.c:
      	Add support for positioning the cursor within the preedit string.
      
      Mon Sep 18 23:56:32 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* modules/input/{imxim.c,gtkimcontextxim.[ch]}: Start
      	at XIM input method module.
      
      Sun Sep 17 10:08:16 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* modules/input/Makefile.am (moduledir): remove
      	leftover bin program target.
      
      Sat Sep 16 13:05:48 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* modules/input/imcyrillic-translit.c: A sample input
      	method (based on GtkIMContextSimple with an extra table),
      	which demonstrates preedit strings and the module
      	system for input modules
      b9d32873