summaryrefslogtreecommitdiff
path: root/gdk-pixbuf
Commit message (Collapse)AuthorAgeFilesLines
* === Released 2.3.6 ===GTK_2_3_6Owen Taylor2004-03-091-0/+4
| | | | | | | | | | Tue Mar 9 09:57:25 2004 Owen Taylor <otaylor@redhat.com> * === Released 2.3.6 === * configure.in: Version 2.3.6, interface age 0. * NEWS: Updates
* Fixes #136082 and #135265, patch by Morten Welinder.Federico Mena Quintero2004-03-068-3/+8
| | | | | | | | | | 2004-03-05 Federico Mena Quintero <federico@ximian.com> Fixes #136082 and #135265, patch by Morten Welinder. * configure.in: Use AC_SYS_LARGEFILE. * */*.c: #include <config.h>
* Add missing entries. Thanks to J. Ali Harlow.Tor Lillqvist2004-03-052-0/+9
| | | | | | 2004-03-05 Tor Lillqvist <tml@iki.fi> * gdk_pixbuf.def: Add missing entries. Thanks to J. Ali Harlow.
* Don't try to load an alpha channel from the BMP, since there is noMatthias Clasen2004-03-052-2/+8
| | | | | | | | 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)
* === Released 2.3.5 ===GTK_2_3_5Owen Taylor2004-03-021-0/+4
| | | | | | | | | | | Tue Mar 2 17:06:05 2004 Owen Taylor <otaylor@redhat.com> * === Released 2.3.5 === * NEWS: Updates * configure.in: Version 2.3.5, interface age 0. Require glib-2.3.5, pango-1.3.5.
* include <io.h> for lseek() use HAVE_UNISTD_HHans Breuer2004-02-283-0/+9
| | | | | | | 2004-02-28 Hans Breuer <hans@breuer.org> * io-tiff.c : include <io.h> for lseek() * io-xbm.c : use HAVE_UNISTD_H
* === Released 2.3.3 ===GTK_2_3_3Owen Taylor2004-02-241-0/+4
| | | | | | | | | | Tue Feb 24 14:45:03 2004 Owen Taylor <otaylor@redhat.com> * === Released 2.3.3 === * configure.in: Version 2.3.3, interface age 0. * NEWS: Finish updates for 2.3.3.
* Remove debugging code.Matthias Clasen2004-02-222-3/+5
|
* Store and sanity-check the clrUsed field from the header for use inMatthias Clasen2004-02-202-12/+48
| | | | | | | | | 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)
* removed unnecessary G_OBJECT() cast checks.Manish Singh2004-02-083-7/+15
| | | | | | | | | | | 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).
* updated externalsHans Breuer2004-01-282-2/+8
| | | | | | 2004-01-28 Hans Breuer <hans@breuer.org> * gdk_pixbuf.def : updated externals
* Forgotten log entry.Matthias Clasen2004-01-201-0/+7
|
* splitting the gtk20 translation domain.Matthias Clasen2004-01-171-1/+1
|
* The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog andMatthias Clasen2004-01-163-16/+27
| | | | | | | | | | | | | | | | | | | | Fri Jan 16 23:59:01 2004 Matthias Clasen <maclas@gmx.de> The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog and po/ChangeLog): * gtk/gtkintl.h: * gdk-pixbuf/gdk-pixbuf-i18n.h: * gdk/gdkintl.h: Define P_() for property blurbs and nicks. * gdk/gdkdisplaymanager.c: * gdk-pixbuf/gdk-pixbuf.c: * modules/input/gtkimcontextxim.c: * gtk/*.c: Mark property blurbs and nicks with P_(). * po/Makefile.in.in: Add --keyword=P_ to the xgettext invocation, since property blurbs and nicks are now marked with P_().
* #include <unistd.h> for unlink()Manish Singh2004-01-091-1/+6
| | | | | | Fri Jan 9 11:58:47 2004 Manish Singh <yosh@gimp.org> * gdk-pixbuf/gdk-pixbuf-io.c: #include <unistd.h> for unlink()
* Don't use bitwise operators on booleans. (#130923, reported by TelsaMatthias Clasen2004-01-082-1/+6
| | | | | | | 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)
* Escape an ampersand in the documentation comment, and hack around an emptyFederico Mena Quintero2004-01-072-2/+6
| | | | | | | | 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.
* Link to the documentation section on image data.Federico Mena Quintero2004-01-072-1/+8
| | | | | | | 2004-01-06 Federico Mena Quintero <federico@ximian.com> * gdk-pixbuf.c (gdk_pixbuf_get_pixels): Link to the documentation section on image data.
* Fix example in documentation comment. Fixes #130701.Federico Mena Quintero2004-01-072-1/+6
| | | | | | | 2004-01-06 Federico Mena Quintero <federico@ximian.com> * gdk-pixdata.c (gdk_pixbuf_new_from_inline): Fix example in documentation comment. Fixes #130701.
* New public API to save pixbufs to non-file locations. (#82203, Tim Evans)Matthias Clasen2004-01-078-27/+698
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Make it possible to call gdk_pixbuf_loader_set_size (loader, 0, 0) byMatthias Clasen2004-01-0713-29/+250
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* Turn the pixbuf attributes into (construct-only, but always readable)Matthias Clasen2004-01-033-11/+206
| | | | | | | | | | | 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().
* Use ngettext for plurals (#123847).Christian Neumair2003-12-311-1/+3
|
* Fix building with --disable-modules --with-included-loaders, create anMatthias Clasen2003-12-222-2/+14
| | | | | | | | | 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)
* Move the documentation for signals inline, to get proper parameterMatthias Clasen2003-12-112-2/+51
| | | | | | | | 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 documentation. (#128977)
* gdk-pixbuf/Makefile.am Use install-data-hook for gdk-pixbuf.loaders andManish Singh2003-11-181-1/+5
| | | | | | | | | | | Mon Nov 17 16:25:04 2003 Manish Singh <yosh@gimp.org> * gdk-pixbuf/Makefile.am * modules/input/Makefile.am: Use install-data-hook for gdk-pixbuf.loaders and gtk.immodules install generation targets. Fixes #112806. * gtk/gtkexpander.h: Apply missing declarations from #124449.
* Check that the mask is NULL or a string of the same length consistingMatthias Clasen2003-11-142-2/+27
| | | | | | | | 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'.
* Typo fix.Matthias Clasen2003-11-092-1/+5
|
* If neither load nor begin_load are available fall back to load_animationMatthias Clasen2003-11-092-19/+45
| | | | | | | | | 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.
* New function to write out the information for a single loader, factoredMatthias Clasen2003-11-092-21/+89
| | | | | | | | | | | 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.
* Fold two similar strings into on. (#126204, Danilo Segan)Matthias Clasen2003-11-052-1/+6
| | | | | | | 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)
* Remove a pointless check. (#122710, Kjartan Maraas)Matthias Clasen2003-09-192-6/+5
| | | | | | | 2003-09-19 Matthias Clasen <maclas@gmx.de> * io-tga.c (try_preload): Remove a pointless check. (#122710, Kjartan Maraas)
* brooooooooken pipe.Kristian Rietveld2003-09-031-1/+1
|
* Add the correct alignment magic for Sun compiler and for GCC to get theOwen Taylor2003-08-182-0/+18
| | | | | | | | 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)
* Improve doc comment wording. (#119754, Doug Quale)Matthias Clasen2003-08-132-1/+6
| | | | | | | 2003-08-14 Matthias Clasen <maclas@gmx.de> * gdk-pixdata.c (gdk_pixdata_to_csource): Improve doc comment wording. (#119754, Doug Quale)
* Reformat to 80 columns.Matthias Clasen2003-08-111-57/+80
|
* Clarify misleading explanation of rowstride. (#119000)Matthias Clasen2003-08-033-5/+11
| | | | | | | | 2003-08-03 Matthias Clasen <maclas@gmx.de> * gdk-pixbuf.c (gdk_pixbuf_get_rowstride): * gdk-pixbuf-data.c (gdk_pixbuf_new_from_data): Clarify misleading explanation of rowstride. (#119000)
* Preserve the aspect ratio. (#118145, Owen Taylor)Matthias Clasen2003-07-232-2/+40
| | | | | | | 2003-07-24 Matthias Clasen <maclas@gmx.de> * gdk-pixbuf-io.c (gdk_pixbuf_new_from_file_at_size): Preserve the aspect ratio. (#118145, Owen Taylor)
* Close loader before unref'ing it. (#118146, Owen Taylor)Matthias Clasen2003-07-232-0/+6
| | | | | | | 2003-07-23 Matthias Clasen <maclas@gmx.de> * gdk-pixbuf-io.c (gdk_pixbuf_new_from_file_at_size): Close loader before unref'ing it. (#118146, Owen Taylor)
* updatedHans Breuer2003-07-203-3/+19
| | | | | | | | 2003-03-01 Hans Breuer <hans@breuer.org> * makefile.msc : updated * gdk_pixbuf.def : export a bunch of new functions
* Split correction into multiple pieces if no single weight is large enoughMatthias Clasen2003-07-172-10/+18
| | | | | | | 2003-07-18 Matthias Clasen <maclas@gmx.de> * 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)
* New function to load an image from a file at a specified size. (#105326,Matthias Clasen2003-07-133-0/+95
| | | | | | | | 2003-07-13 Matthias Clasen <maclas@gmx.de> * gdk-pixbuf.h: * 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)
* Use g_strfreev() to free mime_types. (#117219, Steve Chaplin)Matthias Clasen2003-07-113-10/+16
| | | | | | | | | | | | | 2003-07-11 Matthias Clasen <maclas@gmx.de> * gtk/gtkicontheme.c (pixbuf_supports_svg): Use g_strfreev() to free mime_types. (#117219, Steve Chaplin) * queryloaders.c (query_module): Handle absolute filenames properly. (#117170, Jens Elkner) * gdk-pixbuf-io.c: Mention that NULL-terminated arrays returned by gdk_pixbuf_format_get_mime_types() and gdk_pixbuf_format_get_extensions() must be freed with g_strfreev().
* Support saving ICOs and CURs.Matthias Clasen2003-07-033-3/+330
|
* Stop discriminating against 32bpp ICOs a): Use the byte size of the imageMatthias Clasen2003-06-282-13/+18
| | | | | | | | | | | 2003-06-28 Matthias Clasen <maclas@gmx.de> * 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.
* Make it compile with C89 compilers.Soeren Sandmann2003-06-272-2/+9
| | | | | | | | | | | | | 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. Thu Jun 26 21:41:16 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_set_cell_data): only set "is_expander" and "is_expanded" if the new value is different fromt he old one.
* Remove the pointless refusal to load images with dubious disposal mode onMatthias Clasen2003-06-232-11/+8
| | | | | | | 2003-06-23 Matthias Clasen <maclas@gmx.de> * 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.
* Add gdk_pixbuf_loader_new_with_mime_type.Matthias Clasen2003-06-223-0/+64
| | | | | | 2003-06-22 Matthias Clasen <matthias@localhost.localdomain> * gdk-pixbuf/gdk-pixbuf-sections.txt: Add gdk_pixbuf_loader_new_with_mime_type.
* Reset block_count to 0 for all application extensions, otherwise the dataMatthias Clasen2003-06-223-139/+168
| | | | | | | | | | | | | | | | | | | 2003-06-22 Matthias Clasen <matthias@localhost.localdomain> * 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. Second half of the fix for #106962, handle frames extending beyond the logical screen: * 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 when operating on the composite pixbuf and when calling update_func. (gif_init): Set the animation size to the logical screen size. (gif_get_frame_info): Don't refuse to load images with frames extending beyond the logical screen size. * 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.
* Merge from 2.2Matthias Clasen2003-06-212-24/+45
|