ChangeLog 155 KB
Newer Older
Hans Breuer's avatar
Hans Breuer committed
1 2 3 4
2005-02-05  Hans Breuer  <hans@breuer.org>

	* makefile.msc : rule for gdk_pixbuf.def

5 6 7 8 9 10 11 12
2005-02-07  Matthias Clasen  <mclasen@redhat.com>

	* io-pnm.c (pnm_read_next_value): Pass in the max number 
	of bytes to read.
	(pnm_read_ascii_scanline): And use it here to enable 
	parsing of pbm images without whitespace between the 
	pixels.  (#165803, Samuel Hym)

13 14 15 16 17 18 19
2005-01-22  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_new_with_type) 
	(gdk_pixbuf_loader_new_with_mime_type): Close the loader
	before unreffing it in the error case.  (#164915, Crispin 
	Flowerday)

20 21 22 23 24 25 26
2005-01-12  Owen Taylor <otaylor@redhat.com>

	* Makefile.am: 	Use grep | head -n 1 instead of grep -m 1 
	which doesn't work
	with slightly older versions of GNU grep in 
	install-libtool-import-lib rule.

Matthias Clasen's avatar
2.6.1  
Matthias Clasen committed
27 28 29 30
2005-01-08  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.6.1 ===
	
31 32 33 34 35 36
2005-01-04  Matthias Clasen  <mclasen@redhat.com>

	* io-bmp.c (DecodeHeader): Error on compressed images with 
	negative height. Also make uncompressed images with data_offset
	!= header_size work.  (#150664, Owen Taylor)

37 38 39 40 41 42
2005-01-02  Matthias Clasen  <mclasen@redhat.com>

	* pixops/pixops.c (bilinear_box_make_weights): Really fix the
	math to make the vectors sum up to 1, making GDK_INTERP_HYPER
	work again. (#162703, Dennis Nezic)

43 44 45 46 47
2004-12-27  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file) 
	Avoid deadlock. Pointed out by Callum McKenzie.
	
48 49 50 51 52
Wed Dec 22 01:17:44 2004  Jonathan Blandford  <jrb@redhat.com>

	* queryloaders.c (main): print out the version and binary name in
	the header comment.  Problem reported by Seth Nickell.

Matthias Clasen's avatar
2.6.0  
Matthias Clasen committed
53 54 55 56
2004-12-16  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.6.0 ===

Manish Singh's avatar
Manish Singh committed
57 58 59 60
Fri Dec 10 13:57:44 2004  Manish Singh  <yosh@gimp.org>

	* abicheck.sh: filter out PRIVATE.

61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
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.

Matthias Clasen's avatar
2.5.6  
Matthias Clasen committed
89 90 91 92
2004-12-02  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.5.6 ===

93 94 95 96 97
2004-11-30  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-animation.c (gdk_pixbuf_animation_iter_get_pixbuf): 
	Fix a typo in the docs.  (#159955, Masao Mutoh)

98 99 100 101 102
2004-11-29  Matthias Clasen  <mclasen@redhat.com>

	* Makefile.am (gdk-pixbuf-alias.h): Use the perl found by 
	configure.  (#149826, Morten Welinder)

103 104
Sun Nov 28 12:11:21 2004  Manish Singh  <yosh@gimp.org>

105
	* makegdkpixbufalias.pl: Typo fix, so attributes are really
106 107
	propagated.

108 109 110 111 112 113
2004-11-28  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf.symbols: 
	* Makefile.am: Mark get_type() functions generated by glib-mkenums 
	as const.

114 115 116 117
Thu Nov 25 14:21:37 2004  Manish Singh  <yosh@gi,p.org>

	* abicheck.sh: filter out G_GNUC stuff when doing the compare.

118 119 120 121 122 123 124 125 126 127 128 129 130
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.

131 132 133 134 135 136 137
Mon Nov 15 18:58:22 2004  Manish Singh  <yosh@gimp.org>

	* gdk-pixbuf-private.h: _gdk_pixbuf_lock now returns a gboolean.

	* abicheck.sh: don't hardcode lengths for cut, instead split on
	the third field.

Matthias Clasen's avatar
Matthias Clasen committed
138 139
2004-11-15  Matthias Clasen  <mclasen@redhat.com>

140 141 142 143 144 145 146 147
	* gdk-pixbuf-animation.c: 
	* gdk-pixbuf-loader.c: 
	* gdk-pixbuf-io.c: Be extra careful when locking and handle
	the case that the module may initialize the thread system.

	* gdk-pixbuf-io.[hc] (_gdk_pixbuf_lock): Return whether the
	lock was actually taken.

Matthias Clasen's avatar
Matthias Clasen committed
148 149 150 151
	* queryloaders.c (query_module): Set vtable->module before
	calling fill_vtable(), since gdk-pixbuf-io.c does does the
	same and modules may rely on it.  (#158177, Dan Winship)

Matthias Clasen's avatar
2.5.5  
Matthias Clasen committed
152 153
2004-11-12  Matthias Clasen  <mclasen@redhat.com>

154 155 156
	* gdk-pixbuf-io.c (gdk_pixbuf_io_init): Don't use 
	_gdk_pixbuf_load_module_unlocked() in the !USE_GMODULE case.

Matthias Clasen's avatar
2.5.5  
Matthias Clasen committed
157 158
	* === Released 2.5.5 ===
	
159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194
2004-11-12  Matthias Clasen  <mclasen@redhat.com>

	Changes to make gdk-pixbuf threadsafe  (#157310, #157306, 
	Colin Walters):
	
	* gdk-pixbuf-io.h (enum GdkPixbufFormatFlags): Add 
	GDK_PIXBUF_FORMAT_THREADSAFE to indicate that an image loader
	is threadsafe.

	* gdk-pixbuf-io.c (get_file_formats, _gdk_pixbuf_load_module): 
	Use a lock to make initialization of global data structures 
	threadsafe.
	* gdk-pixbuf-private.h: 
	* gdk-pixbuf-io.c (_gdk_pixbuf_lock, _gdk_pixbuf_unlock): 
	Auxiliary functions which use another lock to protect 
	threadunsafe image loaders.
	
	* gdk-pixbuf-io.c (gdk_pixbuf_real_save): 
	(save_to_callback_with_tmp_file): 
	(gdk_pixbuf_real_save_to_callback): 
	(gdk_pixbuf_new_from_xpm_data): 
	(_gdk_pixbuf_generic_image_load): 
	* gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file): 
	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_load_module): 
	(gdk_pixbuf_loader_close): 
	(gdk_pixbuf_loader_finalize): 
	Use _gdk_pixbuf_lock() and _gdk_pixbuf_unlock().

	* io-ani.c, io-bmp.c, io-gif.c, io-ico.c:
	* io-jpeg.c, io-pcx.c, io-png.c, io-pnm.c:
	* io-ras.c, io-tga.c, io-wbmp.c, io-xbm.c:
	* io-xpm.c: Mark as threadsafe.
	
	* io-tiff.c: Remove pointless locking, mark as 
	threadunsafe.

195 196 197 198 199 200
2004-11-10  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-animation.c: 
	* gdk-pixbuf-io.c: Use g_filename_display_name() instead of
	g_filename_to_utf8() when putting filenames in error messages.

201 202 203 204 205
2004-11-04  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf.c (gdk_pixbuf_class_init): Document current
	restrictions for property values.  (#157409, Matthew H. Plough)

206 207 208 209 210
2004-11-01  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-features.h.in: Break the declaration of the three 
	version variables, so that gtk-doc can grok it.

Hans Breuer's avatar
updated  
Hans Breuer committed
211 212 213 214
2004-10-29  Hans Breuer  <hans@breuer.org>

	* makefile.msc : updated

Matthias Clasen's avatar
Matthias Clasen committed
215 216 217 218 219 220 221 222 223
2004-10-27  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.5.4 ===

2004-10-27  Matthias Clasen  <mclasen@redhat.com>

	* Makefile.am (gdk-pixbuf-alias.h): Fix srcdir != builddir
	builds.

Matthias Clasen's avatar
2.5.3  
Matthias Clasen committed
224 225 226 227
2004-09-19  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.5.3 ===

Matthias Clasen's avatar
Matthias Clasen committed
228 229 230 231 232
2004-09-15  Matthias Clasen  <mclasen@redhat.com>

	* io-ico.c: 
	* io-xpm.c: Fix some security issues discovered by Chris Evans. 

233 234 235 236 237
Mon Sep 13 19:31:34 2004  Matthias Clasen  <maclas@gmx.de>

	* io-jpeg.c (real_save_jpeg): Drop the alpha channel 
	when saving 4-channel pixbufs.  (#152450, Emmanuel Pacaud)

238 239 240 241 242
2004-09-09  Matthias Clasen  <mclasen@redhat.com>

	* makegdkpixbufalias.pl: Use the short prefix "IA__" for 
	aliases instead of the long suffix "__internal_alias". 
	
243 244 245 246
2004-09-01  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-core.h: Align argument names with source.

247 248 249 250 251 252 253 254 255
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)

256 257 258 259
Wed Aug 25 17:23:23 2004  Manish Singh  <yosh@gimp.org>

	* io-gif.c: remove unused set_need_recomposite() function.

Matthias Clasen's avatar
2.5.2  
Matthias Clasen committed
260 261 262 263 264 265 266 267 268 269 270 271 272 273
2004-08-25  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.5.2 ===

	* abicheck.sh: Make work in make distcheck.

2004-08-25  Matthias Clasen  <mclasen@redhat.com>

	* Makefile.am: Use the same prefix when creating 
	gdk-pixbuf-marshal.c and gdk-pixbuf-marshal.h

	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_class_init): _-prefix
	the marshalers.

274 275
2004-08-24  Matthias Clasen  <mclasen@redhat.com>

276
	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_new_with_mime_type): Use
277 278
	the correct index and compare correctly, reported by Tommi Komulainen.
	(gdk_pixbuf_loader_new_with_mime_type): 
279

280 281 282 283
	* gdk-pixdata.c (gdk_pixdata_from_pixbuf): Work around bugs in
	the runlength encoder by forcing rowstride * height to be 
	divisible by bpp.  (#150882)

284 285 286 287 288
Sun Aug 22 03:20:56 2004  Matthias Clasen  <maclas@gmx.de>

	* pixops/pixops.c (pixops_scale_nearest): Fix a mixup in the handling
	of dest_channels.  (#111922, Christophe Fergeau)

289 290 291 292 293
Fri Aug 20 11:59:10 2004  Owen Taylor  <otaylor@redhat.com>

	* io-bmp.c: Fix infinite loop that can occur for bad
	image data (#150601, Chris Evans, Manish Singh)

294 295 296 297 298 299 300 301 302 303 304 305 306
2004-08-17  Matthias Clasen  <mclasen@redhat.com>

	* abicheck.sh: No need for INCLUDE_INTERNAL_SYMBOLS any more.

	* Makefile.am (gdk-pixbuf-alias.h): Don't use cpp to filter the symbols.

	* makegdkpixbufalias.pl: Move the #ifdef processing into the perl script,
	and keep the #ifdefs which differentiate between platforms.

	* gdk-pixbuf.symbols: Remove the marshalers.

	* Makefile.am (stamp-gdk-pixbuf-marshal.h): _-prefix the marshalers.

307 308 309 310 311
Thu Aug 12 22:19:12 2004  Matthias Clasen  <maclas@gmx.de>

	* io-bmp.c (DecodeHeader): Properly determine the number of 
	colors in an OS/2 BMP file.  (#150003, Jon-Kare Hellan)

312 313 314 315
2004-08-12  Matthias Clasen  <mclasen@redhat.com>

	* pixops/pixops.c: Remove C99-isms.  (#149967, Vincent Noel)

Matthias Clasen's avatar
Matthias Clasen committed
316 317 318 319
Wed Aug 11 22:56:55 2004  Matthias Clasen  <maclas@gmx.de>

	* abicheck.sh: Check all symbols.

320 321
2004-08-11  Matthias Clasen  <mclasen@redhat.com>

322 323 324
	* pixops/pixops.c: Make scaling and compositing functions handle
	edge pixels consistently.  (#111922, Brian Cameron)

325 326 327 328 329 330 331 332 333
	* pixops/pixops-internal.h: 
	* pixops/pixops.c:
	* pixops/*.S: underscore prefix the mmx implementations, in order
	to not export them.

	* gdk-pixbuf.symbols: Remove the mmx pixops implementations.

	* abicheck.sh: No need to define INCLUDE_MMX_SYMBOLS any more.

334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357
Tue Aug 10 23:53:59 2004  Matthias Clasen  <maclas@gmx.de>

	Add hidden aliases for exported symbols which are
	used internally in order to get rid of many PLT 
	entries.  (#145519, Arjan van de Ven)
	
	* gdk/Makefile.am: Add rules to generate gdk_pixbuf.def and 
	gdk-pixbuf-alias.h from gdk-pixbuf.symbols, and make make 
	check check the abi with abicheck.sh.

	* gdk/gdk-pixbuf.symbols: New file. Definition of the gdk-pixbuf 
	ABI. The file can be processed by cpp to filter out certain 
	subsets of symbols.

	* gdk/abicheck.sh: New file. Script to check the actually 
	symbols exported from libgdk_pibuf.2.0.so against the symbols
	found in gdk-pixbuf.symbols.

	* gdk/makegdkpixbufalias.pl: New file. Perl script to generate the 
	header containing the alias definitions for internally used 
	exported symbols from a list of symbols.

	* *.c: Include gdk-pixbuf-alias.h

Hans Breuer's avatar
updated  
Hans Breuer committed
358 359 360 361
2004-08-06  Hans Breuer  <hans@breuer.org>

	* gdk_pixbuf.def makefile.msc : updated

362 363 364 365 366
Sun Aug  1 23:57:06 2004  Matthias Clasen  <maclas@gmx.de>

	* io-pcx.c (pcx_increment_load_data_1): Fix progressive
	loading of 8bit pcx files. (#148518, Magnus Bergman)

Matthias Clasen's avatar
2.5.1  
Matthias Clasen committed
367 368 369 370
2004-08-01  Matthias Clasen  <mclasen@redhat.com>
                                                                                
        * === Released 2.5.1 ===
                                                                                
371 372 373 374 375
Tue Jul 20 22:23:26 2004  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf-io.h: Remove trailing commas from 
	enumerations.  (#148035)

Soeren Sandmann's avatar
Soeren Sandmann committed
376 377 378 379
Sun Jul 18 20:17:41 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

	* === released 2.5.0 ==

380 381 382 383 384 385
Thu Jul 15 19:19:21 2004  Matthias Clasen  <maclas@gmx.de>

	* io-png.c (real_save_png): 
	* gdk-pixbuf-io.c (gdk_pixbuf_io_init): Use 'cannot' instead
	of 'can not' in messages.   (#144226, Morten Welinder)

386 387 388 389 390 391 392 393 394 395 396
Fri Jul  9 15:38:06 2004  Manish Singh  <yosh@gimp.org>

	* gdk-pixbuf-io.c (gdk_pixbuf_format_set_disabled): function doesn't
	return a value, so don't use g_return_val_if_fail()

	* gdk-pixbuf-scale.c (gdk_pixbuf_rotate_simple): initialize dest in
	the can't happen case, to quiet gcc.

	* io-tiff.c (tifflibversion): enclose in #if TIFFLIB_VERSION >=
	20031226.

397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415
Wed Jul  7 23:53:58 2004  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf-io.h: 
	* gdk-pixbuf-io.c (gdk_pixbuf_format_is_disabled): 
	* gdk-pixbuf-io.c (gdk_pixbuf_format_set_disabled): 
	* gdk-pixbuf-io.c (gdk_pixbuf_format_get_license): 
	New functions to disable/enable individual loaders and to
	obtain license information about loaders.
	
	* gdk-pixbuf-io.h (GdkPixbufFormat): Add disabled and 
	license fields.

	* gdk-pixbuf-io.c (_gdk_pixbuf_get_module): 
	* gdk-pixbuf-io.c (_gdk_pixbuf_get_named_module): Skip
	disabled loaders.

	* io-*.c: Add license information in the fill_info
	functions.
	
Matthias Clasen's avatar
Matthias Clasen committed
416 417 418 419
2004-07-07  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-features.h.in: Fix the build.

420 421
2004-07-06  Tor Lillqvist  <tml@iki.fi>

Tor Lillqvist's avatar
Tor Lillqvist committed
422 423 424 425
	* gdk-pixbuf-features.h.in
	* gdk-pixbuf.c: Mark the version variables for proper import and
	export from Windows DLLs. Thanks to Laurent Sansonetti for
	reporting the problem.
426

427 428 429 430 431
Sat Jul  3 00:41:44 2004  Matthias Clasen  <maclas@gmx.de>

	* pixops/pixops.c (bilinear_box_make_weights): Correct the
	math to calculate bilinear weights. (#112412, Brian Cameron)

432 433 434 435 436 437 438 439
Mon Jun 21 00:44:51 2004  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf-transform.h: 
	* gdk-pixbuf-scale.c (gdk_pixbuf_rotate_simple): 
	* gdk-pixbuf-scale.c (gdk_pixbuf_flip): New functions to
	rotate pixbufs by multiples of 90 degrees and to flip them
	horizontally or vertically.

440 441 442 443 444 445 446 447 448 449 450 451 452 453
Sun Jun 20 01:06:48 2004  Matthias Clasen  <maclas@gmx.de>

	Header reorganization.  (#51999, Jeff Franks, reorganization
	proposed by Havoc Pennington)
	
	* gdk-pixbuf.h: This is now an include-only header, and the only
	one which applications should directly use.
	
	* gdk-pixbuf-animation.h: Add animation api from gdk-pixbuf.h.
	* gdk-pixbuf-io.h: Add io api from gdk-pixbuf.h.
	* gdk-pixbuf-loader.h: Add loader api from gdk-pixbuf.h.
	* gdk-pixbuf-transform.h: New header.
	* gdk-pixbuf-core.h: New header.

454 455 456 457 458
Sat Jun 19 01:44:12 2004  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf-scale.c (gdk_pixbuf_composite): Add a figure which
	explains pixbuf compositing.

459 460 461 462 463
2004-06-16  Matthias Clasen  <mclasen@redhat.com>

	* io-tiff.c: Make the tiff loader work with both 
	libtiff 3.5.7 and libtiff 3.6.1.  (#135541, Marco Ghirlanda)

464 465 466 467 468 469 470 471
Fri Jun 11 22:02:56 2004  Matthias Clasen  <maclas@gmx.de>

	* io-gif.c, io-pnm.c, io-tga.c, io-xpm.c: Don't use
	contractions like "don't" or "isn't" in error messages.
	It isn't nice to use them in log entries either...
	(#137774, Morten Welinder, patch by Alexander Winston)

Sat Jun  5 00:59:12 2004  Matthias Clasen  <maclas@gmx.de>
472 473 474 475 476 477 478
 
	Merged from 2.4

	* gdk-pixbuf-animation.c: 
	* gdk-pixbuf-io.c: Convert filenames to UTF-8 when embedding
 	them in error messages.  (#143654, Sven Neumann)
 
Matthias Clasen's avatar
Matthias Clasen committed
479 480 481 482 483 484 485
Sun May 16 22:53:47 2004  Matthias Clasen  <maclas@gmx.de>

        Merged from 2.4

	* io-pnm.c (pnm_read_next_value): Don't read integers 
	partially.  (#142584, Kouichirou Hiratsuka) 

486 487 488 489 490 491 492 493 494 495
2004-05-10  Matthias Clasen  <mclasen@redhat.com>

	Merged from 2.4:
	
	* pixops/timescale.c: 
	* pixops/pixops.c: 
	* pixops/pixops.h: 
	* gdk-pixbuf-scale.c: _-prefix the nonstatic pixops_... 
	functions.  (#142233, Morten Welinder)
	
496 497 498 499 500 501 502 503 504
Wed May  5 23:09:48 2004  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf-io.h (GdkPixbufFormatFlags): New format flag
	GDK_PIXBUF_FORMAT_SCALABLE to mark scalable formats.

	* gdk-pixbuf.h: 
	* gdk-pixbuf-io.c (gdk_pixbuf_format_is_scalable): New function.
	(#137995, Dom Lachowicz)

Matthias Clasen's avatar
Matthias Clasen committed
505 506 507 508
2004-04-30  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.4.1 ===

509 510 511 512 513 514 515 516 517
2004-04-13  Matthias Clasen  <mclasen@redhat.com>

	* io-ani.c (gdk_pixbuf__ani_image_load_animation): 
	* gdk-pixbuf-io.c (gdk_pixbuf_get_file_info) 
	(_gdk_pixbuf_generic_image_load) 
	(gdk_pixbuf_new_from_file_at_size): When calling fread()
	in a loop, check for ferror() as well as for feof() to
	avoid infinite loops on directories.  (#137804, Alex Converse)

Owen Taylor's avatar
Owen Taylor committed
518 519 520 521
Mon Mar 15 15:01:59 2004  Owen Taylor  <otaylor@redhat.com>

	* === Released 2.4.0 ===

522 523
2004-03-15  Tor Lillqvist  <tml@iki.fi>

524 525 526
	* queryloaders.c (main): [Win32] Look up installation prefix at
	run-time, replace prefix in PIXBUF_LIBDIR with that. (#106141)

527
	Merges from stable branch that had been left out. (#136282, J. Ali
528
	Harlow):
529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545

	Changes for run-time lookup of installation location on Win32:
	
	* Makefile.am (INCLUDES): Define GTK_PREFIX as $(prefix).

	* gdk-pixbuf-io.c (get_sysconfdir): New function, look up
	installation location at runtime and deduce GTK_SYSCONFDIR
	from it.
	(get_toplevel): Similar, for the top-level installation directory.
	(correct_prefix): Replace compile-time prefix with run-time
	prefix.
	(get_libdir): Remove, not used any longer.
	(gdk_pixbuf_io_init): Call correct_prefix() on Win32.

	* queryloaders.c (query_module): [Win32] Change backslahses into
	slashes in path.

Owen Taylor's avatar
Owen Taylor committed
546 547 548 549
Tue Mar  9 09:33:28 2004  Owen Taylor  <otaylor@redhat.com>

	* === Released 2.3.6 ===

550 551 552 553
2004-03-05  Tor Lillqvist  <tml@iki.fi>

	* gdk_pixbuf.def: Add missing entries. Thanks to J. Ali Harlow.

554 555 556 557 558 559
Fri Mar  5 22:22:25 2004  Matthias Clasen  <maclas@gmx.de>

	* io-bmp.c (OneLine32): Don't try to load an alpha channel
	from the BMP, since there is no evidence that even 32bit
	BMPs have an alpha channel.  (#135502)

Owen Taylor's avatar
Owen Taylor committed
560 561 562 563
Mon Mar  1 19:47:48 2004  Owen Taylor  <otaylor@redhat.com>

	 * === Released 2.3.5 ====

564 565 566 567 568
2004-02-28  Hans Breuer  <hans@breuer.org>

	* io-tiff.c : include <io.h> for lseek()
	* io-xbm.c : use HAVE_UNISTD_H

Owen Taylor's avatar
Owen Taylor committed
569 570 571 572
Tue Feb 24 14:45:03 2004  Owen Taylor  <otaylor@redhat.com>

	* === Released 2.3.3 ===

Matthias Clasen's avatar
Matthias Clasen committed
573 574 575 576 577
Sun Feb 22 01:09:55 2004  Matthias Clasen  <maclas@gmx.de>

	* io-bmp.c (gdk_pixbuf__bmp_image_begin_load): Remove debugging
	code.

578 579 580 581 582 583 584
Fri Feb 20 22:25:32 2004  Matthias Clasen  <maclas@gmx.de>

	* io-bmp.c (DecodeHeader): Store and sanity-check the clrUsed field 
	from the header for use in DecodeColormap.
	* io-bmp.c (DecodeColormap): Don't read more colormap entries than
	the header says are there.  (#134235, Kazuho Okui)

585 586 587 588 589 590 591 592 593
Sun Feb  8 01:07:20 2004  Manish Singh  <yosh@gimp.org>

	* gdk-pixbuf-io.c: removed unnecessary G_OBJECT() cast checks.

	* io-jpeg.c: make the return type for to_callback_empty_output_buffer
	"boolean", which should be defined by the jpeg headers. The right
	return type for this function depends on how the jpeg library
	was built (one wonders what happens if different compilers are used).

Hans Breuer's avatar
Hans Breuer committed
594 595 596 597
2004-01-28  Hans Breuer  <hans@breuer.org>

	* gdk_pixbuf.def : updated externals

Matthias Clasen's avatar
Matthias Clasen committed
598 599 600 601 602 603 604
Sat Jan 17 23:02:55 2004  Matthias Clasen  <maclas@gmx.de>

	The second part of the fix for #114351 (see also 
	../Changelog)
	
	* gdk-pixbuf-i18n.h (P_): Use translation domain gtk20-properties.

605 606 607 608 609 610 611 612 613
Sat Jan 17 00:01:51 2004  Matthias Clasen  <maclas@gmx.de>

	The first part of the fix for #114351 (see also
	../ChangeLog): 

	* gdk-pixbuf-i18n.h: Define P_() for property blurbs and nicks.

	* gdk-pixbuf.c:  Mark property blurbs and nicks with P_().

614 615 616 617 618
Thu Jan  8 22:01:14 2004  Matthias Clasen  <maclas@gmx.de>

	* queryloaders.c (loader_sanity_check): Don't use bitwise operators
	on booleans.  (#130923, reported by Telsa Gwynne, fix by Dave Jones)

619 620
2004-01-06  Federico Mena Quintero  <federico@ximian.com>

621 622 623 624
	* gdk-pixbuf-io.c (gdk_pixbuf_save): Escape an ampersand in the
	documentation comment, and hack around an empty line in the code
	example so that gtk-doc won't put a <para> due to it.

625 626 627
	* gdk-pixbuf.c (gdk_pixbuf_get_pixels): Link to the documentation
	section on image data.

628 629 630 631 632
2004-01-06  Federico Mena Quintero  <federico@ximian.com>

	* gdk-pixdata.c (gdk_pixbuf_new_from_inline): Fix example in
	documentation comment.  Fixes #130701.

633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658
Wed Jan  7 02:41:14 2004  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf-io.c (gdk_pixbuf_save_to_bufferv): 
	* gdk-pixbuf-io.c (gdk_pixbuf_save_to_buffer): 
	* gdk-pixbuf-io.c (gdk_pixbuf_save_to_callbackv): 
	* gdk-pixbuf-io.c (gdk_pixbuf_save_to_callback): New public API
	to save pixbufs to non-file locations.  (#82203, Tim Evans)

	* gdk-pixbuf.h:
	* gdk-pixbuf.def: Declare the new public API.

	* gdk-pixbuf-io.h: Add save_to_callback to the module interface.
	
	* io-jpeg.c: 
	* io-png.c: Implement save_to_callback.

	* gdk-pixbuf-io.c (gdk_pixbuf_savev): 
	* gdk-pixbuf-io.c (gdk_pixbuf_save): Update documentation. 

	* gdk-pixbuf-io.c (gdk_pixbuf_real_save): Support saving via
	image_module->save_to_callback.

	* gdk-pixbuf-io.c (gdk_pixbuf_real_save_to_callback): New generic
	save_to_callback function which falls back to image_module->save 
	on a temp file.
	
659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683
Wed Jan  7 01:17:36 2004  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_size_func): 
	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_set_size): 
	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_init): Make it possible
	to call gdk_pixbuf_loader_set_size (loader, 0, 0) by changing
	the initial values of priv->width/height to -1.
	
	* io-tiff.c (tiff_image_parse): 
	* io-ras.c (RAS2State): 
	* io-pnm.c (gdk_pixbuf__pnm_image_load_increment): 
	* io-pcx.c (gdk_pixbuf__pcx_load_increment): 
	* io-jpeg.c (gdk_pixbuf__jpeg_image_load_increment): 
	* io-png.c (png_info_callback): 
	* io-ico.c (DecodeHeader): 
	* io-bmp.c (DecodeHeader): Call size_func once the size is known,
	even if the module can't make use of the scaling information. If
	size_func returns 0, don't allocate a pixbuf and return, if 
	necessary with an error.

	* gdk-pixbuf.h: 
	* gdk-pixbuf-io.c (gdk_pixbuf_get_file_info): A new function 
	to determine the type and size of an image file without loading
	it completely.  (#53725)

684 685 686 687 688 689 690 691 692
Sun Jan  4 00:44:57 2004  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf.c (gdk_pixbuf_class_init): Turn the pixbuf 
	attributes into (construct-only, but always readable) 
	properties.  (#130196)

	* gdk-pixbuf-data.c (gdk_pixbuf_new_from_data): Set properties
	in g_object_new().

693 694 695 696 697 698 699
Mon Dec 22 01:35:36 2003  Matthias Clasen  <maclas@gmx.de>

	* Makefile.am (gdk-pixbuf.loaders): Fix building with
	--disable-modules --with-included-loaders, create an 
	empty gdk-pixbuf.loaders file.  (#124496, Arno Charlet, fix 
	proposed by Owen Taylor)

700 701 702 703
Thu Dec 11 01:57:05 2003  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_class_init): Move
	the documentation for signals inline, to get proper parameter
704
	documentation.  (#128977) 	
705

706 707 708 709 710 711
Sat Nov 15 00:26:19 2003  Matthias Clasen  <maclas@gmx.de>

	* queryloaders.c (loader_sanity_check): Check that the mask
	is NULL or a string of the same length consisting entirely of
	' ', '!', 'x', 'z', 'n'. 

Matthias Clasen's avatar
Matthias Clasen committed
712 713 714 715
Mon Nov 10 00:17:52 2003  Matthias Clasen  <maclas@gmx.de>

	* Makefile.am (install-data-local): Typo fix in warning.

716 717 718 719 720 721 722
Sun Nov  9 23:07:05 2003  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf-io.c (_gdk_pixbuf_generic_image_load): If neither
	load nor begin_load are available fall back to load_animation 
	and use gdk_pixbuf_animation_get_static_image() to obtain a 
	pixbuf. Inefficient, but at least doesn't crash.

723 724 725 726 727 728 729 730 731
Sun Nov  9 21:56:20 2003  Matthias Clasen  <maclas@gmx.de>

	* queryloaders.c (write_loader_info): New function to write 
	out the information for a single loader, factored out of 
	query_module().
	(loader_sanity_check): New function to perform
	sanity checks on a loader.
	(query_module): Use the new functions.

732 733 734 735 736
Thu Nov  6 00:27:27 2003  Matthias Clasen  <maclas@gmx.de>

	* io-pcx.c (gdk_pixbuf__pcx_load_increment): Fold two similar
	strings into on.  (#126204, Danilo Segan)

737 738 739 740 741
2003-09-19  Matthias Clasen  <maclas@gmx.de>

	* io-tga.c (try_preload): Remove a pointless check.  
	(#122710, Kjartan Maraas)

742 743 744 745 746 747
Mon Aug 18 10:25:29 2003  Owen Taylor  <otaylor@redhat.com>

	* gdk-pixdata.c (gdk_pixdata_to_csource): Add the correct
	alignment magic for Sun compiler and for GCC to get
	the strings aligned. (Patch from Brian Cameron, #117217)

748 749 750 751 752
2003-08-14  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixdata.c (gdk_pixdata_to_csource): Improve doc comment
	wording. (#119754, Doug Quale)

753 754 755
2003-08-03  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf.c (gdk_pixbuf_get_rowstride): 
Matthias Clasen's avatar
Matthias Clasen committed
756 757
	* gdk-pixbuf-data.c (gdk_pixbuf_new_from_data): Clarify misleading
	explanation of rowstride.  (#119000)
758

759 760
2003-07-24  Matthias Clasen  <maclas@gmx.de>

Matthias Clasen's avatar
Matthias Clasen committed
761 762
	* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file_at_size): Preserve the
	aspect ratio.  (#118145, Owen Taylor) 
763

764 765
2003-07-23  Matthias Clasen  <maclas@gmx.de>

Matthias Clasen's avatar
Matthias Clasen committed
766 767
	* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file_at_size): Close loader
	before unref'ing it.  (#118146, Owen Taylor)
768

Hans Breuer's avatar
updated  
Hans Breuer committed
769 770 771 772 773 774
2003-03-01  Hans Breuer  <hans@breuer.org>

	* makefile.msc : updated

	* gdk_pixbuf.def : export a bunch of new functions

775 776
2003-07-18  Matthias Clasen  <maclas@gmx.de>

Matthias Clasen's avatar
Matthias Clasen committed
777 778 779
	* pixops/pixops.c (correct_total): Split correction into multiple
	pieces if no single weight is large enough to apply the unsplit
	correction.  (#117431, problem reported by Tomas gren) 
780

781 782 783
2003-07-13  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf.h: 
Matthias Clasen's avatar
Matthias Clasen committed
784 785 786
	* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file_at_size): New function
	to load an image from a file at a  specified size.  (#105326, Dom
	Lachowicz) 
787

788 789
2003-07-11  Matthias Clasen  <maclas@gmx.de>

Matthias Clasen's avatar
Matthias Clasen committed
790 791
	* queryloaders.c (query_module): Handle absolute filenames
	properly. (#117170, Jens Elkner) 
792 793

	* gdk-pixbuf-io.c: Mention that NULL-terminated arrays returned by 
Matthias Clasen's avatar
Matthias Clasen committed
794 795
	gdk_pixbuf_format_get_mime_types() and
	gdk_pixbuf_format_get_extensions() must be freed with g_strfreev().
796

797 798 799 800
2003-07-04  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf-io.c: Document ICO save parameters.

Matthias Clasen's avatar
Matthias Clasen committed
801 802 803 804 805
	* io-ico.c: Support saving of ICOs and CURs. Currently, only
	single-image ICOs are produced, but the code for multi-image ICOs
	is already in place. The saver understands the options "depth"
	(can be "32", "24" or "16") and "x_hot"/"y_hot" for hotspot
	coordinates of CURs. 
806

807 808
2003-06-28  Matthias Clasen  <maclas@gmx.de>

Matthias Clasen's avatar
Matthias Clasen committed
809 810 811 812 813 814 815 816
	* io-ico.c (DecodeHeader): Stop discriminating against 32bpp ICOs
	a): Use the byte size of the image as a heuristic when selecting
	the bitmap  to load - this lets us select 32bpp bitmaps which come
	after a 8bpp bitmap. 
	(OneLineTransp): Stop discriminating against 32bpp ICOs b): Don't
	overwrite the alpha channel of 32bpp ICOs. 
	(gdk_pixbuf__ico_image_load_increment): Stop decoding the header
	unnecessarily. 
817

818 819 820 821 822
Fri Jun 27 03:56:59 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	* io-gif-animation.c (gdk_pixbuf_gif_anim_frame_composite): Make
	it compile with C89 compilers.

823 824
2003-06-23  Matthias Clasen  <maclas@gmx.de>

Matthias Clasen's avatar
Matthias Clasen committed
825 826 827
	* io-gif.c (gif_get_frame_info): Remove the pointless refusal to
	load images with dubious disposal mode on the first frame. Just
	ignore it, as everybody else does. 
828 829

2003-06-22  Matthias Clasen  <maclas@gmx.de>
830

Matthias Clasen's avatar
Matthias Clasen committed
831 832 833
	* gdk-pixbuf-loader.[hc] (gdk_pixbuf_loader_new_with_mime_type):
	New function to obtain a loader for a specific mime type.
	(#105324, Dom Lachowicz) 
834

Matthias Clasen's avatar
Matthias Clasen committed
835 836 837
	* io-gif.c (gif_get_extension): Reset block_count to 0 for all
	application extensions, otherwise the data blocks of unknown
	extensions are not propertly skipped.  
838

Matthias Clasen's avatar
Matthias Clasen committed
839 840
	Second half of the fix for #106962, handle frames extending beyond
	the logical screen: 
841
	
Matthias Clasen's avatar
Matthias Clasen committed
842 843 844 845 846 847
	* io-gif.c (clip_frame): New helper function to clip a rectangle
	to the logical screen size of the gif. 
	(maybe_update): New helper function to call update_func only if
	the rectangle is not completely off-bounds. 
	(gif_get_lzw): Read frames extending outside the logical screen
	size, but be careful clip to the logical screen size 
848 849
	when operating on the composite pixbuf and when calling update_func.
	(gif_init): Set the animation size to the logical screen size.
Matthias Clasen's avatar
Matthias Clasen committed
850 851
	(gif_get_frame_info): Don't refuse to load images with frames
	extending beyond the logical screen size. 
852

Matthias Clasen's avatar
Matthias Clasen committed
853 854 855
	* io-gif-animation.c (gdk_pixbuf_gif_anim_frame_composite): Be
	careful to clip all rectangles to the logical screen size, also
	handle the fact that frames may be completely off-bounds. 
856

Matthias Clasen's avatar
Matthias Clasen committed
857 858
2003-06-21  Matthias Clasen  <maclas@gmx.de>

Matthias Clasen's avatar
Matthias Clasen committed
859 860
	* io-gif.c: Merge from 2.2: Fix update_func() arguments and accept
	empty frames.  (#106962)
Matthias Clasen's avatar
Matthias Clasen committed
861 862 863 864 865 866

2003-06-17  Matthias Clasen  <maclas@gmx.de>

	* Makefile.am (man_MANS): Removed, man pages are now installed
	from docs/reference/gdk-pixbuf.

867 868 869 870 871
2003-06-03  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixdata.c (gdk_pixbuf_new_from_inline): Document
	data_length == -1, add an example.  (#97290)

872 873 874 875 876
2003-06-01  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixdata.h (struct _GdkPixdata): Fix misleading documentation
	of rowstride.  (#113924, Noah Levitt)

877 878 879 880 881 882
2003-05-27  Matthias Clasen  <maclas@gmx.de>

	* io-wbmp.c: Remove dubious bitfields of
	unspecified signedness.  (#112919, Morten Welinder)gdk-p

	* gdk-pixdata.c (gdk_pixdata_to_csource): Replace all occurances
Matthias Clasen's avatar
Matthias Clasen committed
883 884
	of g_string_new ("") by g_string_new (NULL). (#106975, Morten
	Welinder) 
885

886 887 888 889 890 891 892 893
2003-05-21  Matthias Clasen  <maclas@gmx.de>

	* pixbufloader_pcx.def: 
	* io-pcx.c: A loader for PCX files.  (#113035, Josh Beam)

	* gdk-pixbuf-io.c: 
	* Makefile.am: Add PCX loader.

894 895 896 897 898 899 900 901 902 903 904 905
2003-05-19  Matthias Clasen  <maclas@gmx.de>

	Improve progressive loading from slow sources:  (#107368)
	
	* io-gif-animation.c (gdk_pixbuf_gif_anim_get_iter): Initialize
	first_loop_slowness. 
	(gdk_pixbuf_gif_anim_iter_advance): Don't wrap during loading if
	the datasource falls behind the speed of the display.

	* io-gif-animation.h: Add a loading flag to GdkPixbufGifAnim and  
	first_loop_slowness to GdkPixbufGifAnimIter.

906 907 908 909 910
Wed May 14 18:24:50 2003  Owen Taylor  <otaylor@redhat.com>

	* gdk-pixdata.c (gdk_pixdata_deserialize): Add a 
	(gint32 *) => (guint32 *) cast. (#108615, Rick Jones)

911 912 913 914 915 916 917 918 919 920 921
2003-04-24  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): 
	(gdk_pixbuf_loader_new_with_type): 
	(gdk_pixbuf_loader_close): 
	* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file): 
	(gdk_pixbuf_save): 
	(gdk_pixbuf_savev): 
	* gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file): 
	Add sanity checks for GError handling.  (#108345) 

922 923 924 925 926 927 928 929 930 931
Tue Apr  1 15:33:51 2003  Owen Taylor  <otaylor@redhat.com>

	* pixops/pixops.c (make_weights): Exploit the fact that all
	our filters are separable to simplify the calculation of
	the weight tables. (Based on a patch from Brian Cameron.)

	* pixops/Makefile.am pixbuf-transform-math.ltx: 
	Add a short article describing how the math in pixops.c
	works.

932 933
2003-03-21  Matthias Clasen  <maclas@gmx.de>

934 935 936
	* gdk-pixbuf-animation.c (gdk_pixbuf_non_anim_get_type): Add
	missing static.  (#108614)

937 938 939 940
	* io-jpeg.c (gdk_pixbuf__jpeg_image_begin_load): 
	* io-ico.c (gdk_pixbuf__ico_image_stop_load): Add missing static
	qualifiers apparently causing problems on some platforms. (#108617)

941 942 943 944 945
2003-03-11  Matthias Clasen  <maclas@gmx.de>

	* io-ico.c (DecodeHeader): Calculate LineWidth for 16bpp from
	width, like for the other depths.  (noticed by Marijn Ros)

946 947 948 949 950
2003-03-08  Matthias Clasen  <maclas@gmx.de>

	Bug #107664 continued: 
	
	* io-xpm.c (find_color): Fix 0/FALSE confusion
Matthias Clasen's avatar
Matthias Clasen committed
951 952
	* gdk-pixbuf.c (gdk_pixbuf_get_has_alpha): Fix -1/gboolean
	confusion. 
953

954 955
2003-03-06  Matthias Clasen  <maclas@gmx.de>

Matthias Clasen's avatar
Matthias Clasen committed
956 957
	* io-gif.c (gif_read): Fix 0/FALSE confusion (#107664, Morten
	Welinder) 
958

959 960 961 962
2003-02-20  Matthias Clasen  <maclas@gmx.de>

	* io-gif-animation.c (gdk_pixbuf_gif_anim_frame_composite): 
	Always clear the initial frame and "disposed" areas with
Matthias Clasen's avatar
Matthias Clasen committed
963
	transparent pixels, no matter whether the frame has transparency 
964 965
	or not.  (#55502)

966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991
2003-02-18  Matthias Clasen  <maclas@gmx.de>

	* io-tga.c (pixbuf_flip_row): 
	(pixbuf_flip_vertically): Auxiliary functions used to implement
	support for arbitrary origins.
	(parse_data_for_row_pseudocolor): 
	(parse_data_for_row_truecolor): 
	(parse_data_for_row_grayscale): 
	(parse_data_for_row): 
	(fill_in_context): Remove the check for upper-left origin.
	(parse_rle_data): Support arbitrary origins. (#105912)

	* io-tga.c (fread_check): 
	(fseek_check): 
	(get_header_from_file): 
	(get_colormap_from_file): 
	(get_image_pseudocolor): 
	(swap_channels_pixbuf): 
	(get_image_truecolor): 
	(get_image_grayscale): 
	(gdk_pixbuf__tga_load): Remove the non-incremental load
	implementation, since we have generic_image_load () now.

	(gdk_pixbuf__tga_stop_load): Fix a potential crash discovered by
	pixbuf-lowmem.

992 993 994 995 996 997 998 999 1000 1001 1002
2003-02-14  Matthias Clasen  <maclas@gmx.de>

	* io-tga.c (try_preload): 
	(gdk_pixbuf__tga_load): Actually reject images with origin
	not in the upper-left corner.  (#105912)  

2003-02-06  Matthias Clasen  <maclas@gmx.de>

	* queryloaders.c (query_module): Better error message if
	module_open() fails.  (#105349, Tim Mooney)

1003 1004 1005 1006 1007 1008 1009 1010 1011
Mon Jan 27 17:10:30 2003  Owen Taylor  <otaylor@redhat.com>
 
 	* Makefile.am (gdk-pixbuf.loaders): Rewrite to run
 	on the .la files rather than looking for .so files.
 	(#102142, Martin Gansser)
 
 	* Makefile.am: Don't build gdk-pixbuf.loaders when
 	cross-compiling.
 
1012 1013 1014 1015 1016 1017
2003-01-05  Tor Lillqvist  <tml@iki.fi>

	* Makefile.am (gdk-pixbuf.loaders): Use @SOEXT@ in the find command.

	* gdk_pixbuf.def: Add gdk_pixbuf_loader_set_size.

1018 1019 1020 1021 1022
2003-01-03  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Don't crash if
	gdk-pixbuf.loaders file is missing.  (#102222)

Matthias Clasen's avatar
Matthias Clasen committed
1023 1024 1025 1026 1027
2002-12-08  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf-animation.h: 
	* gdk-pixbuf-io.h: Add /*< public|private >*/ markers.

1028 1029 1030 1031 1032
Sat Dec  7 10:14:05 2002  Owen Taylor  <otaylor@redhat.com>

	* Makefile.am (gdk-pixbuf.loaders): Make gdk-pixbuf.loaders
	also depend gdk-pixbuf-query-loaders. (#97096, Daniel Elstner)

1033 1034 1035 1036
2002-12-05  Matthias Clasen  <maclas@gmx.de>

	* io-ico.c: Remove leftover debug output.  (#100357, Owen Taylor)

1037 1038 1039 1040 1041
2002-12-04  Bastien Nocera  <hadess@hadess.net>

	* io-tiff.c: (tiff_image_parse): use G_BIG_ENDIAN instead of
	WORDS_BIGENDIAN which isn't set by configure.in

Matthias Clasen's avatar
Matthias Clasen committed
1042 1043 1044 1045 1046
2002-11-29  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf-animation.c: 
	* gdk-pixbuf.c: Add deprecation docs. 

Matthias Clasen's avatar
Matthias Clasen committed
1047 1048 1049 1050 1051 1052 1053 1054
2002-11-28  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf/gdk-pixbuf-io.c:
	* gdk-pixbuf/gdk-pixbuf-loader.c:
	* gdk-pixbuf/gdk-pixbuf.c: Document 2.2 API additions. I'm not
	going to list all individual functions here; if you want to see
	the list, grep for "Since: 2.2".

1055 1056 1057 1058 1059
Fri Nov  8 19:06:07 2002  Owen Taylor  <otaylor@redhat.com>

	* Makefile.am (gdk-pixbuf.loaders): Make gdk-pixbuf.loaders
	file depend on the loaders (#97096, Jeff Waugh)

1060 1061 1062 1063 1064
Wed Nov  6 15:19:53 2002  Owen Taylor  <otaylor@redhat.com>
 
 	* io-gif.c (CHECK_LZW_SP): Fix trailing semicolon on macro,
 	clean up a bit.
 
Matthias Clasen's avatar
Matthias Clasen committed
1065 1066 1067 1068
2002-11-05  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf-loader.c: Reindent to follow the gdk-pixbuf indentation.  

1069 1070 1071 1072 1073
Tue Nov  5 14:16:17 2002  Owen Taylor  <otaylor@redhat.com>

	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_close): Fix 
	leaked pixbuf reference (#96823, Morten Welinder)

1074 1075 1076 1077 1078
2002-10-23  Matthias Clasen  <maclas@gmx.de>

	* io-gif.c (lzw_read_byte): Check for stack overflow throughout.
	(#91808, Elliot Lee)

1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091
2002-10-21  Matthias Clasen  <maclas@gmx.de>

	Support the Netscape application extension for gif animations 
	(#95060):
	
	* io-gif-animation.h: 
	* io-gif-animation.c (gdk_pixbuf_gif_anim_iter_advance): 
	Add loop count to GdkPixbufGifAnim and use it in the advance
	method of GdkPixbufGifAnimIter.
	
	* io-gif.c (gif_get_extension): Parse Netscape application
	extension block and set the animation loop count. 

Matthias Clasen's avatar
Matthias Clasen committed
1092 1093 1094 1095 1096 1097 1098 1099
2002-10-11  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_get_format): Remove
	unused variable.

	* gdk-pixbuf-io.h: Remove unused typedef 
	GdkPixbufModuleGetSignatureFunc.

jacob berkman's avatar
jacob berkman committed
1100 1101 1102 1103
2002-10-04  jacob berkman  <jacob@ximian.com>

	* queryloaders.c (query_module): make legal C

1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120
2002-10-04  Matthias Clasen  <maclas@gmx.de>

	* Makefile.am gdk-pixbuf-animation.c gdk-pixbuf-data.c 
	gdk-pixbuf-io.c gdk-pixbuf-io.h gdk-pixbuf-loader.c 
	gdk-pixbuf-loader.h gdk-pixbuf-private.h gdk-pixbuf.h 
	gdk-pixdata.c io-ani-animation.h io-ani.c io-bmp.c 
	io-gif-animation.c io-gif-animation.h io-gif.c io-ico.c 
	io-jpeg.c io-png.c io-pnm.c io-ras.c io-tga.c io-tiff.c 
	io-wbmp.c io-xbm.c io-xpm.c pixbufloader_ani.def 
	pixbufloader_bmp.def pixbufloader_gif.def pixbufloader_ico.def 
	pixbufloader_jpeg.def pixbufloader_png.def 
	pixbufloader_pnm.def pixbufloader_ras.def pixbufloader_tga.def 
	pixbufloader_tiff.def pixbufloader_wbmp.def 
	pixbufloader_xbm.def pixbufloader_xpm.def test-gdk-pixbuf.c 
	gdk-pixbuf-animation.h queryloaders.c: Support for separately
	installed loaders.  (#77486)

Owen Taylor's avatar
Owen Taylor committed
1121 1122 1123 1124 1125
Thu Oct  3 18:25:57 2002  Owen Taylor  <otaylor@redhat.com>

	* io-jpeg.c (gdk_pixbuf__jpeg_image_save): 
	Fix memory leak. (#94399)

1126 1127 1128 1129 1130 1131
Tue Oct  1 17:35:43 2002  Owen Taylor  <otaylor@redhat.com>

	* gdkpixdata.c: Patch from Andy Wingo to always 
	escape ? to avoid accidentally generating trigraphs
	in the output (#94631)

1132 1133 1134 1135 1136
2002-09-28  Tor Lillqvist  <tml@iki.fi>

	* pixops/*.S: Don't use .type on Cygwin, either (#91597, Masahiro
	Sakai).

1137 1138 1139 1140 1141
2002-09-27  Federico Mena Quintero  <federico@ximian.com>

	* io-ico.c (gdk_pixbuf__ico_image_begin_load): Free the context if
	we cannot allocate the HeaderBuf.

1142 1143 1144 1145 1146
2002-09-27  Federico Mena Quintero  <federico@ximian.com>

	* io-bmp.c (OneLine): Fix the update region notification to handle
	top-to-bottom and bottom-to-top BMPs correctly.

1147 1148 1149 1150 1151
2002-09-19  Matthias Clasen  <maclas@gmx.de>

	* Revert the previous change; the symbols need to be exported 
	to be usable from dlopened modules.
	
1152 1153 1154 1155 1156 1157 1158
2002-09-18  Matthias Clasen  <maclas@gmx.de>

	* io-xpm.c, io-xbm.c, io-ico.c, io-ani.c, io-png.c,
	gdk-pixbuf.c, gdk-pixbuf-animation.c, gdk-pixbuf-loader.c,
	gdk-pixbuf-private.h: _-prefix gdk_pixbuf_non_anim_new and
	gdk_pixbuf_set_option. Adjust all callers. 

Hans Breuer's avatar
Hans Breuer committed
1159 1160 1161 1162
2002-09-14  Hans Breuer  <hans@breuer.org>

	* pixops/Makefile.am : added makefile.msc to EXTRA_DIST

1163 1164 1165 1166 1167 1168
2002-09-12  Matthias Clasen  <maclas@gmx.de>

	* io-gif-animation.h: 
	* gdk-pixbuf.h: Move GdkPixbufFrame from the public header to
	the gif-animation-specific private header.  (#91929)

1169 1170 1171 1172 1173
2002-09-12  Federico Mena Quintero  <federico@ximian.com>

	* io-jpeg.c (gdk_pixbuf__jpeg_image_load): Unref the pixbuf if we
	hit an unsupported colorspace.

1174 1175
2002-09-06  Matthias Clasen  <maclas@gmx.de>

Matthias Clasen's avatar
Matthias Clasen committed
1176 1177 1178 1179
	* io-ani.c, io-ani-animation.h, io-ani-animation.c, 
	pixbufloader_ani.def, Makefile.am, gdk-pixbuf-io.c: New loader,
	for .ANI animations.
	
1180 1181 1182 1183 1184
	* io-xpm.c (pixbuf_create_from_xpm): 
	* io-xbm.c (gdk_pixbuf__xbm_image_load_real): 
	* io-ico.c (DecodeHeader): Attach hotspot coordinates to the
	pixbuf as options "x_hot" and "y_hot". 

1185 1186 1187 1188 1189 1190 1191 1192 1193
2002-09-04  Matthias Clasen  <maclas@gmx.de>

	* io-tga.c (io_buffer_append): 
	* io-ico.c (DecodeHeader): 
	* io-bmp.c (grow_buffer): Don't leak memory if g_try_realloc fails.

	* gdk-pixbuf-io.c (pixbuf_check_ico): Fix loading of .CUR files.
	(#91826)

1194 1195 1196 1197 1198
2002-08-25  Tor Lillqvist  <tml@iki.fi>

	* Makefile.am (libgdk_pixbuf_2_0_la_DEPENDENCIES): Add
	gdk_pixbuf_win32res_lo. (#87101, J. Ali Harlow)

1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211
2002-08-22  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf-io.h:
	gdk-pixbuf-io.c (_gdk_pixbuf_generic_image_load): No longer
	static, thus _gdk_pixbuf-prefixed.

	* gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file): 
	Keep this logic in sync with gdk_pixbuf_new_from_file().  (Based
	on a patch by Anders Carlsson)

	* io-png.c (gdk_pixbuf__png_image_save): Plug a memory 
	leak.  (#91422, Sven Neumann)

1212 1213 1214 1215 1216
2002-07-31  Sven Neumann  <sven@gimp.org>

	* gdk-pixdata.c (gdk_pixdata_to_csource): free the result of
	gdk_pixdata_serialize() (bug #89411).

1217 1218 1219 1220 1221
Mon Jul 29 23:06:10 2002  Owen Taylor  <otaylor@redhat.com>

	* gdk-pixbuf-scale.c: Fix some warnings by adding
	casts to PixopsInterpType. (#85839, David L. Cooper, II.)

Matthias Clasen's avatar
Matthias Clasen committed
1222 1223 1224 1225
2002-07-16  Matthias Clasen  <maclas@gmx.de>

	* io-ras.c (DoCompressed): Avoid unnecessary casting.

1226 1227
2002-07-07  Matthias Clasen  <maclas@gmx.de>

1228 1229 1230 1231 1232 1233 1234
	* gdk-pixbuf-io.c (generic_image_load): New function for loading
	an image from a file either via module->load or incrementally.
	(prepared_notify): ModulePreparedNotifyFunc for generic_image_load.
	(gdk_pixbuf_new_from_file): Use generic_image_load.
	* io-bmp.c, io-ico.c, io-ras.c, io-wbmp.c: Remove trivial
	implementations of module->load.  (#71266)
	
1235 1236 1237
	* io-ico.c (DecodeHeader): Correct computation of image height.
	(OneLine): Correct update notification.

1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266
	Load-at-size functionality  (#53726): 
	
	* gdk-pixbuf-io.h (ModuleSizeFunc): New. 
	(_GdkPixbufModule): Prepend a ModuleSizeFunc to the 
	begin_load arguments. Adjust all modules.
	* gdk-pixbuf-loader.c (struct GdkPixbufLoaderPrivate): Add
	fields width, height, size_fixed, need_scale.
	(gdk_pixbuf_loader_class_init): Add size_prepared signal.
	(gdk_pixbuf_loader_set_size): New function.
	(gdk_pixbuf_loader_size_func): ModuleSizeFunc which gets
	passed to the module, emits size_prepared.
	(gdk_pixbuf_loader_prepare): Call gdk_pixbuf_loader_size_func
	if necessary, only emit area_prepared if no separate scaling
	is required.
	(gdk_pixbuf_loader_update): Only emit area_updated if no 
	separate scaling is required.
	(gdk_pixbuf_loader_load_module): Add size_func as first argument.
	(gdk_pixbuf_loader_close): If necessary scale the image
	to the desired size and emit area_prepared and area_updated.
	* gdk-pixbuf-loader.h (struct _GdkPixbufLoaderClass): Add
	size_prepared signal.
	(gdk_pixbuf_loader_set_size) New API.
	* gdk-pixbuf-marshal.list: Add VOID:INT,INT.
	* io-jpeg.c: User cinfo->output_width/height instead of 
	cinfo->image_width/height throughout when adressing the pixbuf.
	(gdk_pixbuf__jpeg_image_load_increment): Call size_func, and
	find the nearest possible output size which libjpeg can produce
	that is still larger than the desired size.
	
1267 1268 1269 1270 1271 1272 1273 1274 1275
2002-07-06  Matthias Clasen  <maclas@gmx.de>

	* io-tiff.c (tiff_set_error): Handle global_error == NULL
	better.
	(tiff_image_parse): Don't trust TIFFRGBAImageBegin to set
	the "put" routine.  (Fixes #87384)
	(gdk_pixbuf__tiff_image_stop_load): Don't call TIFFClose too 
	early.

1276 1277
2002-07-02  Matthias Clasen  <maclas@gmx.de>

1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289
	Miscellaneous bmp loader fixes (#85448, #86286, #86287):
	
	* io-bmp.c (grow_buffer): New function to avoid crashes
	on unchecked reallocs. 
	(DecodeHeader, DecodeColormap, decode_bitmasks,
	DoCompressed): Use grow_buffer instead of g_realloc 
	throughout. Change signatures where necessary to pass the
	errors up.
	(OneLine16): Fix loading of 16bpp BI_RGB bmps. 
	(DoCompressed): Rewritten to properly support BI_RLE4 and
	skips and jumps.

1290 1291 1292 1293 1294 1295 1296 1297 1298
	Support for compressed ras images (#84994):
	
	* io-ras.c (RAS2State): Error on unsupported ras variations.
	(OneLine8): Fix colormap indexing.
	(OneLine): Call updated_func with proper region.
	(DoCompressed): New function, handles compressed ras data.
	(gdk_pixbuf__ras_image_load_increment): Handle compressed ras
	images.

1299 1300 1301 1302 1303 1304 1305
	Better colorspace support for the jpeg loader (#61211):
	
	* io-jpeg.c (convert_cmyk_to_rgb): New function.
	(gdk_pixbuf__jpeg_image_load,
	gdk_pixbuf__jpeg_image_load_increment): Allocate a pixbuf with
	alpha for 4-channel jpegs and call convert_cmyk_to_rgb for these.

1306 1307
	All of this needs to be merged to GNOME 1.4 gdk-pixbuf.
	
Sven Neumann's avatar
Sven Neumann committed
1308 1309 1310 1311
2002-06-28  Sven Neumann  <sven@gimp.org>

	* gdk-pixbuf-csource.c (print_blurb): converted a Tab to spaces.

1312 1313 1314 1315 1316 1317 1318 1319
Thu Jun 13 18:11:11 2002  Owen Taylor  <otaylor@redhat.com>

	* pixops/pixops.c: Fix problem where when no alpha was
	involved, we scaled rather than composited, but then
	went ahead and composited anyways. (#76958, Patch
	from Matthias Clasen). Needs to be merged to GNOME
	1.4 gdk-pixbuf.

1320 1321 1322 1323 1324
2002-06-13  Matthias Clasen  <maclas@gmx.de>

	* io-jpeg.c: Use libjpeg in buffered-image mode in order to
	incrementally display incrementally loaded progressive jpegs.

1325 1326 1327 1328 1329 1330 1331 1332 1333
2002-06-07  Federico Mena Quintero  <federico@ximian.com>

	* io-bmp.c (lsb_32):
	(lsb_16): New functions to fetch 32 or 16-bit little-endian values
	starting at a specific memory location.  We do this instead of
	GINT32_FROM_LE() as the latter is simply dereferences a cast,
	which doesn't work on platforms with alignment requirements.
	Fixes #84083.

1334 1335 1336 1337 1338 1339 1340 1341 1342 1343
2002-06-01  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf-io.c (pixbuf_check_xbm): Accept xbms starting
	with a C comment - those seem to be not uncommon, e.g. the Gimp 
	produces them.  (#82706)

	* io-xbm.c (read_bitmap_file_data): Don't leak memory on certain
	invalid inputs.
	(gdk_pixbuf__xbm_image_load_real): Don't leak memory on valid inputs.

1344 1345 1346 1347 1348 1349 1350
2002-05-22  Tor Lillqvist  <tml@iki.fi>

	* gdk-pixbuf-io.c (get_libdir): Use GTK_BINARY_VERSION (and not
	GTK_VERSION) in the path to the loaders on Win32, too.

	* Makefile.am: Pass GTK_BINARY_VERSION.

1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365
2002-05-22  Federico Mena Quintero  <federico@ximian.com>

	* io-xpm.c (pixbuf_create_from_xpm): Ahem, take the rowstride into
	account!!!  Fixes #82515.

	[This bug is not present in the GNOME 1.4 branch as its XPM loader
	does not use gdk_pixbuf_new(); rather it malloc()s a buffer with
	no row padding and then uses gdk_pixbuf_new_from_data() on it.]

	[IMPORTANT: The comment above is to make my life easier when
	merging stuff across branches.  If you make changes to gdk-pixbuf
	in either branch, please include a comment in the ChangeLog that
	indicates whether this should be merged into the other branch.
	Thanks!]

Matthias Clasen's avatar
Matthias Clasen committed
1366 1367 1368 1369 1370
2002-05-18  Matthias Clasen  <maclas@gmx.de>

	* io-tiff.c (tiff_image_parse): fix packing order on bigendian 
	systems.  (#81702)

1371 1372 1373 1374 1375
Thu May 16 15:17:30 2002  Owen Taylor  <otaylor@redhat.com>

	* pixops/pixops.c: Patch from Matthias Clasen to fix some typos 
	(#77246)

Owen Taylor's avatar
Owen Taylor committed
1376 1377 1378 1379 1380
Thu May 16 15:02:46 2002  Owen Taylor  <otaylor@redhat.com>

	* gdk-pixdata.c (gdk_pixdata_to_csource): Fix 64-bit warning.
	(#78258)

1381 1382 1383 1384 1385 1386
2002-05-07  Michael Natterer  <mitch@gimp.org>

	* gdk-pixbuf/Makefile.am: build the static pixbuf loaders
	conditionally like the dynamic ones so --without-lib<foo> is
	honored when building with --disable-modules. (#66867)

1387 1388 1389 1390 1391 1392
Sun May  5 02:27:01 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

	* Makefile.am (noinst_PROGRAMS): remove test-loaders (moved to
	gtk+/tests/)
	* test-loaders.c, test-images.h: remove 

1393 1394 1395 1396 1397 1398 1399 1400 1401
2002-04-24  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf-io.c (gdk_pixbuf_save): Remove the ISO8859-1
	restriction from the description of png tEXt parameters.

	* io-png.c (png_text_to_pixbuf_option): 
	(gdk_pixbuf__png_image_save): If libpng supports it,
	store and retrieve non-ISO8859-1 text as UTF-8.  (#76172)

Matthias Clasen's avatar
Matthias Clasen committed
1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419
2002-04-11  Matthias Clasen  <maclas@gmx.de>

	More fixes for #77807:
	
	* io-tga.c (get_contiguous_pixbuf): Helper function to create
	a pixbuf with a contiguous pixel array while being careful about
	overflow. 

	* io-tga.c (fill_in_context, get_image_pseudocolor,
	get_image_truecolor, get_image_grayscale): Use 
	get_contiguous_pixbuf instead of manually allocating image
	storage. 

	* io-xpm.c (pixbuf_create_from_xpm): 
	* io-pnm.c (gdk_pixbuf__pnm_image_load):
	* io-jpeg.c (gdk_pixbuf__jpeg_image_load): Use gdk_pixbuf_new
	instead of manually allocating image storage.

1420 1421 1422 1423 1424 1425
2002-04-09  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_load_module): Use 
	priv->image_module->module_name instead of image_type which may 
	be NULL.

1426 1427 1428 1429 1430 1431
2002-04-06  Matthias Clasen  <maclas@gmx.de>

	* io-png.c (gdk_pixbuf__png_image_load): Restructured to use
	gdk_pixbuf_new instead of manually allocating image storage. This
	gives us a good rowstride and overflow checks.  (#77807)

1432 1433 1434 1435 1436 1437 1438
2002-04-05  Matthias Clasen  <maclas@gmx.de>

	* io-tiff.c (tiff_image_parse): Avoid allocating an extra copy of
	the image by using a TIFFRGBAImage{Begin,Get,End} with suitable
	put functions instead of TIFFRGBAImage. And check image dimensions
	for overflow. 

Matthias Clasen's avatar
Matthias Clasen committed
1439 1440 1441 1442
2002-04-03  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_get_type): Fix a doc typo.

1443 1444 1445 1446 1447 1448
2002-03-29  Matthias Clasen  <maclas@gmx.de>

	* io-png.c (png_simple_error_callback): libpng error handlers must
	not return to their callers, thus longjmp out. This prevents
	annoying stderr output from the default error handler.

Matthias Clasen's avatar
Matthias Clasen committed
1449 1450 1451 1452 1453 1454 1455 1456
2002-03-27  Matthias Clasen  <maclas@gmx.de>

	* io-png.c (gdk_pixbuf__png_image_stop_load): Don't leak info_ptr.

	* io-png.c (gdk_pixbuf__png_image_load): Get rid of unused
	end_info. Also call png_read_end to check proper ending of the png
	file and catch text chunks after the image data.

1457 1458 1459 1460 1461 1462
2002-03-27  Matthias Clasen  <maclas@gmx.de>

	* io-png.c (gdk_pixbuf__png_image_load,
	gdk_pixbuf__png_image_begin_load): Make libpng use g_malloc
	instead of system malloc. 

Matthias Clasen's avatar
Matthias Clasen committed
1463 1464 1465 1466 1467 1468 1469 1470 1471 1472
2002-03-26  Matthias Clasen  <maclas@gmx.de>

	* io-tiff.c (tiff_image_parse): Don't leak pixbuf on error.

	* io-gif.c (gdk_pixbuf__gif_image_load_increment): Don't leak
	context->buf on error.

	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_close): Make sure to call
	stop_load even for short images to prevent memleaks.

1473 1474 1475 1476 1477 1478 1479
2002-03-25  Matthias Clasen  <maclas@gmx.de>

	* io-png.c (setup_png_transformations): Changed signature to
	return success and set a GError parameter, adjusted all callers.
	Also work around a possible FPE in libpng and always check that
	the new info is sane.

1480 1481 1482 1483 1484 1485
2002-03-23  Matthias Clasen  <maclas@gmx.de>

	* io-wbmp.c (gdk_pixbuf__wbmp_image_load_increment):
	context->updated_func is NULL during a nonincremental load.
	(gdk_pixbuf__wbmp_image_load): Stop reading after the first error.

1486 1487 1488 1489 1490 1491 1492
2002-03-18  Matthias Clasen  <maclas@gmx.de>

	* io-tga.c: Fix assumptions on rowstride by manually allocating a
	contiguous pixel buffer. Catch buffer overruns in RLE-modi. 
	Support grayscale + alpha (which can be written, but not read (!)
	by the Gimp). 

1493 1494 1495 1496
2002-03-15  Matthias Clasen  <maclas@gmx.de>

	* io-gif.c (gif_get_frame_info): Catch invalid frame dimensions.