1. 30 Aug, 2000 1 commit
  2. 28 Jul, 2000 1 commit
    • Elliot Lee's avatar
      Add gdk_pixbuf_loader_new_with_type function, to allow handling image · 3ddaa735
      Elliot Lee authored
      
      
      2000-07-27  Elliot Lee  <sopwith@redhat.com>
      
      	* gtk/gdk-pixbuf-loader.[ch]: Add gdk_pixbuf_loader_new_with_type
      	function, to allow handling image formats that cannot be detected
      	by looking at content alone.
      
      gdk-pixbuf/
      2000-07-27  Elliot Lee  <sopwith@redhat.com>
      	* gdk-pixbuf-io.h, gdk-pixbuf-io.c: Add gdk_pixbuf_get_named_module() function to facilitate above change
      	* io-bmp.c: Don't malloc a temporary buffer - use stack instead.
      	* io-wbmp.c, pixbufloader_wbmp.defs, gdk-pixbuf-io.c, Makefile: Implement loader for WBMP format.
      
      **NOTE: I haven't tested this yet, I need to sync it to another machine, but it if it is broken
      I'm already working on fixing it
      3ddaa735
  3. 26 Jul, 2000 1 commit
  4. 24 Jun, 2000 1 commit
    • Tim Janik's avatar
      make the current version number 1.3.1 (binary age 0, interface age 0). · 100c9594
      Tim Janik authored
      Fri Jun 23 17:54:23 2000  Tim Janik  <timj@gtk.org>
      
              * configure.in: make the current version number 1.3.1 (binary age 0,
              interface age 0).
      
              * gtkfeatures.h, gtkfeatures.h.in: dejavue, get rid of these *again*,
              gtkcompat.h is all we want.
      
              * gtk/gtktypeutils.[hc]: define most of the primitive types in terms of
              GLib primitive types. fixed g_type_register_fundamental() argument
              ordering.
      
              * gtk-config.in (lib_gtk): add -lgdk_pixbuf so third party code
              compiles.
      
              * gdk-pixbuf-loader.[hc]: get rid of unistd.h include.
              object code cleanup, comment trigraph fixes, etc...
      100c9594
  5. 07 Jan, 2000 1 commit
    • Jonathan Blandford's avatar
      Added progressive animation loading. Added progressive animation loading. · 84c85a1a
      Jonathan Blandford authored
      2000-01-07  Jonathan Blandford  <jrb@redhat.com>
      
      	* gdk-pixbuf/gdk-pixbuf-io.c: Added progressive animation loading.
      	* gdk-pixbuf/gdk-pixbuf-io.h: Added progressive animation loading.
      	* gdk-pixbuf/gdk-pixbuf-loader.c: Added progressive animation
      	loading.
      	* gdk-pixbuf/gdk-pixbuf-loader.h: Added progressive animation
      	loading.
      	* gdk-pixbuf/io-gif.c (image_load_increment): I think the
      	ref-counting mess is finally fixed.  Added progressive animation
      	loading.
      
      I think progressive animation loading all works now.  It's all
      documented too, if anyone wants to play with it.
      84c85a1a
  6. 02 Jan, 2000 1 commit
    • Federico Mena Quintero's avatar
      Added reference counting to animations. A web browser may want to share a · 6e3522ab
      Federico Mena Quintero authored
      2000-01-01  Federico Mena Quintero  <federico@helixcode.com>
      
      	* gdk-pixbuf/gdk-pixbuf.h (GdkPixbufAnimation): Added reference
      	counting to animations.  A web browser may want to share a single
      	copy of an animated GIF if it appears multiple times in a web
      	page, for example.
      
      	* gdk-pixbuf/gdk-pixbuf-animation.c: New file.  Moved the
      	animation functions here.
      	(gdk_pixbuf_animation_new_from_file): Prettified.  Return a NULL
      	animation if the loader does not support multiframe loading and
      	the single-frame load returned NULL.  Check that the filename is
      	not NULL.  Updated inline documentation.
      	(gdk_pixbuf_animation_ref): New function.
      	(gdk_pixbuf_animation_unref): New function.
      	Removed gdk_pixbuf_animation_destroy() in favor of reference
      	counting.
      
      	* gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_file):
      	Prettified.  Made ref_count assertion more paranoid.  Check that
      	the filename is not NULL.
      	(gdk_pixbuf_get_module): Use guchar * and guint for buffer and
      	size, respectively.
      	(gdk_pixbuf_new_from_xpm_data): Changed the "data" argument to
      	const char **.
      
      	* gdk-pixbuf/io-gif.c (image_load_animation): Create the animation
      	with a reference count of 1.
      
      	* gdk-pixbuf/Makefile.am (libgdk_pixbuf_la_SOURCES): Added
      	gdk-pixbuf-animation.c.
      
      	* doc/tmpl/animation.sgml: Populated.  It is still missing a
      	description of the overlay modes.
      
      	* doc/gdk-pixbuf-sections.txt: Added the animation section.  Moved
      	the canvas item section to the end, as it will be moved later to
      	gnome-libs.
      
      	* doc/gdk-pixbuf.sgml: Added the animation section.
      
      	* doc/Makefile.am (tmpl_sources): Added tmpl/animation.sgml.
      6e3522ab
  7. 10 Dec, 1999 1 commit
    • Jonathan Blandford's avatar
      make a warning go away. · 0b0ebee9
      Jonathan Blandford authored
      1999-12-10  Jonathan Blandford  <jrb@redhat.com>
      
      	* gdk-pixbuf/gdk-pixbuf-drawable.c (gdk_pixbuf_get_from_drawable):
      	make a warning go away.
      
      	* gdk-pixbuf/gdk-pixbuf.h: added new prototypes for animations.
      
      	* gdk-pixbuf/gdk-pixbuf-loader.h: added new prototypes for
      	animations.
      0b0ebee9
  8. 02 Dec, 1999 1 commit
    • Federico Mena Quintero's avatar
      #include <config.h>, and fix includes. · 25a81424
      Federico Mena Quintero authored
      1999-12-02  Federico Mena Quintero  <federico@redhat.com>
      
      	* src/testpixbuf.c: #include <config.h>, and fix includes.
      
      	* src/testpixbuf-drawable.c: #include <config.h>, and fix includes.
      
      	* src/io-xpm.c: Fix includes.
      
      	* src/io-tiff.c: Fix includes.
      
      	* src/io-ras.c: Fix includes, and do not include more stuff than needed.
      
      	* src/io-pnm.c: Fix inlcudes, and do not include more stuff than needed.
      
      	* src/io-png.c: Fix includes.
      
      	* src/io-ico.c: Fix includes, and do not include more stuff than needed.
      
      	* src/io-gif.c: Fix includes, and do not include more stuff than needed.
      
      	* src/io-bmp.c: Fix includes, and do not include more stuff than needed.
      
      	* src/gnome-canvas-pixbuf.c: Fix includes.
      
      	* src/gdk-pixbuf.c: Fix includes.
      
      	* src/gdk-pixbuf-util.c: Fix includes.
      
      	* src/gdk-pixbuf-render.c: Fix includes.
      
      	* src/gdk-pixbuf-io.h: Fix includes.
      
      	* src/gdk-pixbuf-drawable.c: Fix includes.
      
      	* src/gdk-pixbuf-drawable.h: Use angle brackets for the gdk-pixbuf
      	include files.
      
      	* src/gdk-pixbuf-data.c: Fix includes.
      
      	* src/gdk-pixbuf-loader.c: #include <config.h>
      
      	* src/gdk-pixbuf-loader.h: Use angle brackets for the gdk-pixbuf
      	include files.
      
      	* src/Makefile.am: Commented out the gdk-pixbuf-drawable stuff,
      	since it is not finished.
      25a81424
  9. 22 Nov, 1999 1 commit
  10. 04 Nov, 1999 1 commit
    • Jonathan Blandford's avatar
      handle the actual update. add a update_func callback. add a update_func · d0ed72ee
      Jonathan Blandford authored
      1999-11-04  Jonathan Blandford  <jrb@redhat.com>
      
      	* src/gdk-pixbuf-loader.c (gdk_pixbuf_loader_update): handle the
      	actual update.
      	* src/io-png.c (image_begin_load): add a update_func callback.
      	* src/io-gif.c (image_begin_load): add a update_func callback.
      	* src/io-tiff.c (image_begin_load): add a update_func callback.
      d0ed72ee
  11. 02 Nov, 1999 1 commit
  12. 27 Oct, 1999 1 commit
    • Federico Mena Quintero's avatar
      Return a GdkPixbufLoader, not a GtkObject. · 23b0f15e
      Federico Mena Quintero authored
      1999-10-27  Federico Mena Quintero  <federico@redhat.com>
      
      	* src/gdk-pixbuf-loader.c (gdk_pixbuf_loader_new): Return a
      	GdkPixbufLoader, not a GtkObject.
      	(gtk_marshal_NONE__INT_INT_INT_INT): Made static.
      	(gdk_pixbuf_loader_get_type): Documented.
      	(gdk_pixbuf_loader_class_init): Initialize the parent class
      	correctly.
      	(gdk_pixbuf_loader_destroy): Added sanity checks. Call the parent
      	class destroy function.
      	(gdk_pixbuf_loader_new): Documented.
      	(gdk_pixbuf_loader_finalize): Call the parent class finalize
      	function.
      	(gdk_pixbuf_loader_write): Use size_t for count.
      23b0f15e
  13. 26 Oct, 1999 5 commits