summaryrefslogtreecommitdiff
path: root/gdk-pixbuf
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing commas from enumerations. (#148035)Matthias Clasen2004-07-211-0/+5
| | | | | | | | | | | | | Tue Jul 20 22:26:29 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkfilechooserutils.h: * gtk/gtktoolbutton.c: * gtk/gtktoolbar.c: * gtk/gtkicontheme.c: * gtk/gtkcalendar.c: * demos/gtk-demo/ui_manager.c: * demos/gtk-demo/appwindow.c: Remove trailing commas from enumerations. (#148035)
* === Released 2.5.0 ===GTK_2_5_0Soeren Sandmann2004-07-201-0/+4
| | | | | | | | | | Sun Jul 18 17:21:10 2004 Soeren Sandmann <sandmann@daimi.au.dk> * === Released 2.5.0 === * NEWS: updates * tests/testcombo.c: Fix compilation
* Use 'cannot' instead of 'can not' in messages. (#144226, Morten Welinder)Matthias Clasen2004-07-153-2/+8
| | | | | | | | Thu Jul 15 19:20:05 2004 Matthias Clasen <maclas@gmx.de> * gdk/x11/gdkim-x11.c (_gdk_x11_initialize_locale): * gtk/gtkcalendar.c (gtk_calendar_class_init): Use 'cannot' instead of 'can not' in messages. (#144226, Morten Welinder)
* function doesn't return a value, so don't use g_return_val_if_fail()Manish Singh2004-07-094-1/+15
| | | | | | | | | | | | | 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.
* New functions to disable/enable individual loaders and to obtain licenseMatthias Clasen2004-07-0817-4/+112
| | | | | | | | | | | | | | | | | | | | | 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.
* Fix the build.Matthias Clasen2004-07-072-0/+6
|
* Also gdk-pixbuf.c was changed.Tor Lillqvist2004-07-061-3/+4
|
* Mark the version variables for proper import and export from Windows DLLs.Tor Lillqvist2004-07-063-6/+38
| | | | | | | | 2004-07-06 Tor Lillqvist <tml@iki.fi> * gdk-pixbuf-features.h.in: Mark the version variables for proper import and export from Windows DLLs. Thanks to Laurent Sansonetti for reporting the problem.
* Correct the math to calculate bilinear weights. (#112412, Brian Cameron)Matthias Clasen2004-07-032-2/+7
| | | | | | | 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)
* New functions to rotate pixbufs by multiples of 90 degrees and to flipMatthias Clasen2004-06-213-1/+168
| | | | | | | | | | 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.
* Header file reorganization. (#51999)Matthias Clasen2004-06-208-326/+417
|
* Add a nice figure to the docs.Matthias Clasen2004-06-192-3/+19
|
* Make the tiff loader work with both libtiff 3.5.7 and libtiff 3.6.1.Matthias Clasen2004-06-162-66/+92
| | | | | | | 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)
* Don't use contractions like "don't" or "isn't" in error messages. It isn'tMatthias Clasen2004-06-125-15/+22
| | | | | | | | | 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)
* Convert filenames to UTF-8 when embedding them in error messages.Matthias Clasen2004-06-053-27/+88
| | | | | | | | Sat Jun 5 00:59:12 2004 Matthias Clasen <maclas@gmx.de> * gdk-pixbuf-animation.c: * gdk-pixbuf-io.c: Convert filenames to UTF-8 when embedding them in error messages. (#143654, Sven Neumann)
* Merged from 2.4Matthias Clasen2004-05-172-1/+8
| | | | | | | | | 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)
* _-prefix the nonstatic pixops_... functions. (#142233, Morten Welinder)Matthias Clasen2004-05-105-143/+153
| | | | | | | | | | 2004-05-10 Matthias Clasen <mclasen@redhat.com> * pixops/timescale.c: * pixops/pixops.c: * pixops/pixops.h: * gdk-pixbuf-scale.c: _-prefix the nonstatic pixops_... functions. (#142233, Morten Welinder)
* New format flag GDK_PIXBUF_FORMAT_SCALABLE to mark scalable formats.Matthias Clasen2004-05-064-0/+32
| | | | | | | | | | | 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)
* === Released 2.4.1 ===GTK_2_4_1Matthias Clasen2004-04-301-0/+4
| | | | | | | | | | 2004-04-30 Matthias Clasen <mclasen@redhat.com> * === Released 2.4.1 === * configure.in: Version 2.4.1, interface age 1. * NEWS: Updates
* When calling fread() in a loop, check for ferror() as well as for feof()Matthias Clasen2004-04-133-4/+13
| | | | | | | | | | | 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)
* === Released 2.4.0 ===Owen Taylor2004-03-161-0/+4
| | | | | | | | | | | | | Tue Mar 16 13:29:58 2004 Owen Taylor <otaylor@redhat.com> * === Released 2.4.0 === * configure.in: Version 2.4.0, interface age 0; require glib-2.4.0, pango-1.4.0. * NEWS: Updates * README.in: Updates
* [Win32] Look up installation prefix at run-time, replace prefix inTor Lillqvist2004-03-152-1/+47
| | | | | | | 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)Tor Lillqvist2004-03-154-23/+91
| | | | | | | | | | | | | | | | | | | | | | | 2004-03-15 Tor Lillqvist <tml@iki.fi> 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.
* === 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'.