ChangeLog 172 KB
Newer Older
1 2
2006-12-21  Matthias Clasen  <mclasen@redhat.com>

3 4 5 6 7
	* 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)

8 9
	* Makefile.am: Link against GLib.  (#341158, Alexey Rusakov)

10 11 12 13 14
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.

15 16 17 18 19
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.

20 21 22 23 24 25 26 27 28 29
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.

30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
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.

Matthias Clasen's avatar
Matthias Clasen committed
51 52 53 54
2006-10-08  Matthias Clasen  <mclasen@redhat.com>

	* Apply a cleanup patch by Kjartan Maraas  (#341812) 

55 56 57 58
2006-09-06  Matthias Clasen  <mclasen@redhat.com>

	* io-pnm.c: Simplify and fix reading of ASCII images. 

Matthias Clasen's avatar
2.10.2  
Matthias Clasen committed
59 60 61 62
2006-08-17  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.10.2 ===

63 64 65 66 67 68
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)

Matthias Clasen's avatar
2.10.1  
Matthias Clasen committed
69 70 71 72
2006-07-23  Matthias Clasen  <mclasen@redhat.com>
	
	* === Released 2.10.1 ===

73 74
2006-07-16  Matthias Clasen  <mclasen@redhat.com>

75 76 77 78 79 80 81
	* 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)

82 83 84 85
	* io-xbm.c: Fix incremental loading of 
	xbms.  (#346427, Ed Catmur)
	Also make the xbm loader accept const variations.

Matthias Clasen's avatar
2.10.0  
Matthias Clasen committed
86 87 88 89
2006-07-02  Matthias Clasen  <mclasen@redhat.com>
	
	* === Released 2.10.0 ===

Matthias Clasen's avatar
Matthias Clasen committed
90 91
2006-06-21  Matthias Clasen  <mclasen@redhat.com>
	
92 93 94
	* pixops/*.S: NetBSD portability fixes.  (#346374,
	Thomas Klausner)
	
Matthias Clasen's avatar
Matthias Clasen committed
95 96
	* === Released 2.9.4 ===

Matthias Clasen's avatar
2.9.3  
Matthias Clasen committed
97 98 99 100
2006-06-12  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.9.3 ===

Matthias Clasen's avatar
2.9.2  
Matthias Clasen committed
101 102 103 104
2006-06-05  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.9.2 ===

Matthias Clasen's avatar
2.9.1  
Matthias Clasen committed
105 106 107 108
2006-05-16  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.9.1 ====

Matthias Clasen's avatar
2.9.0  
Matthias Clasen committed
109 110 111 112
2006-05-04  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.9.0 ===

Matthias Clasen's avatar
Matthias Clasen committed
113 114
2006-04-04  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
115 116 117
	* gdk-pixbuf-loader.c:
	* gdk-pixbuf.c: Use G_DEFINE_TYPE.

Matthias Clasen's avatar
Matthias Clasen committed
118 119 120
	* gdk-pixbuf.c: No point in making the error path fast by 
	caching quarks.

121 122 123 124 125
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.

126 127 128 129 130 131
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)

132 133 134 135 136 137 138 139 140
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)

141 142 143 144 145 146
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)

Matthias Clasen's avatar
Matthias Clasen committed
147 148 149 150 151
2006-03-03  Matthias Clasen  <mclasen@redhat.com>

	* io-pnm.c: Support pnm files with maxval > 255.
	(#327560, Matthijs Douze)

152 153 154 155 156
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)

157 158 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 195
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.
	
196 197 198 199 200 201 202 203 204 205
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)

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

	* io-gif.c (gdk_pixbuf__gif_image_load_increment): Don't cast
	the results of g_new().  (#327423, Morten Welinder)

211 212 213 214 215
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").

Jonathan Blandford's avatar
Jonathan Blandford committed
216 217 218 219
Fri Dec 30 00:59:21 2005  Jonathan Blandford  <jrb@redhat.com>

	* gdk-pixbuf-io.c (gdk_pixbuf_format_get_license): minor doc edit.

220 221 222 223 224
2005-12-16  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-io.c (_gdk_pixbuf_load_module_unlocked): Use
	G_MODULE_BIND_LOCAL when opening modules.

225 226 227 228 229 230 231 232 233 234 235 236
2005-12-14  Michael Natterer  <mitch@imendio.com>

	* 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  Michael Natterer  <mitch@imendio.com>

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

237 238 239 240 241
2005-11-15  Matthias Clasen  <mclasen@redhat.com>

	* io-xpm.c: Fix several integer overflows which have been
	reported as CVE-2005-3186 and CVE-2005-2975.

242 243 244 245 246 247
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)

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

256 257 258 259 260
2005-09-05  Matthias Clasen  <mclasen@redhat.com>

	* io-tga.c (parse_rle_data): Remove unused variable
	pbuf_count.  (#315282, Kjartan Maraas)

261 262
2005-08-31  Matthias Clasen  <mclasen@redhat.com>

263 264 265
	* Makefile.am (gdk-pixbuf-enum-types.c): Intern type
	names in code generated by glib-mkenums, too.

266 267 268 269 270 271 272 273 274 275
	* io-ani-animation.c (gdk_pixbuf_ani_anim_iter_get_type) 
	(gdk_pixbuf_ani_anim_get_type): 
	* io-gif-animation.c (gdk_pixbuf_gif_anim_get_type) 
	(gdk_pixbuf_gif_anim_iter_get_type): 
	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_get_type): 
	* gdk-pixbuf.c (gdk_pixbuf_get_type): 
	* gdk-pixbuf-animation.c (gdk_pixbuf_animation_get_type): 
	Intern type names before registering the type to avoid 
	unnecessary copies.

276 277
2005-08-30  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
278 279
	* gdk-pixbuf-io.c (format_check): Make this work again.

280 281 282 283 284 285 286 287 288 289 290
	* io-png.c (png_save_to_callback_write_func): Add a cast
	to avoid compiler warnings.

	* pixops/timescale.c (main): Declare src_buf, dest_buf as
	unsigned to avoid compiler warnings.

	* gdk-pixbuf-io.h: Declare the prefix and mask members of
	GdkPixbufModulePattern as char*, to avoid compiler warnings.

	* io-ani.c (ani_load_chunk): Use g_try_new() in some places.

Matthias Clasen's avatar
2.8.1  
Matthias Clasen committed
291 292
2005-08-24  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
2.8.2  
Matthias Clasen committed
293 294
	* === Released 2.8.2 ===

Matthias Clasen's avatar
2.8.1  
Matthias Clasen committed
295 296
	* === Released 2.8.1 ===

297 298 299 300 301
2005-08-18  Matthias Clasen  <mclasen@redhat.com>

	* io-ico.c (DecodeHeader): Check for overflow in one more
	place.  (#313818, Tommi Komulainen)

302 303 304 305 306 307
2005-08-15  Matthias Clasen  <mclasen@redhat.com>

	* io-jpeg.c (fatal_error_handler): Pay attention to the 
	libjpeg error code and report OOM errors as such.  (#312674,
	Tommi Komulainen)

Matthias Clasen's avatar
2.8.0  
Matthias Clasen committed
308 309 310 311
2005-08-13  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.8.0 ===

Matthias Clasen's avatar
Matthias Clasen committed
312 313 314 315
2005-08-07  Matthias Clasen  <mclasen@redhat.com>

	* abicheck.sh: Also check exported variables.

Matthias Clasen's avatar
2.7.5  
Matthias Clasen committed
316 317 318 319
2005-08-02  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.7.5 ===

320 321
2005-07-22  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
2.7.4  
Matthias Clasen committed
322 323 324 325 326 327 328
	* === Released 2.7.4 === 

2005-07-22  Matthias Clasen  <mclasen@redhat.com>
		
	* queryloaders.c: Accept '*' in masks. (pointed out
	by William Jon McCann)

329
	* gdk-pixbuf-io.c (format_check): Make anchored patterns work 
Matthias Clasen's avatar
Matthias Clasen committed
330
	as they did before.  (#311011, William Jon McCann)
331

332 333 334 335 336 337 338
2005-07-22  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-io.c (format_check): Interpret patterns where
	the first byte of the mask is '*' as unanchored.  (#311011)
	(gdk_pixbuf_new_from_file): Use the first 256 bytes for
	sniffing the file format.

Matthias Clasen's avatar
2.7.3  
Matthias Clasen committed
339 340 341 342
2005-07-15  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.7.3 ===
	
343 344 345 346 347
2005-07-12  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-i18n.h: 
	* pixops/*: Add copyright and license information.

Tor Lillqvist's avatar
Tor Lillqvist committed
348 349 350 351 352 353 354 355 356 357 358
2005-07-09  Tor Lillqvist  <tml@novell.com>

	* Makefile.am: Don't use the scripts in build/win32 to compile the
	rc file into a resource object file. (This means we lose the
	build number increment magic, but I doubt it was that useful
	anyway.) Instead use windres directly. To pass the normal .o file
	produced by windres through libtool, which would want a .lo file,
	pass it directly to the linker using a -Wl option.

	* gdk_pixbuf.rc.in: Replace BUILDNUMBER with 0.

Matthias Clasen's avatar
2.7.2  
Matthias Clasen committed
359 360 361 362
2005-07-08  Matthias Clasen  <mclasen@redhat.com>
	
	* === Released 2.7.2 ===

Matthias Clasen's avatar
2.7.1  
Matthias Clasen committed
363 364 365 366
2005-07-01  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.7.1 ===
	
367 368 369 370 371 372
2005-07-01  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file_at_scale): Allow
	-1 for width/height and interpret them as "not constrained".
	(#309258, Mark McLoughlin)

373 374 375 376 377 378 379
2005-06-26  Tor Lillqvist  <tml@novell.com>

	* Makefile.am: Current GNU tools do understand the PRIVATE
	keyword, so no need to remove those entries from the import
	library. libtool installs the .dll.a import library itself, so no
	need to do it here. Do install the .def file.

Matthias Clasen's avatar
Matthias Clasen committed
380 381 382 383
2005-06-22  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-i18n.h: Use glib-i18n.h

Matthias Clasen's avatar
2.7.0  
Matthias Clasen committed
384 385 386 387
2005-06-20  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.7.0 ===

Matthias Clasen's avatar
Matthias Clasen committed
388 389 390 391 392 393
2005-06-15  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf.symbols:
	* gdk-pixbuf-simple-anim.h: Add 
	gdk_pixbuf_simple_anim_iter_get_type()

394 395 396 397 398
2005-06-08  Matthias Clasen  <mclasen@redhat.com>

	* io-pnm.c (pnm_read_next_value): Check for overflow.
	(#306394, Morten Welinder)

399 400 401 402
2005-05-27  Matthias Clasen  <mclasen@redhat.com>

	* io-bmp.c: Accept the 108 byte header of BMP v4.  (#168799)

Matthias Clasen's avatar
Matthias Clasen committed
403 404
2005-05-25  Matthias Clasen  <mclasen@redhat.com>

405 406 407 408
	* gdk-pixbuf.symbols: 
	* gdk-pixbuf-simple-anim.[hc]: No need to expose the iter
	subclass at all in the headers.

Matthias Clasen's avatar
Matthias Clasen committed
409 410 411 412 413 414 415 416 417
	* Makefile.am: Add new files. 

	* gdk-pixbuf.symbols: Add new api.

	* gdk-pixbuf.h: Include gdk-pixbuf-simple-anim.h here.

	* gdk-pixbuf-simple-anim.[hc]: Add a way to construct
	simple animations out of pixbufs.  (#135161, Dom Lachowicz)

418 419 420 421 422 423 424
2005-05-24  Sven Neumann  <sven@gimp.org>

	* io-png.c: allow to specify the PNG compression level by passing
	a "compression" parameter to the PNG save function (bug #305337).

	* gdk-pixbuf-io.c (gdk_pixbuf_save): document the new parameter.

425
2005-04-09  Matthias Clasen  <mclasen@redhat.com>
Matthias Clasen's avatar
Matthias Clasen committed
426 427 428
	
	* Makefile.am: Use $(NM), not nm directly. (#301299, 
	Nguyen Thai Ngoc Duy)
429 430 431 432

	* io-bmp.c (gdk_pixbuf__bmp_image_save_to_callback): 
	Don't overflow the stack.  (Jakub Jelinek, Arjan van de Ven)

Matthias Clasen's avatar
Matthias Clasen committed
433 434
2005-04-08  Matthias Clasen  <mclasen@redhat.com>

435 436
	* io-pcx.c: No debugging output, please. (#173107,
	John Ellis)
Matthias Clasen's avatar
Matthias Clasen committed
437

Matthias Clasen's avatar
Matthias Clasen committed
438 439 440 441 442
2005-04-07  Matthias Clasen  <mclasen@redhat.com>

	* io-bmp.c (DecodeColormap): Initialize the colormap to 
	zero.  (#171762, David Costanzo)

443 444 445 446 447
2005-03-30  Matthias Clasen  <mclasen@redhat.com>

	* io-bmp.c: Avoid bus errors due to unaligned access. (#168173,
	Morten Welinder, Ivan Wong)

448 449 450 451 452
2005-03-29  Matthias Clasen  <mclasen@redhat.com>

	* io-tga.c (parse_rle_data): Fix the update areas for incremental
	loading of compressed tgas.  (#171883, David Costanzo)

453 454 455 456 457 458
2005-03-27  Matthias Clasen  <mclasen@redhat.com>

	* io-bmp.c (DoCompressed): Use the correct update regions for
	compressed bmps.  (#150664, Owen Taylor, test images provided
	by David Costanzo)

459 460 461 462 463
Sun Mar 27 19:59:52 2005  Manish Singh  <yosh@gimp.org>

	* io-bmp.c (grow_buffer): reject 0-sized buffers as corrupt header
	data. Fixes bug #171707.

464 465 466 467 468
2005-03-25  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-data.c (gdk_pixbuf_new_from_data): Use canonical
	property names.

469 470 471 472 473
2005-03-21  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf.c (gdk_pixbuf_class_init): Mark param spec strings
	as static.

474 475 476 477 478 479 480 481 482 483 484 485 486 487 488
2005-03-14  Matthias Clasen  <mclasen@redhat.com>

	Make PLT-reduction work with gcc4, and don't include
	everything in gdk-pixbuf-alias.h:
	
	* gdk-pixbuf.symbols: Group symbols by header and source file.
	* /makegdkpixbufalias.pl: Protect definitions by the same 
	preprocessor symbols used to guard the headers. Move
	the alias declarations to a separate file which is 
	produced when calling makegdkpixbufalias.pl -def
	* Makefile.am (gdk-pixbuf-aliasdef.c): Add a rule to generate 
	this file.
	* *.c: Include gdk-pixbuf-alias.h after the other headers,
	include gdk-pixbuf-aliasdef.c at the bottom.

489 490 491 492 493 494 495
2005-03-10  Tor Lillqvist  <tml@novell.com>

	* gdk-pixbuf-core.h
	* gdk-pixbuf-io.c
	* gdk-pixbuf.symbols: Implement DLL ABI stablility for
	gdk_pixbuf_save() and gdk_pixbuf_savev(). (#167973)

496 497 498 499 500
2005-03-09  Matthias Clasen  <mclasen@redhat.com>

	* io-gif-animation.c (gdk_pixbuf_gif_anim_frame_composite): Fix 
	a C99ism.  (#169741, Morten Welinder)

501 502
2005-03-08  Matthias Clasen  <mclasen@redhat.com>

503 504 505
	* gdk-pixbuf.c (gdk_pixbuf_class_init): Use canonical
	form of the name when registering properties. 

506 507
	* gdk-pixbuf.symbols: Add the new attributes here, too.
	
508 509 510
	* gdk-pixbuf-core.h: Use G_GNUC_NULL_TERMINATED where
	appropriate.  (#165682, Marc Meissner)

511 512 513 514 515 516 517 518 519 520 521 522
2005-03-07  Matthias Clasen  <mclasen@redhat.com>

	* io-xpm.c: Use a generated table of offsets
	into a big const string to avoid relocations
	in the rgb color table. (#168901, Tommi Komulainen)
	
	* gen-color-table.pl: Script to generate the table,
	copied from Owen Taylors script by the same name
	in Pango.
	
	* xpm-color-table.h: The generated table.

523 524
2005-03-03  Matthias Clasen  <mclasen@redhat.com>

525 526 527
	* io-xpm.c (pixbuf_create_from_xpm): Check the number
	of scanned items.  (#168906, Morten Welinder)

528 529 530 531 532 533 534 535 536
	Make the gif loader handle oom when loading 
	animations.  (#168857, Tommi Komulainen)
	
	* io-gif-animation.c (gdk_pixbuf_gif_anim_frame_composite): 
	Handle oom by returning NULL.

	* io-gif.c (gif_get_lzw): Return an error if composite 
	returns NULL.

537 538 539 540 541
2005-02-28  Matthias Clasen  <mclasen@redhat.com>

	* pixops/*.S: Add .note.GNU-stack sections to Mark these as not 
	requiring an executable stack.
	
542 543
2005-02-23  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
544 545 546 547
	* gdk-pixbuf-io.c: Document BMP saving support.

	* io-bmp.c: Support saving as BMP. (168173, Ivan Wong)

548 549
	* io-ico.c: Fix a typo.  (#168173, Ivan Wong)

550 551 552 553 554
2005-02-15  Matthias Clasen  <mclasen@redhat.com>

	* io-pnm.c (pnm_skip_whitespace): Don't read over the end of
	the buffer if '#' appears at the very end.  (#167141, Doug Morgan)

Hans Breuer's avatar
Hans Breuer committed
555 556 557 558
2005-02-05  Hans Breuer  <hans@breuer.org>

	* makefile.msc : rule for gdk_pixbuf.def

559 560 561 562 563 564 565 566
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)

567 568 569 570 571 572 573
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)

574 575 576 577 578 579 580
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
581 582 583 584
2005-01-08  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.6.1 ===
	
585 586 587 588 589 590
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)

591 592 593 594 595 596
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)

597 598 599 600 601
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.
	
602 603 604 605 606
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
607 608 609 610
2004-12-16  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.6.0 ===

Manish Singh's avatar
Manish Singh committed
611 612 613 614
Fri Dec 10 13:57:44 2004  Manish Singh  <yosh@gimp.org>

	* abicheck.sh: filter out PRIVATE.

615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642
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
643 644 645 646
2004-12-02  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.5.6 ===

647 648 649 650 651
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)

652 653 654 655 656
2004-11-29  Matthias Clasen  <mclasen@redhat.com>

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

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

659
	* makegdkpixbufalias.pl: Typo fix, so attributes are really
660 661
	propagated.

662 663 664 665 666 667
2004-11-28  Matthias Clasen  <mclasen@redhat.com>

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

668 669 670 671
Thu Nov 25 14:21:37 2004  Manish Singh  <yosh@gi,p.org>

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

672 673 674 675 676 677 678 679 680 681 682 683 684
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.

685 686 687 688 689 690 691
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
692 693
2004-11-15  Matthias Clasen  <mclasen@redhat.com>

694 695 696 697 698 699 700 701
	* 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
702 703 704 705
	* 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
706 707
2004-11-12  Matthias Clasen  <mclasen@redhat.com>

708 709 710
	* 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
711 712
	* === Released 2.5.5 ===
	
713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748
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.

749 750 751 752 753 754
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.

755 756 757 758 759
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)

760 761 762 763 764
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
765 766 767 768
2004-10-29  Hans Breuer  <hans@breuer.org>

	* makefile.msc : updated

Matthias Clasen's avatar
Matthias Clasen committed
769 770 771 772 773 774 775 776 777
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
778 779 780 781
2004-09-19  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.5.3 ===

Matthias Clasen's avatar
Matthias Clasen committed
782 783 784 785 786
2004-09-15  Matthias Clasen  <mclasen@redhat.com>

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

787 788 789 790 791
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)

792 793 794 795 796
2004-09-09  Matthias Clasen  <mclasen@redhat.com>

	* makegdkpixbufalias.pl: Use the short prefix "IA__" for 
	aliases instead of the long suffix "__internal_alias". 
	
797 798 799 800
2004-09-01  Matthias Clasen  <mclasen@redhat.com>

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

801 802 803 804 805 806 807 808 809
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)

810 811 812 813
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
814 815 816 817 818 819 820 821 822 823 824 825 826 827
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.

828 829
2004-08-24  Matthias Clasen  <mclasen@redhat.com>

830
	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_new_with_mime_type): Use
831 832
	the correct index and compare correctly, reported by Tommi Komulainen.
	(gdk_pixbuf_loader_new_with_mime_type): 
833

834 835 836 837
	* gdk-pixdata.c (gdk_pixdata_from_pixbuf): Work around bugs in
	the runlength encoder by forcing rowstride * height to be 
	divisible by bpp.  (#150882)

838 839 840 841 842
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)

843 844 845 846 847
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)

848 849 850 851 852 853 854 855 856 857 858 859 860
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.

861 862 863 864 865
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)

866 867 868 869
2004-08-12  Matthias Clasen  <mclasen@redhat.com>

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

Matthias Clasen's avatar
Matthias Clasen committed
870 871 872 873
Wed Aug 11 22:56:55 2004  Matthias Clasen  <maclas@gmx.de>

	* abicheck.sh: Check all symbols.

874 875
2004-08-11  Matthias Clasen  <mclasen@redhat.com>

876 877 878
	* pixops/pixops.c: Make scaling and compositing functions handle
	edge pixels consistently.  (#111922, Brian Cameron)

879 880 881 882 883 884 885 886 887
	* 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.

888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911
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
912 913 914 915
2004-08-06  Hans Breuer  <hans@breuer.org>

	* gdk_pixbuf.def makefile.msc : updated

916 917 918 919 920
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
921 922 923 924
2004-08-01  Matthias Clasen  <mclasen@redhat.com>
                                                                                
        * === Released 2.5.1 ===
                                                                                
925 926 927 928 929
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
930 931 932 933
Sun Jul 18 20:17:41 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

	* === released 2.5.0 ==

934 935 936 937 938 939
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)

940 941 942 943 944 945 946 947 948 949 950
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.

951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969
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
970 971 972 973
2004-07-07  Matthias Clasen  <mclasen@redhat.com>

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

974 975
2004-07-06  Tor Lillqvist  <tml@iki.fi>

Tor Lillqvist's avatar
Tor Lillqvist committed
976 977 978 979
	* 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.
980

981 982 983 984 985
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)

986 987 988 989 990 991 992 993
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.

994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007
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.

1008 1009 1010 1011 1012
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.

1013 1014 1015 1016 1017
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)

1018 1019 1020 1021 1022 1023 1024 1025
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>
1026 1027 1028 1029 1030 1031 1032
 
	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
1033 1034 1035 1036 1037 1038 1039
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) 

1040 1041 1042 1043 1044 1045 1046 1047 1048 1049
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)
	
1050 1051 1052 1053 1054 1055 1056 1057 1058
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
1059 1060 1061 1062
2004-04-30  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.4.1 ===

1063 1064 1065 1066 1067 1068 1069 1070 1071
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
1072 1073 1074 1075
Mon Mar 15 15:01:59 2004  Owen Taylor  <otaylor@redhat.com>

	* === Released 2.4.0 ===

1076 1077
2004-03-15  Tor Lillqvist  <tml@iki.fi>

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

1081
	Merges from stable branch that had been left out. (#136282, J. Ali
1082
	Harlow):
1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099

	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
1100 1101 1102 1103
Tue Mar  9 09:33:28 2004  Owen Taylor  <otaylor@redhat.com>

	* === Released 2.3.6 ===

1104 1105 1106 1107
2004-03-05  Tor Lillqvist  <tml@iki.fi>

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

1108 1109 1110 1111 1112 1113
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
1114 1115 1116 1117
Mon Mar  1 19:47:48 2004  Owen Taylor  <otaylor@redhat.com>

	 * === Released 2.3.5 ====

1118 1119 1120 1121 1122
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
1123 1124 1125 1126
Tue Feb 24 14:45:03 2004  Owen Taylor  <otaylor@redhat.com>

	* === Released 2.3.3 ===

Matthias Clasen's avatar
Matthias Clasen committed
1127 1128 1129 1130 1131
Sun Feb 22 01:09:55 2004  Matthias Clasen  <maclas@gmx.de>

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

1132 1133 1134 1135 1136 1137 1138
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)

1139 1140 1141 1142 1143 1144 1145 1146 1147
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
1148 1149 1150 1151
2004-01-28  Hans Breuer  <hans@breuer.org>

	* gdk_pixbuf.def : updated externals

Matthias Clasen's avatar
Matthias Clasen committed
1152 1153 1154 1155 1156 1157 1158
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.

1159 1160 1161 1162 1163 1164 1165 1166 1167
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_().

1168 1169 1170 1171 1172
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)

1173 1174
2004-01-06  Federico Mena Quintero  <federico@ximian.com>

1175 1176 1177 1178
	* 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.

1179 1180 1181
	* gdk-pixbuf.c (gdk_pixbuf_get_pixels): Link to the documentation
	section on image data.

1182 1183 1184 1185 1186
2004-01-06  Federico Mena Quintero  <federico@ximian.com>

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

1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212
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.
	
1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237
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)

1238 1239 1240 1241 1242 1243 1244 1245 1246
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().

1247 1248 1249 1250 1251 1252 1253
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)

1254 1255 1256 1257
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
1258
	documentation.  (#128977) 	
1259

1260 1261 1262 1263 1264 1265
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
1266 1267 1268 1269
Mon Nov 10 00:17:52 2003  Matthias Clasen  <maclas@gmx.de>

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

1270 1271 1272 1273 1274 1275 1276
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.

1277 1278 1279 1280 1281 1282 1283 1284 1285
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.

1286 1287 1288 1289 1290
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)

1291 1292 1293 1294 1295
2003-09-19  Matthias Clasen  <maclas@gmx.de>

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

1296 1297 1298 1299 1300 1301
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)

1302 1303 1304 1305 1306
2003-08-14  Matthias Clasen  <maclas@gmx.de>

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

1307 1308 1309
2003-08-03  Matthias Clasen  <maclas@gmx.de>

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

1313 1314
2003-07-24  Matthias Clasen  <maclas@gmx.de>

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

1318 1319
2003-07-23  Matthias Clasen  <maclas@gmx.de>

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

Hans Breuer's avatar
updated  
Hans Breuer committed
1323 1324 1325 1326 1327 1328
2003-03-01  Hans Breuer  <hans@breuer.org>

	* makefile.msc : updated

	* gdk_pixbuf.def : export a bunch of new functions

1329 1330
2003-07-18  Matthias Clasen  <maclas@gmx.de>

Matthias Clasen's avatar
Matthias Clasen committed
1331 1332 1333
	* 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) 
1334

1335 1336 1337
2003-07-13  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf.h: 
Matthias Clasen's avatar
Matthias Clasen committed
1338 1339 1340
	* 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) 
1341

1342 1343
2003-07-11  Matthias Clasen  <maclas@gmx.de>

Matthias Clasen's avatar
Matthias Clasen committed
1344 1345
	* queryloaders.c (query_module): Handle absolute filenames
	properly. (#117170, Jens Elkner) 
1346 1347