2008-03-21 Tor Lillqvist <tml@novell.com>
Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
Lachowicz and Alberto Ruiz into the GTK+ tree, from the
gdip-pixbuf-loader module.
* configure.in: Add switch --disable-gdiplus-loaders that disables
building of the GDI+ loaders.
When including loaders in the gdk-pixbuf library, either build in
abll the GDI+ ones or none of them. Use just -DINCLUDE_gdiplus in
$INCLUDED_LOADER_DEFINE to signal building them in.
Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
indicate whether they should be built-in.
For the rest of the changes, see gdk-pixbuf/ChangeLog.
In gdk-pixbuf:
* Makefile.am: Add the bits and pieces for the GDI+ loaders. When
building GDI+ loaders don't build the traditional ones for the
same formats. Always build the traditional PNG loader, though, as
it isn't possible to read and write PNG tEXt chunks through GDI+,
and GIMP at least needs that functionality in the gdk-pixbuf PNG
loader.
Either build all the GDI+ loaders (except the PNG one) into
libgdk-pixbuf, or build them all as DLLs. I don't see any reason
to enable cherry-picking among them whether to build in or not.
* io-gdip-animation.c
* io-gdip-animation.h
* io-gdip-bmp.c
* io-gdip-emf.c
* io-gdip-gif.c
* io-gdip-ico.c
* io-gdip-jpeg.c
* io-gdip-native.h
* io-gdip-png.c
* io-gdip-propertytags.h
* io-gdip-tiff.c
* io-gdip-utils.c
* io-gdip-utils.h
* io-gdip-wmf.c: New files. Note that io-gdip-png.c is not
currently used.
* gdk-pixbuf-io.c: Add the bits and pieces for built-in GDI+
loaders.
svn path=/trunk/; revision=19914
2008-03-11 Claudio Saavedra <csaavedra@alumnos.utalca.cl>
* io-bmp.c: (gdk_pixbuf__bmp_image_stop_load): Set a
GDK_ERROR_CORRUPT_IMAGE error if the loader is closed while
still reading the headers. (#505085)
svn path=/trunk/; revision=19757
2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
* gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly acceptable
for a module to only support the save_to_callback() method if it marks itself
as WRITABLE
svn path=/trunk/; revision=19632
2008-02-15 Matthias Clasen <mclasen@redhat.com>
* configure.in: Go back to 2.13.0 as version for now,
as there was no consensus to do the jump.
* many other places: Update Since: tags.
svn path=/trunk/; revision=19586
2008-02-12 Matthias Clasen <mclasne@redhat.com>
* gdk-pixbuf-io.c (at_scale_size_prepared_cb): Don't let
the width or height go below 1. (#516024, Christian Persch)
svn path=/trunk/; revision=19534
2008-01-16 Michael Natterer <mitch@imendio.com>
* gdk-pixbuf-io.c (save_to_stream): fix signature of this function
and propagate errors from g_output_stream_write(). Return error
also on incomplete writes (which don't generate an error by
themselves).
Unrelated:
(gdk_pixbuf_io_init): initialize "builtin_module" on a separate
line to avoid compiler warning in the common case of no built-in
modules.
svn path=/trunk/; revision=19378
2008-01-16 Michael Natterer <mitch@imendio.com>
* Makefile.am (LDADDS): use $GDK_PIXBUF_DEP_LIBS instead of
$GLIB_LIBS so gio gets pulled in.
svn path=/trunk/; revision=19377
2008-01-14 Michael Natterer <mitch@imendio.com>
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_prepare): cast the return
value of _gdk_pixbuf_scaled_anim_new() to fix incompatible pointer
warning.
svn path=/trunk/; revision=19364
2007-12-09 Matthias Clasen <mclasen@redhat.com>
* io-jpeg.c: Fix the spinguard logic for big buffers.
(#494667, Ed Catmur)
svn path=/trunk/; revision=19135
2007-11-26 Tor Lillqvist <tml@novell.com>
* configure.in: Don't add jasper to all_loaders if no libjasper.
* gdk-pixbuf/Makefile.am: Fix static build of the icns loader.
svn path=/trunk/; revision=19044
2007-11-20 Bastien Nocera <hadess@hadess.net>
* io-icns.c: (load_resources): Add support for 512x512 Leopard
icons, using the ic09 iconType
svn path=/trunk/; revision=19009
2007-11-10 Matthias Clasen <mclasen@redhat.com>
* io-jpeg.c: Avoid unaligned accesses that cause
problems on some architectures. (patch by David Miller)
svn path=/trunk/; revision=18982
2007-08-17 Björn Lindqvist <bjourne@gmail.com>
* gdk-pixbuf/gdk-pixbuf-scale.c (gdk_pixbuf_scale):
* gdk-pixbuf/gdk-pixbuf-util.c (gdk_pixbuf_copy_area):
Note in docstrings that these two functions does not preserve
the source rectangle when copying. (#464840).
svn path=/trunk/; revision=18636
2007-07-06 Michael J. Chudobiak <mjc@cvs.gnome.org>
* io-tiff.c: (tiff_image_parse): Added a comment to explain
the signal used to stop parsing early.
svn path=/trunk/; revision=18385
2007-07-03 Matthias Clasen <mclasen@redhat.com>
* io-tiff.c (tiff_image_parse): Always set an error
when returning NULL. (453365, Michael Chudobiak)
svn path=/trunk/; revision=18365
2007-07-03 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_close): Be
more careful when calling g_propagate_error(). (#453365,
Michael Chudobiak)
svn path=/trunk/; revision=18357
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
2007-05-30 Chris Wilson <chris@chris-wilson.co.uk>
* io-jpeg.c (gdk_pixbuf__jpeg_image_stop_load):
Supply the current GError for fatal_error_handler(). (#441443)
svn path=/trunk/; revision=17989