]> Pileus Git - ~andy/gtk/blob - ChangeLog.pre-2-6
Define this so we can check for latest GTK features.
[~andy/gtk] / ChangeLog.pre-2-6
1 1998-11-23  Martin Baulig  <martin@home-of-linux.org>
2
3         * gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so
4         we can check for latest GTK features.
5
6 1998-11-23  Havoc Pennington  <hp@pobox.com>
7
8         * gtk/gtktoolbar.c: (gtk_toolbar_set_relief):
9         (gtk_toolbar_insert_element): When setting relief, also affect
10         toggle buttons.
11
12 Sun Nov 22 20:37:06 PST 1998 Manish Singh <yosh@gimp.org>
13
14         * gtk/gtkobject.h: remove extraneous comma
15
16 Mon Nov 23 05:21:50 1998  Tim Janik  <timj@gtk.org>
17
18         * gtk/gtkcontainer.c:
19         (gtk_container_add_with_args): 
20         (gtk_container_addv): 
21         (gtk_container_add): removed assertements for constructed containers
22         again, since this essentially breaks the "child" arg.
23
24         * gtk/gtktooltips.c (gtk_tooltips_force_window): fixup the draw_window
25         reference count, we don't need to reference toplevels that already have
26         destroy notifiers.
27
28         * gtk/gtkscrolledwindow.c: check for the composites existance in
29         _forall since we might not be already constructed.
30
31 Sun Nov 22 14:34:58 CST 1998 Shawn T. Amundson <amundson@gtk.org>
32
33         * Released GTK+ 1.1.5
34
35         * configure.in: require GLib 1.1.5
36
37 Mon Nov 23 03:21:17 1998  Tim Janik  <timj@gtk.org>
38
39         * gtk/gtktext.c (gtk_text_destroy): disconnect hadj & vadj, not
40         2 * hadj.
41         (gtk_text_finalize): only unref the current_font if we have
42         been realized.
43
44 Sat Nov 21 18:41:13 CST 1998 Shawn T. Amundson <amundson@gtk.org>
45
46         * configure.in:
47           INSTALL:
48           NEWS:
49           README:
50           gtk+.spec:
51           docs/gtk-config.1: Version incremented to 1.1.5
52
53 Sun Nov 22 16:21:28 1998  Tim Janik  <timj@gtk.org>
54
55         * gtk/gtkprogress.c: added args ::show_text, ::text_xalign,
56         ::text_yalign, ::activity_mode.
57
58         * gtk/gtkprogressbar.c: added construct arg ::adjustment. added args
59         ::bar_style, ::orientation, ::discrete_blocks, ::activity_step,
60         ::activity_blocks.
61         (gtk_progress_bar_new):
62         (gtk_progress_bar_new_with_adjustment): use gtk_widget_new().
63         (gtk_progress_bar_construct): deprecated.
64
65         * gtk/gtkvscrollbar.c:
66         (gtk_vscrollbar_draw_step_back): 
67         (gtk_vscrollbar_draw_step_forw): use "vscrollbar" as detail for
68         gtk_paint_arrow, to be consistent with hscrollbar.
69
70         * gtk/gtktext.c
71         added construct args ::hadjustment, ::vadjustment.
72         added args ::line_wrap, ::word_wrap.
73         (gtk_text_class_init): added scroll_adjustments signal.
74         (gtk_text_new): use gtk_widget_new.
75         (gtk_text_disconnect): remove adjustement with gtk_text_set_adjustments,
76         so we don't screw the reference counts and don't leave signals connected.
77         (gtk_text_destroy): disconnect adjustments signals.
78         (gtk_text_finalize): unref adjustments.
79
80         * gtk/gtkctree.c: added construct args ::n_columns and ::tree_column.
81         added args ::indent, ::spacing, ::show_stub, ::reorderable,
82         ::use_drag_icons, ::line_style and ::expander_style.
83         (gtk_ctree_set_show_stub): renamed from gtk_ctree_show_stub, which is
84         deprecated now.
85
86         * gtk/gtkclist.h: remove GTK_CLIST_CONSTRUCT flag.
87         * gtk/gtkclist.c:
88         removed ::vadjustment and ::hadjustment args, introduced
89         ::scroll_adjustments signal.
90         added ::shadow_type, ::selection_mode and ::row_height args.
91         added n_columns construct arg.
92         (gtk_clist_construct): call gtk_object_constructed().
93         (gtk_clist_set_row_height): if height is passed as 0,
94         revert to automatic height calculation.
95         (gtk_clist_destroy): before unrefing the adjustments, disconnect our
96         signal handlers.
97
98 Fri Nov 21 22:34:58 1998  Tim Janik  <timj@gtk.org>
99
100         * gtk/gtkwidget.c (gtk_widget_new): call gtk_object_default_construct
101         like gtk_object_new.
102         (gtk_widget_destroy): assert that we only destroy constructed widgets.
103
104         * gtk/gtkobject.h (enum GtkArgFlags): new flag GTK_ARG_CONSTRUCT_ONLY
105         to identify args that may only be used for construction.
106         GTK_ARG_CONSTRUCT maybe used as normal arguments besides construction
107         time.
108         * gtk/gtkobject.c (gtk_object_new): invoke gtk_object_default_construct
109         at the end if the object is not fully constructed.
110         (gtk_object_newv): likewise.
111         (gtk_object_destroy): assert that we only destroy constructed objects.
112         (gtk_object_init): setup GTK_CONSTRUCTED from the
113         objects real klass.
114         (gtk_object_default_construct): new function to complete default
115         construction of an object by applying missing construtor args with
116         default values of 0, 0.0 or NULL.
117         (gtk_object_constructed): new function to mark an object as being
118         constructed (used from within constructors).
119
120         * gtk/gtkarg.c (gtk_arg_type_new_static): return the args info pointer
121         so it is immediatedly available for the caller.
122
123         * gtk/gtktypeutils.c (gtk_type_new): pass an object's real class to
124         the object initilizer (GtkObjectInitFunc takes a second arg now, the
125         real klass), and asure that object initializers may temporarily alter
126         the class pointer.
127
128 Fri Nov 20 08:00:30 1998  Tim Janik  <timj@gtk.org>
129
130         * gtk/testgtk.c: change all occourances of gtk_container_add (
131         scrolled_window, widget) to gtk_scrolled_window_add_with_viewport (...)
132         for widget!=(clist, ctree, text, viewport).
133
134         * gtk/gtkcombo.c:
135         (gtk_combo_init): use gtk_scrolled_window_add_with_viewport()
136         to add children to the scrolled window.
137
138         * gtk/gtkscrolledwindow.h:
139         * gtk/gtkscrolledwindow.c:
140         changed scrolled_window->viewport to scrolled_window->child, and use
141         gtk_widget_scroll_adjustements() to set the scroll adjustments for the
142         widget, we do not create an additional viewport anymore.
143         added ::hadjustment and ::vadjustment constructor args.
144         (gtk_scrolled_window_new): use gtk_widget_new() to create the widget.
145         (gtk_scrolled_window_set_hadjustment):
146         (gtk_scrolled_window_set_vadjustment): new functions that superceed
147         gtk_scrolled_window_construct.
148         (gtk_scrolled_window_construct): deprecated this function.
149         
150         * gtk/gtkhscrollbar.c:
151         * gtk/gtkvscrollbar.c:
152         * gtk/gtkhscale.c:
153         * gtk/gtkvscale.c:
154         support a constructor arg "::adjustment", and use gtk_widget_new() for
155         the widget creation.
156
157         * gtk/gtkrange.c: added ::update_policy arg.
158         (gtk_range_set_adjustment): if adjustment is passed in as NULL, create
159         a default adjustment so this function can be used for derived widgets
160         that depend on the adjustment's existance.
161         (gtk_range_destroy): disconnect the adjustment signal, so we don't
162         get called after we got destroyed, we don't destroy the adjustment
163         in here, because it might have been provided from another widget.
164
165         * gtk/gtkviewport.c: introduced ::scroll_adjustments signal.
166         (gtk_viewport_destroy): same as gtk_range_destroy.
167
168         * gtk/gtkprogress.c (gtk_progress_destroy): same as gtk_range_destroy.
169
170         * gtk/gtkwidget.h: 
171         * gtk/gtkwidget.c: changed gtk_widget_activate() to return a
172         gboolean, indicating whether this widget supports activation.
173         added gtk_widget_scroll_adjustements() to set the scrolling
174         adjustments of a widget.
175
176 Wed Nov 19 01:22:42 1998  Tim Janik  <timj@gtk.org>
177
178         * gtk/gtkoptionmenu.c:
179         (gtk_option_menu_remove_contents):
180         (gtk_option_menu_update_contents): removed
181         gtk_container_[un]block_resize() pairs.
182
183         * gtk/gtknotebook.h: 
184         * gtk/gtknotebook.c: removed the tab_border field, since it shouldn't
185         be used outside of gtknotebook.c anyways. made ARG_TAB_BORDER a
186         wrtie-only argument.
187
188         * *.c: made deprecated functions issue a message:
189         gtk_clist_set_border, gtk_container_block_resize,
190         gtk_container_unblock_resize, gtk_container_need_resize,
191         gtk_object_class_add_user_signal, gtk_spin_button_construct,
192         gtk_scrolled_window_construct.
193         removed non-functional functions:
194         gtk_container_disable_resize, gtk_container_enable_resize,
195         gtk_clist_set_policy.
196
197 Wed Nov 18 22:54:36 1998  Tim Janik  <timj@gtk.org>
198
199         * gtk/gtkbox.c (gtk_box_init): 
200         * gtk/gtkdrawingarea.c (gtk_drawing_area_init): 
201         * gtk/gtkeventbox.c (gtk_event_box_init): 
202         * gtk/gtkfixed.c (gtk_fixed_init): 
203         * gtk/gtkframe.c (gtk_frame_init): 
204         * gtk/gtkhandlebox.c (gtk_handle_box_init): 
205         * gtk/gtkpacker.c (gtk_packer_init): 
206         * gtk/gtkmisc.c (gtk_misc_init): 
207         * gtk/gtkpreview.c (gtk_preview_init): 
208         * gtk/gtkprogress.c (gtk_progress_init): 
209         * gtk/gtkprogressbar.c (gtk_progress_bar_init): 
210         * gtk/gtkseparator.c (gtk_separator_init): 
211         * gtk/gtktable.c (gtk_table_init): 
212         * gtk/gtkviewport.c (gtk_viewport_init): 
213         * gtk/gtkalignment.c (gtk_alignment_init): 
214         removed setting of the GTK_BASIC flag.
215
216         * gtk/gtkwidget.h:
217         * gtk/gtkwidget.c:
218         removed GTK_BASIC, GTK_WIDGET_BASIC and gtk_widget_basic.
219
220         * miscellaneous GtkType and macro fixups.
221
222 Sat Nov 21 18:53:13 1998  Owen Taylor  <otaylor@redhat.com>
223
224         * gdk/gdkwindow.c (gdk_window_get_deskrelative_origin): 
225         Fixed so it at least works with window managers other
226         than Enlightenment, though it probably needs to be
227         removed altogether.
228
229 1998-11-21  Andrew T. Veliath  <andrewtv@usa.net>
230
231         * gtk/gtkhandlebox.[ch]: Add shadow_type and
232         gtk_handle_box_set_shadow_type function (plus a
233         GtkHandleBox::shadow arg) to allow configuration of shadow in the
234         bin window.
235
236 Thu Nov 19 23:47:38 CST 1998 Shawn T. Amundson <amundson@gtk.org>
237
238         * gtk/gtkcalendar.c: Fix for marking days from 
239           Dan Reish <dreish@izzy.net>.
240
241 Thu Nov 19 00:15:27 1998  Lars Hamann  <lars@gtk.org>
242
243         * gtk/gtkctree.c (gtk_ctree_node_nth): return the nth GtkCTreeNode
244         in row_list. (from Samuel Solon <ssolon@usa.net>)
245         
246         * gtk/gtkclist.c (gtk_clist_get_column_title): return column title
247         (gtk_clist_get_column_widget): return column widget
248
249 Wed Nov 18 11:54:57 1998  Owen Taylor  <otaylor@redhat.com>
250
251         * gtk/gtkdnd.c (gtk_drag_find_widget): Accept drops
252         that are sent to a toplevel but are not within the
253         toplevels bounds.
254
255         * gdk/gdkdnd.c gdk/gdk.h: Added support for a
256         XdndProxy atom which proxies the drag to another window.
257
258 1998-11-17  Federico Mena Quintero  <federico@nuclecu.unam.mx>
259
260         * gtk/gtkpaned.h (struct _GtkPaned): Removed the cursor field, now
261         that it is not needed.
262
263 Tue Nov 17 1998 The Rasterman <raster@redhat.com>
264         * gdk/gdk.h, gdk/gdkwindow.c: Added gdk_window_get_deskrelative_origin
265           function to correctly determine gdk window position relative to
266           its "root window" - contains check for an Enlightenment
267           virtual root window.
268         * gtk/gtkhandlebox.c: changed gdk_window_get_origin ->
269           gdk_window_get_deskrelative_origin to get the origin of dragged
270           handleboxes correctly. Now it works correctly with E.
271           
272 Tue Nov 17 1998  Tuomas Lukka <lukka@iki.fi>
273
274         * gtk/gtktypeutils.c: Fix vital bug where LOOKUP was used when
275           getting types even though we were not using real type names,
276           just the index.  This caused random crashes when more than 
277           256 types were defined.
278
279 1998-11-17  Martin Baulig  <martin@home-of-linux.org>
280
281         * gtk/genmarshal.pl: Put output files in the current directory
282         and not in the $(srcdir) since the VPATH is ignored for built
283         sources.
284
285 Tue Nov 17 01:37:53 PST 1998 Manish Singh <yosh@gimp.org>
286
287         * gtk/genmarshal.pl
288         * gtk/Makefile.am: check for unchanged autogenerated files, so
289         we don't rebuild everything just for adding a new function
290
291 Mon Nov 16 19:19:00 CST 1998 Shawn T. Amundson <amundson@gtk.org>
292
293         * gtk/gtkpixmap.h
294           gtk/gtkpixmap.c: Pixmaps now grey out when insensitive,
295           code thanks to GNOME stock by Eckehard Berns.  New function
296           gtk_pixmap_set_build_insensitive to provide ability to turn 
297           this off.
298
299 Tue Nov 17 00:06:29 1998  Lars Hamann  <lars@gtk.org>
300
301         * gtk/gtknotebook.h (struct _GtkNotebook): new flags : homogeneous;
302         new guints : tab_hborder, tab_vborder; marked tab_border deprecated
303         (struct _GtkNotebookPage): new flags : expand, fill, pack
304
305         * gtk/gtknotebook.h/c
306         (gtk_notebook_set_homogeneous_tabs): new function. set homogeneneous
307         tabs
308         (gtk_notebook_set_tab_border): set tab_h/vborder to tab_border
309         (gtk_notebook_set_tab_hborder): new function. set tab_hborder
310         (gtk_notebook_set_tab_vborder): new function. set tab_vborder
311         (gtk_notebook_query_tab_label): new function. get tab_label widget.
312         (gtk_notebook_set_tab_label): new function. set tab_label widget.
313         (gtk_notebook_set_tab_label_text): new function. set tab_label text.
314         (gtk_notebook_query_menu_label): new function. get tab_label widget.
315         (gtk_notebook_set_menu_label): new function. set tab_label widget.
316         (gtk_notebook_set_menu_label_text): new function. set tab_label text.
317         (gtk_notebook_set_tab_label_packing): new function. set tab_label
318         fill, expand, fill_type
319         (gtk_notebook_query_tab_label_packing): new function. get tab_label
320         fill, expand, fill_type
321
322         (gtk_notebook_real_page_position): return logic page number
323         (gtk_notebook_search_page) search next/prev logic page
324         (gtk_notebook_update_labels): set logic page number.
325         (gtk_notebook_page_compare): renamed gtk_notebook_find_page
326         (gtk_notebook_set/get_child_arg): new args CHILD_ARG_TAB_EXPAND,
327         CHILD_ARG_TAB_FILL, CHILD_ARG_TAB_PACK
328         (gtk_notebook_button_press) (gtk_notebook_key_press)
329         (gtk_notebook_focus) (gtk_notebook_pages_allocate)
330         (gtk_notebook_calc_tabs) (gtk_notebook_switch_focus_tab)
331         use gtk_notebook_search_page
332         (gtk_notebook_page_allocate): fixed allocation bug
333         (gtk_notebook_set/get_arg): new args TAB_HBORDER, TAB_VBORDER.
334         (gtk_notebook_init): unset GTK_NO_WINDOW flag
335         (gtk_notebook_size_request): check whether page->child is visible.
336         changes due to tab h/vborder, homogeneous tabs
337         (gtk_notebook_paint): don't draw invisible tabs
338         (gtk_notebook_switch_page): calculate page_num if it's less than 0
339         (gtk_notebook_append_*) (gtk_notebook_prepend_*)
340         (gtk_notebook_insert_page): removed sanity checks
341
342         * gtk/testgtk.c (create_notebook): extended Notebook sample a bit.
343
344 Mon Nov 16 15:10:33 1998  Owen Taylor  <otaylor@redhat.com>
345
346         * gtk/gtktext.c: Optimizations for [advance/decrement]_mark_n.
347         (gtk-mailund-980718-0, Thomas Mailund Jensen <mailund@daimi.aau.dk>)
348
349         * gtk/gtkfixed.c: Removed gtk_fixed_umap, which was 
350         broken. (GtkWidget's default unmap handler should work fine).
351         Pointed out by Patrice Fortier <Patrice.Fortier@aquarel.fr>
352
353 Mon Nov 16 00:59:26 PST 1998 Manish Singh <yosh@gimp.org>
354
355         * gtk/gtkmenubar.[ch]: added shadow_type setting and
356         gtk_menu_bar_set_shadow_type function to allow shadow
357         configurability for menubars
358
359         * gtk/gtkviewport.h: use GtkShadowType enum instead of generic
360         guint
361
362 Mon Nov 16 00:17:53 1998  Tim Janik  <timj@gtk.org>
363
364         * gtk/gtktypeutils.c (gtk_type_new): relookup type node after
365         class creation and parent class' object initializer.
366
367 1998-11-13  Federico Mena Quintero  <federico@nuclecu.unam.mx>
368
369         * gtk/gtkpaned.c (gtk_paned_realize): Destroy the cursor after we
370         have assigned it to the window -- there is no point in keeping it around.
371         (gtk_paned_unrealize): No need to destroy the cursor here.
372
373         * gtk/gtkpaned.h (struct _GtkPaned): Removed the cursor field, as
374         it is not needed.
375
376 Fri Nov 13 11:22:38 1998  Owen Taylor  <otaylor@redhat.com>
377
378         * gdk/gdkpixmap.c: New function gdk_pixmap_foreign_new().
379         (gtk-blizzard-981005-0. 
380          Christopher Blizzard <blizzard@applied-theory.com)
381
382         * gdk/gdk.h gdk/gdkx.h: Moved gdk_window_foreign_new and
383         gdk_pixmap_foreign_new to gdkx.h.
384
385 Fri Nov 13 16:06:48 1998  Owen Taylor  <otaylor@redhat.com>
386
387         * gtk/Makefile.am: Added rules to generate an empty
388         GTK+ theme called "Default" upon installation.
389         
390         * gtk/gtkrc.c (gtk_rc_parse_style): Fix inheritance
391         of fonts and fontsets. 
392         (gtk-matsu-980924. Takashi Matsuda matsu@arch.comp.kyutech.ac.jp)
393
394         * gtk/gtkmain.c: Change test to detect glibc's
395         utf8 based mb* functions to be more specific.
396
397         * gtk/gtkwindow.[ch] gtk/gtkfixed.c: Indentation 
398         cleanups.
399
400 Fri Nov 13 16:43:36 1998  Lars Hamann  <lars@gtk.org>
401
402         * gtk/gtktogglebutton.c (gtk_toggle_button_realize): don't
403         show event_window
404         (gtk_toggle_button_map) (gtk_toggle_button_unmap): show/hide
405         event_window if draw_indicator is set
406         (gtk_toggle_button_set_mode):
407
408 Thu Nov 12 15:33:54 PST 1998 Manish Singh <yosh@gimp.org>
409
410         * gtk/gtkitemfactory.c: cast NULL to GtkItemFactoryCallback to
411         ensure proper type (SunPro cc complains)
412
413         * gtk/gtklist.c: removed bogus '*' from "*GTK_CONTAINER_CLASS"
414
415         * gtk/gtktogglebutton.c: use our own draw method so we get proper
416         redraws on active state
417
418 Thu Nov 12 00:26:13 1998  Lars Hamann  <lars@gtk.org>
419
420         * gtk/gtkstyle.c (gtk_default_draw_box_gap): use GtkPositionType
421         defines.
422
423         * gtk/gtknotebook.c (gtk_notebook_draw_tab): fixed gap_side for
424         GTP_POS_RIGHT
425
426 Wed Nov 11 19:54:58 1998  Lars Hamann  <lars@gtk.org>
427
428         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init)
429         (gtk_scrolled_window_set_arg) (gtk_scrolled_window_get_arg):
430         added ARG_WINDOW_PLACEMENT
431
432         * gtk/gtkclist.c (size_allocate_columns): resize column if column
433         button > column width and auto_resize is set
434         (real_clear) (column_auto_resize) (gtk_clist_optimal_column_width):
435         consider column button width of auto resized columns
436         (gtk_clist_parent_set): removed 
437
438         * gtk/gtkctree.c (gtk_ctree_insert_node): call column_auto_resize.
439         (auto_resize_columns): auto_resize all columns
440         (real_tree_collapse) (gtk_ctree_remove_node): call auto_resize_columns
441         (column_auto_resize): respect column button width of auto resized
442         columns
443
444 1998-11-10  Martin Baulig  <baulig@merkur.uni-trier.de>
445
446         * gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_4): Define this so
447         we can check for latest GTK features.
448
449 Mon Nov  9 00:39:20 1998  Lars Hamann  <lars@gtk.org>
450
451         * gtk/gtkenums.h : new enum GtkCornerType 
452         * gtk/gtkscrolledwindow.h (struct _GtkScrolledWindow): added
453         window_placement.
454         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_placement): 
455         new method to set window_placement.
456         (gtk_scrolled_window_viewport_allocate)
457         (gtk_scrolled_window_size_allocate): few changes due to
458         window_placement.
459         * gtk/testgtk.c (remove_selection): fixed while loop.
460
461 Sat Nov  7 21:55:00 PST 1998 Manish Singh <yosh@gimp.org>
462
463         * gtk/gtkclist.c: check if column[i].button is valid before calling
464         gtk_widget_intersect on it in gtk_clist_draw
465
466         * gtk/gtkdnd.c: removed unused variable empty_bits
467
468         * gtk/gtkrc.c: we should use gslist_* functions with GSLists...
469
470         * gtk/gtktypeutils.[ch]: makes more send for gtk_type_is_a to return
471         a boolean (thanks to Elrond for noticing this)
472
473 1998-11-07  Jay Cox  <jaycox@earthlink.net>
474
475         * gtk/gtkwindow.c: forward declaration for gtk_window_paint
476         * gdk/gdkxid.c: declare xid_ht static
477         * examples/*/Makefile: get the link ordering right.
478
479 Sat Nov  7 16:31:56 1998  Stefan Jeske  <stefan@gtk.org>
480
481         * gtk/gtkclist.c (gtk_clist_realize): Set background of
482         title button window to GTK_STATE_NORMAL instead of
483         GTK_STATE_SELECTED to avoid ugly flicker.
484
485 Fri Nov  6 23:29:40 1998  Lars Hamann  <lars@gtk.org>
486
487         * gtk/gtkclist.c (real_clear) (adjust_adjustments): resize clist
488         if adjustments are NULL and list size has changed
489         (gtk_clist_size_request): return real list requsition,
490         if adjustments are NULL.
491         (size_allocate_columns): use button->requisition.with, if column
492         width is not set.
493         (list_requisition_width): new function. return full list width.
494         (gtk_clist_set_hadjustment) (gtk_clist_set_vadjustment): do not
495         auto create adjustments.
496         (gtk_clist_motion) (move_vertical) (move_horizontal):
497         check adjustment != NULL.
498
499 Thu Nov  5 12:06:16 1998  Owen Taylor  <otaylor@redhat.com>
500
501         * gtk/gtkcheckbutton.c (gtk_check_button_draw_focus): Queue
502         a clear/redraw, not just a redraw, so the focus
503         gets undrawn properly.
504
505         * gtk/gtktogglebutton.c (gtk_toggle_button_unrealize): 
506         Chain to gtk_widget_unrealize() instead of duplicating
507         code.
508
509 Wed Nov  4 14:34:51 1998  Owen Taylor  <otaylor@redhat.com>
510
511         * gdk/gdk.c gdk/gdkprivate.h gdk/gdkwindow.c: Removed
512         last vestiges of old DND.
513
514 Tue Nov  3 12:27:52 1998  Owen Taylor  <otaylor@redhat.com>
515
516         * gtk/gtkentry.c: Restored inner border to entries,
517         erase cursors to background image.
518
519 Fri Oct 30 12:09:21 1998  Owen Taylor  <otaylor@redhat.com>
520
521         * gtk/gtkentry.c gtk/gtkstyle.[ch]: removed paint_entry() -
522         it was identical to paint_flat_box().
523
524         * gtk/gtkstyle.c: Coding style fixups.
525
526         * gtk/gtkwindow.c (gtk_window_move_resize): removed useless
527         test.
528
529         * gtk/gtkframe.c gtkstyle.[ch] gtknotebook.c: 
530         Change 'side' for paint_[box/shadow]_gap and paint_extension
531         to be GtkPositionType instead of a random int.
532
533         * gtk/gtkaspectframe.c (gtk_aspect_frame_paint): Use 
534         "frame" as detail - an aspectframe should draw identical
535         to a frame.
536
537 Tue Oct 27 09:58:11 1998  Owen Taylor  <otaylor@redhat.com>
538
539         * gdk/gdkwindow.c (gdk_window_merge_child_shapes): renamed
540         from combine_child_shapes().
541
542         * gdk/gdkwindow.c: Merge propagate_shapes() and
543         propagate_combine_shapes() to remove code duplication.
544
545 Thu Nov  5 14:31:57 PST 1998 Manish Singh <yosh@gimp.org>
546
547         * gdk/gdk.c: sometimes we get a KeyRelease before a KeyPress in
548         gdk_event_translate, and the USE_XIM buffer isn't allocated yet.
549         So allocate some mem if it's not already done.
550
551         * clist scrollbar merges from HEAD
552
553 Tue Nov  3 13:16:36 PST 1998 Manish Singh <yosh@gimp.org>
554
555         * gtk/Makefile.am: remove explict -ldl, gmodule takes care of that
556
557         * gtk/gtkdnd.c: start TARGET_MOTIF_SUCCESS from 0x40000000 instead
558         of 0x80000000, so we stay within the bounds of a postive signed
559         int (it broke some compilers)
560
561         * gtk/gtkmenushell.c
562         * gtk/gtkoptionmenu.c: merges from HEAD to make option menus work
563         when some of the menuitems are hidden
564
565         * gtk/gtkthemes.h: don't include dlfcn.h explictly, gmodule takes
566         care of that
567
568         * gtk/gtkwidget.c: add a dummy continue after the line label
569         next_rect, since some compilers don't like label: }
570
571 Sun Nov  1 20:05:55 PST 1998 Manish Singh <yosh@gimp.org>
572
573         * Okay, so we need the X11R6 keysyms so programs don't have to
574         worry about them. They don't conflict anyway. Reverted the #ifdef
575         changes to gtk/*.c
576
577         * gdk/Makefile.am: remove the BUILT_SOURCES rule, and make a
578         special rule for them (X-derived-headers)
579
580 Sun Nov  1 05:30:32 PST 1998 Manish Singh <yosh@gimp.org>
581
582         * gdk/Makefile.am: changed the awk scripts to generate gdkcursors.h
583         and gdkkeysyms.h into sed scripts, since the awk scripts weren't
584         portable, and we really shouldn't be using awk anyway.
585
586         * makecursors.awk
587         * makekeysyms.awk: bye bye
588
589         * gtk/gtkaccelgroup.c
590         * gtk/gtkclist.c
591         * gtk/gtknotebook.c
592         * gtk/gtkwindow.c: don't use X11R6 keysyms if they aren't there
593
594 Sat Oct 31 15:22:14 PST 1998 Manish Singh <yosh@gimp.org>
595
596         * gdk/Makefile.am: do the same built sources trick for gdkcursors.h
597         and gdkkeysyms.h. Remove those files from CVS.
598
599 Sat Oct 31 14:44:01 PST 1998 Manish Singh <yosh@gimp.org>
600
601         * gdk/gdk.c: move prototype of gdk_wm_protocols_filter outside
602         of the USE_XIM #ifdef
603
604         * gtk/Makefile.am: cause the built sources to be rebuild when possible,
605         even with --include-deps. Slightly different from timj's fix, to avoid
606         circular dependency with gtkmarshal.c
607
608         * autogen.sh
609         * gtk/gtkclist.[ch]
610         * gtk/gtkctree.c
611         * gtk/gtkfontsel.[ch]
612         * gtk/gtklist.c
613         * gtk/gtklistitem.c
614         * gtk/gtkobject.[ch]
615         * gtk/testgtk.c: merges from HEAD
616
617         * gtk/gtkmenubar.c
618         * gtk/gtkradiomenuitem.c
619         * gtk/gtktreeitem.c: cleanups
620
621 Wed Oct 28 23:32:19 PST 1998 Manish Singh <yosh@gimp.org>
622
623         * gdk/gdkrgb.c: Oops. s/BIGENDIAN/BIG_ENDIAN/
624
625 Wed Oct 28 19:04:49 PST 1998 Manish Singh <yosh@gimp.org>
626
627         * configure.in: AIX has libpthreads, to make sure you can have
628         more than one thread. Also add -D_THREAD_SAFE, and reorder
629         configure.in so CFLAGS doesn't get clobbered when we actually
630         want to modify it
631
632         * gdk/gdkimage.c: initialize the bpp and byte_order fields properly
633         in gdk_image_get
634
635         * gtk/testdnd.c: removed unused variable "buf"
636
637 Mon Oct 26 16:46:15 1998  Owen Taylor  <otaylor@redhat.com>
638
639         * gtk/gtkcontainer.c (gtk_container_unregister_toplevel): 
640         remove_link(), not remove()
641
642 Thu Oct 22 02:27:30 PDT 1998 Manish Singh <yosh@gimp.org>
643
644         * gdk/gdkrgb.c: use glib endian stuff
645
646         * configure.in: don't need to check for endianness anymore
647
648         * gtk/gtkstyle.h: removed #pragma }, causing a silly warning
649
650 Wed Oct 21 17:44:27 1998  Owen Taylor  <otaylor@redhat.com>
651
652         * gtk/gtkwindow.c (gtk_window_read_rcfiles): Reset
653         all toplevel widgets, not toplevel windows. (I.e.,
654         plugs should be reset)
655
656         * gtk/gtkwindow.c (gtk_window_read_rcfiles): Yes, we
657         _do_ need to notify the other toplevels - by the time
658         the get the client messages, the RC file dates will
659         have been updated.
660
661         * gtk/gtkcontainer.h: Added a function call to list
662         every toplevel widget.
663
664         * gdk/gdk.c (gdk_event_send_client_message_to_all_recurse): 
665         Don't send client messages to _every_ window on display!
666         
667 Tue Oct 20 16:21:04 1998  Owen Taylor  <otaylor@redhat.com>
668
669         * gtk/gtkdnd.c (gtk_drag_source_event_cb): Don't start drags 
670         when dragging across widgets, only in drags
671         starting in widget.
672
673 Tue Oct 20 15:59:49 1998  Owen Taylor  <otaylor@redhat.com>
674
675         * gtk/gtkdnd.c (gtk_drag_source_info_destroy): 
676         Emit "drag_end" signal at end of drag.
677
678 Tue Oct 20 13:07:54 1998  Owen Taylor  <otaylor@redhat.com>
679
680         * gtk/gtkwindow.c (gtk_window_read_rcfiles): Look
681         for "gtk-embedded" data currently set by 
682         GtkSocket, and use that to forward client message
683         on to embedded windows. Only reset our own toplevel -
684         the others will handle themselves. (Now that
685         GtkMenus live in GtkWindows)
686
687 Mon Oct 19 16:40:40 1998  Owen Taylor  <otaylor@redhat.com>
688
689         * gdk/gdkdnd.c (get_client_window_at_coords_recurse): Modify
690         client window finding code so that it works with
691         WM's other than fvwm.
692  
693 Sun Oct 18 22:48:27 1998  Owen Taylor  <otaylor@redhat.com>
694
695         * gtk/gtkdrawwindow.c (gtk_draw_window_get_type): Added
696         the "GtkDrawWindow" class, which is a descendent
697         of the Window class which leaves its background alone.
698         Essentially, a toplevel drawing area, though it does
699         allow adding a child.
700
701 Sat Oct 17 00:40:51 1998  Owen Taylor  <otaylor@redhat.com>
702
703         * gtk/gtkrc.c (gtk_rc_style_init): Duplicate bg_pixmap_name when
704         merging RC styles. Report new share/themes path for
705         themes directory. Deref theme engines when appropriate.
706
707         * gtk/gtkclist.c: Set all backgrounds in _style_set().
708         Make sure that pixel for xor_gc is never 0.
709
710         * gtk/gtkctree.c: Choose colors for plus/minus more
711         carefully, in a hopefully style-independent fashion.
712         (Still needs a bit more work)
713
714         * gtk/gtkwidget.c: Don't send expose events to widgets
715         which are about to be resized and redrawn. (Needs a
716         bit more thought.)
717
718         * gtk/gtknotebook.c (gtk_notebook_draw_tab): Avoid
719         drawing on tabs for newly allocated, un-sized
720         pages - we'll get the size wrong.
721
722 Thu Oct  1 17:38:07 1998  Owen Taylor  <otaylor@redhat.com>
723
724         * gtk/gtkwidget.c (gtk_widget_redraw_queue_remove): Fixed
725         up stupidities in last commit.
726
727 Thu Oct  1 14:25:43 1998  Owen Taylor  <otaylor@redhat.com>
728
729         * gtk/gtkwidget.c: When handling queued resizes, account
730         for handleboxes, where the widget heirarchy is different
731         than the window heirarchy by just queueing a resize on
732         the entire handlebox if the detached child is changed.
733
734         - Remove widgets from the redraw queue when reparenting,
735         even if not unrealizing. We queue a resize/redraw in
736         any case.
737
738 Mon Sep 28 21:07:01 EDT 1998 The Rasterman <raster@redhat.com>
739         * gtk/gtkstyle.c: added check to see if the widget has been shaped
740         byt the app via gtk_widget_shape_combine_mask and if it has does
741         not reset the shape on theme change.
742         
743 Tue Sep 15 11:30:03 1998  Owen Taylor  <otaylor@redhat.com>
744
745         * gtk/gtkfilesel.c: Keep a list of directories in which we never
746         want to stat the entries (like /afs), and assume everything in
747         those directories is a subdirectory.
748
749         - When following a path, try to open components even when
750         we don't find them in their parent's directory to
751         support automounters.
752
753 Fri Sep 11 15:36:33 1998  Owen Taylor  <otaylor@redhat.com>
754
755         * gdk/gdkinputgxi.h (gdk_input_gxi_grab_pointer): Hopefully
756         now at least compiles again.
757
758         * gdk/gdk.c (gdk_event_translate): Don't pass events
759         on destroyed widgets to the gdk_input layer.
760
761 Thu Sep  3 19:45:34 1998  Owen Taylor  <otaylor@redhat.com>
762
763         * gtk/gtkthemes.c: Use g_module instead of dlopen()
764
765 Thu Sep  3 19:30:11 1998  Owen Taylor  <otaylor@redhat.com>
766
767         * gtk/gtktooltips.c (gtk_tooltips_expose): Check
768         if we've changed widgets since the expose event
769         was queued.
770
771 Mon Aug 31 15:33:13 1998  Owen Taylor  <otaylor@redhat.com>
772
773         * gtk/gtkstyle.h (struct _GtkStyle): Reordered a bit
774         to restore approximate bin compatibility with the
775         non-themes branch. (This does break bin compat
776         within the themes branch.)
777
778 Sun Aug 30 16:48:27 1998  Owen Taylor  <otaylor@gtk.org>
779
780         * gtk/gtklabel.c (gtk_label_set): Eliminate a 
781         gdk_window_clear_area() that snuck in with the
782         menu underlines merge.
783
784 Mon Aug 24 23:37:26 1998  Owen Taylor  <otaylor@redhat.com>
785
786         * gtk/gtktext.c: Fixed some remaining background drawing,
787           merges from main branch, cleanups.
788
789 Mon Aug 24 10:55:51 1998  Owen Taylor  <otaylor@redhat.com>
790
791         * gtk/gtknotebook.c (gtk_notebook_draw_tab): Don't
792           dereference NULL focus tab.
793
794         * gtk/gtkscale.c (gtk_scale_[un]map): Add map/unmap
795           functions since we need to both show/hide and 
796           queue a redraw. (There's some duplication of drawing here, 
797           we probably should only be queuing a redraw on the
798           "value" portion of the scale.)
799
800 Fri Aug 21 19:02:30 1998  Owen Taylor  <otaylor@redhat.com>
801
802         * gtk/gtkrange.[ch] gtk/gtkhscale.c gtk/gtkvscale.[ch]: Fit scales
803           into the theme-drawing framework. We do this by making them,
804           like check/radio-buttons, no-window widgets with subwindows. We
805           then move the value by calling gtk_widget_queue_clear() and only
806           redraw the value in our draw() / expose() handler.  A virtual
807           function clear_background is added which queues a clear on the
808           "background" portion of the widget.
809
810 Fri Aug 21 13:04:27 1998  Owen Taylor  <otaylor@redhat.com>
811
812         * gtk/gtktext.c (mark_bg_gc): Make background colors work
813           again. (We can't always paint the background with a
814           paint() function - only do that for selected text)
815
816 Mon Aug 17 20:31:01 1998  Owen Taylor  <otaylor@redhat.com>
817
818         * gtk/gtktearoffmenuitem.c gtk/gtkclist.[ch] gtk/gtkctree.[ch]
819           gtk/gtklabel.c gtk/gtkmenu.c: Merges from main branch.
820
821         * Makefile.am (SRC_SUBDIRS): Removed themes from SRC_SUBDIRS.
822           the themes can't be built as part of the same build since
823           they depend on gdk_imlib.
824
825 Fri Aug 14 12:44:30 1998  Owen Taylor  <otaylor@redhat.com>
826
827         * gtk/gtkthemes.c (gtk_theme_engine_get): Removed sample engine code
828           from gtkthemes.c.
829                 
830         * configure.in ltconfig.in ltmain.sh gdk/Makefile.am gtk/Makefile.am
831           gtk/
832
833           - Upgrade to libtool-1.2b + patch to add shared library dependencies
834             for Linux. (Needs to be extended to other platforms where they
835             are safe)
836
837          - Check for -ldl so this branch should build on all platforms, though
838            themes will work on all platforms they could work on.
839
840          - Use -version and -release simultaneously: sonames stay as they are
841            in the current scheme, but -lgtk-1.1 changes to -lgtk.
842
843          - Added in extra -l flags to library LDFLAGS so we get shared library
844            dependencies against X libs and -ldl. (But not libgtk against 
845            libgdk or libglib yet, since dependencies against uninstalled
846            libraries aren't portable)
847
848 Fri Aug 21 16:10:38 EDT 1998 The Rasterman <raster@redhat.com>
849         * gtkrc.c - added api calls to find module and theme paths from gtk.
850           nuked gtk_install_prefix global.
851         
852 Fri Aug 21 12:36:46 EDT 1998 The Rasterman <raster@redhat.com>
853         * fixed gtk_install_prefix global.
854           
855 Thu Aug 20 19:27:49 EDT 1998 The Rasterman <raster@redhat.com>
856         * added gtk_install_prefix global const variabel to find where gtk is
857           installed.
858           
859 Thu Aug 20 18:27:29 EDT 1998 The Rasterman <raster@redhat.com>
860         * added ~/.gtk/lib/themes/engines/ to the default searchpath for
861           gtk theme engines
862         
863 Thu Aug 20 18:27:29 EDT 1998 The Rasterman <raster@redhat.com>
864         * made gtkrc scanner append dir that gtkrc is read from to pixmap path.
865
866 Mon Aug 10 23:03:55 1998  The Rasterman <raster@redhat.com>
867         * Fixed minor problem in gtkhandlebox.c with drawing, and some
868           notebook stuff. Also pixmap theme is now "clean" again.
869           
870 Mon Aug 10 23:03:55 1998  Owen Taylor  <otaylor@redhat.com>
871         * gtk/gtkwidget.c (gtk_widget_clip_rect): Fixed up 
872           queued area resizing once more.
873
874 Mon Aug 10 23:09:30 EDT 1998
875         * Added a few drawing fixes for notebook and other widgets. finished
876           pixmap theme up to the level that can be supported so far. (need to
877           add path discovery 9ie where is the rc fiel from - add to pixmap 
878           path so we can get theimages from there too). then we can package 
879           themes. After that need to add to theme seartch path stuff in users 
880           home dir.
881           
882 Thu Aug  6 16:49:25 1998  Owen Taylor  <otaylor@redhat.com>
883
884         * gtk/gtktooltips.c (gtk_tooltips_expose): Draw into a
885           drawing area, draw in an expose handler.
886
887         * gtk/gtknotebook.c (gtk_notebook_expose): Check for
888           empty current page.
889
890 Wed Aug  5 16:13:15 1998  Owen Taylor  <otaylor@redhat.com>
891
892         * gtk/gtkcolorsel.c (gtk_color_selection_draw_wheel): Moved
893           creation of GC's so that they will be set before
894           they are used for map events (why are they used there?)
895
896         * gtk/gtkwidget.c: Fixed mistake that caused widgets to
897           be queued in multiple times in the queue.
898
899 Wed Aug  5 14:23:52 1998  Owen Taylor  <otaylor@redhat.com>
900
901         * gtk/gtkstyle.c (gtk_default_draw_shadow): Don't set
902           clip rects (or do anything) for shadow_none.
903
904 Wed Aug  5 13:14:57 1998  Owen Taylor  <otaylor@redhat.com>
905
906         * gtk/gtkbutton.c (gtk_button_paint): Restored paint function.
907           Yes, it was needed. draw() and expose() are _not_
908           identical.
909
910 Sat Aug  1 17:44:31 EDT 1998 EDT 1998 The Rasterman <raster@redhat.com>
911         * Wheeeeeeeeeeeeeeee fixed radiobittons to work in gimp again.
912
913 Fri Jul 31 19:45:12 EDT 1998 The Rasterman <raster@redhat.com>
914         * YES YES YES YES YES clist borders work again! YES! YES YES! gimme 
915           more baby oooh yeah more more MORE YES YES.
916
917 Fri Jul 31 19:45:12 EDT 1998 The Rasterman <raster@redhat.com>
918         * hopefully fixed problem wiht togglebuttons acting like
919           radiobuttons in gtktogglebutton.c
920
921 Thu Jul 30 23:36:46 EDT 1998 The Rasterman <raster@redhat.com>
922         * fixed another drawing buglet in the frame drawing code (actually
923           in the clearing code but anyway in gtkstyle.c)
924
925 Thu Jul 30 19:23:48 EDT 1998 The Rasterman <raster@redhat.com>
926         * Fixed warning from colorsel widget...
927
928 Thu Jul 30 19:10:42 EDT 1998 The Rasterman <raster@redhat.com>
929         * Fixed defautl drawing code to no longer clobber the original style
930           pixmap bgs as it did and added a helper funciton og gtkstyle.c to
931           help with this.
932
933 Thu Jul 30 18:09:21 1998  Owen Taylor  <otaylor@redhat.com>
934
935         * gtk/gtkrc.c gtk/gtkstyle.c: More mm fixups
936
937         * gtk/gtktooltips.c: Pass a widget (the window) to the
938           drawing function instead of the GtkTooltips.
939
940 Thu Jul 30 17:27:10 1998  Owen Taylor  <otaylor@redhat.com>
941
942         * gdk/gdkwindow.c: Abstract out checking for shape
943           extension into a function.
944
945         * gtk/gtkwindow.c: Fix up gtk_window_expose()/draw().
946           Remove extra callls to gtk_window_draw().
947
948 Thu Jul 30 11:18:43 1998  Owen Taylor  <otaylor@redhat.com>
949
950         * gtk/gtkstyle.c gtk/gtkrc.c: Memory management fixups.
951
952         * themes/th_main.c: Moved messages around so they are
953           printed before destroying strings.
954
955 Wed Jul 29 16:56:07 1998  Owen Taylor  <otaylor@redhat.com>
956
957         * gdk/gdk.c: Fairly simple implementation of expose compression.
958           (No GraphicsExpose compression yet, always compress
959           with the equivalent of XtCompressMultiple - no compression
960           of Expose events across non-Expose events)
961         
962         * gdk/gdk.h gdk/gdkrectangle.c: gdk_rectangle_union()
963           Find rectangle bounding two rectangles.
964
965         * gtk/gtkstyle.c: Set clip rects for a few extra GC's
966           in gdk_default_draw_shadow()
967         
968 Wed Jul 29 16:03:20 EDT 1998 The Rasterman <raster@redhat.com>
969         * Fixed drawing functions to handle switching themes on the fly 
970           gracefully and look decent.
971           
972 Tue Jul 28 22:52:10 EDT 1998 The Rasterman <raster@redhat.com>
973         * Added all the theme drawing code to all widgets, fixed up minor
974           nigglies in some widgets when it comes to themes, seem to be
975           running into some funky behavior with clipping rects in GC's. Too
976           many files to list here. (all files that now use gtk_paint_* are
977           affected).
978
979 Tue Jul 28 22:49:16 1998  Owen Taylor  <otaylor@redhat.com>
980
981         * themes/th_main.c themes/th_draw.c gtk/testgtkrc: 
982           Set up the demo theme so it is loaded from the RC file.
983
984         * themes/th_draw.c: Alleviate the hardcoded paths a wee
985           bit. (use $HOME/themes/)
986
987         * gtk/gtkthemes.[ch] gtk/gtkmain.c: Load engines specified in 
988           the RC file via dlopen()
989
990 Tue Jul 28 20:30:56 1998  Owen Taylor  <otaylor@redhat.com>
991
992         Internal handling of styles and RC styles pretty much
993         completely reworked for Theme work.
994
995         * gtkthemes.[ch]: 
996          - Added routines for virtualization of RcStyle and Style handling.
997          - Temporary "sample" inline theme-engine. (Does nothing
998            but print out a few messages.
999         
1000         * gtkrc.[ch]
1001          - Made GtkRcStyle public, added flags to tell if particular
1002            colors have been set.
1003          - RC Styles are "transparent", and the final style for
1004            a widget is the composition of all matching styles
1005          - Added pointer to GtkThemeEngine, and gpointer engine_data
1006            to RC style and style.
1007          - Parse "engine" keyword, load the appropriate theme engine
1008            and call the engine's parser.
1009         
1010         *  gtkstyle.[ch]
1011          - Keep a GtkRcStyle * in styles created from Rc Styles.
1012          - Load up images from RC file at style attachment time.
1013          - Call ->engine->foo() at appropriate times.
1014          - Don't use a GCache. All incarnations for a style are
1015            just linked together in a list, depend on the RC style 
1016            code to find the existing copy.
1017
1018 Tue Jul 28 14:41:54 1998  Owen Taylor  <otaylor@redhat.com>
1019
1020         * gtk/gtkwidget.[ch]: Added the concept of queued redraws
1021           of partial areas. This can be done either relative
1022           to the existing windows (gtk_widget_queue_clear[_area]())
1023           or relative to the future allocation of the widget
1024           (gtk_widget_queue_draw[_area]). 
1025
1026           The initial implementation is pretty braindead, but
1027           can be improved.
1028
1029         * gtk/gtkwidget.[ch]: Removed calls to gdk_window_clear_area()
1030           in favor of gtk_widget_queue_clear().
1031         
1032         * gtk/gtklabel.[ch] gtk/gtkpixmap.[ch]: Removed needs_clear
1033           flags in favor of gtk_widget_queue_clear()
1034         
1035 Tue Aug  4 19:12:14 1998  Owen Taylor  <otaylor@redhat.com>
1036
1037         * gtk/gtkwidget.c (gtk_widget_idle_draw): Fixed up
1038           handling of partially clipped areas.
1039
1040 Thu Nov  5 18:52:35 1998  Lars Hamann  <lars@gtk.org>
1041
1042         * gtk/gtkclist.h (struct _GtkCListClass)
1043         * gtk/gtkclist.c (gtk_clist_class_init): removed scrollbar_spacing.
1044
1045 Thu Nov  5 16:00:32 1998  Lars Hamann  <lars@gtk.org>
1046
1047         * gtk/gtkclist.h (struct _GtkCList): removed vscrollbar, hscrollbar,
1048         vscrollbar_policy, hscrollbar_policy. added h/vadjustment.
1049
1050         * gtk/gtkclist.c (gtk_clist_class_init): added new args types
1051         "hadjustment" & "vadjustment"
1052          (gtk_clist_set_arg) (gtk_clist_get_arg): new object class
1053         set/get_arg functions
1054         (gtk_clist_construct): don't create/adjust scrollbars.
1055         (gtk_clist_set_hadjustment) (gtk_clist_set_vadjustment): new functions
1056         to set h/vadjustments
1057         (gtk_clist_get_vadjustment) (gtk_clist_get_hadjustment): new functions
1058         to query h/vadjustments
1059         (create_scrollbars): removed.
1060         (create_adjustments): replacement for create_scrollbars
1061         (gtk_clist_new): call gtk_clist_new_with_titles
1062         (gtk_clist_new_with_titles): don't warn on titles == NULL
1063         (move_horizontal): use CLAMP instead
1064         (gtk_clist_set_policy): deprecated method.
1065         use gtk_scrolled_window_set_policy instead.
1066         (vadjustment_value_changed): use clist->vadj.
1067         (adjust_scrollbars): renamed to adjust_adjustments
1068         (adjust_adjustments): former adjust_scrollbars
1069         (gtk_clist_destroy): unref adjustments
1070         (gtk_clist_size_allocate) (gtk_clist_map) (title_focus)
1071         (gtk_clist_unmap) (gtk_clist_size_request) (gtk_clist_focus)
1072         (gtk_clist_size_allocate) (gtk_clist_forall): don't use scrollbars
1073         (gtk_clist_thaw) (real_insert_row) (real_remove_row)
1074         (gtk_clist_set_row_height) (real_resize_column):
1075         call adjust_adjustments
1076         (gtk_clist_moveto): return if clist has no adjustments yet.
1077         (gtk_clist_parent_set): new GtkWidget::parent_set function.
1078         Autogenerate h/vadjustments if needed.  
1079         (move_horizontal) (move_vertical): some cleanups
1080
1081         * gtk/gtkviewport.c (gtk_viewport_set_arg) (gtk_viewport_new):
1082         call only gtk_viewport_set_h/vadjustment and let these functions
1083         do the work.
1084         (gtk_viewport_set_hadjustment) (gtk_viewport_set_vadjustment):
1085         generate a new adjustment if needed
1086
1087         * gtk/gtkscrolledwindow.h ((struct _GtkScrolledWindow):
1088         use a guint bitfield for h/vscrollbar_policy and h/vscrollbar_visible
1089         
1090         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_adjustment_changed):
1091         queue_resize if visibility of scrollbars changes
1092         (gtk_scrolled_window_remove): only call container_remove with
1093         scrolled_window->viewport automatically if viewport was autogenerated
1094         (gtk_scrolled_window_add): add widget as scrolled_window->viewport.
1095         auto create a viewport only if widget does not take h/vadjustments.
1096         (gtk_scrolled_window_construct): don't generate a viewport
1097         automatically.
1098         (gtk_scrolled_window_forall): call callback with viewport in any case
1099         (gtk_scrolled_window_set_arg): call gtk_container_add in case of
1100         ARG_VIEWPORT
1101         (gtk_scrolled_window_size_allocate) (gtk_scrolled_window_size_request)
1102         (gtk_scrolled_window_map) (gtk_scrolled_window_unmap): check
1103         viewport != NULL
1104
1105         * gtk/testgtk.c 
1106         (create_ctree) (export_ctree) (create_clist): use a scrolled_window
1107         in conjunction with clists/ctrees
1108
1109         * gtk/gtkfilesel.c (gtk_file_selection_init): use a scrolled_window
1110         in conjunction with clists
1111
1112         * gtk/gtkfontsel.c (gtk_font_selection_init): use a scrolled_window
1113         in conjunction with clists
1114
1115 Wed Nov  4 21:52:57 1998  Lars Hamann  <lars@gtk.org>
1116
1117         * gtk/gtkctree.c (gtk_ctree_unlink): fix focus_row adjustment
1118         (gtk_ctree_remove_node): select focus_row if needed
1119         (cell_size_request): only get pixmap size if pixmap != NULL
1120
1121 Wed Nov  4 04:30:37 1998  Tim Janik  <timj@gtk.org>
1122
1123         * gtk/gtkwidget.c: added a bunch of checks for widget != NULL and
1124         GTK_IS_WIDGET (widget):
1125
1126 Wed Nov  4 02:02:07 1998  Lars Hamann  <lars@gtk.org>
1127
1128         * gtk/gtkclist.c (real_remove_row) (sync_selection): set correct
1129         focus_row after a remove_row call.
1130
1131 Sun Nov  1 21:00:06 GMT 1998  Austin Donnelly  <austin@greenend.org.uk>
1132
1133         * gtk/gtkoptionmenu.c
1134         * gtk/gtkmenushell.c: make option menus work when some of the
1135         menuitems are hidden - previously, option menu would popup too
1136         high.
1137
1138 1998-10-31  Raja R Harinath  <harinath@cs.umn.edu>
1139
1140         * gtk/gtkfeatures.h.in: Remove `#pragma }'.
1141
1142         * gdk/gdki18n.h: Update to use new `glib' widechar defines.
1143
1144         * configure.in (CFLAGS): Don't use test -z "echo .. | grep".  Use
1145         case instead.
1146         (wchar.h, wctype.h, iswalnum): Duplicate widechar tests from `glib'.
1147         (GDK_WLIBS): New variable.  Lists extra libraries needed to use
1148         widechar functions.
1149         * gtk-config.in (--libs): List $GDK_WLIBS, too.
1150
1151 Sat Oct 31 03:11:57 CST 1998 Shawn T. Amundson <amundson@gtk.org>
1152
1153         * Released GTK+ 1.1.3
1154         
1155         * INSTALL:
1156         * NEWS:
1157         * README:
1158         * gtk+.spec:
1159         * docs/gtk-config.1: updated for v1.1.3
1160
1161         * Makefile.am
1162         * sanity_check
1163         * docs/Makefile.am: Includes new 'make release' as well as
1164           'make sanity'.  Also handles html and text creation from html,
1165           and puts them into the distribution
1166
1167         * docs/Makefile.sgml: removed, similar functionality is now in 
1168           the Makefile.am file
1169
1170         * docs/.cvsignore: ignore html and text directories
1171         * docs/glib.texi: removed (now in glib dist)
1172
1173 Fri Oct 30 20:02:36 1998  Lars Hamann  <lars@gtk.org>
1174
1175         * gtk/gtklist.c (gtk_list_remove_items_internal): 
1176         free undo_un/selection, unselect list_item before disconnect
1177         signal functions
1178         (gtk_list_destroy): removed. gtk_list_shutdown clears the list
1179         already
1180         (gtk_list_signal_item_select) (gtk_list_signal_item_deselect)
1181         (gtk_list_signal_item_toggle)   (gtk_list_signal_scroll_horizontal)
1182         (gtk_list_signal_toggle_focus_row) (gtk_list_signal_select_all)
1183         (gtk_list_signal_unselect_all) (gtk_list_signal_undo_selection)
1184         (gtk_list_signal_start_selection) (gtk_list_signal_end_selection)
1185         (gtk_list_signal_toggle_add_mode) (gtk_list_signal_scroll_vertical)
1186         (gtk_list_signal_extend_selection) (gtk_list_signal_focus_lost):
1187         new functions. These functions are signal connected to inserted
1188         list_items, to handle key bindings and GtkItem::de/select/toggle
1189         signals.
1190
1191         * gtk/gtklistitem.c (gtk_list_item_class_init): added missing
1192         gtk_object_class_add_signals call.
1193         (gtk_list_item_toggle_focus_row) (gtk_list_item_select_all)
1194         (gtk_list_item_unselect_all) (gtk_list_item_undo_selection)
1195         (gtk_list_item_start_selection) (gtk_list_item_end_selection)
1196         (gtk_list_item_extend_selection) (gtk_list_item_scroll_horizontal)
1197         (gtk_list_item_scroll_vertical) (gtk_list_item_toggle_add_mode):
1198         removed. These functions are handled via connected
1199         gtk_list_signal_* functions now
1200
1201 Fri Oct 30 05:24:43 1998  Tim Janik  <timj@gtk.org>
1202
1203         * gtk/Makefile.am: cause the built sources to be rebuild when possible,
1204         even with --include-deps:
1205         $(libgtk_la_SOURCES): $(BUILT_SOURCES)
1206
1207 Fri Oct 30 01:56:08 1998  Tim Janik  <timj@gtk.org>
1208
1209         * gtk/gtkobject.c (gtk_object_remove_no_notify): renamed from
1210         gtk_object_data_set_destroy to fit the gtkobject.h API.
1211
1212         * applied patch from Damon Chaplin <DAChaplin@email.msn.com>:
1213         * gtk/gtkfontsel.h:
1214         * gtk/gtkfontsel.c:
1215         Added support for an extra 'base' filter which an application can
1216         set to restrict the fonts available to the user (e.g. a terminal
1217         program only wants the user to be able to select fixed-width fonts).
1218         The type of font (bitmap/scalable/scaled bitmap) is now
1219         also a part of the filter, so that an application can
1220         request that only scalable fonts are shown.
1221         There are new functions to set the base & user filters.
1222         I've also stopped the up/down key press signals getting
1223         to the clists since the font selection widget handles
1224         them itself. It acted a bit strangely before.
1225
1226 Sun Oct 25 20:27:02 1998  Tim Janik  <timj@gtk.org>
1227
1228         * gtk/gtkmain.c (gtk_init): support an environment variable
1229         GTK_MODULES= which takes a colon sperated list of module names
1230         automatically loaded at gtk_init() startup.
1231
1232 Sun Oct 25 08:04:33 1998  Tim Janik  <timj@gtk.org>
1233
1234         * gtk/gtkwidget.c: added more g_return_if_fail() statements.
1235
1236 Thu Oct 22 22:40:35 1998  Lars Hamann  <lars@gtk.org>
1237
1238         * gtk/gtkctree.c (gtk_ctree_destroy): removed. gtk_clist_destroy
1239         is sufficient
1240
1241 Thu Oct 22 16:22:55 1998  Lars Hamann  <lars@gtk.org>
1242
1243         * gtk/gtkclist.c (COLUMN_FROM_XPIXEL): samll fix for invisible
1244         columns
1245
1246 Thu Oct 22 02:29:53 1998  Tim Janik  <timj@gtk.org>
1247
1248         * gtk/gtkfilesel.h: GtkType and macro fixups
1249         * gtk/gtkfilesel.c (gtk_file_selection_complete): set a pattern
1250         for the file selection widget to try a completion on (set the
1251         initial filter).
1252
1253 Wed Oct 14 14:34:04 1998  Tim Janik  <timj@gtk.org>
1254
1255         * gtk/gtkmain.c: implement idle functions via GHook. this gives a
1256         slight speed improvement and lessens code duplication.
1257
1258 Tue Oct 20 14:53:28 1998  Owen Taylor  <otaylor@redhat.com>
1259
1260         * gtk/gtkdnd.c: Always send "drag_leave" to dests
1261         without GTK_DEST_DEFAULT_MOTION. 
1262
1263 Tue Oct 20 11:55:24 1998  Owen Taylor  <otaylor@redhat.com>
1264
1265         * gdk/gdk.c (gdk_event_translate): Handle DestroyNotify
1266         on destroyed windows so we clear the XID table properly.
1267         Finish up restructure of return value handling that
1268         was half-done before.
1269
1270 Tue Oct 20 12:57:10 1998  Owen Taylor  <otaylor@redhat.com>
1271
1272         * gdk/gdk.c (gdk_send_clientmessage_to_all): Hunt
1273         the window tree more comprehensively, so that we find
1274         client windows hidden under non-toplevels.
1275
1276 Tue Oct 20 12:43:04 1998  Owen Taylor  <otaylor@redhat.com>
1277
1278         * gtk/gtkselection.c (gtk_selection_data_set): 
1279         Maintain the null-termintation guarantee, even when 
1280         data = NULL, length = 0. (Warn on data = NULL, 
1281         length > 0)
1282
1283 Mon Oct 19 16:41:44 1998  Owen Taylor  <otaylor@redhat.com>
1284
1285         * gtk/gtkwidget.h (struct _GtkWidgetClass): Add in coordinates
1286         into function prototype for drag_data_received. 
1287
1288 Tue, 20 Oct 1998 11:33:10 +0200 Paolo Molaro <lupus@debian.org>
1289
1290         * gtk/gtkdnd.h,gtk/gtkdnd.c: delete is a reserved word in c++.
1291
1292 Mon Oct 19 23:44:41 1998  Lars Hamann  <lars@gtk.org>
1293
1294         * gtk/gtkclist.c: rearranged some functions
1295         (gtk_clist_set_column_auto_resize): new function. toggle auto_resize
1296         flag of column
1297         (gtk_clist_set_column_resizeable): if resizeable disable auto_resize 
1298         (gtk_clist_set_border): deprecated function, use
1299         gtk_clist_set_shadow_type instead.
1300         (gtk_clist_set_shadow_type): replacement for gtk_clist_set_border
1301         (adjust_scrollbars): some cleanups
1302         (select_row) (unselect_row): removed. replaced by equivalent
1303         gtk_signal_emit calls
1304         (add_style_data): removed, use gtk_clist_style_set instead
1305         (gtk_clist_style_set): fill in size data, after style was set. 
1306         (set_cell_contents) (gtk_clist_set_shift) (gtk_clist_set_row_style)
1307         (gtk_clist_set_cell_style): auto_resize columns if needed
1308         (column_auto_resize): resize column if needed for auto_resize 
1309         (real_clear): disable auto_resize while list destroy
1310         (resize_column): removed
1311
1312         * gtk/gtkctree.c : (gtk_ctree_remove_node)
1313         (gtk_ctree_set_line_style) (gtk_ctree_set_expander_style)
1314         (gtk_ctree_node_set_row_style) (gtk_ctree_node_set_cell_style)
1315         (set_cell_contents) (gtk_ctree_node_set_shift) (gtk_ctree_set_spacing)
1316         (real_tree_move) (gtk_ctree_set_indent) (gtk_ctree_insert_node)
1317         (real_tree_collapse) (real_tree_expand) (column_auto_resize):
1318         auto_resize columns if needed
1319         (gtk_ctree_collapse_recursive) (gtk_ctree_collapse_to_depth)
1320         (real_clear): disable auto_resize while processing the tree
1321
1322         * gtk/testgtk.c (create_clist) (create_ctree): set auto_resize
1323         for one column
1324
1325 Mon Oct 19 08:31:36 1998  Owen Taylor  <otaylor@redhat.com>
1326
1327         * gtk/gtkdnd.c (gtk_drag_selection_received): Fixed
1328         typo - look for right atom on transfer failures.
1329
1330 Sun Oct 18 20:52:22 1998  Owen Taylor  <otaylor@gtk.org>
1331
1332         * gtk/gtkwidget.c gtkmarshal.list: Change signal 
1333         for drag_data_get to match the use that was being
1334         made of it everywhere else...
1335
1336 Sun Oct 18 18:16:39 1998  Owen Taylor  <otaylor@gtk.org>
1337
1338         * gdk/gdk.c gdkprivate.h: Added a modular client-message-filter
1339         mechanism, that is used for the DND messages.
1340
1341           Removed all the old DND code.
1342
1343         * gdk/gdkcolormap.c gdk/gdkcolormap.h: Add a function to
1344         get the visual of a given colormap.
1345         
1346         * gtk/gtkcolorsel.c: Conversion to new DND, drag 
1347         a color-swatch.
1348
1349         * gdk/gdk.h gdk/gdkdnd.c: The low-level
1350         X oriented portions of drag and drop protocols.
1351         Sending and receiving client messages, and navigating
1352         window trees.
1353
1354         * gdk/gdkimage.c: added a gdk_flush() when destroying
1355         SHM images to hopefully make it more likely that
1356         X will gracefully handle the segment being destroyed.
1357
1358         * gdk/gdkprivate.h gtk/gtkdebug.h: Add new 
1359         DND debugging flags.
1360
1361         * gtk/gtkeditable.[ch]: Updates for the selection handling
1362         changes.
1363         
1364         * gtk/gtkselection.[ch]: Added GtkTargetList, a 
1365         refcounted data structure for keeping track of lists
1366         of GdkAtom + information. Removed selection_handler_add
1367         in favor of a "drag_data_get" signal.
1368
1369         * gtk/gtkdnd.[ch] gtk/gtk.h: New files - highlevel (event loop
1370         dependent) parts of the DND protocols, display of drag icons,
1371         drag-under highlighting, and the "default handlers".
1372
1373         * gtk/gtkinvisible.[ch]: New widget - InputOnly offscreen
1374         windows that are used for reliable pointer grabs and
1375         selection handling in the DND code.
1376
1377         * gtk/testdnd.c: New test program for new DND. (Old
1378         DND tests in testgtk still need to be converted.)
1379
1380         * gtk/testselection.c: Use the new selection API.
1381         
1382         * docs/dnd_internals: Start at describing how
1383         all the new code works inside.
1384
1385         * docs/Changes-1.2.txt: New file describing source-incompatible
1386         changes in GTK+-1.2.
1387
1388 Sat Oct 17 22:50:34 1998  Owen Taylor  <otaylor@gtk.org>
1389
1390         * gdk/gdkwindow.c (gdk_window_remove_filter): Free
1391         the right list node.
1392
1393         * gdk/gdkwindow.c (gdk_window_init): Add gdk_root_parent
1394         to the XID table so we can receive events on it.
1395
1396 Wed Oct 14 12:57:40 1998  Owen Taylor  <otaylor@redhat.com>
1397
1398         * gdk/gdk.c gdk/gdk.h (gdk_event_get_time): New function
1399         to get the timestamp from a generic event.
1400
1401 Fri Oct  9 13:16:04 1998  Owen Taylor  <otaylor@redhat.com>
1402
1403         * gtk/gtkwidget.c (gtk_widget_add_events): Added function
1404         that safely adds additional events to a widget's event 
1405         mask, even if the widget has previously been realized.
1406         (We can do this, but not remove events from the event
1407          mask).
1408
1409 Fri Oct  2 17:35:35 1998  Owen Taylor  <otaylor@redhat.com>
1410
1411         * gdk/gdkproperty.c (gdk_property_get): Allow type == 0,
1412         for AnyPropertyType.
1413
1414 Fri Oct  2 10:32:21 1998  Owen Taylor  <otaylor@redhat.com>
1415
1416         * gdk/gdkproperty.c (gdk_atom_intern): Add client-local
1417         hashing.
1418
1419 Thu Sep 24 20:33:54 1998  Owen Taylor  <otaylor@redhat.com>
1420
1421         * gdk/gdk.c (gdk_event_send_clientmessage_toall): serial
1422         isn't a timestamp.
1423
1424 Thu Sep 17 14:23:03 1998  Owen Taylor  <otaylor@redhat.com>
1425
1426         * gdk/gdk.c (gdk_event_translate): Removed printing
1427         of unknown window lookup warnings. (Made it
1428         a GDK_NOTE) - they happen in many circumstances.
1429
1430 Tue Sep  8 12:38:43 1998  Owen Taylor  <otaylor@redhat.com>
1431
1432         * Call XFilterEvent() on events we get for unknown
1433         windows, since it may be the window Xlib uses to
1434         communicate with the IM. 
1435         (From Yung-Ching Hsiao <yhsiao@cae.wisc.edu>)
1436
1437 Tue Sep  1 10:53:52 1998  Owen Taylor  <otaylor@redhat.com>
1438
1439         * gtk/gtkprogress.c (gtk_progress_finalize): Unref
1440         the adjustment.
1441
1442 Thu Aug 27 12:03:14 1998  Owen Taylor  <otaylor@redhat.com>
1443
1444         * gtk/gtksignal.c (gtk_signal_newv): Improve warning
1445         message for return_value + GTK_RUN_FIRST.
1446
1447 1998-10-18  Martin Baulig  <martin@home-of-linux.org>
1448
1449         * gtk/gtktext.c (gtk_text_set_line_wrap): new function to toggle
1450         line wrapping like gtk_text_set_word_wrap () toggles word wrapping.
1451
1452 Fri Oct 16 15:59:02 1998  Lars Hamann  <lars@gtk.org>
1453
1454         * gtk/testgtk.c (insert_row_clist) (create_clist): change a few cell
1455         styles of inserted row
1456         (change_style): change style of focus_row
1457
1458         * gtk/gtkclist.c (gtk_clist_get_row_style) (gtk_clist_set_row_style)
1459         (gtk_clist_get_cell_style) (gtk_clist_set_cell_style): new functions
1460         to set/get row/cell styles.
1461         (gtk_clist_realize): attach row and cell style, allocate row colors.
1462         (gtk_clist_unrealize): detach row and cell styles.
1463         (get_cell_style): new function. get correct cell style.
1464         (draw_cell_pixmap): new function. 
1465         (draw_row): draw cells with row or cell styles.
1466         (row_new): set cell and row styles to NULL.
1467         (row_delete): detach & unref cell and row styles.
1468
1469         * gtk/gtkctree.c (ctree_detach_styles) (ctree_attach_styles): 
1470         new functions to attach/detach styles and allocate colors.
1471         (gtk_ctree_realize) (gtk_ctree_unrealize): attach/detach cell and row
1472         styles of invisible nodes.
1473         (draw_cell_pixmap): new function. 
1474         (get_cell_style):  new function. get correct cell style.
1475         (gtk_ctree_draw_expander): new function. draw tree expander.
1476         (gtk_ctree_draw_lines): new function.draw tree lines.
1477         (draw_row): draw cells with row or cell styles.
1478         (row_new): set cell and row styles to NULL.
1479         (row_delete): detach & unref cell and row styles.
1480         (gtk_ctree_node_get_row_style) (gtk_ctree_node_set_row_style) 
1481         (gtk_ctree_node_get_cell_style) (gtk_ctree_node_set_cell_style): 
1482         Analogons of GtkCList functions 
1483         (gtk_ctree_set_spacing): new function. set spacing between
1484         tree expander and cell contents
1485         (gtk_ctree_set_expander_style): new function. set expander style
1486         of ctree.
1487         (ctree_is_hot_spot): few changes due to draw_row modifications.
1488
1489 Wed 14 Oct 1998 10:17:13 +0200 Paolo Molaro <lupus@debian.org>
1490
1491         * gtk/gtkcombo.c: try completion on MOD1-TAB.
1492         Handle case when the combo->list is empty.
1493
1494 Mon Oct 12 07:51:34 1998  Tim Janik  <timj@gtk.org>
1495
1496         * gtk/gtksignal.c (gtk_signal_handlers_destroy): only unref those
1497         handlers that have not yet been disconnected (finally managed to
1498         trigger the gtk_signal_handler_unref() paranoid warning).
1499
1500 Sat Oct 10 03:37:50 1998  Tim Janik  <timj@gtk.org>
1501
1502         * gtk/gtkwidget.c (gtk_widget_get_arg): fixed default value for x, y,
1503         width and height which is -1 and not -2.
1504
1505 Sat Oct 10 00:50:53 PDT 1998 Manish Singh <yosh@gimp.org>
1506
1507         * HACKING
1508         * autogen.sh: we need libtool 1.2b now
1509
1510 Sat Oct 10 03:37:50 1998  Tim Janik  <timj@gtk.org>
1511
1512         * gtk/gtktable.c (gtk_table_set_child_arg): take the left, right, top
1513         and bottom attach arguments as mandatory and readjust the table size
1514         and opposing edge accordingly if required. this way the order in which
1515         the arguments are set doesn't matter.
1516
1517 Thu Oct  8 15:53:59 1998  Owen Taylor  <otaylor@redhat.com>
1518
1519         * gtk/gtktypeutils.c (gtk_type_class_init): Fixed warning
1520         message to print out parent class name correctly.
1521
1522 Thu Oct  8 07:07:10 1998  Tim Janik  <timj@gtk.org>
1523
1524         * gtk/gtkobject.h: 
1525         * gtk/gtkobject.c:
1526         removed functions gtk_object_set_data_destroy and
1527         gtk_object_set_data_destroy_by_id.
1528         added functions gtk_object_remove_no_notify and
1529         gtk_object_remove_no_notify_by_id which will remove a certain data
1530         portion without invokation of its destroy notifier, this should only
1531         be used in very controled circumstances.
1532
1533 Wed Oct  7 23:59:37 1998  Lars Hamann  <lars@gtk.org>
1534
1535         * gtk/gtkclist.c (gtk_clist_set_column_resizeable): added
1536         size_allocate_title_buttons call
1537         (gtk_clist_realize): changed initial column.window position
1538
1539 Wed Oct  7 20:27:28 1998  Lars Hamann  <lars@gtk.org>
1540
1541         * gtk/gtkctree.h (struct _GtkCTree): removed xor_gc, use clists
1542         xor_gc instead
1543         * gtk/gtkctree.c (create_xor_gc): removed
1544         (gtk_ctree_button_press): set correct line_attributes for
1545         clist->xor_gc on drag start
1546         (gtk_ctree_button_release): reset clist->xor_gc
1547
1548 Wed Oct  7 05:15:36 1998  Tim Janik  <timj@gtk.org>
1549
1550         * gtk/gtk*.h:
1551         * gdk/gdk.h: removed all occourances of #pragma } and #pragma {
1552         which were in place to fixup emacs' cc-mode indentation.
1553         putting (c-set-offset 'inextern-lang 0) into ~/.emacs is the
1554         proper way to achive this and doesn't produce problems for
1555         stupid pragma-related compiler bugs. ;)
1556
1557 Wed Oct  7 00:59:46 1998  Lars Hamann  <lars@gtk.org>
1558
1559         * gtk/gtkclist.h: new signal GtkCList::resize_column.
1560         * gtk/gtkclist.c (draw_row): don't draw invisible columns
1561         (size_allocate_title_buttons) (size_allocate_columns):
1562         skip invisible columns
1563         (new_column_width): take min/max_width into account 
1564         (gtk_clist_button_release) (gtk_clist_motion):
1565         changes due to changed new_column_width function
1566         (LIST_WIDTH): changed define to inline function.
1567         (real_resize_column): class function for resize_column signal
1568         (gtk_clist_motion): fixed autoscrolling for column resizes
1569         (gtk_clist_set_column_visibility): don't hide last visible column,
1570         changed visible arg to gboolean
1571         (gtk_clist_set_column_min_width)(gtk_clist_set_column_max_width):
1572         new functions : set min/max width of a column
1573         (gtk_clist_set_column_resizeable): new function : enable/disable
1574         column resize operations by mouse
1575
1576         * gtk/gtkctree.c (draw_row): don't draw invisible columns
1577         (ctree_is_hot_spot): return FALSE if tree_column is invisible
1578         (draw_xor_line)  (draw_xor_rect): draw full rectangle/line if
1579         tree_column is invisible
1580         (gtk_ctree_find_all_by_row_data)
1581         (gtk_ctree_find_all_by_row_data_custom):  new function from
1582         Ronan Bourlier <ronan@radioss.com>. Returns a GList of all
1583         GtkCTreeNodes with row->data == data.
1584
1585 Tue Oct  6 14:05:00 1998  Tim Janik  <timj@gtk.org>
1586
1587         * gtk/testgtk.c (cb_tree_destroy_event): use g_free to free g_malloced
1588         memory (Martin Pool <mbp@wistful.humbug.org.au>).
1589
1590 Mon Oct  5 15:26:30 1998  Raph Levien  <raph@gimp.org>
1591
1592         * gdk/gdkrgb.c (gdk_rgb_convert_0888_br): Fixed a few long's that
1593         should have been guint32. Thanks to Tristan Colgate for finding it.
1594
1595 Sun Oct  4 22:47:22 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
1596
1597         * gtk/gtkcalendar.h:
1598           gtk/gtkcalendar.c: More changes:
1599           - The day with focus is now seperated from the day selected
1600           - The day with focus has the xor's line around it
1601           - The selected day is now standard selected style
1602           - The week names and week numbers are now also drawn
1603             with selected style
1604           - Space now selects the day which has focus
1605
1606 Sun Oct  4 17:55:52 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
1607
1608         * gtk/gtkcalendar.h:
1609           gtk/gtkcalendar.c: Some significant changes, including:
1610           - No longer draw focus around entire widget, only around
1611             the day which has focus
1612           - Draw relief around entire widget like originally planned
1613           - Show header and day names by default 
1614           - Move data private to the widget out of GtkCalendar struct
1615             and only point to it with a gpointer
1616           - Remove some old unused variables from GtkCalendar struct
1617
1618 Sun Oct  4 17:45:43 BST 1998  Tony Gale  <gale@gtk.org>
1619
1620         * docs/gtk_tut.sgml: update I've had sat around:
1621           - Grammar patch from James R. Van Zandt <jrv@vanzandt.mv.com>
1622           - Range Widget update from David Huggins-Daines <bn711@freenet.carleton.ca>
1623           - New Toolbar section from Jacek Wojdel <J.C.Wojdel@cs.tudelft.nl>
1624
1625 1998-10-01  Martin Baulig  <martin@home-of-linux.org>
1626
1627         * gtk/gtkclist.h (GtkCListColumn): Added `visible'.
1628         
1629         * gtk/gtkclist.c (gtk_clist_set_column_visibility): New function.
1630         Makes it possible to individually show and hide columns.
1631         (size_allocate_columns): Adapted to keep track of hidden columns.
1632         (size_allocate_title_buttons): Likewise.
1633
1634 Sat Oct  3 17:54:48 1998  Tim Janik  <timj@gtk.org>
1635
1636         * gtk/gtkargcollector.c (GTK_ARG_COLLECT_VALUE): for unknown foreign
1637         fundamental types, collect an argument of the type returned from
1638         gtk_type_get_varargs_type(). removed the first macro argument which
1639         was just the same as the fundamental type of the *arg passed to
1640         the macro.
1641         * gtk/gtkarg.c (gtk_args_collect): 
1642         * gtk/gtksignal.c (gtk_signal_collect_params): changed callers.
1643
1644         * gtk/gtktypeutils.h: 
1645         * gtk/gtktypeutils.c: new functions gtk_type_set_varargs_type() and
1646         gtk_type_get_varargs_type() to set and query the varargs collect
1647         type used for a fundamental type, registered outside of Gtk.
1648
1649         * gtk/gtkmisc.c (gtk_misc_class_init): changed object arguments
1650         GtkMisc::xalign and GtkMisc::yalign from GTK_TYPE_DOUBLE to
1651         GTK_TYPE_FLOAT.
1652
1653         * gtk/gtkframe.c (gtk_frame_class_init): changed object arguments
1654         GtkFrame::label_xalign and GtkFrame::label_yalign from GTK_TYPE_DOUBLE
1655         to GTK_TYPE_FLOAT.
1656
1657 Sat Oct  3 01:25:24 1998  Lars Hamann  <lars@gtk.org>
1658
1659         * gtk/gtkctree.c (gtk_ctree_insert_gnode) (real_tree_collapse)
1660         (gtk_ctree_link) (gtk_ctree_unlink) (real_tree_expand): 
1661         fixes for assignment errors with GTK_CTREE_NODE_NEXT/PREV
1662
1663         (real_tree_expand) (real_tree_collapse):
1664         don't expand/collapse a leaf
1665
1666 Fri Oct  2 16:10:36 1998  Tim Janik  <timj@gtk.org>
1667
1668         * gtk/gtktypeutils.c (gtk_type_enum_find_value): make sure we don't
1669         segfault when looking up a non-existant value name (reported by
1670         Pablo <pcj+gtk@primenet.com>).
1671
1672 Thu Oct  1 10:40:20 1998  Tim Janik  <timj@gtk.org>
1673
1674         * gtk/gtkclist.h (gtk_clist_prepend):
1675         * gtk/gtkclist.c (gtk_clist_prepend): new function.
1676         (gtk_clist_insert): added g_return_val_if_fail()
1677         statements. accept a row parameter < 0 or > clist->rows to indicate
1678         append mode.
1679         (real_clear): first clean up all internal pointers and lists (e.g.
1680         clist->row_list or clist->rows), then delete the distinct rows. this
1681         is required because of destroy notifiers, we need to have all internal
1682         structures updated and be reentrant.
1683
1684         * gtk/gtkcalendar.h: 
1685         * gtk/gtkcalendar.c: removed the `gtk_calendar_' prefix from the
1686         GtkCalendarClass signal methods.
1687         GtkType and macro fixups, put `void' into () prototypes, avoid C++
1688         style comments, indentation fixes, fixed some g_return_if_fail()
1689         statements.
1690         (gtk_calendar_paint_header):
1691         (gtk_calendar_paint_day_names): 
1692         (gtk_calendar_paint_week_numbers): 
1693         (gtk_calendar_paint_main): made these static functions.
1694         (gtk_calendar_select_month):
1695         (gtk_calendar_select_day):
1696         (gtk_calendar_mark_day):
1697         (gtk_calendar_unmark_day):
1698         (gtk_calendar_get_date): signedness corrections, use guints
1699         rather than gints.
1700         (gtk_calendar_size_request): removed unused variables.
1701
1702 Wed Sep 30 13:11:09 1998  Tim Janik  <timj@gtk.org>
1703
1704         * gtk/gtkitemfactory.c (gtk_item_factory_add_item): list all
1705         widgets in the ->widgets_by_action list that have a callback
1706         defined (not only those with a callback_action!=0).
1707
1708 Sun Sep 27 22:02:48 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
1709
1710         * gtk/gtkcalendar.h:
1711           gtk/gtkcalendar.c:
1712           examples/calendar/gcalendar.c: remove HAVE_FEATURES stuff
1713
1714 Sun Sep 27 02:18:06 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
1715
1716         * gtk/gtkcalendar.h:
1717           gtk/gtkcalendar.c:
1718           examples/calendar: Added gtkcalendar widget and demo
1719
1720 Sat Sep 26 06:15:34 1998  Tim Janik  <timj@gtk.org>
1721
1722         * gtk/gtkclist.c (gtk_clist_sort): 
1723         (gtk_clist_clear): 
1724         (gtk_clist_unselect_all): 
1725         (gtk_clist_select_all): adde g_return_if_fail() statements.
1726
1727 Sat Sep 26 04:46:22 1998  Tim Janik  <timj@gtk.org>
1728
1729         * configure.in: set binary age and interface age to 0.
1730
1731         * gtk/gtkspinbutton.h: 
1732         * gtk/gtkspinbutton.c: changed gtk_spin_button_construct to
1733         gtk_spin_button_configure. gtk_spin_button_construct is still defined
1734         as an alias for gtk_spin_button_configure for source compatibility,
1735         but actuall use is deprecated.
1736         typeness corrections, i.e. gint->gboolean and gint->guint.
1737         added object arguments: GtkSpinButton::value, GtkSpinButton::wrap,
1738         GtkSpinButton::shadow_type, GtkSpinButton::update_policy,
1739         GtkSpinButton::numeric, GtkSpinButton::snap_to_ticks,
1740         GtkSpinButton::adjustment, GtkSpinButton::digits and
1741         GtkSpinButton::climb_rate.
1742         GtkType and macro fixups.
1743
1744 Sat Sep 25 23:33:55 1998  Tim Janik  <timj@gtk.org>
1745
1746         * gdk/gdkwindow.c (gdk_window_get_root_origin): new function to get
1747         the *real* geometry position of a window, taken possible window
1748         manager offsets into account.
1749         this has been succesfully tested with fvwm, fvwm-2, bowman, olwm,
1750         olvwm, twm, ctwm, mlvwm, windowmaker and enlightenment.
1751         it does fail though for amiwm which adds windows to a pseudo root
1752         window, and for icewm by a small offset because it defines the
1753         geometry position whithin its border.
1754
1755         * gtk/testgtk.c: added "saved position" test to figure how
1756         gdk_window_get_root_origin() interacts with window managers (repopup
1757         this window to figure ;).
1758
1759 Wed Sep 23 06:09:19 1998  Tim Janik  <timj@gtk.org>
1760
1761         * configure.in: update to Gtk+ version 1.1.3, binary age 1,
1762         interface age 1.
1763
1764         * gtk/gtkobject.c
1765         (gtk_object_ref): 
1766         (gtk_object_unref): check for ->ref_count to be greater than 0 (the
1767         existing code was buggy in letting ->ref_count==0 pass through and
1768         then failing the living_objs_ht assertion).
1769
1770         * gtk/gtkclist.c (draw_row): fix chopping bug for right justified
1771         pixtext fields (Roman Pozlevich <roma@botik.ru>).
1772
1773 Mon Sep 21 23:53:18 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
1774
1775         * Released GTK+ 1.1.2
1776
1777 Mon Sep 21 01:12:44 1998  Jay Cox  (jaycox@earthlink.net)
1778
1779         * gtk/Makefile.am: use $(PERL) instead of perl
1780         * gtk/gtkcolorsel.c: render properly in non-square aspect ratios.
1781         also much faster to render.
1782
1783 Mon Sep 21 07:44:30 1998  Tim Janik  <timj@gtk.org>
1784
1785         * gtk/gtkobject.c (gtk_object_class_add_signals): reallocate
1786         the required memory block, rather than allocating it newly from
1787         scratch and doing a full-blown block copy on it.
1788
1789 Mon Sep 21 02:30:06 1998  Tim Janik  <timj@gtk.org>
1790
1791         * NEWS file update for upcoming release of Gtk+ version 1.1.2,
1792         binary age 0, interface age 0.
1793
1794         * gtk/gtkmain.c (gtk_init): enforce gtk-modules to always be resident.
1795
1796 Sun Sep 20 18:21:46 1998  Owen Taylor  <otaylor@redhat.com>
1797
1798         * ltmain.sh: Patch to libtool-1.2b to make --disable-static
1799         work.
1800
1801 Sun Sep 20 09:52:39 1998  Owen Taylor  <otaylor@gtk.org>
1802
1803         * HACKING: indent other than GNU indent should be OK
1804           now.
1805
1806         * gtk/genmarshal.pl gtk/Makefile.am: Call indent on file
1807           instead of piping through indent. If indent wasn't
1808           found in ./configure don't bother indenting at 
1809           all.
1810
1811 Fri Sep 18 19:11:10 1998  Owen Taylor  <otaylor@redhat.com>
1812
1813         * gdk/gdk.h: Add names to prototype for gdk_image_new_bitmap.
1814
1815 Fri Sep 18 18:54:59 1998  Jay Cox  (jaycox@earthlink.net)
1816
1817         * gtk/Makefile.am: use $(AWK) instead of awk
1818
1819 1998-09-18  Raja R Harinath  <harinath@cs.umn.edu>
1820
1821         * gtk/Makefile.am (gdk_headers): 
1822         Remove references to $(top_srcdir). 
1823         (gtk.defs, gtktypebuiltins{.h,_vars.c,_ids.c,_evals.c}): Simplify.
1824         * gtk/makeenums.pl (parse_entries): Don't look for $srcdir.
1825
1826 Fri Sep 18 19:58:24 1998  Tim Janik  <timj@gtk.org>
1827
1828         * gtk/gtkobject.h (struct _GtkObject): changed gpointer object_data; to
1829         GData*object_data to cure compiler warnings.
1830
1831 Thu Sep 17 19:06:47 PDT 1998 Manish Singh <yosh@gimp.org>
1832
1833         * install-sh
1834         * missing
1835         * mkinstalldirs: updated to latest automake version
1836
1837 1998-09-17  Raja R Harinath  <harinath@cs.umn.edu>
1838
1839         * gtk/Makefile.am (source_headers): Move `gtkfeature.h' ...
1840         (gtkinclude_HEADERS): ... here.
1841         (gtk.defs): Pass `g' flag to sed, to replace all occurances.
1842
1843 Thu Sep 17 10:49:51 1998  Raph Levien  <raph@gimp.org>
1844
1845         * HACKING: added GNU indent, as it is now required to successfully
1846         build gtk+. Should this be detected in autoconf, possibly?
1847
1848 Tue Sep 15 14:57:30 1998  Owen Taylor  <otaylor@redhat.com>
1849
1850         * Makefile.am gtk-config.in l*: Update to libtool-1.2b,
1851         change library versioning scheme to drop LT_RELEASE
1852         from the -l line, while keeping it in the soname.
1853
1854 Tue Sep 15 14:10:33 1998  Owen Taylor  <otaylor@redhat.com>
1855
1856         * configure.in Makefile.in: define a MAINT-like variable REBUILD
1857         which is set if Perl and awk are found, and autogenerated sources
1858         can be rebuilt. Remove the auto-generated sources from
1859         CVS. 
1860
1861         Add dependencies so that the autogenerated sources are 
1862         rebuilt if the files they depend on change. 
1863         (This unfortunately currently results in the entire
1864         gtk/ directory being rebuilt when any header changes.
1865         Moving all enums to gtkenums.h would fix this.)
1866
1867 Thu Sep 17 05:12:48 1998  Tim Janik  <timj@gtk.org>
1868
1869         * gtk/gtkobject.h: added gtk_object_set_data_destroy and
1870         gtk_object_set_data_destroy_by_id functions to set the destroy
1871         function pointer for an existing data portion.
1872
1873         * gtk/gtkobject.c: removed the GtkObjectData implementation and
1874         made all gtk_object_*data* functions use the GLib equivalents.
1875
1876 1998-09-16  Federico Mena Quintero  <federico@nuclecu.unam.mx>
1877
1878         * gtk/gtktoolbar.c (gtk_toolbar_insert_element): Test whether type
1879         is not equal to GTK_TOOLBAR_CHILD_RADIOBUTTON before checking that
1880         (widget != NULL), otherwise radio button insertion will not work
1881         -- the widget argument is NULL for the first radio button in the
1882         group.
1883
1884 Tue Sep 15 13:09:24 1998  Owen Taylor  <otaylor@redhat.com>
1885
1886         * gdk/gdkimage.c (gdk_image_new): Reverted global changes
1887         of g_new to malloc(), added back in the one place where
1888         it actually mattered. #include <stdlib.h>.
1889
1890         * gdk/gdkrgb.c: g_malloc() to malloc() as above.
1891
1892 Tue Sep 15 11:30:03 1998  Owen Taylor  <otaylor@redhat.com>
1893
1894         * gtk/gtkfilesel.c: Keep a list of directories in which we never
1895         want to stat the entries (like /afs), and assume everything in
1896         those directories is a subdirectory.
1897
1898         - When following a path, try to open components even when
1899         we don't find them in their parent's directory to
1900         support automounters.
1901
1902 Tue Sep 15 11:06:13 1998  Owen Taylor  <otaylor@redhat.com>
1903
1904         * gtk/gtkwindow.c (gtk_window_move_resize): Don't request
1905         a new size from the WM if we asked for the same size
1906         before and our request was rejected.
1907
1908         * gtk/gtkwindow.c (gtk_window_configure_event): If
1909         in response to a request, we get a configure event
1910         with unchanged dimensions, send a synthetic expose
1911         since ForgetGravity won't expose our window.
1912
1913 Mon Sep 14 14:28:24 1998  Owen Taylor  <otaylor@redhat.com>
1914
1915         * gtk/gtktext.c (adjust_adj): Change the way we
1916         set the adjustments on resize so that it tries to
1917         keep the beginning of the text in approximately
1918         the same place. 
1919
1920         Removed assertion that the above change made invalid.
1921
1922 Thu Sep 10 22:19:35 1998  Owen Taylor  <otaylor@redhat.com>
1923
1924         * gtk/gtktext.c: - Save first_cut_pixels when switching
1925         sizes, so that if we switch to the _same_ size,
1926         we don't move lines around.
1927
1928         - Make sure that the text area always has a size of at
1929         least 1x1, then do all computations when realized.
1930
1931         - When fetching lines in recompute_geometry, make
1932         sure we fetch enough lines to cover the screen.
1933         
1934 Mon Sep 14 21:47:35 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
1935
1936         * gdk/gdkimage.c: changed g_new()s to malloc()s and 
1937           g_free()s to free()s to avoid mixing g_new()s with 
1938           free()s.  X itself uses free() on some of the 
1939           malloced memory.
1940
1941 Sat Sep 12 10:44:06 1998  Owen Taylor  <otaylor@redhat.com>
1942
1943         * gtkfilesel.c: Maintain a list of directories like
1944         /afs we know contain only directories, and avoid
1945         stat'ing files in those directories. (Because
1946         stat'ing all files in /afs is extremely expensive)
1947
1948         To support automounters, try to open directories,
1949         even if we couldn't find them when reading their
1950         parent directory.
1951
1952 Thu Sep  3 10:29:03 1998  Owen Taylor  <otaylor@redhat.com>
1953
1954         * gtk.m4: Conditionalize check for GTK_MAJOR_VERSION,
1955         to allow the same gtk.m4 to work for 1.0.x and
1956         1.1.x.
1957
1958 Fri Sep 11 15:25:10 1998  Lars Hamann  <lars@gtk.org>
1959
1960         * gtk/gtkclist.c (gtk_clist_set_selectable): new function
1961         to set/unset the selectable flag of a single row.
1962         (gtk_clist_get_selectable): new function 
1963         to get the state of the selectable flag
1964
1965         * gtk/gtkctree.c (gtk_ctree_node_set_selectable)
1966         (gtk_ctree_node_get_selectable): clist analogons
1967         
1968 Thu Sep 10 17:04:03 1998  Raph Levien  <raph@gimp.org>
1969
1970         * gtk/testrgb.c (testrgb_rgb_test): Small changes to the test
1971         pattern.
1972
1973         * gdk/gdkrgb.c (gdk_rgb_convert_gray4_pack): Fixed some alignment
1974         bugs in the 4bit gray cases.
1975
1976 Wed Sep  9 02:48:44 PDT 1998 Manish Singh <yosh@gimp.org>
1977
1978         * configure.in: added -posix check for NeXTStep
1979
1980         * gtk/testthreads.c: applied part of gtk-joke-980907-0 to use
1981         a unique buffer for each thread.
1982
1983         * docs/gtk-config.1: clarified copyright
1984
1985 Tue Sep  8 05:19:51 1998  Tim Janik  <timj@gtk.org>
1986
1987         * gdk/gdk.c (gdk_init): use g_atexit() instead of ATEXIT.
1988
1989         * gtk/gtkmain.c (gtk_init): use g_atexit() instead of ATEXIT.
1990
1991         * gtk/gtkobject.c (gtk_object_init_type): use g_atexit() instead of
1992         ATEXIT.
1993         
1994         * ltconfig: use GLib's ltconfig which honours lcc.
1995
1996 Mon Sep  7 20:09:23 PDT 1998 Manish Singh <yosh@gimp.org>
1997
1998         * configure.in: comment the -std1 check and save LIBS properly
1999
2000 Sun Sep  6 12:36:23 PDT 1998 Manish Singh <yosh@gimp.org>
2001
2002         * gtk/testrgb.c: #include <stdlib.h>
2003
2004 Sat Sep  5 16:01:19 1998  Owen Taylor  <otaylor@gtk.org>
2005
2006         * gdk/gdkinputxfree.h gdk/gdk.c gdk/gdkinputgxi.h:
2007         When the pointer is grabbed on an input window,
2008         either explicitely, or through press-grab, and
2009         then grabbed on a non-input window, ungrab the
2010         devices.
2011
2012 Sat Sep  5 07:13:19 1998  Tim Janik  <timj@gtk.org>
2013
2014         * gtk/gtktypeutils.h: don't include any gdk headers.
2015         added structure definitions for GtkTypeObject and GtkTypeClass,
2016         which cover the very basic fields of GtkObject and GtkObjectClass,
2017         which are actually used by the type system.
2018         
2019         * gtk/gtktypeutils.c: don't include gtkobject.h or gtkcontainer.h,
2020         we only refer to our own structures. improved class inheritance
2021         sanity checking a bit.
2022
2023         * gtk/gtkobject.h: placed appropriate comments at the beginnings
2024         of the GtkObject and GtkObjectClass structures, which explain
2025         their relationship to GtkTypeObject and GtkTypeClass.
2026
2027         * gtk/gtktypeutils.h:
2028         * gtk/gtkobject.h:
2029         moved GTK_STRUCT_OFFSET(), GTK_CHECK_CAST(), GTK_CHECK_CLASS_CAST(),
2030         GTK_CHECK_TYPE() and GTK_CHECK_CLASS_TYPE() macro definitions from
2031         gtkobject.h to gtktypeutils.h.
2032
2033         * gtk/gtkobject.h:
2034         * gtk/gtkobject.c:
2035         removed gtk_object_check_cast() and gtk_object_check_class_cast()
2036         functions. to keep source compatibility, we can provide macro aliases
2037         for the corresponding gtk_type_* functions. but then again, people
2038         shouldn't have been using these functions anyways since they were part
2039         of Gtk's internal API.
2040
2041         * gtk/gtktypeutils.h:
2042         * gtk/gtktypeutils.c:
2043         implemented gtk_type_check_object_cast() and gtk_type_check_class_cast()
2044         functions to check GtkTypeObject and GtkTypeClass types.
2045
2046 Thu Sep  3 07:16:54 1998  Tim Janik  <timj@gtk.org>
2047
2048         * gtk/gtkctree.h:
2049         * gtk/gtkctree.c: `const' fixups.
2050
2051         * gtk/gtkclist.h:
2052         * gtk/gtkclist.c: `const' fixups and some coding style adaptions.
2053
2054         * gtk/gtkctree.c (gtk_ctree_insert_node): don't dereference *text
2055         if it is passed as NULL.
2056
2057 Wed Sep  2 22:41:40 1998  Raph Levien  <raph@gimp.org>
2058
2059         * gdk/gdkrgb.c (gdk_rgb_select_conv): Fixed 32bpp image depth
2060         big-endian cases. Added a 4bpp packed gray mode (somewhat
2061         incorrectly hardwired to MSB), which should take care of
2062         Stric's hardware.
2063
2064 Thu Sep  3 04:45:57 1998  Tim Janik  <timj@gtk.org>
2065
2066         * gtk/gtkaccelgroup.c (gtk_accel_group_add): plug another small
2067         GtkSIgnalQuery leak.
2068
2069 Thu Sep  3 04:22:20 1998  Tim Janik  <timj@gtk.org>
2070
2071         * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current):
2072         GTK_MENU_DIR_CHILD: check for the existance of
2073         menu_shell->active_menu_item before accessing its child.
2074         GTK_MENU_DIR_PREV:
2075         GTK_MENU_DIR_NEXT: if we haven't had an active item and still
2076         don't, make a default selection.
2077
2078 Wed Sep  2 00:28:58 1998  Tim Janik  <timj@gtk.org>
2079
2080         * gtk/gtkwidget.c (gtk_widget_propagate_state): iterate
2081         the children with _forall for sensitivity changes and with
2082         _foreach on pure state changes. this fixes a lot of the
2083         old inclusions of internal widgets into _foreach calls.
2084
2085         * gtk/gtktree.c: removed gtk_tree_foreach, let gtk_tree_forall
2086         do the work. don't walk the subtrees of first level children.
2087
2088         * gtk/gtktreeitem.c: provide a _forall implementation,
2089         which walks the subtrees as well for include_internals.
2090
2091         * gtk/gtkmenuitem.c: provide a _forall implementation, which walks
2092         the submenus as well for include_internals.
2093
2094         * gtk/gtkscrolledwindow.c: removed gtk_scrolled_window_foreach and
2095         implemented gtk_scrolled_window_forall, which will iterate over
2096         the viewport and the scrollbars for gtk_container_forall or
2097         iterate over the viewports children for gtk_container_foreach.
2098
2099         * gtk/gtktoolbar.c: 
2100         * gtk/gtktable.c: 
2101         * gtk/gtkpaned.c:
2102         * gtk/gtkpacker.c:
2103         * gtk/gtkmenushell.c: 
2104         * gtk/gtklist.c: 
2105         * gtk/gtkfixed.c:
2106         * gtk/gtkclist.c:
2107         * gtk/gtkbox.c: 
2108         * gtk/gtkbin.c: 
2109         * gtk/gtknotebook.c:
2110         removed the old gtk_*_foreach functions and provided gtk_*_forall.
2111
2112         * gtk/gtknotebook.c:
2113         (gtk_notebook_real_switch_page): expose tabs.
2114         (gtk_notebook_page_num): new function to return the page number
2115         of a distinct child.
2116         (gtk_notebook_focus): minor fixups. foxus handling is still screwed
2117         under some circumstances.
2118
2119         * gtk/gtktreeitem.c:
2120         (gtk_real_tree_item_select):
2121         (gtk_real_tree_item_deselect): major fixes.
2122         some general fixups wrt queue_redraw, and tree items not being
2123         NO_WINDOW widgets.
2124
2125         * gtk/gtklistitem.c:
2126         (gtk_real_list_item_select): 
2127         (gtk_real_list_item_deselect): 
2128         (gtk_real_list_item_toggle): 
2129         removed unneccessary queue_redraw calls.
2130
2131 Wed Aug 30 09:42:07 1998  Tim Janik  <timj@gtk.org>
2132
2133         * gtk/gtkoptionmenu.c: allow optionmenus to have the focus and
2134         automatically popup the menu on space bar.
2135
2136 Wed Aug 26 06:40:34 1998  Tim Janik  <timj@gtk.org>
2137
2138         * gtk/gtkcontainer.h:
2139         * gtk/gtkcontainer.c: implemented gtk_container_forall() (as a class
2140         method), which acts similar to gtk_container_foreach(), but iterates
2141         over internal children. the GtkContainer::foreach signal vanished in
2142         favour of a new class method ->forall() that optionally includes
2143         internal widgets.
2144
2145         * gtk/gtkclist.c (gtk_clist_init): provide no _foreach implementation
2146         but a _forall implementation, since all child widgets we have are
2147         internal ones.
2148         (column_button_create): set the parent window prior
2149         to gtk_widget_set_parent().
2150
2151         * gtk/gtkwidget.c:
2152         exchanged all calls to gtk_container_foreach() with
2153         gtk_container_forall().
2154
2155         * gtk/gtkwidget.h: 
2156         * gtk/gtkwidget.c: added the GTK_COMPOSITE_CHILD, exported through
2157         the GtkWidget::composite_child argument. to have a widget created
2158         with the flag initially, two new functions got added to wrap a widgets
2159         creation:
2160         gtk_widget_push_composite_flag() and gtk_widget_pop_composite_flag().
2161
2162 Wed Aug 25 23:37:39 1998  Tim Janik  <timj@gtk.org>
2163
2164         * gtk/gtktooltips.h:
2165         * gtk/gtktooltips.c: exported gtk_tooltips_create_window() as
2166         gtk_tooltips_force_window(), so tooltips->tip_window can be accessed
2167         prior to the first tip being set.
2168         don't put an extra reference on the window, since it is a toplevel,
2169         it wont get destroyed from anywhere else.
2170
2171         * overall macro and GtkType fixups.
2172
2173 1998-09-02  Federico Mena Quintero  <federico@nuclecu.unam.mx>
2174
2175         * gtk/gtkcolorsel.c: Replaced "foo == TRUE" and "foo == FALSE"
2176         constructs by more forgiving ones.  (Does anyone else feel like
2177         the color selector need rewriting?).
2178
2179 Tue Sep  1 10:53:52 1998  Owen Taylor  <otaylor@redhat.com>
2180
2181         * gtk/gtkprogress.c (gtk_progress_finalize): Unref
2182         the adjustment.
2183
2184         * gtk/gtkmenu.c: Modified reference counting so
2185         that the reference count from the toplevel that
2186         the menu creates to the menu is invisible to the
2187         application.
2188
2189 Mon Aug 31 21:36:31 1998  Raph Levien  <raph@gimp.org>
2190
2191         * gdk/gdkrgb.c (gdk_rgb_select_conv): Improved the 24bpp
2192         conversion selection logic, so Suns and other big-endian
2193         machines should get faster conv routines. This is also the
2194         point where 4bpp gray and 1bpp are checked in, although I
2195         wouldn't be surprised if 1bpp is a little buggy. This is
2196         synchronized with the 0.0.7 release of GdkRgb.
2197
2198         * gtk/Makefile.am: 
2199         * gtk/testrgb.c: Checked in testrgb.c to CVS, and made the
2200         appropriate change to the Makefile.am
2201
2202 Mon Aug 31 15:18:19 1998  Raph Levien  <raph@gimp.org>
2203
2204         * gdk/gdkrgb.[ch]: Added a gdk_draw_rgb_image_dithalign function,
2205         which is good for images that scroll (makes the dither patterns
2206         align correctly)
2207
2208 Sat Aug 29 14:50:56 PDT 1998 Manish Singh <yosh@gimp.org>
2209
2210         * gdk/gdkcolor.c:
2211         (gdk_colormap_new) (gdk_colormap_get_system):
2212         quell some warnings with g_hash_table_new
2213
2214         * gtk/gtkaccelgroup.c (gtk_accel_group_add): free the GtkSignalQuery
2215         when we're done with it
2216
2217         * gtk/itemfactory.c:
2218         (gtk_item_factory_from_path):
2219         (gtk_item_factory_create_item): free some strings
2220
2221         * gtk/gtklabel.c:
2222         (gtk_label_finalize): free label->pattern when done
2223         (gtk_label_parse_uline): null terminate pattern string, delete
2224         some duplicated code
2225
2226         * gtk/testthreads.c: add #include <unistd.h> for sleep()
2227
2228 Tue Aug 25 16:52:47 1998  Owen Taylor  <otaylor@redhat.com>
2229
2230         * gtk/gtktext.c (recompute_geometry): Make sure the
2231         mark we pass to line start is the beginning of a 
2232         real line, not a wrapped one.
2233
2234 Mon Aug 24 18:37:15 1998  Owen Taylor  <otaylor@redhat.com>
2235
2236         * gtk/gtktext.c: Reference count the fonts used in
2237         the text widget.
2238
2239         * gdk/gdk.h gdk/gdkcolor.c: Rename the color allocation
2240         freeing functions to be more consistent, and more 
2241         convenient; leave the old names in for backwards compatibility.
2242
2243         * gdk/gdkcolor.c gdk/gdkprivate.h: Reference count the
2244         allocations in pseudo-color colormaps to greatly reduce
2245         calls to XAllocColor. Keep a per-colormap hashtable to
2246         speed up finding if there is an already-allocated matching
2247         color.
2248
2249         * gdk/gdkcolor.c: Don't just match read the system colormap
2250         when the colormap is created, but synchronize our copy
2251         with the system colormap periodically.
2252         
2253         * gdk/gdk.c gdk/gdktypes.h gtk/gtkentry.c gtk/gtktext.c: 
2254         Change XIM constants names to match GDK conventions
2255
2256         * gtk/testinput.c: Allow the drawing area to get the focus.
2257
2258         * gtk/testgtk.c: Change around the Text test to demonstrates
2259         multiple fonts, use more colors.
2260
2261         * gtk/gtkwidget.c: Improve gtk_widget_get_colormap()/visual()
2262         so they work after a widget is unrealized.
2263
2264         * gtk/gtktext.[ch]: Remove the requirement that the text
2265         widget be realized before adding text (!) Allocate colors
2266         ourself, instead of requiring the caller allocate them.
2267         Allow changing styles to work properly by keeping track
2268         of the values for a certain property are default or
2269         set explicitely.
2270
2271         * gtk/gtkmenu.h: Added some comments.
2272
2273         * gtk/gtkentry.c: Changes to match XIM constants.
2274
2275         * gtk/gdk.h gdk/gdkwindow.c: Add gdk_drawable_set_data(),
2276         for adding keyed data to drawables. (Uses g_dataset
2277         internally)
2278
2279         * gdk/gdkpixmap.c: Keep track of the colors we allocate,
2280         when creating an XPM - store them as user data for the GdkPixmap,
2281         so we don't leak colors when we create pixmaps from XPM's.
2282
2283         Allocate memory for color information in large blocks instead of 
2284         as many little pieces.
2285         
2286 Mon Aug 24 11:09:32 PDT 1998 Manish Singh <yosh@gimp.org>
2287
2288         * gdk/gdkrgb.c: removed some unused variables
2289
2290         * gtk/gtkclist.c
2291         * gtk/gtkmain.c: #if 0'd out some unused code
2292
2293         * gtk/gtkobject.c: check for NULL object hash table in gtk_object_debug
2294
2295 Mon Aug 24 02:36:53 1998  Tim Janik  <timj@gtk.org>
2296
2297         * gtk/gtkarg.h:
2298         * gtk/gtkarg.c:
2299         * gtk/gtkwidget.h: 
2300         * gtk/gtkwidget.c: 
2301         * gtk/gtkobject.h:
2302         * gtk/gtkobject.c:
2303         * gtk/gtkcontainer.h: 
2304         * gtk/gtkcontainer.c: 
2305         (gtk_object_new):
2306         (gtk_object_set):
2307         (gtk_widget_new):
2308         (gtk_widget_set): 
2309         (gtk_container_add_with_args):
2310         (gtk_container_child_set):
2311         begin the parameter elipsis (...) after the first argument name. this
2312         change is source compatible, since it was always required, even as NULL.
2313         (gtk_args_collect): 
2314         (gtk_object_args_collect): 
2315         (gtk_container_child_args_collect):
2316         changed prototypes to pass first_arg_name, also, pass va_list variable
2317         by value (portability concerns). callers changed.
2318
2319         * gtk/gtkargcollector.c: implemented gtk_arg_collect_value() as
2320         a huge macro GTK_ARG_COLLECT_VALUE() <shrug>. this is needed because we
2321         can't pass va_list variables by reference for portability reasons.
2322
2323 Fri Aug 21 22:40:00  Raph Levien  <raph@gtk.org>
2324
2325         * gdk/gdkrgb.c: added calls to gdk_rgb_init in the get_cmap and
2326         get_visual calls, so that it gets implicitly initialized.
2327
2328 Fri Aug 21 13:06:04 1998  Stuart Parmenter  <pavlov@gimp.org>
2329         * gtk/gtkfeatures.h.in:  added GTK_HAVE_FEATURES_1_1_2 for changes
2330         such as GtkCTree function name changes
2331         
2332 Fri Aug 21 02:31:26 1998  Tim Janik  <timj@gtk.org>
2333
2334         * gtk/gtkmain.h:
2335         * gtk/gtkmain.c (gtk_check_version): added a function to perform a
2336         binary version check, returning a static string for error descriptions,
2337         or NULL on success.
2338
2339 Thu Aug 20 20:08:15 1998  Owen Taylor  <otaylor@redhat.com>
2340
2341         * gtk/gtktext.c ([un]draw_cursor): Check to see if we've
2342         computed our geometry yet, and if not, ignore the request.
2343
2344         * gtk/gtktext.c (correct_cache_insert): Fiddled around
2345         some more. All the bug-test codes seem to work at once
2346         now. (fingers crossed...)
2347
2348 Thu Aug 20 13:04:08 PDT 1998 Manish Singh <yosh@gimp.org>
2349
2350         * gdk/gdkrgb.c: silly visual fixes
2351
2352         * gtk/testgtk.c: call gdk_rgb_init so color preview test actually
2353         works
2354
2355 1998-08-20  Federico Mena Quintero  <federico@nuclecu.unam.mx>
2356
2357         * gtk/gtkhandlebox.c (gtk_handle_box_button_changed): Do not do
2358         anything if the event's window is not the bin window.
2359         (gtk_handle_box_motion): Likewise.
2360
2361 1998-08-19  Raph Levien  <raph@gimp.org>
2362
2363         * gtk/testgtk.c (create_color_preview): pushed the colormap and
2364         visual so it would work better with GdkRgb.
2365
2366 1998-08-19  Raph Levien  <raph@gimp.org>
2367
2368         * gdk/gdkrgb.c: fixed some bugs in the 565_d mode, and added a
2369         4bpp static_color mode (for vga displays). Also fixed a '64' value
2370         in the dither matrix, which was causing one pixel out of 16k to be
2371         dithered wrong.
2372
2373         * gtk/gtkpreview.{c,h}: Changed it to work with GdkRgb, gutting
2374         most of the contents. This is an API change - any apps that relied
2375         on the internal structure of GtkPreview will need some change -
2376         most notably in the use of reserved colors. The Gimp needed
2377         changes in this regard.
2378
2379 Wed Aug 19 00:11:14 1998  Tim Janik  <timj@gtk.org>
2380
2381         * gtk/gtkmain.c (gtk_init): allow argument parsing in gtk without
2382         G_ENABLE_DEBUG being defined (specifically --gtk-module= and
2383         --g-fatal-warnings), noticed by miguel.
2384
2385 Tue Aug 18 17:54:40 1998  Tim Janik  <timj@gtk.org>
2386
2387         * gtk/gtkrc.c (gtk_rc_parse_file): use g_get_current_dir() instead of
2388         getcwd().
2389
2390         * gdk/gdkprivate.h:
2391         * gdk/gdkglobals.c:
2392         * gdk/gdkwindow.c:
2393         * gdk/gdk.c:
2394         * gtk/gtkwindow.c: 
2395         * gtk/gtkitemfactory.c: 
2396         dropped gdk_progname, use g_get_prgname()/g_set_prgname() instead.
2397
2398         * gtk/gtkselection.c:
2399         * gtk/gtkpreview.c:
2400         * gtk/gtkobject.c: 
2401         * gtk/gtkmain.c: 
2402         * gtk/gtktypeutils.c: indentation fixes due to g_message() use.
2403
2404         * gdk/gdkrgb.c: exchanged occourances of g_print with g_message.
2405
2406 Tue Aug 18 17:22:22 1998  Lars Hamann  <lars@gtk.org>
2407
2408         * gtk/gtknotebook.c (gtk_notebook_switch_focus_tab): 
2409         * gtk/gtknotebook.c (gtk_notebook_update_labels): fix for sigsegv
2410         in case of show_tabs == NULL
2411
2412 Tue Aug 18 03:54:43 1998  Tim Janik  <timj@gtk.org>
2413
2414         * gtk/gtkmain.c (gtk_init): restricted the --g*fatal-* arguments
2415         to --g-fatal-warnings again. this option now causes log levels of
2416         WARNING and CRITICAL to abort().
2417
2418         * gdk/gdk.c: 
2419         * gdk/gdkdnd.c: 
2420         * gdk/gdkcc.c: 
2421         * gdk/gdkfont.c: 
2422         * gdk/gdkwindow.c:
2423         * gdk/gdkvisual.c:
2424         * gtk/gtkwidget.c:
2425         * gtk/gtktypeutils.c:
2426         * gtk/gtktree.c:
2427         * gtk/gtkfontsel.c:
2428         * gtk/gtkmain.c:
2429         * gtk/gtkobject.c:
2430         * gtk/gtkpreview.c:
2431         * gtk/gtkselection.c:
2432         * gtk/gtktext.c:
2433         * gtk/gtktree.c:
2434         * gtk/gtktreeitem.c:
2435         did a global search&replace to substitute g_print() calls with
2436         g_message(). libraries shouldn't use printf(), g_print() or
2437         g_printerr() at all.
2438         a bunch of the replacements should probably be wrapped into the
2439         G{D|T}K_NOTE() macros, so they are special cased for debugging
2440         purposes in a sane way, avoiding all the nasty #ifdef DEBUG_MY_TEDDY
2441         things.
2442
2443         * gdk/gdkdnd.c: added copyright notice.
2444
2445 Mon Aug 17 17:28:00  Raph Levien  <raph@gtk.org>
2446
2447         * gdk/gdkrgb.c: Further speedups of the 565_d case. It's
2448         impressively fast now - about 4.65 Mpix/s on an IBM TP 600
2449         running a PII 233. It's synced with the 0.0.5 release of
2450         GdkRgb.
2451
2452 Tue Aug 18 00:29:13 1998  Lars Hamann  <lars@gtk.org>
2453
2454         * gtk/gtkclist.h:
2455         (struct _GtkCListClass): new class methods:
2456         (sort_list) (insert_row) (remove_row) (set_cell_contents)
2457
2458         * gtk/gtkclist.c :
2459         (cell_empty) (cell_set_text) (cell_set_pixmap) (cell_set_pixtext):
2460         removed and replaced by (set_cell_contents)
2461         (set_cell_contents): function for class method set_cell_contents
2462         (real_insert_row): function for class method insert_row
2463         (real_remoce_row): function for class method remove_row
2464         (real_sort_list): function for class method sort_list
2465         (default_compare): fix to avoid problems with cell types != CELL_TEXT
2466
2467         * gtk/gtkctree.h :
2468         (gtk_ctree_export_to_gnode): new function to export a ctree as gnode 
2469         (gtk_ctree_node_is_visible): new function to return visibility state
2470         of a node
2471         (gtk_ctree_show_stub): new function to set visibility of root stub
2472
2473         renamed functions :
2474         (gtk_ctree_insert) -> (gtk_ctree_insert_node)
2475         (gtk_ctree_remove) -> (gtk_ctree_remove_node)
2476         (gtk_ctree_find_glist_ptr) -> (gtk_ctree_find_node_ptr)
2477         (gtk_ctree_set_text) -> (gtk_ctree_node_set_text)
2478         (gtk_ctree_set_pixmap) -> (gtk_ctree_node_set_pixmap)
2479         (gtk_ctree_set_pixtext) -> (gtk_ctree_node_set_pixtext)
2480         (gtk_ctree_set_shift) -> (gtk_ctree_node_set_shift)
2481         (gtk_ctree_get_cell_type) -> (gtk_ctree_node_get_cell_type)
2482         (gtk_ctree_get_text) -> (gtk_ctree_node_get_text)
2483         (gtk_ctree_get_pixmap) -> (gtk_ctree_node_get_pixmap)
2484         (gtk_ctree_get_pixtext) -> (gtk_ctree_node_get_pixtext)
2485         (gtk_ctree_set_foreground) -> (gtk_ctree_node_set_foreground)
2486         (gtk_ctree_set_background) -> (gtk_ctree_node_set_background)
2487         (gtk_ctree_set_row_data) -> (gtk_ctree_node_set_row_data)
2488         (gtk_ctree_set_row_data_full) -> (gtk_ctree_node_set_row_data_full)
2489         (gtk_ctree_get_row_data) -> (gtk_ctree_node_get_row_data)
2490         (gtk_ctree_moveto) -> (gtk_ctree_node_moveto)
2491         (gtk_ctree_sort) -> (gtk_ctree_sort_node)
2492         (gtk_ctree_is_visibe) -> (gtk_ctree_is_viewable)
2493
2494         * gtk/gtkctree.c :
2495         (cell_empty) (cell_set_text) (cell_set_pixmap) (cell_set_pixtext):
2496         removed and replaced by (set_cell_contents)
2497         (set_cell_contents): function for class method set_cell_contents
2498         (real_insert_row): function for class method insert_row
2499         (real_remoce_row): function for class method remove_row
2500         (real_sort_list): function for class method sort_list
2501         (default_compare): removed. CTree now also compares two GtkCTreeRows
2502         instead of two GtkCTreeNodes.
2503         (gtk_ctree_unlink): call gtk_ctree_collapse if parent is empty after
2504         unlinking the node
2505         (real_tree_expand) (real_tree_collapse): fix for refcounting of
2506         node pixmaps
2507         (set_node_info): call gtk_ctree_node_set_pixtext instead of
2508         manipulating the row itself
2509         
2510         * gtk/testgtk.c: use renamed functions of GtkCTree.
2511         new sample to show gtk_ctree_export_to_gnode and gtk_ctree_insert_gnode
2512         at work.
2513
2514 Mon Aug 17 15:31:38 1998  Tim Janik  <timj@gtk.org>
2515
2516         * gtk/gtkmain.c: removed gtk_input_add_interp.
2517
2518         * gtk/gtkeditable.c (gtk_editable_set_position): fixed bogus "return"
2519         keyword.
2520         (gtk_editable_get_event_time): fix default: case.
2521
2522         * gtk/gtkclist.c (gtk_clist_swap_rows): fixes for lvalue casts.
2523
2524         * gdk/gdkpixmap.c: made a bunch of unexported functions static.
2525
2526         * gdk/gdkcolor.c:
2527         * gdk/gdkvisual.c: include "gdkx.h", since it exports prototypes
2528         of our functions.
2529
2530         * various minor compilation cleanups, such as bogus commas in
2531         enums and similar things.
2532
2533 Mon Aug 17 07:47:43 1998  Tim Janik  <timj@gtk.org>
2534
2535         * gtk/gtkmain.c (gtk_init): NULL terminate the arg list to g_strconcat()
2536         (thanx raph).
2537
2538 Sun Aug 16 23:14:20 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
2539
2540         * NEWS: updated for 1.1.2
2541         * gtk+.spec: version = 1.1.2
2542
2543 Mon Aug 17 05:10:29 1998  Tim Janik  <timj@gtk.org>
2544
2545         * gtk/gtkmain.c (gtk_init): don't call module initializers multiple
2546         times. changed --gtk-with-module to --gtk-module at owen's request.
2547
2548 Mon Aug 17 03:47:55 1998  Tim Janik  <timj@gtk.org>
2549
2550         * gtk/gtkmain.c (gtk_init): feature a new commandline option
2551         --gtk-with-module=<module> that allows additional loading and
2552         initialization of modules (e.g. GLE).
2553
2554 Mon Aug 17 01:40:00 1998  Tim Janik  <timj@gtk.org>
2555
2556         * configure.in: version bump to 1.1.2, binary age 0, interface age 0.
2557         pass "gmodule" to AM_PATH_GLIB, with that we require libgmodule.so now.
2558
2559         * gtk/gtkmain.c (gtk_init): since glib's g_return*_if_fail macros log
2560         with G_LOG_LEVEL_CRITICAL now, i added "--g-fatal-checks",
2561         "--gdk-fatal-checks" and "--gtk-fatal-checks". that makes up six
2562         different *-fatal-* arguments now. this needs to be revised and
2563         compressed to a reasonable amount of arguments.
2564
2565 Sun Aug 16 20:51:59 1998  Tim Janik  <timj@gtk.org>
2566
2567         * gtk/gtkmain.c (gtk_init): fatal warning option is split up now,
2568         "--g-fatal-warnings" causes fatal warnings in GLib,
2569         "--gdk-fatal-warnings" causes fatal warnings in Gdk,
2570         "--gtk-fatal-warnings" causes fatal warnings in Gtk.
2571
2572         * gtk/Makefile.am: define G_LOG_DOMAIN for gtk.
2573         * gdk/Makefile.am: define G_LOG_DOMAIN for gdk.
2574
2575         * gtk/testgtk.c: 
2576         * gdk/gxid.c:
2577         we need ugly #undef G_LOG_DOMAIN at the start of these files currently,
2578         since automake doesn't support per target _CFLAGS yet.
2579
2580         * configure.in: require GLib 1.1.3.
2581
2582 Sat Aug 15 03:19:30 1998  John Ellis  <johne@bellatlantic.net>
2583
2584         * gtk/gtkctree.[ch] (gtk_ctree_set_drag_compare_func): New function
2585         to set a callback to test if a node in drag can be dropped onto
2586         it's currrent location.
2587         * gtk/gtkctree.c (set_mouse_cursor),(check_cursor): New functions
2588         to change the pointer when a drag destination is not allowed.
2589
2590 Thu Aug 13 21:06:00 1998  Raph Levien  <raph@gtk.org>
2591
2592         * gdk/gdkrgb.c: committing a patch by Ray Lehtiniemi that
2593         speeds up the 565_d case by about 25% total. Thanks Ray!
2594
2595 Thu Aug 13 16:47:44 1998  Owen Taylor  <otaylor@redhat.com>
2596
2597         * Changed GtkSignalFunc back to () from (void). (again!)
2598
2599         * Added file README.cvs-commits
2600         
2601 Thu Aug 13 09:11:11 BST 1998  Tony Gale  <gale@gtk.org>
2602
2603         * docs/gtk_tut.sgml:
2604           - Tidy up of the menufactory example from
2605             Andy Kahn <kahn@zk3.dec.com>
2606           - New section on Range Widgets from
2607             David Huggins-Daines <bn711@freenet.carleton.ca>
2608           - Started a new section on 'Advanced Event and Signal
2609             Handling' - used an email from Owen.
2610           - New appendix on Gdk Event Types
2611           - Added the tictactoe full example code to the
2612             'Code Examples' appendix
2613
2614 Tue Jul 21 12:42:01 1998  Owen Taylor  <otaylor@redhat.com>
2615
2616         * gdk/gdk.h gdk/gdkfont.c: Added gdk_text/string_extents() - 
2617           to calculate all the metrics at once of a string, including
2618           things which weren't calculated before.
2619
2620         * gtk/Makefile.am gtk/gtk.h gtk/gtktearoffmenu.[ch]: New
2621           MenuItem type, that when put as the first thing in a
2622           menu, makes the menu tearoff. Currently drawn as a
2623           dashed line.
2624
2625         * gtk/gtkmenuitem.h gtk/gtkcheckmenuitem.c: Added a flag
2626           "hide_on_activate" to the MenuItem class structure to allow
2627           check and radio buttons to be changed with <Space> without
2628           hiding the menu.
2629
2630         * gtk/gtkitemfactory.c: 
2631           - Create a AccelGroup for each MenuShell we create.
2632           - If an '_' appears before a  character 'c' in the path,
2633             then make 'c' an accelerator in the menu's accel group,
2634             and if the menuitem is menubar <alt>C an accelerator 
2635             in the itemfactory's accel group. Double '__' inserts
2636             a literal '_'
2637
2638         * gtk/gtklabel.[ch]: Add support for a pattern arg - 
2639           which is a string. If an '_' appears in this string,
2640           the corresponding position in the label is underlined.
2641
2642           Add gtk_label_parse_uline() convenience function which
2643           takes a string with embedded underlines, sets the
2644           pattern and label, and returns the accelerator keyval.
2645
2646         * gtk/gtkmenu.[ch]: Make menus no longer a toplevel widget.
2647           Instead, they create a GtkWindow and add themselves
2648           to that. (When torn off, another new feature, they
2649           create another GtkWindow to hold the torn off menu)
2650
2651           New function gtk_menu_set_tearoff_state()
2652         
2653         * gtk/gtkenums.h gtk/gtkmenushell.[ch] gtk/gtkenums.h: 
2654           Added action signals  for keyboard navigation of menus.
2655
2656         * gtk/gtkmenushell.c: Key press handler which activates
2657           bindings for navigation, and accelerators, for handling
2658           underline accelerators. Exported functions to select 
2659           and activate menu items in a menushell.
2660
2661         * gtk/testgtk.c: Added a new "Item Factory" test which
2662           tests GtkItemFactory and the new keyboard navigation
2663           of menus.
2664
2665 Tue Aug 11 20:52:58 1998  Tim Janik  <timj@gtk.org>
2666
2667         * gtk/gtktypeutils.c (gtk_type_class_init): relookup nodes after
2668         external functions have been called. also relookup nodes after
2669         this function has been invoked.
2670
2671 Tue Aug 11 15:04:52 1998  Owen Taylor  <otaylor@redhat.com>
2672
2673         * gtk/gtktext.[ch]: Removed has_cursor, set the cursor
2674           beginning of Text when creating the Text widget.
2675
2676         * gtk/testgtk.c: Grab the focus on the text widget so
2677           as to test out the above.
2678
2679 Tue Aug 11 14:55:00 1998  Owen Taylor  <otaylor@redhat.com>
2680
2681         * gtk/gtkeditable.c: Reverted part of timj's change of Jul 16. 
2682           ::changed is a notification signal and should have no default
2683           handler. A complete redraw of the Text widget does _not_ need to
2684           be done on every text insertion.
2685
2686 Tue Aug 11 13:07:29 1998  Owen Taylor  <otaylor@redhat.com>
2687         (gtk-abilleira-072198-patch)
2688
2689         * gtk/gtkwindow.[ch]: 
2690           Add gtk_window_set_modal() which sets a flag; when
2691           set the window does a gtk_grab_add() when the window
2692           is shown, and a gtk_grab_remove() when the window
2693           is hidden. 
2694
2695         * gtk/gtkfilesel.[ch]: Test if it is running in modal form and in
2696           that case will run "Create Dir","Delete File" and "Rename File" 
2697           dialogs as modal too.
2698
2699         * gtk/testgtk.c: Added a button with an example of creating modal 
2700           dialog boxes. Including file selection and color selection standard
2701           dialogs.
2702         
2703 Tue Aug 11 00:44:47 1998  Owen Taylor  <otaylor@redhat.com>
2704
2705         * gtk/gtkhscrollbar.c gtk/gtkvscrollbar.c gtk/gtktoolbar.c:
2706           Removed CAN_FOCUS by default from scrollbars, button
2707           children of toolbar. (But not GTK_TOOLBAR_CHILD_WIDGET children)
2708           (Scrollbar definitely good change, toolbar bit more questionable)
2709
2710 Tue Aug 11 17:49:33 1998  Tim Janik  <timj@gtk.org>
2711
2712         * examples/packbox/packbox.c: #include fixes (reported by Asbjoern
2713         Pettersen).
2714
2715 Tue Aug 11 00:35:56 1998  Owen Taylor  <otaylor@redhat.com>
2716
2717         * gdk/gdkgc.c gdk/gdktypes.h: Applied gtk-pedersen-980727-0; 
2718           added all logical operations to gc->function.
2719
2720 Sun Aug  9 23:31:59 1998  Lars Hamann  <lars@gtk.org>
2721
2722         * gtk/gtkclist.c (adjust_scrollbars): Fix for resize bug. Call
2723         gtk_widget_size_allocate instead of gtk_widget_queue_resize
2724         if the visibility state of a scrollbar changes.
2725
2726 Mon Aug 10 12:49:54 1998  Tim Janik  <timj@gtk.org>
2727
2728         * gtk/gtkhbbox.h: fixed an #include statement (reported by Eric Kidd).
2729
2730 Thu Aug  6 22:37:21 1998  Stefan Jeske  <stefan@gtk.org>
2731
2732         * gtk/gtkclist.c: Renamed my_merge and my_mergesort to
2733         gtk_clist_merge and gtk_clist_mergesort. :)
2734
2735 1998-08-06  Martin Baulig  <martin@home-of-linux.org>
2736
2737         * gtk/gtkclist.c: Renamed `merge' -> `my_merge' and
2738         `mergesort' -> `my_mergesort'.
2739
2740 Wed Aug  5 21:12:37 1998  Stefan Jeske  <stefan@gtk.org>
2741
2742         * gtk/gtkenums.h: new enum GtkSortType.
2743         
2744         * gtk/gtkclist.h:
2745         * gtk/gtkclist.c:
2746         Added sorting capabilities to GtkCList. New APIs :
2747         gtk_clist_set_compare_func, gtk_clist_set_sort_column,
2748         gtk_clist_set_sort_type, gtk_clist_sort, gtk_clist_set_auto_sort. 
2749         New internal functions : default_compare, merge, mergesort.
2750
2751         (gtk_clist_append): This is just a wrapper for gtk_clist_insert now.
2752         
2753         (gtk_clist_insert): Modified to handle gtk_clist_append and the
2754         auto sort flag. Changed the return value from void to gint to
2755         return the row number where the element was actually inserted.
2756
2757         (gtk_clist_swap_rows): Return immediately if auto sort flag is set.
2758         
2759         * gtk/gtkctree.h:
2760         * gtk/gtkctree.c:
2761         Removed the auto_sort flag, replaced ctree->node_compare with
2762         clist->compare all over the place, modified default_compare to
2763         match clist's needs. Removed API´s : gtk_ctree_set_auto_sort,
2764         gtk_ctree_set_compare_func. Removed GtkCTreeCompareFunc typedef.
2765
2766         * gtk/testgtk.c: Modified clist/ctree samples to demonstrate
2767         sorting. The lists can be sorted by a column by clicking the 
2768         corresponding title button.
2769         
2770 Tue Aug  4 22:02:49 PDT 1998 Shawn T. Amundson <amundson@gtk.org>
2771
2772         * Released GTK+ 1.1.1
2773
2774 Wed Aug  5 02:57:20 1998  Lars Hamann  <lars@gtk.org>
2775
2776         * gtk/gtkctree.h:
2777         * gtk/gtkctree.c:
2778         (gtk_ctree_find): changed to return a gboolean
2779         (gtk_ctree_insert_gnode): new function for recursive insertion of a
2780         GNode tree.
2781         (gtk_ctree_real_select_recursive): fix for extended selection
2782         (gtk_ctree_sort_recursive): in case node == NULL, sort root nodes too.
2783         (gtk_ctree_set_node_info) (set_node_info): few fixes for expanded flag
2784
2785 Tue Aug  4 16:18:26 1998  Tim Janik  <timj@gtk.org>
2786
2787         * configure.in: version bump to 1.1.1, binary age 0, interface age 0.
2788         GLib version 1.1.1 is now required at minimum.
2789
2790         * docs/Makefile.am: added gtk_tut_fr.sgml to EXTRA_DIST (french version
2791         of the Gtk+ tutorial, contributed by Eric Jacoboni <jaco@dotcom.fr>.
2792
2793 Mon Aug  3 19:24:48 1998  Owen Taylor  <otaylor@redhat.com>
2794  
2795         * gtk/gtktext.c (gtk_text_forward_delete): Undraw the
2796           cursor before (possibly) deleting the cursor's text
2797           property.
2798  
2799         * gtk/gtktext.c (correct_cache_delete): More attempts
2800           to clean the line-start cache up after inserting
2801           a property. Among other things, make sure to
2802           fix up text->current_line, since it is used to 
2803           refetch the changed lines.
2804  
2805 Tue Aug  4 10:59:19 1998  Owen Taylor  <otaylor@redhat.com>
2806
2807         * gtk/gtktable.[ch]: Empty rows/columns of the table
2808         should not have been marked as being able to shrink.
2809         (Fixes problem with shrinking scrollbarless GIMP canvases)
2810
2811 1998-08-03  Federico Mena Quintero  <federico@nuclecu.unam.mx>
2812
2813         * gtk/gtkctree.c (gtk_ctree_find_by_row_data_custom): New public
2814         function to find a row by its data pointer using a custom
2815         comparison function.
2816
2817 Sun Aug 02 22:58:00 1998  George Lebl  <jirka@5z.com>
2818
2819         * gtk/gtkclist.c: draw the buttons during a "draw" as well,
2820           this fixes a bug when the whole widget is made non-sesitive
2821           the buttons weren't redrawn
2822
2823 Mon Aug  3 00:04:09 1998  Lars Hamann  <lars@gtk.org>
2824
2825         * gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort
2826         * gtk/gtkclist.c (gtk_clist_key_press): removed a few unneeded lines
2827         * gtk/gtkcombo.c (gtk_combo_list_key_press): fixed compiler warning
2828
2829 Sun Aug  2 03:08:07 1998  Owen Taylor  <otaylor@gtk.org>
2830
2831         * gdk/gdkwindow.c (gdk_window_reparent): Change 
2832           window_private->parent pointer when reparenting.
2833
2834 Sat Aug  1 22:17:00 1998  Raph Levien  <raph@acm.org>
2835
2836         * gdk/gdkrgb.c: made some minor config changes to unify GdkRgb
2837         with the standalone release.
2838
2839 Fri Jul 31 20:45:07 1998  Lars Hamann  <lars@gtk.org>
2840
2841         * gtk/gtkclist.c (gtk_clist_button_press) (gtk_clist_motion)
2842         (gtk_clist_button_release) (new_column_width): Few fixes for
2843         column resize. Store resize column in clist->drag_pos.
2844
2845 Thu Jul 31 15:18:36 1998  Lars Hamann  <lars@gtk.org>
2846
2847         * gtk/gtkctree.h 
2848         * gtk/gtkctree.c 
2849         * gtk/testgtk.c : New typedef GtkCTreeNode, changed all GList *node
2850         to GtkCTreeNode *node.
2851
2852         * gtk/gtklist.h : added extended selection mode and auto scrolling.
2853         (struct _GtkList): removed unneeded variables timer, button,
2854         selection_start_pos, selection_end_pos, scroll_direction, have_grab.
2855         Added new variables undo_selection, undo_unselection, last_focus_child,
2856         undo_focus_child, htimer, vtimer, anchor, drag_pos, anchor_state,
2857         drag_selection, add_mode.
2858  
2859         New functions :
2860         (gtk_list_extend_selection), (gtk_list_start_selection),
2861         (gtk_list_end_selection), (gtk_list_select_all),
2862         (gtk_list_unselect_all), (gtk_list_scroll_horizontal),
2863         (gtk_list_scroll_vertical), (gtk_list_toggle_add_mode),
2864         (gtk_list_toggle_focus_row), (gtk_list_toggle_row),
2865         (gtk_list_undo_selection), (gtk_list_end_drag_selection)
2866         
2867         * gtk/gtklist.c : 
2868         (gtk_list_enter_notify): removed, because auto scrolling now works
2869         with gtk_list_motion_notify
2870  
2871         New functions, needed for auto scrolling :
2872         (gtk_list_motion_notify) (gtk_list_move_focus_child)
2873  
2874         New functions for extended selection support :
2875         (gtk_list_set_anchor), (gtk_list_fake_unselect_all),
2876         (gtk_list_fake_toggle_row), (gtk_list_update_extended_selection),
2877         (gtk_list_focus_lost)
2878         
2879         (gtk_list_set_focus_child): modified gtk_container_set_focus_child
2880         function to support auto scrolling, and avoid out-of-sync errors in
2881         case auf GTK_SELECTION_BROWSE
2882         (gtk_list_focus): modified gtk_container_focus function to avoid out
2883         off sync errors in case auf GTK_SELECTION_EXTENDED
2884
2885         * gtk/gtklistitem.h 
2886         * gtk/gtklistitem.c :
2887         New signal functions for key binding support :
2888         (toggle_focus_row), (select_all), (list_item), (unselect_all)
2889         (list_item), (undo_selection), (start_selection), (end_selection)
2890         (extend_selection), (scroll_horizontal), (scroll_vertical),
2891         (toggle_add_mode)
2892         (gtk_list_item_realize): added  GDK_KEY_PRESS_MASK |
2893         GDK_KEY_RELEASE_MASK
2894         (gtk_list_item_draw_focus): modify gc if parent has add_mode set.
2895  
2896         * gtk/gtkcombo.c :
2897         (gtk_combo_popup_button_press):  grab pointer for combo->list
2898         (gtk_combo_button_release): ungrab only if combo->popwin HAS_GRAB
2899         (gtk_combo_list_key_press): take care of which child HAS_GRAB
2900         (gtk_comb_init): don't connect combo->button with button_release_event
2901
2902 Thu Jul 30 12:39:36 1998  Lars Hamann  <lars@gtk.org>
2903
2904         * gtk/gtkclist.c (gtk_clist_motion): removed a few unneeded lines
2905
2906 Wed Jul 29 23:31:50 1998  Lars Hamann  <lars@gtk.org>
2907
2908         * gtk/gtkclist.c (gtk_clist_motion): column resize now works with
2909         horizontal autoscrolling, GtkCTree's 'reorder ability' now works
2910         with horizontal and vertical autoscrolling.
2911
2912 Tue Jul 28 20:32:03 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
2913
2914         * gtk/docs/man: new directory
2915         * gtk/docs/man/gtk_button.pod: new file, initial gtk_button man page
2916
2917 Tue Jul 28 00:03:20 1998  Lars Hamann  <lars@gtk.org>
2918
2919         * gtk/gtknotebook.c (gtk_notebook_paint): small fix for border drawing
2920         bug
2921
2922 Mon Jul 27 09:18:13 BST 1998  Tony Gale  <gale@gtk.org>
2923
2924         * docs/gtk_tut.sgml: GtkTree section from
2925           David Huggins-Daines <bn711@freenet.carleton.ca>,
2926           add a GtkText widget example
2927         * examples/text/* example/tree/* : new examples for the
2928           GtkTree and GtkText widgets
2929         * docs/gtk_tut.sgml: added an appendix to hold complete code
2930           examples that aren't in a full form elsewhere in the
2931           tutorial (e.g. scribble)
2932
2933 Mon Jul 27 00:46:21 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
2934
2935         * Released GTK+ 1.1.0
2936
2937 Mon Jul 27 04:18:26 1998  Tim Janik  <timj@gtk.org>
2938
2939         * gtkfeatures.h.in: revamped the definitions for 1-1-0, so that all
2940         the new API stuff is reflected in one #define GTK_HAVE_FEATURES_1_1_0.
2941
2942 Mon Jul 27 03:11:20 1998  Tim Janik  <timj@gtk.org>
2943
2944         * gtk/gtkbindings.c (binding_compose_params): fixup, so that enum
2945         values are looked up.
2946
2947         * gtk/gtktypeutils.h:
2948         * gtk/gtktypeutils.c: new functions gtk_type_flags_find_value and
2949         gtk_type_enums_find_value to lookup enum values.
2950
2951         * gtk/gtkctree.h: 
2952         * gtk/gtkctree.c: change enum name from GtkCTreeExpansion to
2953         GtkCTreeExpansionType. fixed signal creations to pass the enum
2954         types not just the base type GTK_TYPE_ENUM.
2955
2956         * gtk/gtkclist.h: 
2957         * gtk/gtkclist.c: fixed signal creations to pass the real enum
2958         types not just the base type GTK_TYPE_ENUM.
2959
2960 Sun Jul 26 14:50:07 1998  Stefan Jeske  <stefan@gtk.org>
2961
2962         * gtk/testgtk.c : 
2963         Began cleanup, e.g. use gtk_widget_show_all instead of many 
2964         gtk_widget_show's. Completely rewrote the button box sample
2965         (only one window now). Removed "miscellaneous" button.
2966
2967 Sun Jul 26 14:48:14 1998  Stefan Jeske  <stefan@gtk.org>
2968
2969         * gtk/gtkvbbox.c (gtk_vbutton_box_size_allocate): 
2970         Fixed wrong allocation for GTK_BUTTONBOX_END.
2971         (allocation->x  =>  allocation->y)
2972
2973 Sun Jul 26 14:06:37 1998  Lars Hamann  <lars@gtk.org>
2974
2975         * gtk/gtkclist.c (gtk_clist_button_press) (gtk_clist_button_release)
2976         (abort_column_resize) (gtk_clist_key_press): fix for pointer grab
2977         
2978         * gtk/gtkctree.c (real_tree_select): added check to avoid double
2979         selected rows
2980         (gtk_ctree_button_press)
2981         (gtk_ctree_button_release): fix for pointer grab
2982
2983 Sat Jul 25 13:16:00 1998 Damon Chaplin  <DAChaplin@msn.com>
2984
2985         * gtk/gtkfontsel.c (gtk_font_selection_get_fonts): 
2986         Fixed initialization problem - dirty memory could cause problems.
2987         Also checked that bitmapped fonts can be scaled when showing the
2988         available sizes.
2989
2990 Sat Jul 25 02:25:03 1998  Lars Hamann  <lars@gtk.org>
2991
2992         * gtk/gtkctree.c (gtk_ctree_sort_recursive)
2993         (gtk_ctree_sort_recursive): test for node != NULL
2994         (gtk_ctree_is_visible) (gtk_ctree_realize) (gtk_ctree_unrealize)
2995         (gtk_ctree_last) : added sanity checks
2996         * gtk/gtkclist.c (gtk_clist_button_press): removed "no_focus_row"
2997
2998 Fri Jul 24 18:15:49 1998  Lars Hamann  <lars@gtk.org>
2999
3000         * gtk/gtkclist.c (toggle_focus_row): mini code cleanup
3001
3002 Fri, 24 Jul 1998 10:56:22 +0200 Paolo Molaro <lupus@debian.org>
3003
3004         * gtk/gtkfeatures.h.in: added GTK_HAVE_ENUM_VALUE_STRUCT.
3005
3006 Thu Jul 23 00:11:39 1998  Tim Janik  <timj@gtk.org>
3007
3008         * gtk/testgtkrc: introduce testbindings on C-1 for buttons,
3009         to check out binding priorities. someone should really write
3010         gtkrc-mode for emacs.
3011
3012         * gtk/gtkwidget.c (gtk_widget_class_init): remove ugly bindings test.
3013         * gtk/testgtk.c (main): and move it here ;). this test says something
3014         on release of C-9. (this works only if the mouse pointer is on a
3015         spinbutton and there is no focus widget).
3016
3017         * gtk/gtkrc.h:
3018         * gtk/gtkrc.c:
3019         export gtk_rc_parse_color, gtk_rc_parse_state and a new function
3020         gtk_rc_parse_priority to parse path priority types.
3021         export rc tokens.
3022         feature binding parsing.
3023
3024 Wed Jul 22 23:41:17 1998  Tim Janik  <timj@gtk.org>
3025
3026         * gtk/gtkbindings.h: 
3027         * gtk/gtkbindings.c: new function gtk_binding_parse_binding() to
3028         feature binding parsing in rc files.
3029         * gtk/gtkbindings.c (gtk_binding_set_new): bug fix.
3030         * gtk/gtkbindings.c (gtk_binding_pattern_compare): bug fix, we used to
3031         order the bindings with lowest priority first.
3032
3033 Wed Jul 22 15:21:08 PDT 1998 Manish Singh <yosh@gimp.org>
3034
3035         * gdk/gdkrgb.c: actually builds and runs properly on big
3036         endian machines now, because we #include config.h. Also
3037         fixed up a compile error in the WORDS_BIGENDIAN case in
3038         gdk_rgb_convert_565_gray. I made the fix by looking at
3039         patterns in the other code; Raph can you verify this?
3040
3041         * gdk/gdkthreads.c: #include <unistd.h> to quell compiler
3042         warnings
3043
3044 Wed Jul 22 23:00:44 1998  Lars Hamann  <lars@gtk.org>
3045
3046         * gtk/gtkctree.c (tree_select/unselect) (tree_expand/collapse) 
3047         (tree_toggle_expansion) (real_select/unselect_row)
3048         (gtk_ctree_select/unselect) : few fixes for gtk_signal_emits
3049
3050 Wed Jul 15 17:44:47 1998  Owen Taylor  <otaylor@redhat.com>
3051
3052         * gtk/gtktext.c (new_text_property): We free things from
3053         the text property MemChunk, so it needs to be G_ALLOC_AND_FREE.
3054
3055         * Fix up line start cache when splitting a property
3056         during an insert.
3057
3058 Wed Jul 15 21:15:52 1998  Owen Taylor  <otaylor@redhat.com>
3059
3060         * gtk/gtkwidget.c: restauration => restoration
3061
3062 Thu Jul 16 20:11:36 1998  Owen Taylor  <otaylor@redhat.com>
3063
3064         * gdk/gdkxid.c (gdk_xid_table_lookup): If xid_ht
3065         hasn't been created yet, don't do the lookup.
3066
3067 1998-07-20  Raph Levien  <raph@acm.org>
3068
3069         * gdk/gdkrgb.c: More cleanups in the config process.
3070
3071 1998-07-20  Raph Levien  <raph@acm.org>
3072
3073         * gdkrgb.c: Fixed minor config bug preventing big-endian
3074         architectures from working.
3075
3076 Tue Jul 21 06:32:43 1998  Stefan Jeske  <stefan@gtk.org>
3077
3078         * gtk/gtkprogressbar.{c,h} gtk/testgtk.c: Fixed wrong size of
3079         activity indicator. It is settable now as a fraction of the
3080         total width/height using gtk_progress_bar_set_activity_blocks.
3081         Renamed gtk_progress_bar_set_number_of_blocks to
3082         gtk_progress_bar_set_discrete_blocks.
3083
3084 Mon Jul 20 21:28:18 1998  Lars Hamann  <lars@gtk.org>
3085
3086         * gtk/gtkctree.c (gtk_ctree_post_recursive_to_depth)
3087         (gtk_ctree_pre_recursive_to_depth): new functions, recursive process
3088         tree to specified depth
3089         (gtk_ctree_expand_to_depth): expand tree to specified depth
3090         (gtk_ctree_collapse_to_depth): collapse all nodes with level >= depth
3091
3092 Sun Jul 19 23:51:05 1998  Lars Hamann  <lars@gtk.org>
3093
3094         * gtk/gtkclist.c (scroll_vertical): fix for vertical scrolling in case
3095         of GTK_CLIST_ADD_MOD
3096         * gtk/testgtk.c (add1000_clist): changed pixmap
3097
3098 Sat Jul 18 22:59:04 1998  Tim Janik  <timj@gtk.org>
3099
3100         * gtk/gtkmain.h: 
3101         * gtk/gtkmain.c: export gtk_binary_age and gtk_interface_age.
3102
3103         * gtk/gtktypeutils.h:
3104         * gtk/gtkitemfactory.h: remove "void" from prototypes again.
3105
3106 Sat Jul 18 00:54:01 1998  Lars Hamann  <lars@gtk.org>
3107
3108         * gtk/gtknotebook.c (gtk_notebook_set_child_arg): added support for
3109         CHILD_ARG_MENU_LABEL, CHILD_ARG_TAB_LABEL
3110         (gtk_notebook_get_child_arg): added support for CHILD_ARG_MENU_LABEL,
3111         CHILD_ARG_POSITION
3112         (gtk_notebook_reorder_child): new funktion to change position of a
3113         notebook page
3114         (gtk_notebook_draw_arrow): draw left/right arrow with
3115         GTK_SHADOW_ETCHED_IN if focus_tab is first/last tab.
3116
3117         * gtk/gtkstyle.c (gtk_default_draw_arrow):
3118         added GTK_SHADOW_ETCHED_IN/OUT
3119
3120 Sun Jul 19 12:19:16 1998  Stefan Jeske  <stefan@gtk.org>
3121
3122         * gtk/gtkprogress.c gtk/gtkprogress.h gtk/gtkprogressbar.c
3123           gtk/gtkprogressbar.h gtk/Makefile.am gtk/gtk.h gtk/testgtk.c:
3124         Introduced generic GtkProgress widget. Derived GtkProgressBar from
3125         GtkProgress. Made GtkProgressBar much more flexible (see testgtk).
3126
3127 Fri Jul 17 23:49:28 PDT 1998 Manish Singh <yosh@gimp.org>
3128
3129         * gtk/gtktypeutils.h
3130         * gtk/gtkitemfactory.h: explicitly specify void in prototype
3131
3132 Fri Jul 17 17:54:02 1998  Lars Hamann  <lars@gtk.org>
3133
3134         * gtk/gtkclist.c (scroll_vertical): fix to avoid flicker at begin/end
3135         of list
3136
3137 Fri Jul 17 05:30:47 1998  Tim Janik  <timj@gtk.org>
3138
3139         * gtk/gtksignal.c (gtk_handlers_run) (gtk_signal_real_emit):
3140         sropped the approach of copying all signal specific data into a
3141         GtkHandlerInfo structure. we rather keep the signal data on the stack
3142         in gtk_signal_real_emit and pass that over to gtk_handlers_run. this
3143         avoids multiple lookups of the signal pointer and works savely together
3144         with destroy notifiers of handlers.
3145
3146         * gtk/gtkentry.c (gtk_entry_key_press): care for the posssibility that
3147         someone destroys the entry on the ::activate signal.
3148
3149 Fri Jul 17 01:21:32 1998  Tim Janik  <timj@gtk.org>
3150
3151         * gtk/gtkarrow.c (gtk_arrow_expose): use misc->xpad for x calculation
3152         instead of ypad (typo).
3153         (gtk_arrow_set): clear all of the arrow's allocation (left a 1 pixel
3154         border around the allocation).
3155         (gtk_arrow_init): the static requisition needs to be setup in this
3156         function rather than gtk_widget_new(), so arrow creation works without
3157         the gtk_arrow_new() constructing.
3158         (gtk_arrow_expose): return TRUE, since we actually handled the expose.
3159
3160         * gtk/gtkwidget.c (gtk_widget_real_size_request): provide a default
3161         implementation for GtkWidget::size_request, so size requisition for
3162         simple statically sized widgets like GtkArrow works.
3163
3164 Thu Jul 16 14:16:16 PDT 1998 Manish Singh <yosh@gimp.org>
3165
3166         * gtk-config.in: minor changes to gtk-config: --cflags doesn't
3167         prepend -I@libdir@/glib/include anymore, since glib-config handles
3168         it; --libs strips out redundant -L<path>'s properly (there was
3169         code in there to do it before, but it didn't work)
3170
3171 Thu Jul 16 18:24:41 1998  Tim Janik  <timj@gtk.org>
3172
3173         * gtk/gtknotebook.h: 
3174         * gtk/gtknotebook.c: signdness corrections all ove the place.
3175         implementation of object arguments: GtkNotebook::enable_popup,
3176         GtkNotebook::tab_pos, GtkNotebook::tab_border, GtkNotebook::show_tabs,
3177         GtkNotebook::show_border, GtkNotebook::scrollable and GtkNotebook::page.
3178         begun implementation of child args, we have GtkNotebook::tab_label, but
3179         GtkNotebook::menu_label and GtkNotebook::position still lack the
3180         implementation.
3181         (gtk_notebook_remove_page):
3182         (gtk_notebook_current_page): allow negative indices (-1) as alias for
3183         the last page.
3184
3185         * gtk/gtkentry.h:
3186         * gtk/gtkentry.c: GtkType and macro fixups. implementation of object
3187         arguments GtkEntry::max_length and GtkEntry::visibility.
3188         (gtk_entry_adjust_scroll): queue a redraw.
3189
3190         * gtk/gtkeditable.h:
3191         * gtk/gtkeditable.c: GtkType und macro fixups. implementation of
3192         object arguments GtkEditable::text_position and GtkEditable::editable.
3193         new (action) signal GtkEditable::set_editable.
3194         provide a default handler for GtkEditable::changed that queues a redraw.
3195
3196         * gtk/gtktext.h: 
3197         * gtk/gtktext.c: GtkType und macro fixups. override GtkEditable::
3198         set_editable.
3199
3200 Thu Jul 16 14:42:11 1998  Lars Hamann  <lars@gtk.org>
3201
3202         * gtk/gtkctree.c (gtk_ctree_button_release): fix for sigsegv in
3203         case of drag_target == NULL
3204         * gtk/gtkclist.c (gtk_clist_button_press): fix for GTK_2/3BUTTON_PRESS.
3205         Clist did not emit an select_row signal in case of GTK_2/3BUTTON_PRESS.
3206         * gtk/gtkfilesel.c (gtk_file_selection_file_button,
3207         gtk_dir_selection_file_button): fix due to changes in clist's
3208         select_row signal.
3209
3210 Thu Jul 16 01:27:15 1998  Tim Janik  <timj@gtk.org>
3211
3212         * gtk/gtkwidget.h:
3213         * gtk/gtkwidget.c (gtk_widget_set_usize): handle negative values
3214         similar to gtk_widget_set_uposition(). that is: -1=unspecified,
3215         -2=leave untouched. changed the width/height field of GtkWidgetAuxInfo
3216         to be gint16s rather than guint16s, since that's what the code expected
3217         (for a long time actually).
3218
3219         * gtk/gtkviewport.c:
3220         added support for object arguments: GtkViewport::shadow_type,
3221         GtkViewport::vadjustment and GtkViewport::hadjustment.
3222         (gtk_viewport_add): chain gtk_bin_add.
3223
3224         * gtk/gtkscrolledwindow.c: 
3225         added support for object argument: GtkScrolledWindow::hscrollbar_policy,
3226         GtkScrolledWindow::vscrollbar_policy and GtkScrolledWindow::viewport.
3227
3228         * gtk/gtkadjustment.h: 
3229         * gtk/gtkadjustment.c: 
3230         * gtk/gtkctree.h: 
3231         * gtk/gtkclist.h: 
3232         * gtk/gtkctree.c: 
3233         * gtk/gtkclist.c:
3234         * gtk/gtkscrolledwindow.h:
3235         * gtk/gtkscrolledwindow.c:
3236         * gtk/gtkviewport.h:
3237         * gtk/gtkviewport.c:
3238         GtkType and macro fixups.
3239
3240 Thu Jul 16 01:10:02 1998  Lars Hamann  <lars@gtk.org>
3241
3242         * gtk/gtkctree.h :
3243         * gtk/gtkctree.c :
3244         Added focus handling, horizontal and vertical autoscrolling,
3245         extended Selection Mode, key bindings
3246         Added gtk_ctree_toggle_expansion & gtk_ctree_toggle_expansion_recursive
3247         Changed gtk_ctree_scroll_to to gtk_ctree_moveto.
3248         Removed gtk_ctree_clear.
3249         
3250         * gtk/gtkclist.h :
3251         * gtk/gtkclist.c : 
3252         Added focus handling, horizontal and vertical autoscrolling,
3253         extended Selection Mode, key bindings
3254
3255 Wed Jul 15 12:39:27 1998  Raph Levien  <raph@acm.org>
3256
3257         * This checkin integrates GdkRgb version 0.0.3 into the Gtk 1.1
3258         source tree. For more information on GdkRgb, please see:
3259         http://www.levien.com/gdkrgb/
3260
3261         * gtk/gtkfeatures.h.in (GTK_HAVE_GDK_RGB): added this feature. It
3262         bothers me slightly that the feature is in gdk, and this file is
3263         in gtk, but it's probably ok.
3264
3265         * gdk/gdk.h: Added an #include of <gdk/gdkrgb.h>
3266
3267         * gdk/gdkrgb.c:
3268         * gdk/gdkrgb.h: Added this module.
3269
3270         * Makefile.am (EXTRA_DIST): Added gdkrgb.c and gdkrgb.h files.
3271
3272         * configure.in: added AC_C_BIGENDIAN test (needed by GdkRgb).
3273
3274 Wed Jul 15 14:20:10 1998  Tim Janik  <timj@gtk.org>
3275
3276         * gtk/gtksignal.c (gtk_signal_real_emit): pass only the signal_id
3277         to this function. it needs to relookup the signal multiple times.
3278         this fixes spurious segfaults that could show up with signal intensive
3279         code, when classes are created during a pending emission (which is
3280         normal case).
3281
3282 Tue Jul 14 19:12:12 1998  Tim Janik  <timj@gtk.org>
3283
3284         * gtk/gtkbutton.c (gtk_button_set_arg): don't destroy a buttons
3285         child if it isn't a label.
3286
3287 Tue Jul 14 11:41:38 1998  Tim Janik  <timj@gtk.org>
3288
3289         * gtk/gtkdialog.h: 
3290         * gtk/gtkseparator.h: 
3291         * gtk/gtkhseparator.h: 
3292         * gtk/gtkvseparator.h: macro and GtkType fixups.
3293
3294 Tue Jul 14 06:25:46 1998  Tim Janik  <timj@gtk.org>
3295
3296         * gtk/testgtk.c (create_cursors): display the current cursor name.
3297
3298         * gtk/gtktypeutils.h: 
3299         * gtk/gtktypeutils.c (gtk_type_init_builtin_types): cleanups to
3300         the fundamental type definition. the GtkArg union now only covers
3301         the required storage types for argument values. adapted the GTK_VALUE_*
3302         macro set. handle GTK_TYPE_UCHAR. definiton of type set bounds macros.
3303
3304         * gtk/gtkargcollector.c (gtk_arg_collect_value): clean ups of the
3305         code, fixed int/float collection. fixed a bug in the sanity checking
3306         code for GtkObjects.
3307
3308         * gtk/gtkbindings.c (gtk_binding_entry_add_signal): fixups of the
3309         argument collection code.
3310
3311         * gtk/gtksignal.c (gtk_signal_collect_params): use the type set bounds
3312         macros when distinguishing the return type.
3313
3314 Mon Jul 13 12:42:51 1998  George Lebl  <jirka@5z.com>
3315
3316         * gdk/gdkwindow.h: (gdk_window_reparent) check if old_parent_private
3317           is not NULL before trying to g_list_remove the child. A patch
3318           from Michael Lausch.
3319
3320 Sun Jul 12 16:40:06 1998  Tim Janik  <timj@gtk.org>
3321
3322         * gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument
3323         collection (always casted to doubles upon argument passing).
3324
3325 Sun Jul 12 05:59:26 1998  Tim Janik  <timj@gtk.org>
3326
3327         * gtk/gtktypeutils.c (gtk_type_new): call the base classes'
3328         object_init_func for derived objects with the object's ->klass field
3329         still pointing to the corresponding base class, otherwise overridden
3330         class functions could get called with partly-initialized objects.
3331         (change from Tero Pulkkinen <terop@modeemi.cs.tut.fi>).
3332
3333 Sun Jul 12 02:47:35 1998  Tim Janik  <timj@gtk.org>
3334
3335         * gtk/gtkobject.h:
3336         * gtk/gtkobject.c:
3337         (gtk_object_arg_get_info): new functions which wraps gtk_arg_get_info().
3338
3339         * gtk/gtkcontainer.h:
3340         * gtk/gtkcontainer.c:
3341         (gtk_container_child_arg_get_info): new function which wraps
3342         gtk_arg_get_info().
3343
3344 Fri Jul 10 13:29:53 1998  Tim Janik  <timj@gtk.org>
3345
3346         * gtk/gtkcontainer.c:
3347         (gtk_container_arg_get): 
3348         (gtk_container_arg_set): 
3349         * gtk/gtkobject.c:
3350         (gtk_object_arg_set): 
3351         (gtk_object_arg_get):
3352         strictly check for the associated get/set arg functions. if an
3353         arg is readable or writable, the associated class functions *must*
3354         be provided.
3355
3356 Fri Jul 10 09:37:50 1998  Tim Janik  <timj@gtk.org>
3357
3358         * gtk/gtkaccellabel.c (gtk_accel_label_accelerator_width): only take the
3359         padding into account if there is an accelerator.
3360
3361 Fri Jul 10 05:51:44 1998  Tim Janik  <timj@gtk.org>
3362
3363         * gtk/gtkcontainer.c:
3364         (gtk_container_add_with_args): collect the arguments with
3365         gtk_container_child_args_collect, not through gtk_object_args_collect.
3366         (gtk_container_child_set): likewise.
3367
3368 Fri Jul 10 04:20:35 1998  Tim Janik  <timj@gtk.org>
3369
3370         * gtk/gtktypeutils.h: 
3371         * gtk/gtktypeutils.c: added a new internal type GTK_TYPE_IDENTIFIER
3372         which is derived from GTK_TYPE_STRING.
3373
3374         * gtk/gtkbindings.c: reworked the argument type handling.
3375
3376 Thu Jul  9 21:03:19 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
3377
3378         * gtk/gtkpreview.c: add in just enough support for 1 or 4 bits
3379           so that it seems to allow normal operation in those modes,
3380           although you will only see black  (GIMP toolbar now pops up,
3381           just don't create a new image and GIMP now works in 4 bit.)
3382
3383 Thu Jul  9 20:20:04 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
3384
3385         * gdk/gdkvisuals.c: 4 bit support, increased available_depths
3386           array, which was too low (?)
3387
3388 Fri Jul 10 00:02:04 1998  Tim Janik  <timj@gtk.org>
3389
3390         * gtk/gtkcontainer.h: 
3391         * gtk/gtkcontainer.c: deleted most of the argument handling code, since
3392         that is now implemented in gtkarg.c. similar to gtk_object_args_collect,
3393         we now export a new function gtk_container_child_args_collect().
3394         for consistency with the object arguments, a few functions got renamed:
3395         gtk_container_child_arg_get -> gtk_container_child_get,
3396         gtk_container_child_arg_set -> gtk_container_child_set,
3397         gtk_container_child_arg_getv -> gtk_container_child_getv,
3398         gtk_container_child_arg_setv -> gtk_container_child_setv,
3399         gtk_container_add_with_argv -> gtk_container_addv.
3400         note, gtk_container_add_with_args() remained, because its equivalent
3401         would be gtk_container_add(,, ...) which would break all existing code.
3402         (gtk_container_add_child_arg_type): similar to gtk_object_add_arg_type,
3403         we expect the `arg_name' argument to be a const static string now.
3404         (gtk_container_get_child_arg_type): function removed.
3405
3406 Thu Jul  9 07:03:04 1998  Tim Janik  <timj@gtk.org>
3407
3408         * gtk/gtkargcollector.c: new file which holds gtk_arg_collect_value().
3409         this is a static inline function that collects command line arguments
3410         from a va_list. this file can just be included in all places that
3411         need this functionality.
3412
3413         * gtk/gtkarg.h: 
3414         * gtk/gtkarg.c: new files which implement most of the argument
3415         handling stuff from gtkobject.c. also collected a few more
3416         gtk_arg_* utility functions from else places.
3417
3418         * gtk/gtkobject.h: 
3419         * gtk/gtkobject.c: moved most of the argument handling code into
3420         gtkarg.c. we now export gtk_object_args_collect() as a non-public
3421         method with a blind va_list pointer.
3422         (gtk_object_add_arg_type): the `arg_name' argument is required to be a
3423         const static string now.
3424         (gtk_object_get_arg_type): function got removed.
3425
3426         * gtk/gtkwidget.c: 
3427         (gtk_widget_set): 
3428         (gtk_widget_new): adaptions for gtk_object_args_collect().
3429
3430         * gtk/gtktypeutils.c (gtk_type_init_builtin_types): changed the internal
3431         fundamental type name so as to have a valid prefix, e.g. "bool"->
3432         "gboolean", "string"->"GtkString" and somesuch, left "void" as is,
3433         though that should probably be something like GtkNone since the
3434         type itself is called GTK_TYPE_NONE.
3435         even the internal type names need to avoid name clashes and must live
3436         in their own namespace, several code portions rely on that.
3437         we should relly have typedefs such as typedef gchar* GtkString; so the
3438         fundamental type names can be used for code dumpers just like with all
3439         the Gtk/Gdk types.
3440
3441 Wed Jul  8 15:31:28 1998  Tim Janik  <timj@gtk.org>
3442
3443         * gtk/gtkbutton.c: handle GTK_RELIEF_HALF, which was introduced to
3444         keep either GTK_STATE_NORMAL for relief buttons (GTK_RELIEF_NONE) or
3445         to still honour GTK_WIDGET_STATE(), e.g. for coloured buttons
3446         (GTK_RELIEF_HALF).
3447         (gtk_button_paint): set the background for prelighted buttons with
3448         GTK_STATE_NORMAL only if GTK_RELIEF_NONE.
3449         (gtk_button_draw_focus): if GTK_RELIEF_NONE, use GTK_STATE_NORMAL for
3450         the shadow type (otherwise we get strange shadows for coloured buttons).
3451         (gtk_button_set_relief): queue a redraw after changing
3452         the relief.
3453         (gtk_button_class_init): 
3454         (gtk_button_set_arg): 
3455         (gtk_button_get_arg): added object argument "GtkButton::relief".
3456
3457         * gtk/gtkenums.h (enum): added GTK_RELIEF_HALF.
3458
3459 Mon Jul  6 18:30:48 1998  Tim Janik  <timj@gtk.org>
3460
3461         * gtk/gtkbutton.h:
3462         * gtk/gtkbutton.c: GtkButtons are now derived from GtkBin. we mirror
3463         GTK_BIN (button)->child to button->child to keep source compatibility.
3464
3465         * gtk/gtkoptionmenu.c:
3466         * gtk/gtkclist.c:
3467         * gtkcheckbutton.c: don't refer to button->child, but
3468         GTK_BIN (button)->child instead.
3469
3470 Mon Jul  6 12:06:23 BST 1998  Tony Gale  <gale@gtk.org>
3471
3472         * docs/gtkfaq.sgml: update anon CVS info
3473
3474 Sat Jul  4 13:16:24 1998  Tim Janik  <timj@gtk.org>
3475
3476         * gtk/*.c: changed reversed_[12] to reserved_[12] in gtk_*_get_type
3477         functions.
3478
3479         * gdk/gdkwindow.c:
3480         * gdk/gdkvisual.c: check for some pointer values to be != NULL, prior
3481         to XFree() calls.
3482
3483 1998-07-03  Federico Mena Quintero  <federico@nuclecu.unam.mx>
3484
3485         * gtk/gtkfeatures.h.in: Added GDK_HAVE_FULL_CROSSING_EVENT, since
3486         I seem to have erroneously added it to gtkfeatures.h (not .h.in).
3487
3488 Fri Jul  3 14:55:31 PDT 1998 Manish Singh <yosh@gimp.org>
3489
3490         * gtk/gtkfeatures.h.in: added GTK_HAVE_RELIEF_STYLE
3491
3492 Wed Jul  1 20:58:46 1998  Tim Janik  <timj@gtk.org>
3493
3494         * gtk/gtkwidget.h:
3495         * gtk/gtkwidget.c: temporary implementation of action signal "debug_msg"
3496
3497         * gtk/gtkbindings.c (gtk_binding_entry_add_signal): fixed an off-by-one
3498         error that prevented signal to entry addition for signals with
3499         parameters.
3500
3501 Wed Jul  1 10:05:36 PDT 1998 Manish Singh <yosh@gimp.org>
3502
3503         * ltconfig: fix for properly detecting shared lib support on
3504         SunPro cc (taken from libtool 1.2.a)
3505
3506 Wed Jul  1 03:33:30 1998  Tim Janik  <timj@gtk.org>
3507
3508         * gtk/gtkrc.c: implementation of the "class" keyword for styles.
3509
3510 Tue Jun 30 14:30:37 1998  Tim Janik  <timj@gtk.org>
3511
3512         * gtk/gtkrc.c: fixed lookup order for rc styles. the latest defined
3513         rc set pattern is favoured, this is needed for overriding of style
3514         patterns with subsequently parsed rc files.
3515
3516 Tue Jun 30 12:45:19 1998  Tim Janik  <timj@gtk.org>
3517
3518         * gtk/gtkrc.c: code overhaul for simplicity and more descriptive
3519         error messages.
3520
3521 Tue Jun 30 09:24:40 1998  Tim Janik  <timj@gtk.org>
3522
3523         * gtk/gtkaccelgroup.c (gtk_accelerator_parse): parse "<Release>"
3524         modifier as well.
3525         (gtk_accelerator_name): add "<Release>" to the accelerator name if
3526         neccessary.
3527
3528         * gtk/gtkbindings.c (BINDING_MOD_MASK): take BINDING_MOD_MASK into
3529         account.
3530
3531         * gtk/gtkwidget.c (gtk_widget_real_key_release_event): implemented
3532         default handler for key-release events, which checks for activation
3533         of GDK_RELEASE_MASK key bindings.
3534
3535         * gdk/gdktypes.h (enum): added GDK_RELEASE_MASK to GdkModifierType.
3536
3537 Mon Jun 29 13:39:45 1998  Tim Janik  <timj@gtk.org>
3538
3539         * gtk/gtkarrow.h: GtkType and macro fixups.
3540         * gtk/gtkarrow.c: widget argument implementation: "GtkArrow::arrow_type",
3541         "GtkArrow::shadow_type".
3542
3543 Sun Jun 28 11:39:17 1998  Tim Janik  <timj@gtk.org>
3544
3545         * gtk/gtkalignment.h:
3546         * gtk/gtkbin.h: GtkType and macro fixups.
3547         
3548         * gtk/gtkalignment.c (gtk_alignment_class_init): widget argument
3549         implementation: GtkAlignment::xalign, GtkAlignment::yalign,
3550         GtkAlignment::xscale, GtkAlignment::yscale.
3551
3552 Sun Jun 28 04:29:10 1998  Tim Janik  <timj@gtk.org>
3553
3554         * gtk/gtktypeutils.c (gtk_type_class_init): call the base class init
3555         fucntions from all parent types upon class initialization.
3556
3557         * gtk/gtkcontainer.c:
3558         (gtk_container_get_type): announce gtk_container_base_class_init to
3559         the type system.
3560         (gtk_container_base_class_init): new function to feature base class
3561         initialization.
3562         (gtk_container_get_child_arg): 
3563         (gtk_container_set_child_arg): call the GtkContainerClass get_child_arg
3564         and set_child_arg methods of the class indicated through the argument
3565         name.
3566
3567         * gtk/gtkobject.c:
3568         (gtk_object_base_class_init): new function to feature base class
3569         initialization.
3570         (gtk_object_init_type): announce gtk_object_base_class_init to the type
3571         system.
3572         (gtk_object_class_init): setup the get_arg and set_arg pointers for
3573         GtkObjectClass.
3574         (gtk_object_setv): 
3575         (gtk_object_getv): call the GtkObjectClass get_arg and set_arg methods,
3576         instead of bothering the type system with this.
3577
3578         * gtk/gtkaccellabel.c: 
3579         * gtk/gtkbutton.c: 
3580         * gtk/gtkradiobutton.c: 
3581         * gtk/gtktable.c:
3582         * gtk/gtktogglebutton.c: 
3583         * gtk/gtktipsquery.c: 
3584         * gtk/gtkbox.c: 
3585         * gtk/gtkpacker.c: 
3586         * gtk/gtkwidget.c: 
3587         * gtk/gtkwindow.c: 
3588         * gtk/gtkframe.c: 
3589         * gtk/gtkmisc.c:
3590         * gtk/gtklabel.c: set the object_class->{g|s}et_arg pointers to the
3591         corresponding gtk_*_{g|s]et_arg functions and updated the gtk_*_get_type
3592         functions wrt GtkTypeInfo initialization. changed a lot of the set/get
3593         arg functions to take a GtkObject argument.
3594
3595         gtk/gtkadjustment.c:
3596         gtk/gtkalignment.c:
3597         gtk/gtkarrow.c:
3598         gtk/gtkaspectframe.c:
3599         gtk/gtkbbox.c:
3600         gtk/gtkbin.c:
3601         gtk/gtkcheckbutton.c:
3602         gtk/gtkcheckmenuitem.c:
3603         gtk/gtkclist.c:
3604         gtk/gtkcolorsel.c:
3605         gtk/gtkcombo.c:
3606         gtk/gtkctree.c:
3607         gtk/gtkcurve.c:
3608         gtk/gtkdata.c:
3609         gtk/gtkdialog.c:
3610         gtk/gtkdrawingarea.c:
3611         gtk/gtkeditable.c:
3612         gtk/gtkentry.c:
3613         gtk/gtkeventbox.c:
3614         gtk/gtkfilesel.c:
3615         gtk/gtkfixed.c:
3616         gtk/gtkfontsel.c:
3617         gtk/gtkgamma.c:
3618         gtk/gtkhandlebox.c:
3619         gtk/gtkhbbox.c:
3620         gtk/gtkhbox.c:
3621         gtk/gtkhpaned.c:
3622         gtk/gtkhruler.c:
3623         gtk/gtkhscale.c:
3624         gtk/gtkhscrollbar.c:
3625         gtk/gtkhseparator.c:
3626         gtk/gtkimage.c:
3627         gtk/gtkinputdialog.c:
3628         gtk/gtkitem.c:
3629         gtk/gtkitemfactory.c:
3630         gtk/gtklist.c:
3631         gtk/gtklistitem.c:
3632         gtk/gtkmenu.c:
3633         gtk/gtkmenubar.c:
3634         gtk/gtkmenuitem.c:
3635         gtk/gtkmenushell.c:
3636         gtk/gtknotebook.c:
3637         gtk/gtkoptionmenu.c:
3638         gtk/gtkpaned.c:
3639         gtk/gtkpixmap.c:
3640         gtk/gtkpreview.c:
3641         gtk/gtkprogressbar.c:
3642         gtk/gtkradiomenuitem.c:
3643         gtk/gtkrange.c:
3644         gtk/gtkruler.c:
3645         gtk/gtkscale.c:
3646         gtk/gtkscrollbar.c:
3647         gtk/gtkscrolledwindow.c:
3648         gtk/gtkseparator.c:
3649         gtk/gtkspinbutton.c:
3650         gtk/gtkstatusbar.c:
3651         gtk/gtktext.c:
3652         gtk/gtktoolbar.c:
3653         gtk/gtktooltips.c:
3654         gtk/gtktree.c:
3655         gtk/gtktreeitem.c:
3656         gtk/gtkvbbox.c:
3657         gtk/gtkvbox.c:
3658         gtk/gtkviewport.c:
3659         gtk/gtkvpaned.c:
3660         gtk/gtkvruler.c:
3661         gtk/gtkvscale.c:
3662         gtk/gtkvscrollbar.c:
3663         gtk/gtkvseparator.c: updated the GtkTypeInfo initialization code to
3664         match the modified GtkTypeInfo structure.
3665
3666 Sat Jun 27 23:23:27 PDT 1998 Manish Singh <yosh@gimp.org>
3667
3668         * gtk/testgtk.c: use rand() instead of random() for portability
3669
3670 Sat Jun 27 22:42:28 PDT 1998 Manish Singh <yosh@gimp.org>
3671
3672         * configure.in
3673         * acconfig.h
3674         * gdk/gdk.c: use native Xlib XConvertCase if it's available
3675
3676 Sat Jun 27 15:44:46 1998  Tim Janik  <timj@gtk.org>
3677
3678         * gdk/gdk.c (gdkx_XConvertCase): compatibility function to provide
3679         XConvertCase() functionality from X11R6 on X11R5 systems.
3680
3681 Thu Jun 25 10:50:34 1998  Stefan Jeske  <stefan@gtk.org>
3682
3683         * gdk/gdk.h gdk/gdkfont.c: Added functions gdk_text_height,
3684         gdk_string_height, gdk_char_height to retrieve the exact
3685         height of a text.
3686
3687 Thu Jun 25 07:53:51 BST 1998  Tony Gale  <gale@gtk.org>
3688
3689         * docs/gtk_tut.sgml: add section on GtkCList widget, contributed
3690           by Stefan Mars <mars@lysator.liu.se>
3691         * examples/clist/clist.c examples/clist/Makefile: example code
3692           for GtkCList widget from the Tutorial
3693
3694 Wed Jun 24 16:38:02 1998  Tim Janik  <timj@gtk.org>
3695
3696         * gtk/gtkbin.c (gtk_bin_remove): do not avoid to queue for a resize
3697         if the container is not visible, we might be a toplevel! this holds
3698         for all other base container implementations as well, that are
3699         candidates to derive toplevels from. in general the resizing code will
3700         care about visibility itself.
3701         * gtk/gtkmenushell.c (gtk_menu_shell_remove): likewise.
3702         * gtk/gtkbox.c (gtk_box_remove): likewise.
3703
3704         * gtk/gtkwindow.c (gtk_window_move_resize): save ->use_uposition around
3705         gtk_window_set_hints(), since we haven't calculated the new position
3706         yet.
3707
3708         * gdk/gdkwindow.c (gdk_window_get_pointer): take care that *x, *y and
3709         *mask are alway initialized in a sane way, regardless of the return
3710         value.
3711
3712 Wed Jun 24 14:14:32 1998  Tim Janik  <timj@gtk.org>
3713
3714         * gtk/gtkcontainer.c: new function gtk_container_child_arg_set, similar
3715         to gtk_container_child_arg_setv, but takes a variable argument list.
3716         new function gtk_container_get_child_arg_type, which is needed by
3717         gtk_object_collect_args.
3718
3719         * gtk/gtkobject.c: changed prototype for gtk_object_collect_args, to
3720         take a function pointer to figure the argument type.
3721         adapted callers to pass gtk_object_get_arg_type.
3722         * gtk/gtkwidget.c: adapted gtk_object_collect_args callers to pass
3723         gtk_object_get_arg_type..
3724
3725         * gtk/gtkpacker.h: 
3726         * gtk/gtkpacker.c:
3727         (gtk_packer_reorder_child): new function to change the packing order
3728         of a child.
3729         (gtk_packer_size_request): 
3730         (gtk_packer_size_allocate): take container->border_width into acount.
3731
3732         * gtk/gtkpacker.c: implemented widget arguments:
3733         "GtkPacker::spacing", "GtkPacker::border_width", "GtkPacker::pad_x",
3734         "GtkPacker::pad_y", "GtkPacker::ipad_x", "GtkPacker::ipad_y".
3735         implemented child arguments:
3736         "GtkPacker::side", "GtkPacker::anchor", "GtkPacker::expand",
3737         "GtkPacker::fill_x", "GtkPacker::fill_y", "GtkPacker::use_default",
3738         "GtkPacker::border_width", "GtkPacker::pad_x", "GtkPacker::pad_y",
3739         "GtkPacker::ipad_x", "GtkPacker::ipad_y", "GtkPacker::position".
3740
3741         * gtk/gtkmisc.c (gtk_misc_set_arg): for padding args, set the padding,
3742         not the alignment.
3743
3744         * gtk/gtkeventbox.h:
3745         * gtk/gtkeventbox.c: GtkType and macro fixups.
3746
3747         * gtk/testgtk.c (entry_toggle_sensitive): new function to toggle
3748         sensitivity of an entry.
3749
3750         * gtk/gtkstyle.c (gtk_style_new): support normal grey as default color
3751         for insensitive base and text.
3752
3753         * gtk/gtkentry.c (gtk_entry_realize): set the window backgrounds
3754         widget state dependent.
3755         (gtk_entry_style_set): likewise.
3756         (gtk_entry_state_changed): set background color on state changes.
3757         (gtk_entry_draw_text): for non selected text, use state dependent
3758         colors.
3759
3760         * gtk/gtktogglebutton.c: support for widget arguments
3761         "GtkToggleButton::active" and "GtkToggleButton::draw_indicator".
3762
3763 Wed Jun 24 08:35:45 1998  Stefan Jeske  <stefan@gtk.org>
3764
3765         * gtk/gtkspinbutton.c (gtk_spin_button_spin): Added compatibility 
3766         code for 1.0.x-like parameters. Changed internal interface of
3767         gtk_spin_button_real_spin. Several fixes to avoid emission of
3768         "value_changed" where possible.
3769
3770 Tue Jun 23 22:21:33 PDT 1998 Manish Singh <yosh@gimp.org>
3771
3772         * gtk-boxed.defs: s/GkWidget/GtkWidget/
3773
3774 Wed Jun 24 07:47:29 1998  Tim Janik  <timj@gtk.org>
3775
3776         * gtk/testgtk.c (create_idle_test): added a frame with radio buttons
3777         to select the resize_mode for the idle-labels container.
3778
3779         * gtk/gtkframe.h: 
3780         * gtk/gtkframe.c: GtkType and macro corrections.
3781
3782         * gtk/gtkradiobutton.c (gtk_radio_button_set_arg): new function to
3783         support widget argument "GtkRadioButton::group".
3784
3785 Tue Jun 23 08:01:09 1998  Tim Janik  <timj@gtk.org>
3786
3787         * gtk/gtkcontainer.c (gtk_container_set_resize_mode): queue a resize
3788         unconditionally if resize_mode has changed.
3789
3790         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_init): set
3791         GTK_RESIZE_QUEUE on the scrolled window.
3792         (gtk_scrolled_window_construct): set GTK_RESIZE_PARENT for the vieport.
3793
3794 Tue Jun 23 04:20:30 1998  Tim Janik  <timj@gtk.org>
3795
3796         * gtk/gtkcontainer.h:
3797         * gtk/gtkcontainer.c:
3798         (GTK_IS_RESIZE_CONTAINER): new macro to find out if
3799         a given gtkobject is a container with resize_mode==GTK_RESIZE_PARENT.
3800         (gtk_container_queue_resize): new function to queue a container for
3801         a *size* reallocation (doesn't affect its position, and thus its
3802         parent is left untouched usually).
3803         (gtk_container_get_resize_container): new function to retrive the next
3804         most resize container which is not itself queued for a resize.
3805         (gtk_container_idle_sizer): new function to carefully process the
3806         container_resize_queue since it can change during invokation of
3807         gtk_container_check_resize().
3808         (gtk_container_resize_children): total rework of this function to
3809         properly handle resize containers. makes a lot of assumptions whitch
3810         are stated in the comments.
3811
3812         * gtk/gtkcontainer.c:
3813         (gtk_container_real_check_resize): only requeue ourselves if we are not
3814         a resize container.
3815         (gtk_container_clear_resize_widgets): care for automatic deletion of our
3816         resize_widgets list on size_allocate through a handler connection.
3817
3818         * gtk/gtkwindow.c (gtk_window_shutdown): new functionm to reset the
3819         focus and default widget of a window, so to take the burden from
3820         gtk_widget_unparent.
3821
3822         * gtk/gtkviewport.c: removed gtk_viewport_check_resize, which tried
3823         to be clever, but actually messed up the resize_children logic and
3824         caused unneccessary allocations on its whole branch. besides this,
3825         it messed up the display by not invoking a redraw after the allocation.
3826
3827         * gtk/gtktable.c (gtk_table_set_child_arg): reverted recent change, so
3828         that it is the child again that is queued for a resize.
3829         (gtk_table_attach): likewise.
3830         (gtk_table_remove): likewise.
3831
3832 1998-06-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>
3833
3834         * gtk/gtkentry.h, gtk/gtkentry.c: Export the
3835         gtk_entry_adjust_scroll.  Required if you change the cursor
3836         position and want to sync it up with your code (Midnight Commander
3837         gtk front end needs this).
3838
3839         * gtk/gtktable.c: Deal with tables that have size 0, 0.
3840
3841 Tue Jun 23 12:12:19 BST 1998  Tony Gale  <gale@gtk.org>
3842
3843         * examples/README.1ST: new file to explain how the
3844           code examples should be extracted from the tutorial.
3845
3846 Mon Jun 22 18:43:11 1998  Lars Hamann  <lars@gtk.org>
3847
3848         * gtk/gtkctree.c (draw_row): added new "line style"
3849         GTK_CTREE_LINES_TABBED 
3850         * gtk/gtkctree.c/h (gtk_ctree_find_glist_ptr): new function to
3851         search the glist pointer of an GtkCTreeRow
3852
3853 1998-06-21  Raja R Harinath  <harinath@cs.umn.edu>
3854  
3855         * gtk/Makefile.am (gtk.defs,gtktypebuiltins*): Remove $(srcdir)
3856         from, and clean up, the dependencies.  Generate to intermediate
3857         files to prevent problems with Ctrl-C.
3858
3859         * gtk/genmarshal.pl: Generate `gtkmarshal.[ch]' in $srcdir.
3860
3861 Fri Jun 19 14:46:56 1998  Stefan Jeske  <stefan@gtk.org>
3862
3863         * gtk/gtkspinbutton.h gtk/gtkspinbutton.c gtk/testgtk.c:
3864         - Bug fix for precision problem causing occasional double emission 
3865           of "value_changed" signal (hopefully works now).
3866         - API change (should be binary compatible) : 
3867           new enum GtkSpinType; modified gtk_spin_button_spin to use it.
3868           Modified cursor example appropriately.
3869           To spin by something other than step_/page_increment, use
3870           gtk_spin_button_spin (spin, GTK_SPIN_USER_DEFINED, increment).
3871         - Made GTK_SHADOW_NONE the default. ;)
3872         - Fixed casting of GtkAdjustment* to GtkWidget* in
3873           gtk_spin_button_value_changed.
3874
3875 Fri Jun 19 06:18:19 1998  Tim Janik  <timj@gtk.org>
3876
3877         * gtk/gtkcontainer.c (gtk_container_set_resize_mode): fail silently
3878         for toplevels. if resize_mode changes to GTK_RESIZE_PARENT, clear the
3879         resize widget list before queuing the container for a new reize.
3880         (gtk_container_need_resize): changed return value to FALSE, since this
3881         used to indicate that no further resizes are needed.
3882         (gtk_container_set_arg): 
3883         (gtk_container_get_arg): 
3884         (gtk_container_class_init): implemented GtkContainer::resize_mode
3885         argument.
3886
3887         (gtk_container_resize_children): when we walk up the tree of a resize
3888         widget we need to stop if we are the current parent.
3889
3890         * gtk/gtkwidget.c (gtk_widget_queue_resize): flag the resize child with
3891         GTK_RESIZE_NEEDED for container->resize_mode==GTK_RESIZE_IMMEDIATE.
3892         (gtk_widget_hide_all): retrive the toplevel widget from via
3893         gtk_widget_get_resize_container().
3894
3895 Thu Jun 18 23:08:36 1998  Owen Taylor  <otaylor@gtk.org>
3896
3897         * gtk/gtklist.c (gtk_list_button_press): Only respond
3898           to selection with button 1. This allows context-sensitive
3899           menus to work correctly.
3900
3901 Fri Jun 19 03:29:04 1998  Tim Janik  <timj@gtk.org>
3902
3903         * gtk/gtkaccelgroup.c: 
3904         * gtk/gtkbindings.c: 
3905         * gtk/gtkcontainer.c:
3906         * gtk/gtkitemfactory.c:
3907         * gtk/gtkobject.c: 
3908         * gtk/gtksignal.c:
3909         * gtk/gtkwidget.c: replaced some gtk_object_data_force_id with
3910         g_quark_from_static_string calls to save memory.
3911
3912         * gtk/gtkobject.c (gtk_object_set_data_by_id_full): invoke the destroy
3913         function _after_ the new data has been setup.
3914         minor changes to object data functions to feature the GQuark type.
3915
3916 Thu Jun 18 21:13:54 1998  Owen Taylor  <otaylor@gtk.org>
3917
3918         * gtk/gtkmain.c (gtk_init): Remove --g-fatal-warnings flag
3919           from argv.
3920
3921 Thu Jun 18 20:22:28 1998  Owen Taylor  <otaylor@gtk.org>
3922
3923         * gtk/genmarshal.pl: Modified to be more idiomatic Perl,
3924           to be more readable perl, to spit out stuff that looks
3925           more like readable C, and to pipe output through indent
3926           so output looks a lot like readable C. No functional
3927           changes.
3928
3929 Thu Jun 18 17:43:31 1998  Owen Taylor  <otaylor@gtk.org>
3930
3931         * gtk/gtkpixmap.[ch] (gtk_pixmap_set): Clear the background if
3932           necessary when switching to a masked pixmap. (Based on a patch
3933           from Ullrich Hafner <hafner@informatik.uni-wuerzburg.de>)
3934
3935 Thu Jun 18 16:18:10 1998  Owen Taylor  <otaylor@gtk.org>
3936
3937         * gtk/gtkeditable.[ch]: Added action signals for keyboard
3938           bindings. (move_cursor, kill_word, etc, etc, etc). 
3939
3940           removed the time argument from
3941           gtk_editable_cut/copy/paste_clipboard (source but not
3942           binary incompatible...) Instead get time from
3943           gtk_get_current_event ().
3944         
3945         * gtk/gtktext.c gtk/gtkentry.c: Support the new editable
3946           signals.
3947
3948 Thu Jun 18 02:52:09 1998  Owen Taylor  <otaylor@gtk.org>
3949
3950         Patches from Damon Chaplin <DAChaplin@email.msn.com>:
3951
3952         gtk/gtkfontsel.h: Fixed GtkFontSelectionClass - I forgot to change
3953              parent class to GtkNotebookClass when splitting the widget in
3954              two.  Also updated some comments.
3955
3956         gtk/gtkfontsel.c: Fixed bug when toggling 'Allow scaled bitmaps'
3957                button without a font selected.
3958
3959              Fixed bug in set_font_name - I hadn't updated the code to
3960                search for the style in the font_style clist - it was
3961                still assuming the style row was equal to its index,
3962                but it isn't any more.
3963         
3964              Changed 'Reset' button on filter page to 'Clear Filter'.
3965              Deleted old code relating to the old 'Filter Fonts' toggle
3966              Updated some comments.
3967              Cleared 'Actual Fontname' if no font is set.
3968
3969         gtk/testgtk.c: Fixed problem when 'OK' button is pressed - it was
3970              destroying the GtkFontSelection instead of the
3971              GtkFontSelectionDialog.
3972
3973 Thu Jun 18 02:15:31 1998  Owen Taylor  <otaylor@gtk.org>
3974
3975         * gtk/gtkmain.c (gtk_init): Added --g-fatal-warnings
3976           flag to make all warnings fatal errors.
3977
3978         * gtk/testthreads.c: moved <pthreads.h> include inside 
3979           #ifdef USE_PTHREADS
3980
3981 Thu Jun 18 01:37:31 1998  Owen Taylor  <otaylor@gtk.org>
3982
3983         * gtk/gtkenums.h gtk/gtkcontainer.[ch] gtk/gtkwidget.c 
3984           gtk/gtkmenu.c gtk/gtkviewport.c gtk/gtkwindow.c:
3985
3986         - Added new function gtk_container_set_resize_mode() for
3987           fine-grained control of where resize-queueing is done.
3988
3989         - Removed GtkContainer::need_resize and GtkWindow::move_resize
3990         - Added GtkContainer::check_resize to replace need_resize.
3991
3992         - Added function gtk_container_check_resize() to trigger
3993           queued resizes, and gtk_container_resize_children() to
3994           Figure which children need to be size-allocated. (logic
3995           moved from gtkwindow.c)
3996
3997         - Reorganized code in gtkwindow.c
3998         
3999         - Set the resize-mode for viewports so that resizes within
4000           a viewport don't propagate out of it. 
4001         
4002 1998-06-18  Federico Mena Quintero  <federico@nuclecu.unam.mx>
4003
4004         * gtk/gtkfontsel.c: Use pointer<->int conversion macros to avoid warnings.
4005
4006         * gtk/gtkaccellabel.c (gtk_accel_label_accelerator_width): Use
4007         g_return_val_if_fail, because the function *does* return a value.
4008
4009 Thu Jun 18 03:30:06 1998  Tim Janik  <timj@gtk.org>
4010
4011         * gtk/gtkaccellabel.h:
4012         * gtk/gtkaccellabel.c: new function gtk_accel_label_accelerator_width to
4013         request the size of the accelerator portion of an accel label.
4014         (gtk_accel_label_size_request): don't request for the accelerators size.
4015         (gtk_accel_label_expose_event): only draw the accelerator if we got
4016         enough extra space.
4017
4018         * gtk/gtkmenuitem.c (gtk_menu_item_size_request): request accelerator
4019         width from children.
4020
4021         * gtk/gtkmenu.c (gtk_menu_key_press): when adding an accelerator to an
4022         object (after removal has been requested) check if there is still an
4023         accelerator remaining to avoid adding two accelerators on an object.
4024         this can happen for locked accelerators (or accelerator-frozen widgets).
4025         (gtk_menu_size_request): feature childrens accelerator width in size
4026         requests.
4027
4028         * gtk/gtknotebook.c (gtk_notebook_menu_item_create): use
4029         gtk_widget_freeze_accelerators() for dynamically created menu items.
4030
4031         * gtk/gtksignal.h: 
4032         * gtk/gtksignal.c: new function gtk_signal_handler_pending_by_func()
4033         which will return a handler_id > 0 if the specified function is pending
4034         for `signal_id'.
4035
4036         * gtk/gtkwidget.h:
4037         * gtk/gtkwidget.c: remove gtk_widget_stop_accelerator, which was just
4038         a signal handler function to stop accelerator addition.
4039         added gtk_widget_freeze_accelerators and gtk_widget_thaw_accelerators
4040         which will prevent (undo) any accelerators from being added to or
4041         removed from a widget.
4042
4043 Wed Jun 17 21:59:09 1998  Stefan Jeske  <stefan@gtk.org>
4044
4045         * gtkspinbutton.h gtkspinbutton.c testgtk.c:
4046         Changed GtkSpinButtonUpdatePolicy enum, added keyboard
4047         acceleration, new API gtk_spin_button_set_snap_to_ticks.
4048
4049 Wed Jun 17 03:47:40 1998  Tim Janik  <timj@gtk.org>
4050
4051         * gdk/gdk.h:
4052         * gdk/gdkwindow.c: new function gdk_window_at_pointer() to retrive
4053         the current GdkWindow the pointer is on if there is any.
4054         
4055         * gtk/gtktable.c (gtk_table_init): preallocate a table with one row
4056         and one column, so we don't construction logic at all. changed a few
4057         (x < y - 1) to (x + 1 < y), to avoid failing evaluations due to
4058         unsigned int wraps.
4059
4060         * gtk/gtkwidget.c (gtk_widget_set_parent): removed left over code
4061         portion, added an additional check for parent != widget.
4062
4063         * more GtkType and macro fixups.
4064
4065 1998-06-16  Federico Mena Quintero  <federico@nuclecu.unam.mx>
4066
4067         * gtk/gtkhandlebox.c (draw_textured_frame): Now accepts an extra
4068         "clip" parameter, which is the clipping rectangle to use.  This
4069         eliminates the extremely annoying flicker when exposing parts of
4070         the handlebox.
4071
4072 Tue Jun 16 14:08:08 PDT 1998 Manish Singh <yosh@gimp.org>
4073
4074         * gtk/gtktable.c: fix from TimJ for off-by-one error in table
4075         resizing
4076
4077 Tue Jun 16 06:29:57 1998  Tim Janik  <timj@gtk.org>
4078
4079         * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_set_state): check for
4080         != 0 on the argument.
4081
4082         * gtk/gtktable.h: 
4083         * gtk/gtktable.c: new function gtk_table_resize() which allowes
4084         shrinking and expanding of tables. implementation of widget arguments
4085         and child arguments. many signedness corrections.
4086
4087 Mon Jun 15 04:15:03 1998  Tim Janik  <timj@gtk.org>
4088
4089         * gtk/gtkbox.c (gtk_box_set_child_packing): queue the resize for the box
4090         not only the child, otherwise we might end up taking away other
4091         childrens space after the resize.
4092
4093         * gtk/gtkitemfactory.c (gtk_item_factory_parse_menu_path): if we parse
4094         an unknown menu path from any source, that path must always be flagged
4095         as "modified", since we don't really know whether it has its default
4096         value or not.
4097
4098         * gtk/gtktree.c:
4099         * gtk/gtkpacker.c:
4100         * gtk/gtknotebook.c:
4101         * gtk/gtkmenushell.c:
4102         * gtk/gtklist.c:
4103         * gtk/gtkpaned.c:
4104         * gtk/gtkfixed.c: 
4105         * gtk/gtkbutton.c: implement gtk_*_child_type functions.
4106
4107         * gtk/gtkbox.h: 
4108         * gtk/gtkbox.c: type corrections for expand, fill, padding and pack_type
4109         arguments. implemented child arguments.
4110
4111         * more GtkType and macro fixups.
4112
4113 Sun Jun 14 16:30:02 1998  Tim Janik  <timj@gtk.org>
4114
4115         * gtk/gtkcheckbutton.h: GtkType and macro fixups.
4116
4117         * gtk/gtkclist.h: exported the prototypes for gtk_clist_get_vadjustment
4118         and gtk_clist_get_hadjustment.
4119
4120         * gtk/gtkcontainer.c:
4121         implementation of children arguments, new class member functions
4122         (child_type), (get_child_arg) and (set_child_arg) plus a new field
4123         n_child_args.
4124         (gtk_container_child_type): new function which returns the type of a
4125         child that the container expects for its next addition.
4126         (gtk_container_add_child_arg_type): new function to introduce a new
4127         child argument at class creation time.
4128         (gtk_container_query_child_args): new function to query all child
4129         arguments that are supported by a container class.
4130         (gtk_container_child_arg_getv): new fucntion to retrive the value of a
4131         child argument.
4132         (gtk_container_child_arg_setv): new function to set a child argument for
4133         a certain container and child combination.
4134         (gtk_container_add_with_args):
4135         (gtk_container_add_with_argv): new functions to feature addition of a
4136         new child in combination with the setting of certain child arguments.
4137
4138         * gtk/gtktypeuitils.c (gtk_type_class_init): feature initialization of
4139         GtkContainerClass.n_child_args, similar to the GtkObjectClass members.
4140         this should really be done through class cretion hooks some day.
4141
4142         * gtk/gtkcontainer.c: changed type of border_width from gint16 to
4143         guint : 16.
4144
4145         * gtk/gtkpacker.h:
4146         * gtk/gtkpacker.c: renamed all PadX and PadY to pad_x and pad_y to
4147         follow the gtk convention for lower case variable names (important
4148         for language wrappers and widget arguments), and made them guint : 16.
4149
4150         * examples/packer/pack.c: adaptions for the case converted GtkPacker
4151         fields.
4152
4153 Fri Jun 12 16:33:23 1998  Tim Janik  <timj@gtk.org>
4154
4155         * gtk/gtkitemfactory.c (gtk_item_factory_parse_rc_scanner): do not
4156         change the character pair for single line comments.
4157         (gtk_item_factory_parse_rc): use the cpair_comment_signle specified in
4158         GtkItemFactoryClass.
4159         (gtk_item_factory_parse_rc_string): likewise.
4160
4161 Mon Jun 15 23:39:44 1998  Owen Taylor  <otaylor@gtk.org>
4162
4163         * gtk/gtkfontsel.[ch] (gtk_font_selection_dialog_init): Moved font
4164         lists from the klass structure to a static structure
4165         in gtkfontsel.c; cleans up global the namespace.
4166
4167 Mon Jun 15 22:16:10 1998  Owen Taylor  <otaylor@gtk.org>
4168
4169         * gtk/makeenums.pl (parse_entries): Fix (untriggered)
4170         bug with /*< skip >*/ and remove warning.
4171         
4172 Mon Jun 15 20:14:09 1998  Owen Taylor  <otaylor@gtk.org>
4173
4174         * gtk/Makefile.am: Made the gtkmarshal.* generation
4175         rules maintainer-only.
4176
4177 Mon Jun 15 16:29:45 1998  Owen Taylor  <otaylor@gtk.org>
4178
4179         * gdk/gdktypes.h gdk/gdkprivate.h gtk/gtk*.h 
4180           gtk/Makefile.am gtk/makenums.pl 
4181
4182         Removed out the G_ENUM/FLAGS mechanism in favor
4183         of a perl script that parses the standard headers
4184         (with occasional /*< nick=foo >*/ style overrides)
4185         and extracts the enumerations.
4186
4187           gtk/maketypes.awk: Small improvments to the
4188           translation of names. (Avoid splitting gc into
4189           g_c_.)
4190         
4191 Mon Jun 15 16:25:44 1998  Owen Taylor  <otaylor@gtk.org>
4192
4193         * gtk/gtk.h gtk/gtkfontsel.[ch]: 
4194         Damon Chaplin's <DAChaplin@email.msn.com> Font selection widget.
4195         
4196 Mon Jun 15 15:58:34 1998  Owen Taylor  <otaylor@gtk.org>
4197
4198         * gtk/gtkentry.c:
4199         - Restored gtk_entry_adjust_scroll to static 
4200         - Changed text positioning code so that we always
4201           display as large a portion of the text as possible.
4202
4203 Mon Jun 15 15:42:12 1998  Owen Taylor  <otaylor@gtk.org>
4204
4205         * gtk/gtktext.c (gtk_text_finalize): Free internal
4206         structures of text widget. Also, unreference pixmaps
4207         when unrealizing.
4208         
4209 Sat Jun 13 19:14:39 1998  Owen Taylor  <otaylor@gtk.org>
4210
4211         * gdk/gdkinputcommon.h (gdk_input_device_new): Change
4212         3.3.1 bug workaround to number keys starting at 1.
4213
4214 Sat Jun 13 11:56:57 1998  Owen Taylor  <otaylor@gtk.org>
4215
4216         * docs/gtk_tut.sgml: Fixed urls for complete example
4217         source for scribble+widget-writing examples.
4218
4219 Sat Jun 13 11:48:26 1998  Owen Taylor  <otaylor@gtk.org>
4220
4221         * gdk/gdkpixmap.c (gdk_pixmap_extract_color): 
4222         Patch from Tom Bech <tomb@ii.uib.no>, to handle color
4223         specs of the form c #abcdef [ more keys ] properly.
4224
4225 Sat Jun 13 10:51:56 1998  Stefan Jeske  <stefan@gtk.org>
4226
4227         * gtkspinbutton.h gtkspinbutton.c testgtk.c 
4228         (gtk_spin_button_set_shadow_type):
4229         New API to set the shadow type of the arrow panel.
4230
4231 Fri Jun 12 21:20:42 1998  Owen Taylor  <otaylor@gtk.org>
4232
4233         * gtk/gtkoptionmenu.c (gtk_option_menu_expose): Removed
4234         code for drawing the child in two places at once. Unfortunately,
4235         not only does it not work anymore (because reparenting has
4236         been fixed), but it also triggers reparent/expose loops
4237         in some cases.
4238
4239         * gtk/gtkoptionmenu.c (gtk_option_menu_remove_contents): Removed
4240         an unecessary unrealize.
4241
4242 Fri Jun 12 21:18:56 1998  Owen Taylor  <otaylor@gtk.org>
4243
4244         * gdk/gdkwindow.c (gdk_window_reparent): Update the
4245           old and new parents' child window lists properly.
4246
4247 Fri Jun 12 09:24:47 1998  Tim Janik  <timj@gtk.org>
4248
4249         * gtk/gtkpacker.h:
4250         * gtk/gtkpacker.c: renamed enum GtkAnchor and GtkSide to GtkAnchorType
4251         and GtkSideType, to be consistent with the rest of Gtk's enum
4252         definitions. wrapped the enum definitions with the G_ eunm wrappers.
4253         spelled out the GTK_ANCHOR_* enum values, since single letters don't
4254         work out corectly as nick-names (left the old values as aliases).
4255         some signdness corrections (border-width, spacing), could stand more.
4256
4257 Thu Jun 11 14:38:33 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
4258
4259         * gtk/gtkpacker.c, gtk/gtkpacker.h, gtk/gtk.h, gtk/Makefile.am: 
4260           Added gtkpacker
4261
4262         * examples/packer/pack.c, examples/packer/Makefile: Added
4263           gtkpacker example
4264
4265 Thu Jun 11 13:09:00 1998  Owen Taylor  <otaylor@gtk.org>
4266
4267         * gtk/gtktext.c (remove_cache_line): Fixed broken
4268         list-removal code.
4269
4270         * gtk/gtktext.c: (gtk_text_delete_(forward/backward)_cahr)
4271         Check bounds before deleting.
4272
4273 Wed Jun 10 23:21:33 1998  Owen Taylor  <otaylor@gtk.org>
4274
4275         * autogen.sh: Support ACLOCAL_FLAGS
4276
4277 Wed Jun 10 20:54:37 1998  Owen Taylor  <otaylor@gtk.org>
4278
4279         * gtk-config.in: Added missing quotes.
4280
4281 Wed Jun 10 18:44:22 PDT 1998 Manish Singh <yosh@gimp.org>
4282
4283         * gtk/gtkfeatures.in: #define GTK_HAVE_ACCEL_GROUP
4284
4285 1998-06-10  Raja R Harinath  <harinath@cs.umn.edu>
4286
4287         * acconfig.h (GTK_COMPILED_WITH_DEBUGGING): Renamed from
4288         G_COMPILED_WITH_DEBUGGING.
4289
4290         * configure.in (fd_set): Explain check better.
4291
4292         * acinclude.m4: New file.  Contains `libtool.m4' from libtool-1.2,
4293         the version from which gtk+'s libtool forked.  Needed for people
4294         who use post-1.2 alphas of libtool.
4295
4296 Wed Jun 10 19:36:35 1998  Owen Taylor  <otaylor@gtk.org>
4297
4298         * glib/* Moved to glib module
4299
4300         * INSTALL Makefile.am acconfig.h autogen.sh configure.in
4301           gtk-config.in gtk.m4 gdk/Makefile.am gtk/Makefile.am
4302
4303           configuration changes for the above:
4304          
4305           - Use AM_PATH_GLIB by default to find glib; also accept
4306             a --with-glib option for using an uninstalled glib.
4307          
4308           - Put --enable-debug information into config.h so
4309             that we rebuild when it changes. (was in glibconfig.h)
4310
4311 Wed Jun 10 22:23:27 1998  Lars Hamann  <lars@gtk.org>
4312
4313         * gtk/gtkctree.c (draw_row): adapted clist pixmap clipping
4314
4315         * gtk/gtknotebook.h (struct _GtkNotebookClass):
4316         * gtk/gtknotebook.c (gtk_real_notebook_switch_page): 
4317         added missing argument (according to Joseph Coleman's bug report)
4318
4319         * gtk/gtknotebook.c (gtk_notebook_set_focus_child): new class
4320         function to fix notebook focus handling
4321         
4322 Wed Jun 10 12:57:03 1998  Owen Taylor  <otaylor@gtk.org>
4323
4324         * gdk/gdkcc.c glib/ghash.c glib/glib.h glib/gstring.c
4325           glib/gutils.c glib/testglib.c glib/gdataset.c
4326           gtk/gtkaccelgroup.c gtk/gtkmain.c gtk/gtksignal.c
4327           gtk/gtktext.c gtk/gtkbindings.c:
4328
4329          renamed g_const_pointer => gconstpointer
4330
4331 Wed Jun 10 06:25:17 1998  Tim Janik  <timj@gtk.org>
4332
4333         * gdk/gdk.c (gdk_init): prevent gdk_init() from segfaulting when
4334         invoked with (NULL, NULL); (this worked sometime ago).
4335
4336         * gtk/gtktypeutils.h: 
4337         * gtk/gtktypeutils.c: enum and flags type creation can now be done
4338         through gtk_type_register_enum() and gtk_type_register_flags(),
4339         which allow to specify the enum value arrays directly.
4340         the NULL terminated value arrays can be retrived through
4341         gtk_type_enum_get_values() and gtk_type_flags_get_values();
4342         (gtk_type_children_types): new function to query derived types.
4343
4344 1998-06-09  Raja R Harinath  <harinath@cs.umn.edu>
4345
4346         * gtk/Makefile.am (gtkmarshal.c gtkmarshal.h): Pass $srcdir in
4347         environment to genmarshal.pl.
4348         (gtk.defs,gtktypebuiltins*): Add $(srcdir) where needed (in the
4349         rule), and removed it where not needed (in the dependencies).
4350
4351         * gtk/genmarshal.pl: Look for `gtkmarshal.list' in $srcdir.
4352
4353 Tue Jun  9 18:44:57 1998  Owen Taylor  <otaylor@gtk.org>
4354
4355         * gtk/gtkobject.c: Removed g_object_pointer_hash, which
4356         was just g_direct_hash.
4357
4358 Mon May 25 19:54:20 1998  Owen Taylor  <otaylor@gtk.org>
4359
4360         * configure.in: x_libs=, not $x_libs=. Enough said.
4361           (Case only hit for --disable-xshm)
4362         
4363 Mon May 25 12:08:14 1998  Owen Taylor  <otaylor@gtk.org>
4364
4365         * configure.in (LDFLAGS): Add to $CFLAGS and $LDFLAGS
4366           when testing for X libraries, don't replace them. Because
4367           the user might have specified the path to the X libraries
4368           themself before running configure.
4369
4370         * examples/**.c: Changed all gpointer * to gpointer
4371         
4372 1998-06-09  Federico Mena Quintero  <federico@nuclecu.unam.mx>
4373
4374         * gtk/gtkhandlebox.h (struct _GtkHandleBox): Removed the
4375         fleur_cursor field.  Now the cursor is created/destroyed on demand
4376         by the routines that need it.
4377
4378         * gtk/gtkhandlebox.c (gtk_handle_box_button_changed): 
4379         (gtk_handle_box_motion): The fleur cursor is created and destroyed
4380         only when needed.
4381
4382 Tue Jun  9 09:57:09 1998  Tim Janik  <timj@gtk.org>
4383
4384         * gtk/gtktypeutils.h: 
4385         * gtk/gtktypeutils.c: renamed the newly created gtk_enum_get_values and
4386         gtk_enum_set_values to gtk_type_enum_get_values and
4387         gtk_type_enum_set_values respectively, since they are actually type
4388         system features.
4389
4390         * gtk/gtktypebuiltins_evals.c: oops, screwed the NULL termination with
4391         my last commit. ;)
4392
4393 Tue Jun  9 01:57:23 1998  Tim Janik  <timj@gtk.org>
4394
4395         * gtk/gtkselection.h: 
4396         * gtk/gtkselection.c: new functions gtk_selection_data_copy and
4397         gtk_selection_data_free.
4398
4399         * gtk/gtkwidget.c (gtk_widget_class_init): fixed gtk_signal_new() call
4400         for "selection_received", which was completely bogus.
4401         * other fixups to gtk_signal_new() calls all over the place.
4402
4403         * gtk/gtktypebuiltins.h: types as variables (formerly macros).
4404         * gtk/gtktypebuiltins_vars.c: type variable implementations.
4405         * gtk/gtktypebuiltins_ids.c: array entries for builtin type
4406         declarations.
4407         * gtk/gtktypebuiltins_evals.c: enum value arrays.
4408         * gtk/gtk-boxed.defs: gtk and gdk structure definitions, used to build
4409         gtk.defs.
4410         * gtk/gtk.defs: generated file with scheme syntax for type definitions
4411         of gtk and gdk structures and enums.
4412         * gtk/gtktypeutils.h: 
4413         * gtk/gtktypeutils.c: reworked type ids, so they are variables not
4414         macros anymore (this fixes binary incompatibility with new enum
4415         definitions).
4416
4417         * gtk/gtkwidget.c (gtk_widget_real_key_press_event): proccess possible
4418         key bindings for this widget.
4419         * gtk/gtkwindow.c (gtk_window_key_press_event): chain parent class'
4420         handler.
4421
4422         * gtk/gtkobject.h:
4423         * gtk/gtkobject.c: removed gtk_object_class_new_user_signal_no_recurse()
4424         again. new functions gtk_object_class_user_signal_new () and
4425         gtk_object_class_user_signal_newv (), to feature the GtkSignalRunType
4426         flag on the signal creation.
4427
4428 Mon Jun  8 20:52:21 1998  Tim Janik  <timj@gtk.org>
4429
4430         * gtk/gtkcontainer.h: new signal GtkContainer::set_focus_child.
4431
4432 Mon Jun  8 02:52:37 1998  Tim Janik  <timj@gtk.org>
4433
4434         * gdk/gdkprivate.h: 
4435         * gdk/gdktypes.h: 
4436         * gtk/gtkprivate.h: 
4437         * gtk/gtkwidget.h: 
4438         * gtk/gtkobject.h: wrapped enum definitions with glib macros.
4439
4440         * reworked enum value array generation code. gtk.defs is a generated
4441         file now.
4442
4443 Sun Jun  7 14:34:31 1998  Tim Janik  <timj@gtk.org>
4444
4445         * gtk/gtkitemfactory.c (gtk_item_factory_create_menu_entries): feature
4446         check menu items in the compatibility code (this required me to remove
4447         the "<check>" part from the menu item name, grrr).
4448
4449 1998-06-07  Marius Vollmer  <mvo@zagadka.ping.de>
4450
4451         * gdk/gdk.h (gdk_color_copy, gdk_color_free): New prototypes.
4452         * gdk/gdk.c (gdk_color_copy, gdk_color_free): New functions.
4453         
4454 Sun Jun  7 10:53:02 1998  Tim Janik  <timj@gtk.org>
4455
4456         * gtk/gtkitemfactory.h: 
4457         * gtk/gtkitemfactory.c: further additions to fit the gimp's code.
4458         additions to the dumping code to feature GtkPatternSpec.
4459         even found a bug to fix in the original code ;)
4460         
4461 Sun Jun  7 09:36:04 1998  Tim Janik  <timj@gtk.org>
4462
4463         * gtk/gtkitemfactory.c: support different types of callbacks, to
4464         maintain existing code.
4465
4466 Sat Jun  6 06:01:24 1998  Tim Janik  <timj@gtk.org>
4467
4468         * gtk/gtksignal.c (gtk_signal_emitv): fixed an assertment.
4469
4470         * gtk/makeenums.awk: a script to generate the GtkEnumValue arrays from,
4471         this should eventually be done by gentypeinfo.el somewhen.
4472         * gtk/gtkenumvalues.c: new generated file to hold GtkEnumValue arrays.
4473
4474         * gtk/gtktypeutils.h: new function gtk_enum_values() to retrive all the
4475         enum values of an enum type.
4476
4477         * gtk/gtk.defs:
4478         * gtk/gtkcurve.h: 
4479         * gtk/gtkobject.h: 
4480         * gtk/gtkprivate.h: 
4481         * gtk/gtkwidget.h:
4482         * gtk/gtkenums.h: 
4483         brought enum/flags definitions in sync, added a few more enum
4484         definitions for bindings and pattern matching.
4485
4486         * some more macro and GtkType fixups in various places.
4487
4488         * gdk/gdktypes.h (enum): added a new value GDK_AFTER_MASK, which is used
4489         as a key-release modifier for the binding system.
4490
4491 Fri Jun  5 06:06:06 1998  Tim Janik  <timj@gtk.org>
4492
4493         * gtk/gtkmenu.h (struct _GtkMenu): removed GList*children, since it
4494         was a stale list pointer that is already present in GtkMenuShell.
4495
4496         * gtk/gtkmenushell.h (struct _GtkMenuShellClass): added a signal
4497         GtkMenuShell::selection_done which is emitted after the menu shell
4498         poped down again and all possible menu items have been activated.
4499
4500 Thu Jun  4 02:20:42 1998  Tim Janik  <timj@gtk.org>
4501
4502         * gtk/gtkmenushell.c (gtk_menu_shell_button_release): flush the x-queue
4503         before activation of the menuitem, so the menu is actually taken off the
4504         screen prior to any menu item activation.
4505
4506         * gtk/gtkctree.c (gtk_ctree_get_row_data): allow function invokation
4507         for NULL nodes.
4508
4509         * gtk/gtkwidget.h:
4510         * gtk/gtkwidget.c: new function gtk_widget_stop_accelerator to stop
4511         the emission of the "add-accelerator" signal on a widget. this is
4512         usefull to prevent accelerator installation on certain widgets.
4513
4514         * gtk/gtknotebook.c (gtk_notebook_menu_item_create): keep the menu
4515         labels left justified, by setting their alignment. stop accelerator
4516         installation for the menu items, since we use dynamic menus.
4517
4518 Wed Jun  3 06:41:22 1998  Tim Janik  <timj@gtk.org>
4519
4520         * gtk/gtkmenufactory.c: adaptions to use the new accel groups. people
4521         should *really* use GtkItemFactory. this is only for preserving source
4522         compatibility where possible, use of GtkMenuFactory is deprecated as of
4523         now.
4524
4525         * gtk/gtkobject.h (gtk_object_class_add_user_signal): new function
4526         to create user signals of type GTK_RUN_NO_RECURSE. don't know why i
4527         missed this possibility when i added gtk_object_class_add_user_signal
4528         in late january.
4529
4530         * gtk/gtkmain.c (gtk_init): ignore subsequent function calls.
4531
4532 Sun May 31 07:31:09 1998  Tim Janik  <timj@gtk.org>
4533
4534         * gtk/gtkaccelgroup.h: 
4535         * gtk/gtkaccelgroup.c: new implementation of the accelerator concept.
4536
4537         * gtk/gtkaccellabel.h: 
4538         * gtk/gtkaccellabel.c: new widget derived from GtkLabel whitch features
4539         display of the accelerators associated with a certain widget.
4540
4541         * gtk/gtkitemfactory.h: 
4542         * gtk/gtkitemfactory.c: new widget, item factory with automatic rc
4543         parsing and accelerator handling.
4544
4545         * gtk/gtkmenu.c (gtk_menu_reposition): new function to care for
4546         positioning a menu.
4547         (gtk_menu_map): removed the allocation code.
4548         (gtk_menu_size_allocate): care for redrawing of children and resize
4549         our widget->window correctly.
4550         (gtk_menu_key_press): feature the new accelerator groups.
4551
4552         * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): reposition the
4553         submenu if neccessary.
4554
4555         * gtk/gtkmenuitem.c:
4556         * gtk/gtkcheckmenuitem.c:
4557         * gtk/gtkradiomenuitem.c: use GtkAccelLabel in the *_new_with_label()
4558         function variants.
4559
4560         * gdk/gdk.c:
4561         (gdk_keyval_from_name): 
4562         (gdk_keyval_name): new functions for keyval<->key-name associations.
4563         (gdk_keyval_to_upper): 
4564         (gdk_keyval_to_lower): 
4565         (gdk_keyval_is_upper): 
4566         (gdk_keyval_is_lower): new functions to check/translate keyvalues with
4567         regards to their cases.
4568
4569 Wed May 27 00:48:10 1998  Tim Janik  <timj@gtk.org>
4570
4571         * gtk/gtkwidget.c (gtk_widget_class_path): new function to calculate a
4572         widget's class path.
4573         (gtk_widget_path): new function to calculate a widget's name path.
4574
4575         * gtk/gtkrc.c: newly introduced GtkPatternSpec structures to speed up
4576         pattern matching, features reversed pattern matches.
4577
4578 Thu Jun  4 12:12:11 BST 1998  Tony Gale  <gale@gtk.org>
4579
4580         * examples/extract.sh, examples/extract.awk:
4581           New files to automagically extract code examples from the
4582           tutorial.
4583
4584 Tue Jun  2 20:04:45 1998  Lars Hamann  <lars@gtk.org>
4585
4586         * gtk/gtknotebook.c (gtk_notebook_page_select) (gtk_notebook_focus)
4587         * gtk/gtkcontainer.c (gtk_container_focus_move):
4588         reversed test sequence for GTK_WIDGET_CAN_FOCUS and GTK_IS_CONTAINER
4589
4590 Tue Jun  2 13:04:06 BST 1998  Tony Gale  <gale@gtk.org>
4591
4592         * docs/gtk_tut.sgml: minor changes to support auto
4593           extraction of example code
4594
4595 Mon Jun  1 12:47:56 BST 1998  Tony Gale  <gale@gtk.org>
4596
4597         * docs/gtk_tut_it.sgml: Update of Italian Tutorial
4598           to Tutorial of 24th May, from Daniele Canazza <dcanazz@tin.it>
4599
4600 Fri May 29 13:53:57 BST 1998  Tony Gale  <gale@gtk.org>
4601
4602         * docs/gtk_tut.sgml:
4603           - new section on Events
4604           - change all delete_event callbacks to include
4605             a GdkEvent parameter
4606           - clean up the formatting
4607
4608         * examples - helloworld.c, helloworld2.c, notebook.c,
4609           packbox.c, pixmap.c, progressbar.c, radiobuttons.c,
4610           rulers.c, table.c, wheelbarrow.c: change all delete_event
4611            callbacks to include a GdkEvent parameter.
4612
4613 1998-05-26  Federico Mena Quintero  <federico@nuclecu.unam.mx>
4614
4615         * gdk/gdktypes.h (GdkCrossingMode): New enumeration for the "mode"
4616         field of crossing events.
4617         (struct _GdkEventCrossing): Added the following fields: time, x,
4618         y, x_root, y_root, mode, focus, state.
4619
4620         * gdk/gdk.c (gdk_event_translate): Fill in the new fields of the
4621         crossing event structure.
4622
4623         * gtk/gtkfeatures.h (GDK_HAVE_FULL_CROSSING_EVENT): Annotate
4624         changes to the crossing event structure.
4625
4626 Tue May 26 15:51:28 1998  Radek Doulik  <gis@academy.cas.cz>
4627
4628         * gdk/gdk.c: include gdkx.h always (for GDK_ROOT_WINDOW)
4629
4630 Sun May 24 12:11:38 BST 1998  Tony Gale  <gale@gtk.org>
4631
4632         * docs/gtk_tut.sgml:
4633            - GtkTooltips, update to current API
4634            - change all 'gpointer *data' to 'gpointer data'
4635            - other minor changes
4636
4637 Sat May 23 21:54:05 1998  Owen Taylor  <otaylor@gtk.org>
4638
4639         * configure.in (LDFLAGS): Bomb out with a moderately
4640           helpful message if detection of X libraries fails.
4641
4642 Sat May 23 18:57:06 1998  Owen Taylor  <otaylor@gtk.org>
4643
4644   [ Combination of:
4645      gtk-rrh-980412-0.patch (Raja R Harinath <harinath@cs.umn.edu>)
4646      gtk-jbuhler-980516-0 (Jeremy Buhler <jbuhler@cs.washington.edu>) ]
4647
4648         * gdk/gdk.h gdk/gdkcc.c gdk/gdkfont.c gtk/gtkmain.c
4649           gtk/gtksignal.c gtk/gtktext.c: 
4650
4651           Fixups for warnings from adding const to type of GHashFunc,
4652           GCompareFunc
4653         
4654         * gtk/gtkcombo.c (gtk_combo_entry_key_press): Minor style/
4655           ansi-warnings fixups.
4656
4657 Sat May 23 17:48:58 1998  Owen Taylor  <otaylor@gtk.org>
4658
4659         * gtk/gtkeventbox.c (gtk_event_box_size_allocate): 
4660         Locate child at (border_width,border_width), not
4661         (2*border_width,2*border_width). [ The border is _outside_
4662         widget->window ]
4663         
4664         * gdk/gdk.[ch]: added gdk_screen_width_mm/gdk_screen_height_mm
4665           functions. [From: Alexander Larsson <alla@lysator.liu.se> ]
4666
4667 1998-05-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>
4668
4669         * gtk/gtkfeatures.h.in: Define GTK_HAVE_RC_SET_IMAGE_LOADER, to be
4670         used in gnome-libs
4671
4672 1998-05-22    <sopwith@redhat.com>
4673
4674         * gtk/gtkeventbox.c: Pass size_allocate on to the child
4675         regardless of whether it is visible or not. Also
4676         locate child at (border_width,border_width), not (0,0)
4677
4678 Fri May 22 03:02:40 1998  Owen Taylor  <otaylor@gtk.org>
4679
4680         * gtk/gtkhandlebox.c: Added style_set handler.
4681
4682 Fri May 22 02:55:57 1998  Owen Taylor  <otaylor@gtk.org>
4683  [ From: Chris Lahey  <clahey@umich.edu> ]
4684         
4685         * gtk/gtkeditable.c, gtk/gtkeditable.h,
4686           gtk/gtktext.c, gtk/gtkentry.c: Added get_position,
4687           and set_position functions to get and set the cursor position.
4688
4689         * gtk/gtkeditable.c: Restored "insert_text" and "delete_text" to
4690           signal status. Make GtkText do user-controlled insertion
4691           and deletion through the Editable widget so that these
4692           signals are properly emitted.
4693
4694         * gtk/gtkentry.c: Changed gtk_entry_set_visibility to 
4695           display asterisks instead of empty space when visible = FALSE)
4696
4697 Fri May 22 08:51:10 CEST 1998  Paolo Molaro <lupus@debian.org>
4698
4699         * gtk/gtkclist.c: use GTK_TYPE_GDK_EVENT in (un)?select_row
4700         signal.
4701
4702 1998-05-21    <sopwith@redhat.com>
4703
4704         * gtk/gtkrc.[ch]: gtk_rc_set_image_loader() - allow apps to set a
4705         custom routine for loading images specified in gtkrc's.
4706
4707 Tue May 19 23:41:04 1998  Owen Taylor  <otaylor@gtk.org>
4708
4709         * configure.in: Use pthread_attr_init() as a test function,
4710         since most of the rest of -lpthread is macros on DU4.
4711
4712 Tue, 19 May 1998 09:03:03 +0200  Paolo Molaro <lupus@debian.org>
4713
4714         * gtk/gtkcombo.c: implemented completion in the entry.
4715
4716 1998-05-18    <sopwith@moebuis.labs.redhat.com>
4717
4718         * gtk/gtk{debug.h,signal.c,main.c}: Allow GTK_DEBUG=signals
4719
4720 Mon May 18 04:01:41 1998  Tim Janik  <timj@gtk.org>
4721
4722         * gtk/gtkwidget.c (gtk_widget_class_init): changed "proximity-in-event",
4723         "drop-data-available-event", "drop-enter-event" and "drop-leave-event"
4724         to be of runtype GTK_RUN_LAST.
4725
4726         * gtk/gtkcontainer.c (gtk_container_class_init): likewise for
4727         "need-resize".
4728
4729         * gtk/gtktipsquery.c (gtk_tips_query_class_init): likewise for
4730         "widget-selected".
4731
4732 Sat May 16 09:04:32 1998  Tim Janik  <timj@gtk.org>
4733
4734         * gtk/gtkfilesel.c (gtk_file_selection_key_press): g_strdup() the
4735         text retrived from GtkEntry. only intercept the Tab key if there
4736         was some text to complete.
4737
4738 Fri May 15 21:16:54 1998  Owen Taylor  <otaylor@gtk.org>
4739
4740         Basic thread-awareness:
4741
4742         * acconfig.h configure.in: New option --with-threads=[yes/posix/no]
4743
4744         * gdk/Makefile.am gdk/gdkthreads.c: Added new functions 
4745         gdk_threads_[init/enter/leave] for applications, plus
4746         gdk_threads_wake to wake the mainloop thread out of
4747         the select().
4748
4749         * gtk/Makefile.am: gtk/testthreads.c: Test program for threads
4750
4751 Fri May 15 12:08:48 1998  Owen Taylor  <otaylor@gtk.org>
4752
4753         * gtk/testgtk.c (list_clear): Account for the fact
4754         that gtk_list_clear_items is not inclusive. (Clears
4755         [start, end))
4756
4757 Fri May 15 12:31:27 1998  rodo  <doulik@karlin.mff.cuni.cz>
4758
4759         * gdk/gdk.c: include gdkkeysyms.h always
4760         
4761
4762 Fri May 15 09:44:10 1998  Tim Janik  <timj@gtk.org>
4763
4764         * gtk/gtkwidget.h (struct _GtkWidgetClass): corrected returntype of
4765         the visibility_notify_event method and changed method order.
4766
4767 1998-05-14    <sopwith@moebuis.labs.redhat.com>
4768
4769         * gtk/gtkwidget.[ch] Added visibility_notify_event to GtkWidget
4770
4771 Thu May 14 03:04:43 1998  Tim Janik  <timj@gtk.org>
4772
4773         * gtk/gtk.defs: added GtkButtonBoxStyle and GtkOrientation definitions
4774         from Olli Helenius <ollhel@batman.jytol.fi>.
4775
4776         * gtk/gtktypeutils.c (gtk_type_free): new function to take care about
4777         freeing types.
4778         (gtk_type_set_chunk_alloc): new function to allow allocation of new
4779         types from a mem_chunk of certain size (n_chunks==0 indicates allocation
4780         thorugh g_malloc).
4781
4782         * gtk/gtkobject.c (gtk_object_finalize): free an object through
4783         gtk_type_free().
4784
4785         * gtk/gtkbutton.c (gtk_button_get_type): set chunk preallocation for
4786         GtkButtons to 16.
4787         * gtk/gtkmenuitem.c (gtk_menu_item_get_type): likewise (16).
4788         * gtk/gtklabel.c (gtk_label_get_type): likewise (32).
4789
4790 Wed May 13 00:53:52 1998  Owen Taylor  <otaylor@gtk.org>
4791
4792         * gtk/gtktypeutils.c gtk/gtksignal.c gdk/gdkdnd.c: A few more 
4793           GPOINTER_TO_UINT fixes.
4794
4795         * gtk/gtksignal.c: Include <string.h> for memset.
4796
4797 Tue May 12 23:10:53 1998  Owen Taylor  <otaylor@gtk.org>
4798         (Maximilian Bisani <bisani@kawo2.rwth-aachen.de>: gtk-bisani-980320-0)
4799
4800         * gtk/gtkvruler.c gtk/gtkhruler.c gtk/gtkruler.h: 
4801         Cleanups, comments and the ability to have rulers with 
4802         a reversed direction.
4803
4804 Tue May 12 19:37:55 1998  Owen Taylor  <otaylor@gtk.org>
4805
4806         * gtk/gtkrc.c (gtk_rc_parse_file): Fixed up a stat()
4807         that Sopwith missed when changing stat => lstat.
4808
4809 Tue May 12 19:19:29 1998  Owen Taylor  <otaylor@gtk.org>
4810
4811         * gtk/gtkinputdialog.c gtk/gtkgamma.c gtk/gtkrc.c
4812           gtk/gtkcolorsel.c gtk/gtkclist.c gtk/testgtk.c: Use
4813         GPOINTER_TO_INT/GINT_TO_POINTER macros where appropriate.
4814
4815         * gdk/gdk.c: Print sizeof() results
4816         as g_print("%ld", (glong)sizeof(foo)), to deal with
4817         sizeof() being long on Alpha's.
4818
4819         * gtk/testgtk.c: include <string.h> for strlen
4820
4821 Tue May 12 16:56:35 1998  Owen Taylor  <otaylor@gtk.org>
4822         (James A <jamesa@demon.net> : gtk-jamesa-980511-4.patch)
4823         
4824         * gtk/gtkbbox.h gtk/gtkcolorsel.h gtk/gtkvbbox.h:
4825         Changed #include "gtkfoo.h" to #include <gtk/gtkfoo.h>
4826
4827         * gtk/gtkwindow.[ch]: Added const to gtk_window_set_wmclass
4828
4829 Tue May 12 15:16:10 1998  Owen Taylor  <otaylor@gtk.org>
4830         (From: Christopher James Lahey <clahey@umich.edu>)
4831         
4832         * gtk/gtkbutton.[ch] gtk/gtkenums.h gtk/gtktoolbar.[ch]
4833           gtk/testgtk.c:
4834
4835         Added 'relief' for buttons - they can be either GTK_RELIEF_NORMAL
4836         (old style), or GTK_RELIEF_NONE - no relief in the NORMAL
4837         state. Added gtk_toolbar_{set,get}_button_relief, which set/get
4838         the default relief for the toolbars buttons. Added an
4839         toggle for the toolbar test in testgtk.c.
4840
4841 Tue May 12 00:24:59 1998  Owen Taylor  <otaylor@gtk.org>
4842
4843         * docs/gtk-config.1: Rewritten and hopefully improved.
4844
4845 Mon May 11 20:26:39 PDT 1998 Manish Singh <yosh@gimp.org>
4846
4847         * docs/Makefile.am
4848         * docs/gtk-config.1: added man page for gtk-config by Ben Gertzfield
4849
4850 1998-05-11  Federico Mena Quintero  <federico@nuclecu.unam.mx>
4851
4852         * gtk/gtkpreview.c (gtk_preview_realize): Create the window using
4853         GtkPreview's visual and colormap, otherwise things can BadMatch.
4854
4855         * gtk/testgtk.c (create_color_preview): 
4856         (create_gray_preview): Removed pushing/popping of visual/colormap
4857         now that GtkPreview does things correctly.
4858
4859         * gtk/gtkcolorsel.c (gtk_color_selection_draw_wheel_frame): 
4860         (gtk_color_selection_draw_wheel): Pick the style from the correct
4861         place (the colorsel->wheel_area widget) so that the GCs will match
4862         with where we are going to paint to.
4863
4864         * gtk/testgtk.c (create_color_selection): Removed pushing/popping
4865         of visual/colormap now that GtkColorSelection does things the
4866         right way.
4867
4868 Mon May 11 21:04:51 1998  Owen Taylor  <otaylor@gtk.org>
4869
4870         * gtk/gtkwindow.c (gtk_real_window_move_resize): Use the
4871         previously unused window->need_resize flag to mark if a window's
4872         descendents changed size while the window was not visible. In this
4873         case, when the window becomes visible, we reallocate everything,
4874         since we didn't keep track of what actually changed.
4875
4876         (Fixes bug where changing the popdown strings of a
4877         combo to something of the same length caused them to
4878         blank out, as reported by Todd Dukes <tdukes@ibmoto.com>)
4879
4880 Tue May 12 02:31:57 1998  Tim Janik  <timj@gtk.org>
4881
4882         [security audit by Alan Cox]
4883
4884         * gtk/gtkobject.c (gtk_object_get_arg_type): check for arg_name to not
4885         exceed maximum assumed size.
4886
4887         * gtk/gtkmenufactory.c (gtk_menu_factory_create): check that `path' does
4888         not exceed maximum assumed size.
4889         (gtk_menu_factory_remove): likewise.
4890         (gtk_menu_factory_find_recurse): likewise.
4891
4892 Mon May 11 23:53:38 1998  Tim Janik  <timj@gtk.org>
4893
4894         * gtk/gtkwidget.c (gtk_widget_queue_resize): queue the idle_sizer with
4895         GTK_PRIORITY_INTERNAL - 1, so widgets get first resized and then
4896         redrawn if that is still neccessary. don't allow queueing of already
4897         destructed objects.
4898         (gtk_widget_idle_sizer): proccess the resize queue in a save manner, so
4899         widgets which are in the queue can be destroyed safely, handle
4900         requeueing properly.
4901         (gtk_widget_idle_draw): proccess the redraw queue in a save manner, so
4902         widgets which are in the queue can be destroyed/unrealized safely.
4903
4904 Mon May 11 17:54:44 BST 1998 Tony Gale  <gale@gtk.org>
4905
4906         * gtkfaq.sgml: add question on multi-threading,
4907           minor URL cleanups.
4908
4909 Mon May 11 09:56:45 1998  Tim Janik  <timj@gtk.org>
4910
4911         * configure.in (cflags_set): preserve automake CFLAGS.
4912
4913         * Makefile.am: fully rename the created libraries to libgtk-1.1.la
4914         and libgdk-1.1.la. this means we need to change certain portions of
4915         the Makefile.am on major/minor version bumps.
4916
4917         * ltmain.sh: the -release option is not required anymore.
4918         
4919         * gtk/gtkobject.h (gtk_trace_referencing): compile time check the type
4920         of the first argument to be of type GtkObject. unconditionally compile
4921         this function. removed __GNUC__ dependancy of the gtk_object_ref and
4922         gtk_object_unref macro wrappers for this function.
4923
4924 Mon May 11 02:31:19 1998  Tim Janik  <timj@gtk.org>
4925
4926         * gtk/gtkobject.h:
4927         * gtk/gtkobject.c:
4928         (gtk_object_data_try_key):
4929         (gtk_object_data_force_id): these are now macros substituting the old
4930         functions. we just use the corresponding g_dataset_* functions for
4931         key->id associations. (this is to assure unique key<->id associations).
4932
4933 1998-05-10  Stefan Jeske  <stefan@gtk.org>
4934
4935         * gtk/gtkctree.c (gtk_ctree_is_visible): Changed return value
4936         to gboolean.
4937
4938         * docs/gtk.texi (GtkCTree): Started documentation of GtkCTree.
4939
4940 Sat May  9 20:11:20 1998  Owen Taylor  <otaylor@gtk.org>
4941
4942         * configure.in (LIBS): Try to figure out if this
4943         is Digital Unix and we need -std1 to get the
4944         right prototypes.
4945
4946 Sat May  9 16:30:33 BST 1998 Tony Gale  <gale@gtk.org>
4947
4948         * docs/gtk_tut_it.sgml: update of Italian tutorial
4949           translation from Daniele Canazza <dcanazz@tin.it>
4950
4951 Sat May  9 02:34:41 1998  Tim Janik  <timj@gtk.org>
4952
4953         * gtk/gtkfeatures.h.in: new file used as template for
4954         * gtk/gtkfeatures.h: new file to define macros indicating newly
4955         introduced features, such as GTK_HAVE_SIGNAL_INIT.
4956
4957         * gtk/gtksignal.c:
4958         (gtk_signal_emitv_by_name):
4959         (gtk_signal_emitv):
4960         new functions to emit signals with an already provided parameter set.
4961         (provided by Kenneth Albanowski <kjahds@kjahds.com>).
4962         (gtk_signal_real_emit): prototype changes, so this functions always
4963         gets its parameters and signal structure as arguments.
4964         (gtk_signal_emit): provide the signal structure and parameter list for
4965         gtk_signal_real_emit.
4966         (gtk_signal_emit_by_name): likewise.
4967
4968 Sat May  9 00:03:12 1998  Tim Janik  <timj@gtk.org>
4969
4970         * gtk/gtksignal.c (gtk_signal_handler_unref): reflect the presence of
4971         signal connections through unsetting GTK_CONNECTED.
4972         (gtk_signal_handler_insert): reflect the presence of signal connections
4973         through setting GTK_CONNECTED.
4974         (gtk_signal_real_emit): only check for handler emissions if the object
4975         has the GTK_CONNECTED flag set.
4976         (gtk_signal_handler_pending): don't check for pending handlers if the
4977         GTK_CONNECTED flag is not set for this object.
4978
4979         * gtk/gtkobject.h (enum): new flag GTK_CONNECTED to indicate whether
4980         a GtkObject has signal handler connections.
4981
4982         * gtk/gtkobject.c (gtk_object_real_destroy): only if GTK_CONNECTED is
4983         set for this object call gtk_signal_handlers_destroy().
4984         
4985         * gtk/gtktypeutils.h (GTK_TYPE_IS_A): deprecated macro, since it caused
4986         multiple processing of macro args.
4987
4988         * gtk/gtktypeutils.c:
4989         * gtk/gtkobject.c:
4990         * gtk/gtkwidget.c:
4991         * gtk/gtksignal.c: reverted GTK_TYPE_IS_A back to gtk_type_is_a.
4992
4993 Fri May  8 21:31:50 1998  Owen Taylor  <otaylor@gtk.org>
4994
4995         * gtk/gtkwidget.c (gtk_widget_queue_draw): Free the
4996         draw-queue when we are done. 
4997
4998         (gtk_widget_queue_draw/_queu_resize): Always return
4999         FALSE and avoid having two idles at the same time.
5000         
5001 Fri May  8 21:04:00 1998  Owen Taylor  <otaylor@gtk.org>
5002
5003         * gtk/gtktext.c: Various fixes to make sure cache
5004         lines are freed if line_start_cache doesn't point to the
5005         beginning of the cache.
5006
5007 Thu May  7 09:44:22 1998  Owen Taylor  <otaylor@gtk.org>
5008
5009         * style_set improvements for GtkText and GtkEntry
5010
5011 Thu May  7 19:03:50 1998  Tim Janik  <timj@gtk.org>
5012
5013         * gtk/gtktypeutils.c (gtk_type_unique): asure that the type system has
5014         been initialized.
5015
5016 Thu May  7 12:52:45 1998  Tim Janik  <timj@gtk.org>
5017
5018         * gtk/gtkobject.c (gtk_object_set_data_by_id_full): allocate object
5019         data chunks through a global object data structure list. unlink
5020         object data before invoking its destroy function.
5021         (gtk_object_finalize): slight modification to allow usage of object
5022         data during object finalization.
5023
5024 Thu May  7 10:29:24 1998  Tim Janik  <timj@gtk.org>
5025
5026         * gtk/gtksignal.c (gtk_signal_newv): suport middle dashes ('-') in
5027         signal names, e.g. "signal-name" is now an alias for "signal_name".
5028         (gtk_signal_handler_new): allocate handlers through a global handler
5029         structure list, that's faster than memchunks.
5030         (gtk_emission_new): allocate emissions through a global emission
5031         structure list, that's faster than memchunks.
5032
5033 Thu May  7 05:14:19 1998  Tim Janik  <timj@gtk.org>
5034
5035         * gtk-config.in (--libs): postfix -lg* libraries with LT_RELEASE.
5036
5037         * ltmain.sh: added a new commandline flag -postfix similar to -release,
5038         but will immediately change the library name.
5039
5040         * gdk/Makefile.am:
5041         * gtk/Makefile.am: specify -postfix and -version-info
5042
5043         * configure.in: version bump to 1.1.0. added GTK_INTERFACE_AGE and
5044         GTK_BINARY_AGE. calculate LT_* variables for libtool.
5045
5046 1998-05-06  Federico Mena Quintero  <federico@nuclecu.unam.mx>
5047
5048         * gtk/gtkclist.c (draw_row): Fixed incorrect painting of row
5049         background (fg_set -> bg_set confusion).
5050
5051 1998-05-06  Stefan Jeske  <stefan@gtk.org>
5052
5053         * gtk/testgtk.c (unselect_all): Removed code that caused an
5054         endless loop.
5055
5056 Wed May  6 02:16:34 1998  Tim Janik  <timj@gtk.org>
5057
5058         * gtk/gtksignal.c: reimplemented the signal storage system to use a
5059         linear array rather than a hash table.
5060         be carefull *not* to keep any GtkSignal pointers across invokations
5061         of gtk_signal_next_and_invalidate() and therefore gtk_signal_new[v]().
5062         general code cleanups, made all allocations through memchunks.
5063         (gtk_signal_lookup): we now do the lookup of signals through a key_id
5064         for the signal names to avoid multiple hashing of the signal name on
5065         lookups for the several hirarchy levels of an object.
5066
5067 Tue May  5 19:49:27 1998  Owen Taylor  <otaylor@gtk.org>
5068
5069         * gdk/gdkpixmap.c: Patches from Gordon Matzigkeit
5070         to speed things up and remove code duplication.
5071
5072         Reintegrated buffer overflow patches, and added
5073         some extra paranoia.
5074         
5075 Tue May  5 17:04:14 1998  Owen Taylor  <otaylor@gtk.org>
5076
5077         * gdk/gdk.c (gdk_event_translate): A guint * was
5078         being passed where X expected a Keysym *, and
5079         keysyms are long's on Alpha Linux. This was causing
5080         segfaults in Xlib, apparently because of alignment.
5081         (Bug located by Juergen Haas <haas@forwiss.uni-passau.de>)
5082         
5083 Tue May  5 19:11:27 1998  Owen Taylor  <otaylor@gtk.org>
5084
5085         * gtk/gtkdrawingarea.c (gtk_drawing_area_realize): Always
5086         set GDK_EXPOSURE_MASK for DrawingAreas
5087
5088 Tue May  5 14:32:37 1998  Owen Taylor  <otaylor@gtk.org>
5089
5090         * gtk/gtkwidget.[ch]: removed gtk_widge_propagate_default_style
5091         (superceded by RC file reparsing capabilities)
5092
5093         * gtk/gtkwindow.c: Add handling for _GDK_READ_RFCILES client
5094         events. (Shouldn't be sent to the InputOnly leader, which
5095         it is now by gdk_event_send_clientmessage_toall
5096
5097         * gtk/testgtk.c: Added extra button to rcfiles test
5098         to send out _GDK_READ_RCFILES events.
5099         
5100 Tue May  5 11:03:00 1998  Owen Taylor  <otaylor@gtk.org>
5101
5102         * gtk/gtkselection.c (gtk_selection_clear): Fixed
5103         reversed conditionals that caused segfault on some
5104         platforms.
5105
5106 Tue May  5 00:44:47 1998  Owen Taylor  <otaylor@gtk.org>
5107
5108         * gtk/gtkcontainer.c (gtk_container_set_focus_[hv]adjustment):
5109         cast to GTK_OBJECT for gtk_object_ref.
5110
5111 Tue May  5 15:33:27 1998  Tim Janik  <timj@gtk.org>
5112
5113         * gtk/gtkmain.c (gtk_init): added gtk_signal_init() to avoid repeatedly
5114         checking for signal initialization in gtksignal.c.
5115
5116         * gtk/gtktypeutils.c (TYPE_NODES_BLOCK_SIZE): reseted this to 200 after
5117         a long debugging period ;)
5118
5119 1998-05-05  Stefan Jeske  <stefan@gtk.org>
5120
5121         * gdk/gdkgc.c gdk/gdk.h gtk/gtkctree.c (gdk_gc_set_dashes):
5122         New function to wrap XSetDashes; modified gtkctree.c to use it.
5123
5124 1998-05-04  Federico Mena Quintero  <federico@nuclecu.unam.mx>
5125
5126         * configure.in: Added $x_libs in the other_libraries field in the
5127         check for XShapeCombineMask.
5128
5129 Mon May  4 00:30:11 1998  Tim Janik  <timj@gtk.org>
5130
5131         * gtk/gtktypeutils.h (GTK_TYPE_IS_A): new macro to speedup
5132         gtk_type_is_a().
5133         * gtk/gtktypeutils.c: reimplemented the type storage system to use a
5134         linear array rather than a hash table. it actually speeded up testgtk
5135         for a *considerable* amount. be carefull *not* to keep any GtkTypeNode
5136         pointers across invokations of gtk_type_node_next_and_invalidate() and
5137         therefore gtk_type_unique()!
5138
5139         * gtk/gtkobject.h (GTK_IS_OBJECT_CLASS): new macro to test for the
5140         inheritance of a class pointer.
5141         (GTK_OBJECT): modifications for speedups.
5142         (GTK_IS_OBJECT): likewise.
5143         (GTK_OBJECT_CLASS): likewise.
5144         (suggested by owen).
5145
5146         * gtk/gtkcontainer.h (GTK_IS_CONTAINER_CLASS): new macro.
5147
5148         * gtk/gtkwidget.h (GTK_IS_WIDGET_CLASS): new macro.
5149
5150         * gtk/gtk.defs (GtkTooltips): define GtkTooltips as object not as boxed,
5151         since its derivation changed 4 month ago ;(. showed up with the unique
5152         type name checking code in gtk_type_unique().
5153
5154         * random guint->GtkType and macro fixups.
5155
5156 Sat May  2 23:14:34 1998  Owen Taylor  <otaylor@gtk.org>
5157
5158         * gtk/gtkcurve.c (gtk_curve_graph_events): Ignore
5159         Configure events that would result in a negative
5160         size.
5161
5162 Sun May  3 14:55:34 1998  Owen Taylor  <otaylor@gtk.org>
5163
5164         * docs/gtkfaq.sgml (CPPFLAGS): Added a FAQ entry about
5165         "glibconfig.h" and another about writing another IRC
5166         client.
5167
5168 Sat May  2 00:14:05 1998  Owen Taylor  <otaylor@gtk.org>
5169
5170         * gtk/gtkpreview.c (gtk_trim_cmap): Make sure the
5171         parameters to log are doubles. Digital Unix apparently
5172         is missing the argument in its prototype.
5173
5174 Sun May  3 19:04:46 1998  Owen Taylor  <otaylor@gtk.org>
5175
5176         * gtk/gtklabel.c (gtk_label_state_changed): Don't
5177         force a clear until the widget is actually on
5178         screen.
5179
5180 Sun May  3 21:32:35 1998  Owen Taylor  <otaylor@gtk.org>
5181
5182         * gdk/gdk.c (gdk_event_translate): Grab with OwnerEvents = False
5183         to make this consistent with the gtk-1-0 tree.
5184
5185 Sun May  3 13:38:22 1998  Owen Taylor  <otaylor@gtk.org>
5186
5187         * configure.in acheader.h gdk/gdkwindow.c 
5188         Check for Shape extension both on the client and server
5189         side. (And, more importantly, check for the shape extension
5190         so we may include -lXext even when compiling with --disable-xshm)
5191
5192         Don't set override_redirect on all shaped windows. It isn't
5193         necessary.
5194
5195         * gdk/gdkwindow.c: Set ->colormap to NULL for root 
5196         and foreign windows. Use this to check if we
5197         need to get the colormap from X.
5198
5199 Fri May  1 22:32:47 1998  Owen Taylor  <otaylor@gtk.org>
5200
5201         * gtk/gtkbutton.c (gtk_button_paint): Draw the areas
5202         between the default and the button always in GTK_STATE_NORMAL.
5203
5204         * gtk/gtkrange.c (gtk_range_style_set): Added a style_set
5205         callback.
5206
5207 Fri May  1 16:40:57 1998  Owen Taylor  <otaylor@gtk.org>
5208
5209         * gdk/gdkpixmap.c (gdk_pixmap_colormap_create_from_xpmp[_d]):
5210           Fix a buffer overflow on pixmaps that claim to have
5211           more than 31 characters per pixel.
5212
5213           (gdk_pixmap_read_string): Don't wrap around strings longer
5214           than half of address space ;-)
5215
5216         * gtk/gtk[vh]ruler.c gtk/gtkinputdialog.c: Expand some buffers
5217         that were used for printing integers.
5218
5219         * */* (almost):
5220
5221         Style: All 
5222           int foo () { ... }
5223         changed to
5224           int foo (void) { ... }
5225
5226         Even where there were proper prototypes elsewhere.
5227
5228         * gdk/gxid.c (handle_claim_device): Some extra checks.
5229         It isn't safe against being fed bad X id's, but at
5230         least it should be safe against deleting all your
5231         files.
5232
5233 Sun May  3 19:45:09 1998  Tim Janik  <timj@gtk.org>
5234
5235         * gtk/gtkadjustment.c (gtk_adjustment_assimilate_value): new function
5236         to set the adjustments value when there is no current emission.
5237         [ Removed by mutual agreement owt 5/3/1998 ]
5238
5239         * gtk/gtksignal.c: added new functions to retrive the number of
5240         existing emissions for a certain signal.
5241         (gtk_signal_n_emissions): new function.
5242         (gtk_signal_n_emissions_by_name): new function.
5243
5244 Sun May  3 16:55:43 1998  Tim Janik  <timj@gtk.org>
5245
5246         * gtk/gtkcontainer.c (gtk_container_set_focus_child): new function to
5247         set the current focus_child of a container, does proper referencing and
5248         adjusts the vadjustment/hadjustment associated with the focus widget.
5249
5250         * gtk/gtkwidget.c (gtk_widget_grab_focus): set the focused child on
5251         containers via gtk_container_set_focus_child.
5252
5253         * gtk/gtknotebook.c: modifications to use gtk_container_set_focus_child
5254         where appropriate.
5255
5256         * gtk/gtkcontainer.c (gtk_container_remove): removed unsetting of focus
5257         child since not every child removal goes through this function (this
5258         showed up after gtk_container_set_focus_child() started to reference the
5259         focus_child of a container).
5260
5261         * gtk/gtkwidget.c (gtk_widget_unparent): moved unsetting the focus_child
5262         of a container from gtk_container_remove into this place.
5263
5264 Sat May  2 22:33:45 1998  Tim Janik  <timj@gtk.org>
5265
5266         * gtk/gtksignal.c: added new functions to operate on intermediate
5267         function pointers. implemented incremental blocking.
5268         (gtk_signal_disconnect_by_func): new function.
5269         (gtk_signal_handler_block_by_func): new function.
5270         (gtk_signal_handler_unblock_by_func): new function
5271
5272 Fri May  1 22:45:55 1998  Owen Taylor  <otaylor@gtk.org>
5273
5274         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_size_allocate):
5275         Always show the scrollbars when the policy is
5276         GTK_POLICY_ALWAYS...
5277
5278 Sat May  2 20:19:03 1998  Tim Janik  <timj@gtk.org>
5279
5280         * gtk/gtkadjustment.c (gtk_adjustment_set_value): only emit
5281         "value_changed" if we really passed a new value.
5282         (gtk_adjustment_changed): new function to emit the "changed" signal.
5283         (gtk_adjustment_set_value): new function to emit the "value_changed"
5284         signal.
5285
5286 Fri May  1 12:28:35 1998  Owen Taylor  <otaylor@gtk.org>
5287
5288         * gtk/gtkcombo.c: Further changes to the way the window
5289         is popped up so that it will be compatible with 
5290         auto-scrolling in the future.
5291
5292 Fri May  1 20:25:29 1998  Tim Janik  <timj@gtk.org>
5293
5294         * gtk/gtkcombo.c (gtk_combo_popup_list): do not just return if
5295         the combo-list is empty since that will cause the combo to operate
5296         on a non existing GtkList window.
5297         (gtk_combo_get_pos): provide the combo list with a usfull default
5298         height if empty.
5299         (gtk_combo_popup_button_press): grab the focus.
5300         (gtk_combo_activate): grab the focus.
5301
5302 Fri May  1 12:06:43 1998  Owen Taylor  <otaylor@gtk.org>
5303
5304         * gtk/gtkwindow.[ch] (gtk_widget_reset_rc_styles): New
5305         function to reset the RC styles for a heirarchy
5306
5307         Clear the window background if necessary in
5308         gtk_window_style_set.
5309
5310         * gtk/gtkrc.[ch]: New function gtk_rc_reparse_all() which
5311         rereads all previously read RC files.
5312
5313         * gdk/gdkwindow.c gdk/gdk.h: New function gdk_window_get_toplevels().
5314         (Should it just be called gdk_get_toplevels?)
5315
5316         * gtk/testgtk.c: New test to reload RC files.
5317
5318 Fri May  1 13:57:36 1998  Tim Janik  <timj@gtk.org>
5319
5320         * gtk/gtkclist.h:
5321         * gtk/gtkclist.c: prefixed all clist flags with GTK_ to avoid name
5322         clashes. redefined GTK_CLIST_SET_FLAGS and GTK_CLIST_UNSET_FLAGS as
5323         GTK_CLIST_SET_FLAG and GTK_CLIST_UNSET_FLAG to automatically add
5324         the GTK_ prefix (this solution involved less changes in the
5325         gtkclist.c code). added a GTK_CLIST_CONSTRUCTED flag to substitute
5326         the mem_chunk==NULL test in gtk_clist_construct. merged in changes
5327         from lars & stefan to support the derivation of GtkCtree.
5328
5329         * gtkctree.h:
5330         * gtkctree.c:
5331         initial import of a tree widget derived from gtkclist, courtesy
5332         of Lars Hamann <lars@gtk.org> and Stefan Jeske <jeske@gtk.org>,
5333         it just damn rocks!
5334
5335 Fri May  1 10:05:44 1998  Tim Janik  <timj@gtk.org>
5336
5337         * gtk/gtklist.c (gtk_list_add): let gtk_list_append_items do the work
5338         for us.
5339         (gtk_list_insert_items):
5340         (gtk_list_remove_items_internal): 
5341         (gtk_list_clear_items): 
5342         remove a possible pointer grab, we might get thrown into a loop
5343         otherwise.
5344         (gtk_list_button_press): grab the pointer *before* selecting the child,
5345         because selection of items may cause the lists children to change,
5346         resulting in a grab release.
5347         (gtk_list_clear_items): use gtk_list_unselect_child() for unselection of
5348         children.
5349         (gtk_list_shutdown): remove all children from the list.
5350         (gtk_real_list_unselect_child): 
5351         (gtk_real_list_select_child): *always* put our internal structures into
5352         sane state *before* signal emisions (i.e. list->selection updates prior
5353         to gtk_list_item_[de]select() calls).
5354
5355         * gtk/gtkcombo.c (gtk_combo_init): adjust the scrollbar if the lists
5356         focused child walks out of the window.
5357         removed CAN_FOCUS for the combo arrow's button since it doesn't react
5358         to keyboard events ("clicked" connection is missing).
5359
5360 Fri May  1 00:42:25 1998  Owen Taylor  <otaylor@gtk.org>
5361
5362         * gdk/gdkwindow.c (gdk_window_get_colormap): Fix up
5363         getting colormap for FOREIGN windows to go along with
5364         Raster's fix for visuals.
5365
5366 Merges from gtk-1-0
5367 ===================
5368         
5369 Thu Apr 30 23:32:51 1998  Owen Taylor  <otaylor@gtk.org>
5370
5371         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_size_allocate):
5372         Check to catch the case when the viewport fits in either
5373         direction or both, instead of flip-flopping infinitely.
5374
5375         Only show/hide the scrollbars once at the end.
5376
5377 Thu Apr 30 21:56:07 1998  Owen Taylor  <otaylor@gtk.org>
5378
5379         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_foreach): 
5380         Include the scrollbars in the foreach call.
5381         (gtk-fortier-980405-0.patch; 
5382          Patrice Fortier <Patrice.Fortier@aquarel.fr>). 
5383
5384         The notebook widget
5385         really should also include its tabs, but that might cause
5386         problems for programs if they
5387
5388 Thu Apr 30 21:51:52 1998  Owen Taylor  <otaylor@gtk.org>
5389
5390         * gtk/gtkpixmap.c (gtk_pixmap_set): Only request a
5391         resize if the size actually changed. 
5392         (gtk-johannes-980414-0.patch ;  
5393          johannes@nada.kth.se (Johannes Keukelaar) )
5394
5395 Thu Apr 30 10:22:59 1998  Owen Taylor  <otaylor@gtk.org>
5396
5397         * glib/ltmain.sh glib/ltconfig glib/config.sub glib/config.guess:
5398           ltmain.sh ltconfig config.sub config.guess:
5399
5400         Reverted back to libtool-1.2 (plus minor patches) so as not to
5401         force the issue for everyone else.
5402
5403 Thu Apr 30 10:22:59 1998  Owen Taylor  <otaylor@gtk.org>
5404
5405         * glib/ltmain.sh glib/ltconfig glib/config.sub glib/config.guess:
5406         Updated to libtool 1.2a.
5407
5408         * gtk/gtkclist.c: Draw the in-between lines with style->base
5409         instead of style->white.
5410         
5411 Wed Apr 29 15:46:13 1998  Owen Taylor  <otaylor@gtk.org>
5412
5413         * gdk/gdkprivate.h gdk/gdkwindow.c gdk/gdkpixmap.c: 
5414         Cache the colormap and children of a window locally
5415         instead of fetching them from the server when needed.
5416         Huge performance difference for creating/destroying
5417         windows.
5418
5419         * gtk/gtkstyle.c: Find the depth from the cached
5420         visual, instead of asking the server.
5421
5422         * gtk.m4: Distribute the new version which tries to
5423         figure out what went wrong and give helpful error
5424         messages.
5425
5426         * ltmain.sh ltconfig config.sub config.sh: 
5427         Updated to libtool 1.2a
5428
5429         * gtk/gtktext.c: Fixed a bug where the drawn level
5430         was being messed up when the text was scrolled
5431         during a deletion.
5432         
5433 Thu Apr 30 02:42:11 PDT 1998 Manish Singh <yosh@gimp.org>
5434
5435         * gtk/gtkfilesel.c: don't die when naughty people remove parts of
5436         the filesystem under you (fix from Josh)
5437
5438 Thu Apr 30 09:49:14 1998  Tim Janik  <timj@gtk.org>
5439
5440         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_foreach): check
5441         if the viewport already exists before iterating over it, maybe we
5442         haven't been constructed yet.
5443
5444 Thu Apr 30 01:51:00 1998  Tim Janik  <timj@gtk.org>
5445
5446         * gtk/gtkbin.c (gtk_bin_add): made this function issue a warning if
5447         the GtkBin widget already has a child.
5448
5449         * gtk/gtkbox.c (gtk_box_pack_{start|end}):
5450         check that child->parent == NULL;
5451
5452 Tue Apr 28 22:13:54 1998  Owen Taylor  <otaylor@gtk.org>
5453
5454         * gtk/gtkselection.c (gtk_selection_clear): Only return
5455         FALSE when the clear event is been rejected, not when
5456         widget has already lost the selection. (Which should
5457         only happen when we are setting the selection to another
5458         widget ourself.)
5459         
5460 Fri Apr 24 19:07:32 1998  Owen Taylor  <otaylor@gtk.org>
5461
5462         * gtk/gtkfixed.c gtk/gtkpaned.c gtk/gtktable.c:
5463
5464         Removed the "check visibility after gtk_widget_unparent" bug 
5465         in hopefully the last three places.
5466
5467 Tue Apr 28 15:46:41 1998  Tim Janik  <timj@gtk.org>
5468
5469         * gtk/gtkrc.c (gtk_rc_parse_statement): allow the inclusion of other
5470         rc-files.
5471
5472 Mon Apr 27 15:11:52 1998  Tim Janik  <timj@gtk.org>
5473
5474         * gtk/gtkwidget.c (gtk_widget_grab_focus): only allow grabbing of focus
5475         for CAN_FOCUS widgets.
5476
5477         * gtk/testgtk.c (create_scrolled_windows): feature h/v focus
5478         adjustments for the table.
5479         (create_list): feature automatic adjustment of the scrolled window to
5480         always contain the focused child.
5481         (create_main_window): keep the focussed button always inside of the
5482         scrolled windoww.
5483
5484         * gtk/gtkcontainer.c (gtk_real_container_focus): set the h/v focus
5485         adjustments, to contain the allocation of the currently focused child.
5486         (gtk_container_set_focus_hadjustment): new functin to set the
5487         horizontal focus adjustment.
5488         (gtk_container_set_focus_vadjustment): new functin to set the vertical
5489         focus adjustment.
5490
5491         * gtk/gtkadjustment.c (gtk_adjustment_clamp_page): new fucntion to
5492         clamp the currents adjustment page into a specific range.
5493
5494         * random GtkType fixups for gtk_*_get_type() functions.
5495
5496 Fri Apr 24 18:37:16 1998  Owen Taylor  <otaylor@gtk.org>
5497
5498         * gtk/gtktreeitem.c (gtk_tree_item_remove_subtree): 
5499         Account for the fact that gtk_tree_item_remove_subtree
5500         will be called recursively. 
5501
5502         Handle removing a collapsed subtree.
5503
5504         (From Andy Dustman <adustman@comstar.net>)
5505         
5506         * gtk/gtktree.c (gtk_tree_remove_items): Look for the
5507         root tree when removing items from a non-previously
5508         mapped tree.
5509
5510         * gtk/testgtk.c: Added a remove_subtree button.
5511         
5512 Thu Apr 23 23:44:17 1998  Owen Taylor  <otaylor@gtk.org>
5513
5514         * gtk/gtkobject.c (gtk_object_finalize): Notify all weak references
5515         before object removing data. This change fixes a bug where 
5516         removing the last weak references would cause it to be 
5517         triggered.
5518
5519 Wed Apr 15 20:42:46 1998  Owen Taylor  <otaylor@gtk.org>
5520
5521         * gdk/Makefile.am: Removed mostly useless dependency that
5522         was causing problems for SGI's make, when used with
5523         the 'make dist' form of GTK+. (Dependency caused dependencies
5524         to be redone when BUILT_SOURCES changed)
5525
5526 Thu Apr 30 11:18:00 1998  Owen Taylor  <otaylor@gtk.org>
5527
5528         * gtk/gtkcombo.[ch]: Allow the user to use the popup list
5529         like a menu.
5530         
5531         * gtk/gtkmenuitem.c gtk/gtkitem.c: Moved enter/leave handlers
5532         to gtkitem.c so dragging can also work in lists.
5533
5534         * gtk/gtklist.[ch]: Track child enter events and use
5535         those to allow dragging the selection. 
5536
5537 Thu Apr 30 11:16:06 1998  Owen Taylor  <otaylor@gtk.org>
5538
5539         * gtk/gtktext.c: Try enabling background pixmaps for editable text
5540         widgets.  There is a bit of flashing, but not too bad. If you
5541         don't want the flashing, you can always not set a background
5542         pixmap.
5543
5544 Wed Apr 29 15:46:13 1998  Owen Taylor  <otaylor@gtk.org>
5545
5546         * gtk/gtktext.c: Fixed a bug where the drawn level
5547         was being messed up when the text was scrolled
5548         during a deletion.
5549         
5550 1998-04-28  Miguel de Icaza  <miguel@nuclecu.unam.mx>
5551
5552         * gdk/gdk.c (gdk_event_translate): Random debugging fixed this
5553         bug:  There is no need to set the ExposureMask in the XGrabPointer
5554         (this caused DnD programs to crash).
5555
5556 Fri Apr 24 01:29:04 1998  Tim Janik  <timj@gtk.org>
5557
5558         * gtk/gtkaccelerator.h (struct _GtkAcceleratorTable): changed ref_count
5559         field to be of type guint.
5560         * gtk/gtkaccelerator.c (gtk_accelerator_table_unref): added check for
5561         ref_count>0;
5562         (gtk_accelerator_table_install): keep a per object list of accelerator
5563         tables that refer to this object.
5564         (gtk_accelerator_table_remove): remove the accelerator table from the
5565         per object list.
5566         (gtk_accelerator_table_clean): warn if there are any object references
5567         left in an accelerator table upon destruction.
5568         (gtk_accelerator_tables_delete): new function to delete object
5569         references from the accelerator tables associated with this object.
5570
5571         * gtk/gtkwidget.c (gtk_widget_class_init): changed emission of
5572         GtkWidget::install_accelerator to GTK_RUN_LAST so the installation
5573         of an accelerator can be prevented by gtk_signal_emit_stop().
5574         (gtk_widget_real_destroy): call gtk_accelerator_tables_delete (),
5575         so there are no stale pointers in accelerator tables left.
5576
5577 1998-04-22  Federico Mena Quintero  <federico@nuclecu.unam.mx>
5578
5579         * gtk/gtkbin.c (gtk_bin_remove): Remember whether the widget was
5580         visible before we unparent it.
5581
5582 Wed Apr 22 04:15:26 1998  Tim Janik  <timj@gtk.org>
5583
5584         * gtk/gtkmain.c (gtk_handle_current_timeouts): prepend the
5585         running_timeouts list with the tmp_list link itself, not with a new
5586         GList structure pointing to our link. that would fill up memory and
5587         causes the GList.data fields of the running_timeouts list to point to
5588         GList structures and not GtkTimeoutFunction structures which is a
5589         *really* bad thing.
5590         (gtk_handle_current_idles): likewise (exchange "timout" with "idle" in
5591         the above entry ;).
5592
5593 Sat Apr 18 22:18:12 1998  Tim Janik  <timj@gtk.org>
5594
5595         * gtk/gtkradiomenuitem.h: 
5596         * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_set_group): new function
5597         ala gtk_radio_button_set_group.
5598         (gtk_radio_menu_item_init): assure that we always have at least a group
5599         that points to self.
5600
5601         * gtk/gtkradiobutton.c (gtk_radio_button_set_group): few cleanups and
5602         added g_return_if_fail() statements.
5603         (gtk_radio_button_init): assure that we always have at least a group
5604         that points to self.
5605
5606 Fri Apr 17 03:05:05 1998  Tim Janik  <timj@gtk.org>
5607
5608         * ChangeLog split up into ChangeLog.pre-1-0 and ChangeLog.
5609
5610 Wed Apr 15 05:13:09 1998  Tim Janik  <timj@gtk.org>
5611
5612         * gtk/gtklabel.c (gtk_label_size_request): corrected a brace position
5613         (Damon Chaplin), which i got wrong when applying Damon's patch the last
5614         time.
5615
5616 Wed Apr 15 20:42:46 1998  Owen Taylor  <otaylor@gtk.org>
5617
5618         * gtk/gtkpreview.c (gtk_preview_get_visuals): Make sure
5619         that when we are running with a non-installed colormap,
5620         in 8-bit pseudo-color, we actually are using the system
5621         visual. (Fixes *Bad Match* errors on Digital Unix machines
5622         with multiple 8-bit pseudo-color visuals)
5623
5624 1998-04-14  Miguel de Icaza  <miguel@nuclecu.unam.mx>
5625
5626         * gdk/gdkwindow.c (gdk_window_xid_at): Fix the problem introduced
5627         by whoever thought that randomly changing ints to unsigned int
5628         without reviewing the code was a good idea.  It is, btw not
5629         mentioned in the ChangeLog as usual, but I know it was not Elliot
5630         the culprit this time. 
5631
5632 Mon Apr 13 19:16:22 PDT 1998 Shawn T. Amundson <amundson@gtk.org>
5633
5634         * Released GTK+ 1.0.0