1. 11 Dec, 1998 2 commits
  2. 03 Dec, 1998 1 commit
    • Owen Taylor's avatar
      Changed to 5 min from 10 seconds, so it doesn't abort while users have an · 646d68e4
      Owen Taylor authored
      Thu Dec  3 16:49:18 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkdnd.c (DROP_ABORT_TIME): Changed to 5 min
      	from 10 seconds, so it doesn't abort while users
      	have an ACTION_ASK menu up.
      
      	* gtk/gtkdnd.c: Hide the icon window between sending a a
      	drop event to the destination and displaying the
      	snapback animation, so that it doesn't hang around
      	during ACTION_ASK.
      646d68e4
  3. 30 Nov, 1998 1 commit
    • Elliot Lee's avatar
      I submitted this patch twice to gtk-devel-list, and received no comments, · 060978e0
      Elliot Lee authored
      
      
      I submitted this patch twice to gtk-devel-list, and received no comments, so
      am committing it.  Although not exhaustively tested, I have been using this
      gtk+ for a week w/o problems, and I did read the code to ensure that nothing
      ever writes to these data structures. If by chance people encounter SEGV's in
      gtk+ code that is setting values in global data structures, this patch could
      be a possible culprit.
      
      1998-11-30  Elliot Lee  <sopwith@cuc.ml.org>
      
      	* {gdk,gtk}/*.c: Make read-only data structures "static const" to
      	allow them to be shared, mainly including (but not limited to) the
      	GtkTypeInfo structures for each class.
      
      	* gtk/gtkfilesel.c: Add /net to the "leave me alone" directory listing.
      060978e0
  4. 27 Nov, 1998 1 commit
    • Owen Taylor's avatar
      New function to get the source widget of a drag. · f26c189e
      Owen Taylor authored
      Fri Nov 27 12:17:15 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkdnd.[ch] (gtk_drag_get_source_widget): New function to
      	get the source widget of a drag.
      
      	* gtk/gtkdnd.[ch]: Target flags GTK_TARGET_SAME_[WIDGET/APP]
      	to restrict certain targets to the same widget or to
      	the same application.
      
      	* gtk/testdnd.c: Test gtk_drag_get_source_widget().
      f26c189e
  5. 24 Nov, 1998 1 commit
    • Owen Taylor's avatar
      Fixed up copyright message. · 1bb0d4c0
      Owen Taylor authored
      Tue Nov 24 11:11:05 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtklayout.[ch]: Fixed up copyright message.
      
      	* gdk/gdkrgb.c (DM): Make the dither matrix constant
      	so it can be shared.
      
      	* gtk/gtkdnd.c: Make cursor bitmaps const.
      
      	* gdk/gdk.h gdk/gdkpixmap.c: Added const to
      	gdk_pixmap/bitmap_create_from_data.
      1bb0d4c0
  6. 18 Nov, 1998 1 commit
  7. 08 Nov, 1998 1 commit
    • Manish Singh's avatar
      check if column[i].button is valid before calling gtk_widget_intersect on · 3c07b7eb
      Manish Singh authored
      * gtk/gtkclist.c: check if column[i].button is valid before calling
      gtk_widget_intersect on it in gtk_clist_draw
      
      * gtk/gtkdnd.c: removed unused variable empty_bits
      
      * gtk/gtkrc.c: we should use gslist_* functions with GSLists...
      
      * gtk/gtktypeutils.[ch]: makes more send for gtk_type_is_a to return
      a boolean (thanks to Elrond for noticing this)
      
      -Yosh
      3c07b7eb
  8. 06 Nov, 1998 1 commit
  9. 20 Oct, 1998 2 commits
    • Owen Taylor's avatar
      Always send "drag_leave" to dests without GTK_DEST_DEFAULT_MOTION. · 4b2885b5
      Owen Taylor authored
      Tue Oct 20 14:53:28 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkdnd.c: Always send "drag_leave" to dests
      	without GTK_DEST_DEFAULT_MOTION.
      
      Tue Oct 20 11:55:24 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdk.c (gdk_event_translate): Handle DestroyNotify
      	on destroyed windows so we clear the XID table properly.
      	Finish up restructure of return value handling that
      	was half-done before.
      
      Tue Oct 20 12:57:10 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdk.c (gdk_send_clientmessage_to_all): Hunt
      	the window tree more comprehensively, so that we find
      	client windows hidden under non-toplevels.
      
      Tue Oct 20 12:43:04 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkselection.c (gtk_selection_data_set):
      	Maintain the null-termintation guarantee, even when
      	data = NULL, length = 0. (Warn on data = NULL,
      	length > 0)
      
      Mon Oct 19 16:41:44 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.h (struct _GtkWidgetClass): Add in coordinates
      	into function prototype for drag_data_received.
      4b2885b5
    • Paolo Molaro's avatar
      Tue, 20 Oct 1998 11:33:10 +0200 Paolo Molaro <lupus@debian.org> · 75f85f94
      Paolo Molaro authored
      
      Tue, 20 Oct 1998 11:33:10 +0200 Paolo Molaro <lupus@debian.org>
      
      	* gtk/gtkdnd.h,gtk/gtkdnd.c: delete is a reserved word in c++.
      75f85f94
  10. 19 Oct, 1998 1 commit
  11. 18 Oct, 1998 1 commit
    • Owen Taylor's avatar
      Added a modular client-message-filter mechanism, that is used for the DND · f7bcb456
      Owen Taylor authored
      Sun Oct 18 18:16:39 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gdk/gdk.c gdkprivate.h: Added a modular client-message-filter
      	mechanism, that is used for the DND messages.
      
      	  Removed all the old DND code.
      
      	* gdk/gdkcolormap.c gdk/gdkcolormap.h: Add a function to
      	get the visual of a given colormap.
      
      	* gtk/gtkcolorsel.c: Conversion to new DND, drag
      	a color-swatch.
      
      	* gdk/gdk.h gdk/gdkdnd.c: The low-level
      	X oriented portions of drag and drop protocols.
      	Sending and receiving client messages, and navigating
      	window trees.
      
      	* gdk/gdkimage.c: added a gdk_flush() when destroying
      	SHM images to hopefully make it more likely that
              X will gracefully handle the segment being destroyed.
      
      	* gdk/gdkprivate.h gtk/gtkdebug.h: Add new
      	DND debugging flags.
      
      	* gtk/gtkeditable.[ch]: Updates for the selection handling
      	changes.
      
      	* gtk/gtkselection.[ch]: Added GtkTargetList, a
      	refcounted data structure for keeping track of lists
      	of GdkAtom + information. Removed selection_handler_add
      	in favor of a "drag_data_get" signal.
      
      	* gtk/gtkdnd.[ch] gtk/gtk.h: New files - highlevel (event loop
      	dependent) parts of the DND protocols, display of drag icons,
      	drag-under highlighting, and the "default handlers".
      
      	* gtk/gtkinvisible.[ch]: New widget - InputOnly offscreen
      	windows that are used for reliable pointer grabs and
      	selection handling in the DND code.
      
      	* gtk/testdnd.c: New test program for new DND. (Old
      	DND tests in testgtk still need to be converted.)
      
      	* gtk/testselection.c: Use the new selection API.
      
      	* docs/dnd_internals: Start at describing how
      	all the new code works inside.
      
      	* docs/Changes-1.2.txt: New file describing source-incompatible
      	changes in GTK+-1.2.
      
      Sat Oct 17 22:50:34 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gdk/gdkwindow.c (gdk_window_remove_filter): Free
      	the right list node.
      
      	* gdk/gdkwindow.c (gdk_window_init): Add gdk_root_parent
      	to the XID table so we can receive events on it.
      
      Wed Oct 14 12:57:40 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdk.c gdk/gdk.h (gdk_event_get_time): New function
      	to get the timestamp from a generic event.
      
      Fri Oct  9 13:16:04 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_add_events): Added function
      	that safely adds additional events to a widget's event
      	mask, even if the widget has previously been realized.
      	(We can do this, but not remove events from the event
      	 mask).
      
      Fri Oct  2 17:35:35 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkproperty.c (gdk_property_get): Allow type == 0,
      	for AnyPropertyType.
      
      Fri Oct  2 10:32:21 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkproperty.c (gdk_atom_intern): Add client-local
      	hashing.
      
      Thu Sep 24 20:33:54 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdk.c (gdk_event_send_clientmessage_toall): serial
      	isn't a timestamp.
      
      Thu Sep 17 14:23:03 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdk.c (gdk_event_translate): Removed printing
      	of unknown window lookup warnings. (Made it
      	a GDK_NOTE) - they happen in many circumstances.
      f7bcb456