preserve automake CFLAGS.
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.
This commit is contained in:
parent
01003779e9
commit
e8df8ce17b
139
ChangeLog
139
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>
|
Mon May 11 02:31:19 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkobject.h:
|
* 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
|
is Digital Unix and we need -std1 to get the
|
||||||
right prototypes.
|
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>
|
Sat May 9 16:30:33 BST 1998 Tony Gale <gale@gtk.org>
|
||||||
|
|
||||||
* docs/gtk_tut_it.sgml: update of Italian tutorial
|
* 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/gtkwidget.c:
|
||||||
* gtk/gtksignal.c: reverted GTK_TYPE_IS_A back to gtk_type_is_a.
|
* 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>
|
Thu May 7 19:03:50 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtktypeutils.c (gtk_type_unique): asure that the type system has
|
* 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
|
for the signal names to avoid multiple hashing of the signal name on
|
||||||
lookups for the several hirarchy levels of an object.
|
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>
|
Tue May 5 15:33:27 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkmain.c (gtk_init): added gtk_signal_init() to avoid repeatedly
|
* gtk/gtkmain.c (gtk_init): added gtk_signal_init() to avoid repeatedly
|
||||||
|
@ -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>
|
Mon May 11 02:31:19 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkobject.h:
|
* 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
|
is Digital Unix and we need -std1 to get the
|
||||||
right prototypes.
|
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>
|
Sat May 9 16:30:33 BST 1998 Tony Gale <gale@gtk.org>
|
||||||
|
|
||||||
* docs/gtk_tut_it.sgml: update of Italian tutorial
|
* 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/gtkwidget.c:
|
||||||
* gtk/gtksignal.c: reverted GTK_TYPE_IS_A back to gtk_type_is_a.
|
* 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>
|
Thu May 7 19:03:50 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtktypeutils.c (gtk_type_unique): asure that the type system has
|
* 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
|
for the signal names to avoid multiple hashing of the signal name on
|
||||||
lookups for the several hirarchy levels of an object.
|
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>
|
Tue May 5 15:33:27 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkmain.c (gtk_init): added gtk_signal_init() to avoid repeatedly
|
* gtk/gtkmain.c (gtk_init): added gtk_signal_init() to avoid repeatedly
|
||||||
|
@ -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>
|
Mon May 11 02:31:19 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkobject.h:
|
* 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
|
is Digital Unix and we need -std1 to get the
|
||||||
right prototypes.
|
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>
|
Sat May 9 16:30:33 BST 1998 Tony Gale <gale@gtk.org>
|
||||||
|
|
||||||
* docs/gtk_tut_it.sgml: update of Italian tutorial
|
* 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/gtkwidget.c:
|
||||||
* gtk/gtksignal.c: reverted GTK_TYPE_IS_A back to gtk_type_is_a.
|
* 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>
|
Thu May 7 19:03:50 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtktypeutils.c (gtk_type_unique): asure that the type system has
|
* 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
|
for the signal names to avoid multiple hashing of the signal name on
|
||||||
lookups for the several hirarchy levels of an object.
|
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>
|
Tue May 5 15:33:27 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkmain.c (gtk_init): added gtk_signal_init() to avoid repeatedly
|
* gtk/gtkmain.c (gtk_init): added gtk_signal_init() to avoid repeatedly
|
||||||
|
@ -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>
|
Mon May 11 02:31:19 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkobject.h:
|
* 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
|
is Digital Unix and we need -std1 to get the
|
||||||
right prototypes.
|
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>
|
Sat May 9 16:30:33 BST 1998 Tony Gale <gale@gtk.org>
|
||||||
|
|
||||||
* docs/gtk_tut_it.sgml: update of Italian tutorial
|
* 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/gtkwidget.c:
|
||||||
* gtk/gtksignal.c: reverted GTK_TYPE_IS_A back to gtk_type_is_a.
|
* 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>
|
Thu May 7 19:03:50 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtktypeutils.c (gtk_type_unique): asure that the type system has
|
* 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
|
for the signal names to avoid multiple hashing of the signal name on
|
||||||
lookups for the several hirarchy levels of an object.
|
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>
|
Tue May 5 15:33:27 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkmain.c (gtk_init): added gtk_signal_init() to avoid repeatedly
|
* gtk/gtkmain.c (gtk_init): added gtk_signal_init() to avoid repeatedly
|
||||||
|
@ -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>
|
Mon May 11 02:31:19 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkobject.h:
|
* 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
|
is Digital Unix and we need -std1 to get the
|
||||||
right prototypes.
|
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>
|
Sat May 9 16:30:33 BST 1998 Tony Gale <gale@gtk.org>
|
||||||
|
|
||||||
* docs/gtk_tut_it.sgml: update of Italian tutorial
|
* 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/gtkwidget.c:
|
||||||
* gtk/gtksignal.c: reverted GTK_TYPE_IS_A back to gtk_type_is_a.
|
* 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>
|
Thu May 7 19:03:50 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtktypeutils.c (gtk_type_unique): asure that the type system has
|
* 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
|
for the signal names to avoid multiple hashing of the signal name on
|
||||||
lookups for the several hirarchy levels of an object.
|
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>
|
Tue May 5 15:33:27 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkmain.c (gtk_init): added gtk_signal_init() to avoid repeatedly
|
* gtk/gtkmain.c (gtk_init): added gtk_signal_init() to avoid repeatedly
|
||||||
|
@ -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>
|
Mon May 11 02:31:19 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkobject.h:
|
* 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
|
is Digital Unix and we need -std1 to get the
|
||||||
right prototypes.
|
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>
|
Sat May 9 16:30:33 BST 1998 Tony Gale <gale@gtk.org>
|
||||||
|
|
||||||
* docs/gtk_tut_it.sgml: update of Italian tutorial
|
* 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/gtkwidget.c:
|
||||||
* gtk/gtksignal.c: reverted GTK_TYPE_IS_A back to gtk_type_is_a.
|
* 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>
|
Thu May 7 19:03:50 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtktypeutils.c (gtk_type_unique): asure that the type system has
|
* 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
|
for the signal names to avoid multiple hashing of the signal name on
|
||||||
lookups for the several hirarchy levels of an object.
|
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>
|
Tue May 5 15:33:27 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkmain.c (gtk_init): added gtk_signal_init() to avoid repeatedly
|
* gtk/gtkmain.c (gtk_init): added gtk_signal_init() to avoid repeatedly
|
||||||
|
@ -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>
|
Mon May 11 02:31:19 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkobject.h:
|
* 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
|
is Digital Unix and we need -std1 to get the
|
||||||
right prototypes.
|
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>
|
Sat May 9 16:30:33 BST 1998 Tony Gale <gale@gtk.org>
|
||||||
|
|
||||||
* docs/gtk_tut_it.sgml: update of Italian tutorial
|
* 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/gtkwidget.c:
|
||||||
* gtk/gtksignal.c: reverted GTK_TYPE_IS_A back to gtk_type_is_a.
|
* 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>
|
Thu May 7 19:03:50 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtktypeutils.c (gtk_type_unique): asure that the type system has
|
* 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
|
for the signal names to avoid multiple hashing of the signal name on
|
||||||
lookups for the several hirarchy levels of an object.
|
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>
|
Tue May 5 15:33:27 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkmain.c (gtk_init): added gtk_signal_init() to avoid repeatedly
|
* gtk/gtkmain.c (gtk_init): added gtk_signal_init() to avoid repeatedly
|
||||||
|
@ -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 ])
|
AC_ARG_WITH(xinput, [ --with-xinput=[no/gxi/xfree] support XInput ])
|
||||||
|
|
||||||
if test "x$enable_debug" = "xyes"; then
|
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"
|
CFLAGS="$CFLAGS -DG_ENABLE_DEBUG"
|
||||||
else
|
else
|
||||||
if test "x$enable_debug" = "xno"; then
|
if test "x$enable_debug" = "xno"; then
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
gdkincludedir = $(includedir)/gdk
|
gdkincludedir = $(includedir)/gdk
|
||||||
|
|
||||||
lib_LTLIBRARIES = libgdk.la
|
lib_LTLIBRARIES = libgdk-1.1.la
|
||||||
|
|
||||||
libgdk_la_SOURCES = \
|
libgdk_1_1_la_SOURCES = \
|
||||||
gdk.c \
|
gdk.c \
|
||||||
gdkcc.c \
|
gdkcc.c \
|
||||||
gdkcolor.c \
|
gdkcolor.c \
|
||||||
@ -46,8 +46,7 @@ gdkinclude_HEADERS = \
|
|||||||
gdktypes.h \
|
gdktypes.h \
|
||||||
gdkx.h
|
gdkx.h
|
||||||
|
|
||||||
libgdk_la_LDFLAGS = \
|
libgdk_1_1_la_LDFLAGS = \
|
||||||
-postfix $(LT_RELEASE) \
|
|
||||||
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
|
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
|
||||||
@x_ldflags@ @x_libs@
|
@x_ldflags@ @x_libs@
|
||||||
|
|
||||||
|
@ -127,7 +127,7 @@ gdk_region_polygon (GdkPoint *points,
|
|||||||
GdkRegionPrivate *private;
|
GdkRegionPrivate *private;
|
||||||
GdkRegion *region;
|
GdkRegion *region;
|
||||||
Region xregion;
|
Region xregion;
|
||||||
int xfill_rule;
|
gint xfill_rule = 0;
|
||||||
|
|
||||||
g_return_val_if_fail (points != NULL, NULL);
|
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 */
|
g_return_val_if_fail (npoints != 0, NULL); /* maybe we should check for at least three points */
|
||||||
|
@ -127,7 +127,7 @@ gdk_region_polygon (GdkPoint *points,
|
|||||||
GdkRegionPrivate *private;
|
GdkRegionPrivate *private;
|
||||||
GdkRegion *region;
|
GdkRegion *region;
|
||||||
Region xregion;
|
Region xregion;
|
||||||
int xfill_rule;
|
gint xfill_rule = 0;
|
||||||
|
|
||||||
g_return_val_if_fail (points != NULL, NULL);
|
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 */
|
g_return_val_if_fail (npoints != 0, NULL); /* maybe we should check for at least three points */
|
||||||
|
@ -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>
|
Mon May 11 01:44:10 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gdataset.c: new file, gdatasets implement the object data
|
* gdataset.c: new file, gdatasets implement the object data
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
configincludedir = $(pkglibdir)/include
|
configincludedir = $(pkglibdir)/include
|
||||||
|
|
||||||
lib_LTLIBRARIES = libglib.la
|
lib_LTLIBRARIES = libglib-1.1.la
|
||||||
|
|
||||||
libglib_la_SOURCES = \
|
libglib_1_1_la_SOURCES = \
|
||||||
garray.c \
|
garray.c \
|
||||||
gcache.c \
|
gcache.c \
|
||||||
gdataset.c \
|
gdataset.c \
|
||||||
@ -26,12 +26,12 @@ include_HEADERS = \
|
|||||||
configinclude_DATA = \
|
configinclude_DATA = \
|
||||||
glibconfig.h
|
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)
|
INCLUDES = -I$(top_srcdir)
|
||||||
|
|
||||||
noinst_PROGRAMS = testglib
|
noinst_PROGRAMS = testglib
|
||||||
testglib_LDADD = libglib.la
|
testglib_LDADD = libglib-@LT_RELEASE@.la
|
||||||
|
|
||||||
.PHONY: files release
|
.PHONY: files release
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ AC_ARG_ENABLE(ansi, [ --enable-ansi turn on strict ansi [default=no]]
|
|||||||
, enable_ansi=no)
|
, enable_ansi=no)
|
||||||
|
|
||||||
if test "x$enable_debug" = "xyes"; then
|
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"
|
CFLAGS="$CFLAGS -DG_ENABLE_DEBUG"
|
||||||
else
|
else
|
||||||
if test "x$enable_debug" = "xno"; then
|
if test "x$enable_debug" = "xno"; then
|
||||||
|
117
glib/glib.h
117
glib/glib.h
@ -89,38 +89,76 @@
|
|||||||
|
|
||||||
|
|
||||||
/* Provide definitions for some commonly used macros.
|
/* 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
|
#undef NULL
|
||||||
#define FALSE 0
|
|
||||||
#endif /* FALSE */
|
|
||||||
|
|
||||||
#ifndef TRUE
|
|
||||||
#define TRUE 1
|
|
||||||
#endif /* TRUE */
|
|
||||||
|
|
||||||
#ifndef NULL
|
|
||||||
#define NULL ((void*) 0)
|
#define NULL ((void*) 0)
|
||||||
#endif /* NULL */
|
|
||||||
|
|
||||||
#ifndef MAX
|
#undef FALSE
|
||||||
|
#define FALSE 0
|
||||||
|
|
||||||
|
#undef TRUE
|
||||||
|
#define TRUE 1
|
||||||
|
|
||||||
|
#undef MAX
|
||||||
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
|
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
|
||||||
#endif /* MAX */
|
|
||||||
|
|
||||||
#ifndef MIN
|
#undef MIN
|
||||||
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
|
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
|
||||||
#endif /* MIN */
|
|
||||||
|
|
||||||
#ifndef ABS
|
#undef ABS
|
||||||
#define ABS(a) (((a) < 0) ? -(a) : (a))
|
#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)))
|
#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
|
#ifndef ATEXIT
|
||||||
# ifdef HAVE_ATEXIT
|
# ifdef HAVE_ATEXIT
|
||||||
@ -156,29 +194,6 @@
|
|||||||
#define g_string(x) #x
|
#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
|
/* Provide macros for error handling. The "assert" macros will
|
||||||
@ -285,17 +300,6 @@
|
|||||||
|
|
||||||
#endif /* G_DISABLE_CHECKS */
|
#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
|
#ifdef __cplusplus
|
||||||
@ -966,7 +970,6 @@ struct _GScanner
|
|||||||
guint max_parse_errors;
|
guint max_parse_errors;
|
||||||
|
|
||||||
/* maintained/used by the g_scanner_*() functions */
|
/* maintained/used by the g_scanner_*() functions */
|
||||||
GScannerMsgFunc msg_handler;
|
|
||||||
GScannerConfig *config;
|
GScannerConfig *config;
|
||||||
GTokenType token;
|
GTokenType token;
|
||||||
GValue value;
|
GValue value;
|
||||||
@ -983,6 +986,8 @@ struct _GScanner
|
|||||||
guint text_len;
|
guint text_len;
|
||||||
gint input_fd;
|
gint input_fd;
|
||||||
gint peeked_char;
|
gint peeked_char;
|
||||||
|
|
||||||
|
GScannerMsgFunc msg_handler;
|
||||||
};
|
};
|
||||||
|
|
||||||
GScanner* g_scanner_new (GScannerConfig *config_templ);
|
GScanner* g_scanner_new (GScannerConfig *config_templ);
|
||||||
|
@ -161,7 +161,6 @@ g_scanner_new (GScannerConfig *config_templ)
|
|||||||
scanner->input_name = NULL;
|
scanner->input_name = NULL;
|
||||||
scanner->parse_errors = 0;
|
scanner->parse_errors = 0;
|
||||||
scanner->max_parse_errors = 0;
|
scanner->max_parse_errors = 0;
|
||||||
scanner->msg_handler = g_scanner_msg_handler;
|
|
||||||
|
|
||||||
scanner->config = g_new0 (GScannerConfig, 1);
|
scanner->config = g_new0 (GScannerConfig, 1);
|
||||||
|
|
||||||
@ -206,6 +205,8 @@ g_scanner_new (GScannerConfig *config_templ)
|
|||||||
scanner->input_fd = -1;
|
scanner->input_fd = -1;
|
||||||
scanner->peeked_char = -1;
|
scanner->peeked_char = -1;
|
||||||
|
|
||||||
|
scanner->msg_handler = g_scanner_msg_handler;
|
||||||
|
|
||||||
return scanner;
|
return scanner;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
gtkincludedir = $(includedir)/gtk
|
gtkincludedir = $(includedir)/gtk
|
||||||
|
|
||||||
lib_LTLIBRARIES = libgtk.la
|
lib_LTLIBRARIES = libgtk-1.1.la
|
||||||
|
|
||||||
libgtk_la_SOURCES = \
|
libgtk_1_1_la_SOURCES = \
|
||||||
gtkaccelerator.c \
|
gtkaccelerator.c \
|
||||||
gtkadjustment.c \
|
gtkadjustment.c \
|
||||||
gtkaspectframe.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
|
$(srcdir)/gtktypebuiltins.c: @MAINT@ $(srcdir)/gtk.defs $(srcdir)/gentypeinfo.el
|
||||||
$(SHELL) $(srcdir)/runelisp $(srcdir)/gentypeinfo.el id $< $@
|
$(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 = \
|
EXTRA_DIST = \
|
||||||
line-arrow.xbm \
|
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
|
noinst_PROGRAMS = testgtk testinput testselection simple
|
||||||
|
|
||||||
testgtk_LDADD = \
|
# FIXME, we currently rely on linking against libglib-1.1
|
||||||
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
|
|
||||||
|
|
||||||
simple_LDADD = \
|
|
||||||
libgtk.la \
|
|
||||||
$(top_builddir)/gdk/libgdk.la \
|
|
||||||
@x_ldflags@ \
|
|
||||||
@x_libs@ \
|
|
||||||
$(top_builddir)/glib/libglib.la \
|
|
||||||
-lm
|
|
||||||
|
|
||||||
DEPS = \
|
DEPS = \
|
||||||
libgtk.la \
|
libgtk-@LT_RELEASE@.la \
|
||||||
$(top_builddir)/gdk/libgdk.la \
|
$(top_builddir)/gdk/libgdk-@LT_RELEASE@.la \
|
||||||
$(top_builddir)/glib/libglib.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
|
||||||
|
|
||||||
testgtk_DEPENDENCIES = $(DEPS)
|
testgtk_DEPENDENCIES = $(DEPS)
|
||||||
testinput_DEPENDENCIES = $(DEPS)
|
testinput_DEPENDENCIES = $(DEPS)
|
||||||
testselection_DEPENDENCIES = $(DEPS)
|
testselection_DEPENDENCIES = $(DEPS)
|
||||||
simple_DEPENDENCIES = $(DEPS)
|
simple_DEPENDENCIES = $(DEPS)
|
||||||
|
|
||||||
|
testgtk_LDADD = $(LDADDS)
|
||||||
|
testinput_LDADD = $(LDADDS)
|
||||||
|
testselection_LDADD = $(LDADDS)
|
||||||
|
simple_LDADD = $(LDADDS)
|
||||||
|
|
||||||
|
|
||||||
.PHONY: files test test-debug
|
.PHONY: files test test-debug
|
||||||
|
|
||||||
files:
|
files:
|
||||||
|
@ -1512,18 +1512,15 @@ gtk_object_unref (GtkObject *object)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#ifdef G_ENABLE_DEBUG
|
|
||||||
static GtkObject *gtk_trace_object = NULL;
|
static GtkObject *gtk_trace_object = NULL;
|
||||||
void
|
void
|
||||||
gtk_trace_referencing (gpointer *o,
|
gtk_trace_referencing (GtkObject *object,
|
||||||
const gchar *func,
|
const gchar *func,
|
||||||
guint local_frame,
|
guint dummy,
|
||||||
guint line,
|
guint line,
|
||||||
gboolean do_ref)
|
gboolean do_ref)
|
||||||
{
|
{
|
||||||
gboolean exists;
|
gboolean exists;
|
||||||
GtkObject *object = (GtkObject*) o;
|
|
||||||
|
|
||||||
if (gtk_debug_flags & GTK_DEBUG_OBJECTS)
|
if (gtk_debug_flags & GTK_DEBUG_OBJECTS)
|
||||||
{
|
{
|
||||||
@ -1535,22 +1532,19 @@ gtk_trace_referencing (gpointer *o,
|
|||||||
if (exists &&
|
if (exists &&
|
||||||
(object == gtk_trace_object ||
|
(object == gtk_trace_object ||
|
||||||
gtk_trace_object == (void*)42))
|
gtk_trace_object == (void*)42))
|
||||||
printf ("trace: object_%s: (%s:%p)->ref_count=%d%s (%s_f%02d:%d)\n",
|
fprintf (stdout, "trace: object_%s: (%s:%p)->ref_count=%d %s (%s:%d)\n",
|
||||||
do_ref ? "ref" : "unref",
|
do_ref ? "ref" : "unref",
|
||||||
gtk_type_name (GTK_OBJECT_TYPE (object)),
|
gtk_type_name (GTK_OBJECT_TYPE (object)),
|
||||||
object,
|
object,
|
||||||
object->ref_count,
|
object->ref_count,
|
||||||
do_ref ? " + 1" : " - 1 ",
|
do_ref ? "+ 1" : "- 1",
|
||||||
func,
|
func,
|
||||||
local_frame,
|
|
||||||
line);
|
line);
|
||||||
|
else if (!exists)
|
||||||
if (!exists)
|
fprintf (stdout, "trace: object_%s(%p): no such object! (%s:%d)\n",
|
||||||
printf ("trace: object_%s(%p): no such object! (%s_f%02d:%d)\n",
|
|
||||||
do_ref ? "ref" : "unref",
|
do_ref ? "ref" : "unref",
|
||||||
object,
|
object,
|
||||||
func,
|
func,
|
||||||
local_frame,
|
|
||||||
line);
|
line);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1559,20 +1553,3 @@ gtk_trace_referencing (gpointer *o,
|
|||||||
else
|
else
|
||||||
gtk_object_unref (object);
|
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);
|
|
||||||
}
|
|
||||||
|
@ -358,15 +358,15 @@ GtkObject* gtk_object_check_cast (GtkObject *obj,
|
|||||||
GtkObjectClass* gtk_object_check_class_cast (GtkObjectClass *klass,
|
GtkObjectClass* gtk_object_check_class_cast (GtkObjectClass *klass,
|
||||||
GtkType cast_type);
|
GtkType cast_type);
|
||||||
|
|
||||||
void gtk_trace_referencing (gpointer *object,
|
void gtk_trace_referencing (GtkObject *object,
|
||||||
const gchar *func,
|
const gchar *func,
|
||||||
guint local_frame,
|
guint dummy,
|
||||||
guint line,
|
guint line,
|
||||||
gboolean do_ref);
|
gboolean do_ref);
|
||||||
|
|
||||||
#if G_ENABLE_DEBUG && defined (__GNUC__)
|
#if G_ENABLE_DEBUG
|
||||||
# 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_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{static guint f=0;gtk_trace_referencing((gpointer)o,__PRETTY_FUNCTION__,++f,__LINE__, 0);f--;}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__ */
|
#endif /* G_ENABLE_DEBUG && __GNUC__ */
|
||||||
|
|
||||||
|
|
||||||
|
@ -75,10 +75,6 @@ extern GtkType gtk_type_builtins[];
|
|||||||
#define GTK_FUNDAMENTAL_TYPE(type) ((GtkFundamentalType) ((type) & 0xFF))
|
#define GTK_FUNDAMENTAL_TYPE(type) ((GtkFundamentalType) ((type) & 0xFF))
|
||||||
#define GTK_TYPE_SEQNO(type) ((type) > 0xFF ? (type) >> 8 : (type))
|
#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 _GtkArg GtkArg;
|
||||||
typedef struct _GtkObject GtkObject; /* forward declaration of object type */
|
typedef struct _GtkObject GtkObject; /* forward declaration of object type */
|
||||||
typedef struct _GtkTypeInfo GtkTypeInfo;
|
typedef struct _GtkTypeInfo GtkTypeInfo;
|
||||||
|
@ -3768,7 +3768,7 @@ void build_recursive (GtkCTree *ctree, gint cur_depth, gint depth,
|
|||||||
for (i = num_pages + num_books; i > num_books; i--)
|
for (i = num_pages + num_books; i > num_books; i--)
|
||||||
{
|
{
|
||||||
pages++;
|
pages++;
|
||||||
sprintf (buf1, "Page %02d", random() % 100);
|
sprintf (buf1, "Page %02d", (gint) random() % 100);
|
||||||
sprintf (buf2, "Item %d-%d", cur_depth, i);
|
sprintf (buf2, "Item %d-%d", cur_depth, i);
|
||||||
sibling = gtk_ctree_insert (ctree, parent, sibling, text, 5, pixmap3,
|
sibling = gtk_ctree_insert (ctree, parent, sibling, text, 5, pixmap3,
|
||||||
mask3, NULL, NULL, TRUE, FALSE);
|
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--)
|
for (i = num_books; i > 0; i--)
|
||||||
{
|
{
|
||||||
books++;
|
books++;
|
||||||
sprintf (buf1, "Book %02d", random() % 100);
|
sprintf (buf1, "Book %02d", (gint) random() % 100);
|
||||||
sprintf (buf2, "Item %d-%d", cur_depth, i);
|
sprintf (buf2, "Item %d-%d", cur_depth, i);
|
||||||
sibling = gtk_ctree_insert (ctree, parent, sibling, text, 5, pixmap1,
|
sibling = gtk_ctree_insert (ctree, parent, sibling, text, 5, pixmap1,
|
||||||
mask1, pixmap2, mask2, FALSE, FALSE);
|
mask1, pixmap2, mask2, FALSE, FALSE);
|
||||||
|
@ -3768,7 +3768,7 @@ void build_recursive (GtkCTree *ctree, gint cur_depth, gint depth,
|
|||||||
for (i = num_pages + num_books; i > num_books; i--)
|
for (i = num_pages + num_books; i > num_books; i--)
|
||||||
{
|
{
|
||||||
pages++;
|
pages++;
|
||||||
sprintf (buf1, "Page %02d", random() % 100);
|
sprintf (buf1, "Page %02d", (gint) random() % 100);
|
||||||
sprintf (buf2, "Item %d-%d", cur_depth, i);
|
sprintf (buf2, "Item %d-%d", cur_depth, i);
|
||||||
sibling = gtk_ctree_insert (ctree, parent, sibling, text, 5, pixmap3,
|
sibling = gtk_ctree_insert (ctree, parent, sibling, text, 5, pixmap3,
|
||||||
mask3, NULL, NULL, TRUE, FALSE);
|
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--)
|
for (i = num_books; i > 0; i--)
|
||||||
{
|
{
|
||||||
books++;
|
books++;
|
||||||
sprintf (buf1, "Book %02d", random() % 100);
|
sprintf (buf1, "Book %02d", (gint) random() % 100);
|
||||||
sprintf (buf2, "Item %d-%d", cur_depth, i);
|
sprintf (buf2, "Item %d-%d", cur_depth, i);
|
||||||
sibling = gtk_ctree_insert (ctree, parent, sibling, text, 5, pixmap1,
|
sibling = gtk_ctree_insert (ctree, parent, sibling, text, 5, pixmap1,
|
||||||
mask1, pixmap2, mask2, FALSE, FALSE);
|
mask1, pixmap2, mask2, FALSE, FALSE);
|
||||||
|
Loading…
Reference in New Issue
Block a user