1. 17 Dec, 1999 1 commit
  2. 11 Dec, 1999 1 commit
    • Jonathan Blandford's avatar
      thinking about the new loading API. · d7231837
      Jonathan Blandford authored
      1999-12-10  Jonathan Blandford  <jrb@redhat.com>
      
      	* gdk-pixbuf/gdk-pixbuf-io.h: thinking about the new loading API.
      
      	* gdk-pixbuf/gdk-pixbuf-drawable.c (gdk_pixbuf_get_from_drawable):
      	make a warning go away.
      d7231837
  3. 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
  4. 09 Dec, 1999 1 commit
  5. 08 Dec, 1999 1 commit
    • Federico Mena Quintero's avatar
      Fix includes. (gdk_pixbuf_get_from_drawable): Implemented the zillion · c6f25c2d
      Federico Mena Quintero authored
      1999-12-08  Federico Mena Quintero  <federico@redhat.com>
      
      	* gdk-pixbuf/gdk-pixbuf-drawable.c: Fix includes.
      	(gdk_pixbuf_get_from_drawable): Implemented the zillion sanity
      	checks and API definition.  The body needs filling in and it needs
      	to do the Right Thing(tm) for pixmaps plus the given colormap and
      	windows and their own colormaps.
      
      	* gdk-pixbuf/gdk-pixbuf.h: Added prototype for
      	gdk_pixbuf_get_from_drawable().  Killed gdk-pixbuf-drawable.h.
      
      	* gdk-pixbuf/Makefile.am: Re-added the gdk-pixbuf-drawable sources.
      
      	* doc/tmpl/from-drawables.sgml: Populated.
      
      	* doc/gdk-pixbuf.sgml: Added the from-drawables section.
      
      	* doc/Makefile.am (tmpl_sources): Added tmpl/from-drawables.sgml.
      
      	* doc/gdk-pixbuf-sections.txt: Added a section for getting pixbufs
      	from drawables.
      c6f25c2d
  6. 02 Dec, 1999 2 commits
    • Federico Mena Quintero's avatar
      Removed unused transformation prototypes. · 21f0dff4
      Federico Mena Quintero authored
      1999-12-02  Federico Mena Quintero  <federico@redhat.com>
      
      	* src/gdk-pixbuf.h: Removed unused transformation prototypes.
      21f0dff4
    • Federico Mena Quintero's avatar
      New file with utility and convenience functions for pixbufs. · e0265705
      Federico Mena Quintero authored
      1999-12-02  Federico Mena Quintero  <federico@redhat.com>
      
      	* src/gdk-pixbuf-util.c: New file with utility and convenience
      	functions for pixbufs.
      
      	* src/Makefile.am (libgdk_pixbuf_la_SOURCES): Added gdk-pixbuf-util.c.
      
      	* doc/gdk-pixbuf-sections.txt: Added section for utility functions.
      
      	* doc/Makefile.am (tmpl_sources): Added tmpl/util.sgml.
      
      	* doc/gdk-pixbuf.sgml: Added the utilities section.
      
      	* doc/tmpl/util.sgml: Documentation for the utility functions.
      e0265705
  7. 23 Nov, 1999 1 commit
  8. 28 Oct, 1999 2 commits
  9. 27 Oct, 1999 2 commits
    • Federico Mena Quintero's avatar
      New function to threshold a pixbuf's alpha channel into a bitmap. · 0eb09633
      Federico Mena Quintero authored
      1999-10-27  Federico Mena Quintero  <federico@redhat.com>
      
      	* src/gdk-pixbuf-render.c (gdk_pixbuf_render_threshold_alpha): New
      	function to threshold a pixbuf's alpha channel into a bitmap.
      
      	* src/gdk-pixbuf.c (gdk_pixbuf_new): Fixed so that it will
      	contemplate future extensions to ArtPixBuf's formats.
      
      	* src/io-png.c (png_info_callback): Use the new API of gdk_pixbuf_new().
      
      	* src/gdk-pixbuf.h (gdk_pixbuf_get_height): Added some convenience
      	macros to fetch the ArtPixBuf's fields.
      0eb09633
    • Havoc Pennington's avatar
      New function to create a blank pixbuf. · 1a0a5d03
      Havoc Pennington authored
      1999-10-27  Havoc Pennington  <hp@pobox.com>
      
      * src/gdk-pixbuf.c (gdk_pixbuf_new): New function to create a
      blank pixbuf.
      
      * src/gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): Check all
      three progressive load funcs are non-NULL, rather than checking
      begin_load three times. Also, check whether begin_load returns
      NULL on failure.
      1a0a5d03
  10. 26 Oct, 1999 1 commit
  11. 22 Oct, 1999 1 commit
  12. 20 Oct, 1999 1 commit
    • Federico Mena Quintero's avatar
      Removed the unref_fn field. Now all memory management of the buffer is · 7ef5dec3
      Federico Mena Quintero authored
      1999-10-20  Federico Mena Quintero  <federico@redhat.com>
      
      	* src/gdk-pixbuf.h (GdkPixbuf): Removed the unref_fn field.  Now
      	all memory management of the buffer is done by libart.
      
      	* src/gdk-pixbuf.c (gdk_pixbuf_unref): Do destruction here.
      	Removed gdk_pixbuf_destroy, gdk_pixbuf_duplicate.
      
      	* src/gdk-pixbuf-data.c (gdk_pixbuf_new_from_data): Implemented in
      	terms of the libart functions.  Removed the old code.
      
      	* src/gdk-pixbuf-io.c (image_handler_load): Removed the save
      	symbols.  Saving will not be implemented in GdkPixbuf.
      
      	* src/io-gif.c: Removed the saving stub.
      	(image_load): Fixed memory management to fail gracefully if we run
      	out of memory while loading the image.  Close the gif file when we
      	are done.  This still needs more error handling for the DGif
      	functions.
      
      	* src/io-jpeg.c (image_load): Some robustness fixes.
      
      	* src/io-png.c: Removed the saving stuff.
      	(image_load): Some memory management fixes.
      
      	* src/io-tiff.c (image_load): Ditto.
      
      	* src/io-xpm.c (pixbuf_create_from_xpm): Ditto.
      7ef5dec3
  13. 18 Oct, 1999 1 commit
  14. 08 Oct, 1999 1 commit
  15. 22 Sep, 1999 1 commit
  16. 24 Jul, 1999 1 commit
  17. 19 Jul, 1999 1 commit
    • Mark Crichton's avatar
      Ok minor changes. · 6423183a
      Mark Crichton authored
      
      
      Ok minor changes.
      
      No longer make a version.h, and cleaned up some code here and there, and added
      a quickie dirty-hack rotation function.  However, it rotates at the origin.
      Is this what we want?  Or do we want a rotate w.r.t. the center of the pixbuf?
      
      Anyone.
      
      Mark
      6423183a
  18. 16 Jul, 1999 1 commit
  19. 05 Jan, 1999 1 commit
  20. 04 Jan, 1999 1 commit