X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=ChangeLog.pre-2-8;h=6cb2f52b116ad153ff1aa9bd47dae7553d16954c;hb=ee7038f9fddd0213c65474e5d59609107caed7c6;hp=48f2271d1a0397aba65060ae47c3e6dca399e1ae;hpb=26be2f7003d278f1abdea92e363da8272098f1b5;p=~andy%2Fgtk diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 48f2271d1..6cb2f52b1 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,561 @@ +Thu Jan 29 22:57:39 1998 Owen Taylor + + * gtk/gtkstyle.c (gtk_default_draw_polygon): Close + the polygon if it isn't already. (To match gtk_draw_polygon) + Simplified logic. (Appearance could probably be + improved for objects with gradual curves by adding in + some intermediate edge coloration) + +Thu Jan 29 21:36:14 1998 Tim Janik + + * gtk/gtksignal.c (gtk_signal_query): new function to gather + information about a certain signal. + + * gtk/gtksignal.c (gtk_signal_newv): new function similar to + gtk_signal_new(). + + * gtk/gtksignal.c (gtk_signal_real_emit): check for function_offset + == 0. + + * gtk/gtksignal.c (gtk_signal_connect_by_type): perform a signal + id lookup on the parent as well. + + * gtk/gtkobject.c (gtk_object_class_add_user_signal): new + function for implementation of user defined signals. + * gtk/gtkobject.c (gtk_object_class_add_signals): free old + signal id array. + + * gtk/gtkobject.h: this holds the typedefs for GtkSignalFunc and + GtkSignalMarshaller now, because they are used for + gtk_object_class_add_user_signal. + + * gtk/gtktypeutils.c (gtk_type_class_init): reset object_class->signals + and object_class->nsignals for new object classes. + +Tue Jan 27 15:52:48 1998 Federico Mena + + * gtk/gtkhandlebox.c (gtk_handle_box_realize): The auto_shrink + policy of the floating window is now set to TRUE. This fixes the + problem of the floating window being too big when the handlebox + child is small. + (gtk_handle_box_motion): Now we use GDK_POINTER_MOTION_HINT_MASK + to improve movement. + +Tue Jan 27 14:15:50 CST 1998 Shawn T. Amundson + + * docs/gtkfaq.sgml: more additions/changes Tony Gale. + +Mon Jan 26 17:12:12 CST 1998 Shawn T. Amundson + + * docs/gtkfaq.sgml: additions/changes from new FAQ maintainers + Nathan Froyd and Tony Gale. + +Mon Jan 26 16:54:02 CST 1998 Shawn T. Amundson + + * docs/gtk.texi: additions/changes from Gregory A. McLean + +Mon Jan 26 02:15:29 1998 Tim Janik + + * gdk/gdkdraw.c: + * gdk/gdkgc.c: + * gdk/gdkimage.c: + * gdk/gdkinput.c: + * gdk/gdkpixmap.c: + * gdk/gdkproperty.c: + * gdk/gdkselection.c: + * gdk/gdkwindow.c: added a bunch of checks for window != NULL and + private->destroyed. + +Sun Jan 25 19:15:32 1998 Tim Janik + + * gtk/gtkwidget.h (enum): added new widget flag GTK_LEAVE_PENDING. + * gtk/gtkmain.c (gtk_main_iteration_do): if a widget has + GTK_LEAVE_PENDING set, send it its LEAVE_NOTIFY event, regardless + of a grab or sensitivity. + changed the compression code for enter/leave notify events to + free *both* compressed event, and removed an unneccessary call + to g_list_remove. + + * ChangeLog: finally catched up with the recent changes on my part. + + * gtk/gtkobject.h: new element n_args in GtkObjectClass. + * gtk/gtkobject.c (gtk_object_query_args): this function now returns + the arguments in the correct order. + + * gtk/gtkbox.c: + * gtk/gtkbutton.c: + * gtk/gtkcontainer.c: + * gtk/gtkframe.c: + * gtk/gtklabel.c: + * gtk/gtkobject.c: + * gtk/gtkwidget.c: + * gtk/gtkwindow.c: various fixes and additions to the gtk_*_set_arg + and gtk_*_get_arg() functions. + + * gdk/gdk.h: + * gdk/gdk.c (gdk_pointer_is_grabbed): new function. + + * gtk/gtkmain.h: + * gtk/gtkmain.c: implementations of gtk_invoke_key_snoopers(), + gtk_key_snooper_install() and gtk_key_snooper_remove(). this + mechanism allowes applications to track global hot keys that need + to bypass accelerator tables and else key processing stuff. + +Thu Jan 22 18:58:44 1998 Federico Mena + + * gdk/gdkcc.c: Switched the file to GNU indentation, for consistency. + + * gdk/gdktypes.h (struct _GdkColorContext): Picky, picky... fix + two lines with wrong indentation :-) + +Thu Jan 22 02:32:06 1998 Scott Goehring + + * gtk/Makefile.am: Fixed the called to runelisp to use $(SHELL). + (Cannot rely on the script having execute permissions.) + +Wed Jan 21 17:29:54 CST 1998 Shawn T. Amundson + + * Released 0.99.3 + +Wed Jan 21 01:32:21 1998 Tim Janik + + * gtk/gtkwidget.h: + * gtk/gtkwidget.c: changed the state_changed signal to take an + extra argument `old_state'. + removed `gtk_widget_restore_state'. + changed `gtk_widget_set_state' and `gtk_widget_set_sensitive' to use + only one function `gtk_widget_propagate_state' to iterate down the + tree. this causes GtkWidget::state_changed to be invoked on state + changes and on sensitivity changes. some comment cleanups. + +Tue Jan 20 16:38:52 1998 Owen Taylor + * gtk/gtkcombobox.{c,h}: removed + gtk/gtkcombo.{c,h}: added [Paolo Molaro's version] + gtk/testgtk.c: changed to use new version + gtk/Makefile.am gtk/gtk.h + +Mon Jan 19 20:10:19 CST 1998 Shawn T. Amundson + + * gdk/gdk.h Fixed typo where strdup was used instead of g_strdup + (found by Frank Neumann) + +Mon Jan 19 16:21:00 1998 Federico Mena + + * gtk/gtktoolbar.c (gtk_toolbar_class_init): Set + container_class->focus to NULL. Widgets in the toolbar should not + get the focus via the normal key bindings (no toolkit does this, + and it makes sense). + + * gtk/testgtk.c (create_toolbar): Removed the GTK_PIXMAP casts to + match Eckehard's new prototypes. + + * gtk/gtktoolbar.h: Switched the order of the tooltip_text and + widget parameters to the gtk_toolbar_*_widget() functions, to be + friendlier to the C++ bindings. This is per request of Guillaume + Laurent. + +Mon Jan 19 09:16:38 1998 Tim Janik + + * gtk/gtkmain.c (gtk_grab_add) (gtk_grab_remove): this is a stack + of grabbing widgets now, having unique entries. the GTK_HAS_GRAB + flag of a widget is set while it is on the stack (wasn't + implemented before). + +Mon Jan 19 00:46:18 1998 MET Eckehard Berns + + * gtk/gtktoolbar.[ch]: changed + gtk_toolbar_{append,prepend,inser]_item to accept any GtkWidget + as icon to allow more flexibility + +Sun Jan 18 16:54:55 CST 1998 Shawn T. Amundson + * gtk/gtkstatusbar.[ch] added new widget, the statusbar + +Sun Jan 18 09:57:00 1998 Owen Taylor + + * gtk/gtkbutton.c gtk/gtkclist.c gtk/gtkdrawingarea.c + gtk/gtkentry.c gtk/gtkeventbox.c gtk/gtkfixed.c + gtk/gtkhandlebox.c gtk/gtkhscale.c gtk/gtkhscrollbar.c + gtk/gtkitem.c gtk/gtklist.c gtk/gtkmenushell.c gtk/gtkmisc.c + gtk/gtknotebook.c gtk/gtkpaned.c gtk/gtkpreview.c + gtk/gtkprogressbar.c gtk/gtkruler.c gtk/gtktext.c gtk/gtktree.c + gtk/gtkviewport.c gtk/gtkvscale.c gtk/gtkvscrollbar.c + gtk/gtkwidget.{c,h} + + Added gtk_widget_set_parent_window() and + gtk_widget_get_parent_window(). All widgets should use: + + gtk_widget_get_parent_window() instead of widget->parent->window. + + Any widget that wants to have children not in the parent window, + should use gtk_widget_set_parent() in their realize() and + add() routines. + + CList and Viewport widgets changed to do this. (Viewport + widget using code from gtk-fortier-980117-0.patch.) + +Sat Jan 17 23:56:02 1998 Owen Taylor + + * gtk/gtkobject.c: + renamed g_string_equal => g_str_equal + renamed g_string_hash => g_str_hash + +Sun Jan 18 03:57:52 1998 Tim Janik + + * gtk/gtkframe.c: gtk_*_get_arg() and gtk_*_set_arg() implementations. + * gtk/gtkobject.c: new arg `GtkObject::object_signal' similar to + `GtkObject::signal'. check for class type in gtk_object_{setv|getv}. + + * gtk/gtkobject.c: + * gtk/gtksignal.c: + * gtk/gtktypeutils.h: + * gtk/gtktypeutils.c: added GTK_TYPE_DOUBLE. + + * gtk/gtkwidget.c: new args `has_focus' and `has_default'. + * gtk/gtkwindow.c: new arg `window_position'. + + * gtk/gtkbox.h: + * gtk/gtkbox.c: new functions gtk_box_reorder_child, + gtk_box_query_child_packing and gtk_box_set_child_packing to + allow modification of the child linkage after the widget tree + is setup. + + * gtk/gtkbox.c: + * gtk/gtklabel.c: + * gtk/gtkwindow.c: + * gtk/gtkwidget.c: + * gtk/gtkobject.c: gtk_*_get_arg() and gtk_*_set_arg() fixes + and implementations. + +Sat Jan 17 18:06:35 1998 Owen Taylor + * gdk/gdk.c (gdk_events_pending): Take putback events into + account + + * gdk/gdk.c (gdk_event_free): Handle dropdataavaible memory + allocation correctly. (Incompatible change: client must + _not_ fre event->data and event->data_type.) + + * gdk/gdk.c (gdk_event_translate): Changed DND dragging + so that we don't ungrab pointer when we reenter window + to prevent extra Enter/Leave effects which had bad + effects. + Changed drag zone handling to not send uncessary + DragEnter events. + Fixed EnterNotify/LeaveNotify handling. (Only pay + attention to events on window, don't specify these + events to XGrabPointer - that isn't valid, and handle + reverse the sense of the handling of LeaveNotify.) + + * gdk/gdkwindow.c (gdk_window_remove_filter): Free removed + filter. + + * gtk/gtk.defs (GdkFont): gdk_font_free => gdk_font_unref + + * gtk/gtkmain.{c,h} (gtk_events_pending): new function - apps + should use this instead of gdk_events_pending. + + * gtk/gtkvbbox.h: Fixed a duplication in the headers. + + * gtk/testgtk.c (dnd_drop): Don't free the drop data, + it belongs to the event. + +Sat Jan 17 13:26:15 CST 1998 Shawn T. Amundson + + * gtk/gtkentry.[ch]: Applied patch from + which adds gtk_entry_set_max_length function. This was + part of gtk-lupus-970112-0. + + * gtk/testgtk.c: Applied gtk-wille-980113-0 which fixes + a problem with a shaped widget keeping grab forever + when double clicked. + + * docs/gtk.texi: patch from Gregory McLean + to add some on aspect_frame, button_box, and color_selection + widgets + +Sat Jan 17 06:24:05 1998 Tim Janik + + * gtk/gtktypeutils.h (gtk_type_get_arg): new function. + * gtk/gtkobject.h (gtk_object_query_args): new function. + * gtk/gtkobject.h (gtk_object_getv): new function. + * gtk/gtkwidget.h (gtk_widget_get): new function. + +Fri Jan 16 00:36:31 1998 Federico Mena + + * gtk/gtkhandlebox.c: Now we use a GtkWindow of type + GTK_WINDOW_DIALOG as a destination for reparenting the child of + the handle box. This solves the problem of having X calls in + Gtk. It also makes the handle box work with KWM, OLVWM, 4Dwm (so + I expect mwm to work as well). I hadn't noticed that previously + it only worked with fvwm and twm. + + * gtk/gtkhandlebox.h (struct _GtkHandleBox): Removed the + real_parent field, as it is never used. + (struct _GtkHandleBox): Added a float_window field. This is a + GtkWindow to where the child is now reparented. + + * gtk/gtkhandlebox.c: Lots of changes all over the place. Now the + widget has two windows. The steady_window stays put in the parent + container, and the widget->window is the one that gets + reparented. Now that window is transient, in compliance with the + ICCCM, instead of an OverrideRedirect window. + + We have two windows so that we can properly receive Expose events + for the thin 3D line that marks the place where the handlebox is + docked. + + * gtk/gtkhandlebox.h (struct _GtkHandleBox): Added fields for + dragging (mouse position information). Added fleur_cursor so that + we look pretty. Added steady_window field; it is the window that + actually stays on the parent (widget->window is the one that gets + reparented). + +Thu Jan 15 19:03:19 1998 Miguel de Icaza + + * gtk/gtkclist.c (gtk_clist_set_column_width): Call + gtk_clist_size_allocate_columns every time the column + configuration changes. + +Fri Jan 16 01:55:17 1998 Tim Janik + + * improved the gtk_widget_set handling. removed GtkArgFunc and added + GtkArgSetFunc and GtkArgGetFunc in _GtkTypeInfo. + performance consuming strcmp() calls are avoided in gtk_*_set_arg() + now, it is passed an arg_id on which it can switch() now. + + * gtk/gtkobject.h: + * gtk/gtkobject.c (gtk_object_add_arg_type): added parameter arg_id. + + * gtk/gtktypeutils.h: + * gtk/gtktypeutils.c (gtk_type_set_arg): added parameter arg_id. + + * gtk/gtkobject.c: bug fixes and changes in the assertion system for + arg handling. changed g_print() warning calls to real g_warning()s. + + * changed all *_get_type() functions to initialize GtkTypeInfo + correctly with GtkArgSetFunc and GtkArgGetFunc fields. + +Thu Jan 15 00:44:27 PST 1998 Jay Painter + * gtk/gtkentry.[ch]: Change window cursor to "I" + * gtk/gtkpane.[ch]: Cleared up a tiny memory leak from not destroying the + cursor + +Tue Jan 13 07:30:02 PST 1998 Jay Painter + * gtk/gtkclist.c: minor updates + * gtk/gtktext.c: you can type in it! It should also seg-fault *MUCH* less now, + because editing was never really turned off. + * gtk/testgtk.c: changed the gtktext test a little + * gtk/testgtkrc: removed pixmap background for now, since I intend to break + that for a while + +1998-01-13 Federico Mena Quintero + + * gtk/gtktoolbar.c: (gtk_real_toolbar_style_changed): Fixed + child->icon and child->label == NULL bugs. + + * gtk/gtktoolbar.h: Added some new functions: + gtk_toolbar_append_widget() + gtk_toolbar_prepend_widget() + gtk_toolbar_insert_widget() + These let the user insert any kind of widget in the toolbar. Also + changed the gtk_toolbar_*_item() functions to return a + GtkWidget * so that the user can do things with the toolbar buttons. + + * gtk/gtktoolbar.c: Now the toolbar supports its own buttons and + arbitrary widgets as well. Geometry management has been changed + accordingly. Added gtk_toolbar_remove() function, so container + functionality should be complete now. + + * gtk/testgtk.c (create_toolbar): Added an entry widget to test + the new toolbar. + + * Most of these changes are adapted from the + gtk-lupus-970112-0-patch (should be 970112... :-) + +Sat Jan 9 20:52:00 PST 1998 Ian Main + * gtk/gtkfilesel.c: Changed a few tests in the path correcting + function. Hopefully this helps the filesel stability. + +Fri Jan 8 00:55:00 PST 1998 Jay Painter + * gtk/gtkclist.c: + * gtk/gtkclist.h: modifications to GtkCList so it's look and + feel is the same as scrolled windows. + +Thu Jan 8 17:56:09 PST 1998 Manish Singh + + * glib/gscanner.c + * gtk/gtclist.c + * config.h.in + * configure.in: added test for inline and put the inline keywords + back in + + * gtk/gtklabel.c: made the prototypes match the definitions + + * gtk/fnmatch.c: minor change to make sure the right config.h + gets included + +1998-01-07 Elliot Lee + + * gtk/gtkcombobox.c gtk/gtkcombobox.h: New widget, GtkComboBox + * gdk/gdkwindow.c: Make gdk_window_init set the width & + height of gdk_root_parent + +Wed Jan 7 18:06:17 PST 1998 Manish Singh + + * gtk/gtkentry.c: + * gtk/gtkentry.h: applied patch to use a backing pixmap for + drawing, which removes the bad flickering. (gtk-wille-980106-0) + +Wed Jan 7 02:14:30 PST 1998 Manish Singh + + * glib/glib.h + * glib/glist.c + * glib/gslist.c + * glib/testglib.c: Added g_[s]list_insert_sorted function + and appropriate tests in testglib + +Tue Jan 6 17:09:46 1998 Owen Taylor + * gtk/gtknotebook.h gtk/gtknotebook.c + Added "switch_page" signal. (gtk-hamann_jeske-971212-0.patch) + +Tue Jan 6 17:07:29 1998 Owen Taylor + * gtk/gtkentry.c gtk/gtkentry.h gtk/testgtk.c : + Fixed problem with deleting while text is selected. + Changed behavior so that motion keys remove selection. + Added new gtk_entry_select_region () call. + +Sat Jan 3 20:23:25 1998 Owen Taylor + * glib/glib.h: Changed guint32 -> guint for bitfields. + (Bitfields must be int or unsigned int?) + +Sat Jan 3 15:39:45 PST 1998 Jay Painter + * gtk/testgtk.c: better CList test + +Sat Jan 3 11:09:51 CST 1998 Shawn T. Amundson + * GTK+ 0.99.2 Released + +Sat Jan 3 11:09:51 CST 1998 Shawn T. Amundson + + * gtk/gtkscrolledwindow.c: initialize scrollbar_spacing + (gtk-fortier-980103-0) + +Sat Jan 3 10:15:08 1998 Scott Goehring + + * configure.in: fixed a typo (no_xext_lib, not no_ext_lib). + +Sat Jan 3 00:41:28 PST 1998 Manish Singh + + * gtk/gtkentry.c: + * gtk/gtkentry.h: applied Gordon Matzigkeit's patch to add + fixed-length entry fields (gtk_entry_new_with_max_length) + +Fri Jay 2 23:52 PST 1998 Jay Painter + * reverted glibconfig.h and glib.h files back to the + way they were before my ugly hack + * gtk/gtkclist.c: + * glib/gscanner.c: removed inlines from clist and gscanner + +Fri Jan 2 23:55:24 CST 1998 Shawn T. Amundson + + * Several portability fixes from Michael Callahan + including adding in missing + #includes and adding void in function prototypes. + +Fri Jan 2 19:28:52 1988 Jay Painter + * gtk/gtkclist.h: + * gtk/gtkclist.c: + * gtk/gtk.h: + * gtk/testgtk.c: + * gtk/testgtkrc: added GtkCList, column list widget, and a small test + to testgtk + +Fri Jan 2 15:42:51 1998 Federico Mena + + * gtk/gtkmain.c (gtk_main_iteration): Make the big switch handle + GDK_NO_EXPOSE and GDK_VISIBILITY_NOTIFY events. + +Fri Jan 2 12:07:33 CST 1998 Shawn T. Amundson + + * gtk/gtkviewport.c: corrects a small resize bug in the + viewport widget. The viewport widget provides a _set_shadow + function to draw its shadows. But if GTK_SHADOW_NONE is sent + to this function, the viewport isn't resized correctly (it's + still considered as a shadowed widget). (gtk-fortier-971213-0) + + * gtk/gtknotebook.c: this patch fixes the redraw problems of + notebook tabs, without using gdk_gc_set_clip_rectangle. + (gtk-hamann_jeske-971218-0) + + * add gtk_widget_(show/hide)_all (Stefan Wille) + (gtk-wille-301297-0) Patch for testgtk not included + because it did not patch clean. + +Thu Jan 1 21:21:56 PST 1998 Manish Singh + + * configure.in: fixed up the xinput test + * Miscellaneous portability fixes. + +Mon Dec 29 22:05:45 1997 Miguel de Icaza + + * gdk/gdkgc.c (gdk_gc_copy): New function, used to copy the values + from one gc to another gc. + +Sat Dec 27 20:39:99 1997 Elliot Lee + * gtk/gtkhandlebox.c: It mostly works now, please test it and make + fixes as needed. + +Fri Dec 26 11:20:03 1997 Scott Goehring + + * gtk/Makefile.am (gtkinclude_HEADERS): added gtkhandlebox.c + + * gtk/gtkhandlebox.c (gtk_handle_box_reparent): eliminated a + compiler warning caused by not casting an argument in a debugging + message. :) + +Fri Dec 26 02:59:39 1997 Federico Mena + + * gdk/gdktypes.h gdk/gdk.c gdk/gdkwindow.c: Added new + GDK_NO_EXPOSE and GDK_VISIBILITY_NOTIFY events. They are needed + for Alan Cox's TV widget and for GtkXmHTML. Only missing with + respect to their Xlib counterparts are the major_code and + minor_code fields from the GdkEventNoExpose structure. Does + anyone need them? + +Tue Dec 23 03:03:17 1997 Tim Janik + + * gtk/gtkscrolledwindow.c (SCROLLBAR_SPACING): this macro computes + the spacing from klass->scrollbar_spacing now. adapted all functions + that used this macro (based on a patch from Patrice Fortier). + * gtk/gtkscrolledwindow.h (struct _GtkScrolledWindowClass): added + scrollbar_spacing to substitute a define (patch from Patrice Fortier). + + * gtk/gtkrc.h (gtk_rc_parse_string): new function. + * gtk/gtkrc.c: many functions adapted to use GScanner for scanning. + (gtk_rc_parse): use gtk_rc_parse_any for parsing. + (gtk_rc_parse_string): new function to support parsing from + strings, just calls gtk_rc_parse_any. + (gtk_rc_parse_any): new function using GScanner as lexer. + +Thu Dec 18 23:46:11 CST 1997 Shawn T. Amundson + + * GDK support for 1 bpp depth screens. + +Thu Dec 18 23:46:11 CST 1997 Shawn T. Amundson + + * Changes from Bolliet Jerome to gtktree. + Corrects a bug in gtk_tree_remove_items and gtk_tree_item_destroy. + Adds the possibility to connect all items by lines. This is the + default now. You can overide this with the function + gtk_tree_set_view_line which take a tree and a boolean. + +Thu Dec 18 23:26:49 CST 1997 Shawn T. Amundson + + * removed configure, Makefile.in, and aclocal.m4 files + +Wed Dec 17 23:36:57 1997 Scott Goehring + + * gdk/gdkcc.c (gdk_color_context_free): Caught a stray + gdk_colormap_destroy that Owen missed (and Shawn found). + Wed Dec 17 20:59:52 1997 Owen Taylor * gdk/gdkinput.c gdk/gdkinput.h gdk/gdkinputcommon.h gdk/gdkinputxfree.h gdk/gdkinputgxi.h gdk/gdkinputnone.h.