1. 02 Sep, 2005 1 commit
    • Matthias Clasen's avatar
      Rework the Unicode hex input code. Now we only steal a single key · 4083637a
      Matthias Clasen authored
      2005-09-02  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkimcontextsimple.c: Rework the Unicode hex input
      	code. Now we only steal a single key combination, Ctrl-Shift-U,
      	instead of sixteen.
      	A hex Unicode sequence must be started with Ctrl-Shift-U, followed
      	by a sequence of hex digits entered with Ctrl-Shift still held.
      	Releasing one of the modifiers or pressing space while the modifiers
      	are still held commits the character. It is possible to erase
      	digits using backspace.
      	As an extension to the above, we also allow to start the sequence
      	with Ctrl-Shift-U, then release the modifiers before typing any
      	digits, and enter the digits without modifiers.
      	(#82011, Owen Taylor)
      4083637a
  2. 01 Sep, 2005 1 commit
    • Matthias Clasen's avatar
      Intern some more strings. · 94eec042
      Matthias Clasen authored
      2005-09-01  Matthias Clasen  <mclasen@redhat.com>
      
              * gdk/*.c: Intern some more strings.
              * gtk/gtkintl.h:
              * gtk/*.c: Define an I_() macro and use it instead of the
              bulky g_intern_static_string().
      94eec042
  3. 31 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      Intern type names in code generated by glib-mkenums, too. · c09cc893
      Matthias Clasen authored
      2005-08-31  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/Makefile.am:
      	* gtk/Makefile.am: Intern type names in code generated by
      	glib-mkenums, too.
      
      	* gtk/*.c:
      	* gdk/x11/*.c:
      	* gdk/*.c: Intern type names before registering the type to avoid
      	unnecessary copies.
      c09cc893
  4. 30 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      Change the compose sequence for soft hyphen to be · 37df0b01
      Matthias Clasen authored
      2005-08-30  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkimcontextsimple.c: Change the compose sequence for
      	soft hyphen to be multi_key-minus-minus-space, and add
      	compose sequences multi_key-minus-minus-period and
      	multi_key-minus-minus-minus for en dash and em dash.
      	(#172653, Christian Lohmaier)
      37df0b01
  5. 26 Jul, 2005 2 commits
  6. 21 May, 2005 1 commit
  7. 20 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · cca8dd63
      Matthias Clasen authored
      2005-03-20  Matthias Clasen  <mclasen@redhat.com>
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in gdkalias.h:
      
      	* gtk/grk.symbols: Group symbols by header and source file.
      	* gtk/makegtkalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegtkalias.pl -def
      	* gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate
      	this file.
      	* gtk/*.c: Include gtkalias.h after the other headers,
      	include gtkaliasdef.c at the bottom.
      	* gtk/*.h: Small cleanups.
      cca8dd63
  8. 23 Jan, 2005 1 commit
    • Tor Lillqvist's avatar
      Handle Greek tonos dead accent key. (#164859, reported and fix verified by · 26629f7a
      Tor Lillqvist authored
      2005-01-23  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/win32/gdkkeys-win32.c (update_keymap): Handle Greek tonos
      	dead accent key. (#164859, reported and fix verified by Daniel
      	Atallah.)
      
      	* gtk/gtkimcontextsimple.c (gtk_compose_seqs): Handle
      	GDK_Greek_accentdieresis (tonos and dialytika) combining with iota
      	and upsilon.
      26629f7a
  9. 26 Oct, 2004 1 commit
  10. 09 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Add hidden aliases for exported symbols which are used internally in order · 3612aee5
      Matthias Clasen authored
      Mon Aug  9 12:48:04 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Add hidden aliases for exported symbols which are
      	used internally in order to get rid of many PLT
      	entries.  (#145519, Arjan van de Ven)
      
      	* gtk/Makefile.am: Add rules to generate gtk.def and
      	from gtk.symbols, and make make check check the abi
      	with abicheck.sh.
      	(gtk_private_h_sources): Add gtkinternals.h
      	(gtk_built_private_headers): Add gtkalias.h
      	(gtk_extra_sources): Add gtk.symbols
      	(EXTRA_DIST): Add makegtkalias.pl and abicheck.sh
      
      	* gtk/gtk.symbols: New file. Definition of the GTK+ ABI.
      	The file can be processed by cpp to filter out certain
      	subsets of symbols.
      
      	* gtk/abicheck.sh: New file. Script to check the actually
      	symbols exported from libgtk-x11.2.0.so against the symbols
      	found in gtk.symbols.
      
      	* gtk/makegtkalias.pl: New file. Perl script to generate the
      	header containing the alias definitions for internally used
      	exported symbols from a list of symbols.
      
      	* gtk/gtkinternals.h: New file. An uninstalled header listing
      	symbols which must be exported for some reason and do not appear
      	in any other header.
      
      	* gtk/*.c: Include gtkalias.h
      3612aee5
  11. 06 Mar, 2004 1 commit
  12. 15 Aug, 2003 1 commit
    • Owen Taylor's avatar
      Improve Cedilla handling - based on a patch from Gustavo De Nardin, · d270a00d
      Owen Taylor authored
      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.
      d270a00d
  13. 21 May, 2003 2 commits
  14. 13 Nov, 2002 1 commit
    • Matthias Clasen's avatar
      Add a const here. · 050c933b
      Matthias Clasen authored
      	* gtk/theme-bits/decompose-bits.c (do_part): Add a const here.
      
      	* gtk/gtkcolorsel.c:
      	* gtk/gtkimcontextsimple.c:
      	* gtk/gtkstyle.c: Mark constant data as const to give the compiler
      	a chance to put it in a readonly section.  (#75754)
      050c933b
  15. 07 Nov, 2002 1 commit
  16. 10 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · 5d021465
      Manish Singh authored
      Thu Oct 10 15:13:48 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkimcontext.[ch] gtk/gtkimcontextsimple.[ch] gtk/gtkimmodule.c
              gtk/gtkimmulticontext.[ch] gtk/gtktreestore.[ch]: Deprecation
              cleanup
      5d021465
  17. 09 Oct, 2002 1 commit
  18. 04 Oct, 2002 1 commit
    • Owen Taylor's avatar
      Add a check for the Xrandr extension. · 8555f427
      Owen Taylor authored
      Fri Oct  4 11:43:47 2002  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in: Add a check for the Xrandr extension.
      
              * gdk/gdkscreen.[ch]: Add a size-changed signal.
      
              * gdk/x11/gdkscreen-x11.[ch]: Patch from Keith packard
              to hook up ConfigureNotify events on the root window
              to the ::size-changed signal. (#94560)
      
              * gtk/gtkimcontextsimple.c: Warning fixes
      8555f427
  19. 03 Oct, 2002 1 commit
    • Owen Taylor's avatar
      Add a 'type' parameter, make public. · ef33adff
      Owen Taylor authored
      Thu Oct  3 14:13:33 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkevents.c (gdk_event_new): Add a 'type'
              parameter, make public.
      
              * gdk/gdkevents.c (gdk_event_copy): Copy the screen.
      
              * gdk/gdkevents.c gdk/linux-fb/gdkmain-fb.c
              gdk/x11/gdkevents-x11.c gdk/win32/gdkevents-win32.c:
              _gdk_event_new() => gdk_event_new().
      
              * gdk/win32/gdkevents-win32.c (real_window_procedure):
              Fix event_private->screen breakage that results from evil
              encapsulation breakage here.
      
              * gtk/gtkclist.c gtk/gtkcombo.c gtk/gtkcontainer.c
              gtk/gtkdialog.c gtk/gtkdnd.c gtk/gtkdrawingarea.c
              gtk/gtkimcontextsimple.c gtk/gtklist.c gtk/gtkmenu.c
              gtk/gtknotebook.c gtk/gtkplug.c gtk/gtkselection.c
              gtk/gtktext.c gtk/gtktreeitem.c gtk/gtktreeview.c
              gtk/gtkviewport.c gtk/gtkwindow-decorate.c gtk/gtkwindow.c
              tests/testgtk.c: Remove most usage of stack-allocated
              GdkEvent structures.
      
              * gtk/gtktreeview.c: Use a cut-and-paste of the full
              send_focus_event() from gtkwindow.c that does the necessary
              notification of the ::has-focus property and setting of
              the HAS_FOCUS flag.x
      
              * gtk/gtkdnd.c: Clean up some mess/duplicated code; removing
              an extraneous use of a GdkEvent.
      ef33adff
  20. 01 Oct, 2002 1 commit
  21. 30 Sep, 2002 1 commit
  22. 24 Sep, 2002 1 commit
  23. 12 Jun, 2002 1 commit
  24. 16 May, 2002 1 commit
  25. 29 Apr, 2002 1 commit
    • Alexander Larsson's avatar
      Integrate Erwann Chenede's multihead changes for the gtk/ directory. · 4632fb81
      Alexander Larsson authored
      Mon Apr 29 18:28:00 2002  Owen Taylor  <otaylor@redhat.com>
      
      	Integrate Erwann Chenede's multihead changes for the gtk/ directory.
      
      	* gtk/gtkclipboard.[ch]: Add gtk_clipboard_get_for_display(),
      	make internals multihead aware.
      
      	* gtk/gtkcolorsel.[ch]: Add
      	gtk_color_selection_set_change_palette_with_screen_hook () [ugh!]
      	make up for non-multihead safety of
      	gtk_color_selection_set_change_palette_hook()
      
      	* gtk/gtkinvisible.[ch] gtk/gtkmenu.[ch] gtkwindow.[ch]: Add
      	gtk_{invisible,menu,window}_set_screen(); add "screen" properties
      	for GtkWindow and GtkMenu.
      
      	* gtk/gtkplug.[ch]: Add gtk_plug_construct_for_display(),
      	gtk_plug_new_for_display(). Multihead fixes.
      
      	* gtk/gtkselection.[ch]: Add gtk_selection_owner_set_for_display(),
      	make internals multihead aware.
      
      	* gtk/gtksettings.[ch]: Add gtk_settings_get_for_screen(), get
      	rid of now-useless gtk_settings_constructor().
      
      	* gtk/gtkstyle.[ch]: Add gtk_style_get_font_for_display(), fix
      	check/radio button indicators bitmap handling to be multihead
      	safe.
      
      	* gtk/gtkwidget.[ch]: Add gtk_widget_get_screen(), gtk_widget_has_screen(),
      	gtk_widget_get_display(), gtk_widget_get_clipboard(),
      	gtk_widget_get_root_window().
      
      	* gtk/gtkbindings.c gtk/gtkbutton.c gtk/gtkclist.c gtk/gtkcombo.c
      	gtk/gtkctree.c gtk/gtkdnd.c gtk/gtkfilesel.c gtk/gtkgamma.c
      	gtk/gtkhandlebox.c gtk/gtkhsv.c gtk/gtkimcontext.c gtk/gtklabel.c
      	gtk/gtklist.c gtk/gtkmain.c gtk/gtkmenuitem.c gtk/gtkmenushell.c
      	gtk/gtknotebook.c gtk/gtkoldeditable.c gtk/gtkoptionmenu.c
      	gtk/gtkpaned.c gtk/gtkpreview.c gtk/gtksocket.c gtk/gtktext.c
      	gtk/gtktextbuffer.c gtk/gtktextview.c gtk/gtktipsquery.c
      	gtk/gtktooltips.c gtk/gtktreeview.c gtk/gtktreeviewcolumn.c:
      	misc mechanical multihead-safety fixes.
      
      	* gtk/gtkclipboard.c: Use a GtkImage rather than a pixmap for
      	the dropper, look up the color palette only at realization time,
      	other multihead fixes.
      
      	* gtk/gtkcombo.c (gtk_combo_unrealize): Popdown the list when
      	unrealizing.
      
      	* gtk/gtkentry.c: Only claim ownership of the primary selection
      	when realized, misc multihead fixes.
      
      	* gtk/gtkfontsel.c: Only fill in fonts when attached to a screen,
      	fix gtk_font_selection_get_font() for multihead.
      
      	* gtk/gtkgc.c: make the depth => drawable hash per-screen.
      
      	* gtk/gtkinvisible.c: Add a constructor that realizes the
      	widget, so we get a realized widget with g_object_new() as
      	well gtk_invisible_new() as before.
      
      	* gtk/gtkmain.c: Get rid of unused gtk_visual/gtk_colormap
      	variables.
      
      	* gtk/gtktextdisplay.c: Add warnings if stipple bitmaps
      	are used on the wrong screen.
      
      	* gtk/gtktoolbar.c: Make handling of GtkSettings-based layout
      	read properties and connect to settings when the screen is changed,
      	rather than on init/finalize.
      
      	* gtk/gtkwindow.c: Fix icon handing to be multihead safe ...
      	default icon pixmaps/mask are only shared between windows on the
      	same screen. Misc multihead fixes.
      
      Sat Apr 27 13:49:53 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkclipboard.c (gtk_clipboard_get_for_display):
      	Update docs to reference GDK_SELECTION_CLIPBOARD rather GDK_NONE.
      
      2002-04-29  Alex Larsson  <alexl@redhat.com>
      
      	* gdk/linux-fb/gdkproperty-fb.c (gdk_property_get):
      	Fix silly bug, noticed by Sven Neumann.
      
      Sun Apr 28 22:43:55 2002  Jonathan Blandford  <jrb@gnome.org>
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): Fix
      	so that you can set a new sort func.
      4632fb81
  26. 27 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Remove these files from CVS so we more-or-less current versions from · 0205a7bd
      Owen Taylor authored
      Tue Feb 26 21:44:01 2002  Owen Taylor  <otaylor@redhat.com>
      
              * config.status config.guess: Remove these files
              from CVS so we more-or-less current versions from
              automake --add-missing. (Reported by Finlay Dobbie,
              #60342)
      
              * gdk/gdkkeyuni.c: Shouldn't map KP_Enter to '\n',
              or KP_Tab to \t' since we don't map the corresponding
              main keyboard characters in that way. (#61561,
              Padraig O'Briain)
      0205a7bd
  27. 18 Feb, 2002 1 commit
  28. 30 Dec, 2001 1 commit
    • Matthias Clasen's avatar
      Additions. · d925a72d
      Matthias Clasen authored
              * gtk/tmpl/gtkpixmap.sgml, gtk/tmpl/gtkscale.sgml,
              gtk/tmpl/gtkmain.sgml, gtk/tmpl/gtkimcontextsimple.sgml: Additions.
      
              * gtk/gtkwindow.c, gtk/gtkimcontextsimple.c: Minor documentation tweaks.
      d925a72d
  29. 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
  30. 28 Oct, 2001 1 commit
    • Matthias Clasen's avatar
      Documentation updates. · c27900c3
      Matthias Clasen authored
              * gtk/gtkcellrenderertoggle.c, gtk/gtkimcontextsimple.c,
              gtk/gtkimmulticontext.c, gtk/gtkimagemenuitem.c,
              gtk/gtkiconfactory.c, gtk/gtkwindow.c: Documentation updates.
      
              * docs/reference/gtk/tmpl/gtkmenuitem.sgml,
              docs/reference/gtk/tmpl/gtkmenu.sgml,
              docs/reference/gtk/tmpl/gtkmenushell.sgml,
              docs/reference/gtk/tmpl/gtkcontainer.sgml,
              docs/reference/gtk/gtk-sections.txt: Updates.
      c27900c3
  31. 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
  32. 12 Jul, 2001 1 commit
    • Owen Taylor's avatar
      Formatting fixes from multihead brnach. [ mostly foo(bar) => foo (bar) ] · 79d45ab8
      Owen Taylor authored
      Thu Jul 12 13:43:27 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkclist.c gtk/gtkcolorsel.c gtk/gtkcombo.c
      	  gtk/gtkctree.c gtk/gtkcurve.c gtk/gtkentry.c
      	  gtk/gtkfontsel.c gtk/gtkhandlebox.c
      	  gtk/gtkimcontextsimple.c gtk/gtkmain.c gtk/gtkmenu.c
      	  gtk/gtkmenuitem.c gtk/gtkoptionmenu.c gtk/gtkpixmap.c
      	  gtk/gtkselection.c gtk/gtktextdisplay.c gtk/gtktextview.c
      	  gtk/gtktooltips.c gtk/gtkwidget.c gtk/gtkwindow.c:
      	Formatting fixes from multihead brnach. [ mostly foo(bar) => foo (bar) ]
      79d45ab8
  33. 29 Jun, 2001 1 commit
    • Havoc Pennington's avatar
      Clip the retrieved image data to the screen, using a server grab to avoid · 0bee26c7
      Havoc Pennington authored
      2001-06-28  Havoc Pennington  <hp@pobox.com>
      
      	* gdk/x11/gdkimage-x11.c (_gdk_x11_get_image): Clip the retrieved
      	image data to the screen, using a server grab to avoid race
      	conditions.
      
      	* gtk/gtkitemfactory.c (gtk_item_factory_create_item): remove
      	check for NULL return from gtk_image_new_from_stock(), it never
      	returns NULL.
      	(gtk_item_factory_create_item): fix bug where we parsed the stock
      	ID as an inline pixbuf
      
      	* gtk/gtktext.c (gtk_text_key_press): numeric keypad support
      
      	* gtk/gtkspinbutton.c (gtk_spin_button_key_press): numeric keypad
      	support (should be using binding set here)
      
      	* gtk/gtkoptionmenu.c (gtk_option_menu_key_press): numeric keypad
      	support (should be using binding set here)
      
      	* gtk/gtkmenushell.c (gtk_menu_shell_class_init): numeric keypad
      	support
      
      	* gtk/gtkmenu.c (gtk_menu_class_init): numeric keypad support
      
      	* gtk/gtkmenubar.c (gtk_menu_bar_class_init): numeric keypad
      
      	* gtk/gtklistitem.c (gtk_list_item_class_init): numeric keypad
      
      	* gtk/gtkimcontextsimple.c
      	(gtk_im_context_simple_filter_keypress): keypad
      
      	* gtk/gtkfilesel.c (gtk_file_selection_key_press): keypad
      
      	* gtk/gtkentry.c (gtk_entry_class_init): numeric keypad fixes
      
      	* gtk/gtkctree.c (gtk_ctree_class_init): numeric keypad support
      
      	* gtk/gtkcolorsel.c (palette_activate): keypad support (of course,
      	should be binding-setted)
      
      	* gtk/gtkwindow.c (gtk_window_class_init): numeric keypad fixes
      
      	* gtk/gtkclist.c (gtk_clist_class_init): numeric keypad fixes
      
      	* gtk/gtkcalendar.c: numeric keypad fixes
      
      	* gtk/gtktextview.c (gtk_text_view_class_init): numeric keypad
      	support
      
      	* gdk/gdkwindow.c (gdk_window_get_clip_region): fix infinite loop
      	screwup
      
      	* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable_alpha):
      	clip the render area to the drawable's clip region in advance,
      	so we don't get data from the server that we don't need.
      
      	* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable_alpha):
      	check return value of gdk_pixbuf_get_from_drawable(), fall back
      	to bilevel alpha if we can't get the pixbuf to composite against.
      
      	* gdk/gdkdraw.c (gdk_drawable_get_image): set the image colormap
      
      	* gdk/gdkimage.c (gdk_image_get_colormap): add
      	gdk_image_set_colormap, gdk_image_get_colormap
      
      	* gdk/gdkpixbuf-drawable.c (rgbconvert): Change all converters to
      	take a region of the image, instead of converting the entire
      	image.
      
      	* gtk/gtkwidget.h (struct _GtkWidgetClass): add show_help
      	keybinding signal. Add default bindings for it. Add default
      	handler for show_help that shows the tooltip for the widget.
      
      	* gtk/gtkdialog.c (gtk_dialog_class_init): add binding set and
      	"close" keybinding signal, remove key press handler.
      
      	* gtk/gtktooltips.c (gtk_tooltips_set_colors): Just remove this,
      	it's not our usual practice to leave a deprecated function around
      	with a runtime warning, plus we don't want it to appear in docs,
      	plus if we make them yellow no one will want to change them
      	anyhow.
      0bee26c7
  34. 24 May, 2001 1 commit
  35. 29 Mar, 2001 1 commit
    • Owen Taylor's avatar
      Add missing NULL on valist. · 1586ade9
      Owen Taylor authored
      Wed Mar 28 19:20:43 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/testtext.c (create_buffer): Add missing NULL on
      	valist.
      
      	* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_class_init): Fix
      	c-n-p problem with INCONSISTENT property.
      
              [ Patch from Havoc Pennington  <hp@redhat.com> ]
      
      	* gtk/gtkentry.h (struct _GtkEntryClass): add same populate_popup
      	hook.
      
      	* gtk/gtktextview.h (struct _GtkTextViewClass): add populate_popup
      	signal as a hook for extending the default popup menu
      
      	* gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
      	use radio menu items for the input method menuitems
      
      	* gtk/gtkimcontextsimple.c (check_hex): do better validation of
      	inserted unicode from Ctrl-Shift-hex input method
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_insert): remove utf8
      	validatation here, already done at GtkTextBuffer level.
      
      	* gtk/gtkwidget.c (gtk_widget_class_init): add binding set, add
      	popup_menu run action signal and Shift+F10 and Menu keybindings.
      
      	* gtk/gtkentry.c: implement a default handler for popup_menu
      
      	* gtk/gtktextview.c: implement a default handler for popup_menu
      
      	* gtk/gtkmenu.c (gtk_menu_popup): select first item if popup is
      	from a key event
      
      	* gtk/gtklabel.c: remove "trailer" cruft
      1586ade9
  36. 11 Dec, 2000 2 commits
    • Havoc Pennington's avatar
      Handle chopping off \r\n and 0x2029 in addition to \n before passing to · 310a0d4f
      Havoc Pennington authored
      2000-12-11  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextlayout.c (gtk_text_layout_get_line_display):
      	Handle chopping off \r\n and 0x2029 in addition to \n before
      	passing to PangoLayout
      
      	* gtk/gtkimcontextsimple.c
      	(gtk_im_context_simple_get_preedit_string):
      	return an empty string if no match is pending
      
      	* gtk/gtkimcontext.c (gtk_im_context_get_preedit_string): add
      	assertion that the returned preedit string was sane
      
      	* gtk/gtktext*.[hc], gtk/testtext.c, gtk/testtextbuffer.c:
      	s/gtk_text_iter_next_char/gtk_text_iter_forward_char/g;
      	s/gtk_text_iter_prev_char/gtk_text_iter_backward_char/g;
      310a0d4f
    • Owen Taylor's avatar
      Fix up finalizer to chain to its parent. · 116853db
      Owen Taylor authored
      Mon Dec 11 10:02:26 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkimcontextsimple.c (gtk_im_context_simple_finalize):
      	Fix up finalizer to chain to its parent.
      116853db
  37. 06 Dec, 2000 1 commit
    • Havoc Pennington's avatar
      add gdkkeys.[hc] · 36aac017
      Havoc Pennington authored
      2000-12-03  Havoc Pennington  <hp@pobox.com>
      
      * gdk/Makefile.am: add gdkkeys.[hc]
      
      * gdk/gdkkeys.h, gdk/gdkkeys.c: Move all the keyval stuff to these
      files from gdk.h, gdk.c; add GdkKeymap type and operations on it.
      
      * acconfig.h, configure.in: add checks and command line options
      for XKB
      
      * gdk/x11/gdkkeys-x11.c: Implement the above functions
      
      * gdk/x11/gdkevents-x11.c (gdk_event_translate): Put the keycode
      and group in the key event
      
      * gdk/gdkevents.h (struct _GdkEventKey): Add a hardware_keycode
      field with the low-level hardware key code, and a group
      field with the keyboard group
      
      * gdk/x11/gdkprivate-x11.h: include config.h for HAVE_XKB,
      and declare a couple globals used for keymap handling
      
      * gtk/gtkimcontextsimple.c: Implement ISO 14755 input method,
      hold down Shift-Control and type a hex number to get a Unicode
      character corresponding to the hex number
      (gtk_im_context_simple_get_preedit_string): Fix cursor position
      (return bytes not chars)
      36aac017