1. 13 Nov, 2000 1 commit
    • Havoc Pennington's avatar
      Rename this testgtk to gtk-demo to avoid confusion, and install it so · 213680a4
      Havoc Pennington authored
      2000-11-12  Havoc Pennington  <hp@pobox.com>
      
              Rename this testgtk to gtk-demo to avoid confusion, and
      	install it so people can use it as a supplement to
      	the documentation.
      
      	        * demos/gtk-demo: Moved from demos/testgtk
      
      		* demos/testgtk: Removed
      
      		* configure.in: make Makefile in gtk-demo
      
      		* demos/gtk-demo/Makefile.am: Install sample source to
      		datadir/gtk-demo (maybe there's a better place?), and
      		rename the binary to gtk-demo
      
      		* demos/gtk-demo/main.c (load_file): Load installed sample
      		source if source isn't found in pwd.
      213680a4
  2. 10 Nov, 2000 1 commit
    • Jonathan Blandford's avatar
      use the new BOXED marshallers. · f8faec45
      Jonathan Blandford authored
      Fri Nov 10 12:10:34 2000  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkliststore.c (gtk_model_simple_class_init): use the new
      	BOXED marshallers.
      
      	* gtk/gtkliststore.c (gtk_list_store_get_column_type): Add this.
      	(gtk_list_store_class_init): use the new BOXED marshallers.
      
      	* gtk/gtktreestore.c (gtk_tree_store_new_with_types): change
      	new_with_values to new_with_types.
      	(gtk_tree_store_get_column_type): add this.
      	(gtk_tree_store_class_init): use the new BOXED marshallers.
      
      	* gtk/gtkmarshal.list: Added a number of BOXED marshallers to
      	mirror some POINTER marshallers.
      f8faec45
  3. 09 Nov, 2000 2 commits
    • Jonathan Blandford's avatar
      added more fields to allow more interesting iterators. Also, made the · c97d57eb
      Jonathan Blandford authored
      Thu Nov  9 11:23:22 2000  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodel.h (struct _GtkTreeIter): added more fields to
      	allow more interesting iterators.  Also, made the lifecycle of
      	iterators more explicit.
      
      	* gtk/gtktreemodelsort.[ch]: New model for sorting.
      
      	* gtk/gtk-boxed.defs (GtkTreeIter, GtkTreePath): Added two boxed
      	types.
      c97d57eb
    • Alexander Larsson's avatar
      Changes to make the new testgtk compile after gtk_menu_append was removed. · 8898529c
      Alexander Larsson authored
      2000-11-09  Alexander Larsson  <alexl@redhat.com>
      
      	* demos/testgtk/menus.c:
      	Changes to make the new testgtk compile after
      	gtk_menu_append was removed.
      
      	* gdk/linux-fb/gdkdrawable-fb2.c
      	(gdk_fb_get_depth, gdk_fb_get_visual,
      	gdk_drawable_impl_fb_class_init): Implement
      	these drawable functions. Now GtkImages work again.
      
      	* gdk/linux-fb/gdkimage-fb.c (_gdk_fb_get_image): Change prototype.
      
      	* gdk/linux-fb/gdkprivate-fb.h (_gdk_fb_get_image): Change prototype.
      
      	* gdk/linux-fb/gdkmain-fb.c (fb_modes_parse_mode,
      	gdk_fb_setup_mode_from_name, gdk_fb_set_mode, gdk_fb_display_new);
      	Parse /etc/fb.modes, use the environment variables GDK_DISPLAY_MODE,
      	GDK_DISPLAY_DEPTH, GDK_DISPLAY_WIDTH, GDK_DISPLAY_HEIGHT.
      8898529c
  4. 27 Oct, 2000 1 commit
  5. 26 Oct, 2000 1 commit
    • Jonathan Blandford's avatar
      Got rid of GtkTreeNode, and changed it to GtkTreeIter. Added iterators · ef7b510f
      Jonathan Blandford authored
      Wed Oct 25 20:40:25 2000  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodel.h: Got rid of GtkTreeNode, and changed it to
      	GtkTreeIter.  Added iterators everywhere.
      
      	* gtk/gtktreeviewcolumn.c: Changed to use the iterators.
      
      	* gtk/gtktreeviewselection.c: Changed to use the iterators.
      
      	* gtk/gtktreestore.c: Changed to use the iterators.
      
      	* gtk/gtkliststore.c: Commented out the code.  Will convert to
      	iterators tomorrow.
      
      	* gtk/gtkmodelsimple.c: Commented out the code.  Will convert to
      	iterators tomorrow.
      
      	* gtk/treestoretest.c: Changed to use iterators.
      
      	* demos/testgtk/main.c: Moved to use the new iterator system.
      ef7b510f
  6. 23 Oct, 2000 1 commit
  7. 18 Oct, 2000 2 commits
    • Havoc Pennington's avatar
      Some updates · 7a4c6893
      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.
      7a4c6893
    • Owen Taylor's avatar
      Start of work to move to new modularized testgtk. · 74209088
      Owen Taylor authored
      Wed Oct 18 11:14:05 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in demos/Makefile.am demos/testgtk/*: Start of work to
      	move to new modularized testgtk.
      74209088
  8. 09 Oct, 2000 1 commit
    • Havoc Pennington's avatar
      contrib subdir · 518f32d9
      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.
      518f32d9
  9. 06 Oct, 2000 1 commit
    • Havoc Pennington's avatar
      Pixbuf saving, patch from David Welton. · 6b9f9072
      Havoc Pennington authored
      2000-10-05  Havoc Pennington  <hp@redhat.com>
      
              Pixbuf saving, patch from David Welton.
      
      	* Makefile.am (GDK_PIXBUF_LIBS): add INTLLIBS
      	(libgdk_pixbuf_1_3_la_SOURCES): add gdk-pixbuf-i18n.h
      
      	* gdk-pixbuf-i18n.h: Add _() to gdk-pixbuf
      
      	* io-png.c (gdk_pixbuf__png_image_save): PNG save routine.
      
      	* io-jpeg.c (gdk_pixbuf__jpeg_image_save): JPEG save routine.
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_save):
      	(gdk_pixbuf_savev): Implement pixbuf saving routines
      
      	* gdk-pixbuf.c (gdk_pixbuf_error_quark): pixbuf error quark
      	function
      
      	* gdk-pixbuf.h: Add public save routines; add pixbuf error
      	types
      
      	* gdk-pixbuf-io.h: Add save function to GdkPixbufModule
      
      2000-10-05  Havoc Pennington  <hp@redhat.com>
      
              * demos/testpixbuf-save.c: add pixbuf save test
      
      	* demos/Makefile.am: add testpixbuf-save.c
      6b9f9072
  10. 04 Oct, 2000 1 commit
    • Havoc Pennington's avatar
      Fix copyrights · 502e5a88
      Havoc Pennington authored
      2000-10-04  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkstock.h, gtk/gtkstock.c, gtk/gtkiconfactory.h,
      	gtk/gtkiconfactory.c: Fix copyrights
      
      	* demos/testpixbuf.c: add inline pixbuf test
      502e5a88
  11. 26 Jul, 2000 1 commit
  12. 22 Jul, 2000 1 commit
    • Owen Taylor's avatar
      Fix bug where redraw wasn't being done properly when height of dirty · 6a2c2edf
      Owen Taylor authored
      Sat Jul 22 11:16:05 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktextview.c (changed_handler): Fix bug where
      	redraw wasn't being done properly when height of
      	dirty region changed.
      
      	* demos/Makefile.am: Remove various references to
      	-lgmodule
      
      	* Makefile.am (test_gdk_pixbuf_LDADD): Remove -lgmodule
      6a2c2edf
  13. 14 Jul, 2000 1 commit
    • Owen Taylor's avatar
      Move gtk-config to gtk-config-2.0 move gtk_.m4 to gtk-2.0.m4 · bb268900
      Owen Taylor authored
      Fri Jul 14 12:22:49 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in Makefile.am gtk-config.m4 gtk.m4: Move
      	gtk-config to gtk-config-2.0 move gtk_.m4 to
      	gtk-2.0.m4
      
      	* Makefile.am gtk/Makefile.am gdk-pixbuf/Makefile.am
      	gdk/Makefile.am demos/Makefile.am: Change
      	library names to libgtk-1.3.la, etc, so that we
      	can distinguish gtk-1.2 and gtk-2.0 on the linkline.
      
      	* Makefile.am gtk/Makefile.am gdk-pixbuf/Makefile.am
      	gdk/Makefile.am gdk/x11/Makfile.am
      	Move include files into /usr/include/gtk-2.0,
      	/usr/lib/gtk-2.0/include/
      
      	* autogen.sh acconfig.h configure.in gtk/gtkmain.c
      	gtk/gtkintl.h: Change package for gettext from
      	gtk+ to gtk20. Put hack in autogen.sh to modify
      	po/Makefile.in.in after gettextize to make this
      	possible.
      
      	* gtk+.spec: Some updates, not tested.
      
      	* gdk-pixbuf/Makefile.am: Move loaders into
      	$(libdir)/gtk-2.0/$(GTK_VERSION)/loaders.
      
      	* gtk/Makefile.am gtk/gtkrc.c: Move RC file locations
      	$(sysconfdir)/gtk-2.0 ~/.gtkrc-2.0; theme subdir
      	to THEMENAME/gtk-2.0/. Move engine directory  to
      	$(libdir)/gtk-2.0/$(GTK_VERSION)/engines.
      bb268900
  14. 06 Jul, 2000 1 commit
    • Owen Taylor's avatar
      Add check for db2html · 35930723
      Owen Taylor authored
      Thu Jul  6 16:12:14 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in: Add check for db2html
      
      Thu Jul  6 14:53:05 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktypeutils.c (gtk_type_init): Add a temporary
      	hack to set glib_debug_objects based on gtk_debug_flags.
      
      Thu Jul  6 14:12:13 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* INSTALL.in: Update the Prerequisites section.
      
      	* Makefile.am demos/Makefile.am docs/Makefile.am
      	docs/tutorial/Makefile.am gdk/x11/Makefile.am
      	gdk/linux-fb/Makefile.am: Dist fixes
      35930723
  15. 02 Jul, 2000 1 commit
    • Owen Taylor's avatar
      Add gdk_rgb_find_color() to get a pixel value using GdkRGB functionality · 4f1ccca5
      Owen Taylor authored
      Sun Jul  2 12:45:50 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkrgb.[ch]: Add gdk_rgb_find_color() to get a pixel
      	value using GdkRGB functionality given GdkColormap and GdkColor.
      	(name not final, waiting for inspiration.)
      
      	* gdk/gdkgc.[ch] (gdk_gc_set_rgb_fg/bg_color): New functions to
      	set the foreground/background of a GC using the GC's colormap
      	and GdkRGB. (name not final, waiting for inspiration.)
      
      	* gdk/gdkcompat.h gdk/gdkrgb.c (gdk_rgb_get_colormap): Rename from
      	gdk_rgb_get_cmap(), put #define in gdkcompat.h.
      
      	* gtk/gtkwidget.[ch] gtkcompat.h: Make visuals for
      	gtk_widget_get_visual(), gtk_widget_get_default_visual, etc,
      	purely a function of the corresponding colormap. Make
      	gtk_widget_set_visual(), etc, noop macros in gtkcompat.h.
      
      	* gdk/gdkpixmap.c gdk/x11/gdkpixmap-c11.c: Rewrite
      	gdk_pixbuf_*create_from_xpm_* in terms of
      	gdk_pixbuf_new_from_xpm_data(), move into platform independent
      	code.
      
      	* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable): Take
      	advantage of the new draw_rgb_32_image_dithalign.
      
      	* gdk/gdkrgb.c (gdk_draw_rgb_32_image_dithalign): Added.
      
      	* gtk/gtkgc.c (gtk_gc_new): Set the appropriate colormap
      	on each created GC.
      
      	* gdk/gdkgc.[ch]: Add gdk_gc_get/set_colormap.
      
      	* gdk/gdkgc.[ch]: Add a colormap field to the GdkGC structure
      	which we initialize from the drawable when the GC is created,
      	if the drawable has a colormap.
      
      	* gdk/x11/gdkgc-x11.c: include string.h for memset.
      
      	* gdk/x11/gdkinput-x11.c: include string.h for strlen, etc.
      
      	* gtk/gtklayout.[ch]: Remove unsed configure serial member.
      4f1ccca5
  16. 22 Jun, 2000 2 commits
    • Havoc Pennington's avatar
      Convert GdkPixbuf to GObject, leaving it opaque (i.e. derivation is not · 3a422541
      Havoc Pennington authored
      2000-06-21  Havoc Pennington  <hp@pobox.com>
      
      * gdk-pixbuf.c: Convert GdkPixbuf to GObject, leaving it opaque
      (i.e. derivation is not allowed, and there are no virtual methods
      anyway).
      (gdk_pixbuf_preinit): Call g_type_init() here.
      (gdk_pixbuf_init): Add a user-friendly init function, for users
      of standalone gdk-pixbuf
      
      * gdk-pixbuf-animation.c: Convert to GObject, in the same
      way GdkPixbufAnimation was done.
      
      * gdk-pixbuf.h: Remove gdk_pixbuf_set_unref_handler() and
      gdk_pixbuf_finalize() from API, since these are broken and don't
      make sense with new GObject stuff.
      
      2000-06-21  Havoc Pennington  <hp@pobox.com>
      
      * gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): Fix bug where
      we didn't check window->bg_pixmap != GDK_NO_BG.
      
      * gtk/gdk-pixbuf-loader.c: Change to reflect GObject-ification of
      gdk-pixbuf
      3a422541
    • Raja R Harinath's avatar
      Work with srcdir != builddir. · 30bd71e2
      Raja R Harinath authored
      * demos/testanimation.c: Don't include "gdk-pixbuf.h".  Use
      <gtk/gdk-pixbuf-loader.h>, not "gtk-pixbuf/gdk-pixbuf-loader.h".
      * demos/testpixbuf.c: Likewise.
      * demos/testpixbuf-scale.c: Don't include "gdk-pixbuf.h".
      * demos/testpixbuf-drawable.c: Don't include "gdk-pixbuf.h".  Use
      <gdk/x11/gdkx.h>.
      * demos/pixbuf-demo.c: Use <gtk/gtk.h> not "gtk.h".  Don't include
      "gdk-pixbuf.h".
      * demos/Makefile.am (INCLUDES): Remove unneeded directories.
      30bd71e2
  17. 21 Jun, 2000 2 commits
    • Owen Taylor's avatar
      Welcome aboard, gdk-pixbuf. · 11056f56
      Owen Taylor authored
      Wed Jun 21 16:38:13 2000  Owen Taylor  <otaylor@redhat.com>
      
              * gdk-pixbuf/* docs/reference/gdk-pixbuf/*: Welcome aboard,
      	gdk-pixbuf.
      
      	* gtk/gdk-pixbuf-loader.c (gdk_pixbuf_loader_class_init):
      	fixups for GObject.
      
      	* gdk/Makefile.am gdk/gdkpixbuf-render.[ch] gdk/gdkpixbuf.[ch]: Bits of
      	gdk-pixbuf with GDK dependencies moved into GDK.
      
      	* gtk/Makefile.am gtk/gdk-pixbuf-loader.[ch]: Temporarily
      	move gdk-pixbuf-loader here until GObject has signals.
      
      	* demos/: New directory of demos. Move demos from
      	gdk-pixbuf here.
      
      	* demos/pixbuf-init.c: Small bit of code to check for
      	loaders in ../gdk-pixbuf/.libs/gdk-pixbuf, and if found,
      	set GDK_PIXBUF_MODULEDIR appropriately.
      
      	* gdk/gdkcompat.h: Remove GDK_DRAWABLE_PIXMAP compat
      	define which no longer makes sense.
      11056f56
    • Owen Taylor's avatar
      Revert accidental changes from Federico's last commit. · f5341257
      Owen Taylor authored
      2000-06-21  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk-pixbuf/testpixbuf-scale.c: Revert accidental changes
      	from Federico's last commit.
      f5341257
  18. 11 Jun, 2000 1 commit
    • Federico Mena Quintero's avatar
      It was cold and rainy this Saturday morning, so I needed something to warm · 9df3e653
      Federico Mena Quintero authored
      2000-06-10  Federico Mena Quintero  <federico@helixcode.com>
      
      	* demo/pixbuf-demo.c: It was cold and rainy this Saturday morning,
      	so I needed something to warm my thighs.  Running plain infinite
      	loops on your laptop to make it hot is not very much fun.  A demo
      	of the gdk-pixbuf scaling functions is way better, and looks
      	prettier, too.
      
      	* configure.in (AC_OUTPUT): Added the demo Makefile.
      
      	* Makefile.am (SUBDIRS): Added the demo directory.
      9df3e653
  19. 11 Apr, 2000 1 commit
    • Federico Mena Quintero's avatar
      Most of this patch is based on a patch by Havoc Pennington (hp@redhat.com) · 829ed024
      Federico Mena Quintero authored
      2000-04-11  Federico Mena Quintero  <federico@helixcode.com>
      
      	Most of this patch is based on a patch by Havoc Pennington
      	(hp@redhat.com) to make GdkPixbuf's structures opaque and to
      	remove the libart dependency.
      
      	* gdk-pixbuf/gdk-pixbuf.h: Removed the public structures.
      	(GdkColorspace): New enum that for now only contains
      	GDK_COLORSPACE_RGB.
      	(GdkPixbufDestroyNotify): New type for the pixbuf's pixels destroy
      	notification function.
      	(GdkInterpType): New num with interpolation types.
      
      	* *.[ch]: Replace the libart stuff with our own stuff.
      
      	* pixops/*.[ch]: Likewise.
      
      	* gdk-pixbuf/gdk-pixbuf-private.h: New file with the private
      	declarations of the GdkPixbuf structures.
      
      	* gdk-pixbuf/gdk-pixbuf.c (gdk_pixbuf_new_from_art_pixbuf):
      	Removed function.
      	(gdk_pixbuf_get_format): Constify.
      	(gdk_pixbuf_get_n_channels): Constify.
      	(gdk_pixbuf_get_has_alpha): Constify.
      	(gdk_pixbuf_get_bits_per_sample): Constify.
      	(gdk_pixbuf_get_pixels): Constify.
      	(gdk_pixbuf_get_width): Constify.
      	(gdk_pixbuf_get_height): Constify.
      	(gdk_pixbuf_get_rowstride): Constify.
      
      	* gdk-pixbuf/gdk-pixbuf.c (gdk_pixbuf_copy): New function to copy
      	a pixbuf.
      
      	* gdk-pixbuf/gdk-pixbuf-data.c (gdk_pixbuf_new_from_data): Added a
      	bits_per_sample argument; currently only 8 bits per sample are
      	supported.
      
      	* gdk-pixbuf/gdk-pixbuf-animation.c (gdk_pixbuf_frame_get_pixbuf):
      	New accessor.
      	(gdk_pixbuf_frame_get_x_offset): New accessor.
      	(gdk_pixbuf_frame_get_y_offset): New accessor.
      	(gdk_pixbuf_frame_get_delay_time): New accessor.
      	(gdk_pixbuf_frame_get_action): New accessor.
      
      	* gdk-pixbuf/gdk-pixbuf-render.c
      	(gdk_pixbuf_render_pixmap_and_mask): Instead of returning a solid
      	mask rectangle for pixbufs without an alpha channel, set the
      	*mask_return to NULL.
      
      	* gdk-pixbuf/gdk-pixbuf-util.c (gdk_pixbuf_add_alpha): Constify.
      
      	* gdk-pixbuf/gdk-pixbuf-scale.c: Fix includes.
      
      	* gdk-pixbuf/gdk-pixbuf-scale.c (gdk_pixbuf_scale): Added some
      	preconditions.  Maybe we should also check for the colorspace,
      	bits per pixel, and such.
      	(gdk_pixbuf_composite): Likewise.
      	(gdk_pixbuf_composite_color): Likewise.
      	(gdk_pixbuf_scale_simple): Likewise, and fail gracefully if we
      	cannot allocate the new pixbuf.
      	(gdk_pixbuf_composite_color_simple): Likewise.
      
      	* gdk-pixbuf/gnome-canvas-pixbuf.c (gnome_canvas_pixbuf_render):
      	Use art_rgb_rgba_affine() or art_rgb_affine() since we no longer
      	have an ArtPixBuf.
      
      	* gdk-pixbuf/io-bmp.c: Fix includes.
      
      	* gdk-pixbuf/pixops/pixops.c (pixops_scale_nearest): Fixed cast in
      	an lvalue.
      
      	* TODO: Populated.
      
      	* configure.in: Removed checks for libart.
      
      	* gdk-pixbuf/Makefile.am: Removed references to libart.
      	(noinst_HEADERS): Added gdk-pixbuf-private.h.
      
      	* gdk-pixbuf/Makefile.am (libgdk_pixbuf_la_LDFLAGS): Incremented
      	the version number of the libtool library to indicate that this
      	definitely is not compatible with the old usage.  I know you love
      	me.  I know you do.
      
      	* configure.in: Bumped version number to 0.7.0.
      
      	* README: Updated.
      
      	* gdk-pixbuf-config.in (--libs): We no longer require libart.
      
      	* DEPENDS.libgdk_pixbuf: We no longer depend on libart.
      
      	* gdk-pixbuf.spec.in: Updated, but I don't guarantee anything.
      829ed024
  20. 06 Apr, 2000 1 commit
  21. 14 Feb, 2000 1 commit
  22. 02 Feb, 2000 1 commit
    • 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
  23. 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
  24. 13 Jan, 2000 1 commit
  25. 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
  26. 05 Jan, 2000 2 commits
    • 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
  27. 17 Dec, 1999 1 commit
  28. 09 Dec, 1999 1 commit
    • Michael Zucchi's avatar
      Filled in body of function. (rgbconvert): Added GdkColormap parameter, and · 6b23587a
      Michael Zucchi authored
      1999-12-09  Michael Zucchi  <zucchi@zedzone.mmc.com.au>
      
      	* gdk-pixbuf/gdk-pixbuf-drawable.c (gdk_pixbuf_get_from_drawable):
      	Filled in body of function.
      	(rgbconvert): Added GdkColormap parameter, and to all conversion
      	functions also.
      
      	* gdk-pixbuf/Makefile.am: Re-enabled building of
      	textpixbuf-drawable.
      
      	* gdk-pixbuf/testpixbuf-drawable.c (main): Changed to use
      	gdk_pixbuf_get_from_drawable().
      6b23587a
  29. 02 Dec, 1999 1 commit
    • Federico Mena Quintero's avatar
      #include <config.h>, and fix includes. · 25a81424
      Federico Mena Quintero authored
      1999-12-02  Federico Mena Quintero  <federico@redhat.com>
      
      	* src/testpixbuf.c: #include <config.h>, and fix includes.
      
      	* src/testpixbuf-drawable.c: #include <config.h>, and fix includes.
      
      	* src/io-xpm.c: Fix includes.
      
      	* src/io-tiff.c: Fix includes.
      
      	* src/io-ras.c: Fix includes, and do not include more stuff than needed.
      
      	* src/io-pnm.c: Fix inlcudes, and do not include more stuff than needed.
      
      	* src/io-png.c: Fix includes.
      
      	* src/io-ico.c: Fix includes, and do not include more stuff than needed.
      
      	* src/io-gif.c: Fix includes, and do not include more stuff than needed.
      
      	* src/io-bmp.c: Fix includes, and do not include more stuff than needed.
      
      	* src/gnome-canvas-pixbuf.c: Fix includes.
      
      	* src/gdk-pixbuf.c: Fix includes.
      
      	* src/gdk-pixbuf-util.c: Fix includes.
      
      	* src/gdk-pixbuf-render.c: Fix includes.
      
      	* src/gdk-pixbuf-io.h: Fix includes.
      
      	* src/gdk-pixbuf-drawable.c: Fix includes.
      
      	* src/gdk-pixbuf-drawable.h: Use angle brackets for the gdk-pixbuf
      	include files.
      
      	* src/gdk-pixbuf-data.c: Fix includes.
      
      	* src/gdk-pixbuf-loader.c: #include <config.h>
      
      	* src/gdk-pixbuf-loader.h: Use angle brackets for the gdk-pixbuf
      	include files.
      
      	* src/Makefile.am: Commented out the gdk-pixbuf-drawable stuff,
      	since it is not finished.
      25a81424
  30. 22 Nov, 1999 1 commit
  31. 16 Nov, 1999 1 commit
  32. 13 Nov, 1999 1 commit
  33. 10 Nov, 1999 3 commits