2008-08-13 Michael Natterer <mitch@imendio.com>
* gdk-pixbuf-marshal.list: reorder marshalers for no reason apart
from forcing a rebuild of the header after yesterday's Makefile.am
change.
svn path=/trunk/; revision=21105
2008-08-08 Sven Herzberg <sven@imendio.com>
Bug 546549 : Better Type Checking
reviewed by: mitch
* gdk-pixbuf-animation.c: check if a vfunc is implemented before
trying to call into it
svn path=/trunk/; revision=21047
* gdk-pixbuf-utils.c (gdk_pixbuf_saturate_and_pixelate):
Use gdk_pixbuf_copy_area() to copy between pixbufs.
Reported by Andrey Tsyvarev
svn path=/trunk/; revision=20840
2008-07-11 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-io.c: Use GIO for sniffing image types, except
on Win32, where GIO doesn't do any sniffing.
svn path=/trunk/; revision=20820
2008-06-30 Cody Russell <bratsche@gnome.org>
* Practically everything changed.
Change all references of GIMP Toolkit (and variations of it)
to GTK+ Toolkit, showing no mercy at all to our beloved
ancestry. (#540529)
svn path=/trunk/; revision=20709
2008-06-23 Kristian Rietveld <kris@imendio.com>
* gdk/gdkenumtypes.h.template:
* gdk-pixbuf/gdk-pixbuf-enum-types.h.template:
* gtk/gtktypebuiltins.h.template:
* perf/typebuiltins.h.template: do not hard code the prefix of the
enum, use @ENUMPREFIX@ instead (you need an up to date glib for this).
svn path=/trunk/; revision=20674
2008-06-13 Hans Breuer <hans@breuer.org>
* makefile.msc : updated to allow simple switch between gdiplus- and
former fileformat backends
* io-tiff.c : use g_snprintf
svn path=/trunk/; revision=20369
any of the loaders
* queryloaders.c (write_loader_info): Add the license info
after the description.
* gdk-pixbuf-io.c (gdk_pixbuf_io_init): Read the license info
from the module file. Reported by Andrey Tsyvarev.
svn path=/trunk/; revision=20241
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
2008-05-27 Tor Lillqvist <tml@novell.com>
* io-*.c: Use explicit G_MODULE_EXPORT decoration when building
the loader in question as a module.
* gdk-pixbuf-io.c: Enable included build of the icns and jasper
loaders.
svn path=/trunk/; revision=20192
2008-05-27 Michael Natterer <mitch@imendio.com>
* gdk-pixbuf.c: put back the #define, but call it
GDK_PIXBUF_C_COMPILATION.
* gdk-pixbuf-features.h.in: make variable export depend on that
define instead of GDK_PIXBUF_COMPILATION.
svn path=/trunk/; revision=20189
2008-05-27 Michael Natterer <mitch@imendio.com>
Fix and simplify definition of GDK_PIXBUF_VAR:
* Makefile.am: add -DGDK_PIXBUF_COMPILATION to INCLUDES.
* gdk-pixbuf.c: don't #define it here. Remove GDK_PIXBUF_VAR from
the definition of the version variables.
* gdk-pixbuf-features.h.in: in the !G_PLATFORM_WIN32 case, always
define GDK_PIXBUF_VAR to "extern". Remove redundant #ifndef
GDK_PIXBUF_VAR around the whole block, the header itself already
has include guards.
svn path=/trunk/; revision=20188
2008-05-12 Tor Lillqvist <tml@novell.com>
Bug 532558 - Cannot build dll when using separate builddir
* Makefile.am: .def file belongs in $(srcdir). Patch by Marko
Lindqvist.
svn path=/trunk/; revision=20096
2008-05-02 Michael Natterer <mitch@imendio.com>
* Makefile.am (stamp-gdk-pixbuf-marshal.h): deprecate the entire
gdk-pixbuf-marshal.h since it's installed by accident only and
shouldn't be used by anybody.
svn path=/trunk/; revision=20067
2008-03-23 Björn Lindqvist <bjourne@gmail.com>
* gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
against NULL pointer. (#467051, Gian Mario Tagliaretti)
svn path=/trunk/; revision=19929
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