1. 15 Apr, 2000 2 commits
    • Havoc Pennington's avatar
      clean up enum format, remove extra comma, this keeps scanner scripts from · 4fe58c01
      Havoc Pennington authored
      2000-04-15  Havoc Pennington  <hp@pobox.com>
      
      * gdk/gdkdnd.h: clean up enum format, remove extra comma,
      this keeps scanner scripts from getting confused.
      
      * gdk/gdkdraw.c (gdk_drawable_get_data): This should return the
      data, rather than void
      4fe58c01
    • Tor Lillqvist's avatar
      gtk/gtkclist.c (gtk_clist_motion) If we get a motion event with is_hint · affbc828
      Tor Lillqvist authored
      2000-04-15  Tor Lillqvist  <tml@iki.fi>
      
      * gtk/gtkclist.c (gtk_clist_motion)
      * gtk/gtklist.c (gtk_list_motion_notify): If we get a motion event
      with is_hint FALSE, get x and y from the event. They used to be
      used uninitialised. The Win32 backend never sends motion events
      marked as hints. This for instance fixes the annoying file and
      font selector behaviour in the Win32 version.
      affbc828
  2. 14 Apr, 2000 1 commit
  3. 13 Apr, 2000 3 commits
    • Tor Lillqvist's avatar
      Export the gtk_private_signals and gtk_private_n_signals variables, they · a61a5ffe
      Tor Lillqvist authored
      2000-04-14  Tor Lillqvist  <tml@iki.fi>
      
      * gtk/gtksignal.c: (Win32:) Export the gtk_private_signals and
      gtk_private_n_signals variables, they are used by some software,
      sigh.
      
      * gtk/gtkrc.c (get_gtk_sysconf_directory): (Win32:) Fetch the
      installation directory from the Registry, where the installer
      should have put it.
      a61a5ffe
    • James Henstridge's avatar
      when performing the configure check to see if gmodule works, set CFLAGS to · cf1a251f
      James Henstridge authored
      2000-04-13  James Henstridge  <james@daa.com.au>
      
      	* configure.in: when performing the configure check to see if
      	gmodule works, set CFLAGS to GLIB_CFLAGS and LIBS to GLIB_LIBS,
      	rather than the other way round.  Also, call AC_MSG_RESULT in the
      	even that dynamic modules were not supported.
      cf1a251f
    • Federico Mena Quintero's avatar
      Your eyes are bloodshot. · 37ac7d59
      Federico Mena Quintero authored
      
      
      Your eyes are bloodshot.
      
      Your mouth starts to foam.
      
      Your hands are shaking.
      
      You know your need your fix.
      
      NEED MORE ABSTRACTION!
      
      2000-04-12  Federico Mena Quintero  <federico@helixcode.com>
      
      	This comes from an excellent idea by Tim Janik (timj@gtk.org) to
      	hook to the last unref operation.
      
      	* gdk-pixbuf/gdk-pixbuf.c (gdk_pixbuf_set_last_unref_handler): New
      	function to set the last unref handler for a pixbuf.
      	(gdk_pixbuf_finalize): New function to actually finalize a pixbuf.
      	It calls the pixbuf's destroy notification function and frees the
      	GdkPixbuf structure itself.
      	(gdk_pixbuf_unref): Use the last unref function of the pixbuf if
      	available.
      
      	* gdk-pixbuf/gdk-pixbuf-private.h (struct _GdkPixbuf): New fields
      	for the last unref handler and its user data.
      
      	* gdk-pixbuf/gdk-pixbuf-data.c (gdk_pixbuf_new_from_data): Use
      	g_new0() to allocate the pixbuf.
      
      	* gdk-pixbuf/gdk-pixbuf-loader.c (gdk_pixbuf_loader_class_init):
      	Fixed the call to gtk_signal_new() for the "frame_done" signal; it
      	was not specifying the `frame' argument.
      
      	* gdk-pixbuf/gdk-pixbuf-animation.c
      	(gdk_pixbuf_animation_get_width): Fixed docstring.
      	(gdk_pixbuf_animation_get_height): Likewise.
      	(gdk_pixbuf_animation_get_num_frames): Likewise.
      	(gdk_pixbuf_animation_get_frames): Likewise.
      
      	* doc/gdk-pixbuf-sections.txt: Updated with the new functions and
      	types.
      
      	* doc/tmpl/gdk-pixbuf.sgml: Added the description for GdkColorspace.
      
      	* doc/tmpl/scaling.sgml: Added the description for GdkInterpType.
      
      	* doc/tmpl/refcounting.sgml: Updated with the information about
      	the last unref handler.
      
      	* doc/tmpl/*.sgml: Markup tweaks.
      
      	* gdk-pixbuf/Makefile.am (libgnomecanvaspixbuf_la_LDFLAGS): Sigh,
      	update the libtool version number for libgnomecanvaspixbuf as
      	well.
      	(libpixbufloader_*_la_LDFLAGS): The loaders need to be versioned
      	as well, or the old ones won't work with the new stuff.  Also,
      	renamed the modules as follows.
      
      	* gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_load_module): Now the
      	modules are called "libpixbufloader-<format>.so" instead of
      	"libpixbuf-<format>.so".  They needed renaming so that the new
      	loaders won't overwrite the old ones; even with the versioning
      	stuff, the new .so symlink to the .so.1.0.0 would overwrite the
      	old real .so file.
      37ac7d59
  4. 12 Apr, 2000 1 commit
    • Paolo Molaro's avatar
      shut up cvs. · a106984b
      Paolo Molaro authored
      
      2000-04-12  Paolo Molaro <lupus@debian.org>
      
      	* .cvsignore, src/.cvsignore: shut up cvs.
      a106984b
  5. 11 Apr, 2000 2 commits
    • Ville Hautamaki's avatar
      Pauli Virtanen updated fi.po. · 33e7c9bc
      Ville Hautamaki authored
      33e7c9bc
    • 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
  6. 10 Apr, 2000 1 commit
  7. 09 Apr, 2000 1 commit
  8. 07 Apr, 2000 1 commit
    • Owen Taylor's avatar
      Fix problem with installation directory for gdkx.h · 848cff38
      Owen Taylor authored
      Fri Apr  7 17:19:27 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/x11/Makefile.am: Fix problem with installation directory for
      	gdkx.h
      
      	* gtk/gtkmenuitem.c gtk/gtkmenushell.c: Patch from David Santiago
      	<mrcooger@cyberverse.com> so that when selecting menus with the
      	mouse, the first item will not be selected, but when selecting
      	with an accelerator, or navigating left-right on a menubar with
      	the menus popped up, the first item will be selected.
      848cff38
  9. 06 Apr, 2000 1 commit
  10. 05 Apr, 2000 2 commits
    • Dan Damian's avatar
      Added Romanian translation. · ddd6248a
      Dan Damian authored
      ddd6248a
    • Owen Taylor's avatar
      Fix screwy indentation. · 58df98f9
      Owen Taylor authored
      Wed Apr  5 00:08:36 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/x11/gdkgc-x11.c (_gdk_x11_gc_new): Fix screwy
      	indentation.
      
      	* Makefile.am (EXTRA_DIST): Fix typo.
      
      	* gdk[/x11]/Makefile.am (INCLUDES): Add $(top_builddir)/gdk
      	to catch gdkconfig.h
      
      	* gtk/gtkitemfactory.c: Added FIXME.
      58df98f9
  11. 04 Apr, 2000 2 commits
  12. 03 Apr, 2000 1 commit
    • Radek Doulik's avatar
      same as below · 133ab961
      Radek Doulik authored
      2000-03-29  Radek Doulik  <rodo@helixcode.com>
      
      	* gdk-pixbuf/gdk-pixbuf-animation.c
      	(gdk_pixbuf_animation_new_from_file): same as below
      
      	* gdk-pixbuf/io-gif.c (gif_get_lzw): added update of width and
      	height in GdkPixbufAnimation
      
      2000-03-28  Radek Doulik  <rodo@helixcode.com>
      
      	* gdk-pixbuf/io-gif.c (gif_get_lzw): test also for
      	context->frame_done_func and context->anim_done_func to make
      	progressive animation loading work
      
      	* gdk-pixbuf/gdk-pixbuf-loader.c (gdk_pixbuf_loader_frame_done):
      	added priv->pixbuf = NULL as pixbuf is now in frame (and to make
      	gdk_pixbuf_loader_prepare happy)
      	(gdk_pixbuf_loader_frame_done): update animation bbox
      
      	* gdk-pixbuf/gdk-pixbuf.h: added bbox size (width, height) to
      	_GdkPixbufAnimation
      
      2000-03-27  Radek Doulik  <rodo@helixcode.com>
      
      	* gdk-pixbuf/io-gif.c (gif_get_lzw): use frame_len and frame_width
      	instead of width and height
      133ab961
  13. 02 Apr, 2000 1 commit
  14. 01 Apr, 2000 1 commit
    • Mark Crichton's avatar
      Added 2 more convience functions. · f77b679f
      Mark Crichton authored
      
      
      Added 2 more convience functions.
      
      gdk_pixbuf_get_refcount for the current refcount of the pixbuf (per someone
      at Eazel's request)
      
      gdk_pixbuf_get_artpixbuf: returns the artpixbuf of the pixbuf.  Is this
      a good idea?  I'm using it to help make->panel->do->the->right->thing.
      f77b679f
  15. 30 Mar, 2000 2 commits
  16. 29 Mar, 2000 3 commits
  17. 28 Mar, 2000 7 commits
  18. 27 Mar, 2000 4 commits
  19. 23 Mar, 2000 2 commits
  20. 20 Mar, 2000 1 commit
  21. 16 Mar, 2000 1 commit
    • Tor Lillqvist's avatar
      Remove the #ifndef USE_DISPATCHMESSAGE sections, we do want to use · 0cc2a00d
      Tor Lillqvist authored
      2000-03-17  Tor Lillqvist  <tml@iki.fi>
      
      * gdk/win32/gdkevents-win32.c: Remove the #ifndef
      USE_DISPATCHMESSAGE sections, we do want to use DispatchMessage.
      
      * gdk/win32/gdkfont-win32.c
      * gdk/win32/gdkproperty-win32.c
      * gdk/win32/gdkselection-win32.c
      * gdk/win32/gdkwindow-win32.c: Add const to some arguments that are
      now declared such.
      0cc2a00d