1. 22 Jun, 2008 1 commit
    • Johan Dahlin's avatar
      Include "config.h" instead of <config.h> Command used: find -name · d97cdbdf
      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
      d97cdbdf
  2. 14 Jan, 2008 1 commit
  3. 05 Jul, 2007 1 commit
  4. 03 Jul, 2007 1 commit
  5. 08 Mar, 2007 1 commit
  6. 06 Feb, 2007 1 commit
  7. 17 Jan, 2007 1 commit
  8. 22 Dec, 2006 1 commit
  9. 19 Dec, 2006 1 commit
  10. 10 Dec, 2006 1 commit
  11. 17 Jul, 2006 1 commit
    • Matthias Clasen's avatar
      Put the code to protect against broken loaders that forget to set error in · c48afeca
      Matthias Clasen authored
      2006-07-16  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_load_module)
      	(gdk_pixbuf_loader_write, gdk_pixbuf_loader_close)
      	(gdk_pixbuf_loader_ensure_error): Put the code to protect
      	against broken loaders that forget to set error in an
      	auxiliary function and call it in more places.  (#346428,
      	 Catmur)
      c48afeca
  12. 14 May, 2006 1 commit
  13. 04 Apr, 2006 1 commit
  14. 24 Mar, 2006 1 commit
  15. 22 Mar, 2006 1 commit
  16. 12 Oct, 2005 1 commit
  17. 03 Oct, 2005 1 commit
  18. 31 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      Intern type names before registering the type to avoid unnecessary copies. · f55cffb0
      Matthias Clasen authored
      2005-08-31  Matthias Clasen  <mclasen@redhat.com>
      
      	* io-ani-animation.c (gdk_pixbuf_ani_anim_iter_get_type)
      	(gdk_pixbuf_ani_anim_get_type):
      	* io-gif-animation.c (gdk_pixbuf_gif_anim_get_type)
      	(gdk_pixbuf_gif_anim_iter_get_type):
      	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_get_type):
      	* gdk-pixbuf.c (gdk_pixbuf_get_type):
      	* gdk-pixbuf-animation.c (gdk_pixbuf_animation_get_type):
      	Intern type names before registering the type to avoid
      	unnecessary copies.
      f55cffb0
  19. 14 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · eef20f2c
      Matthias Clasen authored
      2005-03-14  Matthias Clasen  <mclasen@redhat.com>
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in gdk-pixbuf-alias.h:
      
      	* gdk-pixbuf.symbols: Group symbols by header and source file.
      	* /makegdkpixbufalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegdkpixbufalias.pl -def
      	* Makefile.am (gdk-pixbuf-aliasdef.c): Add a rule to generate
      	this file.
      	* *.c: Include gdk-pixbuf-alias.h after the other headers,
      	include gdk-pixbuf-aliasdef.c at the bottom.
      eef20f2c
  20. 23 Jan, 2005 1 commit
  21. 16 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      Be extra careful when locking and handle the case that the module may · 4f9db59b
      Matthias Clasen authored
      2004-11-15  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk-pixbuf-animation.c:
      	* gdk-pixbuf-loader.c:
      	* gdk-pixbuf-io.c: Be extra careful when locking and handle
      	the case that the module may initialize the thread system.
      
      	* gdk-pixbuf-io.[hc] (_gdk_pixbuf_lock): Return whether the
      	lock was actually taken.
      4f9db59b
  22. 12 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      Changes to make gdk-pixbuf threadsafe (#157310, #157306, Colin Walters): · cb918cdb
      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.
      cb918cdb
  23. 25 Aug, 2004 1 commit
  24. 24 Aug, 2004 2 commits
  25. 11 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Add hidden aliases for exported symbols which are used internally in order · f4437de1
      Matthias Clasen authored
      Tue Aug 10 23:53:59 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Add hidden aliases for exported symbols which are
      	used internally in order to get rid of many PLT
      	entries.  (#145519, Arjan van de Ven)
      
      	* gdk/Makefile.am: Add rules to generate gdk_pixbuf.def and
      	gdk-pixbuf-alias.h from gdk-pixbuf.symbols, and make make
      	check check the abi with abicheck.sh.
      
      	* gdk/gdk-pixbuf.symbols: New file. Definition of the gdk-pixbuf
      	ABI. The file can be processed by cpp to filter out certain
      	subsets of symbols.
      
      	* gdk/abicheck.sh: New file. Script to check the actually
      	symbols exported from libgdk_pibuf.2.0.so against the symbols
      	found in gdk-pixbuf.symbols.
      
      	* gdk/makegdkpixbufalias.pl: New file. Perl script to generate the
      	header containing the alias definitions for internally used
      	exported symbols from a list of symbols.
      
      	* *.c: Include gdk-pixbuf-alias.h
      f4437de1
  26. 06 Mar, 2004 1 commit
  27. 07 Jan, 2004 2 commits
    • Matthias Clasen's avatar
      New public API to save pixbufs to non-file locations. (#82203, Tim Evans) · 03376d79
      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.
      03376d79
    • Matthias Clasen's avatar
      Make it possible to call gdk_pixbuf_loader_set_size (loader, 0, 0) by · 5b26e695
      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)
      5b26e695
  28. 11 Dec, 2003 1 commit
  29. 22 Jun, 2003 1 commit
  30. 24 Apr, 2003 1 commit
  31. 28 Nov, 2002 1 commit
  32. 05 Nov, 2002 2 commits
  33. 11 Oct, 2002 1 commit
  34. 03 Oct, 2002 1 commit
    • Matthias Clasen's avatar
      Support for separately installed loaders. (#77486) · 45f7541f
      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)
      45f7541f
  35. 19 Sep, 2002 1 commit
  36. 17 Sep, 2002 1 commit
  37. 06 Jul, 2002 1 commit