1. 22 Oct, 1999 3 commits
    • Havoc Pennington's avatar
      Export gdk_pixbuf_new_from_xpm_data() · 5cf2775f
      Havoc Pennington authored
      1999-10-22  Havoc Pennington  <hp@pobox.com>
      
      * src/gdk-pixbuf.h: Export gdk_pixbuf_new_from_xpm_data()
      5cf2775f
    • Havoc Pennington's avatar
      Export this symbol for loading an XPM from memory. · 5f3ae6ad
      Havoc Pennington authored
      1999-10-22  Havoc Pennington  <hp@pobox.com>
      
      * src/io-xpm.c (image_load_xpm_data): Export this symbol for
      loading an XPM from memory.
      
      * src/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): New
      function, loads pixbuf from xpm data
      (image_handler_load): Add g_return_if_fail() to ensure the same
      module isn't loaded twice. Add g_module_symbol() to scan for XPM
      loader function.
      5f3ae6ad
    • Federico Mena Quintero's avatar
      Patch from Kristian Hogsberg Kristensen <hogsberg@daimi.au.dk> to avoid · 9de0d0c9
      Federico Mena Quintero authored
      1999-10-22  Federico Mena Quintero  <federico@redhat.com>
      
      	* src/io-png.c (image_load): Patch from Kristian Hogsberg
      	Kristensen <hogsberg@daimi.au.dk> to avoid allocating extra row
      	buffers; the rows can be read in directly into the main pixel
      	buffer.
      9de0d0c9
  2. 21 Oct, 1999 1 commit
    • Federico Mena Quintero's avatar
      Free path. · 04823f40
      Federico Mena Quintero authored
      1999-10-20  Federico Mena Quintero  <federico@redhat.com>
      
      	* src/gdk-pixbuf-io.c (image_handler_load): Free path.
      04823f40
  3. 20 Oct, 1999 2 commits
    • Federico Mena Quintero's avatar
      Bumped version number to 0.3. · d8ce1977
      Federico Mena Quintero authored
      1999-10-20  Federico Mena Quintero  <federico@redhat.com>
      
      	* configure.in: Bumped version number to 0.3.
      
      	* src/Makefile.am (lbgdk_pixbuf_la_LDFLAGS): Added a libtool
      	version number for the library.
      d8ce1977
    • 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
  4. 18 Oct, 1999 6 commits
  5. 10 Oct, 1999 1 commit
  6. 08 Oct, 1999 1 commit
  7. 07 Oct, 1999 3 commits
  8. 22 Sep, 1999 1 commit
  9. 17 Sep, 1999 2 commits
    • Federico Mena Quintero's avatar
      Set the initial ref_count to 1. · 66779b9b
      Federico Mena Quintero authored
      1999-09-17  Federico Mena Quintero  <federico@redhat.com>
      
      	* src/io-bmp.c (image_load): Set the initial ref_count to 1.
      
      	* src/io-gif.c (image_load): Likewise.
      
      	* src/io-jpeg.c (image_load): Likewise.
      
      	* src/io-png.c (image_load): Likewise.
      
      	* src/io-tiff.c (image_load): Likewise.
      
      	* src/io-xpm.c (_pixbuf_create_from_xpm): Likewise.
      
      	* src/gdk-pixbuf-io.c (gdk_pixbuf_load_image): Added an assertion
      	for the ref_count to be != 0.
      66779b9b
    • Federico Mena Quintero's avatar
      Be more paranoid with sanity checking. (gdk_pixbuf_unref): Fix incorrect · 6fce115b
      Federico Mena Quintero authored
      1999-09-17  Federico Mena Quintero  <federico@redhat.com>
      
      	* src/gdk-pixbuf.c (gdk_pixbuf_ref): Be more paranoid with sanity
      	checking.
      	(gdk_pixbuf_unref): Fix incorrect sanity check and comparison.
      6fce115b
  10. 09 Aug, 1999 1 commit
    • Federico Mena Quintero's avatar
      Fixed compiler warnings. Fixed write to unallocated memory (row_ptr), and · 49ca2615
      Federico Mena Quintero authored
      1999-08-09  Federico Mena Quintero  <federico@nuclecu.unam.mx>
      
      	* src/io-png.c (image_save): Fixed compiler warnings.  Fixed write
      	to unallocated memory (row_ptr), and fixed its type as well.  Take
      	into account the ArtPixbuf's rowstride when assigning the row
      	pointers.
      
      	* src/gdk-pixbuf.c: Fixup includes.
      
      	* src/gdk-pixbuf-io.c: Likewise.
      49ca2615
  11. 31 Jul, 1999 1 commit
  12. 29 Jul, 1999 1 commit
  13. 26 Jul, 1999 1 commit
  14. 24 Jul, 1999 1 commit
  15. 20 Jul, 1999 2 commits
  16. 19 Jul, 1999 2 commits
    • Larry Ewing's avatar
      Fix a few memory leaks in the, most of them in error cases but one or two · e0fe9318
      Larry Ewing authored
      1999-07-18  Larry Ewing  <lewing@gimp.org>
      
      	* src/io-xpm.c:
      	* src/io-gif.c:
      	* src/io-png.c:
      	* src/io-jpeg.c: Fix a few memory leaks in the, most of them in
      	error cases but one or two in the common case.  There are probably
      	a few small ones left.
      e0fe9318
    • 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
  17. 17 Jul, 1999 1 commit
    • Larry Ewing's avatar
      reverted the expose everything changes, I'm not sure why these went in. · e9ed2c18
      Larry Ewing authored
      1999-07-16  Larry Ewing  <lewing@gimp.org>
      
      	* src/testpixbuf.c (expose_func): reverted the expose everything
      	changes, I'm not sure why these went in.
      	(config_func): bring this up to date with the new pixbuf_scale
      	semantics.
      
      	* src/gdk-pixbuf-io.c: added a couple of warnings to the module
      	loading code so that poeple can diagnose problems better.
      
      	* src/gdk-pixbuf.c (gdk_pixbux_scale): fix the borkedness, also it
      	no longer allocates a new pixbuf, which make things nicer for the
      	rest of the code.  Unfortunately there is still a problem with
      	scaling rgba images.
      e9ed2c18
  18. 16 Jul, 1999 1 commit
  19. 15 Jul, 1999 2 commits
  20. 13 Jul, 1999 2 commits
  21. 12 Jul, 1999 1 commit
  22. 05 Jan, 1999 1 commit