Commit Graph

1063 Commits

Author SHA1 Message Date
Matthias Clasen
40a31e283c 2.13.4
svn path=/trunk/; revision=20783
2008-07-05 20:30:16 +00:00
Cody Russell
57223c9a05 Revert name change
svn path=/trunk/; revision=20724
2008-07-01 22:57:50 +00:00
Cody Russell
fce9c8b7d4 Practically everything changed.
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-30 23:01:56 +00:00
Kristian Rietveld
ed7d0ed47e do not hard code the prefix of the enum, use @ENUMPREFIX@ instead (you
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-23 12:09:15 +00:00
Johan Dahlin
d97cdbdf53 Include "config.h" instead of <config.h> Command used: find -name
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
2008-06-22 14:28:52 +00:00
Christian Persch
446f41757b Use g_set_error_literal where appropriate. Bug #538640.
svn path=/trunk/; revision=20463
2008-06-19 12:47:48 +00:00
Matthias Clasen
419260bdb8 Add image/x-win-bitmap mimetype
svn path=/trunk/; revision=20451
2008-06-18 15:15:54 +00:00
Matthias Clasen
975b1c6ff6 2.13.3
svn path=/trunk/; revision=20385
2008-06-14 01:21:31 +00:00
Hans Breuer
e0c1ab3f39 updated to allow simple switch between gdiplus- and former fileformat
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
2008-06-13 08:27:02 +00:00
Matthias Clasen
7c12a83e52 Fix a crash
svn path=/trunk/; revision=20367
2008-06-13 04:23:54 +00:00
Matthias Clasen
f393e85f59 2.13.2
svn path=/trunk/; revision=20309
2008-06-03 23:44:33 +00:00
Behdad Esfahbod
7dcd42eda5 Add gdk-pixbuf-features.h to BUILT_SOURCES.
2008-06-02  Behdad Esfahbod  <behdad@gnome.org>

        * Makefile.am: Add gdk-pixbuf-features.h to BUILT_SOURCES.


svn path=/trunk/; revision=20267
2008-06-02 04:58:36 +00:00
Matthias Clasen
2ab7f3ddb3 Fix INCLUDE_ macros
svn path=/trunk/; revision=20259
2008-05-30 13:34:52 +00:00
Matthias Clasen
49a42ac0f0 2.13.1
svn path=/trunk/; revision=20246
2008-05-30 05:08:50 +00:00
Matthias Clasen
9038f2ce98 Bug 535453 - gdk_pixbuf_format_get_license returns NULL for
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-29 21:04:52 +00:00
Michael Natterer
83b215f9ea define GDK_PIXBUF_H_INSIDE around including all other headers.
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-28 13:39:52 +00:00
Tor Lillqvist
59596e699f Use explicit G_MODULE_EXPORT decoration when building the loader in
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 16:51:33 +00:00
Michael Natterer
4449e5032c put back the #define, but call it GDK_PIXBUF_C_COMPILATION.
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 12:50:45 +00:00
Michael Natterer
f498fc887f Fix and simplify definition of GDK_PIXBUF_VAR:
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-27 12:05:14 +00:00
Hans Breuer
0b57c6b98f updated fix c99ism (variable at start of block export functions for window
2008-05-23  Hans Breuer  <hans@breuer.org>

	* **/makefile.msc gtk/makefile.msc.in : updated
	* gtk/gtkwidget.c : fix c99ism (variable at start of block
	* gdk/gdk.symbols gtk/gtk.symbols : export functions for window 
	redirection
	* gtk/gtkfilechooserdefault.c : #include <locale.h> for 
	setlocale(LC_ALL, ...)

svn path=/trunk/; revision=20131
2008-05-23 20:29:27 +00:00
Tor Lillqvist
48fb2c0ecf Bug 532558 - Cannot build dll when using separate builddir
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-12 08:46:27 +00:00
Michael Natterer
e72486693f deprecate the entire gdk-pixbuf-marshal.h since it's installed by accident
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-05-02 14:23:12 +00:00
Björn Lindqvist
8fce9eab79 Guard against NULL pointer. (#467051, Gian Mario Tagliaretti)
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-23 18:27:03 +00:00
Tor Lillqvist
b0db92d328 Insert the ChangeLog from gdip-pixbuf-loaders.
svn path=/trunk/; revision=19915
2008-03-20 23:29:31 +00:00
Tor Lillqvist
6d15bbbe1d Import the GDI+ gdk-pixbuf loaders for Windows by Dominic Lachowicz and
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-20 23:24:45 +00:00
Claudio Saavedra
d1639c8730 Set a GDK_ERROR_CORRUPT_IMAGE error if the loader is closed while still
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-03-11 21:06:59 +00:00
Claudio Saavedra
9aa1be5a0d Check for the BMP header magic numbers before decoding it. (#505085)
2008-03-11  Claudio Saavedra  <csaavedra@alumnos.utalca.cl>

        * io-bmp.c: (DecodeHeader): Check for the BMP header magic numbers
        before decoding it.  (#505085)


svn path=/trunk/; revision=19756
2008-03-11 21:05:26 +00:00
Dominic Lachowicz
37cb4f7d64 It's perfectly acceptable for a module to only support the
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-22 15:26:48 +00:00
Matthias Clasen
7dbb99c297 2.13.0
svn path=/trunk/; revision=19628
2008-02-21 18:03:04 +00:00
Matthias Clasen
45e33fe9c2 Go back to 2.13.0 as version for now, as there was no consensus to do the
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-15 23:42:42 +00:00
Matthias Clasen
4b9d90e5ad Fix up export of gdk_pixbuf_non_anim_get_type.
2008-02-15  Matthias Clasen  <mclasen@redhat.com>

        * gdk-pixbuf-animation.h:
        * gdk-pixbuf.symbols: Fix up export of gdk_pixbuf_non_anim_get_type.



svn path=/trunk/; revision=19584
2008-02-15 22:50:46 +00:00
Matthias Clasen
0eb4770cfa Don't let the width or height go below 1. (#516024, Christian Persch)
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-02-12 16:35:02 +00:00
Matthias Clasen
bbc6a7bf42 Try harder to return pixbufs of the requested size. (#494515, Mike
2008-02-10  Matthias Clasen  <mclasne@redhat.com>

        * gdk-pixbuf-scaled-anim.c: Try harder to return pixbufs
        of the requested size.  (#494515, Mike Morrison)



svn path=/trunk/; revision=19504
2008-02-10 06:27:46 +00:00
Matthias Clasen
00a56fc2ab Handle partial writes.
2008-01-15  Matthias Clasen  <mclasne@redhat.com>

        * gdk-pixbuf-io.c (save_to_stream): Handle partial writes.



svn path=/trunk/; revision=19380
2008-01-16 17:38:13 +00:00
Michael Natterer
7932cfb669 fix signature of this function and propagate errors from
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 14:35:46 +00:00
Michael Natterer
7ffe104a77 use $GDK_PIXBUF_DEP_LIBS instead of $GLIB_LIBS so gio gets pulled in.
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-16 13:30:06 +00:00
Matthias Clasen
65cdbb25a8 Add stream i/o functions for gdk-pixbuf
svn path=/trunk/; revision=19373
2008-01-16 02:24:47 +00:00
Michael Natterer
112dad6695 cast the return value of _gdk_pixbuf_scaled_anim_new() to fix incompatible
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
2008-01-14 11:30:34 +00:00
Michael Natterer
64c73a61b7 Remove all .cvsignore files.
svn path=/trunk/; revision=19169
2007-12-13 11:18:45 +00:00
Matthias Clasen
2943543c1b Fix the spinguard logic for big buffers. (#494667, Ed Catmur)
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-12-09 18:55:12 +00:00
Tommi Komulainen
62315bd5d0 Remove trailing whitespace that can trigger false positives in abicheck.sh
2007-12-06  Tommi Komulainen  <tommi.komulainen@iki.fi>

	* gdk-pixbuf/gdk-pixbuf.symbols:
	* gdk/gdk.symbols:
	* gdk/gtk.symbols: Remove trailing whitespace that can trigger false
	positives in abicheck.sh

svn path=/trunk/; revision=19124
2007-12-06 20:14:17 +00:00
Matthias Clasen
736f86b303 Use templates for glib-mkenums calls instead of complicated commandlines
2007-11-26  Matthias Clasen  <mclasen@redhat.com>

        Use templates for glib-mkenums calls instead of
        complicated commandlines in Makefiles.  (#429910)

        * gdk-pixbuf/Makefile.am:
        * gdk/Makefile.am:
        * gtk/Makefile.am:
        * perf/Makefile.am: Use templates for glib-mkenums

        * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
        * gdk/gdkenumtypes.[ch].template:
        * gtk/gtktypebuiltings.[ch].template:
        * perf/typebuiltins.[ch].template: The templates


svn path=/trunk/; revision=19053
2007-11-26 17:32:19 +00:00
Tor Lillqvist
23eb9a76f6 Don't add jasper to all_loaders if no libjasper.
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-25 22:18:52 +00:00
Bastien Nocera
f4606f266b Add detection for libjasper, used by the gdk-pixbuf JPEG2000 loader
2007-11-25  Bastien Nocera  <hadess@hadess.net>

	* configure.in: Add detection for libjasper, used by the
	gdk-pixbuf JPEG2000 loader

2007-11-25  Bastien Nocera  <hadess@hadess.net>

	* Makefile.am:
	* io-jasper.c: Add the libjasper JPEG2000 loader
	(Closes: #469901)


svn path=/trunk/; revision=19042
2007-11-25 18:07:01 +00:00
15:39:40 Tim Janik
2dc08ada49 call g_test_init() from gtk_test_init().
2007-11-22 15:39:40  Tim Janik  <timj@imendio.com>

        * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().

        * gtk/tests/testing.c: use g_test_add_func() to register tests and use
	g_test_run() to run the tests to integrate with the testing framework.

        * gtk/tests/Makefile.am: removed exemplary testing rules.

        * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
        * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
        * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
        * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
        * docs/reference/Makefile.am, docs/tools/Makefile.am:
        * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
        * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
        * demos/gtk-demo/Makefile.am, demos/Makefile.am:
        * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
        * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
        * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
        * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
        * modules/engines/ms-windows/Theme/Makefile.am:
        * modules/engines/ms-windows/Makefile.am:
        * modules/engines/Makefile.am,  modules/engines/pixbuf/Makefile.am:
        * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
        * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
        * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
        * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
        * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
	include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.



svn path=/trunk/; revision=19033
2007-11-22 14:38:26 +00:00
Matthias Clasen
ae85b9619a Use G_DEFINE_TYPE (#469341, Björn Lindqvist)
2007-11-20  Matthias Clasen  <mclasen@redhat.com>

        * gdk-pixbuf-animation.c: Use G_DEFINE_TYPE (#469341,
        Björn Lindqvist)



svn path=/trunk/; revision=19016
2007-11-21 04:12:13 +00:00
Bastien Nocera
9e0b0194ed Add support for 512x512 Leopard icons, using the ic09 iconType
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-20 11:15:12 +00:00
Bastien Nocera
18d12ffe75 add support for conditional icns gdk-pixbuf loader (Closes: #395738)
2007-11-20  Bastien Nocera  <hadess@hadess.net>

	* configure.in: add support for conditional icns gdk-pixbuf loader
	(Closes: #395738)

2007-11-20  Bastien Nocera  <hadess@hadess.net>

	* Makefile.am:
	* io-icns.c: Add icns (MacOS X icons) loader, based on work by
	Lyonel Vincent <lyonel@ezix.org> (Closes: #395738)


svn path=/trunk/; revision=19007
2007-11-20 10:26:57 +00:00
Matthias Clasen
0b9863c1fc Avoid unaligned accesses that cause problems on some architectures. (patch
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-11-11 03:24:06 +00:00
Matthias Clasen
b7f048b18c 2.12.1
svn path=/trunk/; revision=18924
2007-10-17 05:05:49 +00:00
Matthias Clasen
365e7efc35 Use better magic. (#339877, Bastien Nocera)
2007-10-16  Matthias Clasen  <mclasen@redhat.com>

        * io-wbmp.c: Use better magic.  (#339877, Bastien Nocera)



svn path=/trunk/; revision=18915
2007-10-16 18:42:04 +00:00
Matthias Clasen
bebbf23f22 2.12.0
svn path=/trunk/; revision=18820
2007-09-14 00:56:57 +00:00
Matthias Clasen
58899b1097 Fix a memory leak
svn path=/trunk/; revision=18805
2007-09-13 05:21:42 +00:00
Matthias Clasen
cd82e9786a Fix some possible crashes. (#468832, Michal Luczaj)
2007-09-08  Matthias Clasen  <mclasen@redhat.com>

        * io-ani.c: Fix some possible crashes.  (#468832, Michal Luczaj)



svn path=/trunk/; revision=18759
2007-09-08 05:16:03 +00:00
Matthias Clasen
6cbb692835 Fix a crash
svn path=/trunk/; revision=18746
2007-09-07 05:45:41 +00:00
Björn Lindqvist
95a708a9e7 Note in docstrings that these two functions does not preserve the source
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-08-16 22:24:59 +00:00
Matthias Clasen
22f1a7f918 Add forgotten release markers
svn path=/trunk/; revision=18519
2007-07-21 13:12:48 +00:00
Tim Janik
daa2251ab0 docu fixes from Guillaume Cottenceau, #454596.
Sat Jul  7 17:34:33 2007  Tim Janik  <timj@gtk.org>

        * gdk-pixbuf-scale.c: docu fixes from Guillaume Cottenceau, #454596.



svn path=/trunk/; revision=18390
2007-07-07 15:35:32 +00:00
Michael J. Chudobiak
695e95e68f Added a comment to explain the signal used to stop parsing early.
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-06 11:50:28 +00:00
Matthias Clasen
d2c4ba3639 Try again to make gdk_pixbuf_get_file_info work for tiff images
svn path=/trunk/; revision=18384
2007-07-05 20:16:59 +00:00
Tor Lillqvist
d18953ca2b Use GDK_PIXBUF_DEP_LIBS instead of GDK_PIXBUF_EXTRA_LIBS here, too.
2007-07-04  Tor Lillqvist  <tml@novell.com>

	* pixops/Makefile.am (timescale_LDADD): Use GDK_PIXBUF_DEP_LIBS
	instead of GDK_PIXBUF_EXTRA_LIBS here, too. 


svn path=/trunk/; revision=18381
2007-07-04 12:40:56 +00:00
Matthias Clasen
cf12fd0de5 Always set an error when returning NULL. (453365, Michael Chudobiak)
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 18:22:22 +00:00
Matthias Clasen
44f7b0657b Be more careful when calling g_propagate_error(). (#453365, Michael
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-03 16:29:58 +00:00
Matthias Clasen
ce66d46183 2.11.5
svn path=/trunk/; revision=18345
2007-07-02 22:24:39 +00:00
Matthias Clasen
b863097016 Document the "orientation" option.
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-07-02 14:47:45 +00:00
Matthias Clasen
06508e8d00 2.11.4
svn path=/trunk/; revision=18192
2007-06-19 16:55:25 +00:00
Matthias Clasen
a8fc5b41a4 2.11.3
svn path=/trunk/; revision=18154
2007-06-16 02:02:37 +00:00
Hans Breuer
b2dea46b69 updated use g_snprintf
2007-06-15  Hans Breuer  <hans@breuer.org>

	* makefile.msc : updated
	* io-jpeg.c : use g_snprintf


svn path=/trunk/; revision=18139
2007-06-15 15:18:48 +00:00
Behdad Esfahbod
d6061b54e2 Fix out-of-bound access. (#440918, Matthias Kilian)
2007-06-12  Behdad Esfahbod  <behdad@gnome.org>

        * io-pnm.c (explode_bitmap_into_buf): Fix out-of-bound access.
        (#440918, Matthias Kilian)


svn path=/trunk/; revision=18110
2007-06-12 05:40:13 +00:00
Matthias Clasen
9c9e5dab9f 2.11.2
svn path=/trunk/; revision=18057
2007-06-06 13:40:24 +00:00
Matthias Clasen
0f4d0f8e62 2.11.1
svn path=/trunk/; revision=18027
2007-06-04 17:01:14 +00:00
Chris Wilson
de42416ac2 Supply the current GError for fatal_error_handler(). (#441443)
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
2007-05-30 16:11:48 +00:00
Matthias Clasen
6921206dd8 2.11.0
svn path=/trunk/; revision=17903
2007-05-24 05:51:56 +00:00
Matthias Clasen
c3bbd06de3 Fix make check
svn path=/trunk/; revision=17897
2007-05-23 14:02:14 +00:00
Michael J. Chudobiak
d11535037e Bump libtiff requirement to 3.6.0, by requiring presence of
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
2007-05-18 14:19:47 +00:00
Brian Cameron
94dcec33c1 Add Sun mediaLib support so that hardware acceleration via mediaLib is
2007-05-16  Brian Cameron  <brian.cameron@sun.com>

        * acconfig.h, configure.in, gdk/Makefile.am, gdkprivate.h, gdkrgb.c,
          gdkdraw.c, gdk-pixbuf/gdk-pixbuf-scale.c,
          gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/pixops/pixops.[ch],
          gdk-pixbuf/pixops/timescale.c:  Add Sun mediaLib support so that
          hardware acceleration via mediaLib is enabled if mediaLib is
          detected via configure.  Enhancement request #344813.  I was given
          permission to commit in the bug report by Matthias Clasen.
        * gdk/medialib.[ch]: New files added for mediaLib support.
        * docs/reference/gdk-pixbuf/tmpl/scaling.sgml,
          docs/reference/gdk/tmpl/rgb.sgml, gdk/gdkdraw.c:  Add docs for
          mediaLib support.

svn path=/trunk/; revision=17855
2007-05-16 01:35:51 +00:00
Matthias Clasen
4a37a344c1 Remove a pointless check from the previous commit that added a new string.
2007-04-29  Matthias Clasen <mclasen@redhat.com>

        * io-jpeg.c: Remove a pointless check from the previous
        commit that added a new string.



svn path=/trunk/; revision=17714
2007-04-29 18:39:59 +00:00
Matthias Clasen
793ed9c2c6 Accept unknown parameters with a warning when saving. (#405539, Daniel
2007-04-28  Matthias Clasen <mclasen@redhat.com>

        * io-png.c:
        * io-jpeg.c: Accept unknown parameters with a warning
        when saving.  (#405539, Daniel Atallah)



svn path=/trunk/; revision=17673
2007-04-28 14:48:22 +00:00
Matthias Clasen
75efa95acb Don't double the delay time of the first frame. (#431997, Björn
2007-04-25  Matthias Clasen <mclasen@redhat.com>

        * gdk-pixbuf-simple-anim.c (gdk_pixbuf_simple_anim_add_frame):
        Don't double the delay time of the first frame.  (#431997,
        Björn Lindqvist)



svn path=/trunk/; revision=17634
2007-04-25 14:38:47 +00:00
Matthias Clasen
fe1bf90e92 Chain up. (#433125, Christian Persch)
2007-04-25  Matthias Clasen <mclasen@redhat.com>

        * gdk-pixbuf-scaled-anim.c (gdk_pixbuf_scaled_anim_iter_finalize):
        Chain up.  (#433125, Christian Persch)



svn path=/trunk/; revision=17632
2007-04-25 13:57:16 +00:00
Tim Janik
8a78c744e1 applied JPEG loader fix from maemo. this fix makes sure stop_load()
Wed Mar 28 15:27:35 2007  Tim Janik  <timj@imendio.com>

        * io-jpeg.c: applied JPEG loader fix from maemo. this fix makes sure
        stop_load() doesn't forget about its return value, and it pulls the
        check for infinite looping out of an else branch in load_increment()
        so it runs unconditionally, fixes #397643.



svn path=/trunk/; revision=17567
2007-03-28 13:29:17 +00:00
Matthias Clasen
82ce59cd0f Remove unnecessary NULL checks before g_free(). (#369666, Morten Welinder,
2007-03-09  Matthias Clasen <mclasen@redhat.com>

        * Everywhere: Remove unnecessary NULL checks before
        g_free().  (#369666, Morten Welinder, Djihed Afifi)

        * configure.in: Check for ftw.h



svn path=/trunk/; revision=17444
2007-03-09 21:57:37 +00:00
Matthias Clasen
4cd640f72c Implement scaling for animations
svn path=/trunk/; revision=17430
2007-03-08 16:21:09 +00:00
Tor Lillqvist
af11ec647f gdk/Makefile.am gdk-pixbuf/Makefile.am Further fixes for building on Win32
2007-03-06  Tor Lillqvist  <tml@novell.com>

	* gdk/Makefile.am
	* gdk-pixbuf/Makefile.am
	* gtk/Makefile.am: Further fixes for building on Win32 outside
	srcdir. (#413492, Mathias Hasselmann)


svn path=/trunk/; revision=17395
2007-03-06 09:52:35 +00:00
Matthias Clasen
3bffda30fd Flip some more images
svn path=/trunk/; revision=17393
2007-03-06 04:16:24 +00:00
Felix Riemann
07224aa7ba Add image/x-ico to supported mime types. Fixes bug #393599.
2007-02-27  Felix Riemann  <friemann@svn.gnome.org>

	* io-ico.c: (fill_info): Add image/x-ico to supported mime types.
	Fixes bug #393599.

svn path=/trunk/; revision=17361
2007-02-27 19:28:28 +00:00
Matthias Clasen
14dab9515d Fix a leak in an error path
svn path=/trunk/; revision=17306
2007-02-16 05:32:59 +00:00
Chris Wilson
74747e38c9 Set the GError if the image is zero length. (#405327)
2007-02-07  Chris Wilson  <chris@chris-wilson.co.uk>

	* io-jpeg.c: (gdk_pixbuf__jpeg_image_load),
	(gdk_pixbuf__jpeg_image_load_increment): Set the GError
	if the image is zero length. (#405327)


svn path=/trunk/; revision=17272
2007-02-07 14:47:36 +00:00
Matthias Clasen
aef468ebbf Protect against stop_load begin broken. (#403255, Lucas Mazzardo Veloso)
2007-02-06  Matthias Clasen  <mclasen@redhat.com>

        * gdk-pixbuf-loader.c (gdk_pixbuf_loader_close): Protect
        against stop_load begin broken.  (#403255, Lucas Mazzardo Veloso)



svn path=/trunk/; revision=17267
2007-02-06 13:56:06 +00:00
Matthias Clasen
a236fb7a26 Fix error reporting in the gif loader
svn path=/trunk/; revision=17197
2007-01-21 17:27:23 +00:00
Tor Lillqvist
f1ce05caa9 gdk-pixbuf/Makefile.am gdk/Makefile.am gdk/win32/Makefile.am Fixes for
2007-01-18  Tor Lillqvist  <tml@novell.com>

	* gdk-pixbuf/Makefile.am
	* gdk/Makefile.am
	* gdk/win32/Makefile.am
	* gtk/Makefile.am: Fixes for building outside srcdir on
	Win32. (#336819, #340113) Drop distributing the handmade .la
	libtool wrapper for the wntab32x library. It's too much trouble
	making it work when building outside srcdir. Just link to the
	library direcly using -Wl,win32/libwntab32x.a.


svn path=/trunk/; revision=17185
2007-01-19 00:06:01 +00:00
Michael Natterer
852e8c1729 Patch taken from maemo-gtk:
2007-01-17  Michael Natterer  <mitch@imendio.com>

	Patch taken from maemo-gtk:

	* io-png.c (png_text_to_pixbuf_option): don't call g_convert() on
	ASCII strings.

	(png_info_callback): set an error when the size_func would scale
	the pixbuf away completely.


svn path=/trunk/; revision=17179
2007-01-17 14:07:01 +00:00
Matthias Clasen
5a119668b1 Fix memory leaks in error paths
svn path=/trunk/; revision=17165
2007-01-17 04:24:00 +00:00
Matthias Clasen
c0614d3aa8 Another forgotten file
svn path=/trunk/; revision=17067
2007-01-04 15:07:28 +00:00
Matthias Clasen
b298dfbe8f Fix a compiler warning
svn path=/trunk/; revision=17061
2007-01-04 14:18:14 +00:00
Matthias Clasen
030a61a931 Handle bmps with more than 8 bits per channel. (#172584, David Costanzo)
2006-12-22  Matthias Clasen  <mclasen@redhat.com>

        * io-bmp.c (decode_bitmasks): Handle bmps
        with more than 8 bits per channel.  (#172584,
        David Costanzo)
2006-12-22 06:19:38 +00:00
Matthias Clasen
21e120cc44 Handle offsets more carefully. (#172188, David Costanzo)
2006-12-22  Matthias Clasen  <mclasen@redhat.com>

        * io-bmp.c: Handle offsets more carefully. (#172188,
        David Costanzo)

        * io-bmp.c: Handle v5 and OS/2 v2 bmps.

        * io-bmp.c: Handle alpha masks in v4 and v5 bmps.
2006-12-22 06:01:28 +00:00
Matthias Clasen
1db5905b38 Emit the closed signal when closing the loader, pointed out by David
2006-12-21  Matthias Clasen  <mclasen@redhat.com>

        * gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): Emit
        the closed signal when closing the loader, pointed out
        by David Necas.
2006-12-22 03:14:31 +00:00
Matthias Clasen
f750eb2f17 Handle invalid gif animations a little bit more robustly. (#357974,
* io-gif.c (gif_get_lzw): Handle invalid gif animations
        a little bit more robustly.  (#357974, Vassilis Pandis,
        patch by Felix Riemann)
2006-12-21 23:27:01 +00:00
Matthias Clasen
0f1bed1d74 Remove redundant size checks, and document that width, height must be > 0.
2006-12-21  Matthias Clasen  <mclasen@redhat.com>

        * gdk-pixbuf-data.c (gdk_pixbuf_new_from_data):
        * gdk-pixbuf.c (gdk_pixbuf_new): Remove redundant size
        checks, and document that width, height must be > 0.
        (#343330, Felix Riemann)
2006-12-21 20:40:24 +00:00
Matthias Clasen
c35978a370 Link against GLib. (#341158, Alexey Rusakov)
2006-12-21  Matthias Clasen  <mclasen@redhat.com>

        * Makefile.am: Link against GLib.  (#341158, Alexey Rusakov)
2006-12-21 17:00:59 +00:00
Matthias Clasen
2148567e8a Don't spew a warning if the printer is already closed.
2006-12-19  Matthias Clasen  <mclasen@redhat.com>

        * gdk-pixbuf-loader.c (gdk_pixbuf_loader_close): Don't
        spew a warning if the printer is already closed.
2006-12-19 20:45:04 +00:00
Matthias Clasen
b8756357f3 Behave as documented and close the loader when returning FALSE.
2006-12-09  Matthias Clasen  <mclasen@redhat.com>

        * gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): Behave as
        documented and close the loader when returning FALSE.
2006-12-10 04:25:46 +00:00
Tor Lillqvist
957d8c2fda pixbufloader_*.def Remove pixbufloader_*.def, they are not used. (#365388)
2006-10-29  Tor Lillqvist  <tml@novell.com>

	* pixbufloader_*.def
	* Makefile.am (EXTRA_DIST): Remove pixbufloader_*.def, they are
	not used. (#365388) They were all identical, and exported just two
	symbols, so if somebody needs them for a MSVC build that doesn't
	use built-in modules it's trivial to hack makefile.msc to produce
	a common .def file for the loaders. The two symbols that need to
	be exported are fill_info and fill_vtable.
2006-10-28 23:37:18 +00:00
Tor Lillqvist
f6783c7466 Enable having some gdk-pixbuf loaders built-in even if loading the others
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.
2006-10-11 12:41:14 +00:00
Matthias Clasen
7d5ca7dd46 fix the build 2006-10-08 14:09:39 +00:00
Matthias Clasen
241ff0b6bd Cleanups 2006-10-08 05:32:07 +00:00
Matthias Clasen
07e7719441 Apply a cleanup patch by Kjartan Maraas (#341812)
2006-10-08  Matthias Clasen  <mclasen@redhat.com>

	* Apply a cleanup patch by Kjartan Maraas  (#341812)
2006-10-08 05:07:55 +00:00
Behdad Esfahbod
1f33657330 Include pltcheck.sh in EXTRA_DIST.
2006-10-02  Behdad Esfahbod  <behdad@gnome.org>

        * gdk-pixbuf/Makefile.am:
        * gdk/Makefile.am:
        * gtk/Makefile.am:
        Include pltcheck.sh in EXTRA_DIST.
2006-10-02 18:02:15 +00:00
Matthias Clasen
f45a35921a Commit a patch by Behdad to fix typos, omissions and other errors in the
2006-09-10  Matthias Clasen  <mclasen@redhat.com>

        * Commit a patch by Behdad to fix typos, omissions and other
        errors in the symbol aliasing, and add checks for local PLT
        entries.  (#354687, Behdad Esfahbod)
2006-09-10 06:39:16 +00:00
Behdad Esfahbod
937d8fb7eb Update 2006-09-06 20:28:13 +00:00
Matthias Clasen
0fd13c5f75 Fix the last change to actually compile. 2006-09-06 13:38:25 +00:00
Matthias Clasen
f3b20fedf9 Simplify and fix reading of ASCII images.
2006-09-06  Matthias Clasen  <mclasen@redhat.com>

	* io-pnm.c: Simplify and fix reading of ASCII images.
2006-09-06 05:11:20 +00:00
Matthias Clasen
0c2a4ec42e 2.10.2 2006-08-18 04:34:21 +00:00
Matthias Clasen
b34a2576d1 Stop loading an animation if the first frame is complete. (#350911,
2006-08-16  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file_at_scale):
	Stop loading an animation if the first frame is complete.
	(#350911, Christian Neumair)
2006-08-16 06:01:09 +00:00
Matthias Clasen
fe03813226 2.10.1 2006-07-24 02:02:14 +00:00
Matthias Clasen
c48afeca8a Put the code to protect against broken loaders that forget to set error in
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)
2006-07-17 02:37:29 +00:00
Matthias Clasen
b8b28b6782 Fix incremental loading of xbms. (#346427, Ed Catmur) Also make the xbm
2006-07-16  Matthias Clasen  <mclasen@redhat.com>

	* io-xbm.c: Fix incremental loading of
	xbms.  (#346427, Ed Catmur)
	Also make the xbm loader accept const variations.
2006-07-17 01:57:56 +00:00
Matthias Clasen
d36cff3258 2.10.0 2006-07-03 06:07:00 +00:00
Matthias Clasen
242ecccb64 NetBSD portability fixes. (#346374, Thomas Klausner)
* pixops/*.S: NetBSD portability fixes.  (#346374,
        Thomas Klausner)
2006-07-02 15:28:33 +00:00
Matthias Clasen
01c092c00c broken pipe 2006-06-22 02:29:37 +00:00
Matthias Clasen
f57bc65191 2.9.3 2006-06-13 05:15:01 +00:00
Matthias Clasen
b2cbfe66a4 2.9.2 2006-06-05 19:33:40 +00:00
Matthias Clasen
62bf624d84 2.9.1 2006-05-17 00:33:57 +00:00
Matthias Clasen
113f364a37 More of the same 2006-05-14 04:25:34 +00:00
Matthias Clasen
2fba613b4d 2.9.0 2006-05-05 16:21:19 +00:00
Matthias Clasen
340e710fc3 modules/engines/pixbuf/Makefile.am Build fixes for Cygwin. (#338262)
2006-04-12  Matthias Clasen  <mclasen@redhat.com>

        * contrib/gdk-pixbuf-xlib/Makefile.am:
        * modules/engines/pixbuf/Makefile.am
        * gdk-pixbuf/Makefile.am: Build fixes for Cygwin.  (#338262)
2006-04-12 19:48:27 +00:00
Matthias Clasen
7d49b31a79 Use G_DEFINE_TYPE 2006-04-04 13:35:59 +00:00
Matthias Clasen
9c0f0bb451 Small savings 2006-04-04 04:14:17 +00:00
Matthias Clasen
9e4fe9ded3 Remove a pointless check, pointed out by Kjartan Maraas.
2006-03-24  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): Remove a
	pointless check, pointed out by Kjartan Maraas.
2006-03-24 15:53:22 +00:00
Matthias Clasen
8f069d7bfc Add some documentation about supported image formats, and how to find out
2006-03-22  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-loader.c: Add some documentation about
	supported image formats, and how to find out about them.
	(#335536, Murray Cumming)
2006-03-22 20:33:50 +00:00
Matthias Clasen
2d281ed53d Always save errno to a temporary before making other calls. (#335179,
2006-03-20  Matthias Clasen  <mclasen@redhat.com>

        * gdk-pixbuf-animation.c:
        * gdk-pixbuf-io.c:
        * io-xpm.c:
        * io-xbm.c:
        * io-gif.c: Always save errno to a temporary before making
        other calls.  (#335179, Morten Welinder)
2006-03-20 20:09:51 +00:00
Matthias Clasen
33b9a8d19b Add a shortcut to stop the gif mainloop after the first frame, if that is
2006-03-14  Matthias Clasen  <mclasen@redhat.com>

	* io-gif.c (gdk_pixbuf__gif_image_load): Add a shortcut
	to stop the gif mainloop after the first frame, if that
	is all we are interested in.  (#334538)
2006-03-14 21:32:16 +00:00
Matthias Clasen
9907ebb2ce Support 16bit pnms 2006-03-03 17:19:27 +00:00
Matthias Clasen
f6a3f23914 Fix incremental loading of 8-bit pcx files. (#148518, Magnus Bergmann)
2006-03-03  Matthias Clasen  <mclasen@redhat.com>

	* io-pcx.c (pcx_load_palette_8): Fix incremental loading
	of 8-bit pcx files.  (#148518, Magnus Bergmann)
2006-03-03 05:42:06 +00:00
Anders Carlsson
38089f4344 Update documentation now that tiff supports saving.
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.
2006-02-28 09:48:49 +00:00
Matthias Clasen
d47f64aca9 Always check for NULL when using callbacks. (#330563, Benjamin Otte)
2006-02-10  Matthias Clasen  <mclasen@redhat.com>

        * io-jpeg.c:
        * io-png.c:
        * io-pnm.c:
        * io-tiff.c:
        * io-xbm.c:
        * io-xpm.c: Always check for NULL when using callbacks.
        (#330563, Benjamin Otte)
2006-02-10 19:02:38 +00:00
Behdad Esfahbod
6a66c972ca If major.minor of required and available glib versions are the same, add
2006-01-28  Behdad Esfahbod  <behdad@gnome.org>

        * configure.in: If major.minor of required and available glib versions
        are the same, add -DG_DISABLE_DEPRECATED to GLIB_CFLAGS. (bug #328617)

        * */Makefile.am: Remove hardcoded -DG_DISABLE_DEPRECATED.
2006-01-29 04:00:45 +00:00
Matthias Clasen
1e05106801 Fix several g_new() calls which were using extra indirections or pointless
2006-01-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkrbtree.c:
	* gtk/gtktreemodel.c: Fix several g_new() calls which
	were using extra indirections or pointless casts.
	(#327423, Morten Welinder)
2006-01-18 05:23:24 +00:00
Matthias Clasen
fcfefedd44 Make this work on more platforms.
2006-01-13  Matthias Clasen  <mclasen@redhat.com>

	* */abicheck.sh: Make this work on more platforms.
2006-01-14 04:45:22 +00:00
Federico Mena Quintero
21f89fcbf7 Clarify the docs ("darkened/brightened" is not "saturation").
2006-01-12  Federico Mena Quintero  <federico@ximian.com>

	* gdk-pixbuf-util.c (gdk_pixbuf_saturate_and_pixelate): Clarify
	the docs ("darkened/brightened" is not "saturation").
2006-01-12 20:19:06 +00:00
Jonathan Blandford
4faad6e726 minor doc edit 2005-12-30 06:02:04 +00:00
Matthias Clasen
0a876523eb Use G_MODULE_BIND_LAZY when opening modules.
2005-12-16  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilesystem.c (gtk_file_system_module_load):
	* gtk/gtkimmodule.c (gtk_im_module_load):
	* gtk/gtkthemes.c (gtk_theme_engine_load):
	* gtk/gtkmodules.c (find_module): Use G_MODULE_BIND_LAZY when
	opening modules.
2005-12-16 19:06:09 +00:00
Michael Natterer
c151ab9c67 Move stuff to correct ChangeLog. 2005-12-14 16:37:52 +00:00
Michael Natterer
e675ca627f new utility function which factors out massive code duplication from the
2005-12-14  Michael Natterer  <mitch@imendio.com>

	* gdk-pixbuf/io-jpeg.c (gdk_pixbuf__jpeg_image_load_lines): new
	utility function which factors out massive code duplication from
	the commit below.
2005-12-14 13:58:02 +00:00
Michael Natterer
49e4882358 applied patch from maemo-gtk which avoids the allocation of an
2005-12-14  Michael Natterer  <mitch@imendio.com>

	* gdk-pixbuf/io-jpeg.c: applied patch from maemo-gtk which avoids
	the allocation of an intermediate buffer for non-progressive
	jpegs. Fixed bug #305894.

	* tests/test-images/valid_jpeg_progressive_test: new test image so
	we can test both loading code paths in io-jpeg.c
2005-12-14 12:47:49 +00:00
Matthias Clasen
868c9a85d7 Fix integer overflows in the xpm loader 2005-11-15 15:59:05 +00:00
Matthias Clasen
d2a58a39bd use $(GLIB_MKENUMS) instead of glib-mkenums. (#318582, Damien Carbery)
2005-10-26  Matthias Clasen  <mclasen@redhat.com>

        * */Makefile.am: use $(GLIB_MKENUMS) instead of
        glib-mkenums.  (#318582, Damien Carbery)
2005-10-26 18:01:05 +00:00
Matthias Clasen
e3bf16ec14 Only call gdk_pixbuf_loader_eat_header_write() when count > 0. (#318589,
2005-10-12  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): Only call
	gdk_pixbuf_loader_eat_header_write() when count > 0.  (#318589,
	Bogdan Nicula)
2005-10-12 13:49:26 +00:00
Matthias Clasen
73a27a3cee Use a 1k buffer for sniffing image formats, instead of 128 or 256 bytes.
2005-10-03  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file):
	* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file):
	* gdk-pixbuf-loader.c: Use a 1k buffer for sniffing image formats,
	instead of 128 or 256 bytes.  (#317225, Sebastien Bacher,
	Dom Lachowicz)
2005-10-03 15:07:35 +00:00