1. 28 Jul, 2017 1 commit
  2. 10 Jan, 2017 1 commit
  3. 07 Nov, 2016 1 commit
  4. 02 Aug, 2016 3 commits
  5. 07 Jun, 2016 1 commit
    • Chun-wei Fan's avatar
      Add version macro header · 0c479224
      Chun-wei Fan authored
      Add a version macro header that would reveal the availability of the
      various APIs, which is used to  indicate what stable release series an
      API is available, and what release series is an API deprecated.  This
      is also used to export the symbols using compiler directives, which
      would eliminate the need to maintain .symbols files.
      
      Annotate the symbols in the pubic headers accordingly, and update the
      doc sections file so that the macros are included in the documentation.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=767164
      0c479224
  6. 06 Apr, 2016 1 commit
  7. 05 Oct, 2015 1 commit
    • Bastien Nocera's avatar
      gif: Fix thumbnailing GIF animations · 04c02024
      Bastien Nocera authored
      When using progressive loading, the GIF loader seems to expect us to
      load every single frame of the image before being "done". That's really
      not the case when thumbnailing, as we only want the first frame in that
      case.
      
      Return the GDK_PIXBUF_ERROR_INCOMPLETE_ANIMATION error when not all the
      frames have been decoded, so that users of the API can ignore it, like
      gnome-desktop's thumbnailer.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=755672
      04c02024
  8. 21 Oct, 2014 2 commits
  9. 18 Jul, 2014 2 commits
    • Colin Walters's avatar
      Add gdk_pixbuf_read_pixel_bytes() · 3b40f1e8
      Colin Walters authored
      This can be convenient for language bindings to access the readonly
      data in a form that includes length, and also avoids a copy (for
      readonly pixbufs).
      
      https://bugzilla.gnome.org/show_bug.cgi?id=732297
      3b40f1e8
    • Colin Walters's avatar
      Add _new_from_bytes() and _read_pixels() API, handle read-only pixbufs · 862e3890
      Colin Walters authored
      GdkPixbuf is an old API that predates introspection and GBytes.  It
      has some confusion around whether or not pixbuf data is mutable or
      not.  The _new_from_data() API takes a *const* pointer, but it's not
      copied, and _get_pixels() returns a non-const copy of the same
      pointer.
      
      There are several cases where we get read-only data, such as a
      GResource.  For language bindings, _new_from_data() doesn't work
      because the array may be a temporary copy only allocated for the call.
      
      In order to support a clean _new_from_bytes() API, we need to add the
      concept of a read-only pixbuf into the core.  The fundamental hack
      here is that _get_pixels() now causes an implicit copy.
      
      For the cases where we don't want to copy, add a new
      gdk_pixbuf_read_pixels() that returns a proper const pointer.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=732297
      862e3890
  10. 14 Mar, 2014 2 commits
  11. 31 Jan, 2014 1 commit
  12. 28 Dec, 2012 1 commit
  13. 31 Jan, 2012 1 commit
  14. 16 Dec, 2011 3 commits
  15. 12 Oct, 2011 1 commit
  16. 09 Jun, 2011 1 commit
  17. 06 Mar, 2011 1 commit
  18. 22 Feb, 2011 1 commit
  19. 10 Dec, 2010 1 commit
  20. 27 Jun, 2010 2 commits
  21. 02 May, 2010 2 commits
  22. 28 May, 2008 1 commit
    • Michael Natterer's avatar
      define GDK_PIXBUF_H_INSIDE around including all other headers. · d52fecba
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gdk-pixbuf.h: define GDK_PIXBUF_H_INSIDE around including all
      	other headers.
      
      	* gdk-pixbuf-animation.h
      	* gdk-pixbuf-core.h
      	* gdk-pixbuf-enum-types.h.template
      	* gdk-pixbuf-features.h.in
      	* gdk-pixbuf-io.h
      	* gdk-pixbuf-loader.h
      	* gdk-pixbuf-simple-anim.h
      	* gdk-pixbuf-transform.h: add single-include guards that #error
      	out if GDK_PIXBUF_DISABLE_SINGLE_INCLUDES is defined and any of
      	these files is included individually.
      
      	* gdk-pixbuf-private.h: don't incude "gdk-pixbuf-io.h".
      
      	* gdk-pixbuf-csource.c: #define __GTK_H_INSIDE__ around including
      	"../gtk/gtkversion.h". Ugly but needed in this special case.
      
      
      svn path=/trunk/; revision=20214
      d52fecba
  23. 16 Jan, 2008 1 commit
  24. 02 Jul, 2007 1 commit
    • Matthias Clasen's avatar
      Document the "orientation" option. · 80fb0c5d
      Matthias Clasen authored
      2007-07-02  Matthias Clasen <mclasen@redhat.com>
      
              * gdk-pixbuf.c (gdk_pixbuf_get_option): Document the
              "orientation" option.
      
              * gdk-pixbuf.symbols:
              * gdk-pixbuf-core.h:
              * gdk-pixbuf-util.c (gdk_pixbuf_apply_embedded_orientation):
              New function to handle Exif orientation information in
              tiff and jpeg images.  (#439567, Michael Chudobiak)
      
      
      svn path=/trunk/; revision=18340
      80fb0c5d
  25. 10 Mar, 2005 1 commit
  26. 08 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Use G_GNUC_NULL_TERMINATED where appropriate. (#165682, Marc Meissner) · df0339ec
      Matthias Clasen authored
      2005-03-08  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkwidget.h:
      	* gtk/gtktreeview.h:
      	* gtk/gtktreeviewcolumn.h:
      	* gtk/gtktextbuffer.h:
      	* gtk/gtkobject.h:
      	* gtk/gtkfilechooserdialog.h:
      	* gtk/gtkdialog.h:
      	* gtk/gtkcontainer.h:
      	* gtk/gtkcelllayout.h:
      	* gtk/gtkaboutdialog.h: Use G_GNUC_NULL_TERMINATED where
      	appropriate.  (#165682, Marc Meissner)
      df0339ec
  27. 05 Dec, 2004 1 commit
    • Tor Lillqvist's avatar
      gdk-pixbuf-animation.c gdk-pixbuf-io.c io-xbm.c io-xpm.c · 141506eb
      Tor Lillqvist authored
      2004-12-05  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk-pixbuf-animation.c
      	* gdk-pixbuf-io.c
      	* io-xbm.c
      	* io-xpm.c
      	* make-inline-pixbuf.c
      	* queryloaders.c: Use gstdio wrappers. Document that file names
      	are in the GLib file name encoding.
      
      	* gdk-pixbuf-csource.c
      	* queryloaders.c: On Windows, convert command line arguments and
      	environment variable values from locale encoding to UTF-8.
      
      	* queryloaders.c: On Windows, use wide character API when
      	available.
      
      	* Makefile.am
      	* gdk-pixbuf-core.h
      	* gdk-pixbuf-io.c
      	* gdk-pixbuf-animation.h
      	* gdk-pixbuf-animation.c: Like in GLib, for DLL ABI stability on
      	Windows, add binary compatibility versions of functions that take
      	file names as arguments. They use the system codepage, not GLib
      	file name encoding (which is UTF-8 on Windows). Use #defines to
      	make newly compiled code use the "real" functions that use the
      	GLib file name encoding scheme.
      141506eb
  28. 23 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      Don't mark gdk_pixbuf_error_quark() as const, to be consistent with all · d56fc9de
      Matthias Clasen authored
      2004-11-23  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk-pixbuf-core.h: Don't mark gdk_pixbuf_error_quark() as const,
      	to be consistent with all the other error_quark functions.
      	(technically they are const, but since these are called only
      	in error paths, giving the compiler better optimization
      	opportunities doesn't matter much)
      
      	* gdk-pixbuf.symbols: Add attribute annotations.
      	* makegdkpixbufalias.pl: Keep attribute annotations, but strip PRIVATE.
      	* Makefile.am (gdk_pixbuf.def): Strip attribute annotations, but keep
      	PRIVATE.
      d56fc9de
  29. 01 Sep, 2004 1 commit
  30. 26 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Add gdk_pixbuf_new_from_file_at_scale(), which is just like · b06c4fbb
      Matthias Clasen authored
      Thu Aug 26 01:23:16 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gdk-pixbuf-core.h:
      	* gdk-pixbuf.symbols:
      	* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file_at_scale):
      	Add gdk_pixbuf_new_from_file_at_scale(), which is just
      	like gdk_pixbuf_new_from_file_at_size(), but optionally
      	ignores the aspect ratio.  (#136395, Dom  Lachowicz)
      b06c4fbb
  31. 20 Jun, 2004 1 commit