1. 08 Apr, 1998 5 commits
  2. 07 Apr, 1998 5 commits
    • Owen Taylor's avatar
      Removed, because that's what a NULL comparison function means. And it · 1c77b5f9
      Owen Taylor authored
      Tue Apr  7 19:36:48 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gutils.c (g_direct_compare): Removed, because that's what
      	a NULL comparison function means. And it wasn't 64 bit safe.
      
      Tue Apr  7 19:14:03 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gdk/gdkpixmap.c: Added maximum field widths to prevent
      	possible '%s' scanf overflows. Replaced scanf("%c")
      	with getc(), Don't interpret /*/ as a full comment. Use
      	g_realloc/g_new.
      
      	* gtk/gtkwidget.h gtk/gtkprivate.h: Changed all flag
      	tests to check for ((GTK_WIDGET_FLAGS(widget) & FLAG) != 0)
      	instead of (GTK_WIDGET_FLAGS(widget) & FLAG)
      
      	* gtk/gtkfilesel.c: Use getwd() instead of getcwd() on
      	SunOS, because getcwd() hangs up in a wait4().
      	(Found by David Monniaux <monniaux@clipper.ens.fr>)
      
      	- Check device/inode/mtime not just inode/mtime, when
      	caching scanned directories.
      	(From: scottk@ig.utexas.edu (Scott Kempf))
      
      	* gdk/gdkpixmap.c: Check for 0 width/height when
      	creating pixmaps.
      
      	* gtk/*.c: Global substitution of recently introduced
      	"MAX (0," for allocations to "MAX (1,", since
      	creating a backing pixmap with a zero width or height
      	fails.
      
      	* gdk/gdkwindow.c (gdk_window_new): Don't set all the
      	WM properties for child windows. Don't set the base
      	size, since the value we set will be taken as a minimum
      	size.
      1c77b5f9
    • Tim Janik's avatar
      don't take '\n' into account for size computation (Damon Chaplin). · 13de9dc3
      Tim Janik authored
      Wed Apr  8 00:00:48 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtklabel.c (gtk_label_expose): don't take '\n' into account for
                      size computation (Damon Chaplin).
      
                              * gtk/gtkvscale.c (gtk_vscale_draw_value): adjusted static snprintf()
                                      buffer size to 32 characters (Damon Chaplin).
                                              * gtk/gtkhscale.c (gtk_hscale_draw_value): likewise.
      
                                                      * gtk/gtkmain.c (gtk_main_iteration_do): gdk_flush() the X-queue if
                                                              iteration_done==TRUE since we will most likely not get invoked again
                                                                      (Marius Vollmer).
      13de9dc3
    • Elliot Lee's avatar
    • Elliot Lee's avatar
      gtk_button_remove(): When removing a child widget from a button, we don't · 39a05c0b
      Elliot Lee authored
      
      
      gtk_button_remove():
      	When removing a child widget from a button, we don't want to check
      	the child's visibility after removal (for the purpose of knowing
      	whether a queue_resize is needed), we want to check it *before*,
      	because the child may be destroyed during the
      	gtk_widget_unparent()
      
      	The diff is clearer than this stupid log message. :)
      39a05c0b
    • Owen Taylor's avatar
      Set the window hints on every map so that GTK_WIN_POS_MOUSE works · 8051b9d2
      Owen Taylor authored
      Mon Apr  6 23:48:29 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkwindow.c (gtk_window_realize): Set the
      	window hints on every map so that GTK_WIN_POS_MOUSE
      	works correctly.
      8051b9d2
  3. 06 Apr, 1998 8 commits
  4. 05 Apr, 1998 4 commits
    • Owen Taylor's avatar
      Fixed assignment of adjustment->value to negative values. Moved a few · 20fee708
      Owen Taylor authored
      Sun Apr  5 19:30:23 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkclist.c: Fixed assignment of adjustment->value
      	to negative values. Moved a few other allocation type things
      	around in ways that may or may matter. Fixed some allocation
      	errors (scrollbars were overlapping main window).
      
      	* gtk/gtkbutton.c (gtk_real_button_released): Small hack to keep
      	button labels from vanishing when the invoked operation blocks.
      
      	* gtk/gtkbox.c (gtk_box_remove): Assigning GTK_WIDGET_VISIBLE (widget)
      	to a gboolean (char) is _bad_. GTK_VISIBLE == 256.
      20fee708
    • Owen Taylor's avatar
      Reverted broken implementation of removing the current timeout/idle. · 1a099c2c
      Owen Taylor authored
      Sun Apr  5 15:08:25 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkmain.c: Reverted broken implementation of removing
      	the current timeout/idle. Substituted a (hopefully) functional one.
      1a099c2c
    • Tim Janik's avatar
      take expired timeouts into account, otherwise things like e.g. · ab798921
      Tim Janik authored
      Sun Apr  5 09:35:55 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmain.c (gtk_events_pending): take expired timeouts into
                      account, otherwise things like e.g. spin-buttons don't work.
                              also, count gtk_main_quit() as an event.
      ab798921
    • Tim Janik's avatar
      fixed panel allocation and stacking order, fixed the base class · 6e28c400
      Tim Janik authored
      Sun Apr  5 08:03:01 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkspinbutton.c: fixed panel allocation and stacking order,
                      fixed the base class realization.
      
                              * gtk/gtkmisc.c: implemented widget arguments.
      
                                      * gtk/gtkentry.c: fixes in _realize to behave similar to
                                              _size_allocate.
      6e28c400
  5. 04 Apr, 1998 9 commits
  6. 03 Apr, 1998 3 commits
    • Owen Taylor's avatar
      More extensive debugging output · 308adaa6
      Owen Taylor authored
      Fri Apr  3 17:14:55 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gdk/gdk.c: More extensive debugging output
      308adaa6
    • Owen Taylor's avatar
      More extensive debugging output · 32cd050c
      Owen Taylor authored
      Fri Apr  3 17:14:55 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gdk/gdk.c: More extensive debugging output
      
      	* gtk/gtkalignment.c gtk/gtkbutton.c gtk/gtkcheckbutton.c
      	  gtk/gtkclist.c gtk/gtkeventbox.c gtk/gtkhandlebox.c
      	  gtk/gtk[hv]box.c gtk/gtk[hv]paned.c gtk/gtklist.c
      	  gtk/gtkmenu.c gtk/gtkmenubar.c gtk/gtkmenuitem.c
      	  gtk/gtknotebook.c gtk/gtktable.c gtk/gtktree.c
      	  gtk/gtktreeitem.c gtk/gtkviewport.c
      
      	Avoid assigning negative values to unsigned allocation.width and
      	height
      
      	* gtk/gtkwindow.c:
      
      	Instead of realizing the widget, then size allocating, (resulting
      	in XMoveResizeWindows for all children, do the size allocation
      	first, then realize.
      
      	In gtk_real_window_move_resize, combine move and resize
      	into a single GDK/X call when possible.
      
      	* gtk/gtkclist.c gtk/gtkdrawingarea.c:
      
      	Remove assumption that the widget will be size allocated _after_
      	it is realized.
      
      	* gtk/gtklist.c (gtk_list_motion_notify): Removed useless
      	debugging message.
      32cd050c
    • Owen Taylor's avatar
      changes to follow · 740b70ea
      Owen Taylor authored
      740b70ea
  7. 02 Apr, 1998 3 commits
  8. 01 Apr, 1998 1 commit
  9. 31 Mar, 1998 2 commits