1. 16 Dec, 2001 1 commit
  2. 12 Nov, 2001 1 commit
  3. 03 Nov, 2001 1 commit
    • Sebastian Wilhelmi's avatar
      gdk_rgb_init() doesn't need to be called anymore. Use g_object_(un)_ref · b885847d
      Sebastian Wilhelmi authored
      2001-11-03  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
      
      	* gdk-pixbuf/tmpl/refcounting.sgml,
      	gdk-pixbuf/porting-from-imlib.sgml, tmpl/creating.sgml:
      	gdk_rgb_init() doesn't need to be called anymore. Use
      	g_object_(un)_ref instead of gdk_pixbuf_(un)ref.
      
      	* tmpl/module_interface.sgml: Typo fix.
      
      	* gdk-pixbuf/gdk-pixbuf.sgml: Fixed jade complaining about '_' by
      	replacing it with '-'. Now builds again.
      
      	* gdk-pixbuf-loader.c, gdk-pixbuf-scale.c: Documentation fixes.
      b885847d
  4. 31 Oct, 2001 1 commit
    • Matthias Clasen's avatar
      include initialization_versions.sgml, file-saving.sgml and · 235d1961
      Matthias Clasen authored
              * gdk-pixbuf/gdk-pixbuf.sgml: include initialization_versions.sgml,
              file-saving.sgml and module_interface.sgml.
      
              * gdk-pixbuf/tmpl/module_interface.sgml: add short description.
      
              * gtk/tmpl/gtkarg.sgml, gtk/tmpl/gtkdata.sgml,
              gtk/tmpl/gtkcellrenderertextpixbuf.sgml: removed, since they described
              no longer existent stuff and aren't included anymore.
      
              * gdk/tmpl/color_contexts.sgml, gdk/tmpl/input_contexts.sgml,
              gdk/tmpl/input_methods.sgml: removed, since they described no longer
              existent stuff and aren't included anymore.
      235d1961
  5. 30 Oct, 2001 1 commit
    • Matthias Clasen's avatar
      Updates. (#63293) · bfdd95ef
      Matthias Clasen authored
              * gdk-pixbuf/gdk-pixbuf-sections.txt,
              gdk-pixbuf/tmpl/animation.sgml,
              gdk-pixbuf/tmpl/module_interface.sgml: Updates. (#63293)
      bfdd95ef
  6. 10 Oct, 2001 1 commit
    • Matthias Clasen's avatar
      Updates. · 62e5f0d9
      Matthias Clasen authored
              * gtk/gtk-sections.txt, gtk/tmpl/gtkspinbutton.sgml,
              gtk/tmpl/gtkseparatormenuitem.sgml, gtk/tmpl/gtknotebook.sgml,
              gtk/tmpl/gtkstatusbar.sgml, gtk/tmpl/gtkradiobutton.sgml,
              gtk/tmpl/gtkradiomenuitem.sgml: Updates.
      
              * gdk-pixbuf/gdk-pixbuf-sections.txt,
              gdk-pixbuf/tmpl/gdk-pixbuf.sgml: Follow recent API changes.
      62e5f0d9
  7. 09 Oct, 2001 1 commit
  8. 08 Oct, 2001 1 commit
    • Matthias Clasen's avatar
      Update. · c77d0702
      Matthias Clasen authored
              * gdk-pixbuf/gdk-pixbuf-sections.txt,
              gdk-pixbuf/Makefile.am, gdk-pixbuf/tmpl/creating.sgml: Update.
      
              * gdk-pixbuf/tmpl/inline.sgml: New file.
      c77d0702
  9. 08 Sep, 2001 1 commit
    • Havoc Pennington's avatar
      default xscale/yscale to 0.0, not 0.5, 0.5 isn't useful · caa604c5
      Havoc Pennington authored
      2001-09-08  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtkalignment.c (gtk_alignment_class_init): default
      	xscale/yscale to 0.0, not 0.5, 0.5 isn't useful
      
      	* tests/testtextbuffer.c: fix usage of gtk_text_iter_spew
      
      	* gtk/gtktextiter.c: fix docs
      	(gtk_text_iter_spew): get rid of this
      
      	* gtk/gtklayout.c: docs
      
      	* gtk/gtkbutton.c (gtk_button_construct_child): add an alignment
      	to center image and label together, instead of having image on
      	left and label centered, patch/suggestion from Jacob
      
      	* gtk/gtkdialog.c: docs
      
      2001-09-08  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/tmpl/gtklayout.sgml: docs
      
      	* gdk-pixbuf/gdk-pixbuf.sgml: remove the section on compiling
      	gdk-pixbuf since it isn't a standalone package anymore
      
      	* gtk/building.sgml: section on compiling GTK itself
      caa604c5
  10. 03 Mar, 2001 1 commit
    • Owen Taylor's avatar
      You can't use + as a metacharacter for basic regular expressions. (This · 5705af51
      Owen Taylor authored
      Sat Mar  3 17:20:53 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* */Makefile.am (scan-build.stamp): You can't use
      	+ as a metacharacter for basic regular expressions.
      	(This was the "all objects disappear")
      
      	* gdk/gdk-sections.txt gdk-pixbuf/gdk-pixbuf-sections.txt
      
      	* */*-unused.sgml: Remove a lot of empty stuff. (No
      	point in saving old docs when there aren't any.)
      5705af51
  11. 20 Feb, 2001 1 commit
    • Havoc Pennington's avatar
      prepend underscore (gdk_pixbuf_get_named_module): prepend underscore · 70fb3c64
      Havoc Pennington authored
      2001-02-18  Havoc Pennington  <hp@pobox.com>
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_load_module): prepend underscore
      	(gdk_pixbuf_get_named_module): prepend underscore
      	(gdk_pixbuf_get_module): prepend underscore
      
      2001-02-18  Havoc Pennington  <hp@pobox.com>
      
      	* gdk-pixbuf/Makefile.am (IGNORE_HFILES): add gdk-pixbuf-marshal.h
      
      	* gdk-pixbuf/gdk-pixbuf-sections.txt: fixes
      70fb3c64
  12. 09 Jan, 2001 1 commit
    • Owen Taylor's avatar
      Restore build. · a6670482
      Owen Taylor authored
      Mon Jan  8 15:21:15 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* Makefile.am (SUBDIRS): Restore build.
      
      	* gdk/gdk-sections.txt gdk/gdk-docs.sgml
      	  gdk-pixbuf/gdk-pixbuf-sections.txt
      	  gtk/gtk-sections.txt gtk/gtk-docs.sgml: : Update.
      
      	* */tmpl/*: Changes from update.
      a6670482
  13. 14 Nov, 2000 1 commit
  14. 18 Oct, 2000 1 commit
    • Havoc Pennington's avatar
      Some updates · 9fde4eb5
      Havoc Pennington authored
      2000-10-18  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtk-sections.txt: Some updates
      
      	* gdk/gdk-sections.txt: remove GdkPixbufAlphaMode
      
      	* gdk-pixbuf/gdk-pixbuf-sections.txt: Add new API, remove
      	GdkPixbufClass/GdkAnimationClass since those are private
      
      	* gdk-pixbuf/Makefile.am (IGNORE_HFILES): ignore more headers
      
      2000-10-18  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextiter.c (gtk_text_iter_forward_to_newline): Fix a bug
      	where any number of empty lines would get skipped
      
      	* gtk/gtktextiter.h: Remove padding from GtkTextIter; live on the
      	edge.
      
      	* gtk/gtktextiter.c (gtk_text_iter_make_surreal): enhance the
      	warning about invalid iterators (explain more thoroughly)
      	(gtk_text_iter_in_region): rename gtk_text_iter_in_range
      
      	* gtk/gtktextview.c (FOCUS_EDGE_WIDTH): Make focus rectangle less
      	big
      
      	* demos/*.c: Add error handling
      
      	* gtk/gtktextbuffer.c: don't modify const iterators
      
      	* gtk/gdk-pixbuf-loader.c: Add full error handling here
      
      	* gtk/gtkimage.c (gtk_image_set_from_file): ignore errors
      	on file load
      
      	* gtk/gtkiconfactory.c: Update to reflect addition of error
      	handling to gdk-pixbuf loaders
      
      2000-10-16  Havoc Pennington  <hp@redhat.com>
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_get_module)
      	(gdk_pixbuf_get_named_module) (gdk_pixbuf_load_module):
      	add error reporting here also
      
      	* make-inline-pixbuf.c (main): use GError
      
      	* io-xpm.c: include unistd.h
      
      	* gdk-pixbuf-util.c: include string.h
      
      	* io-*.c: add error reporting
      
      	* gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file): add
      	error reporting
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file): Add error reporting
      
      	* gdk-pixbuf-io.h: Add GError** to load_increment and load
      	methods
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_save) (gdk_pixbuf_savev): return
      	a G_FILE_ERROR if we fail to write or close the file.
      
      	* gdk-pixbuf.h: remove GDK_PIXBUF_ERROR_IO, instead we'll use
      	G_FILE_ERROR_*. Rename enum to GdkPixbufError, properly following
      	the GError naming rules. Add GError** to load functions.
      9fde4eb5
  15. 09 Oct, 2000 1 commit
    • Havoc Pennington's avatar
      contrib subdir · fb1c7333
      Havoc Pennington authored
      2000-10-06  Havoc Pennington  <hp@redhat.com>
      
      	* Makefile.am (SRC_SUBDIRS): contrib subdir
      
      	* gdk/gdkpixbuf.h: Move GdkPixbufAlphaMode to gdk-pixbuf library,
      	so it can be used in Xlib version
      
      	* demos/testpixbuf.c (update_timeout): error checking from 1.0
      	tree
      
      	* gtk/gdk-pixbuf-loader.c (gdk_pixbuf_loader_get_pixbuf): Sync
      	change from 1.0 tree that returns first frame of animation
      	if the loaded file is an animation.
      
              * contrib: add new directory to hold stuff that comes with GTK+
      	but isn't really part of GTK+ (for now, gdk-pixbuf-xlib)
      
      	* configure.in: add contrib/*
      
      2000-10-06  Havoc Pennington  <hp@redhat.com>
      
      	* gdk-pixbuf.h: add GdkPixbufAlphaMode
      
      2000-10-06  Havoc Pennington  <hp@redhat.com>
      
              This entry is a summary of the merged-in changes from 1.0.
      	Relevant original ChangeLog entries are spliced in after
      	this entry; the files they refer to are from the 1.0
      	gdk-pixbuf sources.
      
      	* pixops/pixops.c (pixops_composite_nearest): sync a small fix
      	from 1.0
      
      	* io-xpm.c (xpm_seek_string): add fscanf error check from 1.0
      	Add progressive loader from 1.0
      
      	* io-tiff.c (gdk_pixbuf__tiff_image_begin_load): mem leak fixes
      	from 1.0 tree
      
      	* io-pnm.c: new version from 1.0 tree
      
      	* io-jpeg.c (gdk_pixbuf__jpeg_image_load): sync from 1.0, use
      	malloc not g_malloc
      
      	* io-gif.c (lzw_read_byte): sync from 1.0, change a g_error to
      	g_warning
      	(gif_get_next_step): return 0 here, sync from 1.0
      
      	* gdk-pixbuf-util.c: sync email address change for Cody
      	Russell
      
      2000-09-11  Jeffrey Stedfast  <fejj@helixcode.com>
      
      	* gdk-pixbuf/io-pnm.c: Pretty much totally rewrote again because
      	last nights code was still "broken". Should now properly handle
      	all error conditions gracefully.
      
      2000-09-10  Jeffrey Stedfast  <fejj@helixcode.com>
      
      	* gdk-pixbuf/io-pnm.c: Rewrote.
      
      2000-09-09  Federico Mena Quintero  <federico@helixcode.com>
      
      	* gdk-pixbuf/pixops/pixops.c (pixops_composite_nearest): Compute
      	the correct dest offset.
      
      2000-08-25  Federico Mena Quintero  <federico@helixcode.com>
      
      	* gdk-pixbuf/io-xpm.c: #include <unistd.h>
      
      2000-08-05  Larry Ewing  <lewing@helixcode.com>
      
      	* gdk-pixbuf/io-tiff.c: stop leaking context->tempname.
      
      	* gdk-pixbuf/io-xpm.c: same as above.
      
      2000-07-26  Michael Meeks  <michael@helixcode.com>
      
      	* gdk-pixbuf/io-jpeg.c (gdk_pixbuf__jpeg_image_load): make
      	g_malloc a malloc.
      
      2000-07-21  Larry Ewing  <lewing@helixcode.com>
      
      	* gdk-pixbuf/io-xpm.c: add a fake progressive loader so that
      	xpm at least supports the progressive interface like the one in
      	io-tiff.c. This should be reimplemented as an actual progressive
      	loader.
      
      2000-07-19  Jonathan Blandford  <jrb@redhat.com>
      
      	* demo/pixbuf-demo.c (update_timeout): changed scaling level to
      	make it look better.
      	* gdk-pixbuf/testpixbuf.c (update_timeout): Patch from michael
      	meeks to handle errors better.
      fb1c7333
  16. 07 Sep, 2000 1 commit
    • Owen Taylor's avatar
      Move gtk-reference files into GTK+ tree proper. · d985443d
      Owen Taylor authored
      Thu Sep  7 14:15:03 2000  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/* gtk/*: Move gtk-reference files into GTK+ tree proper.
      
      	* Update sections.txt files to correspond to current code,
      	tweak .sgml files and Makefiles to correspond.
      
      	* gtk/tmpl/gtkradiomenuitem.sgml (this): Remove extra <para>
      d985443d
  17. 13 Apr, 2000 1 commit
    • Federico Mena Quintero's avatar
      Your eyes are bloodshot. · b44aeafd
      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.
      b44aeafd
  18. 22 Feb, 2000 1 commit
  19. 17 Jan, 2000 1 commit
    • Federico Mena Quintero's avatar
      Removed the broken --enable-canvas-pixbuf option. Added the stuff · c08acfb0
      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.
      c08acfb0
  20. 06 Jan, 2000 1 commit
    • Owen Taylor's avatar
      Added scaling functions into gtk-doc framework. · ef801a13
      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.
      ef801a13
  21. 02 Jan, 2000 1 commit
    • Federico Mena Quintero's avatar
      Added reference counting to animations. A web browser may want to share a · e55155f9
      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.
      e55155f9
  22. 08 Dec, 1999 1 commit
    • Federico Mena Quintero's avatar
      Fix includes. (gdk_pixbuf_get_from_drawable): Implemented the zillion · 76642ec1
      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.
      76642ec1
  23. 02 Dec, 1999 1 commit
    • Federico Mena Quintero's avatar
      New file with utility and convenience functions for pixbufs. · 56694adb
      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.
      56694adb
  24. 05 Nov, 1999 1 commit
  25. 04 Nov, 1999 2 commits