1. 26 Mar, 1998 4 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
    • Tim Janik's avatar
      do not propagate unhandled key events on widgets with parent==NULL twice. · d38e339e
      Tim Janik authored
      Thu Mar 26 08:31:58 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmain.c (gtk_propagate_event): do not propagate unhandled key
                      events on widgets with parent==NULL twice.
      d38e339e
  2. 24 Mar, 1998 6 commits
  3. 23 Mar, 1998 7 commits
  4. 22 Mar, 1998 4 commits
    • Owen Taylor's avatar
      fixes to locale checks · 16aa9c19
      Owen Taylor authored
      Sun Mar 22 16:25:46 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkmain.c (gtk_init): fixes to locale checks
      
      	* gtk/testgtk.c (create_dnd): Create the dnd icons separately
      	  to avoid strange interactions with shapes demo.
      
      	* gtk/gtkentry.[ch]:
      	  - Limit the length of the text to 2048 to prevent long delays
      	  - Fix problems with buffer overruns
      	  - Draw only the onscreen portion of the text to prevent wrapping
      	    of shorts in the X drawing code.
      	  - Keep track of character positions and x-offsets to speed
      	    up algorithms.
      16aa9c19
    • CST 1998 Shawn T. Amundson's avatar
      use button_box for buttons · ac05ab30
      CST 1998 Shawn T. Amundson authored
      Sun Mar 22 11:37:51 CST 1998 Shawn T. Amundson <amundson@gtk.org>
      
              * gtk/gtkcolorsel.c:
              * gtk/gtkfilesel.c: use button_box for buttons
      ac05ab30
    • Tim Janik's avatar
      forgot the ChangeLog ;((( · de26d9af
      Tim Janik authored
      -timj
      de26d9af
    • Owen Taylor's avatar
      Don't respond to drops when grab is in effect. (workaround) · 8cff9d33
      Owen Taylor authored
      Sat Mar 21 19:07:01 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/testgtk.c (dnd_drop): Don't respond to drops when
      	  grab is in effect. (workaround)
      
      	* gdk/gdkfont.c (gdk_fontset_load): More details on
      	  error messages.
      
      	* gdk/gdk.c: Translate va_list to XVaNestedList instead
      	  of just casting it.
      
      	* gtk/gtkmain.c: Make temporary copy of string returned by
      	  setlocale, since it may be changed by subsequent calls.
      8cff9d33
  5. 21 Mar, 1998 2 commits
  6. 20 Mar, 1998 1 commit
  7. 19 Mar, 1998 2 commits
  8. 18 Mar, 1998 5 commits
    • Tim Janik's avatar
      perform the neccessary checks on funtion begin. use the scrolled_window · 3c03a678
      Tim Janik authored
      Thu Mar 19 00:37:44 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkscrolledwindow.c (gtk_scrolled_window_construct): perform the
                      neccessary checks on funtion begin. use the scrolled_window that got
                              passed to this function, and not a new one.
      3c03a678
    • Owen Taylor's avatar
      ( From: James Henstridge <james@daa.com.au> ) · f9739e83
      Owen Taylor authored
      Wed Mar 18 11:09:10 1998  Owen Taylor  <owt1@cornell.edu>
      	( From: James Henstridge <james@daa.com.au> )
      
      	* gtk/gtkclist.c: Don't remove, then destroy labels in
      	  gtk_clist_set_column_[*], just remove them.
      
      	* gtk/gtkmain.c (gtk_invoke_timeout_function): call
      	  marshal when appropriate, not function.
      
      Tue Mar 17 14:15:07 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/testgtk.c (create_main_window): Alphabetize tests
      
      	* gtk/gtk[hv]paned.c: Change division on resize if
      	  necessary to keep handle visible.
      
      	* gtk/gtkgamma.c gtk/gtkcurve.c: Moved initialization into
      	  _init() functions.
      
      	* gtk/gtkscrolledwindow.c: Added missing _construct()
      	  functions.
      f9739e83
    • CET 1998	Paolo Molaro's avatar
      checked in gtk_entry_set_max_length (it truncates the texts if it's · 85d4cd0f
      CET 1998 Paolo Molaro authored
      
      Wed Mar 18 17:38:25 CET 1998	Paolo Molaro <lupus@debian.org>
      
      	* gtk/gtkentry.[ch]: checked in gtk_entry_set_max_length
      	(it truncates the texts if it's longer, now)
      85d4cd0f
    • Tim Janik's avatar
      use the resize queue. · e648c2d6
      Tim Janik authored
      Wed Mar 18 02:06:52 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkcontainer.c (gtk_container_border_width): use the resize queue.
      
                      * gtk/gtkwindow.c (gtk_window_set_arg): gtk_window_set_hints() after
                              setting certain arguments, so they actually take affect.
                                      (gtk_window_set_policy): likewise.
      e648c2d6
    • Manish Singh's avatar
      Rewrite of GArray gboolean type changed to int · 467e4e73
      Manish Singh authored
      Rewrite of GArray
      gboolean type changed to int
      
      -Yosh
      467e4e73
  9. 17 Mar, 1998 7 commits
    • Tim Janik's avatar
      return real boolean values not just numbers. · 3f04c019
      Tim Janik authored
      Tue Mar 17 22:45:39 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwidget.c (gtk_widget_get_arg): return real boolean values
                      not just numbers.
      
                              * gtk/gtktogglebutton.c (gtk_toggle_button_set_state): check
                                      state for != 0, otherwise we get strange results.
      3f04c019
    • Owen Taylor's avatar
      Try to guess if we can use the mb* functions safely. (For glibc, they do · 70b3b3e6
      Owen Taylor authored
      Tue Mar 17 01:55:00 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkmain.c gtk/gtkentry.c: Try to guess if we can
      	  use the mb* functions safely. (For glibc, they do
      	  UTF-8). Heuristic is (X_LOCALE && locale != C/POSIX)
      	  || (mblen("\xc0", MB_CUR_MAX) == 1).
      
      	(From: "Richard Lloyd" <rkl@csc.liv.ac.uk>)
      
      	* gdk/gdk.c (gdk_ic_get_attr): Use an intermediate
      	  variable to avoid taking the address of the result
      	  of va_arg.
      
      	* gtk/gtkentry.c gtk/gtkeditable.c gtkobject.c
      	  gtk/testselection.c: signedness fixups
      
      	* gtk/gtkcontainer.c: Fixed implicit cast between
      	  gpointer and func pointer by changing.
      
      	* gtk/gtkcombo.c, gtk/gtkentry.c, gtk/gtktext.c:
      	  static void forward declaration vs. void actual fixed
      
      	* gtk/testgtk.c: Limit total number of tree items to 10,000
      70b3b3e6
    • Tim Janik's avatar
      changed some debugging messages to be prefixed by "Gdk:". · a783d668
      Tim Janik authored
      Tue Mar 17 16:19:47 1998  Tim Janik  <timj@gimp.org>
      
              * gdk/gdk.c:
                      * gdk/gdkvisual.c: changed some debugging messages to be prefixed
                              by "Gdk:".
      
                                      * gtk/gtkwidget.c (gtk_widget_real_draw): applied
                                              gtk-shige-980317-0.patch.gz to set all event fields, but modified
                                                      the event.send_event field to be set to TRUE, since the event is not
                                                              really comming from the server.
      
                                                                      * gtk/gtkwindow.c (gtk_window_init): applied gtk-ograf-980317-1.patch.gz
                                                                              which cares about an initial setting of program name and program class.
      
                                                                                      * gdk/gdk.c (gdk_init): applied gtk-ograf-980317-0.patch.gz, which
                                                                                              strips leading pathnames from gdk_progname.
      a783d668
    • Tim Janik's avatar
      fixed a bug about drawing GTK_ARROW_LEFT, correction from Damon Chaplin · a6e2c24b
      Tim Janik authored
      Tue Mar 17 12:36:35 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkstyle.c (gtk_default_draw_arrow): fixed a bug about drawing
                      GTK_ARROW_LEFT, correction from Damon Chaplin <DAChaplin@email.msn.com>.
      a6e2c24b
    • Miguel de Icaza's avatar
      Use StructureNotifyMaskMask as the mask, as this enables an application · 8a0d6739
      Miguel de Icaza authored
      Tue Mar 17 02:02:02 1998  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* gdk/gdk.c (gdk_dnd_drag_leave): Use StructureNotifyMaskMask as
      	the mask, as this enables an application listening to those events
      	to catch the root events.  Thanks to Maciej for pointing us in the
      	right direction.
      	(gdk_dnd_drag_enter): Likewise.
      	(gdk_dnd_drag_leave): Likewise.
      	* gdk/gdkwindow.c (gdk_window_dnd_data_set): Likewise.
      8a0d6739
    • Federico Mena's avatar
      Use signed integers so that testing will not fail for windows that are · 63955ec2
      Federico Mena authored
      Mon Mar 16 22:31:02 1998  Federico Mena  <federico@nuclecu.unam.mx>
      
      	* gdk/gdkwindow.c (gdk_window_xid_at): Use signed integers so that
      	testing will not fail for windows that are off-screen.
      
      	(gdk_window_xid_at_coords): Only considers visible windows.
      63955ec2
    • Tim Janik's avatar
      exported gtk_spin_button_spin since it is used in testgtk, and besides · 077b5109
      Tim Janik authored
      Tue Mar 17 03:56:13 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkspinbutton.h: exported gtk_spin_button_spin since it is
                      used in testgtk, and besides that.
      
                              * gtk/testgtk.c: created a new "test" cursors, which showes different
                                      types of GdkCursors and is a very simple example at using the drawing
                                              area.
      
                                              Tue Mar 17 03:56:13 1998  Tim Janik  <timj@gimp.org>
      
                                                      * gtk/gtkspinbutton.h: exported gtk_spin_button_spin since it is
                                                              used in testgtk, and besides that.
      
                                                                      * gtk/testgtk.c: created a new "test" cursors, which showes different
                                                                              types of GdkCursors and is a very simple example at using the drawing
                                                                                      area.
      077b5109
  10. 16 Mar, 1998 2 commits