]> Pileus Git - ~andy/gtk/commitdiff
preserve automake CFLAGS.
authorTim Janik <timj@gtk.org>
Mon, 11 May 1998 08:31:16 +0000 (08:31 +0000)
committerTim Janik <timj@src.gnome.org>
Mon, 11 May 1998 08:31:16 +0000 (08:31 +0000)
Mon May 11 09:56:45 1998  Tim Janik  <timj@gtk.org>

        * configure.in (cflags_set): preserve automake CFLAGS.

        * Makefile.am: fully rename the created libraries to libgtk-1.1.la
        and libgdk-1.1.la. this means we need to change certain portions of
        the Makefile.am on major/minor version bumps.

        * ltmain.sh: the -release option is not required anymore.

        * gtk/gtkobject.h (gtk_trace_referencing): compile time check the type
        of the first argument to be of type GtkObject. unconditionally compile
        this function. removed __GNUC__ dependancy of the gtk_object_ref and
        gtk_object_unref macro wrappers for this function.

Mon May 11 09:53:43 1998  Tim Janik  <timj@gtk.org>

        * configure.in: preserve automake CFLAGS.

        * Makefile.am: fully rename the created library to libglib-1.1.la.
        this means we need to change certain portions of the Makefile.am on
        major/minor version bumps.

        * ltmain.sh: the -release option is not required anymore.

        * glib.h: provide G_GNUC_FUNCTION and G_GNUC_PRETTY_FUNCTION to
        avoid conditionals. unconditionally define NULL, TRUE, FALSE, MAX,
        MIN, ABS and CLAMP, these macros might be screwed from other headers.

22 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
configure.in
gdk/Makefile.am
gdk/gdkregion.c
gdk/x11/gdkregion-x11.c
glib/ChangeLog
glib/Makefile.am
glib/configure.in
glib/glib.h
glib/gscanner.c
gtk/Makefile.am
gtk/gtkobject.c
gtk/gtkobject.h
gtk/gtktypeutils.h
gtk/testgtk.c
tests/testgtk.c

index 88299123cd65abdfcb60cf642a2718d66ff12c55..b0321d4ffa926e796c7ae893a138b1b1a258cf0f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+Mon May 11 09:56:45 1998  Tim Janik  <timj@gtk.org>
+
+       * configure.in (cflags_set): preserve automake CFLAGS.
+
+        * Makefile.am: fully rename the created libraries to libgtk-1.1.la
+       and libgdk-1.1.la. this means we need to change certain portions of
+       the Makefile.am on major/minor version bumps.
+
+       * ltmain.sh: the -release option is not required anymore.
+       
+        * gtk/gtkobject.h (gtk_trace_referencing): compile time check the type
+        of the first argument to be of type GtkObject. unconditionally compile
+        this function. removed __GNUC__ dependancy of the gtk_object_ref and
+        gtk_object_unref macro wrappers for this function.
+
 Mon May 11 02:31:19 1998  Tim Janik  <timj@gtk.org>
 
        * gtk/gtkobject.h:
@@ -20,68 +35,6 @@ Sat May  9 20:11:20 1998  Owen Taylor  <otaylor@gtk.org>
        is Digital Unix and we need -std1 to get the
        right prototypes.
 
-Fri May  8 21:31:50 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkwidget.c (gtk_widget_queue_draw): Free the
-       draw-queue when we are done. 
-
-       (gtk_widget_queue_draw/_queu_resize): Always return
-       FALSE and avoid having two idles at the same time.
-       
-Fri May  8 21:04:00 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtktext.c: Various fixes to make sure cache
-       lines are freed if line_start_cache doesn't point to the
-       beginning of the cache.
-
-Thu May  7 09:44:22 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * style_set improvements for GtkText and GtkEntry
-
-Tue May  5 19:49:27 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gdk/gdkpixmap.c: Patches from Gordon Matzigkeit
-       to speed things up and remove code duplication.
-
-       Reintegrated buffer overflow patches, and added
-       some extra paranoia.
-       
-Tue May  5 17:04:14 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gdk/gdk.c (gdk_event_translate): A guint * was
-       being passed where X expected a Keysym *, and
-       keysyms are long's on Alpha Linux. This was causing
-       segfaults in Xlib, apparently because of alignment.
-       (Bug located by Juergen Haas <haas@forwiss.uni-passau.de>)
-       
-Tue May  5 19:11:27 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkdrawingarea.c (gtk_drawing_area_realize): Always
-       set GDK_EXPOSURE_MASK for DrawingAreas
-
-Tue May  5 14:32:37 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkwidget.[ch]: removed gtk_widge_propagate_default_style
-       (superceded by RC file reparsing capabilities)
-
-       * gtk/gtkwindow.c: Add handling for _GDK_READ_RFCILES client
-       events. (Shouldn't be sent to the InputOnly leader, which
-       it is now by gdk_event_send_clientmessage_toall
-
-       * gtk/testgtk.c: Added extra button to rcfiles test
-       to send out _GDK_READ_RCFILES events.
-       
-Tue May  5 11:03:00 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkselection.c (gtk_selection_clear): Fixed
-       reversed conditionals that caused segfault on some
-       platforms.
-
-Tue May  5 00:44:47 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkcontainer.c (gtk_container_set_focus_[hv]adjustment):
-       cast to GTK_OBJECT for gtk_object_ref.
-
 Sat May  9 16:30:33 BST 1998 Tony Gale  <gale@gtk.org>
 
        * docs/gtk_tut_it.sgml: update of Italian tutorial
@@ -129,6 +82,24 @@ Sat May  9 00:03:12 1998  Tim Janik  <timj@gtk.org>
        * gtk/gtkwidget.c:
        * gtk/gtksignal.c: reverted GTK_TYPE_IS_A back to gtk_type_is_a.
 
+Fri May  8 21:31:50 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkwidget.c (gtk_widget_queue_draw): Free the
+       draw-queue when we are done. 
+
+       (gtk_widget_queue_draw/_queu_resize): Always return
+       FALSE and avoid having two idles at the same time.
+       
+Fri May  8 21:04:00 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtktext.c: Various fixes to make sure cache
+       lines are freed if line_start_cache doesn't point to the
+       beginning of the cache.
+
+Thu May  7 09:44:22 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * style_set improvements for GtkText and GtkEntry
+
 Thu May  7 19:03:50 1998  Tim Janik  <timj@gtk.org>
 
        * gtk/gtktypeutils.c (gtk_type_unique): asure that the type system has
@@ -185,6 +156,50 @@ Wed May  6 02:16:34 1998  Tim Janik  <timj@gtk.org>
        for the signal names to avoid multiple hashing of the signal name on
        lookups for the several hirarchy levels of an object.
 
+Tue May  5 19:49:27 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gdk/gdkpixmap.c: Patches from Gordon Matzigkeit
+       to speed things up and remove code duplication.
+
+       Reintegrated buffer overflow patches, and added
+       some extra paranoia.
+       
+Tue May  5 17:04:14 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gdk/gdk.c (gdk_event_translate): A guint * was
+       being passed where X expected a Keysym *, and
+       keysyms are long's on Alpha Linux. This was causing
+       segfaults in Xlib, apparently because of alignment.
+       (Bug located by Juergen Haas <haas@forwiss.uni-passau.de>)
+       
+Tue May  5 19:11:27 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkdrawingarea.c (gtk_drawing_area_realize): Always
+       set GDK_EXPOSURE_MASK for DrawingAreas
+
+Tue May  5 14:32:37 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkwidget.[ch]: removed gtk_widge_propagate_default_style
+       (superceded by RC file reparsing capabilities)
+
+       * gtk/gtkwindow.c: Add handling for _GDK_READ_RFCILES client
+       events. (Shouldn't be sent to the InputOnly leader, which
+       it is now by gdk_event_send_clientmessage_toall
+
+       * gtk/testgtk.c: Added extra button to rcfiles test
+       to send out _GDK_READ_RCFILES events.
+       
+Tue May  5 11:03:00 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkselection.c (gtk_selection_clear): Fixed
+       reversed conditionals that caused segfault on some
+       platforms.
+
+Tue May  5 00:44:47 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkcontainer.c (gtk_container_set_focus_[hv]adjustment):
+       cast to GTK_OBJECT for gtk_object_ref.
+
 Tue May  5 15:33:27 1998  Tim Janik  <timj@gtk.org>
 
        * gtk/gtkmain.c (gtk_init): added gtk_signal_init() to avoid repeatedly
index 88299123cd65abdfcb60cf642a2718d66ff12c55..b0321d4ffa926e796c7ae893a138b1b1a258cf0f 100644 (file)
@@ -1,3 +1,18 @@
+Mon May 11 09:56:45 1998  Tim Janik  <timj@gtk.org>
+
+       * configure.in (cflags_set): preserve automake CFLAGS.
+
+        * Makefile.am: fully rename the created libraries to libgtk-1.1.la
+       and libgdk-1.1.la. this means we need to change certain portions of
+       the Makefile.am on major/minor version bumps.
+
+       * ltmain.sh: the -release option is not required anymore.
+       
+        * gtk/gtkobject.h (gtk_trace_referencing): compile time check the type
+        of the first argument to be of type GtkObject. unconditionally compile
+        this function. removed __GNUC__ dependancy of the gtk_object_ref and
+        gtk_object_unref macro wrappers for this function.
+
 Mon May 11 02:31:19 1998  Tim Janik  <timj@gtk.org>
 
        * gtk/gtkobject.h:
@@ -20,68 +35,6 @@ Sat May  9 20:11:20 1998  Owen Taylor  <otaylor@gtk.org>
        is Digital Unix and we need -std1 to get the
        right prototypes.
 
-Fri May  8 21:31:50 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkwidget.c (gtk_widget_queue_draw): Free the
-       draw-queue when we are done. 
-
-       (gtk_widget_queue_draw/_queu_resize): Always return
-       FALSE and avoid having two idles at the same time.
-       
-Fri May  8 21:04:00 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtktext.c: Various fixes to make sure cache
-       lines are freed if line_start_cache doesn't point to the
-       beginning of the cache.
-
-Thu May  7 09:44:22 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * style_set improvements for GtkText and GtkEntry
-
-Tue May  5 19:49:27 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gdk/gdkpixmap.c: Patches from Gordon Matzigkeit
-       to speed things up and remove code duplication.
-
-       Reintegrated buffer overflow patches, and added
-       some extra paranoia.
-       
-Tue May  5 17:04:14 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gdk/gdk.c (gdk_event_translate): A guint * was
-       being passed where X expected a Keysym *, and
-       keysyms are long's on Alpha Linux. This was causing
-       segfaults in Xlib, apparently because of alignment.
-       (Bug located by Juergen Haas <haas@forwiss.uni-passau.de>)
-       
-Tue May  5 19:11:27 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkdrawingarea.c (gtk_drawing_area_realize): Always
-       set GDK_EXPOSURE_MASK for DrawingAreas
-
-Tue May  5 14:32:37 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkwidget.[ch]: removed gtk_widge_propagate_default_style
-       (superceded by RC file reparsing capabilities)
-
-       * gtk/gtkwindow.c: Add handling for _GDK_READ_RFCILES client
-       events. (Shouldn't be sent to the InputOnly leader, which
-       it is now by gdk_event_send_clientmessage_toall
-
-       * gtk/testgtk.c: Added extra button to rcfiles test
-       to send out _GDK_READ_RCFILES events.
-       
-Tue May  5 11:03:00 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkselection.c (gtk_selection_clear): Fixed
-       reversed conditionals that caused segfault on some
-       platforms.
-
-Tue May  5 00:44:47 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkcontainer.c (gtk_container_set_focus_[hv]adjustment):
-       cast to GTK_OBJECT for gtk_object_ref.
-
 Sat May  9 16:30:33 BST 1998 Tony Gale  <gale@gtk.org>
 
        * docs/gtk_tut_it.sgml: update of Italian tutorial
@@ -129,6 +82,24 @@ Sat May  9 00:03:12 1998  Tim Janik  <timj@gtk.org>
        * gtk/gtkwidget.c:
        * gtk/gtksignal.c: reverted GTK_TYPE_IS_A back to gtk_type_is_a.
 
+Fri May  8 21:31:50 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkwidget.c (gtk_widget_queue_draw): Free the
+       draw-queue when we are done. 
+
+       (gtk_widget_queue_draw/_queu_resize): Always return
+       FALSE and avoid having two idles at the same time.
+       
+Fri May  8 21:04:00 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtktext.c: Various fixes to make sure cache
+       lines are freed if line_start_cache doesn't point to the
+       beginning of the cache.
+
+Thu May  7 09:44:22 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * style_set improvements for GtkText and GtkEntry
+
 Thu May  7 19:03:50 1998  Tim Janik  <timj@gtk.org>
 
        * gtk/gtktypeutils.c (gtk_type_unique): asure that the type system has
@@ -185,6 +156,50 @@ Wed May  6 02:16:34 1998  Tim Janik  <timj@gtk.org>
        for the signal names to avoid multiple hashing of the signal name on
        lookups for the several hirarchy levels of an object.
 
+Tue May  5 19:49:27 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gdk/gdkpixmap.c: Patches from Gordon Matzigkeit
+       to speed things up and remove code duplication.
+
+       Reintegrated buffer overflow patches, and added
+       some extra paranoia.
+       
+Tue May  5 17:04:14 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gdk/gdk.c (gdk_event_translate): A guint * was
+       being passed where X expected a Keysym *, and
+       keysyms are long's on Alpha Linux. This was causing
+       segfaults in Xlib, apparently because of alignment.
+       (Bug located by Juergen Haas <haas@forwiss.uni-passau.de>)
+       
+Tue May  5 19:11:27 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkdrawingarea.c (gtk_drawing_area_realize): Always
+       set GDK_EXPOSURE_MASK for DrawingAreas
+
+Tue May  5 14:32:37 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkwidget.[ch]: removed gtk_widge_propagate_default_style
+       (superceded by RC file reparsing capabilities)
+
+       * gtk/gtkwindow.c: Add handling for _GDK_READ_RFCILES client
+       events. (Shouldn't be sent to the InputOnly leader, which
+       it is now by gdk_event_send_clientmessage_toall
+
+       * gtk/testgtk.c: Added extra button to rcfiles test
+       to send out _GDK_READ_RCFILES events.
+       
+Tue May  5 11:03:00 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkselection.c (gtk_selection_clear): Fixed
+       reversed conditionals that caused segfault on some
+       platforms.
+
+Tue May  5 00:44:47 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkcontainer.c (gtk_container_set_focus_[hv]adjustment):
+       cast to GTK_OBJECT for gtk_object_ref.
+
 Tue May  5 15:33:27 1998  Tim Janik  <timj@gtk.org>
 
        * gtk/gtkmain.c (gtk_init): added gtk_signal_init() to avoid repeatedly
index 88299123cd65abdfcb60cf642a2718d66ff12c55..b0321d4ffa926e796c7ae893a138b1b1a258cf0f 100644 (file)
@@ -1,3 +1,18 @@
+Mon May 11 09:56:45 1998  Tim Janik  <timj@gtk.org>
+
+       * configure.in (cflags_set): preserve automake CFLAGS.
+
+        * Makefile.am: fully rename the created libraries to libgtk-1.1.la
+       and libgdk-1.1.la. this means we need to change certain portions of
+       the Makefile.am on major/minor version bumps.
+
+       * ltmain.sh: the -release option is not required anymore.
+       
+        * gtk/gtkobject.h (gtk_trace_referencing): compile time check the type
+        of the first argument to be of type GtkObject. unconditionally compile
+        this function. removed __GNUC__ dependancy of the gtk_object_ref and
+        gtk_object_unref macro wrappers for this function.
+
 Mon May 11 02:31:19 1998  Tim Janik  <timj@gtk.org>
 
        * gtk/gtkobject.h:
@@ -20,68 +35,6 @@ Sat May  9 20:11:20 1998  Owen Taylor  <otaylor@gtk.org>
        is Digital Unix and we need -std1 to get the
        right prototypes.
 
-Fri May  8 21:31:50 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkwidget.c (gtk_widget_queue_draw): Free the
-       draw-queue when we are done. 
-
-       (gtk_widget_queue_draw/_queu_resize): Always return
-       FALSE and avoid having two idles at the same time.
-       
-Fri May  8 21:04:00 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtktext.c: Various fixes to make sure cache
-       lines are freed if line_start_cache doesn't point to the
-       beginning of the cache.
-
-Thu May  7 09:44:22 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * style_set improvements for GtkText and GtkEntry
-
-Tue May  5 19:49:27 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gdk/gdkpixmap.c: Patches from Gordon Matzigkeit
-       to speed things up and remove code duplication.
-
-       Reintegrated buffer overflow patches, and added
-       some extra paranoia.
-       
-Tue May  5 17:04:14 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gdk/gdk.c (gdk_event_translate): A guint * was
-       being passed where X expected a Keysym *, and
-       keysyms are long's on Alpha Linux. This was causing
-       segfaults in Xlib, apparently because of alignment.
-       (Bug located by Juergen Haas <haas@forwiss.uni-passau.de>)
-       
-Tue May  5 19:11:27 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkdrawingarea.c (gtk_drawing_area_realize): Always
-       set GDK_EXPOSURE_MASK for DrawingAreas
-
-Tue May  5 14:32:37 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkwidget.[ch]: removed gtk_widge_propagate_default_style
-       (superceded by RC file reparsing capabilities)
-
-       * gtk/gtkwindow.c: Add handling for _GDK_READ_RFCILES client
-       events. (Shouldn't be sent to the InputOnly leader, which
-       it is now by gdk_event_send_clientmessage_toall
-
-       * gtk/testgtk.c: Added extra button to rcfiles test
-       to send out _GDK_READ_RCFILES events.
-       
-Tue May  5 11:03:00 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkselection.c (gtk_selection_clear): Fixed
-       reversed conditionals that caused segfault on some
-       platforms.
-
-Tue May  5 00:44:47 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkcontainer.c (gtk_container_set_focus_[hv]adjustment):
-       cast to GTK_OBJECT for gtk_object_ref.
-
 Sat May  9 16:30:33 BST 1998 Tony Gale  <gale@gtk.org>
 
        * docs/gtk_tut_it.sgml: update of Italian tutorial
@@ -129,6 +82,24 @@ Sat May  9 00:03:12 1998  Tim Janik  <timj@gtk.org>
        * gtk/gtkwidget.c:
        * gtk/gtksignal.c: reverted GTK_TYPE_IS_A back to gtk_type_is_a.
 
+Fri May  8 21:31:50 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkwidget.c (gtk_widget_queue_draw): Free the
+       draw-queue when we are done. 
+
+       (gtk_widget_queue_draw/_queu_resize): Always return
+       FALSE and avoid having two idles at the same time.
+       
+Fri May  8 21:04:00 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtktext.c: Various fixes to make sure cache
+       lines are freed if line_start_cache doesn't point to the
+       beginning of the cache.
+
+Thu May  7 09:44:22 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * style_set improvements for GtkText and GtkEntry
+
 Thu May  7 19:03:50 1998  Tim Janik  <timj@gtk.org>
 
        * gtk/gtktypeutils.c (gtk_type_unique): asure that the type system has
@@ -185,6 +156,50 @@ Wed May  6 02:16:34 1998  Tim Janik  <timj@gtk.org>
        for the signal names to avoid multiple hashing of the signal name on
        lookups for the several hirarchy levels of an object.
 
+Tue May  5 19:49:27 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gdk/gdkpixmap.c: Patches from Gordon Matzigkeit
+       to speed things up and remove code duplication.
+
+       Reintegrated buffer overflow patches, and added
+       some extra paranoia.
+       
+Tue May  5 17:04:14 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gdk/gdk.c (gdk_event_translate): A guint * was
+       being passed where X expected a Keysym *, and
+       keysyms are long's on Alpha Linux. This was causing
+       segfaults in Xlib, apparently because of alignment.
+       (Bug located by Juergen Haas <haas@forwiss.uni-passau.de>)
+       
+Tue May  5 19:11:27 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkdrawingarea.c (gtk_drawing_area_realize): Always
+       set GDK_EXPOSURE_MASK for DrawingAreas
+
+Tue May  5 14:32:37 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkwidget.[ch]: removed gtk_widge_propagate_default_style
+       (superceded by RC file reparsing capabilities)
+
+       * gtk/gtkwindow.c: Add handling for _GDK_READ_RFCILES client
+       events. (Shouldn't be sent to the InputOnly leader, which
+       it is now by gdk_event_send_clientmessage_toall
+
+       * gtk/testgtk.c: Added extra button to rcfiles test
+       to send out _GDK_READ_RCFILES events.
+       
+Tue May  5 11:03:00 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkselection.c (gtk_selection_clear): Fixed
+       reversed conditionals that caused segfault on some
+       platforms.
+
+Tue May  5 00:44:47 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkcontainer.c (gtk_container_set_focus_[hv]adjustment):
+       cast to GTK_OBJECT for gtk_object_ref.
+
 Tue May  5 15:33:27 1998  Tim Janik  <timj@gtk.org>
 
        * gtk/gtkmain.c (gtk_init): added gtk_signal_init() to avoid repeatedly
index 88299123cd65abdfcb60cf642a2718d66ff12c55..b0321d4ffa926e796c7ae893a138b1b1a258cf0f 100644 (file)
@@ -1,3 +1,18 @@
+Mon May 11 09:56:45 1998  Tim Janik  <timj@gtk.org>
+
+       * configure.in (cflags_set): preserve automake CFLAGS.
+
+        * Makefile.am: fully rename the created libraries to libgtk-1.1.la
+       and libgdk-1.1.la. this means we need to change certain portions of
+       the Makefile.am on major/minor version bumps.
+
+       * ltmain.sh: the -release option is not required anymore.
+       
+        * gtk/gtkobject.h (gtk_trace_referencing): compile time check the type
+        of the first argument to be of type GtkObject. unconditionally compile
+        this function. removed __GNUC__ dependancy of the gtk_object_ref and
+        gtk_object_unref macro wrappers for this function.
+
 Mon May 11 02:31:19 1998  Tim Janik  <timj@gtk.org>
 
        * gtk/gtkobject.h:
@@ -20,68 +35,6 @@ Sat May  9 20:11:20 1998  Owen Taylor  <otaylor@gtk.org>
        is Digital Unix and we need -std1 to get the
        right prototypes.
 
-Fri May  8 21:31:50 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkwidget.c (gtk_widget_queue_draw): Free the
-       draw-queue when we are done. 
-
-       (gtk_widget_queue_draw/_queu_resize): Always return
-       FALSE and avoid having two idles at the same time.
-       
-Fri May  8 21:04:00 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtktext.c: Various fixes to make sure cache
-       lines are freed if line_start_cache doesn't point to the
-       beginning of the cache.
-
-Thu May  7 09:44:22 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * style_set improvements for GtkText and GtkEntry
-
-Tue May  5 19:49:27 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gdk/gdkpixmap.c: Patches from Gordon Matzigkeit
-       to speed things up and remove code duplication.
-
-       Reintegrated buffer overflow patches, and added
-       some extra paranoia.
-       
-Tue May  5 17:04:14 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gdk/gdk.c (gdk_event_translate): A guint * was
-       being passed where X expected a Keysym *, and
-       keysyms are long's on Alpha Linux. This was causing
-       segfaults in Xlib, apparently because of alignment.
-       (Bug located by Juergen Haas <haas@forwiss.uni-passau.de>)
-       
-Tue May  5 19:11:27 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkdrawingarea.c (gtk_drawing_area_realize): Always
-       set GDK_EXPOSURE_MASK for DrawingAreas
-
-Tue May  5 14:32:37 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkwidget.[ch]: removed gtk_widge_propagate_default_style
-       (superceded by RC file reparsing capabilities)
-
-       * gtk/gtkwindow.c: Add handling for _GDK_READ_RFCILES client
-       events. (Shouldn't be sent to the InputOnly leader, which
-       it is now by gdk_event_send_clientmessage_toall
-
-       * gtk/testgtk.c: Added extra button to rcfiles test
-       to send out _GDK_READ_RCFILES events.
-       
-Tue May  5 11:03:00 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkselection.c (gtk_selection_clear): Fixed
-       reversed conditionals that caused segfault on some
-       platforms.
-
-Tue May  5 00:44:47 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkcontainer.c (gtk_container_set_focus_[hv]adjustment):
-       cast to GTK_OBJECT for gtk_object_ref.
-
 Sat May  9 16:30:33 BST 1998 Tony Gale  <gale@gtk.org>
 
        * docs/gtk_tut_it.sgml: update of Italian tutorial
@@ -129,6 +82,24 @@ Sat May  9 00:03:12 1998  Tim Janik  <timj@gtk.org>
        * gtk/gtkwidget.c:
        * gtk/gtksignal.c: reverted GTK_TYPE_IS_A back to gtk_type_is_a.
 
+Fri May  8 21:31:50 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkwidget.c (gtk_widget_queue_draw): Free the
+       draw-queue when we are done. 
+
+       (gtk_widget_queue_draw/_queu_resize): Always return
+       FALSE and avoid having two idles at the same time.
+       
+Fri May  8 21:04:00 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtktext.c: Various fixes to make sure cache
+       lines are freed if line_start_cache doesn't point to the
+       beginning of the cache.
+
+Thu May  7 09:44:22 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * style_set improvements for GtkText and GtkEntry
+
 Thu May  7 19:03:50 1998  Tim Janik  <timj@gtk.org>
 
        * gtk/gtktypeutils.c (gtk_type_unique): asure that the type system has
@@ -185,6 +156,50 @@ Wed May  6 02:16:34 1998  Tim Janik  <timj@gtk.org>
        for the signal names to avoid multiple hashing of the signal name on
        lookups for the several hirarchy levels of an object.
 
+Tue May  5 19:49:27 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gdk/gdkpixmap.c: Patches from Gordon Matzigkeit
+       to speed things up and remove code duplication.
+
+       Reintegrated buffer overflow patches, and added
+       some extra paranoia.
+       
+Tue May  5 17:04:14 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gdk/gdk.c (gdk_event_translate): A guint * was
+       being passed where X expected a Keysym *, and
+       keysyms are long's on Alpha Linux. This was causing
+       segfaults in Xlib, apparently because of alignment.
+       (Bug located by Juergen Haas <haas@forwiss.uni-passau.de>)
+       
+Tue May  5 19:11:27 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkdrawingarea.c (gtk_drawing_area_realize): Always
+       set GDK_EXPOSURE_MASK for DrawingAreas
+
+Tue May  5 14:32:37 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkwidget.[ch]: removed gtk_widge_propagate_default_style
+       (superceded by RC file reparsing capabilities)
+
+       * gtk/gtkwindow.c: Add handling for _GDK_READ_RFCILES client
+       events. (Shouldn't be sent to the InputOnly leader, which
+       it is now by gdk_event_send_clientmessage_toall
+
+       * gtk/testgtk.c: Added extra button to rcfiles test
+       to send out _GDK_READ_RCFILES events.
+       
+Tue May  5 11:03:00 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkselection.c (gtk_selection_clear): Fixed
+       reversed conditionals that caused segfault on some
+       platforms.
+
+Tue May  5 00:44:47 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkcontainer.c (gtk_container_set_focus_[hv]adjustment):
+       cast to GTK_OBJECT for gtk_object_ref.
+
 Tue May  5 15:33:27 1998  Tim Janik  <timj@gtk.org>
 
        * gtk/gtkmain.c (gtk_init): added gtk_signal_init() to avoid repeatedly
index 88299123cd65abdfcb60cf642a2718d66ff12c55..b0321d4ffa926e796c7ae893a138b1b1a258cf0f 100644 (file)
@@ -1,3 +1,18 @@
+Mon May 11 09:56:45 1998  Tim Janik  <timj@gtk.org>
+
+       * configure.in (cflags_set): preserve automake CFLAGS.
+
+        * Makefile.am: fully rename the created libraries to libgtk-1.1.la
+       and libgdk-1.1.la. this means we need to change certain portions of
+       the Makefile.am on major/minor version bumps.
+
+       * ltmain.sh: the -release option is not required anymore.
+       
+        * gtk/gtkobject.h (gtk_trace_referencing): compile time check the type
+        of the first argument to be of type GtkObject. unconditionally compile
+        this function. removed __GNUC__ dependancy of the gtk_object_ref and
+        gtk_object_unref macro wrappers for this function.
+
 Mon May 11 02:31:19 1998  Tim Janik  <timj@gtk.org>
 
        * gtk/gtkobject.h:
@@ -20,68 +35,6 @@ Sat May  9 20:11:20 1998  Owen Taylor  <otaylor@gtk.org>
        is Digital Unix and we need -std1 to get the
        right prototypes.
 
-Fri May  8 21:31:50 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkwidget.c (gtk_widget_queue_draw): Free the
-       draw-queue when we are done. 
-
-       (gtk_widget_queue_draw/_queu_resize): Always return
-       FALSE and avoid having two idles at the same time.
-       
-Fri May  8 21:04:00 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtktext.c: Various fixes to make sure cache
-       lines are freed if line_start_cache doesn't point to the
-       beginning of the cache.
-
-Thu May  7 09:44:22 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * style_set improvements for GtkText and GtkEntry
-
-Tue May  5 19:49:27 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gdk/gdkpixmap.c: Patches from Gordon Matzigkeit
-       to speed things up and remove code duplication.
-
-       Reintegrated buffer overflow patches, and added
-       some extra paranoia.
-       
-Tue May  5 17:04:14 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gdk/gdk.c (gdk_event_translate): A guint * was
-       being passed where X expected a Keysym *, and
-       keysyms are long's on Alpha Linux. This was causing
-       segfaults in Xlib, apparently because of alignment.
-       (Bug located by Juergen Haas <haas@forwiss.uni-passau.de>)
-       
-Tue May  5 19:11:27 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkdrawingarea.c (gtk_drawing_area_realize): Always
-       set GDK_EXPOSURE_MASK for DrawingAreas
-
-Tue May  5 14:32:37 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkwidget.[ch]: removed gtk_widge_propagate_default_style
-       (superceded by RC file reparsing capabilities)
-
-       * gtk/gtkwindow.c: Add handling for _GDK_READ_RFCILES client
-       events. (Shouldn't be sent to the InputOnly leader, which
-       it is now by gdk_event_send_clientmessage_toall
-
-       * gtk/testgtk.c: Added extra button to rcfiles test
-       to send out _GDK_READ_RCFILES events.
-       
-Tue May  5 11:03:00 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkselection.c (gtk_selection_clear): Fixed
-       reversed conditionals that caused segfault on some
-       platforms.
-
-Tue May  5 00:44:47 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkcontainer.c (gtk_container_set_focus_[hv]adjustment):
-       cast to GTK_OBJECT for gtk_object_ref.
-
 Sat May  9 16:30:33 BST 1998 Tony Gale  <gale@gtk.org>
 
        * docs/gtk_tut_it.sgml: update of Italian tutorial
@@ -129,6 +82,24 @@ Sat May  9 00:03:12 1998  Tim Janik  <timj@gtk.org>
        * gtk/gtkwidget.c:
        * gtk/gtksignal.c: reverted GTK_TYPE_IS_A back to gtk_type_is_a.
 
+Fri May  8 21:31:50 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkwidget.c (gtk_widget_queue_draw): Free the
+       draw-queue when we are done. 
+
+       (gtk_widget_queue_draw/_queu_resize): Always return
+       FALSE and avoid having two idles at the same time.
+       
+Fri May  8 21:04:00 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtktext.c: Various fixes to make sure cache
+       lines are freed if line_start_cache doesn't point to the
+       beginning of the cache.
+
+Thu May  7 09:44:22 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * style_set improvements for GtkText and GtkEntry
+
 Thu May  7 19:03:50 1998  Tim Janik  <timj@gtk.org>
 
        * gtk/gtktypeutils.c (gtk_type_unique): asure that the type system has
@@ -185,6 +156,50 @@ Wed May  6 02:16:34 1998  Tim Janik  <timj@gtk.org>
        for the signal names to avoid multiple hashing of the signal name on
        lookups for the several hirarchy levels of an object.
 
+Tue May  5 19:49:27 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gdk/gdkpixmap.c: Patches from Gordon Matzigkeit
+       to speed things up and remove code duplication.
+
+       Reintegrated buffer overflow patches, and added
+       some extra paranoia.
+       
+Tue May  5 17:04:14 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gdk/gdk.c (gdk_event_translate): A guint * was
+       being passed where X expected a Keysym *, and
+       keysyms are long's on Alpha Linux. This was causing
+       segfaults in Xlib, apparently because of alignment.
+       (Bug located by Juergen Haas <haas@forwiss.uni-passau.de>)
+       
+Tue May  5 19:11:27 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkdrawingarea.c (gtk_drawing_area_realize): Always
+       set GDK_EXPOSURE_MASK for DrawingAreas
+
+Tue May  5 14:32:37 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkwidget.[ch]: removed gtk_widge_propagate_default_style
+       (superceded by RC file reparsing capabilities)
+
+       * gtk/gtkwindow.c: Add handling for _GDK_READ_RFCILES client
+       events. (Shouldn't be sent to the InputOnly leader, which
+       it is now by gdk_event_send_clientmessage_toall
+
+       * gtk/testgtk.c: Added extra button to rcfiles test
+       to send out _GDK_READ_RCFILES events.
+       
+Tue May  5 11:03:00 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkselection.c (gtk_selection_clear): Fixed
+       reversed conditionals that caused segfault on some
+       platforms.
+
+Tue May  5 00:44:47 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkcontainer.c (gtk_container_set_focus_[hv]adjustment):
+       cast to GTK_OBJECT for gtk_object_ref.
+
 Tue May  5 15:33:27 1998  Tim Janik  <timj@gtk.org>
 
        * gtk/gtkmain.c (gtk_init): added gtk_signal_init() to avoid repeatedly
index 88299123cd65abdfcb60cf642a2718d66ff12c55..b0321d4ffa926e796c7ae893a138b1b1a258cf0f 100644 (file)
@@ -1,3 +1,18 @@
+Mon May 11 09:56:45 1998  Tim Janik  <timj@gtk.org>
+
+       * configure.in (cflags_set): preserve automake CFLAGS.
+
+        * Makefile.am: fully rename the created libraries to libgtk-1.1.la
+       and libgdk-1.1.la. this means we need to change certain portions of
+       the Makefile.am on major/minor version bumps.
+
+       * ltmain.sh: the -release option is not required anymore.
+       
+        * gtk/gtkobject.h (gtk_trace_referencing): compile time check the type
+        of the first argument to be of type GtkObject. unconditionally compile
+        this function. removed __GNUC__ dependancy of the gtk_object_ref and
+        gtk_object_unref macro wrappers for this function.
+
 Mon May 11 02:31:19 1998  Tim Janik  <timj@gtk.org>
 
        * gtk/gtkobject.h:
@@ -20,68 +35,6 @@ Sat May  9 20:11:20 1998  Owen Taylor  <otaylor@gtk.org>
        is Digital Unix and we need -std1 to get the
        right prototypes.
 
-Fri May  8 21:31:50 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkwidget.c (gtk_widget_queue_draw): Free the
-       draw-queue when we are done. 
-
-       (gtk_widget_queue_draw/_queu_resize): Always return
-       FALSE and avoid having two idles at the same time.
-       
-Fri May  8 21:04:00 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtktext.c: Various fixes to make sure cache
-       lines are freed if line_start_cache doesn't point to the
-       beginning of the cache.
-
-Thu May  7 09:44:22 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * style_set improvements for GtkText and GtkEntry
-
-Tue May  5 19:49:27 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gdk/gdkpixmap.c: Patches from Gordon Matzigkeit
-       to speed things up and remove code duplication.
-
-       Reintegrated buffer overflow patches, and added
-       some extra paranoia.
-       
-Tue May  5 17:04:14 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gdk/gdk.c (gdk_event_translate): A guint * was
-       being passed where X expected a Keysym *, and
-       keysyms are long's on Alpha Linux. This was causing
-       segfaults in Xlib, apparently because of alignment.
-       (Bug located by Juergen Haas <haas@forwiss.uni-passau.de>)
-       
-Tue May  5 19:11:27 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkdrawingarea.c (gtk_drawing_area_realize): Always
-       set GDK_EXPOSURE_MASK for DrawingAreas
-
-Tue May  5 14:32:37 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkwidget.[ch]: removed gtk_widge_propagate_default_style
-       (superceded by RC file reparsing capabilities)
-
-       * gtk/gtkwindow.c: Add handling for _GDK_READ_RFCILES client
-       events. (Shouldn't be sent to the InputOnly leader, which
-       it is now by gdk_event_send_clientmessage_toall
-
-       * gtk/testgtk.c: Added extra button to rcfiles test
-       to send out _GDK_READ_RCFILES events.
-       
-Tue May  5 11:03:00 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkselection.c (gtk_selection_clear): Fixed
-       reversed conditionals that caused segfault on some
-       platforms.
-
-Tue May  5 00:44:47 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkcontainer.c (gtk_container_set_focus_[hv]adjustment):
-       cast to GTK_OBJECT for gtk_object_ref.
-
 Sat May  9 16:30:33 BST 1998 Tony Gale  <gale@gtk.org>
 
        * docs/gtk_tut_it.sgml: update of Italian tutorial
@@ -129,6 +82,24 @@ Sat May  9 00:03:12 1998  Tim Janik  <timj@gtk.org>
        * gtk/gtkwidget.c:
        * gtk/gtksignal.c: reverted GTK_TYPE_IS_A back to gtk_type_is_a.
 
+Fri May  8 21:31:50 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkwidget.c (gtk_widget_queue_draw): Free the
+       draw-queue when we are done. 
+
+       (gtk_widget_queue_draw/_queu_resize): Always return
+       FALSE and avoid having two idles at the same time.
+       
+Fri May  8 21:04:00 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtktext.c: Various fixes to make sure cache
+       lines are freed if line_start_cache doesn't point to the
+       beginning of the cache.
+
+Thu May  7 09:44:22 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * style_set improvements for GtkText and GtkEntry
+
 Thu May  7 19:03:50 1998  Tim Janik  <timj@gtk.org>
 
        * gtk/gtktypeutils.c (gtk_type_unique): asure that the type system has
@@ -185,6 +156,50 @@ Wed May  6 02:16:34 1998  Tim Janik  <timj@gtk.org>
        for the signal names to avoid multiple hashing of the signal name on
        lookups for the several hirarchy levels of an object.
 
+Tue May  5 19:49:27 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gdk/gdkpixmap.c: Patches from Gordon Matzigkeit
+       to speed things up and remove code duplication.
+
+       Reintegrated buffer overflow patches, and added
+       some extra paranoia.
+       
+Tue May  5 17:04:14 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gdk/gdk.c (gdk_event_translate): A guint * was
+       being passed where X expected a Keysym *, and
+       keysyms are long's on Alpha Linux. This was causing
+       segfaults in Xlib, apparently because of alignment.
+       (Bug located by Juergen Haas <haas@forwiss.uni-passau.de>)
+       
+Tue May  5 19:11:27 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkdrawingarea.c (gtk_drawing_area_realize): Always
+       set GDK_EXPOSURE_MASK for DrawingAreas
+
+Tue May  5 14:32:37 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkwidget.[ch]: removed gtk_widge_propagate_default_style
+       (superceded by RC file reparsing capabilities)
+
+       * gtk/gtkwindow.c: Add handling for _GDK_READ_RFCILES client
+       events. (Shouldn't be sent to the InputOnly leader, which
+       it is now by gdk_event_send_clientmessage_toall
+
+       * gtk/testgtk.c: Added extra button to rcfiles test
+       to send out _GDK_READ_RCFILES events.
+       
+Tue May  5 11:03:00 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkselection.c (gtk_selection_clear): Fixed
+       reversed conditionals that caused segfault on some
+       platforms.
+
+Tue May  5 00:44:47 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkcontainer.c (gtk_container_set_focus_[hv]adjustment):
+       cast to GTK_OBJECT for gtk_object_ref.
+
 Tue May  5 15:33:27 1998  Tim Janik  <timj@gtk.org>
 
        * gtk/gtkmain.c (gtk_init): added gtk_signal_init() to avoid repeatedly
index 88299123cd65abdfcb60cf642a2718d66ff12c55..b0321d4ffa926e796c7ae893a138b1b1a258cf0f 100644 (file)
@@ -1,3 +1,18 @@
+Mon May 11 09:56:45 1998  Tim Janik  <timj@gtk.org>
+
+       * configure.in (cflags_set): preserve automake CFLAGS.
+
+        * Makefile.am: fully rename the created libraries to libgtk-1.1.la
+       and libgdk-1.1.la. this means we need to change certain portions of
+       the Makefile.am on major/minor version bumps.
+
+       * ltmain.sh: the -release option is not required anymore.
+       
+        * gtk/gtkobject.h (gtk_trace_referencing): compile time check the type
+        of the first argument to be of type GtkObject. unconditionally compile
+        this function. removed __GNUC__ dependancy of the gtk_object_ref and
+        gtk_object_unref macro wrappers for this function.
+
 Mon May 11 02:31:19 1998  Tim Janik  <timj@gtk.org>
 
        * gtk/gtkobject.h:
@@ -20,68 +35,6 @@ Sat May  9 20:11:20 1998  Owen Taylor  <otaylor@gtk.org>
        is Digital Unix and we need -std1 to get the
        right prototypes.
 
-Fri May  8 21:31:50 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkwidget.c (gtk_widget_queue_draw): Free the
-       draw-queue when we are done. 
-
-       (gtk_widget_queue_draw/_queu_resize): Always return
-       FALSE and avoid having two idles at the same time.
-       
-Fri May  8 21:04:00 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtktext.c: Various fixes to make sure cache
-       lines are freed if line_start_cache doesn't point to the
-       beginning of the cache.
-
-Thu May  7 09:44:22 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * style_set improvements for GtkText and GtkEntry
-
-Tue May  5 19:49:27 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gdk/gdkpixmap.c: Patches from Gordon Matzigkeit
-       to speed things up and remove code duplication.
-
-       Reintegrated buffer overflow patches, and added
-       some extra paranoia.
-       
-Tue May  5 17:04:14 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gdk/gdk.c (gdk_event_translate): A guint * was
-       being passed where X expected a Keysym *, and
-       keysyms are long's on Alpha Linux. This was causing
-       segfaults in Xlib, apparently because of alignment.
-       (Bug located by Juergen Haas <haas@forwiss.uni-passau.de>)
-       
-Tue May  5 19:11:27 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkdrawingarea.c (gtk_drawing_area_realize): Always
-       set GDK_EXPOSURE_MASK for DrawingAreas
-
-Tue May  5 14:32:37 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkwidget.[ch]: removed gtk_widge_propagate_default_style
-       (superceded by RC file reparsing capabilities)
-
-       * gtk/gtkwindow.c: Add handling for _GDK_READ_RFCILES client
-       events. (Shouldn't be sent to the InputOnly leader, which
-       it is now by gdk_event_send_clientmessage_toall
-
-       * gtk/testgtk.c: Added extra button to rcfiles test
-       to send out _GDK_READ_RCFILES events.
-       
-Tue May  5 11:03:00 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkselection.c (gtk_selection_clear): Fixed
-       reversed conditionals that caused segfault on some
-       platforms.
-
-Tue May  5 00:44:47 1998  Owen Taylor  <otaylor@gtk.org>
-
-       * gtk/gtkcontainer.c (gtk_container_set_focus_[hv]adjustment):
-       cast to GTK_OBJECT for gtk_object_ref.
-
 Sat May  9 16:30:33 BST 1998 Tony Gale  <gale@gtk.org>
 
        * docs/gtk_tut_it.sgml: update of Italian tutorial
@@ -129,6 +82,24 @@ Sat May  9 00:03:12 1998  Tim Janik  <timj@gtk.org>
        * gtk/gtkwidget.c:
        * gtk/gtksignal.c: reverted GTK_TYPE_IS_A back to gtk_type_is_a.
 
+Fri May  8 21:31:50 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkwidget.c (gtk_widget_queue_draw): Free the
+       draw-queue when we are done. 
+
+       (gtk_widget_queue_draw/_queu_resize): Always return
+       FALSE and avoid having two idles at the same time.
+       
+Fri May  8 21:04:00 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtktext.c: Various fixes to make sure cache
+       lines are freed if line_start_cache doesn't point to the
+       beginning of the cache.
+
+Thu May  7 09:44:22 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * style_set improvements for GtkText and GtkEntry
+
 Thu May  7 19:03:50 1998  Tim Janik  <timj@gtk.org>
 
        * gtk/gtktypeutils.c (gtk_type_unique): asure that the type system has
@@ -185,6 +156,50 @@ Wed May  6 02:16:34 1998  Tim Janik  <timj@gtk.org>
        for the signal names to avoid multiple hashing of the signal name on
        lookups for the several hirarchy levels of an object.
 
+Tue May  5 19:49:27 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gdk/gdkpixmap.c: Patches from Gordon Matzigkeit
+       to speed things up and remove code duplication.
+
+       Reintegrated buffer overflow patches, and added
+       some extra paranoia.
+       
+Tue May  5 17:04:14 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gdk/gdk.c (gdk_event_translate): A guint * was
+       being passed where X expected a Keysym *, and
+       keysyms are long's on Alpha Linux. This was causing
+       segfaults in Xlib, apparently because of alignment.
+       (Bug located by Juergen Haas <haas@forwiss.uni-passau.de>)
+       
+Tue May  5 19:11:27 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkdrawingarea.c (gtk_drawing_area_realize): Always
+       set GDK_EXPOSURE_MASK for DrawingAreas
+
+Tue May  5 14:32:37 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkwidget.[ch]: removed gtk_widge_propagate_default_style
+       (superceded by RC file reparsing capabilities)
+
+       * gtk/gtkwindow.c: Add handling for _GDK_READ_RFCILES client
+       events. (Shouldn't be sent to the InputOnly leader, which
+       it is now by gdk_event_send_clientmessage_toall
+
+       * gtk/testgtk.c: Added extra button to rcfiles test
+       to send out _GDK_READ_RCFILES events.
+       
+Tue May  5 11:03:00 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkselection.c (gtk_selection_clear): Fixed
+       reversed conditionals that caused segfault on some
+       platforms.
+
+Tue May  5 00:44:47 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gtk/gtkcontainer.c (gtk_container_set_focus_[hv]adjustment):
+       cast to GTK_OBJECT for gtk_object_ref.
+
 Tue May  5 15:33:27 1998  Tim Janik  <timj@gtk.org>
 
        * gtk/gtkmain.c (gtk_init): added gtk_signal_init() to avoid repeatedly
index fa956c4a23f3dcf9be61973c129509174b4d6384..8a0baf923f73ea227255ddcaf8be6b09bed00af3 100644 (file)
@@ -70,7 +70,7 @@ AC_ARG_WITH(locale, [  --with-locale=LOCALE    locale name you want to use ])
 AC_ARG_WITH(xinput, [  --with-xinput=[no/gxi/xfree] support XInput ])
 
 if test "x$enable_debug" = "xyes"; then
-  test "$cflags_set" = set || CFLAGS="-g"
+  test "$cflags_set" = set || CFLAGS="$CFLAGS -g"
   CFLAGS="$CFLAGS -DG_ENABLE_DEBUG"
 else
   if test "x$enable_debug" = "xno"; then
index 48f6c9e9c16a80f831bcbbf1c76d14464cd3a435..3037fd6de7046e036df25f046ff1531ece69be52 100644 (file)
@@ -2,9 +2,9 @@
 
 gdkincludedir = $(includedir)/gdk
 
-lib_LTLIBRARIES = libgdk.la
+lib_LTLIBRARIES = libgdk-1.1.la
 
-libgdk_la_SOURCES = \
+libgdk_1_1_la_SOURCES = \
        gdk.c           \
        gdkcc.c         \
        gdkcolor.c      \
@@ -46,8 +46,7 @@ gdkinclude_HEADERS = \
        gdktypes.h      \
        gdkx.h
 
-libgdk_la_LDFLAGS = \
-       -postfix $(LT_RELEASE) \
+libgdk_1_1_la_LDFLAGS = \
        -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
        @x_ldflags@ @x_libs@
 
index 6034bbae863653e77c35c40f7237f8cf7c367ebe..77a0dd26c9bdd5bc4eff053de74f1e939aed81f3 100644 (file)
@@ -127,7 +127,7 @@ gdk_region_polygon (GdkPoint    *points,
   GdkRegionPrivate *private;
   GdkRegion *region;
   Region xregion;
-  int xfill_rule;
+  gint xfill_rule = 0;
 
   g_return_val_if_fail (points != NULL, NULL);
   g_return_val_if_fail (npoints != 0, NULL); /* maybe we should check for at least three points */
index 6034bbae863653e77c35c40f7237f8cf7c367ebe..77a0dd26c9bdd5bc4eff053de74f1e939aed81f3 100644 (file)
@@ -127,7 +127,7 @@ gdk_region_polygon (GdkPoint    *points,
   GdkRegionPrivate *private;
   GdkRegion *region;
   Region xregion;
-  int xfill_rule;
+  gint xfill_rule = 0;
 
   g_return_val_if_fail (points != NULL, NULL);
   g_return_val_if_fail (npoints != 0, NULL); /* maybe we should check for at least three points */
index 79e6f36ac583a9e83b400ee485e10139ef669ad6..f1da00cc80df3a36c69f07b4bb7a1ca796e3f83b 100644 (file)
@@ -1,3 +1,17 @@
+Mon May 11 09:53:43 1998  Tim Janik  <timj@gtk.org>
+
+       * configure.in: preserve automake CFLAGS.
+
+       * Makefile.am: fully rename the created library to libglib-1.1.la.
+       this means we need to change certain portions of the Makefile.am on
+       major/minor version bumps.
+
+       * ltmain.sh: the -release option is not required anymore.
+
+        * glib.h: provide G_GNUC_FUNCTION and G_GNUC_PRETTY_FUNCTION to
+       avoid conditionals. unconditionally define NULL, TRUE, FALSE, MAX,
+       MIN, ABS and CLAMP, these macros might be screwed from other headers.
+
 Mon May 11 01:44:10 1998  Tim Janik  <timj@gtk.org>
 
        * gdataset.c: new file, gdatasets implement the object data
index a548effe40dab53ec4616aa7a47b3ad4aaa4a33e..d5f1b2e079f43eec6a25a09b4b75f066d9b96947 100644 (file)
@@ -2,9 +2,9 @@
 
 configincludedir = $(pkglibdir)/include
 
-lib_LTLIBRARIES = libglib.la
+lib_LTLIBRARIES = libglib-1.1.la
 
-libglib_la_SOURCES = \
+libglib_1_1_la_SOURCES = \
                garray.c        \
                gcache.c        \
                gdataset.c      \
@@ -26,12 +26,12 @@ include_HEADERS = \
 configinclude_DATA = \
                glibconfig.h
 
-libglib_la_LDFLAGS = -postfix $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
+libglib_1_1_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
 
 INCLUDES = -I$(top_srcdir)
 
 noinst_PROGRAMS = testglib
-testglib_LDADD = libglib.la
+testglib_LDADD = libglib-@LT_RELEASE@.la
 
 .PHONY: files release
 
index b6f2c86d87e2c1566bc6287ad292d2d020657b4c..ecec5f975f18d449cf1af9d804219af54713af82 100644 (file)
@@ -52,7 +52,7 @@ AC_ARG_ENABLE(ansi, [  --enable-ansi           turn on strict ansi [default=no]]
                    , enable_ansi=no)
 
 if test "x$enable_debug" = "xyes"; then
-  test "$cflags_set" = set || CFLAGS="-g"
+  test "$cflags_set" = set || CFLAGS="$CFLAGS -g"
   CFLAGS="$CFLAGS -DG_ENABLE_DEBUG"
 else
   if test "x$enable_debug" = "xno"; then
index b2d1183d7f61390131ce9e6f810e06c964a579db..671f1c5148fe9bc2de0202ae502efe7f79071274 100644 (file)
 
 
 /* Provide definitions for some commonly used macros.
- *  These are only provided if they haven't already
- *  been defined. It is assumed that if they are already
- *  defined then the current definition is correct.
  */
 
-#ifndef FALSE
-#define FALSE 0
-#endif /* FALSE */
+#undef NULL
+#define NULL ((void*) 0)
 
-#ifndef TRUE
-#define TRUE 1
-#endif /* TRUE */
+#undef FALSE
+#define FALSE  0
 
-#ifndef NULL
-#define NULL ((void*) 0)
-#endif /* NULL */
+#undef TRUE
+#define TRUE   1
 
-#ifndef MAX
+#undef MAX
 #define MAX(a, b)  (((a) > (b)) ? (a) : (b))
-#endif /* MAX */
 
-#ifndef MIN
+#undef MIN
 #define MIN(a, b)  (((a) < (b)) ? (a) : (b))
-#endif /* MIN */
 
-#ifndef ABS
+#undef ABS
 #define ABS(a)    (((a) < 0) ? -(a) : (a))
-#endif /* ABS */
 
-#ifndef CLAMP
+#undef CLAMP
 #define CLAMP(x, low, high)  (((x) > (high)) ? (high) : (((x) < (low)) ? (low) : (x)))
-#endif /* CLAMP */
+
+/* Provide simple macro statement wrappers (adapted from Pearl):
+ *  G_STMT_START { statements; } G_STMT_END;
+ *  can be used as a single statement, as in
+ *  if (x) G_STMT_START { ... } G_STMT_END; else ...
+ *
+ *  For gcc we will wrap the statements within `({' and `})' braces.
+ *  For SunOS they will be wrapped within `if (1)' and `else (void)0',
+ *  and otherwise within `do' and `while (0)'.
+ */
+#if !(defined (G_STMT_START) && defined (G_STMT_END))
+#  if defined (__GNUC__) && !defined (__STRICT_ANSI__) && !defined (__cplusplus)
+#    define G_STMT_START       (void)(
+#    define G_STMT_END         )
+#  else
+#    if (defined (sun) || defined (__sun__))
+#      define G_STMT_START     if (1)
+#      define G_STMT_END       else (void)0
+#    else
+#      define G_STMT_START     do
+#      define G_STMT_END       while (0)
+#    endif
+#  endif
+#endif
+
+/* Provide macros to feature the GCC printf format function attribute.
+ */
+#if    __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4)
+#define G_GNUC_PRINTF( format_idx, arg_idx )   \
+  __attribute__((format (printf, format_idx, arg_idx)))
+#define G_GNUC_SCANF( format_idx, arg_idx )    \
+  __attribute__((format (scanf, format_idx, arg_idx)))
+#else   /* !__GNUC__ */
+#define G_GNUC_PRINTF( format_idx, arg_idx )
+#define G_GNUC_SCANF( format_idx, arg_idx )
+#endif  /* !__GNUC__ */
+
+/* Wrap the __PRETTY_FUNCTION__ and __FUNCTION__ variables with macros,
+ * so we can refer to them as strings unconditionally.
+ */
+#ifdef  __GNUC__
+#define G_GNUC_FUNCTION         (__FUNCTION__)
+#define G_GNUC_PRETTY_FUNCTION  (__PRETTY_FUNCTION__)
+#else   /* !__GNUC__ */
+#define G_GNUC_FUNCTION         ("")
+#define G_GNUC_PRETTY_FUNCTION  ("")
+#endif  /* !__GNUC__ */
+
 
 #ifndef ATEXIT
 #  ifdef HAVE_ATEXIT
 #define g_string(x) #x
 
 
-/* Provide simple macro statement wrappers (adapted from Pearl):
- *  G_STMT_START { statements; } G_STMT_END;
- *  can be used as a single statement, as in
- *  if (x) G_STMT_START { ... } G_STMT_END; else ...
- *
- *  For gcc we will wrap the statements within `({' and `})' braces.
- *  For SunOS they will be wrapped within `if (1)' and `else (void)0',
- *  and otherwise within `do' and `while (0)'.
- */
-#if !(defined (G_STMT_START) && defined (G_STMT_END))
-#  if defined (__GNUC__) && !defined (__STRICT_ANSI__) && !defined (__cplusplus)
-#    define G_STMT_START       (void)(
-#    define G_STMT_END         )
-#  else
-#    if (defined (sun) || defined (__sun__))
-#      define G_STMT_START     if (1)
-#      define G_STMT_END       else (void)0
-#    else
-#      define G_STMT_START     do
-#      define G_STMT_END       while (0)
-#    endif
-#  endif
-#endif
 
 
 /* Provide macros for error handling. The "assert" macros will
 
 #endif /* G_DISABLE_CHECKS */
 
-/* Provide macros to feature the GCC printf format function attribute.
- */
-#if    __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4)
-#define G_GNUC_PRINTF( format_idx, arg_idx )   \
-  __attribute__((format (printf, format_idx, arg_idx)))
-#define G_GNUC_SCANF( format_idx, arg_idx )    \
-  __attribute__((format (scanf, format_idx, arg_idx)))
-#else   /* !__GNUC__ */
-#define G_GNUC_PRINTF( format_idx, arg_idx )
-#define G_GNUC_SCANF( format_idx, arg_idx )
-#endif  /* !__GNUC__ */
 
 
 #ifdef __cplusplus
@@ -966,7 +970,6 @@ struct      _GScanner
   guint                        max_parse_errors;
   
   /* maintained/used by the g_scanner_*() functions */
-  GScannerMsgFunc      msg_handler;
   GScannerConfig       *config;
   GTokenType           token;
   GValue               value;
@@ -983,6 +986,8 @@ struct      _GScanner
   guint                        text_len;
   gint                 input_fd;
   gint                 peeked_char;
+
+  GScannerMsgFunc      msg_handler;
 };
 
 GScanner*      g_scanner_new                   (GScannerConfig *config_templ);
index 840fa429a0fd6f4cf3b7291fe0bd847647d0b315..73f4a0e6bb3858092a1195a8573701032ca620f6 100644 (file)
@@ -161,7 +161,6 @@ g_scanner_new (GScannerConfig       *config_templ)
   scanner->input_name = NULL;
   scanner->parse_errors        = 0;
   scanner->max_parse_errors = 0;
-  scanner->msg_handler = g_scanner_msg_handler;
   
   scanner->config = g_new0 (GScannerConfig, 1);
   
@@ -205,6 +204,8 @@ g_scanner_new (GScannerConfig       *config_templ)
   scanner->text_len = 0;
   scanner->input_fd = -1;
   scanner->peeked_char = -1;
+
+  scanner->msg_handler = g_scanner_msg_handler;
   
   return scanner;
 }
@@ -622,7 +623,7 @@ g_scanner_unexp_token (GScanner             *scanner,
   register guint       expected_string_len;
   register gchar       *message_prefix;
   register gboolean    print_unexp;
-  void (*msg_handler) (GScanner*, const gchar*, ...);
+  void (*msg_handler)   (GScanner*, const gchar*, ...);
   
   g_return_if_fail (scanner != NULL);
 
index 49842504a10417627e2dd2c99b0b5b8f31af9210..39703dc66ef0aeed1ff223936584329e5c3cfa93 100644 (file)
@@ -2,9 +2,9 @@
 
 gtkincludedir = $(includedir)/gtk
 
-lib_LTLIBRARIES = libgtk.la
+lib_LTLIBRARIES = libgtk-1.1.la
 
-libgtk_la_SOURCES = \
+libgtk_1_1_la_SOURCES = \
        gtkaccelerator.c        \
        gtkadjustment.c         \
        gtkaspectframe.c        \
@@ -200,7 +200,7 @@ $(srcdir)/gtktypebuiltins.h: @MAINT@ $(srcdir)/gtk.defs $(srcdir)/gentypeinfo.el
 $(srcdir)/gtktypebuiltins.c: @MAINT@ $(srcdir)/gtk.defs $(srcdir)/gentypeinfo.el
        $(SHELL) $(srcdir)/runelisp $(srcdir)/gentypeinfo.el id $< $@
 
-libgtk_la_LDFLAGS = -postfix $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
+libgtk_1_1_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
 
 EXTRA_DIST = \
        line-arrow.xbm          \
@@ -227,48 +227,31 @@ INCLUDES = -I$(top_srcdir) -I../glib -I$(top_srcdir)/glib @x_cflags@
 
 noinst_PROGRAMS = testgtk testinput testselection simple 
 
-testgtk_LDADD = \
-       libgtk.la                               \
-       $(top_builddir)/gdk/libgdk.la           \
-       @x_ldflags@                             \
-       @x_libs@                                \
-       $(top_builddir)/glib/libglib.la         \
-       -lm
-
-testinput_LDADD = \
-       libgtk.la                               \
-       $(top_builddir)/gdk/libgdk.la           \
-       @x_ldflags@                             \
-       @x_libs@                                \
-       $(top_builddir)/glib/libglib.la         \
-       -lm
-
-testselection_LDADD = \
-       libgtk.la                               \
-       $(top_builddir)/gdk/libgdk.la           \
-       @x_ldflags@                             \
-       @x_libs@                                \
-       $(top_builddir)/glib/libglib.la         \
-       -lm
+# FIXME, we currently rely on linking against libglib-1.1
 
-simple_LDADD = \
-       libgtk.la                               \
-       $(top_builddir)/gdk/libgdk.la           \
-       @x_ldflags@                             \
-       @x_libs@                                \
-       $(top_builddir)/glib/libglib.la         \
+DEPS = \
+       libgtk-@LT_RELEASE@.la                          \
+       $(top_builddir)/gdk/libgdk-@LT_RELEASE@.la      \
+       $(top_builddir)/glib/libglib-1.1.la
+LDADDS = \
+       libgtk-@LT_RELEASE@.la                          \
+       $(top_builddir)/gdk/libgdk-@LT_RELEASE@.la      \
+       @x_ldflags@                                     \
+       @x_libs@                                        \
+       $(top_builddir)/glib/libglib-1.1.la             \
        -lm
 
-DEPS = \
-       libgtk.la                               \
-       $(top_builddir)/gdk/libgdk.la           \
-       $(top_builddir)/glib/libglib.la
-
 testgtk_DEPENDENCIES = $(DEPS)
 testinput_DEPENDENCIES = $(DEPS)
 testselection_DEPENDENCIES = $(DEPS)
 simple_DEPENDENCIES = $(DEPS)
 
+testgtk_LDADD = $(LDADDS)
+testinput_LDADD = $(LDADDS)
+testselection_LDADD = $(LDADDS)
+simple_LDADD = $(LDADDS)
+
+
 .PHONY: files test test-debug
 
 files:
index df718d432c1e3927d80001cb4a934896b9eb688b..00f9fddbafb2eb33331a618e5d0abaf6d105a276 100644 (file)
@@ -1512,18 +1512,15 @@ gtk_object_unref (GtkObject *object)
     }
 }
 
-
-#ifdef G_ENABLE_DEBUG
 static GtkObject *gtk_trace_object = NULL;
 void
-gtk_trace_referencing (gpointer    *o,
+gtk_trace_referencing (GtkObject   *object,
                       const gchar *func,
-                      guint       local_frame,
+                      guint       dummy,
                       guint       line,
                       gboolean    do_ref)
 {
   gboolean exists;
-  GtkObject *object = (GtkObject*) o;
 
   if (gtk_debug_flags & GTK_DEBUG_OBJECTS)
     {
@@ -1535,23 +1532,20 @@ gtk_trace_referencing (gpointer    *o,
       if (exists &&
          (object == gtk_trace_object ||
           gtk_trace_object == (void*)42))
-       printf ("trace: object_%s: (%s:%p)->ref_count=%d%s (%s_f%02d:%d)\n",
-               do_ref ? "ref" : "unref",
-               gtk_type_name (GTK_OBJECT_TYPE (object)),
-               object,
-               object->ref_count,
-               do_ref ? " + 1" : " - 1 ",
-               func,
-               local_frame,
-               line);
-  
-      if (!exists)
-       printf ("trace: object_%s(%p): no such object! (%s_f%02d:%d)\n",
-               do_ref ? "ref" : "unref",
-               object,
-               func,
-               local_frame,
-               line);
+       fprintf (stdout, "trace: object_%s: (%s:%p)->ref_count=%d %s (%s:%d)\n",
+                do_ref ? "ref" : "unref",
+                gtk_type_name (GTK_OBJECT_TYPE (object)),
+                object,
+                object->ref_count,
+                do_ref ? "+ 1" : "- 1",
+                func,
+                line);
+      else if (!exists)
+       fprintf (stdout, "trace: object_%s(%p): no such object! (%s:%d)\n",
+                do_ref ? "ref" : "unref",
+                object,
+                func,
+                line);
     }
   
   if (do_ref)
@@ -1559,20 +1553,3 @@ gtk_trace_referencing (gpointer    *o,
   else
     gtk_object_unref (object);
 }
-#endif /* G_ENABLE_DEBUG */
-
-/* these functions are just in place to preserve binary compatibility,
- * they should be removed when releasing 1.1.0
- */
-#undef gtk_object_data_force_id
-#undef gtk_object_data_try_key
-guint
-gtk_object_data_force_id (const gchar     *key)
-{
-  return g_dataset_force_id (key);
-}
-guint
-gtk_object_data_try_key (const gchar     *key)
-{
-  return g_dataset_try_key (key);
-}
index 96aa84439381dc571e1b5e56a1829bd634d0efa4..d41d0f6fb067d18caad0fd0d7ffe62c621c845cf 100644 (file)
@@ -358,15 +358,15 @@ GtkObject* gtk_object_check_cast (GtkObject *obj,
 GtkObjectClass* gtk_object_check_class_cast (GtkObjectClass *klass,
                                             GtkType         cast_type);
 
-void   gtk_trace_referencing   (gpointer    *object,
+void   gtk_trace_referencing   (GtkObject   *object,
                                 const gchar *func,
-                                guint        local_frame,
+                                guint        dummy,
                                 guint        line,
                                 gboolean     do_ref);
 
-#if G_ENABLE_DEBUG && defined (__GNUC__)
-#  define gtk_object_ref(o)   G_STMT_START{static guint f=0;gtk_trace_referencing((gpointer)o,__PRETTY_FUNCTION__,++f,__LINE__, 1);f--;}G_STMT_END
-#  define gtk_object_unref(o) G_STMT_START{static guint f=0;gtk_trace_referencing((gpointer)o,__PRETTY_FUNCTION__,++f,__LINE__, 0);f--;}G_STMT_END
+#if G_ENABLE_DEBUG
+#  define gtk_object_ref(o)   G_STMT_START{gtk_trace_referencing((o),G_GNUC_PRETTY_FUNCTION,0,__LINE__,1);}G_STMT_END
+#  define gtk_object_unref(o) G_STMT_START{gtk_trace_referencing((o),G_GNUC_PRETTY_FUNCTION,0,__LINE__,0);}G_STMT_END
 #endif /* G_ENABLE_DEBUG && __GNUC__ */
 
 
index 7b3bac5022cb5827a2aca63e9afbb620797e8199..3ab1e0f1222902910d622ab17b7130f7a1e7a63c 100644 (file)
@@ -75,10 +75,6 @@ extern GtkType gtk_type_builtins[];
 #define GTK_FUNDAMENTAL_TYPE(type)             ((GtkFundamentalType) ((type) & 0xFF))
 #define GTK_TYPE_SEQNO(type)           ((type) > 0xFF ? (type) >> 8 : (type))
 
-/* deprecated
- */
-#define GTK_TYPE_IS_A                  gtk_type_is_a
-
 typedef struct _GtkArg        GtkArg;
 typedef struct _GtkObject      GtkObject;   /* forward declaration of object type */
 typedef struct _GtkTypeInfo    GtkTypeInfo;
index 6fd1d7119f908a019c08ee6a2b807cb1dd514893..5e50642e95f4af2f1694d1a4aaeddb54857e18b0 100644 (file)
@@ -3768,7 +3768,7 @@ void build_recursive (GtkCTree *ctree, gint cur_depth, gint depth,
   for (i = num_pages + num_books; i > num_books; i--)
     {
       pages++;
-      sprintf (buf1, "Page %02d", random() % 100);
+      sprintf (buf1, "Page %02d", (gint) random() % 100);
       sprintf (buf2, "Item %d-%d", cur_depth, i);
       sibling = gtk_ctree_insert (ctree, parent, sibling, text, 5, pixmap3,
                                  mask3, NULL, NULL, TRUE, FALSE);
@@ -3780,7 +3780,7 @@ void build_recursive (GtkCTree *ctree, gint cur_depth, gint depth,
   for (i = num_books; i > 0; i--)
     {
       books++;
-      sprintf (buf1, "Book %02d", random() % 100);
+      sprintf (buf1, "Book %02d", (gint) random() % 100);
       sprintf (buf2, "Item %d-%d", cur_depth, i);
       sibling = gtk_ctree_insert (ctree, parent, sibling, text, 5, pixmap1,
                                  mask1, pixmap2, mask2, FALSE, FALSE);
index 6fd1d7119f908a019c08ee6a2b807cb1dd514893..5e50642e95f4af2f1694d1a4aaeddb54857e18b0 100644 (file)
@@ -3768,7 +3768,7 @@ void build_recursive (GtkCTree *ctree, gint cur_depth, gint depth,
   for (i = num_pages + num_books; i > num_books; i--)
     {
       pages++;
-      sprintf (buf1, "Page %02d", random() % 100);
+      sprintf (buf1, "Page %02d", (gint) random() % 100);
       sprintf (buf2, "Item %d-%d", cur_depth, i);
       sibling = gtk_ctree_insert (ctree, parent, sibling, text, 5, pixmap3,
                                  mask3, NULL, NULL, TRUE, FALSE);
@@ -3780,7 +3780,7 @@ void build_recursive (GtkCTree *ctree, gint cur_depth, gint depth,
   for (i = num_books; i > 0; i--)
     {
       books++;
-      sprintf (buf1, "Book %02d", random() % 100);
+      sprintf (buf1, "Book %02d", (gint) random() % 100);
       sprintf (buf2, "Item %d-%d", cur_depth, i);
       sibling = gtk_ctree_insert (ctree, parent, sibling, text, 5, pixmap1,
                                  mask1, pixmap2, mask2, FALSE, FALSE);