1. 13 Apr, 2000 1 commit
    • Federico Mena Quintero's avatar
      Your eyes are bloodshot. · 37ac7d59
      Federico Mena Quintero authored
      
      
      Your eyes are bloodshot.
      
      Your mouth starts to foam.
      
      Your hands are shaking.
      
      You know your need your fix.
      
      NEED MORE ABSTRACTION!
      
      2000-04-12  Federico Mena Quintero  <federico@helixcode.com>
      
      	This comes from an excellent idea by Tim Janik (timj@gtk.org) to
      	hook to the last unref operation.
      
      	* gdk-pixbuf/gdk-pixbuf.c (gdk_pixbuf_set_last_unref_handler): New
      	function to set the last unref handler for a pixbuf.
      	(gdk_pixbuf_finalize): New function to actually finalize a pixbuf.
      	It calls the pixbuf's destroy notification function and frees the
      	GdkPixbuf structure itself.
      	(gdk_pixbuf_unref): Use the last unref function of the pixbuf if
      	available.
      
      	* gdk-pixbuf/gdk-pixbuf-private.h (struct _GdkPixbuf): New fields
      	for the last unref handler and its user data.
      
      	* gdk-pixbuf/gdk-pixbuf-data.c (gdk_pixbuf_new_from_data): Use
      	g_new0() to allocate the pixbuf.
      
      	* gdk-pixbuf/gdk-pixbuf-loader.c (gdk_pixbuf_loader_class_init):
      	Fixed the call to gtk_signal_new() for the "frame_done" signal; it
      	was not specifying the `frame' argument.
      
      	* gdk-pixbuf/gdk-pixbuf-animation.c
      	(gdk_pixbuf_animation_get_width): Fixed docstring.
      	(gdk_pixbuf_animation_get_height): Likewise.
      	(gdk_pixbuf_animation_get_num_frames): Likewise.
      	(gdk_pixbuf_animation_get_frames): Likewise.
      
      	* doc/gdk-pixbuf-sections.txt: Updated with the new functions and
      	types.
      
      	* doc/tmpl/gdk-pixbuf.sgml: Added the description for GdkColorspace.
      
      	* doc/tmpl/scaling.sgml: Added the description for GdkInterpType.
      
      	* doc/tmpl/refcounting.sgml: Updated with the information about
      	the last unref handler.
      
      	* doc/tmpl/*.sgml: Markup tweaks.
      
      	* gdk-pixbuf/Makefile.am (libgnomecanvaspixbuf_la_LDFLAGS): Sigh,
      	update the libtool version number for libgnomecanvaspixbuf as
      	well.
      	(libpixbufloader_*_la_LDFLAGS): The loaders need to be versioned
      	as well, or the old ones won't work with the new stuff.  Also,
      	renamed the modules as follows.
      
      	* gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_load_module): Now the
      	modules are called "libpixbufloader-<format>.so" instead of
      	"libpixbuf-<format>.so".  They needed renaming so that the new
      	loaders won't overwrite the old ones; even with the versioning
      	stuff, the new .so symlink to the .so.1.0.0 would overwrite the
      	old real .so file.
      37ac7d59
  2. 09 Apr, 2000 1 commit
  3. 14 Mar, 2000 2 commits
  4. 07 Mar, 2000 1 commit
  5. 29 Feb, 2000 1 commit
  6. 28 Feb, 2000 3 commits
    • Damon Chaplin's avatar
      new menu item sections and minor update to notebook section from Nicolas · 160e3574
      Damon Chaplin authored
      2000-02-28  Damon Chaplin  <damon@helixcode.com>
      
              * gtk/tmpl/gtkradiomenuitem.sgml:
              * gtk/tmpl/gtkmenuitem.sgml:
              * gtk/tmpl/gtknotebook.sgml: new menu item sections and minor update to
              notebook section from Nicolas GEORGE <nicolas.george@ens.fr>.
      
      2000-02-18  Damon Chaplin  <damon@helixcode.com>
      
              * gtk/tmpl/gtktooltips.sgml: patch from
              David Benson <daveb@idealab.com> to note that gtk_tooltips_set_colors()
              does not work.
      
      2000-02-09  Damon Chaplin  <damon@helixcode.com>
      
              * gdk/tmpl/input_methods.sgml: minor fix.
      160e3574
    • Damon Chaplin's avatar
      added a note about no-window widgets. · e809560d
      Damon Chaplin authored
      2000-06-14  Damon Chaplin  <damon@helixcode.com>
      
      	* gtk/tmpl/gtktooltips.sgml: added a note about no-window widgets.
      e809560d
    • Damon Chaplin's avatar
      new menu item sections and minor update to notebook section from Nicolas · a629fd7f
      Damon Chaplin authored
      2000-02-28  Damon Chaplin  <damon@helixcode.com>
      
              * gtk/tmpl/gtkradiomenuitem.sgml:
              * gtk/tmpl/gtkmenuitem.sgml:
              * gtk/tmpl/gtknotebook.sgml: new menu item sections and minor update to
              notebook section from Nicolas GEORGE <nicolas.george@ens.fr>.
      
      2000-02-18  Damon Chaplin  <damon@helixcode.com>
      
              * gtk/tmpl/gtktooltips.sgml: patch from
              David Benson <daveb@idealab.com> to note that gtk_tooltips_set_colors()
              does not work.
      
      2000-02-09  Damon Chaplin  <damon@helixcode.com>
      
              * gdk/tmpl/input_methods.sgml: minor fix.
      a629fd7f
  7. 22 Feb, 2000 1 commit
  8. 02 Feb, 2000 1 commit
    • Damon Chaplin's avatar
      rearranged a bit. · 4caf4dc7
      Damon Chaplin authored
      2000-02-03  Damon Chaplin  <damon@karuna.freeserve.co.uk>
      
      	* gdk/gdk-sections.txt: rearranged a bit.
      
      	* gdk/tmpl/event_structs.sgml: updated.
      
      	* gtk/gtk-sections.txt: added INCLUDE tag for Private Info section.
      
      	* gdk/tmpl/color_contexts.sgml: added note saying it is deprecated.
      	* gdk/tmpl/dnd.sgml: added note saying read the GTK+ DnD docs.
      4caf4dc7
  9. 01 Feb, 2000 2 commits
    • Damon Chaplin's avatar
      ran make templates. · 50ab749f
      Damon Chaplin authored
      2000-02-02  Damon Chaplin  <damon@karuna.freeserve.co.uk>
      
              * gdk/tmpl/*.sgml: ran make templates.
      
              * gdk/gdk-docs.sgml: rearranged sections.
      
              * gdk/tmpl/events.sgml: documented.
      
              * gdk/tmpl/general.sgml: documented.
      
              * gdk/tmpl/rgb.sgml: fixed a few '@' -> '#'.
      
              * gdk/gdk-sections.txt: rearranged a few bits, including moving
              GdkWChar and related functions from the input method section to the
              font section, and GdkCapStyle etc. from Drawing Primitives to GCs.
      
              * gdk/tmpl/images.sgml: documented.
      
              * gdk/tmpl/drawing.sgml: updated.
      
              * gdk/tmpl/regions.sgml: updated.
      
              * gdk/tmpl/input_contexts.sgml: documented.
      
              * gdk/tmpl/input_methods.sgml: documented.
      
              * gdk/tmpl/selections.sgml: changed xref to a link since Jade says
              a xref to a RefEntry is not supported.
      50ab749f
    • Federico Mena Quintero's avatar
      gnome_init() does not call gdk_rgb_init(), so don't mention that it does · d2014471
      Federico Mena Quintero authored
      2000-02-01  Federico Mena Quintero  <federico@helixcode.com>
      
      	* doc/tmpl/rendering.sgml: gnome_init() does not call
      	gdk_rgb_init(), so don't mention that it does in the
      	documentation.  Thanks to Alexander Kruuse <kruuse@home.se> for
      	pointing this out.
      d2014471
  10. 22 Jan, 2000 1 commit
    • 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
  11. 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
  12. 19 Jan, 2000 1 commit
    • Damon Chaplin's avatar
      Started. · 5d9b2ed6
      Damon Chaplin authored
      	* gtk/tmpl/gtkscrollbar.sgml: Started.
      5d9b2ed6
  13. 17 Jan, 2000 1 commit
    • 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
  14. 08 Jan, 2000 1 commit
  15. 07 Jan, 2000 2 commits
    • 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
  16. 06 Jan, 2000 1 commit
    • 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
  17. 05 Jan, 2000 2 commits
    • 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
    • Owen Taylor's avatar
      Missing </listitem>, remove extra <para> dos2unix missing </para> · 0a60e296
      Owen Taylor authored
      Wed Jan  5 10:23:41 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/tmpl/gtkprogress.sgml: Missing </listitem>, remove extra <para>
      	* gtk/tmpl/gtkobject.sgml: dos2unix
      	* gtk/tmpl/gtkcurve.sgml: missing </para>
      	* gtk/tmpl/gtkarg.sgml: dos2unix, missing </para>
      	* gtk/tmpl/gtkcolorsel.sgml: Missing </listitem>'s
      	* gtk/tmpl/gtksignal.sgml (signal): dos2unix, missing </para>'s
      	* gtk/tmpl/gtkmarshal.sgml: Missing </refsect2>
      0a60e296
  18. 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
  19. 19 Dec, 1999 1 commit
  20. 17 Dec, 1999 1 commit
  21. 13 Dec, 1999 1 commit
  22. 08 Dec, 1999 4 commits
    • Federico Mena Quintero's avatar
      Fix includes. (gdk_pixbuf_get_from_drawable): Implemented the zillion · c6f25c2d
      Federico Mena Quintero authored
      1999-12-08  Federico Mena Quintero  <federico@redhat.com>
      
      	* gdk-pixbuf/gdk-pixbuf-drawable.c: Fix includes.
      	(gdk_pixbuf_get_from_drawable): Implemented the zillion sanity
      	checks and API definition.  The body needs filling in and it needs
      	to do the Right Thing(tm) for pixmaps plus the given colormap and
      	windows and their own colormaps.
      
      	* gdk-pixbuf/gdk-pixbuf.h: Added prototype for
      	gdk_pixbuf_get_from_drawable().  Killed gdk-pixbuf-drawable.h.
      
      	* gdk-pixbuf/Makefile.am: Re-added the gdk-pixbuf-drawable sources.
      
      	* doc/tmpl/from-drawables.sgml: Populated.
      
      	* doc/gdk-pixbuf.sgml: Added the from-drawables section.
      
      	* doc/Makefile.am (tmpl_sources): Added tmpl/from-drawables.sgml.
      
      	* doc/gdk-pixbuf-sections.txt: Added a section for getting pixbufs
      	from drawables.
      c6f25c2d
    • Federico Mena Quintero's avatar
      Renamed arguments to width_in_pixels, height_in_pixels, x_in_pixels, · a70843ba
      Federico Mena Quintero authored
      1999-12-13  Federico Mena Quintero  <federico@redhat.com>
      
      	* gdk-pixbuf/gnome-canvas-pixbuf.c
      	(gnome_canvas_pixbuf_class_init): Renamed arguments to
      	width_in_pixels, height_in_pixels, x_in_pixels, y_in_pixels, for
      	consistency with the new canvas.
      	(PixbufPrivate): Do the same renaming in the structure fields, for
      	consistency.
      
      	* doc/tmpl/gnome-canvas-pixbuf.sgml: Updated for new argument names.
      a70843ba
    • Federico Mena Quintero's avatar
      Fix includes. (gdk_pixbuf_get_from_drawable): Implemented the zillion · e7b2454c
      Federico Mena Quintero authored
      1999-12-08  Federico Mena Quintero  <federico@redhat.com>
      
      	* gdk-pixbuf/gdk-pixbuf-drawable.c: Fix includes.
      	(gdk_pixbuf_get_from_drawable): Implemented the zillion sanity
      	checks and API definition.  The body needs filling in and it needs
      	to do the Right Thing(tm) for pixmaps plus the given colormap and
      	windows and their own colormaps.
      
      	* gdk-pixbuf/gdk-pixbuf.h: Added prototype for
      	gdk_pixbuf_get_from_drawable().  Killed gdk-pixbuf-drawable.h.
      
      	* gdk-pixbuf/Makefile.am: Re-added the gdk-pixbuf-drawable sources.
      
      	* doc/tmpl/from-drawables.sgml: Populated.
      
      	* doc/gdk-pixbuf.sgml: Added the from-drawables section.
      
      	* doc/Makefile.am (tmpl_sources): Added tmpl/from-drawables.sgml.
      
      	* doc/gdk-pixbuf-sections.txt: Added a section for getting pixbufs
      	from drawables.
      e7b2454c
    • Federico Mena Quintero's avatar
      Added clarification about reference counting for GdkPixbuf structures. · a56ec798
      Federico Mena Quintero authored
      1999-12-07  Federico Mena Quintero  <federico@redhat.com>
      
      	* doc/tmpl/gnome-canvas-pixbuf.sgml: Added clarification about
      	reference counting for GdkPixbuf structures.
      a56ec798
  23. 02 Dec, 1999 2 commits
    • Federico Mena Quintero's avatar
      Source files moved from src/ to gdk-pixbuf/, to be consistent with other · 72868800
      Federico Mena Quintero authored
      1999-12-02  Federico Mena Quintero  <federico@redhat.com>
      
      	Source files moved from src/ to gdk-pixbuf/, to be consistent with
      	other libraries.
      
      	* doc/Makefile.am: Modified for the new source directory.
      
      	* configure.in: Likewise.
      
      	* Makefile.am: Likewise.
      
      	* autogen.sh: Likewise.
      
      	* gdk-pixbuf/Makefile.am: Likewise.
      72868800
    • Federico Mena Quintero's avatar
      New file with utility and convenience functions for pixbufs. · e0265705
      Federico Mena Quintero authored
      1999-12-02  Federico Mena Quintero  <federico@redhat.com>
      
      	* src/gdk-pixbuf-util.c: New file with utility and convenience
      	functions for pixbufs.
      
      	* src/Makefile.am (libgdk_pixbuf_la_SOURCES): Added gdk-pixbuf-util.c.
      
      	* doc/gdk-pixbuf-sections.txt: Added section for utility functions.
      
      	* doc/Makefile.am (tmpl_sources): Added tmpl/util.sgml.
      
      	* doc/gdk-pixbuf.sgml: Added the utilities section.
      
      	* doc/tmpl/util.sgml: Documentation for the utility functions.
      e0265705
  24. 16 Nov, 1999 1 commit
    • Damon Chaplin's avatar
      fixed minor error - using <em>. · 3a202479
      Damon Chaplin authored
      1999-11-16  Damon Chaplin  <damon@karuna.freeserve.co.uk>
      
      	* gtk/tmpl/gtkmenubar.sgml: fixed minor error - using <em>.
      
      	* gtk/tmpl/gtknotebook.sgml:
      	* gtk/tmpl/gtklist.sgml: new sections from
      	Nicolas George <george@clipper.ens.fr>, with help from
      	"Bob Springett"	<bobspringett@claranet.fr>.
      
      	* gtk/tmpl/gtkobject.sgml:
      	* gtk/tmpl/gtkarg.sgml: new sections from
      	David Benson <daveb@idealab.com>.
      
      	* gtk/tmpl/gtkvbox.sgml:
      	* gtk/tmpl/gtkhbox.sgml: fixed line endings.
      
      	* gtk/tmpl/gtkvbbox.sgml: update from Lee Mallabone
      	<lee0@callnetuk.com>
      
      	* gdk/tmpl/drawing.sgml: fixed error in gdk_draw_arc() @angle2 param
      	- it is relative to @angle1 rather than from the 3 o'clock position.
      
      	* gtk/tmpl/gtkfontseldlg.sgml: changed enums to use @ fields.
      
      	* gtk/tmpl/gtkcolorsel.sgml:
      	* gtk/tmpl/gtkcolorseldlg.sgml:
      	* gtk/tmpl/gtkprogress.sgml:
      	* gtk/tmpl/gtkprogressbar.sgml: new sections from Tom Martone
      	<tom@martoneconsulting.com>
      
      	* gtk/tmpl/gtkclist.sgml: partially written documentation from
      	Paul Schifferer <isengard@geocities.com> who won't be able to finish it
      3a202479
  25. 11 Nov, 1999 2 commits
  26. 10 Nov, 1999 1 commit
    • Federico Mena Quintero's avatar
      Populated. · cfb02665
      Federico Mena Quintero authored
      1999-11-10  Federico Mena Quintero  <federico@redhat.com>
      
      	* doc/tmpl/gdk-pixbuf-loader.sgml: Populated.
      
      	* doc/gdk-pixbuf.signals: Put in the real names of signal
      	arguments.
      
      	* src/gdk-pixbuf-loader.c: Improved documentation comments.
      cfb02665
  27. 09 Nov, 1999 3 commits