1. 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
  2. 05 Jan, 2000 7 commits
    • Owen Taylor's avatar
      quick fix for initializing arrays in benchmark. · bba95de1
      Owen Taylor authored
      2000-01-05  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk-pixbuf/pixops/timescale.c: quick fix for initializing
      	arrays in benchmark.
      bba95de1
    • Jonathan Blandford's avatar
      Change the order of the update func to make it more compatible with the · 8f48c4b3
      Jonathan Blandford authored
      2000-01-05  Jonathan Blandford  <jrb@redhat.com>
      
      	* gdk-pixbuf/gdk-pixbuf-io.h: Change the order of the update func
      	to make it more compatible with the rest of GTK.  Added animation
      	framework for progressive loading.
      
      	* gdk-pixbuf/io-bmp.c (image_begin_load): Modified to handle new
      	system.
      	* gdk-pixbuf/io-ico.c (image_begin_load): ditto
      	* gdk-pixbuf/io-png.c (image_begin_load): ditto
      	* gdk-pixbuf/io-ras.c (image_begin_load): ditto
      	* gdk-pixbuf/io-jpeg.c (image_begin_load): ditto
      	* gdk-pixbuf/io-pnm.c (image_begin_load): ditto
      	* gdk-pixbuf/io-tiff.c (image_begin_load): ditto
      	* gdk-pixbuf/io-gif.c (image_begin_load): ditto
      8f48c4b3
    • 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
    • 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
    • Tor Lillqvist's avatar
      Fix copy&paste error: Call the backend's draw_lines method, not · 273089af
      Tor Lillqvist authored
      2000-01-05  Tor Lillqvist  <tml@iki.fi>
      
      * gdk/gdkdraw.c (gdk_draw_lines): Fix copy&paste error: Call the
      backend's draw_lines method, not draw_points.
      273089af
    • 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
  3. 04 Jan, 2000 1 commit
  4. 03 Jan, 2000 1 commit
  5. 02 Jan, 2000 3 commits
    • Tor Lillqvist's avatar
    • Tor Lillqvist's avatar
      Clean up some more leftovers from before Owen's reorganization: Don't have · d4755803
      Tor Lillqvist authored
      2000-01-02  Tor Lillqvist  <tml@iki.fi>
      
      * gdk/win32/gdkevents-win32.c: Clean up some more leftovers from
      before Owen's reorganization: Don't have queued_events and
      queued_tail statics in this file, but use gdk_queued_events and
      gdk_queued_tail. This makes exposure event compression work again.
      
      (gdk_WindowProc): Comment out a posting of gdk_ping_msg, doesn't
      seem to be needed?
      d4755803
    • 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
  6. 30 Dec, 1999 1 commit
    • Tor Lillqvist's avatar
      gdk/win32/gdkprivate-win32.h gdk/win32/gdkevents-win32.c · 605c562f
      Tor Lillqvist authored
      1999-12-30  Tor Lillqvist  <tml@iki.fi>
      
      * gdk/win32/gdkprivate-win32.h
      * gdk/win32/gdkevents-win32.c
      * gdk/win32/gdkinput-win32.c
      * gdk/win32/gdkwindow-win32.c: Remove the superfluous
      extension_events field in the GdkWindowWin32Data struct. Use only
      the extension_events field in GdkWindowPrivate. Previously one was
      set, and the other one tested, which broke tablet functionality.
      605c562f
  7. 29 Dec, 1999 1 commit
    • Tor Lillqvist's avatar
      If we don't HAVE_XCONVERTCASE we must #include gdkkeysyms.h to get the · 68a6e7be
      Tor Lillqvist authored
      1999-12-30  Tor Lillqvist  <tml@iki.fi>
      
      * gdk/gdk.c: If we don't HAVE_XCONVERTCASE we must #include
      gdkkeysyms.h to get the GDK_* keysym constants that are needed by
      gdk_keyval_convert_case(). Otherwise, gdk_keyval_convert_case()
      doesn't do anything.
      
      * gdk/gdk.def: Add gdk_xid_table_insert.
      68a6e7be
  8. 27 Dec, 1999 1 commit
  9. 24 Dec, 1999 1 commit
  10. 23 Dec, 1999 1 commit
  11. 20 Dec, 1999 1 commit
  12. 19 Dec, 1999 1 commit
  13. 18 Dec, 1999 1 commit
  14. 17 Dec, 1999 5 commits
  15. 16 Dec, 1999 1 commit
  16. 13 Dec, 1999 2 commits
  17. 12 Dec, 1999 4 commits
  18. 11 Dec, 1999 4 commits
    • Tor Lillqvist's avatar
      gdk/Makefile.am Distribute Win32 files. · 4f5b0142
      Tor Lillqvist authored
      1999-12-11  Tor Lillqvist  <tml@iki.fi>
      
      * gdk/Makefile.am
      * gdk/win32/Makefile.am: Distribute Win32 files.
      
      * gdk/makefile.msc: New file.
      
      * gdk/gdk.c (gdk_arg_context_parse): Fix gccism (no statement
      after label).
      
      * gdk/win32/makefile.msc: Update.
      4f5b0142
    • Tor Lillqvist's avatar
      Distribute README.win32. · 913cb7cd
      Tor Lillqvist authored
      1999-12-11  Tor Lillqvist  <tml@iki.fi>
      
      * Makefile.am: Distribute README.win32.
      
      * gdk/Makefile.am
      * gdk/win32/Makefile.am: Distribute gdk/win32.
      913cb7cd
    • Tor Lillqvist's avatar
      Must mark also gdk_error_warnings and gdk_error_code as GDKVAR, as they · 9c00803e
      Tor Lillqvist authored
      1999-12-11  Tor Lillqvist  <tml@iki.fi>
      
      * gdk/gdkprivate.h: Must mark also gdk_error_warnings and
      gdk_error_code as GDKVAR, as they are referred outside GDK.
      
      * gdk/win32/gdkinput-win32.c: Remove debugging leftover.
      
      * gdk/win32/gdkwindow-win32.c (gdk_window_new): Assure title is
      non-NULL.
      
      * gtk/gtkdnd.c
      * gtk/gtklayout.c
      * gtk/gtkplug.c
      * gtk/gtkselection.c
      * gtk/gtksocket.c
      * gtk/gtkwindow.c: Include x11/gdkx.h *or* win32/gdkwin32.c as
      appropriate. There must be a cleaner way to handle this?
      
      * gtk/gtkrc.c: Must include windows.h on Win32.
      
      * gtk/testgtk.c: No need to include gdkx.h.
      
      * gtk/makefile.cygwin: Correct invokation of genmarshal.pl.
      9c00803e
    • Jonathan Blandford's avatar
      thinking about the new loading API. · d7231837
      Jonathan Blandford authored
      1999-12-10  Jonathan Blandford  <jrb@redhat.com>
      
      	* gdk-pixbuf/gdk-pixbuf-io.h: thinking about the new loading API.
      
      	* gdk-pixbuf/gdk-pixbuf-drawable.c (gdk_pixbuf_get_from_drawable):
      	make a warning go away.
      d7231837
  19. 10 Dec, 1999 1 commit
    • Jonathan Blandford's avatar
      make a warning go away. · 0b0ebee9
      Jonathan Blandford authored
      1999-12-10  Jonathan Blandford  <jrb@redhat.com>
      
      	* gdk-pixbuf/gdk-pixbuf-drawable.c (gdk_pixbuf_get_from_drawable):
      	make a warning go away.
      
      	* gdk-pixbuf/gdk-pixbuf.h: added new prototypes for animations.
      
      	* gdk-pixbuf/gdk-pixbuf-loader.h: added new prototypes for
      	animations.
      0b0ebee9
  20. 09 Dec, 1999 2 commits
    • Michael Zucchi's avatar
      Enable gdk_pixbuf_get_from_drawable() api call. · a44d2e2e
      Michael Zucchi authored
      1999-12-09  Michael Zucchi  <zucchi@zedzone.mmc.com.au>
      
              * gdk-pixbuf/gdk-pixbuf.h: Enable gdk_pixbuf_get_from_drawable()
              api call.
      a44d2e2e
    • Michael Zucchi's avatar
      Should now handle all formats, slow routine used where optimised · 757fc193
      Michael Zucchi authored
      ones can't be.
      
      1999-12-09  Michael Zucchi  <zucchi@zedzone.mmc.com.au>
      
              * gdk-pixbuf/gdk-pixbuf-drawable.c
              (convert_real_slow): New function - should convert ANY visual/data
              format properly, but it aint fast.  Used as a fallback when an
              optimised routine wont match.
              (rgbconvert): Do very specific tests on the data format to verify
              properly if the optimised version will do, otherwise use the
              fallback function for all other data formats.
      757fc193