1. 09 Mar, 2005 2 commits
  2. 25 Jan, 2005 1 commit
  3. 13 Dec, 2004 1 commit
  4. 12 Dec, 2004 1 commit
    • Tor Lillqvist's avatar
      gtk/gtkaccelmap.[ch] gtk/gtkfilechooser.[ch] gtk/gtkfilesel.c · f3da1705
      Tor Lillqvist authored
      2004-12-12  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk/gtkaccelmap.[ch]
      	* gtk/gtkfilechooser.[ch]
      	* gtk/gtkfilesel.c
      	* gtk/gtkfilesystemwin32.c
      	* gtk/gtkiconfactory.[ch]
      	* gtk/gtkicontheme.[ch]
      	* gtk/gtkimage.[ch]
      	* gtk/gtkimmodule.c
      	* gtk/gtkmodules.c
      	* gtk/gtkrc.[ch]
      	* gtk/gtkuimanager.[ch]
      	* gtk/gtkwindow.[ch]
      	* gtk/updateiconcache.c
      	* gtk/gtk.symbols: Use gstdio wrappers. On Windows, convert
      	environment variables referring to pathnames from locale encoding
      	to UTF-8. As in GLib, in order to preserve Windows DLL ABI
      	stability, add binary compatibility versions of functions that
      	take file names as arguments, or return file names. Add a _utf8
      	suffix to the "real" such functions on Windows. The ABI
      	compatibility versions keep the old name.
      
      	* gtk/Makefile.am: Strip PRIVATE symbols from the GNU import
      	library.
      
      	* gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path): Implement
      	file mapping on Win32.
      
      	* gtk/updateiconcache.c: Don't crash if invoked without
      	argument. Use binary mode when opening file.
      
      	* modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am: Install
      	gtkrc in correct place, in <datadir>/themes/MS-Windows/gtk-2.0.
      f3da1705
  5. 26 Oct, 2004 1 commit
    • Matthias Clasen's avatar
      Make the icon_name parameter G_CONST_RETURN. · 5e667e11
      Matthias Clasen authored
      2004-10-26  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkimage.h:
      	* gtk/gtkimage.c (gtk_image_get_icon_name): Make the icon_name parameter
      	G_CONST_RETURN.
      
      	* gtk/gtkimage.c: It is enough to listen for screen changes and style-set
      	to catch all icon theme changes.
      	(gtk_image_set_property): Reset the image size if the pixel size property
      	is changed.
      5e667e11
  6. 25 Oct, 2004 1 commit
    • Matthias Clasen's avatar
      Add a new type GTK_IMAGE_ICON_NAME for named icons, update the size and · b63431c8
      Matthias Clasen authored
      2004-10-25  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkimage.h:
      	* gtk/gtkimage.c (gtk_image_new_from_icon_name)
      	(gtk_image_set_from_icon_name, gtk_image_get_icon_name)
      	(gtk_image_set_pixel_size, gtk_image_get_pixel_size):  Add a
      	new type GTK_IMAGE_ICON_NAME for named icons, update the size
      	and content of stock, icon set and named icon images upon style
      	changes, and allow to set a fixed pixel size for named icon
      	images.  (#155688, James Henstridge)
      
      	* tests/testimage.c: Test application for theming behaviour of
      	different image types and for image dnd.
      b63431c8
  7. 01 Sep, 2004 1 commit
  8. 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
  9. 08 Jul, 2004 1 commit
    • Matthias Clasen's avatar
      Make sure that subpixbufs are properly aligned for · f141bf2b
      Matthias Clasen authored
      Wed Jul  7 23:44:32 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkimage.c (gtk_image_expose): Make sure that subpixbufs
      	are properly aligned for gdk_pixbuf_saturate_and_pixelate(),
      	in order to avoid rendering artifacts from misaligned
      	pixelation patterns.  (#145585, Felipe Heidrich, Billy Biggs)
      f141bf2b
  10. 03 Jul, 2004 1 commit
  11. 31 May, 2004 1 commit
  12. 06 Mar, 2004 1 commit
  13. 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
  14. 07 Nov, 2002 1 commit
    • Owen Taylor's avatar
      Don't try to use render if we can't get a picture for the drawable. (Fixes · d2caca5e
      Owen Taylor authored
      Thu Nov  7 17:18:06 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkdrawable-x11.c (gdk_x11_draw_pixbuf):
              Don't try to use render if we can't get a picture for
              the drawable. (Fixes #97220, reported by
              Jamie Zawinski)
      
              * gtk/gtkimage.c: Force requisition calculation
              when we get a expose prior to size_request().
              (#91711, reported by Sven Neumann, debugging
              help from Matthias Clasen, Soeren Sandmann)
      d2caca5e
  15. 05 Oct, 2002 1 commit
    • Manish Singh's avatar
      deprecation cleanup · 8b6a832f
      Manish Singh authored
      Sat Oct  5 16:11:22 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkmisc.[ch] gtk/gtklabel.[ch] gtk/gtkimage.[ch]
              gtk/gtkdrawingarea.[ch] gtk/gtknotebook.[ch]: deprecation cleanup
      8b6a832f
  16. 02 Oct, 2002 1 commit
    • Owen Taylor's avatar
      Export _gdk_draw_pixbuf as gdk_draw_pixbuf(), rename the _draw_pixbuf · 6cb79658
      Owen Taylor authored
      Wed Oct  2 17:46:53 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdrawable.h gdk/gdkinternals.h gdk/gdkdraw.c
              gdk/gdkwindow.c gdk/gdkdrawable.c: Export _gdk_draw_pixbuf
              as gdk_draw_pixbuf(), rename the _draw_pixbuf virtual
              function to draw_pixbuf. (#60582)
      
              * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable[_alpha]):
              Note that these functions are obsolete in the docs.
      
              * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable):
              Remove all the sanity checks now we make it clear
              that it is obsolete name for gdk_draw_pixbuf().
      
              * gdk/gdkpixmap.c gtk/gtkcellrendererpixbuf.c gtk/gtkimage.c
                gtk/gtkpixmap.c demos/testpixbuf-scale.c demos/testpixbuf.c
                tests/testrgb.c: Use gdk_draw_pixbuf() everywhere.
      
              * gtk/gtklabel.c (gtk_label_set_mnemonic_widget): Fix
              some warnings.
      
              * gdk/gdkinternals.h (struct _GdkEventPrivate): Fix missed
              bit from last gdk_event_get_screen() change.
      
              * gdk/gdkevents.c: Couple of small fixes.i
      6cb79658
  17. 27 Sep, 2002 1 commit
    • Owen Taylor's avatar
      Reset the animation iter on unrealize as well as unmap. (#94336) · 4816a141
      Owen Taylor authored
      Fri Sep 27 15:27:45 2002  Owen Taylor  <otaylor@redhat.com>
              * gtk/gtkimage.c (gtk_image_unrealize): Reset the
              animation iter on unrealize as well as unmap.
              (#94336)
      
              * gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Don't
              turn a value of "" into NULL. (#94157, Vitaly Tishkov)
      4816a141
  18. 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
  19. 12 Mar, 2002 1 commit
    • Richard Hestilow's avatar
      Allow NULL filenames. · a498ae5a
      Richard Hestilow authored
      Sat Mar  9 18:23:25 2002  Richard Hestilow  <hestilow@ximian.com>
      
      	* gtk/gtkimage.c (gtk_image_set_from_filename): Allow NULL
      	filenames.
      a498ae5a
  20. 05 Feb, 2002 1 commit
  21. 01 Feb, 2002 1 commit
  22. 31 Jan, 2002 1 commit
    • Mark McLoughlin's avatar
      make static. · 60dd9e54
      Mark McLoughlin authored
      2002-01-31  Mark McLoughlin  <mark@skynet.ie>
      
              * gdk/gdkimage.c: (scratch_image_info_for_depth): make static.
      
              * gdk/x11/gdkimage-x11.c: (get_full_image): ditto.
      
              * gdk/x11/gxid_lib.[ch]: (_gxid_claim_device), (_gxid_release_device):
              renamed from gxid_(claim|release)_device.
      
              * gdk/x11/gdkinput-gxi.c: (_gdk_input_enable_window),
              (_gdk_input_disable_window): upd for gxid change.
      
              * gtk/gtkimage.c: (animation_timeout): make static.
      
              * gtk/gtkstyle.c: (draw_thin_shadow), (draw_spin_entry_shadow): make
              static.
      
              * gtk/gtktextutil.c: (bidi_menu_entries): make static.
      60dd9e54
  23. 30 Jan, 2002 1 commit
    • Owen Taylor's avatar
      Document that a size of (GtkIconSize)-1 means don't scale. · 6488296f
      Owen Taylor authored
      Tue Jan 29 19:04:41 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkstyle.c (gtk_style_render_icon): Document that
              a size of (GtkIconSize)-1 means don't scale.
      
              * gtk/gtkstyle.c (gtk_default_render_icon): Obey the
              -1 convention.
      
              * gtk/gtkimage.c (gtk_image_expose): Pass in -1 to
              gtk_style_render_icon() to make sure that we catch it
              obviously if the style's render function tries to
              scale.
      6488296f
  24. 29 Jan, 2002 1 commit
    • Havoc Pennington's avatar
      Optimize exposes of partial insensitive images. · 708b3f40
      Havoc Pennington authored
      Tue Jan 29 18:50:59 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkimage.c (gtk_image_expose): Optimize exposes of
              partial insensitive images.
      
      2002-01-24  Havoc Pennington  <hp@redhat.com>
      
              * gtk/gtkimage.c (gtk_image_expose): create insensitive version of
              the image regardless of storage type, #63305
      
              * demos/gtk-demo/images.c: add toggle button to demonstrate that
              GtkImage makes its contents insensitive
      708b3f40
  25. 10 Jan, 2002 1 commit
  26. 27 Dec, 2001 1 commit
    • Owen Taylor's avatar
      Make interpretation of misc->xpad/ypad consistent with GtkLabel. Do · 6d51fcd9
      Owen Taylor authored
      Thu Dec 27 16:05:30 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkarrow.c gtk/gtkimage.c gtkpixmap.c: Make interpretation
              of misc->xpad/ypad consistent with GtkLabel. Do
              directional flipping when interpreting misc->xalign/yalign.
              Fix off-by-one error for negative x,y. (#67472, reported
              by Mathieu Lacage)
      6d51fcd9
  27. 08 Sep, 2001 1 commit
    • Havoc Pennington's avatar
      put GtkPacker back in here so it won't be in gtk-unused.txt, but don't put · 372853b1
      Havoc Pennington authored
      2001-09-08  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtk-sections.txt: put GtkPacker back in here so it won't be
      	in gtk-unused.txt, but don't put it back in gtk-docs.sgml.
      
      	Tons of other additions from gtk-unused.txt, but mostly skipping
      	all the tree stuff for now.
      
      2001-09-08  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_add_attribute):
      	docs fixes
      
      	* gtk/gtktable.c (gtk_table_get_col_spacing): docs fixes
      
      	* gtk/gtkspinbutton.c (gtk_spin_button_get_increments): docs fixes
      
      	* gtk/gtksocket.c (gtk_socket_steal): docs fixes
      
      	* gtk/gtkscrolledwindow.h: docs fixes
      
      	* gtk/gtkimage.c (gtk_image_new): docs fixes
      372853b1
  28. 29 Aug, 2001 1 commit
    • Havoc Pennington's avatar
      add default icon · 9df00746
      Havoc Pennington authored
      2001-08-28  Havoc Pennington  <hp@pobox.com>
      
      	* demos/gtk-demo/main.c (setup_default_icon): add default icon
      
      	* gtk/gtkradiobutton.c (gtk_radio_button_new_with_mnemonic):
      	warning fix
      	(gtk_radio_button_new_with_label): warning fix
      
      	* gtk/gtkdnd.c: used some random GtkImage private structs,
      	update to reflect GtkImage changes
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_icon_list): don't check
      	whether the hint is supported, just always set the icon. A task
      	list might want to use it even if the WM doesn't, and the WM may
      	change over time. Also, XDeleteProperty() if list == NULL.
      
      	* gtk/gtkwindow.c (gtk_window_set_icon_list)
      	(gtk_window_get_icon_list)
      	(gtk_window_set_icon)
      	(gtk_window_get_icon)
      	(gtk_window_set_default_icon_list)
      	(gtk_window_get_default_icon_list):
      	new functions
      
      	* gtk/gtk-boxed.defs (GtkIconSet): add GtkIconSet
      
      	* gtk/gtkimage.c: Implement property support, bug #59408
      
      	* gtk/gtkcontainer.c (gtk_container_add): make the warning message
      	on reparent-without-removing-first a bit more helpful.
      	Let's just destroy this FAQ.
      9df00746
  29. 25 Aug, 2001 1 commit
    • Owen Taylor's avatar
      Break compatibility and make gtk_image_new() take no arguments. The · 8de6598f
      Owen Taylor authored
      Fri Aug 24 23:09:05 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkimage.[ch] docs/Changes-2.0.txt: Break compatibility
      	and make gtk_image_new() take no arguments. The compiler will
      	catch it, and it is vastly more useful than having
      	gtk_image_new() be a deprecated alias for gtk_image_new_from_image().
      
      	* gtk/gtkmenu.c (gtk_menu_set_property): Apply patch
      	to add tearoff-title property (#51319, Lee Mallabone)
      8de6598f
  30. 18 Jul, 2001 3 commits
    • Owen Taylor's avatar
      Patch from Matthias Clasen to remove remove all instances of · 4e2b60ac
      Owen Taylor authored
      Wed Jul 18 19:28:46 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/*.c: Patch from Matthias Clasen to remove remove
      	all instances of g_return_if_fail (foo != NULL); that are
      	immediately before a g_return_if_fail (GTK_IS_FOO (foo));
      	since the second check catches the NULL anyways.
      4e2b60ac
    • Owen Taylor's avatar
      Fix idles and timeouts to be properly surrounded by · b613a74c
      Owen Taylor authored
      Wed Jul 18 18:23:05 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkbutton.c gtk/gtkentry.c gtk/gtkmenu.c gtk/gtktextview.c
      	gtktreeview.c: Fix idles and timeouts to be properly surrounded by
      	GDK_THREADS_ENTER()/LEAVE() pairs.
      
      	* gtk/gtkdialog.c gtk/gtkclipboard.c: Surround calls
      	to g_main_loop_run() with GDK_THREADS_LEAVE()/ENTER()
      	pairs. (Problem found by M. Meeks)
      b613a74c
    • 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
  31. 11 May, 2001 1 commit
    • Havoc Pennington's avatar
      docs, fixes bug #54144 · cc6b34c1
      Havoc Pennington authored
      2001-05-11  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtkimage.c (gtk_image_new_from_stock): docs, fixes bug
      	#54144
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_new): docs, fixes
      	bug #54330
      
      2001-05-11  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/tmpl/gtkvruler.sgml,
      	gtk/tmpl/gtkhruler.sgml: fix bug #54431
      
      	* gtk/tmpl/gtkdrawingarea.sgml: fix bug #54331
      
      	* gtk/tmpl/gtkenums.sgml: fix bug #54329, and
      	update some other random things
      
      	* gtk/gtk-sections.txt: updates
      
      	* gtk/tmpl/gtkmenuitem.sgml: fix bug #54277
      
      	* gtk/tmpl/gtkradiomenuitem.sgml: fix bug #54323,
      	#54324, #54325
      cc6b34c1
  32. 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
  33. 18 Apr, 2001 2 commits
    • Havoc Pennington's avatar
      allow shrinking the image window to test that we clip to allocation. · c01a1c73
      Havoc Pennington authored
      2001-04-18  Havoc Pennington  <hp@redhat.com>
      
      	* tests/testgtk.c (create_image): allow shrinking the image window
      	to test that we clip to allocation.
      
      	* gtk/gtkimage.c (gtk_image_expose): clip to allocation,
      	#9845
      
      	* gtk/gtkenums.h: move GtkWrapMode in here, #50472
      c01a1c73
    • Havoc Pennington's avatar
      fix to properly queue resizes when the image is set · 60b6a010
      Havoc Pennington authored
      2001-04-18  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkimage.c: fix to properly queue resizes when the image is
      	set
      
      	* gtk/gtktextview.c (gtk_text_view_do_popup): desensitize Paste
      	if the insertion point isn't editable
      
      	* demos/gtk-demo/images.c: Added a GtkImage demo
      
      	* demos/gtk-demo/drawingarea.c: drawing area demo
      
      	* demos/gtk-demo/menus.c (create_menu): cleanups
      
      2001-04-18  Havoc Pennington  <hp@redhat.com>
      
      	* gdk-pixbuf.c (gdk_pixbuf_fill): Function to fill pixbuf with a
      	given color.
      60b6a010
  34. 12 Mar, 2001 1 commit
  35. 07 Mar, 2001 1 commit
    • Havoc Pennington's avatar
      new function, turns off decorations for a window. · 9d1e2a13
      Havoc Pennington authored
      2001-03-07  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkwindow.c (gtk_window_set_decorated): new function, turns
      	off decorations for a window.
      
      	* demos/gtk-demo/button_box.c (create_bbox): adapt to button box
      	changes
      
      	* gtk/gtklabel.c (gtk_label_get_layout_offsets): new function
      	to get location of PangoLayout inside the label, closes #51198
      
      	* gtk/testgtk.c (create_bbox): fix up button box usage
      
      	* gtk/testcalendar.c (create_calendar): fix up button box usage
      
      	* gtk/gtkfilesel.c (gtk_file_selection_init): fixup buttonbox usage
      
      	* gtk/gtkdialog.c (gtk_dialog_init): fixup buttonbox usage
      
      	* gtk/gtkhbbox.h: deprecations
      
      	* gtk/gtkvbbox.h: deprecations
      
      	* gtk/gtkbox.c (gtk_box_get_spacing): new function, used to
      	emulate deprecated gtk_button_box_get_spacing
      
      	* gtk/gtkbbox.h: deprecate some useless functions, remove entirely
      	the "set global default" functions
      	(struct _GtkButtonBox): remove "spacing" field, use the one from
      	GtkBox base class
      
      	* gtk/gtkbbox.c (_gtk_button_box_child_requisition): rename with uscore
      
      	* gtk/gtkiconfactory.c (gtk_icon_set_render_icon): If we fail to
      	render the icon, return the missing image icon.
      
      	* gtk/gtkimage.c (gtk_image_set_from_file): fall back to missing
      	image icon if the load fails.
      
      	* gtk/gtkstock.h (GTK_STOCK_MISSING_IMAGE): Add stock icon for use
      	when no image is found; should be the Netscape "missing image"
      	icon eventually but for now is a random image
      
      	* gtk/gtkwindow.c (gtk_window_set_role): new function, sets the
      	role for the session manager
      
      	* gtk/testgtk.c (dnd_drop): remove use of GTK_WINDOW_DIALOG
      
      	* gtk/gtkcompat.h (GTK_WINDOW_DIALOG): compat #define
      	GTK_WINDOW_DIALOG GTK_WINDOW_TOPLEVEL
      
      	* gtk/gtkenums.h (enum GtkWindowType): remove GTK_WINDOW_DIALOG
      9d1e2a13
  36. 20 Feb, 2001 1 commit