1. 21 Sep, 1998 5 commits
  2. 20 Sep, 1998 6 commits
  3. 19 Sep, 1998 1 commit
  4. 18 Sep, 1998 3 commits
  5. 17 Sep, 1998 5 commits
    • Manish Singh's avatar
      shutup CVS further · eb0fec78
      Manish Singh authored
      -Yosh
      eb0fec78
    • Raja R Harinath's avatar
      Move `gtkfeature.h' ... (gtkinclude_HEADERS): ... here. (gtk.defs): Pass · 44557367
      Raja R Harinath authored
      * gtk/Makefile.am (source_headers): Move `gtkfeature.h' ...
      (gtkinclude_HEADERS): ... here.
      (gtk.defs): Pass `g' flag to sed, to replace all occurances.
      44557367
    • Raph Levien's avatar
    • Owen Taylor's avatar
      Update to libtool-1.2b, change library versioning scheme to drop · 486362db
      Owen Taylor authored
      Tue Sep 15 14:57:30 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* Makefile.am gtk-config.in l*: Update to libtool-1.2b,
      	change library versioning scheme to drop LT_RELEASE
      	from the -l line, while keeping it in the soname.
      
      Tue Sep 15 14:10:33 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in Makefile.in: define a MAINT-like variable REBUILD
      	which is set if Perl and awk are found, and autogenerated sources
      	can be rebuilt. Remove the auto-generated sources from
      	CVS.
      
      	Add dependencies so that the autogenerated sources are
      	rebuilt if the files they depend on change.
      	(This unfortunately currently results in the entire
      	gtk/ directory being rebuilt when any header changes.
      	Moving all enums to gtkenums.h would fix this.)
      486362db
    • Tim Janik's avatar
      added gtk_object_set_data_destroy and gtk_object_set_data_destroy_by_id · ee1b9618
      Tim Janik authored
      Thu Sep 17 05:12:48 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkobject.h: added gtk_object_set_data_destroy and
              gtk_object_set_data_destroy_by_id functions to set the destroy
              function pointer for an existing data portion.
      
              * gtk/gtkobject.c: removed the GtkObjectData implementation and
              made all gtk_object_*data* functions use the GLib equivalents.
      ee1b9618
  6. 16 Sep, 1998 2 commits
  7. 15 Sep, 1998 3 commits
    • Owen Taylor's avatar
      Reverted global changes of g_new to malloc(), added back in the one place · eacc9f5d
      Owen Taylor authored
      Tue Sep 15 13:09:24 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkimage.c (gdk_image_new): Reverted global changes
      	of g_new to malloc(), added back in the one place where
      	it actually mattered. #include <stdlib.h>.
      
      	* gdk/gdkrgb.c: g_malloc() to malloc() as above.
      eacc9f5d
    • Owen Taylor's avatar
      Don't request a new size from the WM if we asked for the same size before · a2524578
      Owen Taylor authored
      Tue Sep 15 11:06:13 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwindow.c (gtk_window_move_resize): Don't request
      	a new size from the WM if we asked for the same size
      	before and our request was rejected.
      
      	* gtk/gtkwindow.c (gtk_window_configure_event): If
      	in response to a request, we get a configure event
      	with unchanged dimensions, send a synthetic expose
      	since ForgetGravity won't expose our window.
      
      Mon Sep 14 14:28:24 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktext.c (adjust_adj): Change the way we
      	set the adjustments on resize so that it tries to
      	keep the beginning of the text in approximately
      	the same place.
      
      	Removed assertion that the above change made invalid.
      a2524578
    • CDT 1998 Shawn T. Amundson's avatar
      changed g_new()s to malloc()s and g_free()s to free()s to avoid mixing · c2f99dd1
      CDT 1998 Shawn T. Amundson authored
      Mon Sep 14 21:47:35 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
      
              * gdk/gdkimage.c: changed g_new()s to malloc()s and
                g_free()s to free()s to avoid mixing g_new()s with
                free()s.  X itself uses free() on some of the
                malloced memory.
      c2f99dd1
  8. 12 Sep, 1998 1 commit
    • Owen Taylor's avatar
      at Sep 12 10:44:06 1998 Owen Taylor <otaylor@redhat.com> · fb00a59c
      Owen Taylor authored
      	* gtkfilesel.c: Maintain a list of directories like
      	/afs we know contain only directories, and avoid
      	stat'ing files in those directories. (Because
      	stat'ing all files in /afs is extremely expensive)
      
      	To support automounters, try to open directories,
      	even if we couldn't find them when reading their
      	parent directory.
      fb00a59c
  9. 11 Sep, 1998 2 commits
  10. 09 Sep, 1998 1 commit
    • Manish Singh's avatar
      added -posix check for NeXTStep · 683cb575
      Manish Singh authored
      * configure.in: added -posix check for NeXTStep
      
      * gtk/testthreads.c: applied part of gtk-joke-980907-0 to use
      a unique buffer for each thread.
      
      * docs/gtk-config.1: clarified copyright
      
      -Yosh
      683cb575
  11. 08 Sep, 1998 3 commits
  12. 07 Sep, 1998 1 commit
  13. 06 Sep, 1998 1 commit
  14. 05 Sep, 1998 2 commits
    • Owen Taylor's avatar
      When the pointer is grabbed on an input window, either explicitely, or · 51021f88
      Owen Taylor authored
      Sat Sep  5 16:01:19 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gdk/gdkinputxfree.h gdk/gdk.c gdk/gdkinputgxi.h:
      	When the pointer is grabbed on an input window,
      	either explicitely, or through press-grab, and
      	then grabbed on a non-input window, ungrab the
      	devices.
      51021f88
    • Tim Janik's avatar
      don't include any gdk headers. added structure definitions for · 78dbc1ef
      Tim Janik authored
      Sat Sep  5 07:13:19 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtktypeutils.h: don't include any gdk headers.
              added structure definitions for GtkTypeObject and GtkTypeClass,
              which cover the very basic fields of GtkObject and GtkObjectClass,
              which are actually used by the type system.
      
              * gtk/gtktypeutils.c: don't include gtkobject.h or gtkcontainer.h,
              we only refer to our own structures. improved class inheritance
              sanity checking a bit.
      
              * gtk/gtkobject.h: placed appropriate comments at the beginnings
              of the GtkObject and GtkObjectClass structures, which explain
              their relationship to GtkTypeObject and GtkTypeClass.
      
              * gtk/gtktypeutils.h:
              * gtk/gtkobject.h:
              moved GTK_STRUCT_OFFSET(), GTK_CHECK_CAST(), GTK_CHECK_CLASS_CAST(),
              GTK_CHECK_TYPE() and GTK_CHECK_CLASS_TYPE() macro definitions from
              gtkobject.h to gtktypeutils.h.
      
              * gtk/gtkobject.h:
              * gtk/gtkobject.c:
              removed gtk_object_check_cast() and gtk_object_check_class_cast()
              functions. to keep source compatibility, we can provide macro aliases
              for the corresponding gtk_type_* functions. but then again, people
              shouldn't have been using these functions anyways since they were part
              of Gtk's internal API.
      
              * gtk/gtktypeutils.h:
              * gtk/gtktypeutils.c:
              implemented gtk_type_check_object_cast() and gtk_type_check_class_cast()
              functions to check GtkTypeObject and GtkTypeClass types.
      78dbc1ef
  15. 03 Sep, 1998 4 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
    • Raph Levien's avatar
      Fixed up some of the bigendian 32bpp modes. · ebe76c75
      Raph Levien authored
      ebe76c75
    • Tim Janik's avatar
      plug another small GtkSIgnalQuery leak. · 75bda507
      Tim Janik authored
      Thu Sep  3 04:45:57 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkaccelgroup.c (gtk_accel_group_add): plug another small
              GtkSIgnalQuery leak.
      75bda507
    • 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