1. 13 Apr, 2004 1 commit
    • Matthias Clasen's avatar
      When calling fread() in a loop, check for ferror() as well as for feof() · fe8c42b6
      Matthias Clasen authored
      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)
      fe8c42b6
  2. 15 Mar, 2004 1 commit
    • Tor Lillqvist's avatar
      Merges from stable branch that had been left out. (#136282, J. Ali Harlow) · ba7a9517
      Tor Lillqvist authored
      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.
      ba7a9517
  3. 06 Mar, 2004 1 commit
  4. 08 Feb, 2004 1 commit
    • Manish Singh's avatar
      removed unnecessary G_OBJECT() cast checks. · 4bd1fa5f
      Manish Singh authored
      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).
      4bd1fa5f
  5. 09 Jan, 2004 1 commit
  6. 07 Jan, 2004 3 commits
    • Federico Mena Quintero's avatar
      Escape an ampersand in the documentation comment, and hack around an empty · b421cc48
      Federico Mena Quintero authored
      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.
      b421cc48
    • Matthias Clasen's avatar
      New public API to save pixbufs to non-file locations. (#82203, Tim Evans) · 03376d79
      Matthias Clasen authored
      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.
      03376d79
    • Matthias Clasen's avatar
      Make it possible to call gdk_pixbuf_loader_set_size (loader, 0, 0) by · 5b26e695
      Matthias Clasen authored
      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)
      5b26e695
  7. 09 Nov, 2003 1 commit
  8. 23 Jul, 2003 2 commits
  9. 13 Jul, 2003 1 commit
  10. 11 Jul, 2003 1 commit
    • Matthias Clasen's avatar
      Use g_strfreev() to free mime_types. (#117219, Steve Chaplin) · aa013939
      Matthias Clasen authored
      2003-07-11  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkicontheme.c (pixbuf_supports_svg): Use g_strfreev() to free mime_types.
      	(#117219, Steve Chaplin)
      
      	* queryloaders.c (query_module): Handle absolute filenames properly. (#117170, Jens Elkner)
      
      	* gdk-pixbuf-io.c: Mention that NULL-terminated arrays returned by
      	gdk_pixbuf_format_get_mime_types() and gdk_pixbuf_format_get_extensions() must be
      	freed with g_strfreev().
      aa013939
  11. 03 Jul, 2003 1 commit
  12. 21 May, 2003 1 commit
  13. 24 Apr, 2003 1 commit
  14. 02 Jan, 2003 1 commit
  15. 28 Nov, 2002 1 commit
  16. 03 Oct, 2002 1 commit
    • Matthias Clasen's avatar
      Support for separately installed loaders. (#77486) · 45f7541f
      Matthias Clasen authored
      	* Makefile.am gdk-pixbuf-animation.c gdk-pixbuf-data.c
      	gdk-pixbuf-io.c gdk-pixbuf-io.h gdk-pixbuf-loader.c
      	gdk-pixbuf-loader.h gdk-pixbuf-private.h gdk-pixbuf.h
      	gdk-pixdata.c io-ani-animation.h io-ani.c io-bmp.c
      	io-gif-animation.c io-gif-animation.h io-gif.c io-ico.c
      	io-jpeg.c io-png.c io-pnm.c io-ras.c io-tga.c io-tiff.c
      	io-wbmp.c io-xbm.c io-xpm.c pixbufloader_ani.def
      	pixbufloader_bmp.def pixbufloader_gif.def pixbufloader_ico.def
      	pixbufloader_jpeg.def pixbufloader_png.def
      	pixbufloader_pnm.def pixbufloader_ras.def pixbufloader_tga.def
      	pixbufloader_tiff.def pixbufloader_wbmp.def
      	pixbufloader_xbm.def pixbufloader_xpm.def test-gdk-pixbuf.c
      	gdk-pixbuf-animation.h queryloaders.c: Support for separately
      	installed loaders.  (#77486)
      45f7541f
  17. 06 Sep, 2002 1 commit
  18. 03 Sep, 2002 1 commit
    • Matthias Clasen's avatar
      Don't leak memory if g_try_realloc fails. · 8abdfd3d
      Matthias Clasen authored
      	* io-tga.c (io_buffer_append):
      	* io-ico.c (DecodeHeader):
      	* io-bmp.c (grow_buffer): Don't leak memory if g_try_realloc fails.
      
      	* gdk-pixbuf-io.c (pixbuf_check_ico): Fix loading of .CUR files.
      	(#91826)
      8abdfd3d
  19. 22 Aug, 2002 1 commit
    • Matthias Clasen's avatar
      gdk-pixbuf-io.c (_gdk_pixbuf_generic_image_load): No longer static, thus · c22b6145
      Matthias Clasen authored
      	* gdk-pixbuf-io.h:
      	gdk-pixbuf-io.c (_gdk_pixbuf_generic_image_load): No longer
      	static, thus _gdk_pixbuf-prefixed.
      
      	* gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file):
      	Keep this logic in sync with gdk_pixbuf_new_from_file().  (Based
      	on a patch by Anders Carlsson)
      
      	* io-png.c (gdk_pixbuf__png_image_save): Plug a memory
      	leak.  (#91422, Sven Neumann)
      c22b6145
  20. 07 Jul, 2002 1 commit
    • Matthias Clasen's avatar
      New function for loading an image from a file either via module->load or · 94218b8c
      Matthias Clasen authored
      	* gdk-pixbuf-io.c (generic_image_load): New function for loading
      	an image from a file either via module->load or incrementally.
      	(prepared_notify): ModulePreparedNotifyFunc for generic_image_load.
      	(gdk_pixbuf_new_from_file): Use generic_image_load.
      	* io-bmp.c, io-ico.c, io-ras.c, io-wbmp.c: Remove trivial
      	implementations of module->load.  (#71266)
      94218b8c
  21. 31 May, 2002 1 commit
    • Matthias Clasen's avatar
      Accept xbms starting with a C comment - those seem to be not uncommon, · 61857770
      Matthias Clasen authored
      	* gdk-pixbuf-io.c (pixbuf_check_xbm): Accept xbms starting
      	with a C comment - those seem to be not uncommon, e.g. the Gimp
      	produces them.  (#82706)
      
      	* io-xbm.c (read_bitmap_file_data): Don't leak memory on certain
      	invalid inputs.
      	(gdk_pixbuf__xbm_image_load_real): Don't leak memory on valid inputs.
      61857770
  22. 22 May, 2002 1 commit
  23. 24 Apr, 2002 1 commit
  24. 20 Mar, 2002 1 commit
    • Owen Taylor's avatar
      Patch from Erwann Chenede, #73900 fixing a lot of warnings with Forte CC, · 8acfd1e9
      Owen Taylor authored
      Wed Mar 20 16:36:08 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/*.c: Patch from Erwann Chenede, #73900 fixing
              a lot of warnings with Forte CC, mostly implicit
              casts between void * and function pointers.
      
              * gdk/gdkevents.c (gdk_event_get_state): GdkEventVisibility's
              state field is not a GdkModifierType. (Also #73900)
      8acfd1e9
  25. 03 Mar, 2002 1 commit
    • Owen Taylor's avatar
      If we can't load the module using the g_module_build_path() filename, try · b3c0813b
      Owen Taylor authored
      Sat Mar  2 22:11:10 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk-pixbuf-io.c (_gdk_pixbuf_load_module): If we
              can't load the module using the g_module_build_path()
              filename, try loading it as a .la file.
      
              * test-loaders.c: Look for modules in current directory
              rather than .libs, so we find the right .la files.
      
              * test-loaders.c: Back out some accidental commits.
      b3c0813b
  26. 20 Dec, 2001 1 commit
    • Matthias Clasen's avatar
      More precise documentation about underscores and mnemonics. (#66380) · 3aabcd28
      Matthias Clasen authored
              * gtk/gtklabel.c (gtk_label_new_with_mnemonic),
              gtk/gtkbutton.c (gtk_button_new_with_mnemonic): More precise
              documentation about underscores and mnemonics. (#66380)
      
              * gtk/gtktextiter.c (gtk_text_iter_backward_word_starts): Fix
              cyclic reference in docs.
      
              * gtk/gtklabel.c (gtk_label_set_justify): Correct documentation
              of default value. (#65402)
      
              * gtk/gtkmain.c (gtk_set_locale, gtk_disable_set_locale):
              Markup fixes.
      
              * gdk-pixbuf-io.c, gdk-pixbuf-animation.c, gdk-pixbuf-data.c,
              gdk-pixbuf-loader.c, gdk-pixbuf-scale.c, gdk-pixbuf-util.c,
              gdk-pixdata.c: Markup fixes.
      
              * gtk/text_widget.sgml: More precise wording. (#63388)
      
              * gtk/tmpl/gtksignal.sgml (GTK_SIGNAL_OFFSET): Add docs.
      
              * gtk/resources.sgml: Fix markup of mail URLs.
      
              * gtk/tmpl/gtkpaned.sgml, gtk/tmpl/gtkobject.sgml: Markup fixes.
      
              * gtk/tmpl/gtktoolbar.sgml (gtk_toolbar_{prepend,append}_element):
              Expand documentation. (#60471)
      
              * gtk/tmpl/gtkmain.sgml: Remove misleading information about
              gtk_set_locale().  (#65758)
      3aabcd28
  27. 13 Dec, 2001 1 commit
    • Matthias Clasen's avatar
      Markup fixes. · fc4a6b95
      Matthias Clasen authored
      
              * gtk/gtkdialog.c, gtk/gtkrc.c, gtk/gtkwidget.c: Markup fixes.
      
              * gdk-pixbuf-io.c: Markup fixes.
      
              * gdk-pixbuf/tmpl/scaling.sgml, gdk/tmpl/fonts.sgml,
              gdk/tmpl/general.sgml, gdk/tmpl/rgb.sgml, gdk/tmpl/visuals.sgml,
              gdk/tmpl/windows.sgml, gtk/gtk-docs.sgml, gtk/tmpl/gtkaccellabel.sgml,
              gtk/tmpl/gtkcombo.sgml, gtk/tmpl/gtkdialog.sgml,
              gtk/tmpl/gtkdrawingarea.sgml, gtk/tmpl/gtkeditable.sgml,
              gtk/tmpl/gtkfilesel.sgml, gtk/tmpl/gtkfontseldlg.sgml,
              gtk/tmpl/gtkimage.sgml, gtk/tmpl/gtkmain.sgml, gtk/tmpl/gtkmenu.sgml,
              gtk/tmpl/gtkmessagedialog.sgml, gtk/tmpl/gtkobject.sgml,
              gtk/tmpl/gtkpaned.sgml, gtk/tmpl/gtkradiobutton.sgml,
              gtk/tmpl/gtkrc.sgml, gtk/tmpl/gtkscale.sgml, gtk/tmpl/gtksignal.sgml,
              gtk/tmpl/gtksocket.sgml, gtk/tmpl/gtkspinbutton.sgml,
              gtk/tmpl/gtktogglebutton.sgml, gtk/tmpl/gtksignal.sgml,
              gtk/tmpl/gtktooltips.sgml, gtk/tmpl/gtkwindow.sgml,
              gdk/tmpl/regions.sgml, gtk/tmpl/gtkfontsel.sgml,
              gtk/tmpl/gtkpixmap.sgml, gtk/tmpl/gtkprogress.sgml,
              gtk/tmpl/gtkselection.sgml, gtk/tmpl/gtktable.sgml,
              gtk/tmpl/gtktipsquery.sgml: Markup fixes (mainly examples).
      fc4a6b95
  28. 29 Oct, 2001 1 commit
    • Tor Lillqvist's avatar
      Use -no-undefined on Win32. Make libgdk_pixbuf_1_3_la_OBJECTS depend on · 47dc8d4d
      Tor Lillqvist authored
      2001-10-29  Tor Lillqvist  <tml@iki.fi>
      
      	* Makefile.am: Use -no-undefined on Win32. Make
      	libgdk_pixbuf_1_3_la_OBJECTS depend on
      	gdk-pixbuf-marshal.c. Install import libraries.
      
      	* gdk_pixbuf.def: Update.
      
      	* gdk-pixbuf-io.c: (Win32) Use G_WIN32_DLLMAIN_FOR_DLL_NAME, saves
      	the actual DLL name of libgdk_pixbuf.
      	(get_libdir): Use it instead of guessing.
      
      	* io-xbm.c (gdk_pixbuf__xbm_image_begin_load): Use
      	g_file_open_tmp() insread of mkstemp().
      47dc8d4d
  29. 05 Oct, 2001 1 commit
    • Sven Neumann's avatar
      gdk-pixbuf/gdk-pixbuf-io.c gdk-pixbuf/gdk-pixbuf-private.h · 40c29264
      Sven Neumann authored
      2001-10-05  Sven Neumann  <sven@gimp.org>
      
      	* gdk-pixbuf/gdk-pixbuf-io.c
      	* gdk-pixbuf/gdk-pixbuf-private.h
      	* gdk-pixbuf/gdk-pixbuf.c
      	* gdk-pixbuf/gdk-pixbuf.h
      	* gdk-pixbuf/io-jpeg.c
      	* gdk-pixbuf/io-png.c: changed GDK_PIXBUF_ERROR_BAD_OPTION_VALUE to
      	GDK_PIXBUF_ERROR_BAD_OPTION to we can use it for bad keys too. Added
      	new public API gdk_pixbuf_get_option() to retrieve key/value pairs
      	set by an image loader. Added support for saving and reading PNG tEXt
      	chunks in PNG images.
      
      	* demos/testpixbuf-save.c
      	* demos/testpixbuf-scale.c: simple tests for the new PNG tEXt chunk
      	feature.
      
      	* gdk-pixbuf/tmpl/gdk-pixbuf.sgml: adapt to changes in GDK_PIXBUF_ERROR
      	enum.
      40c29264
  30. 14 Sep, 2001 1 commit
  31. 21 Aug, 2001 1 commit
  32. 29 Jun, 2001 1 commit
    • Havoc Pennington's avatar
      Clip the retrieved image data to the screen, using a server grab to avoid · 0bee26c7
      Havoc Pennington authored
      2001-06-28  Havoc Pennington  <hp@pobox.com>
      
      	* gdk/x11/gdkimage-x11.c (_gdk_x11_get_image): Clip the retrieved
      	image data to the screen, using a server grab to avoid race
      	conditions.
      
      	* gtk/gtkitemfactory.c (gtk_item_factory_create_item): remove
      	check for NULL return from gtk_image_new_from_stock(), it never
      	returns NULL.
      	(gtk_item_factory_create_item): fix bug where we parsed the stock
      	ID as an inline pixbuf
      
      	* gtk/gtktext.c (gtk_text_key_press): numeric keypad support
      
      	* gtk/gtkspinbutton.c (gtk_spin_button_key_press): numeric keypad
      	support (should be using binding set here)
      
      	* gtk/gtkoptionmenu.c (gtk_option_menu_key_press): numeric keypad
      	support (should be using binding set here)
      
      	* gtk/gtkmenushell.c (gtk_menu_shell_class_init): numeric keypad
      	support
      
      	* gtk/gtkmenu.c (gtk_menu_class_init): numeric keypad support
      
      	* gtk/gtkmenubar.c (gtk_menu_bar_class_init): numeric keypad
      
      	* gtk/gtklistitem.c (gtk_list_item_class_init): numeric keypad
      
      	* gtk/gtkimcontextsimple.c
      	(gtk_im_context_simple_filter_keypress): keypad
      
      	* gtk/gtkfilesel.c (gtk_file_selection_key_press): keypad
      
      	* gtk/gtkentry.c (gtk_entry_class_init): numeric keypad fixes
      
      	* gtk/gtkctree.c (gtk_ctree_class_init): numeric keypad support
      
      	* gtk/gtkcolorsel.c (palette_activate): keypad support (of course,
      	should be binding-setted)
      
      	* gtk/gtkwindow.c (gtk_window_class_init): numeric keypad fixes
      
      	* gtk/gtkclist.c (gtk_clist_class_init): numeric keypad fixes
      
      	* gtk/gtkcalendar.c: numeric keypad fixes
      
      	* gtk/gtktextview.c (gtk_text_view_class_init): numeric keypad
      	support
      
      	* gdk/gdkwindow.c (gdk_window_get_clip_region): fix infinite loop
      	screwup
      
      	* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable_alpha):
      	clip the render area to the drawable's clip region in advance,
      	so we don't get data from the server that we don't need.
      
      	* gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable_alpha):
      	check return value of gdk_pixbuf_get_from_drawable(), fall back
      	to bilevel alpha if we can't get the pixbuf to composite against.
      
      	* gdk/gdkdraw.c (gdk_drawable_get_image): set the image colormap
      
      	* gdk/gdkimage.c (gdk_image_get_colormap): add
      	gdk_image_set_colormap, gdk_image_get_colormap
      
      	* gdk/gdkpixbuf-drawable.c (rgbconvert): Change all converters to
      	take a region of the image, instead of converting the entire
      	image.
      
      	* gtk/gtkwidget.h (struct _GtkWidgetClass): add show_help
      	keybinding signal. Add default bindings for it. Add default
      	handler for show_help that shows the tooltip for the widget.
      
      	* gtk/gtkdialog.c (gtk_dialog_class_init): add binding set and
      	"close" keybinding signal, remove key press handler.
      
      	* gtk/gtktooltips.c (gtk_tooltips_set_colors): Just remove this,
      	it's not our usual practice to leave a deprecated function around
      	with a runtime warning, plus we don't want it to appear in docs,
      	plus if we make them yellow no one will want to change them
      	anyhow.
      0bee26c7
  33. 20 Feb, 2001 1 commit
    • Havoc Pennington's avatar
      prepend underscore (gdk_pixbuf_get_named_module): prepend underscore · 131aac57
      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
      131aac57
  34. 19 Feb, 2001 1 commit
    • Havoc Pennington's avatar
      hmm, someone changed GLib without fixing GTK · 027c3154
      Havoc Pennington authored
      2001-02-19  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktreemodel.c (gtk_tree_model_get_valist): hmm, someone
      	changed GLib without fixing GTK
      
      	* gtk/gtkrange.h: Rename all the stupid implementation detail
      	functions to have an underscore in front. Most of them should
      	probably just go away, but for starters don't export them.
      	Bug #50482
      
      2001-02-19  Havoc Pennington  <hp@redhat.com>
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_load_module): const fix
      027c3154
  35. 26 Jan, 2001 1 commit
  36. 22 Jan, 2001 2 commits
    • Havoc Pennington's avatar
      Add built marshaller files to support GdkPixbufLoader signals · e0fee22e
      Havoc Pennington authored
      2001-01-22  Havoc Pennington  <hp@redhat.com>
      
      	* Makefile.am: Add built marshaller files to support
      	GdkPixbufLoader signals
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_load_module): have
      	GDK_PIXBUF_MODULEDIR unconditionally replace the compiled-in
      	module location, rather than acting as a fallback, because we are
      	using GDK_PIXBUF_MODULEDIR to use gdk-pixbuf before installing it.
      
      	* gdk-pixbuf.h: include gdk-pixbuf-loader.h
      
              * gdk-pixbuf-loader.h, gdk-pixbuf-loader.c: Move back over here
      	from gtk, and add error to close(), because stop_load may do
      	parsing of the image.
      
      	* pixops/have_mmx.S (_pixops_have_mmx): add newline at end of file
      
              * io-*.c: make individual operations static, and add fill_vtable
      	functions which are exported. Fix the collection of type warnings
      	that surfaced, including a number of functions that didn't
      	properly take a GError and some that weren't
      	const-correct. Involved adding error handling for a few loaders.
      
      	* gdk-pixbuf-io.h: Add error reporting to stop_load function
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_load_module): change to just look up
      	a function that fills in the GdkPixbufModule vtable, instead of
      	looking up all the image functions individually; this means we
      	can get type safety within modules for the loader functions.
      	Also it means you don't have to keep the statically compiled and
      	GModule versions in sync.
      
      	* test-gdk-pixbuf.c (main): remove gdk_pixbuf_init()
      
      	* make-inline-pixbuf.c (main): remove call to gdk_pixbuf_init()
      
      	* gdk-pixbuf.h: nuke gdk_pixbuf_init()
      
      	* gdk-pixbuf-animation.c (gdk_pixbuf_frame_get_type): g_type_init
      	() here
      
      	* gdk-pixbuf.c (gdk_pixbuf_get_type): g_type_init () here
      
      	* gdk-pixbuf-animation.c (gdk_pixbuf_animation_get_type):
      	g_type_init() here
      
      
      2001-01-22  Havoc Pennington  <hp@redhat.com>
      
      	* demos/testanimation.c: fix to reflect gdk-pixbuf changes
      
      	* demos/testpixbuf.c: fix to reflect gdk-pixbuf changes
      
      	* gtk/gdk-pixbuf-loader.c, gtk/gdk-pixbuf-loader.h:
      	Remove, move back to gdk-pixbuf
      
      	* gtk/gtktextiter.c, gtk/gtktextiter.h: add sentence equivalents
      	to all the word functions
      
      	* gtk/gtktextview.c (gtk_text_view_start_cursor_blink): return
      	before doing anything on NULL layout or if we don't have the focus
      
      	* gtk/testtext.c (fill_example_buffer): "justification"
      
      	* gtk/gtktexttag.h, gtk/gtktexttag.c: change the tag attribute
      	to be called "justification" not "justify"
      
      	* demos/gtk-demo/textview.c (create_tags): "justification"
      
      	* gtk/gtktextlayout.c (set_para_values): Handle char-wise wrapping
      e0fee22e
    • John Harper's avatar
      new pixbuf loader, for X bitmap files. Basically a collision between · 8c9eb8b6
      John Harper authored
      2001-01-20  John Harper  <jsh@eazel.com>
      
      	* io-xbm.c: new pixbuf loader, for X bitmap files. Basically a
      	collision between Xlib's RdBitF.c and io-tiff.c
      
      	* gdk-pixbuf-io.c, Makefile.am, pixbufloader_xbm.def: added
      	io-xbm.c support
      
      	[ merged from stable gdk-pixbuf module. Untested, but it
      	compiles, and works fine in the stable module ]
      8c9eb8b6