]> Pileus Git - ~andy/gtk/blobdiff - gdk-pixbuf/ChangeLog
*** empty log message ***
[~andy/gtk] / gdk-pixbuf / ChangeLog
index c09fdd5c4705cdf546a1f5032f4018fb22dc33a1..786dd035b56b2140cf37ed91f6c26db91166ba58 100644 (file)
@@ -1,3 +1,490 @@
+2004-11-15  Matthias Clasen  <mclasen@redhat.com>
+
+       * 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)
+
+2004-11-12  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk-pixbuf-io.c (gdk_pixbuf_io_init): Don't use 
+       _gdk_pixbuf_load_module_unlocked() in the !USE_GMODULE case.
+
+       * === Released 2.5.5 ===
+       
+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.
+
+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.
+
+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)
+
+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.
+
+2004-10-29  Hans Breuer  <hans@breuer.org>
+
+       * makefile.msc : updated
+
+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.
+
+2004-09-19  Matthias Clasen  <mclasen@redhat.com>
+
+       * === Released 2.5.3 ===
+
+2004-09-15  Matthias Clasen  <mclasen@redhat.com>
+
+       * io-ico.c: 
+       * io-xpm.c: Fix some security issues discovered by Chris Evans. 
+
+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)
+
+2004-09-09  Matthias Clasen  <mclasen@redhat.com>
+
+       * makegdkpixbufalias.pl: Use the short prefix "IA__" for 
+       aliases instead of the long suffix "__internal_alias". 
+       
+2004-09-01  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk-pixbuf-core.h: Align argument names with source.
+
+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)
+
+Wed Aug 25 17:23:23 2004  Manish Singh  <yosh@gimp.org>
+
+       * io-gif.c: remove unused set_need_recomposite() function.
+
+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.
+
+2004-08-24  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk-pixbuf-loader.c (gdk_pixbuf_loader_new_with_mime_type): Use
+       the correct index and compare correctly, reported by Tommi Komulainen.
+       (gdk_pixbuf_loader_new_with_mime_type): 
+
+       * gdk-pixdata.c (gdk_pixdata_from_pixbuf): Work around bugs in
+       the runlength encoder by forcing rowstride * height to be 
+       divisible by bpp.  (#150882)
+
+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)
+
+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)
+
+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.
+
+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)
+
+2004-08-12  Matthias Clasen  <mclasen@redhat.com>
+
+       * pixops/pixops.c: Remove C99-isms.  (#149967, Vincent Noel)
+
+Wed Aug 11 22:56:55 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * abicheck.sh: Check all symbols.
+
+2004-08-11  Matthias Clasen  <mclasen@redhat.com>
+
+       * pixops/pixops.c: Make scaling and compositing functions handle
+       edge pixels consistently.  (#111922, Brian Cameron)
+
+       * 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.
+
+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
+
+2004-08-06  Hans Breuer  <hans@breuer.org>
+
+       * gdk_pixbuf.def makefile.msc : updated
+
+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)
+
+2004-08-01  Matthias Clasen  <mclasen@redhat.com>
+                                                                                
+        * === Released 2.5.1 ===
+                                                                                
+Tue Jul 20 22:23:26 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gdk-pixbuf-io.h: Remove trailing commas from 
+       enumerations.  (#148035)
+
+Sun Jul 18 20:17:41 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * === released 2.5.0 ==
+
+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)
+
+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.
+
+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.
+       
+2004-07-07  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk-pixbuf-features.h.in: Fix the build.
+
+2004-07-06  Tor Lillqvist  <tml@iki.fi>
+
+       * 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.
+
+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)
+
+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.
+
+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.
+
+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.
+
+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)
+
+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>
+       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)
+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) 
+
+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)
+       
+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)
+
+2004-04-30  Matthias Clasen  <mclasen@redhat.com>
+
+       * === Released 2.4.1 ===
+
+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)
+
+Mon Mar 15 15:01:59 2004  Owen Taylor  <otaylor@redhat.com>
+
+       * === Released 2.4.0 ===
+
+2004-03-15  Tor Lillqvist  <tml@iki.fi>
+
+       * queryloaders.c (main): [Win32] Look up installation prefix at
+       run-time, replace prefix in PIXBUF_LIBDIR with that. (#106141)
+
+       Merges from stable branch that had been left out. (#136282, J. Ali
+       Harlow):
+
+       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.
+
+Tue Mar  9 09:33:28 2004  Owen Taylor  <otaylor@redhat.com>
+
+       * === Released 2.3.6 ===
+
+2004-03-05  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk_pixbuf.def: Add missing entries. Thanks to J. Ali Harlow.
+
+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)
+
+Mon Mar  1 19:47:48 2004  Owen Taylor  <otaylor@redhat.com>
+
+        * === Released 2.3.5 ====
+
+2004-02-28  Hans Breuer  <hans@breuer.org>
+
+       * io-tiff.c : include <io.h> for lseek()
+       * io-xbm.c : use HAVE_UNISTD_H
+
+Tue Feb 24 14:45:03 2004  Owen Taylor  <otaylor@redhat.com>
+
+       * === Released 2.3.3 ===
+
+Sun Feb 22 01:09:55 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * io-bmp.c (gdk_pixbuf__bmp_image_begin_load): Remove debugging
+       code.
+
+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)
+
+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).
+
+2004-01-28  Hans Breuer  <hans@breuer.org>
+
+       * gdk_pixbuf.def : updated externals
+
+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.
+
+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_().
+
+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)
+
+2004-01-06  Federico Mena Quintero  <federico@ximian.com>
+
+       * 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.
+
+       * gdk-pixbuf.c (gdk_pixbuf_get_pixels): Link to the documentation
+       section on image data.
+
+2004-01-06  Federico Mena Quintero  <federico@ximian.com>
+
+       * gdk-pixdata.c (gdk_pixbuf_new_from_inline): Fix example in
+       documentation comment.  Fixes #130701.
+
 Wed Jan  7 02:41:14 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gdk-pixbuf-io.c (gdk_pixbuf_save_to_bufferv):