]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-8
check if old_parent_private is not NULL before trying to g_list_remove the
[~andy/gtk] / ChangeLog.pre-2-8
index 7d239c53cbea10c0c0fd411cb35f21a7fef16f42..16a92f79ecfb98b04b1f6dc99dfbe97393893801 100644 (file)
@@ -1,3 +1,241 @@
+Mon Jul 13 12:42:51 1998  George Lebl  <jirka@5z.com>
+
+       * gdk/gdkwindow.h: (gdk_window_reparent) check if old_parent_private
+         is not NULL before trying to g_list_remove the child. A patch
+         from Michael Lausch.
+
+Sun Jul 12 16:40:06 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument
+       collection (always casted to doubles upon argument passing).
+
+Sun Jul 12 05:59:26 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtktypeutils.c (gtk_type_new): call the base classes'
+       object_init_func for derived objects with the object's ->klass field
+       still pointing to the corresponding base class, otherwise overridden
+       class functions could get called with partly-initialized objects.
+       (change from Tero Pulkkinen <terop@modeemi.cs.tut.fi>).
+
+Sun Jul 12 02:47:35 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkobject.h:
+       * gtk/gtkobject.c:
+       (gtk_object_arg_get_info): new functions which wraps gtk_arg_get_info().
+
+       * gtk/gtkcontainer.h:
+       * gtk/gtkcontainer.c:
+       (gtk_container_child_arg_get_info): new function which wraps
+       gtk_arg_get_info().
+
+Fri Jul 10 13:29:53 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkcontainer.c:
+       (gtk_container_arg_get): 
+       (gtk_container_arg_set): 
+       * gtk/gtkobject.c:
+       (gtk_object_arg_set): 
+       (gtk_object_arg_get):
+       strictly check for the associated get/set arg functions. if an
+       arg is readable or writable, the associated class functions *must*
+       be provided.
+
+Fri Jul 10 09:37:50 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkaccellabel.c (gtk_accel_label_accelerator_width): only take the
+       padding into account if there is an accelerator.
+
+Fri Jul 10 05:51:44 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkcontainer.c:
+       (gtk_container_add_with_args): collect the arguments with
+       gtk_container_child_args_collect, not through gtk_object_args_collect.
+       (gtk_container_child_set): likewise.
+
+Fri Jul 10 04:20:35 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtktypeutils.h: 
+       * gtk/gtktypeutils.c: added a new internal type GTK_TYPE_IDENTIFIER
+       which is derived from GTK_TYPE_STRING.
+
+       * gtk/gtkbindings.c: reworked the argument type handling.
+
+Thu Jul  9 21:03:19 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
+
+       * gtk/gtkpreview.c: add in just enough support for 1 or 4 bits
+         so that it seems to allow normal operation in those modes,
+         although you will only see black  (GIMP toolbar now pops up,
+         just don't create a new image and GIMP now works in 4 bit.)
+
+Thu Jul  9 20:20:04 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
+
+       * gdk/gdkvisuals.c: 4 bit support, increased available_depths
+         array, which was too low (?)
+
+Fri Jul 10 00:02:04 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkcontainer.h: 
+       * gtk/gtkcontainer.c: deleted most of the argument handling code, since
+       that is now implemented in gtkarg.c. similar to gtk_object_args_collect,
+       we now export a new function gtk_container_child_args_collect().
+       for consistency with the object arguments, a few functions got renamed:
+       gtk_container_child_arg_get -> gtk_container_child_get,
+       gtk_container_child_arg_set -> gtk_container_child_set,
+       gtk_container_child_arg_getv -> gtk_container_child_getv,
+       gtk_container_child_arg_setv -> gtk_container_child_setv,
+       gtk_container_add_with_argv -> gtk_container_addv.
+       note, gtk_container_add_with_args() remained, because its equivalent
+       would be gtk_container_add(,, ...) which would break all existing code.
+       (gtk_container_add_child_arg_type): similar to gtk_object_add_arg_type,
+       we expect the `arg_name' argument to be a const static string now.
+       (gtk_container_get_child_arg_type): function removed.
+
+Thu Jul  9 07:03:04 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkargcollector.c: new file which holds gtk_arg_collect_value().
+       this is a static inline function that collects command line arguments
+       from a va_list. this file can just be included in all places that
+       need this functionality.
+
+       * gtk/gtkarg.h: 
+       * gtk/gtkarg.c: new files which implement most of the argument
+       handling stuff from gtkobject.c. also collected a few more
+       gtk_arg_* utility functions from else places.
+
+       * gtk/gtkobject.h: 
+       * gtk/gtkobject.c: moved most of the argument handling code into
+       gtkarg.c. we now export gtk_object_args_collect() as a non-public
+       method with a blind va_list pointer.
+       (gtk_object_add_arg_type): the `arg_name' argument is required to be a
+       const static string now.
+       (gtk_object_get_arg_type): function got removed.
+
+       * gtk/gtkwidget.c: 
+       (gtk_widget_set): 
+       (gtk_widget_new): adaptions for gtk_object_args_collect().
+
+       * gtk/gtktypeutils.c (gtk_type_init_builtin_types): changed the internal
+       fundamental type name so as to have a valid prefix, e.g. "bool"->
+       "gboolean", "string"->"GtkString" and somesuch, left "void" as is,
+       though that should probably be something like GtkNone since the
+       type itself is called GTK_TYPE_NONE.
+       even the internal type names need to avoid name clashes and must live
+       in their own namespace, several code portions rely on that.
+       we should relly have typedefs such as typedef gchar* GtkString; so the
+       fundamental type names can be used for code dumpers just like with all
+       the Gtk/Gdk types.
+
+Wed Jul  8 15:31:28 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkbutton.c: handle GTK_RELIEF_HALF, which was introduced to
+       keep either GTK_STATE_NORMAL for relief buttons (GTK_RELIEF_NONE) or
+       to still honour GTK_WIDGET_STATE(), e.g. for coloured buttons
+       (GTK_RELIEF_HALF).
+       (gtk_button_paint): set the background for prelighted buttons with
+       GTK_STATE_NORMAL only if GTK_RELIEF_NONE.
+       (gtk_button_draw_focus): if GTK_RELIEF_NONE, use GTK_STATE_NORMAL for
+       the shadow type (otherwise we get strange shadows for coloured buttons).
+       (gtk_button_set_relief): queue a redraw after changing
+       the relief.
+       (gtk_button_class_init): 
+       (gtk_button_set_arg): 
+       (gtk_button_get_arg): added object argument "GtkButton::relief".
+
+       * gtk/gtkenums.h (enum): added GTK_RELIEF_HALF.
+
+Mon Jul  6 18:30:48 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkbutton.h:
+       * gtk/gtkbutton.c: GtkButtons are now derived from GtkBin. we mirror
+       GTK_BIN (button)->child to button->child to keep source compatibility.
+
+       * gtk/gtkoptionmenu.c:
+       * gtk/gtkclist.c:
+       * gtkcheckbutton.c: don't refer to button->child, but
+       GTK_BIN (button)->child instead.
+
+Mon Jul  6 12:06:23 BST 1998  Tony Gale  <gale@gtk.org>
+
+       * docs/gtkfaq.sgml: update anon CVS info
+
+Sat Jul  4 13:16:24 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/*.c: changed reversed_[12] to reserved_[12] in gtk_*_get_type
+       functions.
+
+       * gdk/gdkwindow.c:
+       * gdk/gdkvisual.c: check for some pointer values to be != NULL, prior
+       to XFree() calls.
+
+1998-07-03  Federico Mena Quintero  <federico@nuclecu.unam.mx>
+
+       * gtk/gtkfeatures.h.in: Added GDK_HAVE_FULL_CROSSING_EVENT, since
+       I seem to have erroneously added it to gtkfeatures.h (not .h.in).
+
+Fri Jul  3 14:55:31 PDT 1998 Manish Singh <yosh@gimp.org>
+
+       * gtk/gtkfeatures.h.in: added GTK_HAVE_RELIEF_STYLE
+
+Wed Jul  1 20:58:46 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkwidget.h:
+       * gtk/gtkwidget.c: temporary implementation of action signal "debug_msg"
+
+       * gtk/gtkbindings.c (gtk_binding_entry_add_signal): fixed an off-by-one
+       error that prevented signal to entry addition for signals with
+       parameters.
+
+Wed Jul  1 10:05:36 PDT 1998 Manish Singh <yosh@gimp.org>
+
+       * ltconfig: fix for properly detecting shared lib support on
+       SunPro cc (taken from libtool 1.2.a)
+
+Wed Jul  1 03:33:30 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkrc.c: implementation of the "class" keyword for styles.
+
+Tue Jun 30 14:30:37 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkrc.c: fixed lookup order for rc styles. the latest defined
+       rc set pattern is favoured, this is needed for overriding of style
+       patterns with subsequently parsed rc files.
+
+Tue Jun 30 12:45:19 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkrc.c: code overhaul for simplicity and more descriptive
+       error messages.
+
+Tue Jun 30 09:24:40 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkaccelgroup.c (gtk_accelerator_parse): parse "<Release>"
+       modifier as well.
+       (gtk_accelerator_name): add "<Release>" to the accelerator name if
+       neccessary.
+
+       * gtk/gtkbindings.c (BINDING_MOD_MASK): take BINDING_MOD_MASK into
+       account.
+
+       * gtk/gtkwidget.c (gtk_widget_real_key_release_event): implemented
+       default handler for key-release events, which checks for activation
+       of GDK_RELEASE_MASK key bindings.
+
+       * gdk/gdktypes.h (enum): added GDK_RELEASE_MASK to GdkModifierType.
+
+Mon Jun 29 13:39:45 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkarrow.h: GtkType and macro fixups.
+       * gtk/gtkarrow.c: widget argument implementation: "GtkArrow::arrow_type",
+       "GtkArrow::shadow_type".
+
+Sun Jun 28 11:39:17 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkalignment.h:
+       * gtk/gtkbin.h: GtkType and macro fixups.
+       
+       * gtk/gtkalignment.c (gtk_alignment_class_init): widget argument
+       implementation: GtkAlignment::xalign, GtkAlignment::yalign,
+       GtkAlignment::xscale, GtkAlignment::yscale.
+
 Sun Jun 28 04:29:10 1998  Tim Janik  <timj@gtk.org>
 
        * gtk/gtktypeutils.c (gtk_type_class_init): call the base class init