1. 01 Dec, 1998 1 commit
  2. 30 Nov, 1998 5 commits
    • Jeff Garzik's avatar
      471afbe6
    • Elliot Lee's avatar
      I submitted this patch twice to gtk-devel-list, and received no comments, · 060978e0
      Elliot Lee authored
      
      
      I submitted this patch twice to gtk-devel-list, and received no comments, so
      am committing it.  Although not exhaustively tested, I have been using this
      gtk+ for a week w/o problems, and I did read the code to ensure that nothing
      ever writes to these data structures. If by chance people encounter SEGV's in
      gtk+ code that is setting values in global data structures, this patch could
      be a possible culprit.
      
      1998-11-30  Elliot Lee  <sopwith@cuc.ml.org>
      
      	* {gdk,gtk}/*.c: Make read-only data structures "static const" to
      	allow them to be shared, mainly including (but not limited to) the
      	GtkTypeInfo structures for each class.
      
      	* gtk/gtkfilesel.c: Add /net to the "leave me alone" directory listing.
      060978e0
    • Jeff Garzik's avatar
      Added initializer to quiet gcc warning. Added assertion to check for null · 58ca2448
      Jeff Garzik authored
      
      Added initializer to quiet gcc warning.
              Added assertion to check for null pointer deref.
      58ca2448
    • Tim Janik's avatar
      merged testgtkrc with the pre-themes one, removed system specific · 0c36e308
      Tim Janik authored
      Mon Nov 30 10:11:29 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/testgtkrc: merged testgtkrc with the pre-themes one, removed
              system specific includes.
      
              * gtk/gtksignal.c: asured that stop and restart emissions are also
              checked and processed for not connected objects. fixed up restart
              emission administration. invoke emission hooks after emission, hooks
              are not supposed to muck around with the current emission, and
              may also not cause emission restarts. fixed up stop emission
              administration.
      0c36e308
    • Tim Janik's avatar
      added an event watcher for enter/leave based on signal emission hooks. · 2c0fc39e
      Tim Janik authored
      Mon Nov 30 06:20:36 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/testgtk.c: added an event watcher for enter/leave based on
              signal emission hooks.
      
              * gtk/gtkobject.c (gtk_object_class_init): made GtkObject::destroy a
              GTK_RUN_NO_HOOKS signal.
      
              * gtk/gtksignal.h:
              * gtk/gtksignal.c: implemented emission hooks, new hooks can be added
              to a signal with gtk_signal_add_emission_hook or
              gtk_signal_add_emission_hook_full, and can be removed again with
              gtk_signal_remove_emission_hook.
      
              * gtk/gtkenums.h: remove GTK_RUN_MASK, since it doesn't represent
              an appropriate mask for signal runtypes for a long time now.
              added GTK_RUN_NO_HOOKS value, which is used to flag signals
              that do not allow the running of signal hooks.
      2c0fc39e
  3. 29 Nov, 1998 4 commits
    • Michael Krause's avatar
      made 'page_num' argument a gint: switch_page signal delivers valid page · 140c26af
      Michael Krause authored
      1998-11-26  Michael Krause  <m.krause@tu-harburg.de>
      
              * gtk/gtknotebook.c (gtk_notebook_switch_page): made 'page_num'
              argument a gint: switch_page signal delivers valid page numbers
              again.
      140c26af
    • Tim Janik's avatar
      set composite names. · c7850ecc
      Tim Janik authored
      Sun Nov 29 06:12:01 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_[hv]adjustment):
              set composite names.
      c7850ecc
    • Tim Janik's avatar
      updates · f755abd2
      Tim Janik authored
      f755abd2
    • Tim Janik's avatar
      removed default initialization check, people must use gtk_type_init(); · 60e5a210
      Tim Janik authored
      Sun Nov 29 06:12:01 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtktypeutils.c (gtk_type_unique): removed default initialization
              check, people must use gtk_type_init();
      
              * gtk/gtkwidget.h:
              * gtk/gtkwidget.c: added gtk_widget_set_composite_name() which is meant
              for internal use by containers, that want to assign specific composite
              names to their composite children.
              added gtk_widget_get_composite_name() which will return a newly
              allocated string, containing the composite name of a widget. valid
              composite names can only be retrived from widgets that have a parent
              assigned and are flagged as GTK_COMPOSITE_CHILD.
      
              * gtk/gtkcontainer.h:
              * gtk/gtkcontainer.c: added a new function
              gtk_container_child_default_composite_name() which will return a
              newly allocated string, holding the composite name of a containers
              child. a default implementation is provided which will compose the
              composite name out of the widgets type and its sequential children
              id. this implementation can be overidden through a new class function
              *(composite_name)().
      60e5a210
  4. 28 Nov, 1998 4 commits
    • Owen Taylor's avatar
      Removed bogus expose_event handler - we had two expose_event handlers! · 6edbb34d
      Owen Taylor authored
      Sat Nov 28 10:57:59 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwindow.c (gtk_window_expose_event): Removed bogus
      	expose_event handler - we had two expose_event
      	handlers!
      6edbb34d
    • Tim Janik's avatar
      changed scrolled window inheritance, it inherits from GtkBin now. · 238ede33
      Tim Janik authored
      Sat Nov 28 03:13:42 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkscrolledwindow.h:
              * gtk/gtkscrolledwindow.c: changed scrolled window inheritance,
              it inherits from GtkBin now.
      
              * gtk/gtkbin.c (gtk_bin_unmap): removed superfluous check for
              visibility of child.
              (gtk_bin_draw): removed superfluous check for GTK_WIDGET_DRAWABLE().
              added check so a child gets only drawn if it's visible.
      
              * gtk/gtkwidget.h:
              * gtk/gtkwidget.c: removed gtk_widget_draw_children().
      
              * gtk/gtkstyle.h:
              * gtk/gtkstyle.c: rmoved gtk_reset_widget_shapes.
      
              * gtk/gtkwidget.h:
              * gtk/gtkwidget.c: removed crufty relict: gtk_widget_is_child().
              added internal function gtk_widget_reset_shapes() from gtkstyle.c.
      
              * gtk/gtkrc.h:
              * gtk/gtkrc.c: (gtk_rc_find_pixmap_in_path): removed bogus gscanner
              argument, changed callers.
      
              * gtk/gtkmenufactory.c: GtkMenuFactory is deprecated for a long time,
              it will issue a warning now.
      
              * gtk/gtkcompat.h: new file to #define aliases for historic
              function names.
      
              * changed 8 function names for consistency and provided aliases to keep
              source compatibility in gtkcompat.h:
              (gtk_accel_label_get_accel_width): renamed from gtk_accel_label_accelerator_width
              (gtk_container_set_border_width): renamed from gtk_container_border_width
              (gtk_notebook_get_current_page): renamed from gtk_notebook_current_page
              (gtk_packer_configure): renamed from gtk_packer_set_child_packing
              (gtk_paned_set_gutter_size): renamed from gtk_paned_gutter_size
              (gtk_paned_set_handle_size): renamed from gtk_paned_handle_size
              (gtk_scale_get_value_width): renamed from gtk_scale_value_width
              (gtk_window_set_position): renamed from gtk_window_position
      
              * renamed a few recently added funtions for consistency:
              (gtk_notebook_get_tab_label): renamed from gtk_notebook_query_tab_label.
              (gtk_notebook_get_menu_label): renamed from gtk_notebook_query_menu_label.
              (gtk_progress_configure): renamed from gtk_progress_reconfigure.
      238ede33
    • Manish Singh's avatar
      check for existing viewport first, and don't add one if there already is · 67d445ee
      Manish Singh authored
      * gtk/gtkscrolledwindow.c (gtk_scrolled_window_add_with_viewport):
      check for existing viewport first, and don't add one if there
      already is one
      
      -Yosh
      67d445ee
    • Tim Janik's avatar
      deprecated gtk_widget_freeze_accelerators and · 58af2b56
      Tim Janik authored
      Sat Nov 28 00:06:49 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwidget.h:
              * gtk/gtkwidget.c: deprecated gtk_widget_freeze_accelerators and
              gtk_widget_thaw_accelerators, we provide gtk_widget_lock_accelerators
              and gtk_widget_unlock_accelerators.
      
              * gtk/gtklayout.h:
              * gtk/gtklayout.c: implemented incremental freezing facility.
      
              * gtk/gtktext.h:
              * gtk/gtktext.c: implemented incremental freezing facility.
      
              * gtk/gtkenums.h:
              * gtk/gtkaccelgroup.h: moved enum GtkAccelFlags into this place.
      
              * gtk/gtkentry.h:
              * gtk/gtkentry.c:
              deprecated gtk_entry_adjust_scroll().
      
              * random GtkType, macro and indentation fixes.
      
      Fri Nov 27 22:50:15 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkclist.h:
              * gtk/gtkclist.c: implemented incremental freezing facility, added
              a new class member (*refresh)() which takes over the thaw
              functionality. the clist FROZEN flag got removed on the way.
              * gtk/gtkctree.c: adaptions to feature the clist refresh functionality
              and incremental freezing.
      
              * gtk/gtkcalendar.c: implemented incremental freezing facility.
      58af2b56
  5. 27 Nov, 1998 2 commits
  6. 26 Nov, 1998 2 commits
    • Lars Hamann's avatar
      define GtkCTreeNode as boxed type use GTK_CTREE_NODE_TYPE instead of · 4ab10dc8
      Lars Hamann authored
      Thu Nov 26 19:11:46 1998  Lars Hamann  <lars@gtk.org>
      
      	* gtk/gtk-boxed.defs (GtkCTreeNode): define GtkCTreeNode as boxed type
      	* gtk/gtkctree.c (gtk_ctree_class_init): use GTK_CTREE_NODE_TYPE
      	instead of GTK_TYPE_POINTER in signal definitions.
      	(patch from James Henstridge <james@daa.com.au>)
      
      Thu Nov 26 18:48:44 1998  Lars Hamann  <lars@gtk.org>
      
      	* gtk/gtkclist.c (set_cell_contents)
      	* gtk/gtkctree.c (set_cell_contents): call column_auto_resize only
       	if auto.resize == TRUE
      
      	* gtk/gtknotebook.c (gtk_notebook_set_shape) (gtk_notebook_expose):
       	don't draw tab, if show_tabs == FALSE
       	(bug reports from Alexis Mikhailov / Dave Cole)
       	(gtk_notebook_focus_changed) (gtk_notebook_draw_focus): draw only
       	the focus rectangle, not the hole tab.
      4ab10dc8
    • Tim Janik's avatar
      reverted bogus and undocumented!!! changes from Jay Cox (98/11/23 · c7ac3835
      Tim Janik authored
      Thu Nov 26 03:18:08 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkclist.h:
              * gtk/gtkctree.h:
              * gtk/gtkclist.c:
              * gtk/gtkctree.c: reverted bogus and undocumented!!! changes from
              Jay Cox (98/11/23 13:53:26) which `const' qualified char* arrays.
      
              * gtk/maketypes.awk: changed underline substitution, so we get
              GTK_TYPE_CTREE_POS instead of the broken GTK_TYPE_C_TREE_POS.
              * gtk/makeenums.pl: likewise.
              * gtk/gtkctree.c: adapted type names accordingly.
      c7ac3835
  7. 24 Nov, 1998 7 commits
    • Owen Taylor's avatar
      Edited section on the ScrolledWindow. · a425e6b5
      Owen Taylor authored
      Tue Nov 24 11:31:06 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* docs/Changes-1.2.txt: Edited section on the ScrolledWindow.
      
      	* gtk/gtklayout.c (gtk_layout_set_[hv]adjustment): Remove
      	some code duplication.
      
      	* gtk/gtklayout.[ch] Fixed mapping and unmapping of child windows
      	and child widgets when scrolling greater than 32k pixels.
      
      	* testgtk.c: Modified layout test to test scrolling over
      	long distances.
      
      	* gtk/gtkplug.c: Added a few blank lines.
      a425e6b5
    • Owen Taylor's avatar
      Fixed up copyright message. · 1bb0d4c0
      Owen Taylor authored
      Tue Nov 24 11:11:05 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtklayout.[ch]: Fixed up copyright message.
      
      	* gdk/gdkrgb.c (DM): Make the dither matrix constant
      	so it can be shared.
      
      	* gtk/gtkdnd.c: Make cursor bitmaps const.
      
      	* gdk/gdk.h gdk/gdkpixmap.c: Added const to
      	gdk_pixmap/bitmap_create_from_data.
      1bb0d4c0
    • Tim Janik's avatar
      added a section on scrolled windows and scrollable widgets. · 5efb9be9
      Tim Janik authored
      Tue Nov 24 07:46:09 1998  Tim Janik  <timj@gtk.org>
      
              * docs/Changes-1.2.txt: added a section on scrolled windows and
              scrollable widgets.
      5efb9be9
    • Andrew T. Veliath's avatar
      Include radio buttons when setting relief for button items. · b0fd18c7
      Andrew T. Veliath authored
      	* gtk/gtktoolbar.c (gtk_toolbar_insert_element): Include radio
      	buttons when setting relief for button items.
      	(gtk_toolbar_set_button_relief): Same.
      b0fd18c7
    • Jeff Garzik's avatar
      Removed DEFS "+=" mess that breaks recent automakes. INCLUDES is the · 91d99f89
      Jeff Garzik authored
      
      * gdk/Makefile.am, gtk/Makefile.am:
      
              Removed DEFS "+=" mess that breaks recent automakes.
              INCLUDES is the correct way to add to CFLAGS from Makefile.am.
      
      * gdk/gdk.c, gdk/gdkglobals.c, gdk/gdkimage.c, gdk/gdkinput.c,
      gdk/gdkpixmap.c, gdk/gdkthreads.c, gdk/gdkwindow.c,
      gdk/gxid_lib.c, gtk/fnmatch.c, gtk/gtkclist.c, gtk/gtkmain.c,
      gtk/testthreads.c:
      
              Include "config.h" instead of "../config.h".
      
              Now that DEFS works again, automake will automatically pass us
              the location of config.h in -I.
      91d99f89
    • Owen Taylor's avatar
      Added layout widget for scrolling arbitrarily big areas. Added plug/socket · ee1d4392
      Owen Taylor authored
      Mon Nov 23 22:10:09 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/Makefile.am gtk/gtk.h gtk/gtklayout.[ch]
      	gtk/gtkplug.[ch] gtk/gtksocket.[ch] gtk/gtk.h:
      
      	Added layout widget for scrolling arbitrarily big areas.
      	Added plug/socket widgets for interprocess embedding.
      
      	These widgets still, at some point, need to be
      	made more pure in their use of GDK, as opposed
      	to raw X.
      
      	* gtk/testgtk.c: Added test for layout widget.
      ee1d4392
    • Jeff Garzik's avatar
      Bugfix from Brandon Long <blong@fiction.net> - Do the intended thing with · 42faec17
      Jeff Garzik authored
      * gtk/gtkclist.c: (gtk_clist_swap_rows):
      Bugfix from Brandon Long <blong@fiction.net> -
      Do the intended thing with 'first' and 'last' list index
      42faec17
  8. 23 Nov, 1998 10 commits
  9. 22 Nov, 1998 1 commit
  10. 21 Nov, 1998 1 commit
  11. 20 Nov, 1998 1 commit
  12. 18 Nov, 1998 2 commits