Commit Graph

812 Commits

Author SHA1 Message Date
Matthias Clasen
fb5722ca96 2.15.5
svn path=/trunk/; revision=22448
2009-03-02 20:42:08 +00:00
Matthias Clasen
d5a09342c4 If pure sniffing yields uncertain results, try again with the filename.
* gdk-pixbuf-io.c (_gdk_pixbuf_get_module): If pure sniffing
        yields uncertain results, try again with the filename.
        Patch by Tyler Lawson


svn path=/trunk/; revision=22433
2009-03-01 07:39:03 +00:00
Matthias Clasen
a0f8f37c37 2.15.4
svn path=/trunk/; revision=22350
2009-02-17 22:25:41 +00:00
Matthias Clasen
ebb342a246 2.15.3
svn path=/trunk/; revision=22273
2009-02-03 01:55:28 +00:00
Matthias Clasen
b447ac1be4 2.15.2
svn path=/trunk/; revision=22231
2009-01-27 05:51:23 +00:00
Matthias Clasen
3bb7c153f8 2.15.1
svn path=/trunk/; revision=22202
2009-01-23 23:03:59 +00:00
Tor Lillqvist
834b19f46d Bug 568305 - gdk-pixbuf mishandles BI_BITFIELDS bmps
2009-01-19  Tor Lillqvist  <tml@iki.fi>

	Bug 568305 - gdk-pixbuf mishandles BI_BITFIELDS bmps

	* io-bmp.c (OneLine32): Use unsigned variables so that we can
	right-shift them without risk of sign extension. Don't "reverse"
	the alpha value, actually storing 0xFF-alpha, but use it as such.


svn path=/trunk/; revision=22172
2009-01-22 09:45:58 +00:00
Tor Lillqvist
c1e67e994c Bug 164002 - query scripts don't work uninstalled on windows
2009-01-12  Tor Lillqvist  <tml@iki.fi>

	Bug 164002 - query scripts don't work uninstalled on windows

	* queryloaders.c (main): Use the configure-time PIXBUF_LIBDIR if
	the exe is located in a .libs folder, i.e. run in the build
	directory through a libtool wrapper script or wrapper executable,
	or in the source folder itself. Otherwise continue to infer the
	runtime prefix from the exe's location.

2009-01-12  Tor Lillqvist  <tml@iki.fi>

	* queryloaders.c (main): Remove the Win9x code path. It had been
	left by mistake. Win9x code is gone from the rest of GTK+ since
	2.12.


svn path=/trunk/; revision=22106
2009-01-13 11:17:25 +00:00
Matthias Clasen
54000d0ede Bug 566862 – pixbuf_new_from_file does not autodetect format
2009-01-07  Matthias Clasen  <mclasen@redhat.com>

        Bug 566862 – pixbuf_new_from_file does not autodetect format

        * gdk-pixbuf-io.c (_gdk_pixbuf_get_module): Go back to sniffing
        without looking at the filename, to avoid breaking expected
        functionality.


svn path=/trunk/; revision=22073
2009-01-07 15:02:33 +00:00
Matthias Clasen
c885c8afd2 2.15.0
svn path=/trunk/; revision=22037
2009-01-01 22:24:56 +00:00
Christian Dywan
2dea920895 Bug 561186 – GdkPixbuf API type checking needs cleanup
2008-11-30  Christian Dywan  <christian@imendio.com>

	Bug 561186 – GdkPixbuf API type checking needs cleanup

	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_write),
	(gdk_pixbuf_loader_get_pixbuf), (gdk_pixbuf_loader_get_animation),
	(gdk_pixbuf_loader_close), (gdk_pixbuf_loader_get_format):
	* gdk-pixbuf-scale.c (gdk_pixbuf_scale), (gdk_pixbuf_composite),
	(gdk_pixbuf_composite_color), (gdk_pixbuf_scale_simple),
	(gdk_pixbuf_composite_color_simple):
	* gdk-pixbuf-simple-anim.c (gdk_pixbuf_simple_anim_add_frame):
	* gdk-pixbuf-util.c (gdk_pixbuf_add_alpha),
	(gdk_pixbuf_apply_embedded_orientation):
        Improve type checking in pixbuf API

svn path=/trunk/; revision=21832
2008-11-30 05:22:03 +00:00
Matthias Clasen
e74968f8ef Bug 555791 – Natuilus Crashes when opening USB MP3 Player Contents
2008-10-13  Matthias Clasen  <mclasen@redhat.com>

        Bug 555791 – Natuilus Crashes when opening USB MP3 Player Contents

        * io-tga.c (gdk_pixbuf__tga_stop_load): Don't segfault on
        short files.
        Problem reported by Pedro Villavicencio


svn path=/trunk/; revision=21643
2008-10-13 14:18:40 +00:00
Tor Lillqvist
669baea0ff Don't #define _GNU_SOURCE on Windows as it confuses newest mingw headers.
2008-10-01  Tor Lillqvist  <tml@novell.com>

	* io-icns.c: Don't #define _GNU_SOURCE on Windows as it confuses
	newest mingw headers.


svn path=/trunk/; revision=21555
2008-10-01 10:43:02 +00:00
13:28:23 Tim Janik
69be45d1d4 prevent RLE encoding of 1x1 pixel images, since the encoder comparison
2008-09-23 13:28:23  Tim Janik  <timj@imendio.com>

        * gdk-pixdata.c: prevent RLE encoding of 1x1 pixel images, since the
        encoder comparison operator requires at least 2 pixels, fixes #553374:
        Bug 553374 - gdk_pixdata_from_pixbuf fails for some images with use_rle set to TRUE


svn path=/trunk/; revision=21497
2008-09-23 11:30:35 +00:00
Matthias Clasen
661fbdfa26 Plug a small memory leak
svn path=/trunk/; revision=21451
2008-09-19 14:34:22 +00:00
Dominic Lachowicz
b559c7dacc Fix 2 cases where we leaked a GpImage (#552545)
2008-09-18  Dominic Lachowicz  <domlachowicz@gmail.com>

        * io-gdip-utils.c: Fix 2 cases where we leaked a GpImage (#552545)


svn path=/trunk/; revision=21426
2008-09-18 14:30:43 +00:00
Matthias Clasen
3a6b0693b9 2.14.2
svn path=/trunk/; revision=21420
2008-09-18 04:30:42 +00:00
Tor Lillqvist
4125df1d8e gdk-pixbuf/gdk-pixbuf-io.c Don't use the deprectated
2008-09-13  Tor Lillqvist  <tml@novell.com>

	* gdk-pixbuf/gdk-pixbuf-io.c
	* gtk/gtkmain.c: Don't use the deprectated
	g_win32_get_package_installation_directory() and
	g_win32_get_package_installation_subdirectory() functions. Use
	g_win32_get_package_installation_directory_of_module()
	instead. Also, don't use the deprecated silly
	G_WIN32_DLLMAIN_FOR_DLL_NAME macro, but an explicit minimal
	DllMain() that just saves the DLL handle.


svn path=/trunk/; revision=21381
2008-09-13 19:31:29 +00:00
Tor Lillqvist
b2dff511d3 gdk-pixbuf/gdk-pixbuf-io.c Do as the docs for
2008-09-13  Tor Lillqvist  <tml@novell.com>

	* gdk-pixbuf/gdk-pixbuf-io.c
	* gtk/gtkmain.c: Do as the docs for
	g_win32_get_package_installation_directory() say and pass NULL as
	the first parameter.


svn path=/trunk/; revision=21379
2008-09-13 09:19:03 +00:00
Matthias Clasen
d8f4295267 Plug a small memory leak in an error path
svn path=/trunk/; revision=21313
2008-09-07 21:37:34 +00:00
Matthias Clasen
827b7e6f66 Bug 517233 – Calling gdk_pixbuf_loader_close causes "GError set over the
2008-09-06  Matthias Clasen  <mclasen@redhat.com>

        Bug 517233 – Calling gdk_pixbuf_loader_close causes "GError set over
        the top of a previous GError" warning

        * gdk-pixbuf-loader.c (gdk_pixbuf_loader_close): Don't overwrite
        errors. Reported by Andrey Tsyvarev


svn path=/trunk/; revision=21309
2008-09-07 05:19:29 +00:00
Sebastien Bacher
1e3251a26e bug 550969 - fix a typo which breaks the static build
2008-09-05  Sebastien Bacher  <seb128@ubuntu.com>

	* gdk-pixbuf-io.c: (gdk_pixbuf_load_module_unlocked):
	bug 550969 - fix a typo which breaks the static build

svn path=/trunk/; revision=21303
2008-09-05 20:52:40 +00:00
Matthias Clasen
21a153f172 2.14.1
svn path=/trunk/; revision=21296
2008-09-05 02:33:53 +00:00
Matthias Clasen
956f834939 Fix a deadlock in pixbuf loader initialization
svn path=/trunk/; revision=21295
2008-09-05 01:01:22 +00:00
Matthias Clasen
10b98d572c 2.14.0
svn path=/trunk/; revision=21290
2008-09-04 16:56:51 +00:00
Matthias Clasen
266e482286 Bug 549711 – Race condition when loading gdk-pixbuf image modules
2008-09-03  Matthias Clasen  <mclasen@redhat.com>

        Bug 549711 – Race condition when loading gdk-pixbuf image modules

        * gdk-pixbuf-io.c: Fix a race condition in module loading,
        spotted by Chris Lord.


svn path=/trunk/; revision=21268
2008-09-03 23:12:55 +00:00
Matthias Clasen
e0d3046a7e Fix a typo
svn path=/trunk/; revision=21220
2008-08-28 03:49:25 +00:00
Matthias Clasen
783a4d99ed 2.13.7
svn path=/trunk/; revision=21151
2008-08-19 01:17:29 +00:00
Matthias Clasen
c10ff07d8c Exclude CR2 files in the tiff loader.
svn path=/trunk/; revision=21115
2008-08-14 05:32:58 +00:00
Michael Natterer
5c7030a1ba reorder marshalers for no reason apart from forcing a rebuild of the
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-13 08:26:39 +00:00
Sven Herzberg
1c60b85915 Bug 546549 : Better Type Checking reviewed by: mitch
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
2008-08-08 15:30:22 +00:00
Sven Herzberg
bff6e61aba Bug 546549 : Better Type Checking reviewed by mitch
2008-08-06  Sven Herzberg  <sven@imendio.com>

	Bug 546549 : Better Type Checking
	reviewed by mitch

	* gdk-pixbuf.c (gdk_pixbuf_copy), (gdk_pixbuf_get_colorspace),
	(gdk_pixbuf_get_n_channels), (gdk_pixbuf_get_has_alpha),
	(gdk_pixbuf_get_bits_per_sample), (gdk_pixbuf_get_pixels),
	(gdk_pixbuf_get_width), (gdk_pixbuf_get_height),
	(gdk_pixbuf_get_rowstride): use GDK_IS_PIXBUF() and not pixbuf != NULL
	in g_return_*() statements


svn path=/trunk/; revision=21025
2008-08-06 16:15:31 +00:00
Matthias Clasen
c246a4e7b0 2.13.6
svn path=/trunk/; revision=21015
2008-08-05 18:20:35 +00:00
Tor Lillqvist
a2b0ed658e Pass appropriate -machine flag to lib.exe.
2008-08-04  Tor Lillqvist  <tml@novell.com>

	* Makefile.am: Pass appropriate -machine flag to lib.exe.


svn path=/trunk/; revision=20958
2008-08-03 23:47:52 +00:00
Matthias Clasen
830a9d2710 More correct content type handling
svn path=/trunk/; revision=20897
2008-07-23 04:20:15 +00:00
Matthias Clasen
c3e0a4ea74 2.13.5
svn path=/trunk/; revision=20888
2008-07-22 00:39:10 +00:00
Federico Mena Quintero
0278fdcbc2 Don't do funny casts to avoid compiler warnings
2008-07-18  Federico Mena Quintero  <federico@novell.com>

	* demos/gtk-demo/changedisplay.c (find_toplevel_at_pointer): Don't
	do funny casts to avoid compiler warnings.

	* demos/gtk-demo/textview.c (easter_egg_callback): Likewise.

	* gtk/gtkmain.c (rewrite_event_for_grabs, gtk_get_event_widget): Likewise.

	* gtk/gtkmodules.c (load_module): Likewise.

	* gtk/gtkselection.c (gtk_selection_convert): Likewise.

	* gtk/gtktipsquery.c (gtk_tips_query_event): Likewise.

	* gtk/queryimmodules.c (query_module): Likewise.

	* tests/testgtk.c (create_gridded_geometry, create_key_lookup)
	(find_widget_at_pointer): Likewise.

Signed-off-by: Federico Mena Quintero <federico@novell.com>

svn path=/trunk/; revision=20862
2008-07-18 18:27:30 +00:00
Matthias Clasen
c70c74c9b8 Use gdk_pixbuf_copy_area() to copy between pixbufs. Reported by Andrey
* 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-15 20:35:48 +00:00
Matthias Clasen
1ea43444be test content sniffing capability of gio
svn path=/trunk/; revision=20837
2008-07-15 16:33:24 +00:00
Matthias Clasen
e67da00f16 Improve docs for gdk_pixbuf_new_from_file_at_scale(). Proposed by Juan
* gdk-pixbuf-io.c: Improve docs for gdk_pixbuf_new_from_file_at_scale().
        Proposed by Juan Manuel Palacios


svn path=/trunk/; revision=20828
2008-07-15 02:26:16 +00:00
Matthias Clasen
cf793d109e Use GIO for sniffing image types, except on Win32, where GIO doesn't do
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-07-12 02:37:35 +00:00
Matthias Clasen
40a31e283c 2.13.4
svn path=/trunk/; revision=20783
2008-07-05 20:30:16 +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