1. 31 Jan, 2014 1 commit
  2. 19 Dec, 2013 2 commits
  3. 16 Apr, 2013 1 commit
  4. 04 Sep, 2012 1 commit
  5. 03 Sep, 2012 1 commit
  6. 16 Dec, 2011 1 commit
    • Matthias Clasen's avatar
      Fix handling of options when saving pngs · ae8ab1d8
      Matthias Clasen authored
      The png loader treats its options in two passes, the first pass
      counts and verifies them, the second pass converts text options.
      This worked ok when only text was understood, but with the introduction
      of compression and icc-profile as supported options, the two loops
      can now get out of sync when the text options are not all at the
      beginning.
      
      Fix this by skipping non-text options in the second loop, just
      as we do in the first loop.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=620911
      ae8ab1d8
  7. 02 Mar, 2011 1 commit
  8. 10 Jul, 2010 1 commit
  9. 06 Jul, 2010 1 commit
  10. 25 Jun, 2010 1 commit
  11. 12 May, 2010 1 commit
  12. 04 Apr, 2010 4 commits
  13. 25 Mar, 2010 1 commit
  14. 03 Jan, 2010 1 commit
  15. 20 Dec, 2009 1 commit
  16. 18 Dec, 2009 1 commit
  17. 22 Jun, 2008 1 commit
    • Johan Dahlin's avatar
      Include "config.h" instead of <config.h> Command used: find -name · 315f52d6
      Johan Dahlin authored
      2008-06-21  Johan Dahlin  <jdahlin@async.com.br>
      
          * *.[ch]: Include "config.h" instead of <config.h>
          Command used:
          find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
          Rubberstamped by Mitch and Tim
      
      
      svn path=/trunk/; revision=20669
      315f52d6
  18. 19 Jun, 2008 1 commit
  19. 27 May, 2008 1 commit
  20. 28 Apr, 2007 1 commit
  21. 09 Mar, 2007 1 commit
  22. 16 Feb, 2007 1 commit
  23. 17 Jan, 2007 1 commit
    • Michael Natterer's avatar
      Patch taken from maemo-gtk: · cb6983fa
      Michael Natterer authored
      2007-01-17  Michael Natterer  <mitch@imendio.com>
      
      	Patch taken from maemo-gtk:
      
      	* io-png.c (png_text_to_pixbuf_option): don't call g_convert() on
      	ASCII strings.
      
      	(png_info_callback): set an error when the size_func would scale
      	the pixbuf away completely.
      
      
      svn path=/trunk/; revision=17179
      cb6983fa
  24. 11 Oct, 2006 1 commit
    • Tor Lillqvist's avatar
      Enable having some gdk-pixbuf loaders built-in even if loading the others · bedf0bc1
      Tor Lillqvist authored
      2006-10-11  Tor Lillqvist  <tml@novell.com>
      
      	* configure.in: Enable having some gdk-pixbuf loaders built-in
      	even if loading the others dynamically. Define Automake
      	conditional INCLUDE_FOO for each loader as TRUE if that loader is
      	built-in. See also gdk-pixbuf/ChangeLog.
      
      2006-10-11  Tor Lillqvist  <tml@novell.com>
      
      	Enable having some loaders built-in even if loading the others
      	dynamically. Have loaders in the same order as in configure.in in
      	all places where they are handled/listed.
      
      	* Makefile.am: Define the STATIC_FOO_LIB and FOO_LIB macros
      	conditionally depending on whether said loader is built-in or
      	not. Use the names libstatic-pixbufloader-foo.la instead of
      	libpixbufloader-static-foo.la for the built-in ones so that the
      	"echo libpixbufloader-*.la" won't match them.
      
      	* gdk-pixbuf-io.c: Reorganize code as to plumb the built-in
      	loaders also if USE_GMODULE. Don't warn about a missing
      	gdk-pixbuf.loaders file if we have at least one included loader.
      
      	* gdk-pixbuf-private.h
      	* io-*.c: Don't define a generic MODULE_ENTRY, as we can't use it
      	in the loaders anyway. Each loader needs to check if INCLUDE_foo
      	is defined.
      bedf0bc1
  25. 08 Oct, 2006 1 commit
  26. 10 Feb, 2006 1 commit
  27. 30 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      Add a cast to avoid compiler warnings. · 0d94fcef
      Matthias Clasen authored
      2005-08-30  Matthias Clasen  <mclasen@redhat.com>
      
      	* io-png.c (png_save_to_callback_write_func): Add a cast
      	to avoid compiler warnings.
      
      	* pixops/timescale.c (main): Declare src_buf, dest_buf as
      	unsigned to avoid compiler warnings.
      
      	* gdk-pixbuf-io.h: Declare the prefix and mask members of
      	GdkPixbufModulePattern as char*, to avoid compiler warnings.
      
      	* io-ani.c (ani_load_chunk): Use g_try_new() in some places.
      0d94fcef
  28. 24 May, 2005 1 commit
  29. 12 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      Changes to make gdk-pixbuf threadsafe (#157310, #157306, Colin Walters): · c8c94422
      Matthias Clasen authored
      2004-11-12  Matthias Clasen  <mclasen@redhat.com>
      
      	Changes to make gdk-pixbuf threadsafe  (#157310, #157306,
      	Colin Walters):
      
      	* gdk-pixbuf-io.h (enum GdkPixbufFormatFlags): Add
      	GDK_PIXBUF_FORMAT_THREADSAFE to indicate that an image loader
      	is threadsafe.
      
      	* gdk-pixbuf-io.c (get_file_formats, _gdk_pixbuf_load_module):
      	Use a lock to make initialization of global data structures
      	threadsafe.
      	* gdk-pixbuf-private.h:
      	* gdk-pixbuf-io.c (_gdk_pixbuf_lock, _gdk_pixbuf_unlock):
      	Auxiliary functions which use another lock to protect
      	threadunsafe image loaders.
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_real_save):
      	(save_to_callback_with_tmp_file):
      	(gdk_pixbuf_real_save_to_callback):
      	(gdk_pixbuf_new_from_xpm_data):
      	(_gdk_pixbuf_generic_image_load):
      	* gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file):
      	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_load_module):
      	(gdk_pixbuf_loader_close):
      	(gdk_pixbuf_loader_finalize):
      	Use _gdk_pixbuf_lock() and _gdk_pixbuf_unlock().
      
      	* io-ani.c, io-bmp.c, io-gif.c, io-ico.c:
      	* io-jpeg.c, io-pcx.c, io-png.c, io-pnm.c:
      	* io-ras.c, io-tga.c, io-wbmp.c, io-xbm.c:
      	* io-xpm.c: Mark as threadsafe.
      
      	* io-tiff.c: Remove pointless locking, mark as
      	threadunsafe.
      c8c94422
  30. 15 Jul, 2004 1 commit
  31. 08 Jul, 2004 1 commit
    • Matthias Clasen's avatar
      New functions to disable/enable individual loaders and to obtain license · 67e592db
      Matthias Clasen authored
      Wed Jul  7 23:53:58 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gdk-pixbuf-io.h:
      	* gdk-pixbuf-io.c (gdk_pixbuf_format_is_disabled):
      	* gdk-pixbuf-io.c (gdk_pixbuf_format_set_disabled):
      	* gdk-pixbuf-io.c (gdk_pixbuf_format_get_license):
      	New functions to disable/enable individual loaders and to
      	obtain license information about loaders.
      
      	* gdk-pixbuf-io.h (GdkPixbufFormat): Add disabled and
      	license fields.
      
      	* gdk-pixbuf-io.c (_gdk_pixbuf_get_module):
      	* gdk-pixbuf-io.c (_gdk_pixbuf_get_named_module): Skip
      	disabled loaders.
      
      	* io-*.c: Add license information in the fill_info
      	functions.
      67e592db
  32. 07 Jan, 2004 2 commits
    • Matthias Clasen's avatar
      New public API to save pixbufs to non-file locations. (#82203, Tim Evans) · e7b62f2a
      Matthias Clasen authored
      Wed Jan  7 02:41:14 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_save_to_bufferv):
      	* gdk-pixbuf-io.c (gdk_pixbuf_save_to_buffer):
      	* gdk-pixbuf-io.c (gdk_pixbuf_save_to_callbackv):
      	* gdk-pixbuf-io.c (gdk_pixbuf_save_to_callback): New public API
      	to save pixbufs to non-file locations.  (#82203, Tim Evans)
      
      	* gdk-pixbuf.h:
      	* gdk_pixbuf.def: Declare the new public API.
      
      	* gdk-pixbuf-io.h: Add save_to_callback to the module interface.
      
      	* io-jpeg.c:
      	* io-png.c: Implement save_to_callback.
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_savev):
      	* gdk-pixbuf-io.c (gdk_pixbuf_save): Update documentation.
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_real_save): Support saving via
      	image_module->save_to_callback.
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_real_save_to_callback): New generic
      	save_to_callback function which falls back to image_module->save
      	on a temp file.
      e7b62f2a
    • Matthias Clasen's avatar
      Make it possible to call gdk_pixbuf_loader_set_size (loader, 0, 0) by · 8b6950ae
      Matthias Clasen authored
      Wed Jan  7 01:17:36 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_size_func):
      	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_set_size):
      	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_init): Make it possible
      	to call gdk_pixbuf_loader_set_size (loader, 0, 0) by changing
      	the initial values of priv->width/height to -1.
      
      	* io-tiff.c (tiff_image_parse):
      	* io-ras.c (RAS2State):
      	* io-pnm.c (gdk_pixbuf__pnm_image_load_increment):
      	* io-pcx.c (gdk_pixbuf__pcx_load_increment):
      	* io-jpeg.c (gdk_pixbuf__jpeg_image_load_increment):
      	* io-png.c (png_info_callback):
      	* io-ico.c (DecodeHeader):
      	* io-bmp.c (DecodeHeader): Call size_func once the size is known,
      	even if the module can't make use of the scaling information. If
      	size_func returns 0, don't allocate a pixbuf and return, if
      	necessary with an error.
      
      	* gdk-pixbuf.h:
      	* gdk-pixbuf-io.c (gdk_pixbuf_get_file_info): A new function
      	to determine the type and size of an image file without loading
      	it completely.  (#53725)
      8b6950ae
  33. 03 Oct, 2002 1 commit
    • Matthias Clasen's avatar
      Support for separately installed loaders. (#77486) · 47107959
      Matthias Clasen authored
      	* Makefile.am gdk-pixbuf-animation.c gdk-pixbuf-data.c
      	gdk-pixbuf-io.c gdk-pixbuf-io.h gdk-pixbuf-loader.c
      	gdk-pixbuf-loader.h gdk-pixbuf-private.h gdk-pixbuf.h
      	gdk-pixdata.c io-ani-animation.h io-ani.c io-bmp.c
      	io-gif-animation.c io-gif-animation.h io-gif.c io-ico.c
      	io-jpeg.c io-png.c io-pnm.c io-ras.c io-tga.c io-tiff.c
      	io-wbmp.c io-xbm.c io-xpm.c pixbufloader_ani.def
      	pixbufloader_bmp.def pixbufloader_gif.def pixbufloader_ico.def
      	pixbufloader_jpeg.def pixbufloader_png.def
      	pixbufloader_pnm.def pixbufloader_ras.def pixbufloader_tga.def
      	pixbufloader_tiff.def pixbufloader_wbmp.def
      	pixbufloader_xbm.def pixbufloader_xpm.def test-gdk-pixbuf.c
      	gdk-pixbuf-animation.h queryloaders.c: Support for separately
      	installed loaders.  (#77486)
      47107959
  34. 19 Sep, 2002 1 commit
  35. 17 Sep, 2002 1 commit