1. 26 Jul, 1998 2 commits
    • Stefan Jeske's avatar
      Fixed wrong allocation for GTK_BUTTONBOX_END. · fb430a8d
      Stefan Jeske authored
      (allocation->x  =>  allocation->y)
      fb430a8d
    • Lars Hamann's avatar
      fix for pointer grab · 65044ace
      Lars Hamann authored
      * gtk/gtkclist.c (gtk_clist_button_press) (gtk_clist_button_release)
        (abort_column_resize) (gtk_clist_key_press): fix for pointer grab
      
      * gtk/gtkctree.c (real_tree_select): added check to avoid double
        selected rows
        (gtk_ctree_button_press)
        (gtk_ctree_button_release): fix for pointer grab
      65044ace
  2. 25 Jul, 1998 4 commits
  3. 24 Jul, 1998 2 commits
  4. 22 Jul, 1998 4 commits
    • Tim Janik's avatar
      introduce testbindings on C-1 for buttons, to check out binding · 8c56db61
      Tim Janik authored
      Thu Jul 23 00:11:39 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/testgtkrc: introduce testbindings on C-1 for buttons,
              to check out binding priorities. someone should really write
              gtkrc-mode for emacs.
      
              * gtk/gtkwidget.c (gtk_widget_class_init): remove ugly bindings test.
              * gtk/testgtk.c (main): and move it here ;). this test says something
              on release of C-9. (this works only if the mouse pointer is on a
              spinbutton and there is no focus widget).
      
              * gtk/gtkrc.h:
              * gtk/gtkrc.c:
              export gtk_rc_parse_color, gtk_rc_parse_state and a new function
              gtk_rc_parse_priority to parse path priority types.
              export rc tokens.
              feature binding parsing.
      
      Wed Jul 22 23:41:17 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkbindings.h:
              * gtk/gtkbindings.c: new function gtk_binding_parse_binding() to
              feature binding parsing in rc files.
              * gtk/gtkbindings.c (gtk_binding_set_new): bug fix.
              * gtk/gtkbindings.c (gtk_binding_pattern_compare): bug fix, we used to
              order the bindings with lowest priority first.
      8c56db61
    • Manish Singh's avatar
      actually builds and runs properly on big endian machines now, because we · 3ea4f70f
      Manish Singh authored
      * gdk/gdkrgb.c: actually builds and runs properly on big endian machines
      now, because we #include config.h. Also fixed up a compile error in the
      WORDS_BIGENDIAN case in gdk_rgb_convert_565_gray. I made the fix by looking
      at patterns in the other code; Raph can you verify this?
      
      * gdk/gdkthreads.c: #include <unistd.h> to quell compiler warnings
      
      -Yosh
      3ea4f70f
    • Lars Hamann's avatar
      few fixes for gtk_signal_emits · aa1bf581
      Lars Hamann authored
      * gtk/gtkctree.c (tree_select/unselect) (tree_expand/collapse)
        (tree_toggle_expansion) (real_select/unselect_row)
        (gtk_ctree_select/unselect) : few fixes for gtk_signal_emits
      aa1bf581
    • Tim Janik's avatar
      make auto-files update · 59a36172
      Tim Janik authored
      59a36172
  5. 21 Jul, 1998 8 commits
  6. 20 Jul, 1998 1 commit
    • Lars Hamann's avatar
      new functions, recursive process tree to specified depth · cebb7bfc
      Lars Hamann authored
      * gtk/gtkctree.c (gtk_ctree_post_recursive_to_depth)
        (gtk_ctree_pre_recursive_to_depth): new functions, recursive process
        tree to specified depth
        (gtk_ctree_expand_to_depth): expand tree to specified depth
        (gtk_ctree_collapse_to_depth): collapse all nodes with level >= depth
      cebb7bfc
  7. 19 Jul, 1998 3 commits
    • Lars Hamann's avatar
      fix for vertical scrolling in case of GTK_CLIST_ADD_MOD changed pixmap · bfa2ec27
      Lars Hamann authored
      * gtk/gtkclist.c (scroll_vertical): fix for vertical scrolling in case
        of GTK_CLIST_ADD_MOD
      * gtk/testgtk.c (add1000_clist): changed pixmap
      bfa2ec27
    • Tim Janik's avatar
      export gtk_binary_age and gtk_interface_age. · c1c8caa2
      Tim Janik authored
      Sat Jul 18 22:59:04 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmain.h:
              * gtk/gtkmain.c: export gtk_binary_age and gtk_interface_age.
      
              * gtk/gtktypeutils.h:
              * gtk/gtkitemfactory.h: remove "void" from prototypes again.
      
      Sat Jul 18 00:54:01 1998  Lars Hamann  <lars@gtk.org>
      
              * gtk/gtknotebook.c (gtk_notebook_set_child_arg): added support for
              CHILD_ARG_MENU_LABEL, CHILD_ARG_TAB_LABEL
              (gtk_notebook_get_child_arg): added support for CHILD_ARG_MENU_LABEL,
              CHILD_ARG_POSITION
              (gtk_notebook_reorder_child): new funktion to change position of a
              notebook page
              (gtk_notebook_draw_arrow): draw left/right arrow with
              GTK_SHADOW_ETCHED_IN if focus_tab is first/last tab.
      
              * gtk/gtkstyle.c (gtk_default_draw_arrow):
              added GTK_SHADOW_ETCHED_IN/OUT
      c1c8caa2
    • Stefan Jeske's avatar
      Introduced generic GtkProgress widget. Derived GtkProgressBar from · b43c4557
      Stefan Jeske authored
      Sun Jul 19 12:19:16 1998  Stefan Jeske  <stefan@gtk.org>
      
      	* gtk/gtkprogress.c gtk/gtkprogress.h gtk/gtkprogressbar.c
      	  gtk/gtkprogressbar.h gtk/Makefile.am gtk/gtk.h gtk/testgtk.c:
      	Introduced generic GtkProgress widget. Derived GtkProgressBar from
      	GtkProgress. Made GtkProgressBar much more flexible (see testgtk).
      b43c4557
  8. 18 Jul, 1998 1 commit
  9. 17 Jul, 1998 6 commits
    • Lars Hamann's avatar
      Changelog fix · 15201b48
      Lars Hamann authored
      15201b48
    • Lars Hamann's avatar
      fix to avoid flicker at begin/end of list · c0ce3a61
      Lars Hamann authored
      * gtk/gtkclist.c (scroll_vertical): fix to avoid flicker at begin/end
        of list
      c0ce3a61
    • Owen Taylor's avatar
      If xid_ht hasn't been created yet, don't do the lookup. · 656eaa93
      Owen Taylor authored
      Thu Jul 16 20:11:36 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkxid.c (gdk_xid_table_lookup): If xid_ht
      	hasn't been created yet, don't do the lookup.
      656eaa93
    • Tim Janik's avatar
      sropped the approach of copying all signal specific data into a · 2bc6d454
      Tim Janik authored
      Fri Jul 17 05:30:47 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtksignal.c (gtk_handlers_run) (gtk_signal_real_emit):
              sropped the approach of copying all signal specific data into a
              GtkHandlerInfo structure. we rather keep the signal data on the stack
              in gtk_signal_real_emit and pass that over to gtk_handlers_run. this
              avoids multiple lookups of the signal pointer and works savely together
              with destroy notifiers of handlers.
      
              * gtk/gtkentry.c (gtk_entry_key_press): care for the posssibility that
              someone destroys the entry on the ::activate signal.
      2bc6d454
    • Tim Janik's avatar
      care for the posssibility that someone destroys the entry on the · ca7b223b
      Tim Janik authored
      Fri Jul 17 05:30:47 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkentry.c (gtk_entry_key_press): care for the posssibility that
              someone destroys the entry on the ::activate signal.
      ca7b223b
    • Tim Janik's avatar
      use misc->xpad for x calculation instead of ypad (typo). (gtk_arrow_set): · ca17982e
      Tim Janik authored
      Fri Jul 17 01:21:32 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkarrow.c (gtk_arrow_expose): use misc->xpad for x calculation
              instead of ypad (typo).
              (gtk_arrow_set): clear all of the arrow's allocation (left a 1 pixel
              border around the allocation).
              (gtk_arrow_init): the static requisition needs to be setup in this
              function rather than gtk_widget_new(), so arrow creation works without
              the gtk_arrow_new() constructing.
              (gtk_arrow_expose): return TRUE, since we actually handled the expose.
      
              * gtk/gtkwidget.c (gtk_widget_real_size_request): provide a default
              implementation for GtkWidget::size_request, so size requisition for
              simple statically sized widgets like GtkArrow works.
      ca17982e
  10. 16 Jul, 1998 6 commits
    • Manish Singh's avatar
      Fix slight screwup · 699dcbab
      Manish Singh authored
      -Yosh
      699dcbab
    • Manish Singh's avatar
      minor changes to gtk-config: --cflags doesn't prepend -I@libdir@/glib/include · 5886cc2c
      Manish Singh authored
      anymore, since glib-config handles it; --libs strips out redundant -L<path>'s
      properly (there was code in there to do it before, but it didn't work)
      
      -Yosh
      5886cc2c
    • Tim Janik's avatar
      signdness corrections all ove the place. implementation of object · 81517a6d
      Tim Janik authored
      Thu Jul 16 18:24:41 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtknotebook.h:
              * gtk/gtknotebook.c: signdness corrections all ove the place.
              implementation of object arguments: GtkNotebook::enable_popup,
              GtkNotebook::tab_pos, GtkNotebook::tab_border, GtkNotebook::show_tabs,
              GtkNotebook::show_border, GtkNotebook::scrollable and GtkNotebook::page.
              begun implementation of child args, we have GtkNotebook::tab_label, but
              GtkNotebook::menu_label and GtkNotebook::position still lack the
              implementation.
              (gtk_notebook_remove_page):
              (gtk_notebook_current_page): allow negative indices (-1) as alias for
              the last page.
      
              * gtk/gtkentry.h:
              * gtk/gtkentry.c: GtkType and macro fixups. implementation of object
              arguments GtkEntry::max_length and GtkEntry::visibility.
              (gtk_entry_adjust_scroll): queue a redraw.
      
              * gtk/gtkeditable.h:
              * gtk/gtkeditable.c: GtkType und macro fixups. implementation of
              object arguments GtkEditable::text_position and GtkEditable::editable.
              new (action) signal GtkEditable::set_editable.
              provide a default handler for GtkEditable::changed that queues a redraw.
      
              * gtk/gtktext.h:
              * gtk/gtktext.c: GtkType und macro fixups. override GtkEditable::
              set_editable.
      81517a6d
    • Elliot Lee's avatar
      Make gdk_window_foreign_new fail gracefully · 5e3acecc
      Elliot Lee authored
      5e3acecc
    • Lars Hamann's avatar
      fix for sigsegv in case of drag_target == NULL fix for · 8f733319
      Lars Hamann authored
      * gtk/gtkctree.c (gtk_ctree_button_release): fix for sigsegv in
        case of drag_target == NULL
      * gtk/gtkclist.c (gtk_clist_button_press): fix for GTK_2/3BUTTON_PRESS.
        Clist did not emit an select_row signal in case of GTK_2/3BUTTON_PRESS.
      * gtk/gtkfilesel.c (gtk_file_selection_file_button,
        gtk_dir_selection_file_button): fix due to changes in clist's
        select_row signal.
      8f733319
    • Tim Janik's avatar
      handle negative values similar to gtk_widget_set_uposition(). that is: · af24aef7
      Tim Janik authored
      Thu Jul 16 01:27:15 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwidget.h:
              * gtk/gtkwidget.c (gtk_widget_set_usize): handle negative values
              similar to gtk_widget_set_uposition(). that is: -1=unspecified,
              -2=leave untouched. changed the width/height field of GtkWidgetAuxInfo
              to be gint16s rather than guint16s, since that's what the code expected
              (for a long time actually).
      
              * gtk/gtkviewport.c:
              added support for object arguments: GtkViewport::shadow_type,
              GtkViewport::vadjustment and GtkViewport::hadjustment.
              (gtk_viewport_add): chain gtk_bin_add.
      
              * gtk/gtkscrolledwindow.c:
              added support for object argument: GtkScrolledWindow::hscrollbar_policy,
              GtkScrolledWindow::vscrollbar_policy and GtkScrolledWindow::viewport.
      
              * gtk/gtkadjustment.h:
              * gtk/gtkadjustment.c:
              * gtk/gtkctree.h:
              * gtk/gtkclist.h:
              * gtk/gtkctree.c:
              * gtk/gtkclist.c:
              * gtk/gtkscrolledwindow.h:
              * gtk/gtkscrolledwindow.c:
              * gtk/gtkviewport.h:
              * gtk/gtkviewport.c:
              GtkType and macro fixups.
      af24aef7
  11. 15 Jul, 1998 3 commits