]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-8
use g_atexit() instead of ATEXIT.
[~andy/gtk] / ChangeLog.pre-2-8
index e9e153dc4f02ca3b9fb0069661983f68291e6f35..4011d028f65d0309623e447e8f61b3b418def007 100644 (file)
@@ -1,3 +1,470 @@
+Tue Sep  8 05:19:51 1998  Tim Janik  <timj@gtk.org>
+
+       * gdk/gdk.c (gdk_init): use g_atexit() instead of ATEXIT.
+
+       * gtk/gtkmain.c (gtk_init): use g_atexit() instead of ATEXIT.
+
+       * gtk/gtkobject.c (gtk_object_init_type): use g_atexit() instead of
+       ATEXIT.
+       
+       * ltconfig: use GLib's ltconfig which honours lcc.
+
+Mon Sep  7 20:09:23 PDT 1998 Manish Singh <yosh@gimp.org>
+
+       * configure.in: comment the -std1 check and save LIBS properly
+
+Sun Sep  6 12:36:23 PDT 1998 Manish Singh <yosh@gimp.org>
+
+       * gtk/testrgb.c: #include <stdlib.h>
+
+Sat Sep  5 16:01:19 1998  Owen Taylor  <otaylor@gtk.org>
+
+       * gdk/gdkinputxfree.h gdk/gdk.c gdk/gdkinputgxi.h:
+       When the pointer is grabbed on an input window,
+       either explicitely, or through press-grab, and
+       then grabbed on a non-input window, ungrab the
+       devices.
+
+Sat Sep  5 07:13:19 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtktypeutils.h: don't include any gdk headers.
+       added structure definitions for GtkTypeObject and GtkTypeClass,
+       which cover the very basic fields of GtkObject and GtkObjectClass,
+       which are actually used by the type system.
+       
+       * gtk/gtktypeutils.c: don't include gtkobject.h or gtkcontainer.h,
+       we only refer to our own structures. improved class inheritance
+       sanity checking a bit.
+
+       * gtk/gtkobject.h: placed appropriate comments at the beginnings
+       of the GtkObject and GtkObjectClass structures, which explain
+       their relationship to GtkTypeObject and GtkTypeClass.
+
+       * gtk/gtktypeutils.h:
+       * gtk/gtkobject.h:
+       moved GTK_STRUCT_OFFSET(), GTK_CHECK_CAST(), GTK_CHECK_CLASS_CAST(),
+       GTK_CHECK_TYPE() and GTK_CHECK_CLASS_TYPE() macro definitions from
+       gtkobject.h to gtktypeutils.h.
+
+       * gtk/gtkobject.h:
+       * gtk/gtkobject.c:
+       removed gtk_object_check_cast() and gtk_object_check_class_cast()
+       functions. to keep source compatibility, we can provide macro aliases
+       for the corresponding gtk_type_* functions. but then again, people
+       shouldn't have been using these functions anyways since they were part
+       of Gtk's internal API.
+
+       * gtk/gtktypeutils.h:
+       * gtk/gtktypeutils.c:
+       implemented gtk_type_check_object_cast() and gtk_type_check_class_cast()
+       functions to check GtkTypeObject and GtkTypeClass types.
+
+Thu Sep  3 07:16:54 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkctree.h:
+       * gtk/gtkctree.c: `const' fixups.
+
+       * gtk/gtkclist.h:
+       * gtk/gtkclist.c: `const' fixups and some coding style adaptions.
+
+       * gtk/gtkctree.c (gtk_ctree_insert_node): don't dereference *text
+       if it is passed as NULL.
+
+Wed Sep  2 22:41:40 1998  Raph Levien  <raph@gimp.org>
+
+       * gdk/gdkrgb.c (gdk_rgb_select_conv): Fixed 32bpp image depth
+       big-endian cases. Added a 4bpp packed gray mode (somewhat
+       incorrectly hardwired to MSB), which should take care of
+       Stric's hardware.
+
+Thu Sep  3 04:45:57 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkaccelgroup.c (gtk_accel_group_add): plug another small
+       GtkSIgnalQuery leak.
+
+Thu Sep  3 04:22:20 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current):
+       GTK_MENU_DIR_CHILD: check for the existance of
+       menu_shell->active_menu_item before accessing its child.
+       GTK_MENU_DIR_PREV:
+       GTK_MENU_DIR_NEXT: if we haven't had an active item and still
+       don't, make a default selection.
+
+Wed Sep  2 00:28:58 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkwidget.c (gtk_widget_propagate_state): iterate
+       the children with _forall for sensitivity changes and with
+       _foreach on pure state changes. this fixes a lot of the
+       old inclusions of internal widgets into _foreach calls.
+
+       * gtk/gtktree.c: removed gtk_tree_foreach, let gtk_tree_forall
+       do the work. don't walk the subtrees of first level children.
+
+       * gtk/gtktreeitem.c: provide a _forall implementation,
+       which walks the subtrees as well for include_internals.
+
+       * gtk/gtkmenuitem.c: provide a _forall implementation, which walks
+       the submenus as well for include_internals.
+
+       * gtk/gtkscrolledwindow.c: removed gtk_scrolled_window_foreach and
+       implemented gtk_scrolled_window_forall, which will iterate over
+       the viewport and the scrollbars for gtk_container_forall or
+       iterate over the viewports children for gtk_container_foreach.
+
+       * gtk/gtktoolbar.c: 
+       * gtk/gtktable.c: 
+       * gtk/gtkpaned.c:
+       * gtk/gtkpacker.c:
+       * gtk/gtkmenushell.c: 
+       * gtk/gtklist.c: 
+       * gtk/gtkfixed.c:
+       * gtk/gtkclist.c:
+       * gtk/gtkbox.c: 
+       * gtk/gtkbin.c: 
+       * gtk/gtknotebook.c:
+       removed the old gtk_*_foreach functions and provided gtk_*_forall.
+
+       * gtk/gtknotebook.c:
+       (gtk_notebook_real_switch_page): expose tabs.
+       (gtk_notebook_page_num): new function to return the page number
+       of a distinct child.
+       (gtk_notebook_focus): minor fixups. foxus handling is still screwed
+       under some circumstances.
+
+       * gtk/gtktreeitem.c:
+       (gtk_real_tree_item_select):
+       (gtk_real_tree_item_deselect): major fixes.
+       some general fixups wrt queue_redraw, and tree items not being
+       NO_WINDOW widgets.
+
+       * gtk/gtklistitem.c:
+       (gtk_real_list_item_select): 
+       (gtk_real_list_item_deselect): 
+       (gtk_real_list_item_toggle): 
+       removed unneccessary queue_redraw calls.
+
+Wed Aug 30 09:42:07 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkoptionmenu.c: allow optionmenus to have the focus and
+       automatically popup the menu on space bar.
+
+Wed Aug 26 06:40:34 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkcontainer.h:
+       * gtk/gtkcontainer.c: implemented gtk_container_forall() (as a class
+       method), which acts similar to gtk_container_foreach(), but iterates
+       over internal children. the GtkContainer::foreach signal vanished in
+       favour of a new class method ->forall() that optionally includes
+       internal widgets.
+
+       * gtk/gtkclist.c (gtk_clist_init): provide no _foreach implementation
+       but a _forall implementation, since all child widgets we have are
+       internal ones.
+       (column_button_create): set the parent window prior
+       to gtk_widget_set_parent().
+
+       * gtk/gtkwidget.c:
+       exchanged all calls to gtk_container_foreach() with
+       gtk_container_forall().
+
+       * gtk/gtkwidget.h: 
+       * gtk/gtkwidget.c: added the GTK_COMPOSITE_CHILD, exported through
+       the GtkWidget::composite_child argument. to have a widget created
+       with the flag initially, two new functions got added to wrap a widgets
+       creation:
+       gtk_widget_push_composite_flag() and gtk_widget_pop_composite_flag().
+
+Wed Aug 25 23:37:39 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtktooltips.h:
+       * gtk/gtktooltips.c: exported gtk_tooltips_create_window() as
+       gtk_tooltips_force_window(), so tooltips->tip_window can be accessed
+       prior to the first tip being set.
+       don't put an extra reference on the window, since it is a toplevel,
+       it wont get destroyed from anywhere else.
+
+       * overall macro and GtkType fixups.
+
+1998-09-02  Federico Mena Quintero  <federico@nuclecu.unam.mx>
+
+       * gtk/gtkcolorsel.c: Replaced "foo == TRUE" and "foo == FALSE"
+       constructs by more forgiving ones.  (Does anyone else feel like
+       the color selector need rewriting?).
+
+Tue Sep  1 10:53:52 1998  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkprogress.c (gtk_progress_finalize): Unref
+       the adjustment.
+
+       * gtk/gtkmenu.c: Modified reference counting so
+       that the reference count from the toplevel that
+       the menu creates to the menu is invisible to the
+       application.
+
+Mon Aug 31 21:36:31 1998  Raph Levien  <raph@gimp.org>
+
+       * gdk/gdkrgb.c (gdk_rgb_select_conv): Improved the 24bpp
+       conversion selection logic, so Suns and other big-endian
+       machines should get faster conv routines. This is also the
+       point where 4bpp gray and 1bpp are checked in, although I
+       wouldn't be surprised if 1bpp is a little buggy. This is
+       synchronized with the 0.0.7 release of GdkRgb.
+
+       * gtk/Makefile.am: 
+       * gtk/testrgb.c: Checked in testrgb.c to CVS, and made the
+       appropriate change to the Makefile.am
+
+Mon Aug 31 15:18:19 1998  Raph Levien  <raph@gimp.org>
+
+       * gdk/gdkrgb.[ch]: Added a gdk_draw_rgb_image_dithalign function,
+       which is good for images that scroll (makes the dither patterns
+       align correctly)
+
+Sat Aug 29 14:50:56 PDT 1998 Manish Singh <yosh@gimp.org>
+
+       * gdk/gdkcolor.c:
+       (gdk_colormap_new) (gdk_colormap_get_system):
+       quell some warnings with g_hash_table_new
+
+       * gtk/gtkaccelgroup.c (gtk_accel_group_add): free the GtkSignalQuery
+       when we're done with it
+
+       * gtk/itemfactory.c:
+       (gtk_item_factory_from_path):
+       (gtk_item_factory_create_item): free some strings
+
+       * gtk/gtklabel.c:
+       (gtk_label_finalize): free label->pattern when done
+       (gtk_label_parse_uline): null terminate pattern string, delete
+       some duplicated code
+
+       * gtk/testthreads.c: add #include <unistd.h> for sleep()
+
+Tue Aug 25 16:52:47 1998  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtktext.c (recompute_geometry): Make sure the
+       mark we pass to line start is the beginning of a 
+       real line, not a wrapped one.
+
+Mon Aug 24 18:37:15 1998  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtktext.c: Reference count the fonts used in
+       the text widget.
+
+       * gdk/gdk.h gdk/gdkcolor.c: Rename the color allocation
+       freeing functions to be more consistent, and more 
+       convenient; leave the old names in for backwards compatibility.
+
+       * gdk/gdkcolor.c gdk/gdkprivate.h: Reference count the
+       allocations in pseudo-color colormaps to greatly reduce
+       calls to XAllocColor. Keep a per-colormap hashtable to
+       speed up finding if there is an already-allocated matching
+       color.
+
+       * gdk/gdkcolor.c: Don't just match read the system colormap
+       when the colormap is created, but synchronize our copy
+       with the system colormap periodically.
+       
+       * gdk/gdk.c gdk/gdktypes.h gtk/gtkentry.c gtk/gtktext.c: 
+       Change XIM constants names to match GDK conventions
+
+       * gtk/testinput.c: Allow the drawing area to get the focus.
+
+       * gtk/testgtk.c: Change around the Text test to demonstrates
+       multiple fonts, use more colors.
+
+       * gtk/gtkwidget.c: Improve gtk_widget_get_colormap()/visual()
+       so they work after a widget is unrealized.
+
+       * gtk/gtktext.[ch]: Remove the requirement that the text
+       widget be realized before adding text (!) Allocate colors
+       ourself, instead of requiring the caller allocate them.
+       Allow changing styles to work properly by keeping track
+       of the values for a certain property are default or
+       set explicitely.
+
+       * gtk/gtkmenu.h: Added some comments.
+
+       * gtk/gtkentry.c: Changes to match XIM constants.
+
+       * gtk/gdk.h gdk/gdkwindow.c: Add gdk_drawable_set_data(),
+       for adding keyed data to drawables. (Uses g_dataset
+       internally)
+
+       * gdk/gdkpixmap.c: Keep track of the colors we allocate,
+       when creating an XPM - store them as user data for the GdkPixmap,
+       so we don't leak colors when we create pixmaps from XPM's.
+
+       Allocate memory for color information in large blocks instead of 
+       as many little pieces.
+       
+Mon Aug 24 11:09:32 PDT 1998 Manish Singh <yosh@gimp.org>
+
+       * gdk/gdkrgb.c: removed some unused variables
+
+       * gtk/gtkclist.c
+       * gtk/gtkmain.c: #if 0'd out some unused code
+
+       * gtk/gtkobject.c: check for NULL object hash table in gtk_object_debug
+
+Mon Aug 24 02:36:53 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkarg.h:
+       * gtk/gtkarg.c:
+       * gtk/gtkwidget.h: 
+       * gtk/gtkwidget.c: 
+       * gtk/gtkobject.h:
+       * gtk/gtkobject.c:
+       * gtk/gtkcontainer.h: 
+       * gtk/gtkcontainer.c: 
+       (gtk_object_new):
+       (gtk_object_set):
+       (gtk_widget_new):
+       (gtk_widget_set): 
+       (gtk_container_add_with_args):
+       (gtk_container_child_set):
+       begin the parameter elipsis (...) after the first argument name. this
+       change is source compatible, since it was always required, even as NULL.
+       (gtk_args_collect): 
+       (gtk_object_args_collect): 
+       (gtk_container_child_args_collect):
+       changed prototypes to pass first_arg_name, also, pass va_list variable
+       by value (portability concerns). callers changed.
+
+       * gtk/gtkargcollector.c: implemented gtk_arg_collect_value() as
+       a huge macro GTK_ARG_COLLECT_VALUE() <shrug>. this is needed because we
+       can't pass va_list variables by reference for portability reasons.
+
+Fri Aug 21 22:40:00  Raph Levien  <raph@gtk.org>
+
+       * gdk/gdkrgb.c: added calls to gdk_rgb_init in the get_cmap and
+       get_visual calls, so that it gets implicitly initialized.
+
+Fri Aug 21 13:06:04 1998  Stuart Parmenter  <pavlov@gimp.org>
+       * gtk/gtkfeatures.h.in:  added GTK_HAVE_FEATURES_1_1_2 for changes
+       such as GtkCTree function name changes
+       
+Fri Aug 21 02:31:26 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkmain.h:
+       * gtk/gtkmain.c (gtk_check_version): added a function to perform a
+       binary version check, returning a static string for error descriptions,
+       or NULL on success.
+
+Thu Aug 20 20:08:15 1998  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtktext.c ([un]draw_cursor): Check to see if we've
+       computed our geometry yet, and if not, ignore the request.
+
+       * gtk/gtktext.c (correct_cache_insert): Fiddled around
+       some more. All the bug-test codes seem to work at once
+       now. (fingers crossed...)
+
+Thu Aug 20 13:04:08 PDT 1998 Manish Singh <yosh@gimp.org>
+
+       * gdk/gdkrgb.c: silly visual fixes
+
+       * gtk/testgtk.c: call gdk_rgb_init so color preview test actually
+       works
+
+1998-08-20  Federico Mena Quintero  <federico@nuclecu.unam.mx>
+
+       * gtk/gtkhandlebox.c (gtk_handle_box_button_changed): Do not do
+       anything if the event's window is not the bin window.
+       (gtk_handle_box_motion): Likewise.
+
+1998-08-19  Raph Levien  <raph@gimp.org>
+
+       * gtk/testgtk.c (create_color_preview): pushed the colormap and
+       visual so it would work better with GdkRgb.
+
+1998-08-19  Raph Levien  <raph@gimp.org>
+
+       * gdk/gdkrgb.c: fixed some bugs in the 565_d mode, and added a
+       4bpp static_color mode (for vga displays). Also fixed a '64' value
+       in the dither matrix, which was causing one pixel out of 16k to be
+       dithered wrong.
+
+       * gtk/gtkpreview.{c,h}: Changed it to work with GdkRgb, gutting
+       most of the contents. This is an API change - any apps that relied
+       on the internal structure of GtkPreview will need some change -
+       most notably in the use of reserved colors. The Gimp needed
+       changes in this regard.
+
+Wed Aug 19 00:11:14 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkmain.c (gtk_init): allow argument parsing in gtk without
+       G_ENABLE_DEBUG being defined (specifically --gtk-module= and
+       --g-fatal-warnings), noticed by miguel.
+
+Tue Aug 18 17:54:40 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkrc.c (gtk_rc_parse_file): use g_get_current_dir() instead of
+       getcwd().
+
+       * gdk/gdkprivate.h:
+       * gdk/gdkglobals.c:
+       * gdk/gdkwindow.c:
+       * gdk/gdk.c:
+       * gtk/gtkwindow.c: 
+       * gtk/gtkitemfactory.c: 
+       dropped gdk_progname, use g_get_prgname()/g_set_prgname() instead.
+
+       * gtk/gtkselection.c:
+       * gtk/gtkpreview.c:
+       * gtk/gtkobject.c: 
+       * gtk/gtkmain.c: 
+       * gtk/gtktypeutils.c: indentation fixes due to g_message() use.
+
+       * gdk/gdkrgb.c: exchanged occourances of g_print with g_message.
+
+Tue Aug 18 17:22:22 1998  Lars Hamann  <lars@gtk.org>
+
+       * gtk/gtknotebook.c (gtk_notebook_switch_focus_tab): 
+       * gtk/gtknotebook.c (gtk_notebook_update_labels): fix for sigsegv
+       in case of show_tabs == NULL
+
+Tue Aug 18 03:54:43 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkmain.c (gtk_init): restricted the --g*fatal-* arguments
+       to --g-fatal-warnings again. this option now causes log levels of
+       WARNING and CRITICAL to abort().
+
+       * gdk/gdk.c: 
+       * gdk/gdkdnd.c: 
+       * gdk/gdkcc.c: 
+       * gdk/gdkfont.c: 
+       * gdk/gdkwindow.c:
+       * gdk/gdkvisual.c:
+       * gtk/gtkwidget.c:
+       * gtk/gtktypeutils.c:
+       * gtk/gtktree.c:
+       * gtk/gtkfontsel.c:
+       * gtk/gtkmain.c:
+       * gtk/gtkobject.c:
+       * gtk/gtkpreview.c:
+       * gtk/gtkselection.c:
+       * gtk/gtktext.c:
+       * gtk/gtktree.c:
+       * gtk/gtktreeitem.c:
+       did a global search&replace to substitute g_print() calls with
+       g_message(). libraries shouldn't use printf(), g_print() or
+       g_printerr() at all.
+       a bunch of the replacements should probably be wrapped into the
+       G{D|T}K_NOTE() macros, so they are special cased for debugging
+       purposes in a sane way, avoiding all the nasty #ifdef DEBUG_MY_TEDDY
+       things.
+
+       * gdk/gdkdnd.c: added copyright notice.
+
+Mon Aug 17 17:28:00  Raph Levien  <raph@gtk.org>
+
+       * gdk/gdkrgb.c: Further speedups of the 565_d case. It's
+       impressively fast now - about 4.65 Mpix/s on an IBM TP 600
+       running a PII 233. It's synced with the 0.0.5 release of
+       GdkRgb.
+
 Tue Aug 18 00:29:13 1998  Lars Hamann  <lars@gtk.org>
 
         * gtk/gtkclist.h: