1. 05 Apr, 1998 2 commits
    • 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
  2. 04 Apr, 1998 9 commits
  3. 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
  4. 02 Apr, 1998 3 commits
  5. 01 Apr, 1998 1 commit
  6. 31 Mar, 1998 6 commits
  7. 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
  8. 29 Mar, 1998 4 commits
  9. 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
  10. 27 Mar, 1998 3 commits
    • Owen Taylor's avatar
      Missed one · f2cfc17b
      Owen Taylor authored
      f2cfc17b
    • PST 1998 Shawn T. Amundson's avatar
      some stuff for doing plain text and postscript · 186a0455
      PST 1998 Shawn T. Amundson authored
      Fri Mar 27 08:51:17 PST 1998 Shawn T. Amundson <amundson@gtk.org>
      
              * docs/Makefile.sgml: some stuff for doing plain text and
      	          postscript
      186a0455
    • Owen Taylor's avatar
      If the widget is _not_ a descendant of a Window widget, propagate key · e0ea1f0c
      Owen Taylor authored
      Fri Mar 27 00:13:18 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkmain.c (gtk_propagate_event): If the widget is _not_
      	a descendant of a Window widget, propagate key presses like
      	other events.
      
      	* gtk/gtkentry.c gtk/gtktext.c: Ignore multiple simultaneous
      	button presses instead of treating subsequent presses as
      	release/press pairs for tablet compatibility.
      
      	* configure.in config.h.in: Removed inline checks, because they
      	are duplicated in glib.
      
      	* gtk/gtkwidget.c (gtk_widget_draw): When gtk_widget_draw ()
      	occurs with queued draw already in place, redraw _entire_
      	widget. (Pointed out by Tim Janik)
      e0ea1f0c
  11. 26 Mar, 1998 3 commits
    • Tim Janik's avatar
      make a clear distinction between key press/release events, which will be · 11f79ebe
      Tim Janik authored
      Thu Mar 26 23:12:54 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmain.c (gtk_propagate_event): make a clear distinction between
                      key press/release events, which will be sent to a widgets toplevel
                              ancestor and be forwarded from there, and all other events that need to
                                      get propagated up the widget tree (pointed out by Owen Taylor).
      11f79ebe
    • Tim Janik's avatar
      always display the correct active state. · c2906f2b
      Tim Janik authored
      Thu Mar 26 21:37:57 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator): always
                      display the correct active state.
      
                              * gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator): always
                                      display the correct active state.
      
                                              * gtk/gtkwidget.c (gtk_widget_set_arg): CAN_FOCUS and CAN_DEFAULT flag
                                                      changes need to queue a resize.
      
                                                              * gtk/gtkbutton.c (gtk_button_paint): take border_width into
                                                                      consideration for restrict area.
      
                                                                              * gtk/gtktogglebutton.c (gtk_toggle_button_class_init): enable the
                                                                                      draw_default member of GtkButton, otherwise the diplay is messed up
                                                                                              for CAN_DEFAULT toggles.
                                                                                                      (gtk_toggle_button_draw_focus): always display whether the toggle button
                                                                                                              is active or not.
      
                                                                                                                      * gtk/gtkwidget.c (gtk_widget_set_state):
                                                                                                                              (gtk_widget_set_sensitive):
                                                                                                                                      (gtk_widget_set_parent):
                                                                                                                                              (gtk_widget_propagate_state): take into consideration, whether we really
                                                                                                                                                      want to change childrens states, or just restauration of old states.
      c2906f2b
    • Owen Taylor's avatar
      When gtk_widget_draw() is called on a REDRAW_PENDING widget, draw it and · a74e3385
      Owen Taylor authored
      Thu Mar 26 15:33:50 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkwidget.c: When gtk_widget_draw() is called on a
      	REDRAW_PENDING widget, draw it and remove it from the
      	queue instead of doing nothing.
      
      	* gtk/Makefile.am gdk/Makefile.am: Switch order of includes
      	directories, to make doubly sure that wrong glibconfig.h
      	isn't used. (See also glib/ChangeLog)
      
      	* gtk/gtkentry.c (gtk_entry_draw_focus): Don't draw the
      	cursor unless the entry is editable.
      
      	(From: Stefan Jeske <jeske@braunschweig.netsurf.de>)
      a74e3385