1. 04 Oct, 1998 1 commit
    • Martin Baulig's avatar
      Added `visible'. · a9c05acd
      Martin Baulig authored
      1998-10-01  Martin Baulig  <martin@home-of-linux.org>
      
      	* gtk/gtkclist.h (GtkCListColumn): Added `visible'.
      
      	* gtk/gtkclist.c (gtk_clist_set_column_visibility): New function.
      	Makes it possible to individually show and hide columns.
      	(size_allocate_columns): Adapted to keep track of hidden columns.
      	(size_allocate_title_buttons): Likewise.
      a9c05acd
  2. 01 Oct, 1998 1 commit
    • Tim Janik's avatar
      new function. (gtk_clist_insert): added g_return_val_if_fail() statements. · b89ed0c3
      Tim Janik authored
      Thu Oct  1 10:40:20 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkclist.h (gtk_clist_prepend):
              * gtk/gtkclist.c (gtk_clist_prepend): new function.
              (gtk_clist_insert): added g_return_val_if_fail()
              statements. accept a row parameter < 0 or > clist->rows to indicate
              append mode.
              (real_clear): first clean up all internal pointers and lists (e.g.
              clist->row_list or clist->rows), then delete the distinct rows. this
              is required because of destroy notifiers, we need to have all internal
              structures updated and be reentrant.
      
              * gtk/gtkcalendar.h:
              * gtk/gtkcalendar.c: removed the `gtk_calendar_' prefix from the
              GtkCalendarClass signal methods.
              GtkType and macro fixups, put `void' into () prototypes, avoid C++
              style comments, indentation fixes, fixed some g_return_if_fail()
              statements.
              (gtk_calendar_paint_header):
              (gtk_calendar_paint_day_names):
              (gtk_calendar_paint_week_numbers):
              (gtk_calendar_paint_main): made these static functions.
              (gtk_calendar_select_month):
              (gtk_calendar_select_day):
              (gtk_calendar_mark_day):
              (gtk_calendar_unmark_day):
              (gtk_calendar_get_date): signedness corrections, use guints
              rather than gints.
              (gtk_calendar_size_request): removed unused variables.
      b89ed0c3
  3. 26 Sep, 1998 1 commit
    • Tim Janik's avatar
      adde g_return_if_fail() statements. · fbe8f918
      Tim Janik authored
      Sat Sep 26 06:15:34 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkclist.c (gtk_clist_sort):
              (gtk_clist_clear):
              (gtk_clist_unselect_all):
              (gtk_clist_select_all): adde g_return_if_fail() statements.
      fbe8f918
  4. 23 Sep, 1998 1 commit
    • Tim Janik's avatar
      update to Gtk+ version 1.1.3, binary age 1, interface age 1. · 416b69a2
      Tim Janik authored
      Wed Sep 23 06:09:19 1998  Tim Janik  <timj@gtk.org>
      
              * configure.in: update to Gtk+ version 1.1.3, binary age 1,
              interface age 1.
      
              * gtk/gtkobject.c
              (gtk_object_ref):
              (gtk_object_unref): check for ->ref_count to be greater than 0 (the
              existing code was buggy in letting ->ref_count==0 pass through and
              then failing the living_objs_ht assertion).
      
              * gtk/gtkclist.c (draw_row): fix chopping bug for right justified
              pixtext fields (Roman Pozlevich <roma@botik.ru>).
      416b69a2
  5. 11 Sep, 1998 1 commit
    • Lars Hamann's avatar
      new function to set/unset the selectable flag of a single row. · cb7c4d6c
      Lars Hamann authored
      * gtk/gtkclist.c (gtk_clist_set_selectable): new function
        to set/unset the selectable flag of a single row.
        (gtk_clist_get_selectable): new function
        to get the state of the selectable flag
      
      * gtk/gtkctree.c (gtk_ctree_node_set_selectable)
        (gtk_ctree_node_get_selectable): clist analogons
      cb7c4d6c
  6. 03 Sep, 1998 2 commits
    • Tim Janik's avatar
      `const' fixups. · 0f0d9509
      Tim Janik authored
      Thu Sep  3 07:16:54 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkctree.h:
              * gtk/gtkctree.c: `const' fixups.
      
              * gtk/gtkclist.h:
              * gtk/gtkclist.c: `const' fixups and some coding style adaptions.
      
              * gtk/gtkctree.c (gtk_ctree_insert_node): don't dereference *text
              if it is passed as NULL.
      0f0d9509
    • Tim Janik's avatar
      GTK_MENU_DIR_CHILD: check for the existance of · 698c89e5
      Tim Janik authored
      Thu Sep  3 04:22:20 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current):
              GTK_MENU_DIR_CHILD: check for the existance of
              menu_shell->active_menu_item before accessing its child.
              GTK_MENU_DIR_PREV:
              GTK_MENU_DIR_NEXT: if we haven't had an active item and still
              don't, make a default selection.
      
      Wed Sep  2 00:28:58 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwidget.c (gtk_widget_propagate_state): iterate
              the children with _forall for sensitivity changes and with
              _foreach on pure state changes. this fixes a lot of the
              old inclusions of internal widgets into _foreach calls.
      
              * gtk/gtktree.c: removed gtk_tree_foreach, let gtk_tree_forall
              do the work. don't walk the subtrees of first level children.
      
              * gtk/gtktreeitem.c: provide a _forall implementation,
              which walks the subtrees as well for include_internals.
      
              * gtk/gtkmenuitem.c: provide a _forall implementation, which walks
              the submenus as well for include_internals.
      
              * gtk/gtkscrolledwindow.c: removed gtk_scrolled_window_foreach and
              implemented gtk_scrolled_window_forall, which will iterate over
              the viewport and the scrollbars for gtk_container_forall or
              iterate over the viewports children for gtk_container_foreach.
      
              * gtk/gtktoolbar.c:
              * gtk/gtktable.c:
              * gtk/gtkpaned.c:
              * gtk/gtkpacker.c:
              * gtk/gtkmenushell.c:
              * gtk/gtklist.c:
              * gtk/gtkfixed.c:
              * gtk/gtkclist.c:
              * gtk/gtkbox.c:
              * gtk/gtkbin.c:
              * gtk/gtknotebook.c:
              removed the old gtk_*_foreach functions and provided gtk_*_forall.
      
              * gtk/gtknotebook.c:
              (gtk_notebook_real_switch_page): expose tabs.
              (gtk_notebook_page_num): new function to return the page number
              of a distinct child.
              (gtk_notebook_focus): minor fixups. foxus handling is still screwed
              under some circumstances.
      
              * gtk/gtktreeitem.c:
              (gtk_real_tree_item_select):
              (gtk_real_tree_item_deselect): major fixes.
              some general fixups wrt queue_redraw, and tree items not being
              NO_WINDOW widgets.
      
              * gtk/gtklistitem.c:
              (gtk_real_list_item_select):
              (gtk_real_list_item_deselect):
              (gtk_real_list_item_toggle):
              removed unneccessary queue_redraw calls.
      
      Wed Aug 30 09:42:07 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkoptionmenu.c: allow optionmenus to have the focus and
              automatically popup the menu on space bar.
      
      Wed Aug 26 06:40:34 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkcontainer.h:
              * gtk/gtkcontainer.c: implemented gtk_container_forall() (as a class
              method), which acts similar to gtk_container_foreach(), but iterates
              over internal children. the GtkContainer::foreach signal vanished in
              favour of a new class method ->forall() that optionally includes
              internal widgets.
      
              * gtk/gtkclist.c (gtk_clist_init): provide no _foreach implementation
              but a _forall implementation, since all child widgets we have are
              internal ones.
              (column_button_create): set the parent window prior
              to gtk_widget_set_parent().
      
              * gtk/gtkwidget.c:
              exchanged all calls to gtk_container_foreach() with
              gtk_container_forall().
      
              * gtk/gtkwidget.h:
              * gtk/gtkwidget.c: added the GTK_COMPOSITE_CHILD, exported through
              the GtkWidget::composite_child argument. to have a widget created
              with the flag initially, two new functions got added to wrap a widgets
              creation:
              gtk_widget_push_composite_flag() and gtk_widget_pop_composite_flag().
      
      Wed Aug 25 23:37:39 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtktooltips.h:
              * gtk/gtktooltips.c: exported gtk_tooltips_create_window() as
              gtk_tooltips_force_window(), so tooltips->tip_window can be accessed
              prior to the first tip being set.
              don't put an extra reference on the window, since it is a toplevel,
              it wont get destroyed from anywhere else.
      
              * overall macro and GtkType fixups.
      698c89e5
  7. 24 Aug, 1998 1 commit
    • Manish Singh's avatar
      removed some unused variables · b93d6892
      Manish Singh authored
      * gdk/gdkrgb.c: removed some unused variables
      
      * gtk/gtkclist.c
      * gtk/gtkmain.c: #if 0'd out some unused code
      
      * gtk/gtkobject.c: check for NULL object hash table in gtk_object_debug
      
      -Yosh
      b93d6892
  8. 17 Aug, 1998 2 commits
    • Lars Hamann's avatar
      new class methods: (sort_list) (insert_row) (remove_row) · 17d141c8
      Lars Hamann authored
      Tue Aug 18 00:29:13 1998  Lars Hamann  <lars@gtk.org>
      
              * gtk/gtkclist.h:
              (struct _GtkCListClass): new class methods:
              (sort_list) (insert_row) (remove_row) (set_cell_contents)
      
              * gtk/gtkclist.c :
              (cell_empty) (cell_set_text) (cell_set_pixmap) (cell_set_pixtext):
              removed and replaced by (set_cell_contents)
              (set_cell_contents): function for class method set_cell_contents
              (real_insert_row): function for class method insert_row
              (real_remoce_row): function for class method remove_row
              (real_sort_list): function for class method sort_list
              (default_compare): fix to avoid problems with cell types != CELL_TEXT
      
              * gtk/gtkctree.h :
              (gtk_ctree_export_to_gnode): new function to export a ctree as gnode
              (gtk_ctree_node_is_visible): new function to return visibility state
              of a node
      		(gtk_ctree_show_stub): new function to set visibility of root stub
      
              renamed functions :
              (gtk_ctree_insert) -> (gtk_ctree_insert_node)
              (gtk_ctree_remove) -> (gtk_ctree_remove_node)
              (gtk_ctree_find_glist_ptr) -> (gtk_ctree_find_node_ptr)
              (gtk_ctree_set_text) -> (gtk_ctree_node_set_text)
              (gtk_ctree_set_pixmap) -> (gtk_ctree_node_set_pixmap)
              (gtk_ctree_set_pixtext) -> (gtk_ctree_node_set_pixtext)
              (gtk_ctree_set_shift) -> (gtk_ctree_node_set_shift)
              (gtk_ctree_get_cell_type) -> (gtk_ctree_node_get_cell_type)
              (gtk_ctree_get_text) -> (gtk_ctree_node_get_text)
              (gtk_ctree_get_pixmap) -> (gtk_ctree_node_get_pixmap)
              (gtk_ctree_get_pixtext) -> (gtk_ctree_node_get_pixtext)
              (gtk_ctree_set_foreground) -> (gtk_ctree_node_set_foreground)
              (gtk_ctree_set_background) -> (gtk_ctree_node_set_background)
              (gtk_ctree_set_row_data) -> (gtk_ctree_node_set_row_data)
              (gtk_ctree_set_row_data_full) -> (gtk_ctree_node_set_row_data_full)
              (gtk_ctree_get_row_data) -> (gtk_ctree_node_get_row_data)
              (gtk_ctree_moveto) -> (gtk_ctree_node_moveto)
              (gtk_ctree_sort) -> (gtk_ctree_sort_node)
      		(gtk_ctree_is_visibe) -> (gtk_ctree_is_viewable)
      
              * gtk/gtkctree.c :
              (cell_empty) (cell_set_text) (cell_set_pixmap) (cell_set_pixtext):
              removed and replaced by (set_cell_contents)
              (set_cell_contents): function for class method set_cell_contents
              (real_insert_row): function for class method insert_row
              (real_remoce_row): function for class method remove_row
              (real_sort_list): function for class method sort_list
              (default_compare): removed. CTree now also compares two GtkCTreeRows
              instead of two GtkCTreeNodes.
              (gtk_ctree_unlink): call gtk_ctree_collapse if parent is empty after
              unlinking the node
              (real_tree_expand) (real_tree_collapse): fix for refcounting of
              node pixmaps
              (set_node_info): call gtk_ctree_node_set_pixtext instead of
              manipulating the row itself
      
              * gtk/testgtk.c: use renamed functions of GtkCTree.
              new sample to show gtk_ctree_export_to_gnode and gtk_ctree_insert_gnode
              at work.
      17d141c8
    • Tim Janik's avatar
      removed gtk_input_add_interp. · 47215ba4
      Tim Janik authored
      Mon Aug 17 15:31:38 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmain.c: removed gtk_input_add_interp.
      
              * gtk/gtkeditable.c (gtk_editable_set_position): fixed bogus "return"
              keyword.
              (gtk_editable_get_event_time): fix default: case.
      
              * gtk/gtkclist.c (gtk_clist_swap_rows): fixes for lvalue casts.
      
              * gdk/gdkpixmap.c: made a bunch of unexported functions static.
      
              * gdk/gdkcolor.c:
              * gdk/gdkvisual.c: include "gdkx.h", since it exports prototypes
              of our functions.
      
              * various minor compilation cleanups, such as bogus commas in
              enums and similar things.
      
      M
      47215ba4
  9. 10 Aug, 1998 1 commit
  10. 06 Aug, 1998 2 commits
  11. 05 Aug, 1998 1 commit
    • Stefan Jeske's avatar
      new enum GtkSortType. · c8df83a2
      Stefan Jeske authored
      Wed Aug  5 21:12:37 1998  Stefan Jeske  <stefan@gtk.org>
      
      	* gtk/gtkenums.h: new enum GtkSortType.
      
      	* gtk/gtkclist.h:
      	* gtk/gtkclist.c:
      	Added sorting capabilities to GtkCList. New APIs :
      	gtk_clist_set_compare_func, gtk_clist_set_sort_column,
      	gtk_clist_set_sort_type, gtk_clist_sort, gtk_clist_set_auto_sort.
      	New internal functions : default_compare, merge, mergesort.
      
      	(gtk_clist_append): This is just a wrapper for gtk_clist_insert now.
      
      	(gtk_clist_insert): Modified to handle gtk_clist_append and the
      	auto sort flag. Changed the return value from void to gint to
      	return the row number where the element was actually inserted.
      
      	(gtk_clist_swap_rows): Return immediately if auto sort flag is set.
      
      	* gtk/gtkctree.h:
      	* gtk/gtkctree.c:
      	Removed the auto_sort flag, replaced ctree->node_compare with
      	clist->compare all over the place, modified default_compare to
      	match clist's needs. Removed APIs : gtk_ctree_set_auto_sort,
      	gtk_ctree_set_compare_func. Removed GtkCTreeCompareFunc typedef.
      
      	* gtk/testgtk.c: Modified clist/ctree samples to demonstrate
      	sorting. The lists can be sorted by a column by clicking the
      	corresponding title button.
      c8df83a2
  12. 03 Aug, 1998 2 commits
  13. 02 Aug, 1998 1 commit
  14. 31 Jul, 1998 1 commit
    • Lars Hamann's avatar
      Few fixes for column resize. Store resize column in clist->drag_pos. · 8ad52d10
      Lars Hamann authored
      Fri Jul 31 20:45:07 1998  Lars Hamann  <lars@gtk.org>
      
              * gtk/gtkclist.c (gtk_clist_button_press) (gtk_clist_motion)
              (gtk_clist_button_release) (new_column_width): Few fixes for
              column resize. Store resize column in clist->drag_pos.
      
      Thu Jul 31 15:18:36 1998  Lars Hamann  <lars@gtk.org>
      
              * gtk/gtkctree.h
              * gtk/gtkctree.c
              * gtk/testgtk.c : New typedef GtkCTreeNode, changed all GList *node
              to GtkCTreeNode *node.
      
              * gtk/gtklist.h : added extended selection mode and auto scrolling.
              (struct _GtkList): removed unneeded variables timer, button,
              selection_start_pos, selection_end_pos, scroll_direction, have_grab.
              Added new variables undo_selection, undo_unselection, last_focus_child,
              undo_focus_child, htimer, vtimer, anchor, drag_pos, anchor_state,
              drag_selection, add_mode.
      
              New functions :
              (gtk_list_extend_selection), (gtk_list_start_selection),
              (gtk_list_end_selection), (gtk_list_select_all),
              (gtk_list_unselect_all), (gtk_list_scroll_horizontal),
              (gtk_list_scroll_vertical), (gtk_list_toggle_add_mode),
              (gtk_list_toggle_focus_row), (gtk_list_toggle_row),
              (gtk_list_undo_selection), (gtk_list_end_drag_selection)
      
              * gtk/gtklist.c :
              (gtk_list_enter_notify): removed, because auto scrolling now works
              with gtk_list_motion_notify
      
              New functions, needed for auto scrolling :
              (gtk_list_motion_notify) (gtk_list_move_focus_child)
      
              New functions for extended selection support :
              (gtk_list_set_anchor), (gtk_list_fake_unselect_all),
              (gtk_list_fake_toggle_row), (gtk_list_update_extended_selection),
              (gtk_list_focus_lost)
      
              (gtk_list_set_focus_child): modified gtk_container_set_focus_child
              function to support auto scrolling, and avoid out-of-sync errors in
              case auf GTK_SELECTION_BROWSE
              (gtk_list_focus): modified gtk_container_focus function to avoid out
              off sync errors in case auf GTK_SELECTION_EXTENDED
      
              * gtk/gtklistitem.h
              * gtk/gtklistitem.c :
              New signal functions for key binding support :
              (toggle_focus_row), (select_all), (list_item), (unselect_all)
              (list_item), (undo_selection), (start_selection), (end_selection)
              (extend_selection), (scroll_horizontal), (scroll_vertical),
              (toggle_add_mode)
              (gtk_list_item_realize): added  GDK_KEY_PRESS_MASK |
              GDK_KEY_RELEASE_MASK
              (gtk_list_item_draw_focus): modify gc if parent has add_mode set.
      
              * gtk/gtkcombo.c :
              (gtk_combo_popup_button_press):  grab pointer for combo->list
              (gtk_combo_button_release): ungrab only if combo->popwin HAS_GRAB
              (gtk_combo_list_key_press): take care of which child HAS_GRAB
              (gtk_comb_init): don't connect combo->button with button_release_event
      8ad52d10
  15. 30 Jul, 1998 1 commit
  16. 29 Jul, 1998 1 commit
  17. 27 Jul, 1998 1 commit
    • Tim Janik's avatar
      fixup, so that enum values are looked up. · fc7c7f46
      Tim Janik authored
      Mon Jul 27 03:11:20 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkbindings.c (binding_compose_params): fixup, so that enum
              values are looked up.
      
              * gtk/gtktypeutils.h:
              * gtk/gtktypeutils.c: new functions gtk_type_flags_find_value and
              gtk_type_enums_find_value to lookup enum values.
      
              * gtk/gtkctree.h:
              * gtk/gtkctree.c: change enum name from GtkCTreeExpansion to
              GtkCTreeExpansionType. fixed signal creations to pass the enum
              types not just the base type GTK_TYPE_ENUM.
      
              * gtk/gtkclist.h:
              * gtk/gtkclist.c: fixed signal creations to pass the real enum
              types not just the base type GTK_TYPE_ENUM.
      fc7c7f46
  18. 26 Jul, 1998 2 commits
    • Lars Hamann's avatar
      little fix to avoid warnings · 656061cb
      Lars Hamann authored
      * gtk/gtkclist.c gtk/gtkctree.c : little fix to avoid warnings
      656061cb
    • 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
  19. 25 Jul, 1998 1 commit
    • Lars Hamann's avatar
      test for node != NULL (gtk_ctree_is_visible) (gtk_ctree_realize) · 165fab76
      Lars Hamann authored
      * gtk/gtkctree.c (gtk_ctree_sort_recursive)
        (gtk_ctree_sort_recursive): test for node != NULL
        (gtk_ctree_is_visible) (gtk_ctree_realize) (gtk_ctree_unrealize)
        (gtk_ctree_last) : added sanity checks
      * gtk/gtkclist.c (gtk_clist_button_press): removed "no_focus_row"
      165fab76
  20. 24 Jul, 1998 1 commit
  21. 21 Jul, 1998 1 commit
    • Elliot Lee's avatar
      Use common marshalling routines instead of having widget-private ones. It · 7c30f2a1
      Elliot Lee authored
      
      
      Use common marshalling routines instead of having widget-private ones.
      It compiles & links.
      
      testgtk segfaults. I'm convinced that is Somebody Else's Problem
      (marshalling routine gets func_data=0x0 and blithely passes it on) but the
      fact that it happens now & not before makes me wrong :-)
      7c30f2a1
  22. 19 Jul, 1998 1 commit
  23. 17 Jul, 1998 1 commit
  24. 16 Jul, 1998 2 commits
    • 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
  25. 15 Jul, 1998 1 commit
    • Lars Hamann's avatar
      Added focus handling, horizontal and vertical autoscrolling, extended · 8b9b7b9d
      Lars Hamann authored
      * gtk/gtkctree.h :
      * gtk/gtkctree.c :
        Added focus handling, horizontal and vertical autoscrolling,
        extended Selection Mode, key bindings
        Added gtk_ctree_toggle_expansion & gtk_ctree_toggle_expansion_recursive
        Changed gtk_ctree_scroll_to to gtk_ctree_moveto.
        Removed gtk_ctree_clear.
      
      * gtk/gtkclist.h :
      * gtk/gtkclist.c :
        Added focus handling, horizontal and vertical autoscrolling,
        extended Selection Mode, key bindings
      8b9b7b9d
  26. 07 Jul, 1998 1 commit
    • Tim Janik's avatar
      totaly binary incomnpatible change: · 88fba9f8
      Tim Janik authored
      
      Mon Jul  6 18:30:48 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkbutton.h:
              * gtk/gtkbutton.c: GtkButtons are now derived from GtkBin. we mirror
              GTK_BIN (button)->child to button->child to keep source compatibility.
      
              * gtk/gtkoptionmenu.c:
              * gtk/gtkclist.c:
              * gtkcheckbutton.c: don't refer to button->child, but
              GTK_BIN (button)->child instead.
      88fba9f8
  27. 04 Jul, 1998 1 commit
  28. 28 Jun, 1998 1 commit
    • Tim Janik's avatar
      call the base class init fucntions from all parent types upon class · e63d08e4
      Tim Janik authored
      Sun Jun 28 04:29:10 1998  Tim Janik  <timj@gtk.org>
      
      	* gtk/gtktypeutils.c (gtk_type_class_init): call the base class init
      	fucntions from all parent types upon class initialization.
      
      	* gtk/gtkcontainer.c:
       	(gtk_container_get_type): announce gtk_container_base_class_init to
       	the type system.
      	(gtk_container_base_class_init): new function to feature base class
      	initialization.
      	(gtk_container_get_child_arg):
      	(gtk_container_set_child_arg): call the GtkContainerClass get_child_arg
      	and set_child_arg methods of the class indicated through the argument
      	name.
      
      	* gtk/gtkobject.c:
      	(gtk_object_base_class_init): new function to feature base class
       	initialization.
      	(gtk_object_init_type): announce gtk_object_base_class_init to the type
      	system.
      	(gtk_object_class_init): setup the get_arg and set_arg pointers for
      	GtkObjectClass.
      	(gtk_object_setv):
       	(gtk_object_getv): call the GtkObjectClass get_arg and set_arg methods,
       	instead of bothering the type system with this.
      
      	* gtk/gtkaccellabel.c:
      	* gtk/gtkbutton.c:
      	* gtk/gtkradiobutton.c:
      	* gtk/gtktable.c:
      	* gtk/gtktogglebutton.c:
      	* gtk/gtktipsquery.c:
      	* gtk/gtkbox.c:
      	* gtk/gtkpacker.c:
      	* gtk/gtkwidget.c:
      	* gtk/gtkwindow.c:
      	* gtk/gtkframe.c:
      	* gtk/gtkmisc.c:
      	* gtk/gtklabel.c: set the object_class->{g|s}et_arg pointers to the
      	corresponding gtk_*_{g|s]et_arg functions and updated the gtk_*_get_type
      	functions wrt GtkTypeInfo initialization. changed a lot of the set/get
      	arg functions to take a GtkObject argument.
      
      	gtk/gtkadjustment.c:
      	gtk/gtkalignment.c:
      	gtk/gtkarrow.c:
      	gtk/gtkaspectframe.c:
      	gtk/gtkbbox.c:
      	gtk/gtkbin.c:
      	gtk/gtkcheckbutton.c:
      	gtk/gtkcheckmenuitem.c:
      	gtk/gtkclist.c:
      	gtk/gtkcolorsel.c:
      	gtk/gtkcombo.c:
      	gtk/gtkctree.c:
      	gtk/gtkcurve.c:
      	gtk/gtkdata.c:
      	gtk/gtkdialog.c:
      	gtk/gtkdrawingarea.c:
      	gtk/gtkeditable.c:
      	gtk/gtkentry.c:
      	gtk/gtkeventbox.c:
      	gtk/gtkfilesel.c:
      	gtk/gtkfixed.c:
      	gtk/gtkfontsel.c:
      	gtk/gtkgamma.c:
      	gtk/gtkhandlebox.c:
      	gtk/gtkhbbox.c:
      	gtk/gtkhbox.c:
      	gtk/gtkhpaned.c:
      	gtk/gtkhruler.c:
      	gtk/gtkhscale.c:
      	gtk/gtkhscrollbar.c:
      	gtk/gtkhseparator.c:
      	gtk/gtkimage.c:
      	gtk/gtkinputdialog.c:
      	gtk/gtkitem.c:
      	gtk/gtkitemfactory.c:
      	gtk/gtklist.c:
      	gtk/gtklistitem.c:
      	gtk/gtkmenu.c:
      	gtk/gtkmenubar.c:
      	gtk/gtkmenuitem.c:
      	gtk/gtkmenushell.c:
      	gtk/gtknotebook.c:
      	gtk/gtkoptionmenu.c:
      	gtk/gtkpaned.c:
      	gtk/gtkpixmap.c:
      	gtk/gtkpreview.c:
      	gtk/gtkprogressbar.c:
      	gtk/gtkradiomenuitem.c:
      	gtk/gtkrange.c:
      	gtk/gtkruler.c:
      	gtk/gtkscale.c:
      	gtk/gtkscrollbar.c:
      	gtk/gtkscrolledwindow.c:
      	gtk/gtkseparator.c:
      	gtk/gtkspinbutton.c:
      	gtk/gtkstatusbar.c:
      	gtk/gtktext.c:
      	gtk/gtktoolbar.c:
      	gtk/gtktooltips.c:
      	gtk/gtktree.c:
      	gtk/gtktreeitem.c:
      	gtk/gtkvbbox.c:
      	gtk/gtkvbox.c:
      	gtk/gtkviewport.c:
      	gtk/gtkvpaned.c:
      	gtk/gtkvruler.c:
      	gtk/gtkvscale.c:
      	gtk/gtkvscrollbar.c:
      	gtk/gtkvseparator.c: updated the GtkTypeInfo initialization code to
      	match the modified GtkTypeInfo structure.
      e63d08e4
  29. 16 Jun, 1998 1 commit
  30. 02 Jun, 1998 1 commit
  31. 22 May, 1998 1 commit
  32. 13 May, 1998 1 commit
    • Owen Taylor's avatar
      Fixed up a stat() that Sopwith missed when changing stat => lstat. · 43dfe74c
      Owen Taylor authored
      Tue May 12 19:37:55 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/gtkrc.c (gtk_rc_parse_file): Fixed up a stat()
      	that Sopwith missed when changing stat => lstat.
      
      Tue May 12 19:19:29 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/gtkinputdialog.c gtk/gtkgamma.c gtk/gtkrc.c
      	  gtk/gtkcolorsel.c gtk/gtkclist.c gtk/testgtk.c: Use
      	GPOINTER_TO_INT/GINT_TO_POINTER macros where appropriate.
      
      	* gdk/gdk.c: Print sizeof() results
      	as g_print("%ld", (glong)sizeof(foo)), to deal with
      	sizeof() being long on Alpha's.
      
      	* gtk/testgtk.c: include <string.h> for strlen
      
      Tue May 12 19:22:58 1998  Owen Taylor  <otaylor@gtk.org>
      
       	* glib/glib.h: Added macros G[U]INT_TO_POINTER() and
      	GPOINTER_TO_[U]INT for storing small integers integers
      	inside pointers.
      
      	* glib/testglib.c: Print sizeof() results
      	as g_print("%ld", (glong)sizeof(foo)), to deal with
      	size_t being long on Alpha's.
      43dfe74c
  33. 06 May, 1998 1 commit
  34. 03 May, 1998 1 commit
    • Owen Taylor's avatar
      configure.in acheader.h gdk/gdkwindow.c Check for Shape extension both on · 4851efe2
      Owen Taylor authored
      Sun May  3 13:38:22 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* configure.in acheader.h gdk/gdkwindow.c
      	Check for Shape extension both on the client and server
      	side. (And, more importantly, check for the shape extension
      	so we may include -lXext even when compiling with --disable-xshm)
      
      	Don't set override_redirect on all shaped windows. It isn't
      	necessary.
      
      	* gdk/gdkwindow.c: Set ->colormap to NULL for root
      	and foreign windows. Use this to check if we
      	need to get the colormap from X.
      
      Fri May  1 22:32:47 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/gtkbutton.c (gtk_button_paint): Draw the areas
      	between the default and the button always in GTK_STATE_NORMAL.
      
      	* gtk/gtkrange.c (gtk_range_style_set): Added a style_set
      	callback.
      
      Fri May  1 16:40:57 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gdk/gdkpixmap.c (gdk_pixmap_colormap_create_from_xpmp[_d]):
      	  Fix a buffer overflow on pixmaps that claim to have
      	  more than 31 characters per pixel.
      
      	  (gdk_pixmap_read_string): Don't wrap around strings longer
       	  than half of address space ;-)
      
      	* gtk/gtk[vh]ruler.c gtk/gtkinputdialog.c: Expand some buffers
      	that were used for printing integers.
      
      	* */* (almost):
      
      	Style: All
      	  int foo () { ... }
      	changed to
      	  int foo (void) { ... }
      
      ^^^^^^^ This is why some many files changed
      
      	Even where there were proper prototypes elsewhere.
      
      	* gdk/gxid.c (handle_claim_device): Some extra checks.
      	It isn't safe against being fed bad X id's, but at
      	least it should be safe against deleting all your
      	files.
      4851efe2