1. 14 Feb, 2000 2 commits
  2. 03 Feb, 2000 1 commit
  3. 02 Feb, 2000 2 commits
    • Federico Mena Quintero's avatar
      Added sanity check for width and height being >= 0. Also, do nothing if · e9f75f6b
      Federico Mena Quintero authored
      2000-02-03  Federico Mena Quintero  <federico@helixcode.com>
      
      	* gdk-pixbuf/gdk-pixbuf-render.c
      	(gdk_pixbuf_render_threshold_alpha): Added sanity check for width
      	and height being >= 0.  Also, do nothing if either of them is
      	zero.  Thanks to Ettore for pointing this out.
      	(gdk_pixbuf_render_to_drawable): Likewise.
      	(gdk_pixbuf_render_to_drawable_alpha): Likewise.
      e9f75f6b
    • Federico Mena Quintero's avatar
      Removed debugging g_print. Thanks to John Sullivan <sullivan@eazel.com> · 51a0dc30
      Federico Mena Quintero authored
      2000-02-02  Federico Mena Quintero  <federico@helixcode.com>
      
      	* gdk-pixbuf/io-gif.c (gif_get_lzw): Removed debugging g_print.
      	Thanks to John Sullivan <sullivan@eazel.com> for the patch.
      
      	* gdk-pixbuf/testpixbuf-drawable.c (configure_cb): Get a new area
      	of the screen when the window is resized.  Thanks to David
      	N. Welton <davidw@linuxcare.com> for pointing this out.
      	Misc. cleanups to the rest of the file.
      51a0dc30
  4. 01 Feb, 2000 1 commit
  5. 30 Jan, 2000 2 commits
  6. 29 Jan, 2000 1 commit
    • Mark Crichton's avatar
      I dated telsa to break gdk-pixbuf. · 7d399719
      Mark Crichton authored
      
      
      I dated telsa to break gdk-pixbuf.
      
      I didn't think she can do it.
      
      She somehow did, with Alan's help
      
      Fixed it (it was a build bug)
      
      Now, it should be 1000% telsa-proofed.
      
      Mark
      7d399719
  7. 22 Jan, 2000 3 commits
    • Arturo Espinosa's avatar
      0.5.0 - Federico · a74de76f
      Arturo Espinosa authored
      a74de76f
    • Federico Mena Quintero's avatar
      Bumped version number to 0.5.0. · 706e553e
      Federico Mena Quintero authored
      2000-01-22  Federico Mena Quintero  <federico@helixcode.com>
      
      	* configure.in: Bumped version number to 0.5.0.
      
      	* gdk-pixbuf/pixops/timescale.c (dump_array): Removed unused variable.
      	(main): Return 0.
      
      	* gdk-pixbuf/pixops/pixops.c (pixops_composite_color_nearest): Put
      	parentheses around + in a shift to remove a compiler warning.
      	(pixops_process): Likewise.
      
      	Patch from Ross Golder <rossigee@bigfoot.com> to create an RPM
      	specfile:
      
      	* configure.in: Added gdk-pixbuf.spec to AC_OUTPUT.
      
      	* Makefile.am (EXTRA_DIST): Added gdk-pixbuf.spec.in
      706e553e
    • Federico Mena Quintero's avatar
      Removed the x_set and y_set arguments. Now they are always on and start · 72ee1f0c
      Federico Mena Quintero authored
      2000-01-22  Federico Mena Quintero  <federico@helixcode.com>
      
      	* gdk-pixbuf/gnome-canvas-pixbuf.c (PixbufPrivate): Removed the
      	x_set and y_set arguments.  Now they are always on and start with
      	defaults of 0.0 in units.
      	(gnome_canvas_pixbuf_class_init): Likewise.
      	(gnome_canvas_pixbuf_set_arg): Likewise.
      	(gnome_canvas_pixbuf_get_arg): Likewise.
      	(compute_viewport_affine): Likewise; always use the priv->x and
      	priv->y fields.
      
      	* doc/tmpl/gnome-canvas-pixbuf.sgml: Modified to reflect the
      	removal of the x_set/y_set arguments.
      72ee1f0c
  8. 21 Jan, 2000 1 commit
    • Federico Mena Quintero's avatar
      Return the same pixbuf as the input parameter. · bb8a5637
      Federico Mena Quintero authored
      2000-01-21  Federico Mena Quintero  <federico@helixcode.com>
      
      	* gdk-pixbuf/gdk-pixbuf.c (gdk_pixbuf_ref): Return the same pixbuf
      	as the input parameter.
      
      	* gdk-pixbuf/gdk-pixbuf-animation.c (gdk_pixbuf_animation_ref):
      	Return the same animation as the input parameter.
      bb8a5637
  9. 17 Jan, 2000 3 commits
    • Elliot Lee's avatar
      Don't link against libgnomecanvaspixbuf.la · b3a94afd
      Elliot Lee authored
      2000-01-16  Elliot Lee  <sopwith@redhat.com>
      
      * gdk-pixbuf/Makefile.am: Don't link against libgnomecanvaspixbuf.la
      b3a94afd
    • Elliot Lee's avatar
      Shut up Federico. · f4e1d056
      Elliot Lee authored
      
      
      Shut up Federico.
      f4e1d056
    • Federico Mena Quintero's avatar
      Removed the broken --enable-canvas-pixbuf option. Added the stuff · 4f0f7330
      Federico Mena Quintero authored
      2000-01-16  Federico Mena Quintero  <federico@helixcode.com>
      
      	* configure.in: Removed the broken --enable-canvas-pixbuf option.
      	Added the stuff necessary to substitute the variables in
      	gnomecanvaspixbufConf.sh.in.
      
      	* gnomecanvaspixbufConf.sh.in: New gnome-config handler for the
      	tiny gnomecanvaspixbuf library.
      
      	* Makefile.am: Build gnomecanvaspixbufConf.sh.
      
      	* gdk-pixbuf/Makefile.am: Create a libgnomecanvaspixbuf and only
      	build it if gdk-pixbuf is being built outside of gnome-libs.
      
      	* doc/gdk-pixbuf-sections.txt: Added gdk_pixbuf_render_pixmap_and_mask().
      
      	* gdk-pixbuf/gdk-pixbuf-render.c
      	(gdk_pixbuf_render_pixmap_and_mask): Renamed from
      	gdk_pixbuf_render_pixmap().  Do not create the mask if it is not
      	needed, and do not use a clipping mask when rendering the pixmap.
      	Tweaked documentation a little.
      
      	* HACKING: New file with hacking policies for the gdk-pixbuf
      	module.
      
      	* doc/Makefile.am (tmpl_sources): Added missing backslash.
      
      	* doc/Makefile.am: Use gnomecanvaspixbuf in gnome-config when
      	scanning for docstrings.
      
      	* gdk-pixbuf/gdk-pixbuf-util.c (gdk_pixbuf_copy_area): Made sanity
      	checks more stringent.  Removed "gint" abominations.  Made
      	documentation consistent with the rest of the functions.
      
      	* doc/gdk-pixbuf-sections.txt: Added gdk_pixbuf_copy_area() to the
      	utilities section.
      4f0f7330
  10. 15 Jan, 2000 1 commit
  11. 14 Jan, 2000 1 commit
  12. 12 Jan, 2000 1 commit
  13. 10 Jan, 2000 2 commits
  14. 07 Jan, 2000 5 commits
    • Owen Taylor's avatar
      Fixed src_channels/dest_channels confusion. (Again caught by Tomas Ogren's · 6aba6635
      Owen Taylor authored
      2000-01-05  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk-pixbuf/pixops/pixops.c: Fixed src_channels/dest_channels
      	confusion. (Again caught by Tomas Ogren's Purify)
      6aba6635
    • Jonathan Blandford's avatar
      comment out debugging printing. remove memory_leak · 00b598d2
      Jonathan Blandford authored
      2000-01-07  Jonathan Blandford  <jrb@redhat.com>
      
      	* gdk-pixbuf/gdk-pixbuf-xform.c (gdk_pixbuf_rotate): comment out
      	debugging printing.
      	* gdk-pixbuf/io-gif.c (gif_get_lzw): remove memory_leak
      00b598d2
    • Jonathan Blandford's avatar
      Added progressive animation loading. Added progressive animation loading. · 84c85a1a
      Jonathan Blandford authored
      2000-01-07  Jonathan Blandford  <jrb@redhat.com>
      
      	* gdk-pixbuf/gdk-pixbuf-io.c: Added progressive animation loading.
      	* gdk-pixbuf/gdk-pixbuf-io.h: Added progressive animation loading.
      	* gdk-pixbuf/gdk-pixbuf-loader.c: Added progressive animation
      	loading.
      	* gdk-pixbuf/gdk-pixbuf-loader.h: Added progressive animation
      	loading.
      	* gdk-pixbuf/io-gif.c (image_load_increment): I think the
      	ref-counting mess is finally fixed.  Added progressive animation
      	loading.
      
      I think progressive animation loading all works now.  It's all
      documented too, if anyone wants to play with it.
      84c85a1a
    • Jonathan Blandford's avatar
      much longer long description added. · 0e86d280
      Jonathan Blandford authored
      2000-01-07  Jonathan Blandford  <jrb@redhat.com>
      
      	* doc/tmpl/gdk-pixbuf-loader.sgml: much longer long description
      	added.
      0e86d280
    • Owen Taylor's avatar
      Fix computation of end of run indices. · 4bd671a8
      Owen Taylor authored
      2000-01-05  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk-pixbuf/pixops/pixops.c (pixops_process): Fix computation of end of run indices.
      
      	* gdk-pixbuf/pixops/pixops.c: Fix double increments when dest_channels == 4.
      	  (Pointed out by Tomas Ogren)
      4bd671a8
  15. 06 Jan, 2000 3 commits
    • Mark Crichton's avatar
      Fixed bug sent directly to me. Basically, we weren't checking a failure · 519ee066
      Mark Crichton authored
      
      
      Fixed bug sent directly to me.  Basically, we weren't checking a failure case
      from load_module, and returning junk to the application.  Bad.
      
      See ChangeLog for more info.
      519ee066
    • Elliot Lee's avatar
      Link with -lm (to get 'ceil' function) · a0a15841
      Elliot Lee authored
      
      
      * gdk-pixbuf/pixops/Makefile.am: Link with -lm (to get 'ceil' function)
      a0a15841
    • Owen Taylor's avatar
      Added scaling functions into gtk-doc framework. · 65de04cd
      Owen Taylor authored
      2000-01-05  Owen Taylor  <otaylor@redhat.com>
      
      	* doc/Makefile.am doc/gdk-pixbuf-sections.txt
      	  doc/gdk-pixbuf.sgml doc/tmpl/scaling.sgml:
      	Added scaling functions into gtk-doc framework.
      
      	* gdk-pixbuf/gdk-pixbuf-scale.c: Documentation fixes.
      
      	* gdk-pixbuf/testpixbuf-scale.c (expose_cb): Simplify a bit.
      
      	* gdk-pixbuf/pixops/pixops.c (pixops_composite_color): Return
      	immediately if scale_x or scale_y is 0.
      65de04cd
  16. 05 Jan, 2000 5 commits
    • Owen Taylor's avatar
      quick fix for initializing arrays in benchmark. · bba95de1
      Owen Taylor authored
      2000-01-05  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk-pixbuf/pixops/timescale.c: quick fix for initializing
      	arrays in benchmark.
      bba95de1
    • Jonathan Blandford's avatar
      Change the order of the update func to make it more compatible with the · 8f48c4b3
      Jonathan Blandford authored
      2000-01-05  Jonathan Blandford  <jrb@redhat.com>
      
      	* gdk-pixbuf/gdk-pixbuf-io.h: Change the order of the update func
      	to make it more compatible with the rest of GTK.  Added animation
      	framework for progressive loading.
      
      	* gdk-pixbuf/io-bmp.c (image_begin_load): Modified to handle new
      	system.
      	* gdk-pixbuf/io-ico.c (image_begin_load): ditto
      	* gdk-pixbuf/io-png.c (image_begin_load): ditto
      	* gdk-pixbuf/io-ras.c (image_begin_load): ditto
      	* gdk-pixbuf/io-jpeg.c (image_begin_load): ditto
      	* gdk-pixbuf/io-pnm.c (image_begin_load): ditto
      	* gdk-pixbuf/io-tiff.c (image_begin_load): ditto
      	* gdk-pixbuf/io-gif.c (image_begin_load): ditto
      8f48c4b3
    • Owen Taylor's avatar
      Added a README with a TODO and some explainations of the algorithms. · cc76a598
      Owen Taylor authored
      2000-01-05  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk-pixbuf/pixops/README: Added a README with a TODO
      	and some explainations of the algorithms.
      
      	* gdk-pixbuf/testpixbuf-scale.c: Set a background pixmap of None
      	to reduce flashing when resizing.
      cc76a598
    • Owen Taylor's avatar
      Directory full of pixel data scaling code that will eventually migrate · 33e963e7
      Owen Taylor authored
      2000-01-05  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk-pixbuf/pixops/: Directory full of pixel data scaling
      	code that will eventually migrate into libart.
      
      	* configure.in acconfig.h: Add checks for MMX compiler support
      
      	* gdk-pixbuf/gdk-pixbuf.h gdk-pixbuf/gdk-pixbuf-scale.c:
      	Nice wrapper routines for the code in pixops that operate
      	on pixbufs instead of raw data.
      
      	* gdk-pixbuf/testpixbuf-scale: Test program for scaling
      	routines.
      33e963e7
    • Jonathan Blandford's avatar
      Documentation changes. · 2bb20aee
      Jonathan Blandford authored
      2000-01-05  Jonathan Blandford  <jrb@redhat.com>
      
      	* doc/tmpl/animation.sgml: Documentation changes.
      2bb20aee
  17. 02 Jan, 2000 1 commit
    • Federico Mena Quintero's avatar
      Added reference counting to animations. A web browser may want to share a · 6e3522ab
      Federico Mena Quintero authored
      2000-01-01  Federico Mena Quintero  <federico@helixcode.com>
      
      	* gdk-pixbuf/gdk-pixbuf.h (GdkPixbufAnimation): Added reference
      	counting to animations.  A web browser may want to share a single
      	copy of an animated GIF if it appears multiple times in a web
      	page, for example.
      
      	* gdk-pixbuf/gdk-pixbuf-animation.c: New file.  Moved the
      	animation functions here.
      	(gdk_pixbuf_animation_new_from_file): Prettified.  Return a NULL
      	animation if the loader does not support multiframe loading and
      	the single-frame load returned NULL.  Check that the filename is
      	not NULL.  Updated inline documentation.
      	(gdk_pixbuf_animation_ref): New function.
      	(gdk_pixbuf_animation_unref): New function.
      	Removed gdk_pixbuf_animation_destroy() in favor of reference
      	counting.
      
      	* gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_file):
      	Prettified.  Made ref_count assertion more paranoid.  Check that
      	the filename is not NULL.
      	(gdk_pixbuf_get_module): Use guchar * and guint for buffer and
      	size, respectively.
      	(gdk_pixbuf_new_from_xpm_data): Changed the "data" argument to
      	const char **.
      
      	* gdk-pixbuf/io-gif.c (image_load_animation): Create the animation
      	with a reference count of 1.
      
      	* gdk-pixbuf/Makefile.am (libgdk_pixbuf_la_SOURCES): Added
      	gdk-pixbuf-animation.c.
      
      	* doc/tmpl/animation.sgml: Populated.  It is still missing a
      	description of the overlay modes.
      
      	* doc/gdk-pixbuf-sections.txt: Added the animation section.  Moved
      	the canvas item section to the end, as it will be moved later to
      	gnome-libs.
      
      	* doc/gdk-pixbuf.sgml: Added the animation section.
      
      	* doc/Makefile.am (tmpl_sources): Added tmpl/animation.sgml.
      6e3522ab
  18. 27 Dec, 1999 1 commit
  19. 24 Dec, 1999 1 commit
  20. 20 Dec, 1999 1 commit
  21. 17 Dec, 1999 2 commits