X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=ChangeLog;h=b123a60b713751b71fc05c008b8c41640b087280;hb=3e4c74d7efc1bfcdfdd7f67e56e43c19e002ce75;hp=6c931162c52f222a080ba11782c0d7d725199ca4;hpb=5d270c2f450000cea208443142e7284c23e7af9d;p=~andy%2Fgtk diff --git a/ChangeLog b/ChangeLog index 6c931162c..b123a60b7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,1163 @@ +Sat Oct 10 00:50:53 PDT 1998 Manish Singh + + * HACKING + * autogen.sh: we need libtool 1.2b now + +Sat Oct 10 03:37:50 1998 Tim Janik + + * gtk/gtktable.c (gtk_table_set_child_arg): take the left, right, top + and bottom attach arguments as mandatory and readjust the table size + and opposing edge accordingly if required. this way the order in which + the arguments are set doesn't matter. + +Thu Oct 8 15:53:59 1998 Owen Taylor + + * gtk/gtktypeutils.c (gtk_type_class_init): Fixed warning + message to print out parent class name correctly. + +Thu Oct 8 07:07:10 1998 Tim Janik + + * gtk/gtkobject.h: + * gtk/gtkobject.c: + removed functions gtk_object_set_data_destroy and + gtk_object_set_data_destroy_by_id. + added functions gtk_object_remove_no_notify and + gtk_object_remove_no_notify_by_id which will remove a certain data + portion without invokation of its destroy notifier, this should only + be used in very controled circumstances. + +Wed Oct 7 23:59:37 1998 Lars Hamann + + * gtk/gtkclist.c (gtk_clist_set_column_resizeable): added + size_allocate_title_buttons call + (gtk_clist_realize): changed initial column.window position + +Wed Oct 7 20:27:28 1998 Lars Hamann + + * gtk/gtkctree.h (struct _GtkCTree): removed xor_gc, use clists + xor_gc instead + * gtk/gtkctree.c (create_xor_gc): removed + (gtk_ctree_button_press): set correct line_attributes for + clist->xor_gc on drag start + (gtk_ctree_button_release): reset clist->xor_gc + +Wed Oct 7 05:15:36 1998 Tim Janik + + * gtk/gtk*.h: + * gdk/gdk.h: removed all occourances of #pragma } and #pragma { + which were in place to fixup emacs' cc-mode indentation. + putting (c-set-offset 'inextern-lang 0) into ~/.emacs is the + proper way to achive this and doesn't produce problems for + stupid pragma-related compiler bugs. ;) + +Wed Oct 7 00:59:46 1998 Lars Hamann + + * gtk/gtkclist.h: new signal GtkCList::resize_column. + * gtk/gtkclist.c (draw_row): don't draw invisible columns + (size_allocate_title_buttons) (size_allocate_columns): + skip invisible columns + (new_column_width): take min/max_width into account + (gtk_clist_button_release) (gtk_clist_motion): + changes due to changed new_column_width function + (LIST_WIDTH): changed define to inline function. + (real_resize_column): class function for resize_column signal + (gtk_clist_motion): fixed autoscrolling for column resizes + (gtk_clist_set_column_visibility): don't hide last visible column, + changed visible arg to gboolean + (gtk_clist_set_column_min_width)(gtk_clist_set_column_max_width): + new functions : set min/max width of a column + (gtk_clist_set_column_resizeable): new function : enable/disable + column resize operations by mouse + + * gtk/gtkctree.c (draw_row): don't draw invisible columns + (ctree_is_hot_spot): return FALSE if tree_column is invisible + (draw_xor_line) (draw_xor_rect): draw full rectangle/line if + tree_column is invisible + (gtk_ctree_find_all_by_row_data) + (gtk_ctree_find_all_by_row_data_custom): new function from + Ronan Bourlier . Returns a GList of all + GtkCTreeNodes with row->data == data. + +Tue Oct 6 14:05:00 1998 Tim Janik + + * gtk/testgtk.c (cb_tree_destroy_event): use g_free to free g_malloced + memory (Martin Pool ). + +Mon Oct 5 15:26:30 1998 Raph Levien + + * gdk/gdkrgb.c (gdk_rgb_convert_0888_br): Fixed a few long's that + should have been guint32. Thanks to Tristan Colgate for finding it. + +Sun Oct 4 22:47:22 CDT 1998 Shawn T. Amundson + + * gtk/gtkcalendar.h: + gtk/gtkcalendar.c: More changes: + - The day with focus is now seperated from the day selected + - The day with focus has the xor's line around it + - The selected day is now standard selected style + - The week names and week numbers are now also drawn + with selected style + - Space now selects the day which has focus + +Sun Oct 4 17:55:52 CDT 1998 Shawn T. Amundson + + * gtk/gtkcalendar.h: + gtk/gtkcalendar.c: Some significant changes, including: + - No longer draw focus around entire widget, only around + the day which has focus + - Draw relief around entire widget like originally planned + - Show header and day names by default + - Move data private to the widget out of GtkCalendar struct + and only point to it with a gpointer + - Remove some old unused variables from GtkCalendar struct + +Sun Oct 4 17:45:43 BST 1998 Tony Gale + + * docs/gtk_tut.sgml: update I've had sat around: + - Grammar patch from James R. Van Zandt + - Range Widget update from David Huggins-Daines + - New Toolbar section from Jacek Wojdel + +1998-10-01 Martin Baulig + + * gtk/gtkclist.h (GtkCListColumn): Added `visible'. + + * gtk/gtkclist.c (gtk_clist_set_column_visibility): New function. + Makes it possible to individually show and hide columns. + (size_allocate_columns): Adapted to keep track of hidden columns. + (size_allocate_title_buttons): Likewise. + +Sat Oct 3 17:54:48 1998 Tim Janik + + * gtk/gtkargcollector.c (GTK_ARG_COLLECT_VALUE): for unknown foreign + fundamental types, collect an argument of the type returned from + gtk_type_get_varargs_type(). removed the first macro argument which + was just the same as the fundamental type of the *arg passed to + the macro. + * gtk/gtkarg.c (gtk_args_collect): + * gtk/gtksignal.c (gtk_signal_collect_params): changed callers. + + * gtk/gtktypeutils.h: + * gtk/gtktypeutils.c: new functions gtk_type_set_varargs_type() and + gtk_type_get_varargs_type() to set and query the varargs collect + type used for a fundamental type, registered outside of Gtk. + + * gtk/gtkmisc.c (gtk_misc_class_init): changed object arguments + GtkMisc::xalign and GtkMisc::yalign from GTK_TYPE_DOUBLE to + GTK_TYPE_FLOAT. + + * gtk/gtkframe.c (gtk_frame_class_init): changed object arguments + GtkFrame::label_xalign and GtkFrame::label_yalign from GTK_TYPE_DOUBLE + to GTK_TYPE_FLOAT. + +Sat Oct 3 01:25:24 1998 Lars Hamann + + * gtk/gtkctree.c (gtk_ctree_insert_gnode) (real_tree_collapse) + (gtk_ctree_link) (gtk_ctree_unlink) (real_tree_expand): + fixes for assignment errors with GTK_CTREE_NODE_NEXT/PREV + + (real_tree_expand) (real_tree_collapse): + don't expand/collapse a leaf + +Fri Oct 2 16:10:36 1998 Tim Janik + + * gtk/gtktypeutils.c (gtk_type_enum_find_value): make sure we don't + segfault when looking up a non-existant value name (reported by + Pablo ). + +Thu Oct 1 10:40:20 1998 Tim Janik + + * gtk/gtkclist.h (gtk_clist_prepend): + * gtk/gtkclist.c (gtk_clist_prepend): new function. + (gtk_clist_insert): added g_return_val_if_fail() + statements. accept a row parameter < 0 or > clist->rows to indicate + append mode. + (real_clear): first clean up all internal pointers and lists (e.g. + clist->row_list or clist->rows), then delete the distinct rows. this + is required because of destroy notifiers, we need to have all internal + structures updated and be reentrant. + + * gtk/gtkcalendar.h: + * gtk/gtkcalendar.c: removed the `gtk_calendar_' prefix from the + GtkCalendarClass signal methods. + GtkType and macro fixups, put `void' into () prototypes, avoid C++ + style comments, indentation fixes, fixed some g_return_if_fail() + statements. + (gtk_calendar_paint_header): + (gtk_calendar_paint_day_names): + (gtk_calendar_paint_week_numbers): + (gtk_calendar_paint_main): made these static functions. + (gtk_calendar_select_month): + (gtk_calendar_select_day): + (gtk_calendar_mark_day): + (gtk_calendar_unmark_day): + (gtk_calendar_get_date): signedness corrections, use guints + rather than gints. + (gtk_calendar_size_request): removed unused variables. + +Wed Sep 30 13:11:09 1998 Tim Janik + + * gtk/gtkitemfactory.c (gtk_item_factory_add_item): list all + widgets in the ->widgets_by_action list that have a callback + defined (not only those with a callback_action!=0). + +Sun Sep 27 22:02:48 CDT 1998 Shawn T. Amundson + + * gtk/gtkcalendar.h: + gtk/gtkcalendar.c: + examples/calendar/gcalendar.c: remove HAVE_FEATURES stuff + +Sun Sep 27 02:18:06 CDT 1998 Shawn T. Amundson + + * gtk/gtkcalendar.h: + gtk/gtkcalendar.c: + examples/calendar: Added gtkcalendar widget and demo + +Sat Sep 26 06:15:34 1998 Tim Janik + + * gtk/gtkclist.c (gtk_clist_sort): + (gtk_clist_clear): + (gtk_clist_unselect_all): + (gtk_clist_select_all): adde g_return_if_fail() statements. + +Sat Sep 26 04:46:22 1998 Tim Janik + + * configure.in: set binary age and interface age to 0. + + * gtk/gtkspinbutton.h: + * gtk/gtkspinbutton.c: changed gtk_spin_button_construct to + gtk_spin_button_configure. gtk_spin_button_construct is still defined + as an alias for gtk_spin_button_configure for source compatibility, + but actuall use is deprecated. + typeness corrections, i.e. gint->gboolean and gint->guint. + added object arguments: GtkSpinButton::value, GtkSpinButton::wrap, + GtkSpinButton::shadow_type, GtkSpinButton::update_policy, + GtkSpinButton::numeric, GtkSpinButton::snap_to_ticks, + GtkSpinButton::adjustment, GtkSpinButton::digits and + GtkSpinButton::climb_rate. + GtkType and macro fixups. + +Sat Sep 25 23:33:55 1998 Tim Janik + + * gdk/gdkwindow.c (gdk_window_get_root_origin): new function to get + the *real* geometry position of a window, taken possible window + manager offsets into account. + this has been succesfully tested with fvwm, fvwm-2, bowman, olwm, + olvwm, twm, ctwm, mlvwm, windowmaker and enlightenment. + it does fail though for amiwm which adds windows to a pseudo root + window, and for icewm by a small offset because it defines the + geometry position whithin its border. + + * gtk/testgtk.c: added "saved position" test to figure how + gdk_window_get_root_origin() interacts with window managers (repopup + this window to figure ;). + +Wed Sep 23 06:09:19 1998 Tim Janik + + * configure.in: update to Gtk+ version 1.1.3, binary age 1, + interface age 1. + + * gtk/gtkobject.c + (gtk_object_ref): + (gtk_object_unref): check for ->ref_count to be greater than 0 (the + existing code was buggy in letting ->ref_count==0 pass through and + then failing the living_objs_ht assertion). + + * gtk/gtkclist.c (draw_row): fix chopping bug for right justified + pixtext fields (Roman Pozlevich ). + +Mon Sep 21 23:53:18 CDT 1998 Shawn T. Amundson + + * Released GTK+ 1.1.2 + +Mon Sep 21 01:12:44 1998 Jay Cox (jaycox@earthlink.net) + + * gtk/Makefile.am: use $(PERL) instead of perl + * gtk/gtkcolorsel.c: render properly in non-square aspect ratios. + also much faster to render. + +Mon Sep 21 07:44:30 1998 Tim Janik + + * gtk/gtkobject.c (gtk_object_class_add_signals): reallocate + the required memory block, rather than allocating it newly from + scratch and doing a full-blown block copy on it. + +Mon Sep 21 02:30:06 1998 Tim Janik + + * NEWS file update for upcoming release of Gtk+ version 1.1.2, + binary age 0, interface age 0. + + * gtk/gtkmain.c (gtk_init): enforce gtk-modules to always be resident. + +Sun Sep 20 18:21:46 1998 Owen Taylor + + * ltmain.sh: Patch to libtool-1.2b to make --disable-static + work. + +Sun Sep 20 09:52:39 1998 Owen Taylor + + * HACKING: indent other than GNU indent should be OK + now. + + * gtk/genmarshal.pl gtk/Makefile.am: Call indent on file + instead of piping through indent. If indent wasn't + found in ./configure don't bother indenting at + all. + +Fri Sep 18 19:11:10 1998 Owen Taylor + + * gdk/gdk.h: Add names to prototype for gdk_image_new_bitmap. + +Fri Sep 18 18:54:59 1998 Jay Cox (jaycox@earthlink.net) + + * gtk/Makefile.am: use $(AWK) instead of awk + +1998-09-18 Raja R Harinath + + * gtk/Makefile.am (gdk_headers): + Remove references to $(top_srcdir). + (gtk.defs, gtktypebuiltins{.h,_vars.c,_ids.c,_evals.c}): Simplify. + * gtk/makeenums.pl (parse_entries): Don't look for $srcdir. + +Fri Sep 18 19:58:24 1998 Tim Janik + + * gtk/gtkobject.h (struct _GtkObject): changed gpointer object_data; to + GData*object_data to cure compiler warnings. + +Thu Sep 17 19:06:47 PDT 1998 Manish Singh + + * install-sh + * missing + * mkinstalldirs: updated to latest automake version + +1998-09-17 Raja R Harinath + + * gtk/Makefile.am (source_headers): Move `gtkfeature.h' ... + (gtkinclude_HEADERS): ... here. + (gtk.defs): Pass `g' flag to sed, to replace all occurances. + +Thu Sep 17 10:49:51 1998 Raph Levien + + * HACKING: added GNU indent, as it is now required to successfully + build gtk+. Should this be detected in autoconf, possibly? + +Tue Sep 15 14:57:30 1998 Owen Taylor + + * Makefile.am gtk-config.in l*: Update to libtool-1.2b, + change library versioning scheme to drop LT_RELEASE + from the -l line, while keeping it in the soname. + +Tue Sep 15 14:10:33 1998 Owen Taylor + + * configure.in Makefile.in: define a MAINT-like variable REBUILD + which is set if Perl and awk are found, and autogenerated sources + can be rebuilt. Remove the auto-generated sources from + CVS. + + Add dependencies so that the autogenerated sources are + rebuilt if the files they depend on change. + (This unfortunately currently results in the entire + gtk/ directory being rebuilt when any header changes. + Moving all enums to gtkenums.h would fix this.) + +Thu Sep 17 05:12:48 1998 Tim Janik + + * gtk/gtkobject.h: added gtk_object_set_data_destroy and + gtk_object_set_data_destroy_by_id functions to set the destroy + function pointer for an existing data portion. + + * gtk/gtkobject.c: removed the GtkObjectData implementation and + made all gtk_object_*data* functions use the GLib equivalents. + +1998-09-16 Federico Mena Quintero + + * gtk/gtktoolbar.c (gtk_toolbar_insert_element): Test whether type + is not equal to GTK_TOOLBAR_CHILD_RADIOBUTTON before checking that + (widget != NULL), otherwise radio button insertion will not work + -- the widget argument is NULL for the first radio button in the + group. + +Tue Sep 15 13:09:24 1998 Owen Taylor + + * gdk/gdkimage.c (gdk_image_new): Reverted global changes + of g_new to malloc(), added back in the one place where + it actually mattered. #include . + + * gdk/gdkrgb.c: g_malloc() to malloc() as above. + +Tue Sep 15 11:30:03 1998 Owen Taylor + + * gtk/gtkfilesel.c: Keep a list of directories in which we never + want to stat the entries (like /afs), and assume everything in + those directories is a subdirectory. + + - When following a path, try to open components even when + we don't find them in their parent's directory to + support automounters. + +Tue Sep 15 11:06:13 1998 Owen Taylor + + * gtk/gtkwindow.c (gtk_window_move_resize): Don't request + a new size from the WM if we asked for the same size + before and our request was rejected. + + * gtk/gtkwindow.c (gtk_window_configure_event): If + in response to a request, we get a configure event + with unchanged dimensions, send a synthetic expose + since ForgetGravity won't expose our window. + +Mon Sep 14 14:28:24 1998 Owen Taylor + + * gtk/gtktext.c (adjust_adj): Change the way we + set the adjustments on resize so that it tries to + keep the beginning of the text in approximately + the same place. + + Removed assertion that the above change made invalid. + +Thu Sep 10 22:19:35 1998 Owen Taylor + + * gtk/gtktext.c: - Save first_cut_pixels when switching + sizes, so that if we switch to the _same_ size, + we don't move lines around. + + - Make sure that the text area always has a size of at + least 1x1, then do all computations when realized. + + - When fetching lines in recompute_geometry, make + sure we fetch enough lines to cover the screen. + +Mon Sep 14 21:47:35 CDT 1998 Shawn T. Amundson + + * gdk/gdkimage.c: changed g_new()s to malloc()s and + g_free()s to free()s to avoid mixing g_new()s with + free()s. X itself uses free() on some of the + malloced memory. + +Sat Sep 12 10:44:06 1998 Owen Taylor + + * gtkfilesel.c: Maintain a list of directories like + /afs we know contain only directories, and avoid + stat'ing files in those directories. (Because + stat'ing all files in /afs is extremely expensive) + + To support automounters, try to open directories, + even if we couldn't find them when reading their + parent directory. + +Thu Sep 3 10:29:03 1998 Owen Taylor + + * gtk.m4: Conditionalize check for GTK_MAJOR_VERSION, + to allow the same gtk.m4 to work for 1.0.x and + 1.1.x. + +Fri Sep 11 15:25:10 1998 Lars Hamann + + * gtk/gtkclist.c (gtk_clist_set_selectable): new function + to set/unset the selectable flag of a single row. + (gtk_clist_get_selectable): new function + to get the state of the selectable flag + + * gtk/gtkctree.c (gtk_ctree_node_set_selectable) + (gtk_ctree_node_get_selectable): clist analogons + +Thu Sep 10 17:04:03 1998 Raph Levien + + * gtk/testrgb.c (testrgb_rgb_test): Small changes to the test + pattern. + + * gdk/gdkrgb.c (gdk_rgb_convert_gray4_pack): Fixed some alignment + bugs in the 4bit gray cases. + +Wed Sep 9 02:48:44 PDT 1998 Manish Singh + + * configure.in: added -posix check for NeXTStep + + * gtk/testthreads.c: applied part of gtk-joke-980907-0 to use + a unique buffer for each thread. + + * docs/gtk-config.1: clarified copyright + +Tue Sep 8 05:19:51 1998 Tim Janik + + * 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 + + * configure.in: comment the -std1 check and save LIBS properly + +Sun Sep 6 12:36:23 PDT 1998 Manish Singh + + * gtk/testrgb.c: #include + +Sat Sep 5 16:01:19 1998 Owen Taylor + + * 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 + + * 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 + + * 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 + + * 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 + + * gtk/gtkaccelgroup.c (gtk_accel_group_add): plug another small + GtkSIgnalQuery leak. + +Thu Sep 3 04:22:20 1998 Tim Janik + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 for sleep() + +Tue Aug 25 16:52:47 1998 Owen Taylor + + * 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 + + * 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 + + * 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 + + * 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() . this is needed because we + can't pass va_list variables by reference for portability reasons. + +Fri Aug 21 22:40:00 Raph Levien + + * 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 + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * gtk/testgtk.c (create_color_preview): pushed the colormap and + visual so it would work better with GdkRgb. + +1998-08-19 Raph Levien + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * gtk/gtkclist.h: + (struct _GtkCListClass): new class methods: + (sort_list) (insert_row) (remove_row) (set_cell_contents) + + * gtk/gtkclist.c : + (cell_empty) (cell_set_text) (cell_set_pixmap) (cell_set_pixtext): + removed and replaced by (set_cell_contents) + (set_cell_contents): function for class method set_cell_contents + (real_insert_row): function for class method insert_row + (real_remoce_row): function for class method remove_row + (real_sort_list): function for class method sort_list + (default_compare): fix to avoid problems with cell types != CELL_TEXT + + * gtk/gtkctree.h : + (gtk_ctree_export_to_gnode): new function to export a ctree as gnode + (gtk_ctree_node_is_visible): new function to return visibility state + of a node + (gtk_ctree_show_stub): new function to set visibility of root stub + + renamed functions : + (gtk_ctree_insert) -> (gtk_ctree_insert_node) + (gtk_ctree_remove) -> (gtk_ctree_remove_node) + (gtk_ctree_find_glist_ptr) -> (gtk_ctree_find_node_ptr) + (gtk_ctree_set_text) -> (gtk_ctree_node_set_text) + (gtk_ctree_set_pixmap) -> (gtk_ctree_node_set_pixmap) + (gtk_ctree_set_pixtext) -> (gtk_ctree_node_set_pixtext) + (gtk_ctree_set_shift) -> (gtk_ctree_node_set_shift) + (gtk_ctree_get_cell_type) -> (gtk_ctree_node_get_cell_type) + (gtk_ctree_get_text) -> (gtk_ctree_node_get_text) + (gtk_ctree_get_pixmap) -> (gtk_ctree_node_get_pixmap) + (gtk_ctree_get_pixtext) -> (gtk_ctree_node_get_pixtext) + (gtk_ctree_set_foreground) -> (gtk_ctree_node_set_foreground) + (gtk_ctree_set_background) -> (gtk_ctree_node_set_background) + (gtk_ctree_set_row_data) -> (gtk_ctree_node_set_row_data) + (gtk_ctree_set_row_data_full) -> (gtk_ctree_node_set_row_data_full) + (gtk_ctree_get_row_data) -> (gtk_ctree_node_get_row_data) + (gtk_ctree_moveto) -> (gtk_ctree_node_moveto) + (gtk_ctree_sort) -> (gtk_ctree_sort_node) + (gtk_ctree_is_visibe) -> (gtk_ctree_is_viewable) + + * gtk/gtkctree.c : + (cell_empty) (cell_set_text) (cell_set_pixmap) (cell_set_pixtext): + removed and replaced by (set_cell_contents) + (set_cell_contents): function for class method set_cell_contents + (real_insert_row): function for class method insert_row + (real_remoce_row): function for class method remove_row + (real_sort_list): function for class method sort_list + (default_compare): removed. CTree now also compares two GtkCTreeRows + instead of two GtkCTreeNodes. + (gtk_ctree_unlink): call gtk_ctree_collapse if parent is empty after + unlinking the node + (real_tree_expand) (real_tree_collapse): fix for refcounting of + node pixmaps + (set_node_info): call gtk_ctree_node_set_pixtext instead of + manipulating the row itself + + * gtk/testgtk.c: use renamed functions of GtkCTree. + new sample to show gtk_ctree_export_to_gnode and gtk_ctree_insert_gnode + at work. + +Mon Aug 17 15:31:38 1998 Tim Janik + + * gtk/gtkmain.c: removed gtk_input_add_interp. + + * gtk/gtkeditable.c (gtk_editable_set_position): fixed bogus "return" + keyword. + (gtk_editable_get_event_time): fix default: case. + + * gtk/gtkclist.c (gtk_clist_swap_rows): fixes for lvalue casts. + + * gdk/gdkpixmap.c: made a bunch of unexported functions static. + + * gdk/gdkcolor.c: + * gdk/gdkvisual.c: include "gdkx.h", since it exports prototypes + of our functions. + + * various minor compilation cleanups, such as bogus commas in + enums and similar things. + +Mon Aug 17 07:47:43 1998 Tim Janik + + * gtk/gtkmain.c (gtk_init): NULL terminate the arg list to g_strconcat() + (thanx raph). + +Sun Aug 16 23:14:20 CDT 1998 Shawn T. Amundson + + * NEWS: updated for 1.1.2 + * gtk+.spec: version = 1.1.2 + +Mon Aug 17 05:10:29 1998 Tim Janik + + * gtk/gtkmain.c (gtk_init): don't call module initializers multiple + times. changed --gtk-with-module to --gtk-module at owen's request. + +Mon Aug 17 03:47:55 1998 Tim Janik + + * gtk/gtkmain.c (gtk_init): feature a new commandline option + --gtk-with-module= that allows additional loading and + initialization of modules (e.g. GLE). + +Mon Aug 17 01:40:00 1998 Tim Janik + + * configure.in: version bump to 1.1.2, binary age 0, interface age 0. + pass "gmodule" to AM_PATH_GLIB, with that we require libgmodule.so now. + + * gtk/gtkmain.c (gtk_init): since glib's g_return*_if_fail macros log + with G_LOG_LEVEL_CRITICAL now, i added "--g-fatal-checks", + "--gdk-fatal-checks" and "--gtk-fatal-checks". that makes up six + different *-fatal-* arguments now. this needs to be revised and + compressed to a reasonable amount of arguments. + +Sun Aug 16 20:51:59 1998 Tim Janik + + * gtk/gtkmain.c (gtk_init): fatal warning option is split up now, + "--g-fatal-warnings" causes fatal warnings in GLib, + "--gdk-fatal-warnings" causes fatal warnings in Gdk, + "--gtk-fatal-warnings" causes fatal warnings in Gtk. + + * gtk/Makefile.am: define G_LOG_DOMAIN for gtk. + * gdk/Makefile.am: define G_LOG_DOMAIN for gdk. + + * gtk/testgtk.c: + * gdk/gxid.c: + we need ugly #undef G_LOG_DOMAIN at the start of these files currently, + since automake doesn't support per target _CFLAGS yet. + + * configure.in: require GLib 1.1.3. + +Sat Aug 15 03:19:30 1998 John Ellis + + * gtk/gtkctree.[ch] (gtk_ctree_set_drag_compare_func): New function + to set a callback to test if a node in drag can be dropped onto + it's currrent location. + * gtk/gtkctree.c (set_mouse_cursor),(check_cursor): New functions + to change the pointer when a drag destination is not allowed. + +Thu Aug 13 21:06:00 1998 Raph Levien + + * gdk/gdkrgb.c: committing a patch by Ray Lehtiniemi that + speeds up the 565_d case by about 25% total. Thanks Ray! + +Thu Aug 13 16:47:44 1998 Owen Taylor + + * Changed GtkSignalFunc back to () from (void). (again!) + + * Added file README.cvs-commits + +Thu Aug 13 09:11:11 BST 1998 Tony Gale + + * docs/gtk_tut.sgml: + - Tidy up of the menufactory example from + Andy Kahn + - New section on Range Widgets from + David Huggins-Daines + - Started a new section on 'Advanced Event and Signal + Handling' - used an email from Owen. + - New appendix on Gdk Event Types + - Added the tictactoe full example code to the + 'Code Examples' appendix + +Tue Jul 21 12:42:01 1998 Owen Taylor + + * gdk/gdk.h gdk/gdkfont.c: Added gdk_text/string_extents() - + to calculate all the metrics at once of a string, including + things which weren't calculated before. + + * gtk/Makefile.am gtk/gtk.h gtk/gtktearoffmenu.[ch]: New + MenuItem type, that when put as the first thing in a + menu, makes the menu tearoff. Currently drawn as a + dashed line. + + * gtk/gtkmenuitem.h gtk/gtkcheckmenuitem.c: Added a flag + "hide_on_activate" to the MenuItem class structure to allow + check and radio buttons to be changed with without + hiding the menu. + + * gtk/gtkitemfactory.c: + - Create a AccelGroup for each MenuShell we create. + - If an '_' appears before a character 'c' in the path, + then make 'c' an accelerator in the menu's accel group, + and if the menuitem is menubar C an accelerator + in the itemfactory's accel group. Double '__' inserts + a literal '_' + + * gtk/gtklabel.[ch]: Add support for a pattern arg - + which is a string. If an '_' appears in this string, + the corresponding position in the label is underlined. + + Add gtk_label_parse_uline() convenience function which + takes a string with embedded underlines, sets the + pattern and label, and returns the accelerator keyval. + + * gtk/gtkmenu.[ch]: Make menus no longer a toplevel widget. + Instead, they create a GtkWindow and add themselves + to that. (When torn off, another new feature, they + create another GtkWindow to hold the torn off menu) + + New function gtk_menu_set_tearoff_state() + + * gtk/gtkenums.h gtk/gtkmenushell.[ch] gtk/gtkenums.h: + Added action signals for keyboard navigation of menus. + + * gtk/gtkmenushell.c: Key press handler which activates + bindings for navigation, and accelerators, for handling + underline accelerators. Exported functions to select + and activate menu items in a menushell. + + * gtk/testgtk.c: Added a new "Item Factory" test which + tests GtkItemFactory and the new keyboard navigation + of menus. + Tue Aug 11 20:52:58 1998 Tim Janik * gtk/gtktypeutils.c (gtk_type_class_init): relookup nodes after @@ -391,6 +1551,15 @@ Wed Jul 15 17:44:47 1998 Owen Taylor * Fix up line start cache when splitting a property during an insert. +Wed Jul 15 21:15:52 1998 Owen Taylor + + * gtk/gtkwidget.c: restauration => restoration + +Thu Jul 16 20:11:36 1998 Owen Taylor + + * gdk/gdkxid.c (gdk_xid_table_lookup): If xid_ht + hasn't been created yet, don't do the lookup. + 1998-07-20 Raph Levien * gdk/gdkrgb.c: More cleanups in the config process.