1. 13 Jul, 2017 2 commits
  2. 01 Mar, 2017 1 commit
    • Chun-wei Fan's avatar
      Builds: Add a fallback-c89.c for pre-C99 compilers · ad0ca78a
      Chun-wei Fan authored
      Some supported compilers lack some C99 math functions that are beginning
      to be used in the code, so this adds a fallback implementation for them,
      namely round() and lrint(), where the fallbacks are used if they are not
      found during configure.
      
      For Visual Studio builds, config.h.win32.in is updated to reflect the
      situation on various Visual Studio versions as Visual Studio builds
      do not use autotools.
      ad0ca78a
  3. 07 Feb, 2017 1 commit
  4. 02 Aug, 2016 1 commit
  5. 11 Nov, 2014 1 commit
  6. 30 Oct, 2014 1 commit
  7. 24 Oct, 2014 1 commit
  8. 23 Oct, 2014 1 commit
  9. 21 Oct, 2014 1 commit
  10. 31 Jan, 2014 1 commit
  11. 19 Dec, 2013 2 commits
  12. 14 Sep, 2012 1 commit
    • Matthias Clasen's avatar
      Make the tiff loader threadsafe · 68349864
      Matthias Clasen authored
      The reason why the tiff loader was marked as not threadsafe is
      that libtiff only has a global error handler; while we still have
      to set an error handler to keep libtiff from spamming stderr,
      we just give up on collecting any error messages from it, and
      we also give up on the illusion that we can push/pop error handlers.
      That doesn't work without a stack, so we just keep forcing our
      do-nothing error handler on without ever taking it back.
      68349864
  13. 10 Jul, 2010 1 commit
  14. 06 Jul, 2010 1 commit
  15. 25 Jun, 2010 1 commit
  16. 04 Apr, 2010 2 commits
  17. 03 Jan, 2010 1 commit
  18. 21 Dec, 2009 1 commit
  19. 30 Nov, 2009 1 commit
  20. 14 Aug, 2008 1 commit
  21. 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
  22. 19 Jun, 2008 1 commit
  23. 13 Jun, 2008 1 commit
  24. 27 May, 2008 1 commit
  25. 06 Jul, 2007 1 commit
  26. 05 Jul, 2007 1 commit
  27. 03 Jul, 2007 1 commit
  28. 18 May, 2007 1 commit
    • Michael J. Chudobiak's avatar
      Bump libtiff requirement to 3.6.0, by requiring presence of · b42b43e1
      Michael J. Chudobiak authored
      2007-05-18  Michael J. Chudobiak  <mjc@cvs.gnome.org>
      
              * INSTALL.in:
              * README.in:
              * configure.in: Bump libtiff requirement to 3.6.0, by requiring
                presence of TIFFReadRGBAImageOriented.
      
              * gdk-pixbuf-scaled-anim.c: (get_scaled_pixbuf):
              Preserve pixbuf options when generating a new scaled pixbuf.
      
              * io-jpeg.c: (get_orientation), (gdk_pixbuf__jpeg_image_load),
              (gdk_pixbuf__jpeg_image_load_increment): Read the exif
              orientation tag and associate it with the "orientation" pixbuf
              option. Renders libexif unnecessary in some applications.
      
              * io-tiff.c: (tiff_image_parse): Read the tiff orientation tag,
              compensate for the partial rotations performed by libtiff,
              and generate an "orientation" option for the pixbuf.
      
      
      svn path=/trunk/; revision=17863
      b42b43e1
  29. 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
  30. 08 Oct, 2006 1 commit
  31. 28 Feb, 2006 1 commit
    • Anders Carlsson's avatar
      Update documentation now that tiff supports saving. · babe38d0
      Anders Carlsson authored
      2006-02-28  Anders Carlsson  <andersca@imendio.com>
      
              * gdk-pixbuf-io.c:
              Update documentation now that tiff supports saving.
      
              * io-tiff.c:
              (tiff_load_read):
              (tiff_load_write):
              (tiff_load_seek):
              (tiff_load_close):
              (tiff_load_size):
              (tiff_load_map_file):
              (tiff_load_unmap_file):
              (gdk_pixbuf__tiff_image_stop_load):
              Rename callback functions that are used during loading.
      
              (tiff_save_read):
              (tiff_save_write):
              (tiff_save_seek):
              (tiff_save_close):
              (tiff_save_size):
              (create_save_context):
              (free_save_context):
              New callback functions which operate on a memory buffer.
      
              (gdk_pixbuf__tiff_image_save_to_callback):
              Implement saving of pixbufs to tiffs.
      
              (save_to_file_cb):
              (gdk_pixbuf__tiff_image_save):
              New function that saves a pixbuf to a FILE handle. Uses
              save_to_callback.
      
              (fill_vtable):
              Add new functions.
      
              (fill_info):
              Change flags since this module supports writing now.
      babe38d0
  32. 10 Feb, 2006 1 commit
  33. 07 Feb, 2005 1 commit
  34. 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
  35. 09 Jul, 2004 1 commit
    • Manish Singh's avatar
      function doesn't return a value, so don't use g_return_val_if_fail() · 7d3eb9dc
      Manish Singh authored
      Fri Jul  9 15:38:06 2004  Manish Singh  <yosh@gimp.org>
      
              * gdk-pixbuf-io.c (gdk_pixbuf_format_set_disabled): function doesn't
              return a value, so don't use g_return_val_if_fail()
      
              * gdk-pixbuf-scale.c (gdk_pixbuf_rotate_simple): initialize dest in
              the can't happen case, to quiet gcc.
      
              * io-tiff.c (tifflibversion): enclose in #if TIFFLIB_VERSION >=
              20031226.
      7d3eb9dc
  36. 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
  37. 16 Jun, 2004 1 commit