1. 29 Mar, 2002 1 commit
  2. 27 Mar, 2002 1 commit
    • Matthias Clasen's avatar
      Don't leak info_ptr. · ec35e811
      Matthias Clasen authored
      	* io-png.c (gdk_pixbuf__png_image_stop_load): Don't leak info_ptr.
      
      	* io-png.c (gdk_pixbuf__png_image_load): Get rid of unused
      	end_info. Also call png_read_end to check proper ending of the png
      	file and catch text chunks after the image data.
      ec35e811
  3. 26 Mar, 2002 1 commit
  4. 25 Mar, 2002 2 commits
    • Matthias Clasen's avatar
      Don't leak pixbuf on error. · de19229a
      Matthias Clasen authored
      	* io-tiff.c (tiff_image_parse): Don't leak pixbuf on error.
      
      	* io-gif.c (gdk_pixbuf__gif_image_load_increment): Don't leak
      	context->buf on error.
      
      	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_close): Make sure to call
      	stop_load even for short images to prevent memleaks.
      de19229a
    • Matthias Clasen's avatar
      Changed signature to return success and set a GError parameter, adjusted · 2a8fc72b
      Matthias Clasen authored
      	* io-png.c (setup_png_transformations): Changed signature to
      	return success and set a GError parameter, adjusted all callers.
      	Also work around a possible FPE in libpng and always check that
      	the new info is sane.
      2a8fc72b
  5. 23 Mar, 2002 1 commit
  6. 18 Mar, 2002 1 commit
  7. 15 Mar, 2002 1 commit
  8. 13 Mar, 2002 1 commit
    • Matthias Clasen's avatar
      Add valid_ras_test and invalid_bmp_1. · 5ebe8faa
      Matthias Clasen authored
      	* test-images.h: Add valid_ras_test and invalid_bmp_1.
      
      	* test-loaders.c (main): Add random tests for ras and pnm and an
      	invalid bmp which was a crasher until my 2002-03-12 commit.
      
      	* io-pnm.c (gdk_pixbuf__pnm_image_load_increment): Don't unref the
      	pixbuf on errors.
      
      	* io-ras.c: Handle some errors.
      5ebe8faa
  9. 12 Mar, 2002 2 commits
  10. 05 Mar, 2002 2 commits
    • Matthias Clasen's avatar
      Fix docs. · 981574a9
      Matthias Clasen authored
      	* gtk/gtktreemodel.c (gtk_tree_row_reference_deleted): Fix docs.
      
      	* gtk/gtkwindow.c (gtk_window_remove_mnemonic):
      	(gtk_window_add_mnemonic):
      	(gtk_window_mnemonic_activate): Add docs.
      
      	* gtk/gtktreeview.c (gtk_tree_view_get_search_equal_func): Fix
      	typo in docs.
      
      	* test-loaders.c, test-images.h: More random tests.
      
      	* io-bmp.c (DecodeHeader): Fail gracefully on OOM here.
      
      	* gtk/gtk-sections.txt: Remove gtk_win32_get_installation_directory.
      981574a9
    • Owen Taylor's avatar
      ue Mar 5 10:39:03 2002 Owen Taylor <otaylor@redhat.com> · ef668573
      Owen Taylor authored
              * Makefile.am (loaderdir): Put the modules into the
              GTK_BINARY_VERSION directory for consistency with
              immodules and theme engines.
      ef668573
  11. 03 Mar, 2002 2 commits
    • 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
    • Owen Taylor's avatar
      Bullet-proof against integer overflow. · ed5fc07f
      Owen Taylor authored
      Sat Mar  2 21:28:03 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk-pixbuf.c (gdk_pixbuf_new): Bullet-proof against integer
              overflow.
      ed5fc07f
  12. 02 Mar, 2002 1 commit
    • Tor Lillqvist's avatar
      Remove. · 5d5f53d9
      Tor Lillqvist authored
      2002-03-03  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk-pixbuf.rc.in: Remove.
      
      	* gdk_pixbuf.rc.in: Name like this instead (wrong name used by
      	mistake by Hans).
      
      	* makefile.msc: Corresponding changes.
      
      	* Makefile.am: Use gdk_pixbuf.rc on Win32. Distribute it.
      5d5f53d9
  13. 28 Feb, 2002 1 commit
  14. 27 Feb, 2002 1 commit
  15. 22 Feb, 2002 1 commit
  16. 17 Feb, 2002 1 commit
  17. 15 Feb, 2002 1 commit
  18. 12 Feb, 2002 1 commit
    • Matthias Clasen's avatar
      Add a (#ifdef 0'ed) test provoking a segfault in TIFFReadDirectory(). · a9a06ee4
      Matthias Clasen authored
      	* test-images.h (tiff1_test_3), test-loaders.c (main): Add a
      	(#ifdef 0'ed) test provoking a segfault in TIFFReadDirectory().
      
      	* io-ico.c (DecodeHeader): Check that pixbuf could be allocated.
      
      	* test-images.h (ico_test_2), test-loaders.c (main): Test the
      	previous change.
      
      	* io-wbmp.c (gdk_pixbuf__wbmp_image_load_increment): Don't write
      	beyond the end of buffer if width % 8 != 0.
      
      	* io-tga.c (try_preload): Enforce that ctx->hdr->type is one of
      	the supported types, otherwise parse_data_for_row () will not make
      	any progress, leading to an infinite loop.
      a9a06ee4
  19. 11 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Fix handing of overall alpha. · 01b9bd93
      Owen Taylor authored
      Mon Feb 11 14:31:53 2002  Owen Taylor  <otaylor@redhat.com>
      
              * pixops/pixops.c (bilinear_make_weights): Fix handing of
              overall alpha.
      01b9bd93
  20. 10 Feb, 2002 1 commit
    • Matthias Clasen's avatar
      Enable some tests which should work now. · 73aa2bfe
      Matthias Clasen authored
      	* test-loaders.c (main): Enable some tests which should work
      	now.
      
      	* io-wbmp.c (gdk_pixbuf__wbmp_image_load_increment): Detect
      	invalid image dimensions and insufficient memory.
      
      	* io-tga.c (try_preload): Detect invalid image dimensions.
      	(gdk_pixbuf__tga_stop_load): Don't try to unref NULL pointers.
      
      	* io-ico.c (DecodeHeader): Detect some invalid headers and
      	don't segfault.
      73aa2bfe
  21. 09 Feb, 2002 1 commit
  22. 08 Feb, 2002 2 commits
  23. 01 Feb, 2002 2 commits
  24. 20 Jan, 2002 1 commit
  25. 12 Jan, 2002 1 commit
  26. 11 Jan, 2002 2 commits
    • Owen Taylor's avatar
      Fix integer overflow for the values passed to the pixel functions. · dee2b1e0
      Owen Taylor authored
      Fri Jan 11 18:05:07 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* pixops/pixops.c: Fix integer overflow for the values
      	passed to the pixel functions. (#55148)
      dee2b1e0
    • Owen Taylor's avatar
      Remove meaningless FIXME. · a458dd72
      Owen Taylor authored
      Fri Jan 11 17:53:58 2002  Owen Taylor  <otaylor@redhat.com>
      
              * pixops/pixops.c (pixops_scale_nearest): Remove meaningless
              FIXME.
      
              * pixops/pixops.c (pixops_process): Comment the computation
              of run_end_index and fix some edge cases.
      
              * pixops/{scale_line_22_33_mmx.S, composite_line_22_4a4_mmx.S:
              composite_line_color_22_4a4_mmx.S}: Handle the case where
              dest <= dest_end properly. (#52001)
      a458dd72
  27. 10 Jan, 2002 1 commit
  28. 09 Jan, 2002 1 commit
    • Owen Taylor's avatar
      Include glib-object.h, Add G_BEGIN_DECLS/END_DECLS to · add14c9e
      Owen Taylor authored
      Wed Jan  9 11:29:44 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* Makefile.am (s-enum-types-h): Include glib-object.h,
      	Add G_BEGIN_DECLS/END_DECLS to gdk-pixbuf-enum-types.h. (#68325,
      	Mikael Hermansson)
      
      	* *.h: G_BEGIN_DECLS cleanups.
      add14c9e
  29. 08 Jan, 2002 1 commit
    • Owen Taylor's avatar
      - Massive cleanup, make actually legible. - Fix some clamp-to-range bugs · b24d44e4
      Owen Taylor authored
      Tue Jan  8 10:58:04 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk-pixbuf-util.c (gdk_pixbuf_saturate_and_pixelate):
               - Massive cleanup, make actually legible.
               - Fix some clamp-to-range bugs found by Jim Cape (#68231).
               - Add a g_return_if_fail() if src and dest alpha don't match.
               - Allow for src_rowstride != dest_rowstride.
      b24d44e4
  30. 05 Jan, 2002 1 commit
  31. 04 Jan, 2002 1 commit
    • Owen Taylor's avatar
      Fix and uncomment non-MMX version. · c96a394c
      Owen Taylor authored
      Thu Jan  3 19:31:58 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* pixops/pixops.c (scale_line_22_33): Fix and uncomment
      	non-MMX version.
      
      	* pixops/pixops.c (pixops_composite_nearest): Remove a
      	division.
      
      	* pixops/pixops.c (pixops_composite): Add some docs
      	about the parameters.
      
      	* pixops/README: Add notes about the correct algorithms
      	for alpha compositing and how to implement them quickly.
      c96a394c
  32. 29 Dec, 2001 1 commit
    • Tor Lillqvist's avatar
      Add makefile.msc. · c7401dec
      Tor Lillqvist authored
      2001-12-29  Tor Lillqvist  <tml@iki.fi>
      
      	* Makefile.am (EXTRA_DIST): Add makefile.msc.
      c7401dec
  33. 23 Dec, 2001 1 commit