1. 02 Jan, 2000 1 commit
    • 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
  2. 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
  3. 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
  4. 27 Dec, 1999 1 commit
  5. 24 Dec, 1999 1 commit
  6. 23 Dec, 1999 1 commit
  7. 20 Dec, 1999 1 commit
  8. 19 Dec, 1999 1 commit
  9. 18 Dec, 1999 1 commit
  10. 17 Dec, 1999 5 commits
  11. 16 Dec, 1999 1 commit
  12. 13 Dec, 1999 2 commits
  13. 12 Dec, 1999 4 commits
  14. 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
  15. 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
  16. 09 Dec, 1999 3 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
    • 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
  17. 08 Dec, 1999 6 commits
    • Arjan van de Ven's avatar
      Fixed the red/green/red bug on two occasions. Changed from the custom · 880f5ade
      Arjan van de Ven authored
      1999-12-08  Arjan van de Ven
      <arjan@fenrus.demon.nl>
      
      * gdk-pixbuf/gdk-pixbuf-drawable.c : Fixed
        the red/green/red bug on two occasions.
      * gdk-pixbuf/io-ras.c: Changed from the custom
        be32_to_cpu function to the generic glib one.
      880f5ade
    • Federico Mena Quintero's avatar
      Fix includes. (gdk_pixbuf_get_from_drawable): Implemented the zillion · c6f25c2d
      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.
      c6f25c2d
    • Federico Mena Quintero's avatar
      Renamed arguments to width_in_pixels, height_in_pixels, x_in_pixels, · a70843ba
      Federico Mena Quintero authored
      1999-12-13  Federico Mena Quintero  <federico@redhat.com>
      
      	* gdk-pixbuf/gnome-canvas-pixbuf.c
      	(gnome_canvas_pixbuf_class_init): Renamed arguments to
      	width_in_pixels, height_in_pixels, x_in_pixels, y_in_pixels, for
      	consistency with the new canvas.
      	(PixbufPrivate): Do the same renaming in the structure fields, for
      	consistency.
      
      	* doc/tmpl/gnome-canvas-pixbuf.sgml: Updated for new argument names.
      a70843ba
    • Federico Mena Quintero's avatar
      Fix includes. (gdk_pixbuf_get_from_drawable): Implemented the zillion · e7b2454c
      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.
      e7b2454c
    • Birger Langkjer/danish translations's avatar
      Modified Files: balsa/po/da.po bonobo/po/da.po gedit/po/da.po · 71223ba4
      Birger Langkjer/danish translations authored
      
      Modified Files:
       	balsa/po/da.po bonobo/po/da.po gedit/po/da.po
       	gfloppy/gfloppy.desktop gfloppy/po/da.po ggv/po/da.po
       	gtk+/po/da.po
      71223ba4
    • Federico Mena Quintero's avatar
      Added clarification about reference counting for GdkPixbuf structures. · a56ec798
      Federico Mena Quintero authored
      1999-12-07  Federico Mena Quintero  <federico@redhat.com>
      
      	* doc/tmpl/gnome-canvas-pixbuf.sgml: Added clarification about
      	reference counting for GdkPixbuf structures.
      a56ec798
  18. 07 Dec, 1999 2 commits
  19. 06 Dec, 1999 3 commits