1. 17 Apr, 1998 1 commit
  2. 15 Apr, 1998 2 commits
  3. 14 Apr, 1998 4 commits
    • PDT 1998 Shawn T. Amundson's avatar
      Released GTK+ 1.0.0 · 2b210ff4
      PDT 1998 Shawn T. Amundson authored
      Mon Apr 13 19:16:22 PDT 1998 Shawn T. Amundson <amundson@gtk.org>
      
              * Released GTK+ 1.0.0
      2b210ff4
    • Owen Taylor's avatar
      Don't read the character past the end of the text. · 385164d6
      Owen Taylor authored
      Mon Apr 13 21:40:14 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtktext.c (find_char_width): Don't read the
      	character past the end of the text.
      
      	* gtk/gtkrange.c (gtk_real_range_timer): If the mouse
      	button has been released before the timer is activated,
      	don't keep on scrolling.
      
      	* gdk/gdk.c (gdk_event_translate): Filter subsequent configure
      	events after we discard the first. Removed obsolete and
      	sometimes very slow GdkOtherEvent. (Left in gdktypes.h
      	with signal in GTK)
      385164d6
    • PDT 1998 Shawn T. Amundson's avatar
      update address info to gtk.org for ftp and web sites. · 5c67089e
      PDT 1998 Shawn T. Amundson authored
      Mon Apr 13 18:03:54 PDT 1998 Shawn T. Amundson <amundson@gtk.org>
      
              * README: update address info to gtk.org for ftp and web sites.
      5c67089e
    • Federico Mena Quintero's avatar
      New function; wrapper for XPolygonRegion(). · af36f776
      Federico Mena Quintero authored
      1998-04-13  Federico Mena Quintero  <federico@nuclecu.unam.mx>
      
      	* gdk/gdkregion.c (gdk_region_polygon): New function; wrapper for
      	XPolygonRegion().
      
      	* gdk/gdk.h: Added prototype for gdk_region_polygon().
      
      	* gdk/gdktypes.h (GdkFillRule): New enum type of fill rule for polygons.
      af36f776
  4. 13 Apr, 1998 6 commits
    • Michael K. Johnson's avatar
      removed duplicate call to gtk_widget_set_policy. · 1d617210
      Michael K. Johnson authored
      Mon Apr 13 15:04:26 1998  Michael K. Johnson <johnsonm@redhat.com>
      
              * gtk/testgtk.c (create_clist): removed duplicate call to
              gtk_widget_set_policy.
      1d617210
    • Tim Janik's avatar
      check for accelerator table to be != NULL. · 18dfa1ae
      Tim Janik authored
      Mon Apr 13 05:03:11 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwindow.c (gtk_window_add_accelerator_table): check for
                      accelerator table to be != NULL.
                              (gtk_window_remove_accelerator_table): likewise.
      18dfa1ae
    • PDT 1998 Shawn T. Amundson's avatar
      typo, gtk-1.0.0 should be gtk+-1.0.0 A little more intro on what gtk is... · 7ec26905
      PDT 1998 Shawn T. Amundson authored
      Sun Apr 12 19:35:09 PDT 1998 Shawn T. Amundson <amundson@gtk.org>
      
              * INSTALL: typo, gtk-1.0.0 should be gtk+-1.0.0
      	* README: A little more intro on what gtk is...
      7ec26905
    • Owen Taylor's avatar
      An old allocation error. · a3ee7a94
      Owen Taylor authored
      Sun Apr 12 22:43:22 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkmenuitem.c (gtk_menu_item_size_allocate):
      	An old allocation error.
      
      	* gtk/gtkviewport.c (gtk_viewport_add): Don't map
      	when adding a not-VISIBLE widget to a VISIBLE
      	viewport.
      a3ee7a94
    • PDT 1998 Shawn T. Amundson's avatar
      Changed LGPL address for FSF in all .h and .c files · 92006c8e
      PDT 1998 Shawn T. Amundson authored
      Sun Apr 12 18:54:29 PDT 1998 Shawn T. Amundson <amundson@gtk.org>
      
              * Changed LGPL address for FSF in all .h and .c files
      92006c8e
    • Owen Taylor's avatar
      Set a flag so instead of clearing the area in advance. That looked · e6af5d49
      Owen Taylor authored
      Sun Apr 12 20:09:40 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtklabel.[ch] (gtk_label_expose): Set a flag so
      	instead of clearing the area in advance. That looked
      	_really_ bad.
      
      	* gtk/gtkcontainer.c (gtk_container_class_init): Changed
      	"focus" to RUN_LAST.
      
      	* gtk/gtkentry.c (gtk_entry_realize): Fixed place
      	where allocation was used where requisition was meant.
      	(Found by David J N Begley <david@avarice.nepean.uws.edu.au>)
      
      	* gtk/gtkwindow.c (gtk_window_set_default): Fixed
      	assertion in when setting default to NULL>
      	("Damon Chaplin" <DAChaplin@email.msn.com>)
      
      	* gtk/gtkwidget.c (gtk_widget_unparent): Unset the
      	default widget on the toplevel, if necessary.
      
      Sun Apr 12 02:04:21 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkpreview.c: Removed unecessary and harmful
      	htons/ntohs when storing properties. (X does the byte
      	swapping itself)
      e6af5d49
  5. 11 Apr, 1998 3 commits
  6. 10 Apr, 1998 3 commits
    • Owen Taylor's avatar
      Extended for the 1.0 release. Eliminated the "before 1.0" section · 0e3d5070
      Owen Taylor authored
      Fri Apr 10 00:10:16 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* README/INSTALL: Extended for the 1.0 release.
        	* TODO:           Eliminated the "before 1.0" section
      0e3d5070
    • PDT 1998 Shawn T. Amundson's avatar
      changes for 1.0.0 release. · 1cf58006
      PDT 1998 Shawn T. Amundson authored
      Thu Apr  9 19:31:51 PDT 1998 Shawn T. Amundson <amundson@gtk.org>
      
              * AUTHORS NEWS README configure.in gtk+.spec glib/configure.in:
      	  changes for 1.0.0 release.
      1cf58006
    • Owen Taylor's avatar
      Picky --enable-ansi cleanups. · 3a029481
      Owen Taylor authored
      Thu Apr  9 18:36:31 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkmisc.c gdk/gdkwindow gtk/gtkentry.c gtk/testgtk.c:
      	Picky --enable-ansi cleanups.
      
      	* gtk/gtkstatusbar.c (gtk_statusbar_pop): Pop top message
      	off _belonging_to_this_context_. (gtk-d4bjorn-980409-0)
      
      	From "Damon Chaplin" <DAChaplin@email.msn.com>
      
      	* gtk/gtktable.c (gtk_table_size_request_pass3): Small fix to size
      	requisition code.
      
      	* gtk/gtknotebook.c: Make sure not to do things to page->tab_label
      	if it doesn't exist.
      3a029481
  7. 09 Apr, 1998 2 commits
    • Owen Taylor's avatar
      (Found by Mattias.Gronlund" <Mattias.Gronlund@sa.erisoft.se>) · 26df647a
      Owen Taylor authored
      Thu Apr  9 14:24:35 1998  Owen Taylor  <owt1@cornell.edu>
      
      	(Found by Mattias.Gronlund" <Mattias.Gronlund@sa.erisoft.se>)
      
      	* gtk/gtkcurve.c (gtk_curve_interpolate): Added a
      	missing g_free.
      
      	* gtk/gtkcurve.c (gtk_curve_graph_events): Limits
      	were off by one, resulting in writing past array
      	bounds. Removed some unused code.
      
      	* gdk/gdk.c (gdk_dnd_drag_begin): The event structure
      	used for gdk_event_put should be a GdkEvent, not a
      	subtype, since it will all be copied.
      
      	* gtk/gtkcolorsel.c: Added a unrealize handler that
      	unref's the GC's that were created.
      
      	* gtk/testgtk.c (clist_warning_test): ref and sink
      	child because it may never be added to anything.
      26df647a
    • Owen Taylor's avatar
      Removed unsed variables (gtk-jbuhler-980408-0) · 3a1eebe6
      Owen Taylor authored
      Wed Apr  8 20:50:02 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkwindow.c (gtk_window_set_hints): Removed unsed
      	variables (gtk-jbuhler-980408-0)
      3a1eebe6
  8. 08 Apr, 1998 5 commits
  9. 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
  10. 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
  11. 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
  12. 04 Apr, 1998 1 commit