1. 05 Aug, 1998 3 commits
    • 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
    • PDT 1998 Shawn T. Amundson's avatar
      Released GTK+ 1.1.1 · e48d4e71
      PDT 1998 Shawn T. Amundson authored
      Tue Aug  4 22:02:49 PDT 1998 Shawn T. Amundson <amundson@gtk.org>
      
              * Released GTK+ 1.1.1
      e48d4e71
    • Lars Hamann's avatar
      changed to return a gboolean (gtk_ctree_insert_gnode): new function for · e3b8e185
      Lars Hamann authored
      Wed Aug  5 02:57:20 1998  Lars Hamann  <lars@gtk.org>
      
              * gtk/gtkctree.h:
              * gtk/gtkctree.c:
              (gtk_ctree_find): changed to return a gboolean
              (gtk_ctree_insert_gnode): new function for recursive insertion of a
              GNode tree.
              (gtk_ctree_real_select_recursive): fix for extended selection
              (gtk_ctree_sort_recursive): in case node == NULL, sort root nodes too.
              (gtk_ctree_set_node_info) (set_node_info): few fixes for expanded flag
      e3b8e185
  2. 04 Aug, 1998 4 commits
  3. 03 Aug, 1998 2 commits
  4. 02 Aug, 1998 3 commits
  5. 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
  6. 30 Jul, 1998 1 commit
  7. 29 Jul, 1998 2 commits
  8. 28 Jul, 1998 2 commits
  9. 27 Jul, 1998 5 commits
    • BST 1998  Tony Gale's avatar
      GtkTree section from David Huggins-Daines <bn711@freenet.carleton.ca>, add · 49fdaf4f
      BST 1998 Tony Gale authored
      Mon Jul 27 09:18:13 BST 1998  Tony Gale  <gale@gtk.org>
      
              * docs/gtk_tut.sgml: GtkTree section from
                David Huggins-Daines <bn711@freenet.carleton.ca>,
                add a GtkText widget example
              * examples/text/* example/tree/* : new examples for the
                GtkTree and GtkText widgets
              * docs/gtk_tut.sgml: added an appendix to hold complete code                          examples that aren't in a full form elsewhere in the
                tutorial (e.g. scribble)
      49fdaf4f
    • BST 1998  Tony Gale's avatar
      GtkTree section from David Huggins-Daines <bn711@freenet.carleton.ca>, add · 88645348
      BST 1998 Tony Gale authored
      Mon Jul 27 09:18:13 BST 1998  Tony Gale  <gale@gtk.org>
      
              * docs/gtk_tut.sgml: GtkTree section from
                David Huggins-Daines <bn711@freenet.carleton.ca>,
                add a GtkText widget example
              * examples/text/* example/tree/* : new examples for the
                GtkTree and GtkText widgets
      88645348
    • CDT 1998 Shawn T. Amundson's avatar
      Released GTK+ 1.1.0 · 718259dc
      CDT 1998 Shawn T. Amundson authored
      Mon Jul 27 00:46:21 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
      
              * Released GTK+ 1.1.0
      718259dc
    • Tim Janik's avatar
      revamped the definitions for 1-1-0, so that all the new API stuff is · f111f4b5
      Tim Janik authored
      Mon Jul 27 04:18:26 1998  Tim Janik  <timj@gtk.org>
      
              * gtkfeatures.h.in: revamped the definitions for 1-1-0, so that all
              the new API stuff is reflected in one #define GTK_HAVE_FEATURES_1_1_0.
      f111f4b5
    • 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
  10. 26 Jul, 1998 2 commits
    • Stefan Jeske's avatar
      --- · a7f95d98
      Stefan Jeske authored
      a7f95d98
    • 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
  11. 25 Jul, 1998 2 commits
  12. 24 Jul, 1998 2 commits
  13. 22 Jul, 1998 3 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
  14. 21 Jul, 1998 4 commits
  15. 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
  16. 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