1. 21 Oct, 2004 1 commit
  2. 22 Aug, 2004 1 commit
    • Soeren Sandmann's avatar
      gtk/gtkexpander.c · c49739a0
      Soeren Sandmann authored
      Sun Aug 22 16:55:15 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkexpander.c
      	* gtk/gtkalignment.c:
      	* gtk/gtktexttag.c
      	Make enums match property names. Found by a script by Tommi
      	Komulainen.
      
      	* gtk/gtkpaned.c (gtk_paned_class_init): fix min/max mixup.
      
      Sun Aug 22 16:09:49 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkliststore.h (struct _GtkListStore):
      	* gtk/gtkliststore.c (gtk_list_store_init):
      	* gtk/gtkliststore.c (gtk_list_store_insert):
      	* gtk/gtkliststore.c (gtk_list_store_remove):
      	Restore length field; PyGTK and maybe others use it directly.
      c49739a0
  3. 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
  4. 07 Jun, 2004 1 commit
  5. 06 Mar, 2004 1 commit
  6. 16 Jan, 2004 1 commit
    • Matthias Clasen's avatar
      The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog and · 07d4d314
      Matthias Clasen authored
      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_().
      07d4d314
  7. 16 Dec, 2002 1 commit
  8. 10 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · ac770765
      Manish Singh authored
      Thu Oct 10 14:41:05 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtktextbtree.c gtk/gtktextbuffer.c gtk/gtktextdisplay.c
              gtk/gtktextlayout.c gtk/gtktextmark.c gtk/gtktexttag.[ch]
              gtk/gtktexttagtable.c gtk/gtktextutil.c gtk/gtktextview.[ch]:
              Deprecation cleanup
      ac770765
  9. 10 Aug, 2002 1 commit
    • Soren Sandmann's avatar
      Minor documentation fixes · 77eee887
      Soren Sandmann authored
      2002-08-10  Soren Sandmann  <sandmann@daimi.au.dk>
      
      	* docs/reference/gtk/tree_widget.sgml,
      	docs/reference/gtk/tmpl/gtkdialog.sgml,
      	docs/reference/gtk/tmpl/gtkentry.sgml,
      	docs/reference/gtk/tmpl/gtkfilesel.sgml,
      	docs/reference/gtk/tmpl/gtkfontsel.sgml,
      	docs/reference/gtk/tmpl/gtkfontseldlg.sgml,
      	docs/reference/gtk/tmpl/gtktreemodel.sgml,
      	docs/reference/gtk/tmpl/gtkwidget.sgml, gdk/x11/gdkdisplay-x11.c,
      	gtk/gtkbbox.c, gtk/gtkbox.c, gtk/gtkbutton.c, gtk/gtkcellrenderer.c,
      	gtk/gtkcellrendererpixbuf.c, gtk/gtkcellrenderertext.c,
      	gtk/gtkcheckmenuitem.c, gtk/gtkcontainer.c, gtk/gtkcurve.c,
      	gtk/gtkdialog.h, gtk/gtkentry.c, gtk/gtkfilesel.c, gtk/gtkfontsel.c,
      	gtk/gtkframe.c, gtk/gtkhandlebox.c, gtk/gtkiconfactory.c,
      	gtk/gtkimage.c, gtk/gtkinvisible.c, gtk/gtkitemfactory.c,
      	gtk/gtklabel.c, gtk/gtklayout.c, gtk/gtkmenu.c, gtk/gtkprogress.c,
      	gtk/gtkprogressbar.c, gtk/gtkscrolledwindow.c, gtk/gtksizegroup.c,
      	gtk/gtktable.c, gtk/gtktextiter.c, gtk/gtktexttag.c,
      	gtk/gtktexttag.h, gtk/gtktextview.c, gtk/gtktogglebutton.c,
      	gtk/gtktoolbar.c, gtk/gtktreemodel.c, gtk/gtktreeselection.c,
      	gtk/gtktreestore.c, gtk/gtktreeview.c, gtk/gtktreeviewcolumn.c,
      	gtk/gtkviewport.c, gtk/gtkwidget.c, gtk/gtkwidget.h,
      	gtk/gtkwindow.c:
      
      	Minor documentation fixes
      
      	(#89254, patch from Brett Nash;
      	 #85809, patch from daten@dnetc.org;
      	 #76391, patch from Ross Burton;
      	 #74559, Manuel Clos;
      	 #73569, #72005, Alexey A. Malyshev;
      	 #70061, patch from Dennis Bj"orklund;
      	 #64566, #63388, #58328, #57499, #81007, #77349, Vitaly Tishkov;
      	 #78932, Vitaly Tishkov, patch from Ross Burton;
      	 #73306)
      77eee887
  10. 15 Jun, 2002 1 commit
  11. 13 Jun, 2002 1 commit
    • Owen Taylor's avatar
      Fix type names for GtkIconSet, GtkIconSource, GtkSelectionData, GtkBorder, · 2ea857cb
      Owen Taylor authored
      Thu Jun 13 19:41:56 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkiconfactory.c gtk/gtkselection.c gtk/gtkstyle.c
              gtk/gtktextiter.c gtk/gtktexttag.c gtk/gtktreemodel.c
              gtk/gtkwidget.c: Fix type names for GtkIconSet,
              GtkIconSource, GtkSelectionData, GtkBorder, GtkTextIter,
              GtkTextAttributes, GtkTreePath, GtkTreeIter,
              GtkRequisition, which were all registered as GtkType*.
              (#84634, James Henstridge; patch from Jonathan Blandford.)
      2ea857cb
  12. 30 Apr, 2002 1 commit
    • Matthias Clasen's avatar
      Improve a warning. · e3d181b8
      Matthias Clasen authored
      	* gtk/gtkcontainer.c (gtk_container_class_install_child_property):
      	Improve a warning.
      
      	* gdk/linux-fb/gdkinput.c (gdk_device_get_axis): Remove a broken
      	and redundant doc comment.
      
      	* gtk/gtkprogress.c (gtk_progress_class_init):
      	* gtk/gtkprogressbar.c (gtk_progress_bar_class_init):
      	* gtk/gtktexttag.c (gtk_text_tag_class_init):
      	* gtk/gtknotebook.c (gtk_notebook_class_init): Better blurbs,
      	incorporating stuff from the doc templates.
      
      	* gtk/gtkplug.c (gtk_plug_construct): Fix docs.
      e3d181b8
  13. 02 Mar, 2002 1 commit
    • Owen Taylor's avatar
      Switch style of stamp file usage. · f832e348
      Owen Taylor authored
      Sat Mar  2 13:26:58 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/Makefile.am: Switch style of stamp file usage.
      
              * gtk/Makefile.am gtk/typeutils.[ch]: Switch all the exported
              enumeration/fags TYPE variables over to macros for get_type() functions,
              for lazy definition and to get rid of expensive relocations.
      
              * gtk/gtkiconfactory.[ch] gtk/gtkselection.[ch] gtk/gtkstyle.[ch]
              gtk/gtktextiter.[ch] gtk/gtktexttag.[ch] gtk/gtktreemodel.[ch]
              gtk/gtktypeutils.[ch] gtk/gtkwidget.[ch]: Switch boxed type
              definitions over manually coded get_type() functions.
      
              * gtk/gtk.def: Updates for above
      
              * gtk/{genmarshal.pl,makeenums.awk,makeenums.h,maketypes.awk}:
              Remove from CVS, no longer used.
      
              * configure.in: Remove checks for awk.
      f832e348
  14. 16 Jan, 2002 1 commit
  15. 04 Dec, 2001 1 commit
  16. 25 Nov, 2001 1 commit
    • Kristian Rietveld's avatar
      free font_desc when finished (#65266) · 7a181cf5
      Kristian Rietveld authored
      Sun Nov 25 23:18:39 2001  Kristian Rietveld  <kristian@planet.nl>
      
              * gtk/gtktexttag.c (gtk_text_tag_set_property): free font_desc
              when finished (#65266)
      
      Sun Nov 25 23:16:29 2001  Kristian Rietveld  <kristian@planet.nl>
      
              * gdk/x11/gdkwindow-x11.c (gdk_window_set_icon_list): free
              data after we set the property. (#65264)
      
      Sun Nov 25 23:14:06 2001  Kristian Rietveld  <kristian@planet.nl>
      
              * gtk/gtkbutton.c: add destroy method so label_text gets freed
              if it has been allocated (#65268)
      7a181cf5
  17. 17 Nov, 2001 1 commit
    • Owen Taylor's avatar
      Make gtkmarshal.list/gtkmarshal.h only for compatibility with GTK+-1.2; · a036c6e5
      Owen Taylor authored
      Sat Nov 17 18:26:45 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/Makefile.am gtk/gtkmarshal.list gtk/gtkmarshalers.list
      	gtk/*.c gtk/gtksignal.h: Make gtkmarshal.list/gtkmarshal.h
      	only for compatibility with GTK+-1.2; and deprecate it;
      	put all marshalers we actually use into gtkmarshalers.list
      	and use the _gtk_marshal_ prefix for these marshalers.
      a036c6e5
  18. 27 Oct, 2001 1 commit
    • Hans Breuer's avatar
      to simplify parsing for exported functions: - made implementation · e2e69403
      Hans Breuer authored
      2001-10-27  Hans Breuer  <hans@breuer.org>
      
      	* gtk/gtkbbox.c gtk/gtkctree.c gtk/gtkhbbox.c
      	  gtk/gtkimmulticontext.c gtk/gtklabel.c gtk/gtkliststore.c
      	  gtk/gtkmenu.c gtk/gtkpaned.c gtk/gtkrc.c gtk/gtkscale.c
      	  gtk/gtkstyle.c gtk/gtktextbuffer.c gtk/gtktextlayout.c
      	  gtk/gtktexttag.c gtk/gtktexttagtable.c gtk/gtktextview.c
      	  gtk/gtktreestore.c gtk/gtkvbbox.c :
      	to simplify parsing for exported functions:
      	- made implementation signature static, when the local
      	  prototype already was
      	- put the functions return value on it's own line
      	- added as space between the function name and the
      	  opening bracket
      
      	* gtk/gtk.def : added the remaining exported functions
      e2e69403
  19. 25 Oct, 2001 1 commit
  20. 25 Sep, 2001 2 commits
    • Havoc Pennington's avatar
      use gtk_text_iter_can_insert · 1a26412d
      Havoc Pennington authored
      2001-09-25  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_key_press_event): use
      	gtk_text_iter_can_insert
      
      	* gtk/gtktextbuffer.c: use gtk_text_iter_can_insert
      
      	* gtk/gtktextiter.c (find_line_log_attrs): fixes, #57611, #57613
      	 (gtk_text_iter_can_insert): new function to fix #60282, should
      	also fix msw's "can paste into empty buffer" bug.
      
      	* gtk/gtktexttag.c (gtk_text_tag_event): change type check for
      	"event object,"  #59091
      
      	* gtk/gtktextbtree.c: indentation fixes
      
      	* gtk/gtktextiter.c (find_by_log_attrs): fixes
      1a26412d
    • Owen Taylor's avatar
      ue Sep 25 12:41:17 2001 Owen Taylor <otaylor@redhat.com> · 0c3be554
      Owen Taylor authored
      	* configure.in: Version 1.3.9, interface age 0, binary age 0.
      
      	* configure.in: Require GLib-1.39, Pango 0.20, Atk 0.5.
      
      	* NEWS: Updates.
      
      Mon Sep 24 11:59:09 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkstyle.[ch] (_gtk_draw_insertion_cursor): Shared
      	function for drawing cursors between gtkentry/gtklabel/gtktextview.
      	Should this be public? It has a bit of an odd interface, but
      	custom editing widgets probably should be using it.
      	Function will draw with wider width for taller cursors, and
      	draws a little indicator arrow to indicate directoin for split
      	cursors.
      
      	* gtk/gtktextview.c: Add a "cursor_color" property.
      
      	* gtk/gtktextdisplay.[ch]: Add a cursor_gc parameter to
      	gtk_text_layout_draw().
      
      	* gtk/gtkentry.c gtk/gtklabel.c gtk/gtktextdisplay.c: Use
      	_gtk_draw_insertion_cursor().
      
      Tue Sep 25 11:22:23 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkcellrenderertext.c gtk/gtktexttag.c: Restore
      	the behavior where you could turn family_set (etc) back on
      	and get back the values you had before.
      
      	* demos/gtk-demo/stock_browser.c (id_to_macro): Use
      	g_string_ascii_up() rather than looping through the
      	string ourself.
      0c3be554
  21. 22 Sep, 2001 1 commit
    • Kristian Rietveld's avatar
      weight value should be an int · be317eb2
      Kristian Rietveld authored
      Sat Sep 22 16:50:34 2001  Kristian Rietveld  <kristian@planet.nl>
      
              * gtk/gtktexttag.c (gtk_text_tag_set_property): (case PROP_WEIGHT):
              weight value should be an int
      
      Sat Sep 22 15:17:41 2001  Kristian Rietveld  <kristian@planet.nl>
      
              * gtk/gtkmenu.c (gtk_menu_select_item): move most code
              to gtk_menu_scroll_item_visible(). Only call
              gtk_menu_scroll_item_visible() if the menu widget has been
              realized. Fixes bug #55310.
      be317eb2
  22. 19 Sep, 2001 1 commit
    • Owen Taylor's avatar
      Fix incorrect parameter to compute_double_length (#58680, patch from · 5a43a59f
      Owen Taylor authored
      Tue Sep 18 20:47:16 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkspinbutton.c (gtk_spin_button_size_request): Fix
              incorrect parameter to compute_double_length
              (#58680, patch from Matthias Clasen)
      
              Fixes for compilation with Forte cc. (#59734, Derek Rafter)
      
              * gtk/gtkwindow.h gtk/gtksizegroup.h: Remove extra ;.
      
              * gdk/gdktypes.h (GdkModifierType): Write 1u << 31
              for GDK_RELEASE_MASK to avoid warnings with Forte.
      
              * gtk/gtktexttag.c gtk/gtkcellrendertext.c: Add some missing
              break; statements.
      5a43a59f
  23. 18 Sep, 2001 1 commit
    • Owen Taylor's avatar
      Fix up for changes to PangoFontDescription. · a15d5c36
      Owen Taylor authored
      Wed Sep 12 11:21:14 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkcellrenderertext.[ch] gtk/gtktexttag.[ch]
      	  gtk/gtktextview.c tests/testgtk.c: Fix up for changes to
      	PangoFontDescription.
      
      	* gtk/gtkentry.c gtk/gtkclist.c gtk/gtkcellrenderertext.c
      	gtk/gtkspinbutton.c: Fix up for change to PangoMetrics
      	structure.
      
      	* gtk/gtkfontsel.c: Fix up for new Pango font listing API.
      
      	* gtk/gtkstyle.[ch]: Add gtk_style_get_font/set_font to replace
        	direct access to style->font. Deprecate gtk_style_ref/unref.
      
       	* gtk/gtkclist.c gtk/gtkctree.c gtk/gtkstyle.c gtk/gtkwidget.c:
        	Remove gtk_style_ref/unref with g_object_ref/unref.
      
        	* gtk/gtkcalendar.c: Remove leftover macros accessing
        	style->font.
      
        	* gtk/gtkhruler.c (gtk_hruler_draw_ticks): Remove unused
        	variable.
      
        	* gtk/gtktext.c gtk/gtklabel.c: Use gtk_style_get_font() instead of
      	style->font.
      a15d5c36
  24. 07 Sep, 2001 1 commit
    • Havoc Pennington's avatar
      update adjustments after validating destination yrange; fixes #53918 (This · f1427cd9
      Havoc Pennington authored
      2001-09-07  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_flush_scroll): update
      	adjustments after validating destination yrange; fixes #53918
      	(This may cause other issues, but I hope it won't)
      
      2001-09-05  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_delete): when merging end
      	line into start line, update the character counts in parent nodes;
      	caused a bug when end and start line had different parent nodes.
      
      2001-08-30  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktexttag.c (_gtk_text_attributes_fill_from_tags): add
      	assertion that tag is in a table
      f1427cd9
  25. 23 Aug, 2001 1 commit
  26. 11 Aug, 2001 1 commit
    • Hans Breuer's avatar
      coalescing property notifies · 0b5db507
      Hans Breuer authored
      2001-08-11  Hans Breuer  <hans@breuer.org>
      
      	* gtk/gtkalignment.c, gtk/gtkarrow.c, gtk/gtkaspectframe.c,
      	  gtk/gtkcellrenderer.c, gtk/gtkcellrenderertext.c,
      	  gtk/gtkcombo.c, gtk/gtkcurve.c, gtk/gtkfontsel.c,
      	  gtk/gtklayout.c, gtk/gtkmisc.c, gtk/gtkpacker.c,
      	  gtk/gtkprogress.c, gtk/gtkruler.c,, gtk/gtksettings.c,
      	  gtk/gtkspinbutton.c, gtk/gtktexttag.c : coalescing property notifies
      
      	* gtk/gtkclist.c, gtk/gtktipsquery.c, gtk/gtktexttag.c,
      	  gtk/gtkwidget.c : added G_SIGNAL_TYPE_STATIC_SCOPE to all
      	GDK_TYPE_EVENT signals
      
      	* gtk/gtkalignment.c : removed 'direct allocation bug',
      	which Tim discovered while reading the patch
      0b5db507
  27. 02 Jul, 2001 1 commit
    • James Henstridge's avatar
      same here for PANGO_TYPE_TAB_ARRAY. · 84191d67
      James Henstridge authored
      2001-07-02  James Henstridge  <james@daa.com.au>
      
      	* gtk/gtktextview.c (gtk_text_view_class_init): same here for
      	PANGO_TYPE_TAB_ARRAY.
      
      	* gtk/gtktexttag.c (gtk_text_tag_class_init): same here, but also
      	for PANGO_TYPE_TAB_ARRAY.
      
      	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
      	s/GTK_TYPE_PANGO_FONT_DESCRIPTION/PANGO_TYPE_FONT_DESCRIPTION/
      
      	* gtk/gtk-boxed.defs: move all the boxed definitions to the top of
      	the file.  Remove Pango types from defs -- they are now defined in
      	libpango.
      84191d67
  28. 29 Jun, 2001 1 commit
    • Havoc Pennington's avatar
      fixes to compile with G_DISABLE_COMPAT · 49c1e6dc
      Havoc Pennington authored
      2001-06-29  Havoc Pennington  <hp@redhat.com>
      
             * Throughout: fixes to compile with G_DISABLE_COMPAT
      	(s/g_signal_connectc/g_signal_connect/,
      	s/g_signal_newc/g_signal_new/,
      	s/g_signal_disconnect_by_func/g_signal_handlers_disconnect_by_func/)
      49c1e6dc
  29. 14 Jun, 2001 1 commit
    • Owen Taylor's avatar
      Add missing gdk_rectangle_get_type() prototype. · 22491fd6
      Owen Taylor authored
      Mon Jun 11 18:15:16 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdk.h: Add missing gdk_rectangle_get_type() prototype.
      
      	* gtk/gtk[hv]scale.c: Include math.h, stdlib.h
      
      	* gdk/gdkpango.h gtk/gtkclist.c gtk/gtkentry.c gtk/gtkmain.[ch]
      	  gtk/gtkspinbutton.c gtk/gtkstyle.c gtk/gtktextbuffer.c
      	  gtk/gtktextdisplay.c gtk/gtktextiter.[ch]
      	  gtk/gtktextlayout.c gtk/gtktexttag.[ch] gtk/gtkwidget.c: Adapt
      	  to recent changes in Pango.
      
      	* tests/testgtk.c: Set language tags with gtk_label_set_markup()
      	  to test whether the basic engine honors them.
      22491fd6
  30. 07 May, 2001 1 commit
    • Havoc Pennington's avatar
      fix some shell typos · b4e4a0ed
      Havoc Pennington authored
      2001-05-04  Havoc Pennington  <hp@redhat.com>
      
      	* configure.in: fix some shell typos
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_destroy): warning fix
      
      	* gtk/gtkimage.c: handle animations
      
      	* gtk/gtkcheckbutton.c (gtk_check_button_size_request): request
      	border_width * 2, not just border_width
      
      	* gtk/gtkscale.c: add "format_value" signal to allow people
      	to override the way values are drawn.
      	(gtk_scale_get_value_size): fix width/height mistake,
      	and compute size from actual displayed text, not
      	from made-up text.
      
      	* gtk/gtktexttag.c (gtk_text_tag_class_init): fix return type in
      	signal registration
      
      	* tests/testtext.c: Add "Remove all tags" menu item for testing
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_remove_all_tags): implement
      
      	* demos/gtk-demo/main.c (main): add hack so we can find modules
      	without installing gtk
      
      	* demos/gtk-demo/textview.c (insert_text): demo font scaling
      
      	* gtk/gtkcellrenderertext.c: Add "scale" property (font scaling
      	factor)
      	(gtk_cell_renderer_text_set_property): remove some bogus
      	g_object_notify
      
      	* gtk/gtktexttag.c: add "scale" property which is a font scaling
      	factor
      
      	* gtk/gtktextlayout.c (add_text_attrs): add font scale attribute
      	to layout
      
      	* gtk/gtktextiter.c (gtk_text_iter_is_start): rename from
      	gtk_text_iter_is_first
      
      2001-05-04  Havoc Pennington  <hp@redhat.com>
      
      	* pixops/pixops.c (pixops_process): merge fix from stable: Patch
      	 from hoshem@mel.comcen.com.au to fix nonzero X offsets.  Fixes
      	 bug #50371.
      
              * gdk-pixbuf/pixops/pixops.c (pixops_composite_nearest): merge
      	from stable: Patch from OKADA Mitsuru <m-okada@fjb.co.jp> to fix
      	confusion of using "src" instead of "p".
              (pixops_composite_color_nearest): Use a more accurate (and
      	correct, to begin with) compositing method.  This cures checks
      	showing through on images with no alpha.
      
      	* gdk-pixbuf.c (gdk_pixbuf_fill): fix bug that left some trailing
      	bytes unfilled.
      
      	* gdk-pixbuf-io.h: fix UpdatedNotifyFunc to use signed ints
      
      	* gdk-pixbuf-loader.h (struct _GdkPixbufLoaderClass): Change
      	area_updated signal to use signed ints.  Removed animation-related
      	signals.
      
      	* io-gif.c, io-gif-animation.h, io-gif-animation.c: Massive
      	rewrite action
      
      	* gdk-pixbuf-animation.c: Add GdkPixbufAnimationIter to abstract
      	all the pesky details. Remove old frame-based API. Make
      	GdkPixbufAnimation an abstract base class, derived by the loaders.
      b4e4a0ed
  31. 03 May, 2001 1 commit
  32. 02 Apr, 2001 1 commit
    • Owen Taylor's avatar
      Add GdkEventSetting event for notification of changes to system settings, · b52b326d
      Owen Taylor authored
      Mon Apr  2 18:18:07 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkevents.h: Add GdkEventSetting event for notification
      	of changes to system settings, gdk_setting_get() to retrieve
      	a single system setting.
      
      	* gdk/x11/gdkevents-x11.c: Bridge gdk_setting_get() and GdkEventSetting
      	to the draft XSETTINGS mechanism.
      
      	* gdk/x11/xsettings-{common,client}.[ch]: Sample-implementation of
      	XSETTINGS.
      
      	* gtk/gtkmain.c gtk/gtksettings.[ch]: Propagate notification
      	of GDK settings changes to the GtkSettings object.
      
      	* gdk/gdkevents.[ch] gdk/gtk/gtksettings.c: Hook up the
      	double-click-timeout property to GDK.
      
      	* gdk/gdkcolor.[ch] gdk/gdkvisual.h gdk/gdkevent.[ch] gdk/gdkfont.[ch]:
      	Define GDK boxed types here.
      
      	* gdk/Makefile.am gdk/makeenums.pl: Generate source files
      	gdk/gdkenumtypes.[ch] for enum definitions.
      
      	* gtk/gtkcompat.h: Add defines for GTK_TYPE_GDK_*
      	* gtk/gtk-boxed.defs: Comment out GDK types
      	* gtk/gtktypeutils.h: Remove GDK types
      	* gtk/Makefile.am: No longer scan GDK headers for enumerataions
      b52b326d
  33. 28 Mar, 2001 1 commit
    • Owen Taylor's avatar
      Apply patch from Nils Barth fixing event return values. (#51041) · a7f29c4e
      Owen Taylor authored
      Tue Mar 27 22:36:07 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.h gtk/gtkrange.h: Apply patch from
      	Nils Barth fixing event return values. (#51041)
      
      	* gtk/gtkwidget.c: Fix some return values for default
      	functions.
      
      	* gtk/gtk[vh]scrollbar.c gtk/gtk[vh]range.c: Fix
      	return values for trough_keys functions.
      
      	* gtk/gtkwidget.h (struct _GtkWidgetClass): Fix return
      	value for add_accelerator (shoudl have been a void
      	return.)
      
      	* gtk/gtkcellrenderer.[ch]: gtkcellrenderertoggle.h:
      	Fix return type of EVENT.
      
      	* gtk/gtkmarshal.list gtk/gtktexttag.c: Make EVENT
      	signal return a boolean.
      a7f29c4e
  34. 24 Mar, 2001 1 commit
    • Havoc Pennington's avatar
      make this somewhat key-navigable · 207e3bb9
      Havoc Pennington authored
      2001-03-23  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtkhsv.c: make this somewhat key-navigable
      
      	* gtk/gtkfontsel.c: mnemonics
      
      	* gtk/gtkgamma.c: mnemonics
      
      	* gtk/gtkcolorsel.c: add mnemonics to labels
      
      2001-03-22  Havoc Pennington  <hp@pobox.com>
      
      	Applied big patch from Seth Lytle to fix event handler return
      	values, slightly modified.
      
      	* gtk/gtkcalendar.c (gtk_calendar_button_press): return TRUE if
      	handled.
      	(gtk_calendar_key_press): return TRUE for GDK_space triggers
      	select_day
      
      	* gtk/gtkclist.c (gtk_clist_button_press): return TRUE if handled
      	(gtk_clist_button_release): return TRUE if handled
      
      	* gtk/gtkcolorsel.c (mouse_release):
      	(palette_activate):
      	(palette_press):
      	(palette_new):
      	(mouse_press):
      	(get_screen_color):
      	fixed return type (void to gboolean), return TRUE,
      	added GTK_SIGNAL_FUNC cast
      
      	* gtk/gtkcombo.c (gtk_combo_popup_button_press): fixed return type
      	(void to gboolean), and return TRUE
      	(gtk_combo_button_release): changed return value to TRUE after
      	gtk_grab_add on combo->popwin
      
      	* gtk/gtkctree.c (gtk_ctree_button_press): return TRUE if triggers a
      	collapse or expand
      
      	* gtk/gtkcurve.c (gtk_curve_graph_events): return TRUE for
      	button/motion
      
      	* gtk/gtkdnd.c (gtk_drag_source_event_cb): return TRUE for button
      	press/release and motion that trigger act
      
      	* gtk/gtkentry.c (gtk_entry_button_release): return TRUE
      
      	* gtk/gtkfontsel.c (gtk_font_selection_size_key_press): return TRUE
      	for GDK_Return
      
      	* gtk/gtklist.c (gtk_list_button_press): return TRUE mostly
      	(gtk_list_button_release): return TRUE if selection
      
      	* gtk/gtklistitem.c (gtk_list_item_button_press): return TRUE on
      	press
      
      	* gtk/gtkmenushell.c (gtk_menu_shell_button_press):
      	(gtk_menu_shell_button_release): chain parent_menu_shell retval
      
      	* gtk/gtknotebook.c (gtk_notebook_button_press): return FALSE if
      	nothing triggered
      	(gtk_notebook_button_release): return TRUE if we do anything
      
      	* gtk/gtkspinbutton.c (gtk_spin_button_button_press):
      	(gtk_spin_button_button_release): return TRUE or chained retval
      
      	* gtk/gtktext.c (gtk_text_button_press):
      	(gtk_text_button_release): return TRUE
      	(gtk_text_key_press): remove redundant retval code
      
      	* gtk/gtktreeitem.c (gtk_tree_item_button_press): return TRUE if button
      	and sensitive
      	(gtk_tree_item_subtree_button_click): changed type to gint, and return
      	TRUE if sensitive
      
      	* gtk/gtktooltips.c (gtk_tooltips_event_handler): deactivate implies
      	return TRUE
      207e3bb9
  35. 16 Mar, 2001 1 commit
    • Havoc Pennington's avatar
      add varargs for properties to set on the tag. · e7a21a2e
      Havoc Pennington authored
      2001-03-15  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_create_tag): add varargs
      	for properties to set on the tag.
      
      	* gtk/testtext.c: fixups to reflect create_tag change
      
      	* gtk/gtktexttag.c (gtk_text_tag_set_property):
      	background/foreground stipple are objects, not boxed.
      
      	* demos/gtk-demo/textview.c: intellihancing
      e7a21a2e
  36. 08 Mar, 2001 1 commit
    • Tim Janik's avatar
      added accumulator data argument to g_signal_newc() functions. · 06718ecf
      Tim Janik authored
      Thu Mar  8 16:51:21 2001  Tim Janik  <timj@gtk.org>
      
              * *.c: added accumulator data argument to g_signal_newc()
              functions.
      
              * gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_model):
              * gtk/gtktreeview.c (gtk_tree_view_setup_model):
              * gtk/treestoretest.c (make_window):
              s/g_signal_connect/g_signal_connectc/.
      
              * gtk/gtktextbuffer.c: completed signal arg fixups,
              they also needed G_SIGNAL_TYPE_STATIC_SCOPE flag.
      06718ecf
  37. 07 Mar, 2001 1 commit
    • Tim Janik's avatar
      marshaller fixes. · 35af5c4e
      Tim Janik authored
      Wed Mar  7 13:24:57 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/*.c: marshaller fixes.
      
              * gtk/gtkmarshal.list: extreme cleanup.
      
              * gtk/gtktreeview.c (gtk_tree_view_class_init): disable interface
              param spec for now.
      
              * gtk/gtktexttag.c (gtk_text_tag_set_property): use g_value_get_boxed()
              where appliable.
      
              * gtk/gtktypeutils.[hc]: updates to GLib API changes.
              special cased autogenerated boxed types from gtktypebuiltins_ids.c
              which are not reference counted:
              GtkSelectionData, GdkEvent, GdkColor, GtkTextIter, PangoTabArray,
              PangoFontDescription, GtkTreeIter and GtkTreePath.
      
      Thu Mar  1 03:58:56 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/gtktreeselection.h:
              * gtk/gtktreemodel.c:
              * gtk/gtktreedatalist.[hc]: fixed includes. no gobject/*
              file should be included directly, and gobject/gmarshal.h
              as well as gtk/gtkmarshal.h even can't be included directly.
      
              * Makefile.am: grr, install gtk-config-2.0.
      
              * gtk/testgtk.c:
              * gtk/simple.c:
              * gtk/gtkmenu.c:
              * gtk/gtkitemfactory.c: use g_object_connect() instead of
              passing "*signal*::*" args to gtk_widget_set().
      
              * gtk/gtktypeutils.[hc]: got rid of GTK_TYPE_SIGNAL.
      
              * gtk/*.c: removed trailer arg from property setters and getters.
              macro fixups.
      
      Thu Mar  1 04:01:57 2001  Tim Janik  <timj@gtk.org>
      
              * test-gdk-pixbuf.c: fixed includes.
      35af5c4e
  38. 08 Feb, 2001 1 commit
    • Havoc Pennington's avatar
      remove validation idle · 4a3c8a36
      Havoc Pennington authored
      2001-02-08  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_destroy_layout): remove
      	validation idle
      
      	* demos/gtk-demo/main.c (create_tree): adjust to changes in text
      	cell renderer
      
      	* demos/pixbuf-demo.c (timeout): remove deprecated
      	gtk_widget_draw
      
      	* demos/testpixbuf-save.c (main): remove deprecated
      	gtk_drawing_area_size
      
      	* gtk/gtktreeview.c (gtk_tree_view_size_allocate): allocate
      	buttons even if the model isn't setup. gtk_tree_view_check_dirty()
      	at the start of the allocation.
      	(gtk_tree_view_check_dirty): handle column->button == NULL, handle
      	unsetup or NULL model.
      
      	* gtk/gtkstyle.c (gtk_default_draw_flat_box): drawing for the
      	even/odd/sorted cells in the tree view.
      
      	* gtk/gtktreeselection.c (gtk_tree_selection_real_unselect_all):
      	bugfixes
      
      	* gtk/gtktreeview.c: assorted bugfixy stuff. Draw the row
      	backgrounds with draw_flat_box using different detail for even/odd
      	rows.
      
      	* gtk/gtkrbtree.c, gtkrbtree.h: Keep track of the parity of each
      	row, so we can draw the alternating colors thing
      
      	* gtk/gtktexttag.c (gtk_text_tag_set_property): if we change a
      	property from a synonym property, notify for the synonym.
      	Also, nuke the background_gdk_set and foreground_gdk_set synonyms
      	(gtk_text_tag_get_property): Always return the font, even if
      	all its fields aren't set
      
      	* gtk/gtkcellrenderertext.h (struct _GtkCellRendererText): don't
      	store the attr list; it leaves us with no way to change attributes
      	in _render according to the render flags, and no way to implement
      	get_property. Instead store all the specific text attributes.
      	Separate whether an attribute is enabled from its value. Sync all
      	properties with GtkTextTag, make them all consistent, etc.
      
      	* gtk/gtkcellrenderer.h: Add a flag GTK_CELL_RENDERER_SORTED so
      	renderers can highlight the sort row/column
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_get_property): use
      	accessor functions to get values; this has the side effect of
      	showing up which accessor functions were missing. Added those.
      
      	* gtk/gtktreeviewcolumn.h: Replace set_justification with
      	set_alignment, to be consistent with GtkLabel, GtkMisc
      
      	* gtk/gtktreeviewcolumn.c: Added code to display sort indicator
      	arrow.
      
      	* gtk/Makefile.am (gtk_public_h_sources): add gtktreesortable.h
      
      	* gtk/gtktreesortable.h: updates in here
      4a3c8a36
  39. 03 Feb, 2001 1 commit