1. 18 Aug, 1998 1 commit
    • Tim Janik's avatar
      restricted the --g*fatal-* arguments to --g-fatal-warnings again. this · 7f2909bb
      Tim Janik authored
      Tue Aug 18 03:54:43 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmain.c (gtk_init): restricted the --g*fatal-* arguments
              to --g-fatal-warnings again. this option now causes log levels of
              WARNING and CRITICAL to abort().
      
              * gdk/gdk.c:
              * gdk/gdkdnd.c:
              * gdk/gdkcc.c:
              * gdk/gdkfont.c:
              * gdk/gdkwindow.c:
              * gdk/gdkvisual.c:
              * gtk/gtkwidget.c:
              * gtk/gtktypeutils.c:
              * gtk/gtktree.c:
              * gtk/gtkfontsel.c:
              * gtk/gtkmain.c:
              * gtk/gtkobject.c:
              * gtk/gtkpreview.c:
              * gtk/gtkselection.c:
              * gtk/gtktext.c:
              * gtk/gtktree.c:
              * gtk/gtktreeitem.c:
              did a global search&replace to substitute g_print() calls with
              g_message(). libraries shouldn't use printf(), g_print() or
              g_printerr() at all.
              a bunch of the replacements should probably be wrapped into the
              G{D|T}K_NOTE() macros, so they are special cased for debugging
              purposes in a sane way, avoiding all the nasty #ifdef DEBUG_MY_TEDDY
              things.
      
              * gdk/gdkrgb.c: left this out currently.
      
              * gdk/gdkdnd.c: added copyright notice.
      7f2909bb
  2. 10 Jul, 1998 1 commit
  3. 04 Jul, 1998 1 commit
  4. 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
  5. 12 May, 1998 1 commit
    • Federico Mena Quintero's avatar
      The commit to the stable branch is on its way... · 2fa59370
      Federico Mena Quintero authored
      1998-05-11  Federico Mena Quintero  <federico@nuclecu.unam.mx>
      
      	* gtk/gtkpreview.c (gtk_preview_realize): Create the window using
      	GtkPreview's visual and colormap, otherwise things can BadMatch.
      
      	* gtk/testgtk.c (create_color_preview):
      	(create_gray_preview): Removed pushing/popping of visual/colormap
      	now that GtkPreview does things correctly.
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_draw_wheel_frame):
      	(gtk_color_selection_draw_wheel): Pick the style from the correct
      	place (the colorsel->wheel_area widget) so that the GCs will match
      	with where we are going to paint to.
      
      	* gtk/testgtk.c (create_color_selection): Removed pushing/popping
      	of visual/colormap now that GtkColorSelection does things the
      	right way.
      2fa59370
  6. 04 May, 1998 1 commit
    • Owen Taylor's avatar
      Merges from the gtk-1-0 branch · d142827b
      Owen Taylor authored
      Sun May  3 14:55:34 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* docs/gtkfaq.sgml (CPPFLAGS): Added a FAQ entry about
      	"glibconfig.h" and another about writing another IRC
      	client.
      
      Sat May  2 00:14:05 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/gtkpreview.c (gtk_trim_cmap): Make sure the
      	parameters to log are doubles. Digital Unix apparently
      	is missing the argument in its prototype.
      
      Sun May  3 19:04:46 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/gtklabel.c (gtk_label_state_changed): Don't
      	force a clear until the widget is actually on
      	screen.
      
      Hopefully nothing else though CVS think there are a whole
      bunch more changed files.
      d142827b
  7. 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
  8. 24 Apr, 1998 1 commit
    • Owen Taylor's avatar
      merging changes from owen: · 5647eeec
      Owen Taylor authored
      
      Wed Apr 15 20:42:46 1998  Owen Taylor  <otaylor@gtk.org>
      
              * gtk/gtkpreview.c (gtk_preview_get_visuals): Make sure
              that when we are running with a non-installed colormap,
              in 8-bit pseudo-color, we actually are using the system
              visual. (Fixes *Bad Match* errors on Digital Unix machines
              with multiple 8-bit pseudo-color visuals)
      
      -r HEAD and -r gtk-1-0 are in sync now!
      5647eeec
  9. 13 Apr, 1998 2 commits
    • PDT 1998 Shawn T. Amundson's avatar
      Changed LGPL address for FSF in all .h and .c files · 92006c8e
      PDT 1998 Shawn T. Amundson authored
      Sun Apr 12 18:54:29 PDT 1998 Shawn T. Amundson <amundson@gtk.org>
      
              * Changed LGPL address for FSF in all .h and .c files
      92006c8e
    • Owen Taylor's avatar
      Set a flag so instead of clearing the area in advance. That looked · e6af5d49
      Owen Taylor authored
      Sun Apr 12 20:09:40 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtklabel.[ch] (gtk_label_expose): Set a flag so
      	instead of clearing the area in advance. That looked
      	_really_ bad.
      
      	* gtk/gtkcontainer.c (gtk_container_class_init): Changed
      	"focus" to RUN_LAST.
      
      	* gtk/gtkentry.c (gtk_entry_realize): Fixed place
      	where allocation was used where requisition was meant.
      	(Found by David J N Begley <david@avarice.nepean.uws.edu.au>)
      
      	* gtk/gtkwindow.c (gtk_window_set_default): Fixed
      	assertion in when setting default to NULL>
      	("Damon Chaplin" <DAChaplin@email.msn.com>)
      
      	* gtk/gtkwidget.c (gtk_widget_unparent): Unset the
      	default widget on the toplevel, if necessary.
      
      Sun Apr 12 02:04:21 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkpreview.c: Removed unecessary and harmful
      	htons/ntohs when storing properties. (X does the byte
      	swapping itself)
      e6af5d49
  10. 08 Mar, 1998 1 commit
  11. 07 Mar, 1998 1 commit
    • Tim Janik's avatar
      made the object/class cast checks much more descriptive, based on · 124d1e5c
      Tim Janik authored
      Sat Mar  7 20:20:53 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkobject.c:
              (gtk_object_check_cast):
              (gtk_object_check_class_cast):
              made the object/class cast checks much more descriptive, based on
              gtk-draco-980305-2.patch.gz and gtk-draco-980306-1.patch.gz but
              optimized for common code path.
      
              * gtk/gtkpreview.c: added a few extra checks for the visual
              (gtk-draco-980305-0.patch.gz).
      
              * gdk/gdk.c (gdk_signal): abort() on a signal if G_ENABLE_DEBUG
                is defined, so we dump core (gtk-draco-980305-0.patch.gz).
      124d1e5c
  12. 28 Feb, 1998 1 commit
    • Tim Janik's avatar
      fix behavior of gtk_preview_put() with srcx/srcy != 0, · 8a19c2a1
      Tim Janik authored
      Sat Feb 28 15:18:36 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkpreview.c: fix behavior of gtk_preview_put() with
              srcx/srcy != 0, gtk-shige-980127-0.patch.gz by
              AOSASA Shigeru <aozasa@sakuranet.or.jp>.
      
              * gdk: applied gtk-roebling-980121-0.patch.gz, patch for region
              support in Gdk, by Robert Roebling <roebling@ruf.uni-freiburg.de>.
      8a19c2a1
  13. 12 Feb, 1998 1 commit
    • Federico Mena Quintero's avatar
      Fixed unrealize handler to comply with the documentation (which mentions · 9dee8ee4
      Federico Mena Quintero authored
      2018-02-11  Federico Mena Quintero  <federico@nuclecu.unam.mx>
      
      	* gtk/gtkclist.c:
      	* gtk/gtkentry.c:
      	* gtk/gtkfixed.c:
      	* gtk/gtkhandlebox.c:
      	* gtk/gtknotebook.c:
      	* gtk/gtkpaned.c:
      	* gtk/gtkpreview.c:
      	* gtk/gtkrange.c:
      	* gtk/gtkruler.c:
      	* gtk/gtktext.c:
      	* gtk/gtkviewport.c:
      	Fixed unrealize handler to comply with the
      	documentation (which mentions the right thing to do).
      9dee8ee4
  14. 30 Jan, 1998 1 commit
  15. 18 Jan, 1998 1 commit
    • Owen Taylor's avatar
      gtkbutton.c gtkclist.c gtkdrawingarea.c gtkentry.c gtkeventbox.c · 11d37c50
      Owen Taylor authored
      Sun Jan 18 09:57:00 1998  Owen Taylor  <owt1@cornell.edu>
      * gtkbutton.c gtkclist.c gtkdrawingarea.c gtkentry.c gtkeventbox.c
        gtkfixed.c gtkhandlebox.c gtkhscale.c gtkhscrollbar.c gtkitem.c
        gtklist.c gtkmenushell.c gtkmisc.c gtknotebook.c gtkpaned.c
        gtkpreview.c gtkprogressbar.c gtkruler.c gtktext.c gtktree.c
        gtkviewport.c gtkvscale.c gtkvscrollbar.c gtkwidget.{c,h}
      
        Added gtk_widget_set_parent and gtk_widget_get_parent. All
        widgets should use:
      
         gtk_widget_get_parent() instead of widget->parent->window.
      
        Any widget that wants to have children not in the parent window,
        should use gtk_widget_set_parent () in their realize() and
        add () routines.
      
        CList and Viewport widgets changed to do this. (Viewport
        widget using code from gtk-fortier-980117-0.patch.)
      11d37c50
  16. 16 Jan, 1998 1 commit
  17. 24 Nov, 1997 1 commit