1. 09 Dec, 1999 1 commit
    • Michael Zucchi's avatar
      Filled in body of function. (rgbconvert): Added GdkColormap parameter, and · 0bcf5647
      Michael Zucchi authored
      1999-12-09  Michael Zucchi  <zucchi@zedzone.mmc.com.au>
      
      	* gdk-pixbuf/gdk-pixbuf-drawable.c (gdk_pixbuf_get_from_drawable):
      	Filled in body of function.
      	(rgbconvert): Added GdkColormap parameter, and to all conversion
      	functions also.
      
      	* gdk-pixbuf/Makefile.am: Re-enabled building of
      	textpixbuf-drawable.
      
      	* gdk-pixbuf/testpixbuf-drawable.c (main): Changed to use
      	gdk_pixbuf_get_from_drawable().
      0bcf5647
  2. 08 Dec, 1999 1 commit
    • Federico Mena Quintero's avatar
      Fix includes. (gdk_pixbuf_get_from_drawable): Implemented the zillion · 76642ec1
      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.
      76642ec1
  3. 07 Dec, 1999 1 commit
  4. 06 Dec, 1999 1 commit
    • Federico Mena Quintero's avatar
      Add back $(GNOME_LIBS). This must compile outside of gnome-libs. If you · 98e92203
      Federico Mena Quintero authored
      1999-12-05  Federico Mena Quintero  <federico@redhat.com>
      
      	* gdk-pixbuf/Makefile.am (testpixbuf_LDADD): Add back
      	$(GNOME_LIBS).  This must compile outside of gnome-libs.  If you
      	want, send me a patch to do the conditional stuff properly.
      	Otherwise, please read the GNOME Programming Guidelines,
      	especially the "CVS policies" section.
      98e92203
  5. 05 Dec, 1999 1 commit
  6. 02 Dec, 1999 3 commits
    • Federico Mena Quintero's avatar
      Source files moved from src/ to gdk-pixbuf/, to be consistent with other · e485e72f
      Federico Mena Quintero authored
      1999-12-02  Federico Mena Quintero  <federico@redhat.com>
      
      	Source files moved from src/ to gdk-pixbuf/, to be consistent with
      	other libraries.
      
      	* doc/Makefile.am: Modified for the new source directory.
      
      	* configure.in: Likewise.
      
      	* Makefile.am: Likewise.
      
      	* autogen.sh: Likewise.
      
      	* gdk-pixbuf/Makefile.am: Likewise.
      e485e72f
    • Federico Mena Quintero's avatar
      #include <config.h>, and fix includes. · 90ca9061
      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.
      90ca9061
    • Federico Mena Quintero's avatar
      New file with utility and convenience functions for pixbufs. · 56694adb
      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.
      56694adb
  7. 30 Nov, 1999 1 commit
  8. 29 Nov, 1999 2 commits
  9. 23 Nov, 1999 2 commits
  10. 22 Nov, 1999 2 commits
  11. 21 Nov, 1999 1 commit
  12. 20 Nov, 1999 1 commit
    • Michael Zucchi's avatar
      Rework/reorder of the code. Each case has been separated into another · 831a002a
      Michael Zucchi authored
      1999-11-20  Michael Zucchi  <zucchi@zedzone.mmc.com.au>
      
              * src/gdk-pixbuf-drawable.c (gdk_pixbuf_from_drawable_core):
              Rework/reorder of the code.  Each case has been separated into
              another function; its big but it should be quick.
              gdk_pixbuf_rgba_from_drawable() will now return a pixbuf with
              opaque alpha information.  Not all depths/formats have been
              tested, but 8, 15/16 and 24 (alinged 32) should work ok.
      831a002a
  13. 13 Nov, 1999 1 commit
  14. 09 Nov, 1999 2 commits
  15. 05 Nov, 1999 1 commit
  16. 04 Nov, 1999 2 commits
  17. 03 Nov, 1999 1 commit
    • Jonathan Blandford's avatar
      Remove dependency on lib*gif!!!! · 0a8534b7
      Jonathan Blandford authored
      1999-11-03  Jonathan Blandford  <jrb@redhat.com>
      
      	* src/Makefile.am (libpixbuf_gif_la_LIBADD): Remove dependency on
      	lib*gif!!!!
      
      Also, some code cleanups to io-gif
      0a8534b7
  18. 02 Nov, 1999 2 commits
  19. 27 Oct, 1999 1 commit
    • Federico Mena Quintero's avatar
      New function to threshold a pixbuf's alpha channel into a bitmap. · 29a640d1
      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.
      29a640d1
  20. 26 Oct, 1999 2 commits
  21. 20 Oct, 1999 2 commits
    • Federico Mena Quintero's avatar
      Bumped version number to 0.3. · 6e008a50
      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.
      6e008a50
    • Federico Mena Quintero's avatar
      Removed the unref_fn field. Now all memory management of the buffer is · 519b474d
      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.
      519b474d
  22. 18 Oct, 1999 3 commits
    • Havoc Pennington's avatar
      Use AM_PATH_GLIB instead of glib-config directly · 92db36be
      Havoc Pennington authored
      1999-10-18  Havoc Pennington  <hp@pobox.com>
      
      * configure.in: Use AM_PATH_GLIB instead of glib-config directly
      
      * src/Makefile.am: Re-enable testpixbuf with GTK_CFLAGS/GTK_LIBS
      92db36be
    • Havoc Pennington's avatar
      Remove "macros" · 829f7755
      Havoc Pennington authored
      1999-10-18  Havoc Pennington  <hp@pobox.com>
      
      * Makefile.am (SUBDIRS): Remove "macros"
      
      * configure.in: Don't use GNOME_INIT, handle case where we are
      inside gnome-libs. AM_PATH_GTK for the GIF test
      
      * src/Makefile.am: Change flags to work without libgnomeui,
      comment out testpixbuf for now
      829f7755
    • Federico Mena Quintero's avatar
      Use $GTK_LIBS as the extra libs when checking for libgif/libungif, as they · 0b53539a
      Federico Mena Quintero authored
      1999-10-18  Federico Mena Quintero  <federico@redhat.com>
      
      	* configure.in: Use $GTK_LIBS as the extra libs when checking for
      	libgif/libungif, as they need the X libraries.  Fixes bug #2472.
      0b53539a
  23. 08 Oct, 1999 1 commit
  24. 07 Oct, 1999 2 commits
  25. 23 Sep, 1999 1 commit
  26. 26 Jul, 1999 1 commit
  27. 13 Jul, 1999 1 commit
    • Mark Crichton's avatar
      Ok, we'll try this again. · f534c40d
      Mark Crichton authored
      
      
      Ok, we'll try this again.
      
      io-xpm.c: Fixed.  Now actually loads XPMs instead of a big black blob.
      
      configure.in : yes, I know it was broken.  It wasn't finished quite yet (I
      always have larger fish to fry)
      
      Oh, and if anyone touches this module again without emailing the people in
      AUTHORS, I will go ballistic (after spending precious time figuring out why
      this commit never happened the 1st time I tried...)
      f534c40d