1. 08 Apr, 1998 3 commits
  2. 07 Apr, 1998 3 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
    • 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 6 commits
    • Federico Mena Quintero's avatar
      Added function to set the homogeneous flag of the table (needed by derived · 30533f03
      Federico Mena Quintero authored
      1998-04-06  Federico Mena Quintero  <federico@nuclecu.unam.mx>
      
      	* gtk/gtktable.h:
      	* gtk/gtktable.c (gtk_table_set_homogeneous): Added function to
      	set the homogeneous flag of the table (needed by derived widgets
      	and such).
      
      1998-04-03  Federico Mena Quintero  <federico@nuclecu.unam.mx>
      
      	* gtk/gtkradiobutton.h: Add prototype for gtk_radio_button_new_with_label_from_widget.
      30533f03
    • BST 1998 Tony Gale's avatar
      more on GIMP (et al) configure problems. · 01c3cd84
      BST 1998 Tony Gale authored
      Mon Apr  6 18:48:49 BST 1998 Tony Gale  <gale@gtk.org>
      
              * docs/gtkfaq.sgml: more on GIMP (et al) configure
                problems.
      01c3cd84
    • Owen Taylor's avatar
      Take border in account properly. · 0f9fe897
      Owen Taylor authored
      Mon Apr  6 08:05:23 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkbutton.c (gtk_button_paint): Take border in
      	account properly.
      
      	* gtk/gtktext.c (gtk_text_realize): Don't recompute
      	geometry when creating with initial 1x1 geometry,
      	since our calculations can't handle that. Leave
      	text->line_start_cache NULL as sign we don't have
      	a real geometry yet.
      
      	* gtk/gtkentry.c (gtk_entry_motion_notify): Use the x
      	value we get from gdk_window_get_pointer, not from
      	event->x - since we always specify OwnerGrabButtonMask
      	(why???), event->x can refer to another window.
      0f9fe897
    • BST 1998  Tony Gale's avatar
      Change a missed "delete_event" return value description from TRUE to · d7aa6a88
      BST 1998 Tony Gale authored
      Mon Apr  6 08:08:49 BST 1998  Tony Gale <gale@gtk.org>
      
              * docs/gtk_tut.sgml examples/helloworld/helloworld.c:
                Change a missed "delete_event" return value description
                from TRUE to FALSE.
      d7aa6a88
    • Owen Taylor's avatar
      Make tab key move in reading order (left-to-right top to bottom) - which · 61ca2419
      Owen Taylor authored
      Mon Apr  6 00:28:28 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkcontainer.c (gtk_container_focus_tab): Make
      	tab key move in reading order (left-to-right top
      	to bottom) - which might have been the original intended
      	behavior modulo sorting bugs.
      
      	* gtk-config.in: Never output -I/usr/include from --cflags
      61ca2419
    • Owen Taylor's avatar
      Fixed bug where right justified menu would overlap last left justified · 79d880cc
      Owen Taylor authored
      Sun Apr  5 21:47:12 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkmenubar.c: Fixed bug where right justified
      	menu would overlap last left justified item.
      79d880cc
  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 6 commits
  6. 03 Apr, 1998 1 commit
  7. 02 Apr, 1998 2 commits
  8. 31 Mar, 1998 5 commits
  9. 30 Mar, 1998 3 commits
    • Owen Taylor's avatar
      Improved main loop test. (Quits main loop properly, makes it more obvious · 4bf5d761
      Owen Taylor authored
      Mon Mar 30 16:35:57 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/testgtk.c: Improved main loop test. (Quits main
      	loop properly, makes it more obvious to the user
      	what is going on)
      
      	* gtk/gtkwidget.c (gtk_widget_unparent): Reset the
      	allocation _after_ clearing the window.
      
      	* configure.in: If can't find XShmAttach in Xext, check
      	in XextSam (for AIX).
      
      	* gtk/gtkmain.c (gtk_events_pending): Remember, small
      	numbers are _high_ priority for idle queues.
      
      	* gtk/gtkmain.c (gtk_handle_current_timeouts): Allow
      	removing the currently running timeout.
      
      	* gtk/testgtk.c (timeout_test): Use the right prototype
      	for callback.
      4bf5d761
    • Tim Janik's avatar
      removed this function, it was unneeded and not exported. · 8eb7761e
      Tim Janik authored
      Mon Mar 30 21:40:21 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkclist.c (gtk_clist_row_from_ypixel): removed this function,
                      it was unneeded and not exported.
      
                              * gtk/gtkwidget.c (gtk_widget_ref) (gtk_widget_unref): don't check-cast
                                      the widgets to volatile GtkObjects (which was there for debugging
                                              purposes only). these functions should probably be macros, but that
                                                      would break binary compatibility again, sigh.
                                                              (gtk_widget_destroy): removed superfluous check-casts, since the
                                                                      neccessary checks are done in gtk_object_destroy anyways. this should
                                                                              be a macro as well but stays as a function for the above reasoonings.
      8eb7761e
    • BST 1998 Tony Gale's avatar
      reflect the change of meaning of the delete_event return value · c05d6f2d
      BST 1998 Tony Gale authored
      Mon Mar 30 17:21:27 BST 1998 Tony Gale  <gale@gimp.org>
      
              * docs/gtk_tut.sgml: reflect the change of meaning
                of the delete_event return value
      c05d6f2d
  10. 29 Mar, 1998 3 commits
    • Tony Gale's avatar
      Sun Mar 29 22:25:22 BST 1998 Tony Gale <gale@gimp.org> ... · f553b79b
      Tony Gale authored
      Sun Mar 29 22:25:22 BST 1998 Tony Gale  <gale@gimp.org>                                                                                                                                                   * docs/gtk_tut.sgml: more on the Text widget,
                update the tictactoe example to the current code
      f553b79b
    • Tim Janik's avatar
      Added wrapping capabilities to GtkSpinButton. New function : · 2f5621e5
      Tim Janik authored
      Sun Mar 29 22:29:00 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkspinbutton.[ch] gtk/testgtk.c (gtk_spin_button_set_wrap):
                      Added wrapping capabilities to GtkSpinButton. New function :
                              gtk_spin_button_set_wrap (Lars Hamann and Stefan Jeske).
      2f5621e5
    • Owen Taylor's avatar
      Disconnect from combo->entry, not combo. (From: Daniel Skarda · 93e15856
      Owen Taylor authored
      Sat Mar 28 21:18:42 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkcombo.c (gtk_combo_disable_activate):
      	Disconnect from combo->entry, not combo.
      	(From: Daniel Skarda <0rfelyus@atrey.karlin.mff.cuni.cz>)
      
      	* gdk/gdkpixmap.c (gdk_pixmap_colormap_create_from_xpm): Deal
      	better with xpm's with bad colors in them.
      
      Plus, 3rd attempt to commit gtklabel changes
      93e15856
  11. 28 Mar, 1998 3 commits
    • Owen Taylor's avatar
      Don't call XTranslateCoordinates on a destroyed window. (Why do we do · 5b3cc69b
      Owen Taylor authored
      Fri Mar 27 21:01:17 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gdk/gdk.c (gdk_event_translate): Don't call
      	XTranslateCoordinates on a destroyed window. (Why do we
      	do event processing at all on destroyed windows when we
      	throw out the results?)
      
      	* gtk/gtklabel.c: Clear the background when changing style/
      	state.
      5b3cc69b
    • PST 1998 Shawn T. Amundson's avatar
      Released GTK+ 0.99.9 · 7033e338
      PST 1998 Shawn T. Amundson authored
      Fri Mar 27 16:35:00 PST 1998 Shawn T. Amundson <amundson@gtk.org>
      
              * Released GTK+ 0.99.9
      
      	* examples: added a couple more, fixed some Makefiles
      7033e338
    • Owen Taylor's avatar
      Don't clear the window on an expose event. On draws, just clear the · b2c30ad9
      Owen Taylor authored
      Fri Mar 27 17:58:41 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkhandlebox.c (gtk_handle_box_paint): Don't clear
      	the window on an expose event. On draws, just clear the
      	portion we are redrawing.
      
      	* gdk/gdkfont.c (gdk_fontset_load): Corrected calculation
      	of fontset ascent/descent.
      
      	* gtk/gtkwidget.[ch]: Added new function to show a toplevel
      	window and wait for it to be mapped, gtk_window_show_now ()
      b2c30ad9
  12. 27 Mar, 1998 1 commit