]> Pileus Git - ~andy/gtk/blob - ChangeLog.pre-2-4
s/1.1.3/1.1.13/
[~andy/gtk] / ChangeLog.pre-2-4
1 Sun Jan 17 11:51:17 1999  Owen Taylor  <otaylor@gtk.org>
2
3         * gtk/gtktext.c (gtk_text_move_cursor): Fix typo
4         [ gtk-mailund-990116-0: Thomas Mailund Jensen <mailund@daimi.au.dk> ]
5
6 Sun Jan 17 11:15:05 1999 Christopher Blizzard  <blizzard@appliedtheory.com>
7
8         * gtk+.spec: Update to version 1.1.13, change packager address.
9
10 Sun Jan 17 14:52:29 1999  Tim Janik  <timj@gtk.org>
11
12         * gtk/gtkcompat.h:
13         * gtk/gtkcheckmenuitem.[hc]:
14         deprecated gtk_check_menu_item_set_state, people should use
15         gtk_check_menu_item_set_active instead.
16         
17         * gtk/testgtk.c:
18          s/gtk_check_menu_item_set_state/gtk_check_menu_item_set_active/.
19
20 Sun Jan 17 05:19:14 1999  Tim Janik  <timj@gtk.org>
21
22         * configure.in: incremented version number to 1.1.13, bin age 0,
23         interface age 0.
24
25         * gtk/gtkmain.c (gtk_idle_remove_by_data): use g_idle_remove_by_data to
26         remove idles, so `data' cannot conflict with other sources.
27
28         * gtk/gtkcompat.h: define gtk_style_apply_default_pixmap here.
29
30         * gtk/gtkstyle.[hc]: removed gtk_style_apply_default_pixmap.
31         (struct _GtkStyle): reordered GtkStyleClass*klass; member.
32
33 Sat Jan 16 19:42:48 1999  George Lebl  <jirka@5z.com>
34
35         * gtk/gtktooltips.c: for NO_WINDOW widgets, add their allocation.y
36           to the position of the tooltip. This fixes tooltip positioning
37           problems with some widgets such as a checkbox.
38
39 Sat Jan 16 14:01:53 1999  Stuart Parmenter <pavlov@gtk.org>
40
41         * gtk/gtklayout.c (gtk_layout_put): check for child widget being NULL
42
43 Sat Jan 16 05:02:22 1999  Lars Hamann  <lars@gtk.org>
44
45         * gtk/gtkclist.c (gtk_clist_button_press): fixed double click bug.
46
47 Fri Jan 15 19:16:42 1999  Tim Janik  <timj@gtk.org>
48
49         * gtk/Makefile.am: define GTK_DISABLE_COMPAT_H for compilation of gtk
50         code.
51
52         * gtk/gtkrc.c (gtk_rc_style_unref): added an assertment.
53
54         * gtk/gtkcompat.h:
55         * gtk/gtklabel.h: 
56         don't provide compatibility defines if GTK_DISABLE_COMPAT_H is defined.
57
58         * gtk/gtkstyle.h:
59         * gtk/gtkstyle.c: coding style, indentation and alignment fixups.
60         (gtk_draw_string): 
61         (gtk_paint_string): 
62         (gtk_draw_polygon):
63         (gtk_style_set_background): fixed assertments.
64         (gtk_default_draw_ramp): 
65         (gtk_default_draw_cross): 
66         (gtk_default_draw_oval): issue warnings since these functions aren't
67         yet implemented.
68
69         * gdk/gdkwindow.c:
70         (gdk_window_hide): only unmap window if already mapped.
71         (gdk_window_show): only map window if !mapped.
72         (gdk_window_internal_destroy): destroyed windows can't be mapped.
73
74         * gtk/gtkwidget.c (gtk_widget_event): don't ignore expose events just
75         because a resize is queued on a widget, we rely on the expose events
76         now.
77
78 Fri Jan 15 10:22:21 1999  Owen Taylor  <otaylor@redhat.com>
79
80         * gtk/gtkwidget.c (gtk_widget_class_init): 
81         nparams for selection_get should be 3, not 2.
82         [ From Damon Chaplin <damon@karuna.freeserve.co.uk> ]
83
84         * gtk/gtkeventbox.c (gtk_event_box_paint): Add a paint
85         routine so queued redraws work inside event boxes.
86
87 Thu Jan 14 17:47:37 1999  Owen Taylor  <otaylor@redhat.com>
88
89         * gtk/gtkentry.c (gtk_entry_draw_cursor_on_drawable): Only
90          redraw character under cursor when not displaying 
91         highlighted selection.
92
93         * gdk/gdkrgb.c (gdk_rgb_init): Add in a cast to
94         gpointer to make IRIX cc happy.
95
96 Thu Jan 14 12:29:50 1999  Owen Taylor  <otaylor@redhat.com>
97
98         * gtk/gtkcheckbutton.c (gtk_check_button_draw): Restructure
99         the drawing code to remove a bit of duplication - 
100         and to remove a call to gtk_widget_draw_focus()
101         that queues a redraw when an expose occurs.
102
103         * gtk/gtklabel.c (gtk_label_expose): Fix up handling
104           of ypadding.
105
106         * gtk/gtknotebook.c (gtk_notebook_draw): If we redraw
107           the whole widget, also redraw the corresponding
108           areas of the child widget. (have_visible_child 
109           still has some problems)
110
111         * gdk/gdkpixmap.c: Change some g_new's to g_new0 so
112           that fields unused for pixmaps get initialzized
113           sanely.
114
115         * gdk/gdk.h gdk/gdkwindow.c gdk/gdkprivate.h: Add new calls
116           gdk_window_is_visible() and gdk_window_is_viewable()
117           and a mapped flag to the window private structure.
118         
119         * gtk/gtkbin.c gtk/gtkclist.c gtk/gtkfixed.c gtk/gtkitem.c
120           gtk/gtklayout.c gtk/gtklist.c gtk/gtkmenushell.c
121           gtk/gtknotebook.c gtk/gtkpaned.c gtk/gtktree.c
122           gtk/gtktreeitem.c gtk/gtkviewport.c: 
123         Map windows after mapping children.
124         
125         * gtk/gtkwidget.c (gtk_widget_clip_rect): Handle 
126         rectangles completely clipped away correctly.
127
128         * gtk/gtkwidget.c (gtk_widget_idle_draw): Don't
129         call gtk_widget_draw if width or height is 0.
130
131         * gtk/gtkwidget.c (gtk_widget_idle_draw): Don't
132         rely on GTK_REDRAW_PENDING after we've cleared
133         it. (This was causing draw-combining to not
134         happen at all).
135
136         * gtk/gtkbin.c gtk/gtkscale.c: Remove uneccessary calls
137         to gtk_widget_queue_draw() when mapping.
138
139 Thu Jan 14 11:29:53 1999  Owen Taylor  <otaylor@redhat.com>
140
141         * gtk/gtkdnd.c (gtk_drag_get_event_action): Make
142         MOD1-drag also do action ask.
143
144         * gtk/gtkdnd.c (gtk_drag_button_release_cb): Send the
145         button-release event we simulate to get grabs released,
146         with a window of GDK_ROOT_PARENT instead of the actual 
147         widget. This is a bad hack in some sense, but seems
148         to work nicely. (It's sort of like what you would
149         if you grabbed on button press, then the user 
150         released outside of the widget.)
151
152 Thu Jan 14 20:29:16 1999  Owen Taylor  <otaylor@redhat.com>
153
154         * gtk/gtkstyle.[ch] (gtk_style_apply_default_background): 
155         Change copy_area => !set_bg. Use tile instead of 
156         gdk_window_copy_area when drawing without !set_bg.
157         
158         This does mess up timj's neat check-button example,
159         but is consistent with how we interpret background
160         pixmaps everywhere else in the default scheme.
161
162         Restructure code for clarity.
163
164 Thu Jan 14 19:19:51 1999  Owen Taylor  <otaylor@redhat.com>
165
166         * gdk/gdkevents.c: Do all event processing in
167         dispatch() instead of prepare() and check().
168
169 Wed Jan 13 22:34:29 1999  Owen Taylor  <otaylor@redhat.com>
170
171         * gtk/gtkbutton.c gtk/gtkclist.c gtk/gtkhandlebox.c
172         gtk/gtkframe.c gtk/gtk[hv]box.c gtk[hv]paned.c gtk/gtklist.c
173         gtkmenu.c gtkmenuitem.c gtkmenubar.c gtknotebook.c
174         gtk/gtkscrolledwindow.c gtk/gtktable.c gtk/gtktree.c
175         gtk/gtktreeeitem.c gtk/gtkviewport.c
176         
177         Fix up comparisons of signed and unsigned ints to avoid 
178         assigning negative widths/heigths.
179
180 Wed Jan 13 21:18:41 1999  Owen Taylor  <otaylor@redhat.com>
181
182         * acinclude.m4 (ac_result): Unset CATOBJEXT so
183         that the macros and Makefiles correctly handle
184         disabling NLS when no gettext is found.
185
186 Wed Jan 13 20:14:32 1999  Tim Janik  <timj@gtk.org>
187
188         * gtk/gtkarg.c (gtk_arg_copy): in comparisions with GTK_TYPE_STRING, use
189         the fundamental type to catch GTK_TYPE_IDENTIFIER as well.
190
191         * gtk/gtkmenushell.c:
192         (gtk_real_menu_shell_activate_current):
193         (gtk_menu_shell_button_release): asure that we only activate sensitive
194         menu items, reported by Dave Cole <dave@dccs.com.au>.
195
196 Wed Jan 13 13:28:00 1999  Tim Janik  <timj@gtk.org>
197
198         * gtk/gtkwidget.c: eliminate queue_clears or queue_draws where we know
199         that expose events will be generated.
200         (gtk_widget_map): only queue_draw for NO_WINDOW widgets.
201         (gtk_widget_unmap): only queue_clear_child for NO_WINDOW widgets.
202         (gtk_widget_size_allocate): we don't need a queue_clear on changing
203         allocations of !NO_WINDOW widgets, we do still need a full redraw for
204         them though.
205
206         * gtk/gtklabel.c (gtk_label_set_text): check whether the new string
207         actually differs from the original.
208
209 Tue Jan 12 22:50:44 PST 1999 Manish Singh <yosh@gimp.org>
210
211         * acinclude.m4
212         * ltconfig
213         * ltmain.sh: upgrade to libtool 1.2d (with fixes for irix6 and osf)
214
215 Tue Jan 12 18:30:51 1999  Owen Taylor  <otaylor@redhat.com>
216
217         * gtk/testdnd.c (label_drag_data_received): Add 
218         a drag_data_received handler for the label.
219
220 Tue Jan 12 15:01:50 1999  Owen Taylor  <otaylor@redhat.com>
221
222         * gdk/gdkevents.c: Removed the putback_events queue, 
223         since it was causing problems with event ordering -
224         just keep a single queue. If we need it, we can
225         add priorities to events.
226
227         * gdk/gdkevents.c: Annotate events with flags - we allocate
228         a GdkEventPrivate structure in gdk_event_new() and use these
229         flags to mark an event being translated as "pending" -
230         I.e., not yet ready to be dequeued. So we can put
231         the event on the queue and get the order of the
232         events right. (This solves the double-click problems)
233         
234         * gdk/gdk.h gdk/gdkevents.h: Add gdk_event_peek() to get a copy
235         of the next event on the event queue.
236         
237         * gtk/gtkmain.c (gtk_main_do_event): Use gdk_event_peek()
238         to check the next event without causing event queue
239         reordering.
240
241 Tue Jan 12 15:41:20 1999  Owen Taylor  <otaylor@redhat.com>
242
243         * gtk/gtklabel.c (gtk_label_expose): Minor fix
244         to handling of misc->[x/y]pad
245
246 Tue Jan 12 14:31:43 1999  Owen Taylor  <otaylor@redhat.com>
247
248         * gtk/gtkstyle.[ch] (gtk_style_apply_default_pixmap): 
249         Add back as wrapper function to restore source/binary 
250         compatibility. grrrr.
251
252 Tue Jan 12 13:47:07 1999  Tim Janik  <timj@gtk.org>
253
254         * reworked the redrawing heuristics somewhat, this fixed a bunch of
255         existing redrawing problems and majorly reduces overall redrawing needs
256         during normal operation. basically we now only queue redraws when
257         neccessary and much rely on the draw_area coalescing code in gtkwidget.c
258         to optimize the queued portions. widgets will now upon reallocation only
259         get redrawed if their allocation has changed. upon hide/show only the
260         area allocated by the child will be queued for the parent, this has the
261         side effect that parents which change their appearance in dependance on
262         the numer of visible children have to keep track of their children's
263         visiblity and eventually fully redraw themselves. this is a minor
264         constrain with great benefits in terms of redraw reduction, and only got
265         triggered by the notebook widget.
266
267         * gtk/gtkwidget.c:
268         (gtk_widget_queue_clear): don't bother if width and height == 0.
269         (gtk_widget_queue_clear_child): new static function to queue a redraw of
270         the area obscured by a child on a parent.
271         (gtk_widget_queue_resize): queue_clear the widget if it is drawable.
272         (gtk_widget_show): queue resize on the widget before showing.
273         (gtk_widget_hide): queue resize on the widget after hiding.
274         (gtk_widget_map): queue_draw the widget after mapping.
275         (gtk_widget_unmap): queue_clear_child the widget.
276         (gtk_widget_size_allocate): queue_clear_child and queue_draw if the
277         widget's allocation changed.
278         (gtk_widget_unparent): queue_clear_child so the parent redraws obscured
279         portions.
280         (gtk_widget_real_show):
281         (gtk_widget_real_hide):
282         (gtk_widget_real_map):
283         (gtk_widget_real_unmap):
284         (gtk_widget_real_size_allocate): don't bother with redraw queueing,
285         descendants that override these functions don't do either and we handle
286         all redrawing/resizing related stuff before or after the signal emission
287         now.
288
289         * gtk/gtkcontainer.c:
290         (gtk_container_resize_children): don't bother about redrawing anymore
291         since gtk_widget_size_allocate handles that for us now.
292
293         * gtk/gtknotebook.h:
294         * gtk/gtknotebook.c:
295         added a flag have_visible_child to indicate whether we need to draw
296         non child related portions at all, e.g. shadows etc.
297         (gtk_notebook_draw): if have_visible_child changed, do a full paint
298         instead of updating a small area only.
299
300 Mon Jan 11 20:44:35 1999  Tim Janik  <timj@gtk.org>
301
302         * gtk/gtkstyle.c: changed gtk_style_apply_default_pixmap to
303         gtk_style_apply_default_background which takes an extra argument
304         copy_area to determine NO_WINDOW widget pixmap copying.
305         changed callers accordingly.
306
307         * gtk/gtktogglebutton.c:
308         (gtk_toggle_size_allocate): 
309         (gtk_toggle_button_expose): 
310         (gtk_toggle_button_paint): avoid messing with our parent's window if
311         toggle_button->draw_indicator == TRUE and we are a NO_WINDOW widget.
312
313         * gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator): draw
314         the draw_indicator with GTK_STATE_ACTIVE if the toggle button is active.
315
316         * gtk/check-n.xpm:
317         * gtk/check-y.xpm:
318         * gtk/testgtkrc: set pixmaps for ACTIVE and NORMAL check button
319         bg_pixmaps.
320
321 Mon Jan 11 23:52:58 1999  Lars Hamann  <lars@gtk.org>
322
323         * gtk/gtklist.c (gtk_list_signal_drag_begin)
324         (gtk_list_drag_begin): end drag selections if necessary.
325
326         * gtk/gtkspinbutton.c/h (gtk_spin_button_update): made function
327         public. Manually force synchronization of spin button text and
328         adjustment value.
329
330 Mon Jan 11 15:23:32 1999  Tim Janik  <timj@gtk.org>
331
332         * gtk/gtktogglebutton.c: eliminated some queue_draws when invoking
333         gtk_widget_set_state, since that cares about redrawing already.
334         some code cleanups.
335
336         * gtk/gtktogglebutton.[hc]:
337         * gtk/gtkfontsel.c:
338         * gtkgamma.c:
339         s/gtk_toggle_button_set_state/gtk_toggle_button_set_active/ since
340         set_state is already taken by gtkwidget.h.
341
342         * gtk/gtkcompat.h: #define gtk_toggle_button_set_state
343         gtk_toggle_button_set_active.
344         
345         * gtk/gtkstyle.c: some indentation cleanups.
346
347 Mon Jan 11 15:12:33 1999  Tim Janik  <timj@gtk.org>
348
349         * gtk/gtktogglebutton.c (gtk_toggle_button_set_mode): take previous
350         visibility state into account when unrealizing.
351
352 Mon Jan 11 10:45:28 1999  Owen Taylor  <otaylor@redhat.com>
353
354         * gtk/gtkdnd.c: Only remove handlers for motion/button_release
355         at drop, remove "selection_get" handler later.
356
357 Mon Jan 11 13:31:49 1999  Tim Janik  <timj@gtk.org>
358
359         * gtk/gtktypeutils.[hc]: removed Paolo Molaro's type creation hooks
360         again, since they 1) don't care about infinite recursion (likely
361         to achive), 2) we are in feature freeze for 1.2. this definitely
362         deserves a sane implementation in 1.3 though (but without a hook
363         return value, without seq_id hackery and with recursion checks).
364
365 Mon Jan 11 13:18:37 1999  Tim Janik  <timj@gtk.org>
366
367         * gtk/gtkwindow.c:
368         (gtk_window_key_release_event): 
369         (gtk_window_key_press_event): only pass key events to the focus widget
370         if it is sensitive.
371
372         * gtk/gtkmenuitem.c (gtk_menu_item_select_timeout): don't popup the
373         submenu if it isn't sensitive.
374         (gtk_menu_item_paint): state_type doesn't need to be reset to
375         GTK_STATE_INSENSITIVE if the widget is insensitive anyways.
376
377         * gtk/gtkcontainer.c (gtk_container_real_focus): 
378         * gtk/gtklist.c (gtk_list_focus): 
379         * gtk/gtkmenushell.c (gtk_menu_shell_move_selected): 
380         * gtk/gtknotebook.c (gtk_notebook_focus): 
381         s/GTK_WIDGET_SENSITIVE/GTK_WIDGET_IS_SENSITIVE/ since a widgets
382         sensitivity is determined through the parent as well,
383         GTK_WIDGET_SENSITIVE is only of interest inside gtkwidget.c, everywhere
384         else GTK_WIDGET_IS_SENSITIVE (widget) needs to be used to check for
385         sensitivity.
386
387         * gtk/gtkaccelgroup.c (gtk_accel_group_activate): don't activate
388         object if it is an insensitive widget.
389
390 Mon, 11 Jan 1999 08:09:08 +0100 Paolo Molaro <lupus@debian.org>
391
392         * gtk/gtktypeutils.[ch]: add gtk_type_{add,remove}_creation_hook().
393         You can have a notification when a type is created.
394
395 1999-01-11  Tim Janik  <timj@gtk.org>
396
397         * gtk/gtkmain.c (gtk_propagate_event): added an assertement.
398
399 Sun Jan 10 14:45:37 1999  Owen Taylor  <otaylor@gtk.org>
400
401         * gtk/gtktext.c (text_properties_equal): Fixed
402         cut and paste bug when comparing text property
403         bg colors.
404         [ Matt Aubury <Matt.Aubury@comlab.ox.ac.uk> ]
405
406 1999-01-10  Tim Janik  <timj@gtk.org>
407
408         * gtk/gtksignal.c (gtk_signal_lookup): if the lookup failed, try
409         to initialize the object class and reattempt the lookup, reported
410         by Paolo Molaro <lupus@lettere.unipd.it>.
411
412 Sat Jan  9 17:36:20 1999  Owen Taylor  <otaylor@redhat.com>
413
414         * configure.in (ALL_LINGUAS): Added cs to ALL_LINGUAS.
415
416 Sat Jan  9 17:27:49 1999  Owen Taylor  <otaylor@redhat.com>
417
418         * gtk/gtkfilesel.c (gtk_file_selection_populate):
419         Mark another string for internationalization.
420         [ Stanislav Brabec <utx@k332.feld.cvut.cz> ]
421
422 Sat Jan  9 14:02:08 1999  Owen Taylor  <otaylor@redhat.com>
423
424         * gtk/gtktooltips.c (gtk_tooltips_force_window): Set
425         name "gtk-tooltips" on tip window so that a style
426         can be set for tooltips.
427
428 Fri Jan  8 19:00:17 1999  Owen Taylor  <otaylor@redhat.com>
429
430         * gdk/gdkdnd.c (gdk_window_cache_filter): Fixed
431         some list-manipulation breakage.
432
433         * gdk/gdkdnd.c (gdk_window_cache_destroy): Free 
434         window cache structure.
435
436         * gtk/gtkdnd.c (gtk_drag_set_icon_pixmap): Set an
437         event mask on the drag window so clicking on it
438         doesn't pop up root menus, etc.
439
440         * gtk/gtkdnd.c (gtk_drag_button_release_cb): Remove
441         signal handlers at button release.
442
443 Fri Jan  8 00:42:00 1999  Lars Hamann  <lars@gtk.org>
444
445         * gtk/gtkspinbutton.c (gtk_spin_button_get_value_as_int)
446         (gtk_spin_button_get_value_as_float): call gtk_spin_button_update
447         before returning a value
448
449         * gtk/gtkclist.c (gtk_clist_motion): don't allow 'drag selections'
450         if clist is a drag source.
451         (gtk_clist_drag_begin): remove pointer grabs, end ongoing selections.
452
453         * gtk/gtkctree.c (remove_grab): copy of clist function.
454         (gtk_ctree_drag_begin): let clists drag_begin method set the
455         source info struct.
456
457 Thu Jan  7 19:10:21 1999  Owen Taylor  <otaylor@redhat.com>
458
459         * gtk/gtkviewport.c (gtk_viewport_style_set): Fixes
460         to drawing the background of the bin window 
461         so that clearing and redrawing of child
462         widgets work properly.
463
464         * gtk/gtkwidget.c (gtk_widget_idle_draw): Juggle around
465         data so that if somebody triggers more redraw queuing
466         from a expose_event handler, it doesn't confuse the
467         heck out of GTK+. (But is highly liable to cause 
468         an infinite loop...)
469
470 Thu Jan  7 12:31:41 1999  Owen Taylor  <otaylor@redhat.com>
471
472         * gtk/gtkselection.c (gtk_target_list_unref): Fix some
473         more memory leaks.
474
475 Wed Jan  6 23:14:19 1999  Lars Hamann  <lars@gtk.org>
476
477         * gtk/gtkctree.c (gtk_ctree_drag_motion): fix for dnd bug reported
478         by Bertrand Guiheneuf. Don't return FALSE if source widget != dest.
479         widget.
480
481 Wed Jan 06 10:04:12 1999  Tristan Tarrant  <ttarrant@etnoteam.it>
482
483         * configure.in,po/it.po: added Italian translations
484
485 Tue Jan 05 21:18:00 1999  George Lebl  <jirka@5z.com>
486
487         * gtk/gtkmenu.c,gtk/gtkmenuitem.c,gtk/gtkeditable.c: free the
488           event that was returned to us by gtk_get_current_event
489
490 Tue Jan  5 19:01:18 1999  Owen Taylor  <otaylor@redhat.com>
491
492         * gtk/gtkcolorsel.c (gtk_color_selection_dialog_init): Push
493         GdkRGB's visual and colormap around the color selection
494         dialog so that the window and the previews have the
495         same colormap. If an app adds things to the colorsel
496         dialog, it will have to take care of them itself.
497
498 Tue Jan  5 15:03:47 1999  Owen Taylor  <otaylor@redhat.com>
499
500         * gtk/gtkmain.c (gtk_propagate_event): Make 
501         gtk_propagate_event() non-static, we need it in gtkdnd.c 
502         so that the button-release we synthesize gets propagated
503         correctly.
504
505         * gtk/gtkdnd.c: Use gtk_propagate_event() so
506         release gets to a GtkList. But we can't really
507         get this right without access to the windows
508         event masks and doing X-style propagation ourselves.
509
510 Tue Jan  5 12:40:57 1999  Owen Taylor  <otaylor@redhat.com>
511
512         * gtk/gtkpreview.c: Add a size_allocate() routine 
513         and set the size of the preview window equal
514         to the area we are going to draw on, instead 
515         of the entire allocation. Do this to avoid having 
516         to set a parent-relative background.
517         
518 Tue Jan  5 11:51:32 1999  Owen Taylor  <otaylor@redhat.com>
519
520         * gtk/gtkentry.c (gtk_entry_draw_cursor_on_drawable):
521         When redrawing the under-cursor character, don't
522         redraw the terminating NULL.
523         [ From: dov@imagic.weizmann.ac.il (Dov Grobgeld) ]
524
525 Tue Jan  5 11:31:55 1999  Owen Taylor  <otaylor@redhat.com>
526          
527         * gtk/gtkselection.c (gtk_target_list_unref): Free
528         memory allocated for target lists.
529
530         * gtk/gtkdnd.c (gtk_drag_drop_finished): Release
531         selections before destroying info structure.
532
533         * gdk/gdkdnd.c gdktypes.h (gdk_drag_get_protocol): Add
534         new value GDK_DRAG_PROTO_NONE, use it for non-drag
535         targets, to quiet Purify.
536
537         * gdk/gdkdnd.c (gdk_window_register_dnd): Set size
538         of property properly.
539
540 Mon Jan  4 03:45:42 CST 1999 Shawn T. Amundson <amundson@gtk.org>
541
542         * Released GTK+ 1.1.12
543
544         * INSTALL:
545           NEWS:
546           README:
547           configure.in:
548           gtk+.spec:
549           docs/gtk-config.1:
550           gtk/gtkfeatures.h.in: version=1.1.12
551
552 1999-01-04  Sung-Hyun Nam  <namsh@lgic.co.kr>
553
554         * configure.in (ALL_LINGUAS): Added 'ko'.
555
556 Sun Jan  3 17:41:22 1999  Lars Hamann  <lars@gtk.org>
557
558         * gtk/gtkctree.c (real_tree_expand): fixed auto_resize bug
559
560 Sat Jan  2 03:54:30 1999  Tim Janik  <timj@gtk.org>
561
562         * gdk/gdk.h (GDK_PRIORITY_EVENTS): make this G_PRIORITY_DEFAULT.
563
564         * gdk/gdkevents.c (gdk_events_init): add the source and the poll fd with
565         a priority of GDK_PRIORITY_EVENTS.
566
567 1999-01-02  Jeff Garzik  <jgarzik@pobox.com>
568
569         * configure.in, config.h.in, gdk/gdkimage.c:
570         Removed features.h test.
571
572         * gdk/gdkdnd.c:
573         Guard public functions against NULL pointer derefs.
574
575 Fri Jan  1 18:41:09 PST 1999 Manish Singh <yosh@gimp.org>
576
577         * gdk/gdk.c
578         * gdk/gdkinputnone.h
579         * gtk/gtkruler.c: casts to get rid of const warnings
580
581         * gtk/Makefile.am: fix gtktypebuiltins.h dependencies, and do a
582         cmp so people don't whine about rebuilds
583
584         * gtk/gtknotebook.c: use g_snprintf on translated strings, so we
585         don't get buffer overflows
586
587         * gtk/gtkrc.c: use g_strdup_printf instead of g_malloc/sprintf
588         Plug some memleaks.
589
590 1999-01-01  Jeff Garzik  <jgarzik@pobox.com>
591
592         * configure.in, config.h.in:
593         Check for features.h.
594
595         * gdk/gdkevents.c (gdk_event_put, gdk_events_queue):
596         Fixed bug in linked list append logic by replacing hand-coded
597         logic with a call to g_list_append.  Bug found by tml.
598
599         * gdk/gdkimage.c:
600         'gcc -ansi -pedantic' on GNU/Linux spews warnings and errors
601         in sys/ipc.h, including one specific admonishment to use
602         _SVID_SOURCE or _XOPEN_SOURCE.  Manually defined the latter, and
603         included features.h if present to obtain the necessary
604         side-effects.
605
606         * gtk/gtkclist.c, gtk/gtkeditable.c:
607         Eliminates comma-after-final-element warnings.
608
609         * gtk/gtkfontsel.c (gtk_font_selection_init):
610         Fixed bug where an intl string was declared as _("x") in
611         local var initializer.
612
613 1998-12-31  Jeff Garzik  <jgarzik@pobox.com>
614
615         * gtk/gtklabel.c (gtk_label_split_text_wrapped):
616         word->space is now initialized correctly.
617         Reported by Chi-Deok Hwang <cdhwang@sr.hei.co.kr>.
618
619 1998-12-30  Miguel de Icaza  <miguel@nuclecu.unam.mx>
620
621         * gtk/gtkmain.c (gtk_main_do_event): Fix memory leak.
622         gdk_event_put would make a copy of next_event, and next_event was
623         not being freed.
624
625 Wed Dec 30 18:39:21 CST 1998 Shawn T. Amundson <amundson@gtk.org>
626
627         * Released GTK+ 1.1.11
628
629         * INSTALL:
630           NEWS:
631           README:
632           configure.in:
633           gtk+.spec:
634           docs/gtk-config.1:
635           gtk/gtkfeatures.h.in: version=1.1.11
636         
637 1998-12-29  Owen Taylor  <otaylor@srv-19-29.roc.ny.frontiernet.net>
638
639         * gdk/gdkim.c (gdk_wcstombs): Fixed off-by-one
640         error when computing length.
641
642 Thu Dec 24 14:35:48 1998  Jeff Garzik  <jgarzik@pobox.com>
643
644         * gdk/gdkevents.c, gdk/gdkim.c, gdk/gdkrgb.c, gdk/gdkwindow.c,
645           gtk/gtkprogressbar.c:
646         Pull in string.h for various mem*() and str*() functions,
647         in an autoconf-friendly way.
648
649 Thu Dec 24 12:40:45 1998  Jeff Garzik  <jgarzik@pobox.com>
650
651         * gdk/gdkfont.c: removed unused var
652         * gdk/gdkim.c: 64-bit cast
653         * gtk/gtkaccelgroup.c: point to const data
654         * gtk/gtkdnd.[ch]: (gtk_drag_dest_set, gtk_drag_source_set):
655           Made const-correct.
656         * gtk/gtkfontsel.c: kill uninitialized var warning
657         * gtk/gtkselection.[ch]: (gtk_target_list_new,
658           gtk_target_list_add_table, gtk_selection_add_targets):
659           Made const-correct.
660         * gtk/testgtk.c: 64-bit cast
661
662 Thu Dec 24 03:16:52 CST 1998 Shawn T. Amundson <amundson@gtk.org>
663
664         * INSTALL:
665           NEWS:
666           README:
667           configure.in:
668           gtk+.spec:
669           docs/gtk-config.1:
670           gtk/gtkfeatures.h.in: version=1.1.10
671
672 Wed Dec 23 20:31:40 1998  Owen Taylor  <otaylor@redhat.com>
673
674         * gtk/gtklabel.c: Fix problem where empty labels were 
675         getting a requisition height of zero, and trailing 
676         newlines were being ignored.
677
678 Wed Dec 23 13:58:14 1998  Owen Taylor  <otaylor@redhat.com>
679
680         * gtk/gtklabel.c (gtk_label_parse_uline):
681         label->label should be the mb text _after_ removing
682         the underlines, not before.
683
684         * gtk/gtkmenu.c: Reverted Elliot's tearoff-menu-item
685         title hack. If it deserves being done, it deserves
686         being done right.
687         
688 1998-12-23  Elliot Lee  <sopwith@redhat.com>
689
690         * gtk/gtkmenu.c: Allow programmer to gtk_object_set_data(obj,
691         "GtkTearoffMenuItem_window_title", ..) on a GtkMenuItem and have
692         it be recognized. If we're getting the title out of the GtkLabel,
693         then remove all underscores.
694
695 Tue Dec 22 17:01:43 1998  Owen Taylor  <otaylor@redhat.com>
696
697         * gtk/gtkdnd.c (gtk_drag_dest_handle_event): 
698         Request XmTRANFER_FAILURE on Motif drops not within
699         a drop zone. I don't know why this is necessary,
700         but it is.
701
702         * gdk/gdkdnd.c (gdk_drop_reply): Fixed error where
703         Motif flag field in response was getting wrong
704         values.
705
706 Tue Dec 22 15:55:39 1998  Owen Taylor  <otaylor@redhat.com>
707
708         * gtk/gtkoptionmenu.c (gtk_option_menu_button_press): 
709         Return TRUE for button press events we handle.
710         (Allows option menus in radio buttons to work...)
711
712 Tue Dec 22 14:50:25 1998  Owen Taylor  <otaylor@redhat.com>
713
714         * gtk/gtkdnd.c (gtk_drag_find_widget): Optimization -
715         when we've already found a widget, skip all checks
716         for subsequent children.
717
718         * gtk/gtkdnd.c (gtk_drag_find_widget): Checked for
719         !MAPPED, not !VISIBLE, since a widget (like a notebook
720         page), can be VISIBLE, but !REALIZED or !MAPPED.
721
722         * gtk/gtkdnd.c (gtk_drag_find_widget): Use forall(),
723         not foreach().
724
725 Mon Dec 21 22:01:49 1998  Lars Hamann  <lars@gtk.org>
726
727         * gtk/gtkclist.c (gtk_clist_motion): fixed column resize bug
728
729 Sun Dec 20 04:48:59 1998  Tim Janik  <timj@gtk.org>
730
731         * gdk/gdk.h (GDK_PRIORITY_EVENTS): export the priority at which
732         events are processed.
733
734         * gtk/gtk[main|signal|container].[ch]: removed deprecated _interp
735         variants: gtk_container_foreach_interp, gtk_idle_add_interp,
736         gtk_timeout_add_interp, gtk_signal_connect_interp.
737
738 Sat Dec 19 18:45:30 PST 1998 Shawn T. Amundson <amundson@gtk.org>
739
740         * configure.in: added sv to ALL_LIGNUAS
741
742 Sat Dec 19 22:49:40 1998  Tim Janik  <timj@gtk.org>
743
744         * gtk/gtktypeutils.c (gtk_type_query): eek, fixed an embarrasing bug
745         that caused this function to always return NULL (noticed by marius
746         vollmer).
747
748 Sat Dec 19 17:28:30 1998  Owen Taylor  <otaylor@redhat.com>
749
750         * configure.in: Don't add the gthread libs to 
751         GLIB_LIBS either, or -lgthread -lpthread will get 
752         pulled into all applications because of shlib deps.
753
754         * gtk/gtkmain.h gtk/gtkwidget.c gtk/gtk gdk/gdk: 
755         Use GLIB's priority #define. Revise scale of 
756         priorities.
757
758 Sat Dec 19 03:44:29 PST 1998 Manish Singh <yosh@gimp.org>
759
760         * gtk/gtkmain.c: always run a g_main_iteration, even if
761         there are no active main loops. This fixes the gimp splash
762         screen.
763
764 Sat Dec 19 05:37:51 1998  Tim Janik  <timj@gtk.org>
765
766         * gtk/gtklabel.c (gtk_label_expose): removed return_if_fail
767         (label->words != NULL) since that's a valid case when the label
768         is empty, or just default constructed.
769         fixed indentation prototype arguments and braces in some places.
770         also, pointer comparisions and initializations are done with NULL
771         not 0, there's a reason GLib defines NULL.
772
773         * gdk/gdkevents.c (gdk_events_pending): return (queued_events ||
774         putback_events) so this again returns whether events are pending,
775         not whether other sources like idles are pending.
776
777         * gtk/gtkmain.c (gtk_main_iteration_do): 
778         (gtk_main_iteration): return whether the loop is done, not whether
779         something got dispatch to restore the original behaviour (yosh: this
780         fixes code like in GleSelector).
781
782 Fri Dec 18 19:20:45 PST 1998 Manish Singh <yosh@gimp.org>
783
784         * gtkbutton.[ch]
785         * gtktogglebutton.c: s/(enter|leave)_button/$1/g, since pthreads.h
786         no longer conflicts
787         
788 Sat Dec 19 01:56:13 1998  Lars Hamann  <lars@gtk.org>
789
790         * gtk/gtkclist.c (gtk_clist_button_press): fixed GDK_2BUTTON_PRESS
791         bug.
792
793 Fri Dec 18 15:30:43 PST 1998 Manish Singh <yosh@gimp.org>
794
795         * configure.in: add ja to ALL_LINGUAS
796
797 Fri Dec 18 15:19:54 1998  Owen Taylor  <otaylor@redhat.com>
798
799         * gtk/gtksocket.c (gtk_socket_filter_func): Marked
800         plug window as destroyed before destroying the 
801         window.
802
803 Fri Dec 18 14:17:14 1998  Owen Taylor  <otaylor@redhat.com>
804
805         * gtk/gtkmenu.c (gtk_menu_popup): Set the usize on the
806         tearoff window so when we reparent the window out,
807         the window doesn't shrink down.
808
809 1998-12-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
810
811         * configure.in: do not export the glib flags for thread support to
812         gtk-config.
813
814 Fri Dec 18 01:32:59 1998  Tim Janik  <timj@gtk.org>
815
816         * gtk/gtkmain.c (gtk_main): added gdk_flush() after g_main_run(), so we
817         get the original behaviour back, i.e. the event queue needs to be flushed
818         after a main loop has been quitted.
819         (gtk_main): add/remove the current main loop to/from the main loop
820         before/after init/quit functions have been exected to preserve the
821         original gtk_main_quit() behaviour.
822
823 Thu Dec 17 23:48:29 1998  Tim Janik  <timj@gtk.org>
824
825         * gdk/gdkevents.c (gdk_events_init): changed argument order in call
826         to g_main_add_poll() to match recent glib changes.
827
828 Thu Dec 17 20:33:28 1998  Owen Taylor  <otaylor@redhat.com>
829
830         * gtk-config.in: Add @INTLLIBS@. 
831         gtk-scier-981116-0.patch  Sean Cier <scier@PostHorizon.com>) ]
832
833         * gtk/gtkcolorsel.c gtk/gtkfilesel.c gtk/gtkfontsel.c
834           gtk/gtkgamma.c gtk/gtkinputdialog.c 
835           gtk/gtknotebook.c gtk/gtkrc.c gtk/gtkthemes.c
836           gtk/gtktipsquery.c: 
837         
838         Applied parts of gtk-egger-981215-1 [ Daniel Egger
839         <Daniel.Egger@t-online.de> ] marking additional strings for
840         internationalization.
841         
842         * po/nl.po: Added Dutch translation from 
843         Paul Siegmann <pauls@euronet.nl>.
844         
845 Thu Dec 17 18:25:52 1998  Owen Taylor  <otaylor@redhat.com>
846
847         * gtk/gtkdnd.c (gtk_drag_drop_finished): Remove the
848         info tag from the context so if the source unexpectedly
849         responds in the future, we do nothing properly.
850
851 Thu Dec 17 18:24:41 1998  Owen Taylor  <otaylor@redhat.com>
852
853         * gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): Handle
854         the case where one side of the the pane is empty.
855
856         * gtk/gtkfilesel.c (gtk_file_selection_init): Set
857         dir_title before using it. (Pointed out by
858         Lavoie Philippe <lavoie@zeus.genie.uottawa.ca>)
859         
860 Thu Dec 17 10:53:20 1998  Owen Taylor  <otaylor@redhat.com>
861
862         * gtk/gtklabel.c (gtk_label_set_text): Free 
863         previous label->label_wc.
864
865         * gtk/testgtkrc: Leave font, not fontset commented
866         in by default.
867
868 1998-12-17  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
869
870         * gdk/gdkim.c: Define gdk_use_mb outside USE_XIM guard. Removed
871         unnecessary USE_XIM guard inside another. Made gdk_use_mb
872         static. Compile gdk_set_locale also if not USE_XIM.     
873
874 Thu Dec 17 00:26:01 1998 Shawn T. Amundson <amundson@gtk.org>
875
876         * Released GTK+ 1.1.9
877
878         * INSTALL:
879           NEWS:
880           README:
881           configure.in:
882           gtk+.spec:
883           gtk/gtkfeatures.h.in:
884           docs/gtk-config.1: version=1.1.9
885
886 Wed Dec 16 21:20:00 PST 1998 Manish Singh <yosh@gimp.org>
887
888         * autogen.sh: rm -rf intl breaks --disable-nls, put it back
889
890         * gtkbutton.[ch]
891         * gtktogglebutton.c: s/(enter|leave)/$1_button/g.
892         Digital: 1 GTK+: 0 (for now)
893
894 Wed Dec 16 22:38:22 CST 1998 Shawn T. Amundson <amundson@gtk.org>
895
896         * gdk/gdkevents.c: updated call to g_main_add_poll
897           instead of g_main_poll_add
898
899 Wed Dec 16 23:32:05 1998  Owen Taylor  <otaylor@redhat.com>
900
901         * gtk/gtklabel.c (gtk_label_expose): Remove 
902         unnecessary cast.
903
904 Wed Dec 16 22:50:52 1998  Owen Taylor  <otaylor@redhat.com>
905
906         * gdk/gdk.c gdk/gdkim.c: Check for broken glibc 2.0 
907         mb functions, and avoid them.
908
909 Wed Dec 16 16:57:55 1998  Owen Taylor  <otaylor@redhat.com>
910
911         * gdk/gdkevents.c (gdk_events_queue): Don't
912         call XPending() if we have putback events.
913
914 Wed Dec 16 16:04:41 1998  Owen Taylor  <otaylor@redhat.com>
915
916         * gtk/gtklabel.c (gtk_label_expose): Do nothing
917         on empty string, quietly.
918
919 Wed Dec 16 15:36:19 1998  Owen Taylor  <otaylor@redhat.com>
920
921         * gtk/gtkentry.c (gtk_entry_draw_cursor_on_drawable):
922         Redraw the character under the cursor when removing
923         the cursor.
924
925 Wed Dec 16 13:06:17 1998  Owen Taylor  <otaylor@redhat.com>
926
927         * gdk/gdk.[ch] gtk/gtkmain.[ch] gtk/gtkprivate.h: Move main
928         thread lock back to GDK - we need it there for locking
929         when translating events. Rename things appropriately.
930
931 Wed Dec 16 11:44:21 1998  Owen Taylor  <otaylor@redhat.com>
932
933         * gtk/gtkrange.c (gtk_range_expose): Fix a x/y typo.
934
935 Wed Dec 16 10:20:27 CST 1998 Shawn T. Amundson <amundson@gtk.org>
936
937         * Released GTK+ 1.1.8
938
939         * ChangeLog:
940           INSTALL:
941           README:
942           gtk+.spec:
943           docs/gtk-config.1: version=1.1.8
944
945 1998-12-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
946
947         * gdk/gdkglobals.c: Define gdk_xim_ic only, if USE_XIM is defined.
948
949 Wed Dec 16 07:03:32 1998  Tim Janik  <timj@gtk.org>
950
951         * gtk/gtkwidget.h: 
952         * gtk/gtkwidget.c: s/USER_DRAW/APP_PAINTABLE/. provided
953         gtk_widget_set_app_paintable() which users can use to make
954         a widget paintable for the application. changed other files accordingly.
955
956 Wed Dec 16 05:26:32 1998  Tim Janik  <timj@gtk.org>
957
958         * configure.in: version bump to 1.1.8, binary age 0, interface age 0,
959         depend on GLib 1.1.8.
960
961         * gdk/gdkprivate.h:
962         * gdk/gdkglobals.c: removed last Gdk threads specific bits.
963
964         * gtk/gtkmain.c (gtk_init): s/g_thread_supported/g_thread_supported()/.
965
966         * gtk/gtkprivate.h: changed GTK_THREADS_ENTER and GTK_THREADS_LEAVE
967         to function macros GTK_THREADS_ENTER() and GTK_THREADS_LEAVE().
968         honour G_THREADS_ENABLED in the definition of GTK_THREADS_ENTER()
969         and GTK_THREADS_LEAVE(). changed callers accordingly.
970
971 Tue Dec 15 21:26:26 CST 1998 Shawn T. Amundson <amundson@gtk.org>
972
973         * autogen.sh: warn if glib.m4 or gettext.m4 are not found 
974           in aclocal's directory.
975
976 Tue Dec 15 21:36:14 1998  Owen Taylor  <otaylor@redhat.com>
977
978         * gtk/testgtk.c (create_layout): Create buttons,
979         not combos again.
980
981 1998-12-15  Joel Becker  <jlbec@ocala.cs.miami.edu>
982
983         * autogen.sh: reordered gettextize and aclocal, because
984         gettextize was messing up aclocal.m4.
985
986 Tue Dec 15 22:30:44 1998  Lars Hamann  <lars@gtk.org>
987
988         * gtk/gtkclist.h : 
989         removed clist flag : GTK_CLIST_DRAG_SELECTION
990         added flags : GTK_CLIST_REORDERABLE, GTK_CLIST_USE_DRAG_ICONS,
991         GTK_CLIST_DRAW_DRAG_LINE, GTK_CLIST_DRAW_DRAG_RECT
992         (GtkCListDragPos) : new enum for DND
993         (GtkButtonAction) : new enum of possible mouse button actions
994         (struct _GtkCList): added button_actions array.
995         Added drag_button and click_cell struct, to store cell and
996         mouse button of last button_press_event
997         
998         (struct _GtkCListClass): new class method draw_drag_highlight.
999         (gtk_clist_set_reorderable) (gtk_clist_set_use_drag_icons) :
1000         new functions. Moved from gtkctree.h. Now clist is reorderable
1001         as well.
1002         (gtk_clist_set_button_actions) new function to customize mouse
1003         button actions.
1004
1005         * gtk/gtkclist.c:
1006         (gtk_clist_drag_begin)
1007         (gtk_clist_drag_motion)
1008         (gtk_clist_drag_leave)
1009         (gtk_clist_drag_end)
1010         (gtk_clist_drag_drop)
1011         (gtk_clist_drag_data_get)
1012         (gtk_clist_drag_data_received) : new dnd widget methods to
1013         implement clists reorderability via DND
1014
1015         (remove_grab) : new function. remove mouse grab if necessary.
1016         (draw_drag_highlight) : new method. Draw dnd highlight depending
1017         on clist flags GTK_CLIST_DRAW_DRAG_LINE and GTK_CLIST_DRAW_DRAG_RECT
1018
1019         (gtk_clist_class_init): added object args "reorderable" and
1020         "use_drag_icons"
1021
1022         (gtk_clist_button_press) (gtk_clist_button_release) :
1023         use button_actions array to decide which action to perform.
1024         (gtk_clist_motion) : start reorder operation if necessary.
1025
1026         * gtk/gtkctree.h :
1027         (struct _GtkCTree): removed drag_icon, icon_widht, icon_height,
1028         drag_row, drag_source, drag_target, reorderable, use_icons,
1029         in_drag, drag_rect
1030         (gtk_ctree_set_reorderable) :  deprecated function.
1031         use gtk_clist_set_reorderable instead.
1032         (gtk_ctree_set_use_drag_icons) : deprecated function.
1033         use gtk_clist_set_use_drag_icons instead.
1034
1035         * gtk/gtkctree.c :
1036         (gtk_ctree_class_init): removed object args "reorderable" and
1037         and "use_drag_icons"
1038
1039         (draw_xor_line) (draw_xor_rect) (create_drag_icon) (check_cursor)
1040         (tree_toggle_selection) (set_mouse_cursor) : removed
1041         
1042         (draw_drag_highlight) : new clist method. replacement for
1043         draw_xor_line and draw_xor_rect functions
1044         (check_drag) renamed check_cursor function
1045
1046         (gtk_ctree_drag_begin)
1047         (gtk_ctree_drag_motion)
1048         (gtk_ctree_drag_data_received) : new dnd methods to implement ctrees
1049         reorderability via DND
1050
1051         (gtk_ctree_button_release)
1052         (gtk_ctree_button_motion) : removed.
1053
1054         * gtk/testgtk.c:
1055         (create_clist) : added new reorderable toggle button
1056         
1057 Tue Dec 15 19:50:41 1998  Owen Taylor  <otaylor@redhat.com>
1058
1059         * gtk/gtkctree.c gtk/gtkclist.c gtk/testgtk.c: Use 
1060         base[NORMAL] instead of bg[PRELIGHT] so CLists now can be
1061         used in detergent commercials.
1062
1063 Tue Dec 15 16:54:09 1998  Owen Taylor  <otaylor@redhat.com>
1064
1065         * gtk/gtklabel.h: Moved gtk_label_set() compatiblity
1066         define from <gtkcompat.h> to <gtklabel.h> for
1067         compatibility.
1068
1069 1998-12-15  Jeff Garzik  <jgarzik@pobox.com>
1070
1071         * configure.in, gdk/Makefile.am, gtk/Makefile.am:
1072         Removed last remaining thread-related configure bits 
1073         that have been moved into GLib.
1074
1075 1998-12-15  Elliot Lee  <sopwith@bogus.cuc.ml.org>
1076
1077         * gdk/gdkevents.c: Use G_IO_ERR|G_IO_HUP|G_IO_NVAL
1078         as the mask for checking for GDK_INPUT_EXCEPTION events.
1079
1080 1998-12-15  Martin Baulig  <martin@home-of-linux.org>
1081
1082         * acinclude.m4: Make the gettext check for for libc5 systems.
1083
1084         * autogen.sh: Not running gettextize fails on a fresh CVS checkout
1085         and we'll get a lot of bug reports tomorrow, so I add it back.
1086
1087         * acinclude.m4: Rename AM_GNU_GETTEXT_GTK to AM_GTK_GNU_GETTEXT and
1088         AM_WITH_NLS_GTK to AM_GTK_WITH_NLS to avoid this ugly automake
1089         warnings.
1090
1091 Tue Dec 15 16:06:15 1998  Owen Taylor  <otaylor@redhat.com>
1092
1093         * acinclude.m4: Provide a hacked version of the
1094           gettext macros that never use the included gettext.
1095          
1096         * Makefile.am configure.in: Remove references
1097           to intl/
1098         
1099         * autogen.sh: Don't run gettextize.
1100
1101 Tue Dec 15 14:30:35 1998  Owen Taylor  <otaylor@redhat.com>
1102
1103         * gdk/gdk.h gdk/gdkfonts.c: Added gdk_text_extents_wc()
1104
1105         * Patch from Jonathan Blanford <jrb@redhat.com> to add line wrapping
1106           to label. (Based on patch from Jeff Dairiki
1107           <dairiki@mac-ceope.apl.washington.edu> gtk-dairiki-971208-0)
1108
1109         - Adds new function gtk_label_set_line_wrap()
1110         - implement GTK_JUSTIFY_FILL.
1111         - rename gtk_label_set to gtk_label_set_text() add
1112            gtk_label_set() to gtkcompat.h.
1113
1114         * Use an internal wc representation in the label, so
1115           that we handle underlining and line breaks correctly
1116           for multi-byte strings.
1117
1118 Tue Dec 15 13:32:28 1998  Owen Taylor  <otaylor@redhat.com>
1119
1120         * gtk/gtkwidget.h: Added GTK_USER_DRAW flag.
1121
1122         * gtk/gtkwindow.c: Honor GTK_USER_DRAW flag.
1123
1124         * gtk/gtkdrawwindow.c gtk/Makefile.am: Removed 
1125         GtkDrawWindow, which GTK_USER_DRAW obsoletes.
1126
1127 Tue Dec 15 11:37:05 1998  Owen Taylor  <otaylor@redhat.com>
1128
1129         * gtk/gtkmain.c: Fixed up some warnings.
1130
1131 Tue Dec 15 10:32:01 1998  Owen Taylor  <otaylor@redhat.com>
1132
1133         * gtk/gtk{h,v,}paned.{c,h}: Add new functions 
1134         gtk_paned_set_position(),
1135         gtk_paned_pack1/2(). The latter take a
1136         shrink and resize parameters, that allows setting
1137         minimum sizes and getting 'relative' resizing.
1138
1139 Tue Dec 15 10:26:23 1998  Owen Taylor  <otaylor@redhat.com>
1140
1141         * gdk/gdkevents.c: Keep separate putback_events and 
1142         queued_events queues so that we get both FIFO and 
1143         preemptive behavior for gdk_event_put().
1144
1145 Tue Dec 15 09:22:44 1998  Owen Taylor  <otaylor@gtk.org>
1146
1147         * gtk/gtkrc.c (gtk_rc_init): Removed unused 
1148         variable, fixed minor memory leak.
1149
1150         * gdk/gdk.c: Fixed another merge problem.
1151
1152 Tue Dec 15 08:53:38 1998  Owen Taylor  <otaylor@redhat.com>
1153
1154         * gdk/gdk.c (gdk_get_display): Remove gdk_signal,
1155         which crept back in in last commit.
1156
1157 Tue Dec 15 01:38:53 1998  Owen Taylor  <otaylor@redhat.com>
1158
1159         * gtk/Makefile.am: Commented out testthreads from
1160         the build process, since we won't have any idea
1161         how to create a thread.
1162
1163         * configure.in (LIBS): use glib-config ... gthread
1164         so we always build a thread-compatible library.
1165
1166         * gtk/gtkaccellabel.c gtk/gtkclist.c gtk/gtkcolorsel.c
1167           gtk/gtkcombo.c gtk/gtkcontainer.c gtk/gtkentry.c
1168           gtk/gtklist.c gtk/gtkmenuitem.c gtk/gtknotebook.c
1169           gtk/gtkrange.c gtk/gtkselection.c gtk/gtkspinbutton.c
1170           gtk/gtktext.c gtk/gtktooltips.c gtk/gtkwidget.c:
1171         
1172         Add GTK_THREADS_ENTER/LEAVE pairs around timeouts
1173         and idles to account for the fact that they are no
1174         longer called within the GTK+ lock.
1175
1176         * gtk/gtkprivate.h: Added definitions for locking
1177         the main GTK+ mutex.
1178         
1179         * gtk/gtkmain.c: Re-implement the main loop 
1180         in terms of the GLib main loop.
1181
1182         * gdk/gdk.h gdk/gdkthreads.c gdk/Makefile.am: Removed threading 
1183         functionality, as it seems better to subsume GDK within the 
1184         GTK+ lock than vice-versa.
1185
1186         * gdk/gdkevents.c: New file, containing event handling bits 
1187         from gdk.c.
1188
1189         * gdk/gdkevents.c: Implement event source for GDK
1190         events.
1191         
1192         * configure.in gdk/gdkevents.c: Removed attempts to 
1193         subtract base_id, which were already non-functional.
1194
1195 Mon Dec 14 23:05:20 PST 1998 Manish Singh <yosh@gimp.org>
1196
1197         * acconfig.h
1198         * configure.in: removed IPC_RMID_DEFERRED_RELEASE check
1199
1200         * gdk/gdk.c: remove signal handlers, since we do an IPC_RMID
1201         after XShmAttach, and nobody complained
1202
1203 Tue Dec 15 02:27:42 MET 1998 Sven Neumann <sven@gimp.org>
1204
1205         * po/de.po: Replaced the crappy german po-file with a valid one.
1206
1207 Mon Dec 14 16:10:05 1998  Owen Taylor  <otaylor@redhat.com>
1208
1209         * gtk/gtkrc.c (gtk_rc_init): Append locale-specific
1210         suffixes to default rc file names, and look these
1211         up in addition to the base filename, to facilitate
1212         having the correct fontset per-locale.
1213
1214         move $(sysconfdir)/gtkrc to $(sysconfdir)/gtk/gtkrc
1215
1216         * gtk/gtkitemfactory.[ch] (gtk_item_factory_set_translate_func):
1217         New function to set a function to translate menu paths.
1218
1219         * gtk/gtkrc.c (gtk_rc_add_initial_default_files): Free
1220         results of g_strsplit().
1221
1222 1998-12-14  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>
1223
1224         * configure.in (ALL_LINGUAS): Added 'pt'.
1225
1226         * po/pt.po: Added Portuguese translation.
1227
1228 Mon Dec 14 20:04:31 1998  Stefan Jeske  <stefan@gtk.org>
1229
1230         * gtk/gtkspinbutton.c: Only call gtk_spin_button_update if
1231         the spinbutton is editable.
1232
1233 Mon Dec 14 12:24:13 1998  Owen Taylor  <otaylor@redhat.com>
1234
1235         * HACKING: Added gettext-10.35
1236
1237         * autogen.sh: Run gettextize.
1238
1239 Wed Dec  9 16:29:06 1998  Owen Taylor  <otaylor@redhat.com>
1240
1241         Applied gtk-egger-981010-[12] 
1242         [ Daniel.Egger@t-online.de (Daniel Egger) ]
1243
1244         * gtk/gtkintl.h: New file - defines for localization.
1245
1246         * gtk/gtkfilesel.c gtk/gtkinputdialog.c: Mark strings
1247         for internationalization.
1248
1249         * gtk/gtkmain.c: call bindtextdomain
1250
1251         * po/ - directory for translations. Initially includes
1252         German translation.
1253
1254 Mon Dec 14 02:42:11 1998  Tim Janik  <timj@gtk.org>
1255
1256         * gtk/gtkwidget.c: made GtkWidget::grab_focus a RUN_LAST and
1257         RUN_ACTION signal. moved stuff from gtk_widget_grab_focus() into
1258         gtk_widget_real_grab_focus() so a signal is always emitted
1259         if the focus is grabbed on a widget.
1260
1261 Mon Dec 14 02:13:01 1998  Tim Janik  <timj@gtk.org>
1262
1263         * gtk/gtkmenuitem.c: fixed submenu popup timeouts, we decide whether or
1264         not to delay the submenu popup from a menu item deselection time stamp.
1265         the code looks even more hackish than before, but in practice "feels"
1266         very well.
1267
1268 1998-12-13  Federico Mena Quintero  <federico@nuclecu.unam.mx>
1269
1270         * gtk/gtkwidget.h (struct _GtkWidgetClass): Added a "grab_focus"
1271         signal for widgets.  When the signal is emitted, the widget will
1272         grab the focus.  This is needed to let the user press an
1273         accelerator key in a dialog box and have the corresponding widget
1274         be focused.
1275
1276         * gtk/gtkwidget.c (gtk_widget_class_init): Create the "grab_focus"
1277         signal.  The default handler is simply gtk_widget_grab_focus().
1278
1279 Sun Dec 13 22:15:48 GMT 1998  Tony Gale  <gale@gtk.org>
1280
1281         * docs/gtk_tut.sgml: Update the following sections to the
1282           current API:
1283             - Container Widgets
1284             - CList Widget
1285             - List Widget
1286             - Tree Widget
1287
1288 Sat Dec 12 19:11:35 1998  Tim Janik  <timj@gtk.org>
1289
1290         * gtk/gtkmenuitem.c: made GtkMenuItem::activate a GTK_RUN_ACTION signal.
1291
1292         * gtk/gtkbutton.c: made GtkButton::clicked a GTK_RUN_ACTION signal.
1293
1294         * gtk/gtkfeatures.h.in: define GTK_HAVE_FEATURES_1_1_8.
1295
1296 Sat Dec 12 17:46:55 1998  Owen Taylor  <otaylor@gtk.org>
1297
1298         * gtk/gtklayout.c (gtk_layout_unrealize): Mark
1299         child->window as destroyed so we don't destroy
1300         it again.
1301
1302 Sat Dec 12 17:18:32 1998  Owen Taylor  <otaylor@redhat.com>
1303
1304         * gdk/gdkfont.c (gdk_text_extents): Corrections
1305         to computation of extents of text from a font set.
1306         (from Chi-Deok Hwang <cdhwang@sr.hei.co.kr>)
1307          and Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>)
1308         
1309 Fri Dec 11 08:59:12 1998  Owen Taylor  <otaylor@redhat.com>
1310
1311         * gtk/gtklistitem.c (gtk_list_item_style_set):
1312         * gtk/gtklist.c     (gtk_list_style_set):
1313         Added "style_set" handlers.
1314
1315 Fri Dec 11 05:49:30 1998  Owen Taylor  <otaylor@redhat.com>
1316
1317         * gtk/gtkclist.c (gtk_clist_style_set): Add in a "style_set"
1318         handler so that the background of the clist changes
1319         with the theme.
1320
1321 Thu Dec 10 22:02:49 CST 1998 Shawn T. Amundson <amundson@gtk.org>
1322
1323         * Released GTK+ 1.1.7
1324
1325         * INSTALL:
1326           NEWS:
1327           README:
1328           configure.in:
1329           gtk+.spec:
1330           gtk/gtkfeatures.h.in: 
1331           docs/gtk-config.1: Version to 1.1.7
1332
1333 Thu Dec 10 20:48:19 PST 1998 Manish Singh <yosh@gimp.org>
1334
1335         * gtk/gtkclist.c: avoid void pointer math
1336
1337         * gtk/gtkhscale.c
1338         * gtk/gtkhscrollbar.c
1339         * gtk/gtkvscale.c
1340         * gtk/gtkvscrollbar.c: removed trailing , from enums
1341
1342         * gtk/gtksignal.c: can't use enums as a bitfield type, use guint
1343
1344         * gtk/testgtk.c: removed C++ comment added by owenpoo
1345
1346 Thu Dec 10 21:48:34 1998  Owen Taylor  <otaylor@redhat.com>
1347
1348         * gtk/gtkdnd.[ch]: Added gtk_drag_source_unset()
1349
1350 Thu Dec 10 20:42:22 1998  Owen Taylor  <otaylor@redhat.com>
1351
1352         * gtk/gtkdnd.c (gtk_drag_dest_handle_event): Use 
1353         gdk_window_get_origin() instead of gdk_window_get_position,
1354         because get_position is unreliable for plugs. 
1355
1356         This is a bad hack, maybe we need GDK_WINDOW_PLUG?
1357
1358 Thu Dec 10 17:58:49 GMT 1998  Tony Gale  <gale@gtk.org>
1359
1360         * docs/gtk_tut.sgml:
1361           - re-write the GtkProgressBar section to the 1.1 API.
1362           - add an Appendix listing all the signals
1363             (apologies to TimJ for taking so long in using his hard work
1364              in automating the extraction - thanx Tim). 
1365         * examples/*: bring them all upto the tutorial versions
1366
1367 Thu Dec 10 02:21:16 1998  Jeff Garzik  <jgarzik@pobox.com>
1368
1369         * gtk/testdnd.c: use g_snprintf, eliminate need for string.h
1370         * gtk/testrgb.c: include string.h, for strlen
1371
1372 Wed Dec  9 17:39:26 1998  Owen Taylor  <otaylor@redhat.com>
1373
1374         * configure.in: Add a case for success in 
1375         test for XUnregisterIMInstantiate, to prevent
1376         screwing up $LIBS.
1377
1378 Wed Dec  9 13:06:31 1998  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
1379  
1380         * gdk/gdkim.c (gdk_ic_new,gdk_ic_{set,get}_attr): Fixed argument
1381         list and return type for non-XIM fallback.
1382  
1383         * configure.in: Only build XIM-support if available.
1384  
1385 Wed Dec  9 12:23:30 1998  Owen Taylor  <otaylor@redhat.com>
1386         
1387         * gtk/testselection.c (main): Add in missing 'flags'
1388         field to target list.
1389
1390         * gdk/gdkproperty.c (gdk_atom_intern): Actually
1391         add the atoms to the local cache.
1392
1393 Wed Dec  9 04:57:31 PST 1998 Manish Singh <yosh@gimp.org>
1394
1395         * gdk/gdkprivate.h: put text after #endif in comment
1396
1397         * gdk/gdktypes.h: change whitespace in enum to shut up makeenums.pl
1398
1399         * gtk/testdnd.c: #include <string.h>
1400
1401 Mon Dec  7 10:27:09 1998  Owen Taylor  <otaylor@redhat.com>
1402
1403         * gtk/gtkwidget.c: Destroy widgets _after_ propagating unrealize
1404         signals through the widget heirarchy. This is unpleasant, as it
1405         causes more X traffic, but is necessary, because we have to clean
1406         up our Input Contexts before destroying the X windows.
1407         (from matsu-981109-0.patch)
1408         
1409 Mon Dec  7 10:18:18 1998  Owen Taylor  <otaylor@redhat.com>
1410
1411         Applied gtk-a-higuti-981202-0 : 
1412         [ a-higuti@math.sci.hokudai.ac.jp (Akira Higuchi) ]
1413         
1414         * gdk/gdk.h gdk/gdk.c
1415                 (gdk_mbstowcs): New function. Nearly equals to mbstowcs, but
1416                         implemented by a combination of Xlib functions, so
1417                         it works even with X_LOCALE.
1418                 (gdk_wcstombs): New function.
1419                 (g_mbtowc): Removed. No longer needed.
1420
1421         * gdk/gdk.h gdk/gdkfont.c gdk/gdkdraw.c: 
1422                 Added _wc() variants to gdk_text_width(), 
1423                 gdk_char_width(), gdk_draw_text(),
1424                 
1425         * gdk/gdki18n.h
1426                 (mblen, mbtowc, wctomb, mbstowcs, wcstombs,
1427                  wcslen, wcscpy, wcsncpy):
1428                         Removed. No longer needed.
1429                 (iswalnum): Removed.
1430                 (gdk_iswalnum): New macro.
1431                 (gdk_iswspace): New macro.
1432         * gdk/gdktype.h
1433                 (GdkWChar): New typedef.
1434         
1435         * gtk/gtkentry.h, gtk/gtkentry.c
1436                 There are many changes according to the change of the
1437                 internal representation of text, from multibyte string
1438                 to wide characters. 
1439         * gtk/gtkprivate.h, gtk/gtkmain.c
1440                 Removed the variable gtk_use_mb and related codes.
1441         * gtk/gtkspinbutton.c
1442                 Some changes according to the change of type of entry->text.
1443         * gtk/gtktext.h, gtk/gtktext.c
1444                 Changed the internal representation of text. We use GdkWchar
1445                 if a fontset is supplied. If not, we use guchar to save
1446                 memory.
1447         
1448 Tue Dec  1 15:20:39 1998  Owen Taylor  <otaylor@redhat.com>
1449
1450         * gdk/gdkwindow.c (gdk_window_new): When creating
1451         a window with a specified non-system visual, use
1452         a matching colormap.
1453
1454 Mon Nov 30 11:50:13 1998  Owen Taylor  <otaylor@redhat.com>
1455
1456         * gdk/gdk.c gdk/gdkim.c gdk/gdkprivate.h gdk/gdk.h
1457           gdk/gdktypes.h gtk/gtkeditable.c gtk/gtkmain.c
1458           gtk/gtkentry.c gtk/gtktext.c:
1459
1460          Applied matsu-981109-0
1461          [ matsu@arch.comp.kyutech.ac.jp (Takashi Matsuda) ]
1462         
1463          - Change system of setting input method values 
1464            from varargs to a structure, similar to GC's
1465            or window attributes.
1466
1467          - Various fixes to event handling.
1468
1469          Also:
1470
1471          * gdk/gdkim.c: Split of input method stuff into
1472            a separate source file.
1473
1474          * Remove GdkIM typedef, change everything from
1475            GdkIC to GdkIC * to be consistent with the
1476            rest of GTK.
1477         
1478 Wed Dec  9 00:41:41 1998  Owen Taylor  <otaylor@redhat.com>
1479
1480         * gtk/gtkrc.c (gtk_rc_add_initial_default_files): Allocate
1481         correct amount of memory for strings.
1482
1483 Tue Dec  8 18:29:05 CST 1998 Shawn T. Amundson <amundson@gtk.org>
1484
1485         * Released GTK+ 1.1.6
1486
1487         * NEWS: updated
1488
1489         * gtk/Makefile.am:
1490           gtk/testgtk.c:
1491           gtk/gtkrc.h:
1492           gtk/gtkrc.c: Read in default files.
1493
1494 Wed Dec  9 00:49:12 1998  Tim Janik  <timj@gtk.org>
1495
1496         * gtk/gtktypeutils.h:
1497         * gtk/gtktypeutils.c: added gtk_type_query() which returns a newly
1498         allocated structure holding certain type specific informations.
1499         fixed the big bunch of `discards const' warnings with the
1500         initialization of enum/flags values.
1501
1502 Tue Dec  8 15:10:17 1998  Owen Taylor  <otaylor@redhat.com>
1503
1504         * gtk/gtkwindow.c (gtk_window_transient_parent_realized):
1505         Fixed order of arguments to gdk_window_transient_for().
1506
1507 Tue Dec  8 18:02:57 GMT 1998  Tony Gale  <gale@gtk.org>
1508
1509         * examples/Makefile: simple top level Makefile that invokes all
1510           the sub-directory Makefiles.
1511
1512 1998-12-08  Andrew T. Veliath  <andrewtv@usa.net>
1513
1514         * gtk/testgtk.c: Functions to test the toolbar space style.
1515
1516         * gtk/gtktoolbar.c: Add a private GtkToolbarChildSpace subclass of
1517         GtkToolbarChild to hold allocation. Set default space style to
1518         GTK_TOOLBAR_SPACE_EMPTY, define SPACE_LINE_* for separator
1519         fraction defaults.
1520         (gtk_toolbar_paint_space_line): New function; paints the separator
1521         line, using "toolbar" as the detail.
1522         (gtk_toolbar_expose): (gtk_toolbar_draw): Handle CHILD_SPACE when
1523         style is set to SPACE_LINE.
1524         (gtk_toolbar_size_allocate): Store space allocations.
1525         (gtk_toolbar_insert_element): If we are a space, allocate and
1526         initialize a GtkToolbarChildSpace instead of a GtkToolbarChild.
1527         (gtk_toolbar_set_space_style): New function.
1528
1529         * gtk/gtktoolbar.h: Add GtkToolbarSpaceStyle, with styles of EMPTY
1530         and LINE. Add prototype for gtk_toolbar_set_space_style.
1531
1532 Mon Dec  7 16:03:55 1998  Owen Taylor  <otaylor@redhat.com>
1533
1534         * gtk/gtkthemes.h: Remove random unnecessary includes
1535         of standard headers.
1536
1537 1998-12-07  Damon Chaplin  <DAChaplin@msn.com>
1538
1539         * gtk/gtkfontsel.c (gtk_font_selection_select_best_style): made sure
1540         we only try to match styles which are currently shown.
1541
1542         (gtk_font_selection_init): set the notebook tabs homogeneous and set
1543         the border, so we don't need to set the size explicitly (bad for i18n).
1544         Used the clist auto-resize feature for the font and style lists on the
1545         main page and all the filters. Used padding for the 'Reset Filter'
1546         button instead of spaces around it (bad for i18n).
1547
1548         (gtk_font_selection_find_font): when searching for
1549         a font, if we can't match both the family and foundry, we return any
1550         font where just the family matches. (The foundry can even be '*'.)
1551
1552         (gtk_font_selection_show_available_styles): 
1553         (gtk_font_selection_realize_list): don't set the style clist row
1554         colours (for the charset rows) until the clist is realized, since we
1555         use the clist style's insensitive colours.
1556
1557 Mon Dec  7 13:38:06 1998  Owen Taylor  <otaylor@redhat.com>
1558
1559         * gdk/gdkimage.c (gdk_image_new): Use IPC_RMID
1560         _after_ doing XShmAttach. This should work everywhere,
1561         and avoid the need for signal handlers or configure
1562         checks.
1563
1564 Thu Dec  3 19:58:45 1998  Owen Taylor  <otaylor@redhat.com>
1565
1566         * gtk/gtkinputdialog.c: Use _add_with_viewport() for
1567         scrolled window contents.
1568
1569 1998-12-07  Federico Mena Quintero  <federico@nuclecu.unam.mx>
1570
1571         * gtk/gtkpaned.h (struct _GtkPaned): Removed the unused cursor
1572         field in the structure.
1573
1574 Mon Dec  7 15:15:06 GMT 1998  Tony Gale <gale@gtk.org>
1575
1576         * docs/gtk_tut.sgml: Start mass update for GTK 1.1
1577         * examples/extract.sh: Look for the best version of awk
1578         * examples/extract.awk: Fix FD leak
1579         * example/base: minimal example from Tutorial
1580
1581 Mon Dec  7 01:29:27 1998  Owen Taylor  <otaylor@gtk.org>
1582
1583         * gtk/gtkwindow.c: New functions
1584         gtk_window_set_transient_for() - set up a "transient for" relationship.
1585         gtk_window_set_default_size() - set the initial size of a window
1586            distinct from its minimum size.
1587         gtk_window_set_geometry_hints() - Allow the user to set
1588            minimum, maximum sizes, aspect rations, and gridded geometry, 
1589            possibly all with respect to a subwidget of the window.
1590         These interfaces are still a wee bit experimental.
1591
1592         * gdk/gdk.c: Added gdk_window_set_transient_for(),
1593         gdk_window_set_geometry_hints(), and gdk_window_set_role().
1594
1595         * gdk/gdktypes.h: Added new types for find-grained specification
1596         of WM hints.
1597
1598         * gtk/testgtk.c: Various changes to tests to test the
1599         above new functions.
1600
1601         * gtk/gtkfontsel.c: Squash a few 'const' warnings.
1602         
1603         * gtk/gtktogglebutton.c (gtk_toggle_button_realize): Restored
1604         call to gtk_style_set_background() to prevent egregious
1605         flashing to black.
1606
1607 Mon Dec  7 03:52:01 1998  Tim Janik  <timj@gtk.org>
1608
1609         * gtk/gtksignal.c (gtk_handlers_run): when marshalling connect_object
1610         signals, don't pass the data pointer twice, but swap it with the
1611         object pointer (proposed on Nov 30 1998 on gtk-devel-list).
1612
1613 Mon Dec  7 03:08:39 1998  Tim Janik  <timj@gtk.org>
1614
1615         * gtk/gtktypeutils.h: 
1616         * gtk/gtktypeutils.c: reverted Marius's change to expose the type systems
1617         internal type info data to the user. if such functionality is required
1618         we should provide wrapping accessors, ala gtk_signal_query(). also the
1619         GtkTypeInfo structures are dynamically allocated memory portions, so
1620         only the type system is really allowed to access that stuff.
1621
1622         * gtk/gtksignal.c (gtk_signal_connect_by_type): reverted marius change,
1623         since it destroys the possibility to implement automatic marshaller
1624         lookups some day, and it also disables third party code's ability to
1625         connect to any signal.
1626
1627 Mon Dec  7 01:32:18 1998  Tim Janik  <timj@gtk.org>
1628
1629         * gtk/gtkfilesel.c (gtk_file_selection_key_press): always intercept the
1630         Tab key on the entry. the focus shouldn't get lost even if completion
1631         is attempted from an empty entry, since an empty entry string does
1632         indeed have a valid completion meaning (complete all).
1633         (gtk_file_selection_init): cast the gchar array parameter in calls to
1634         gtk_clist_new_with_titles() to quit compiler warnings.
1635         (check_dir): the no_stat_dirs struct must not be const, since we do
1636         indeed modify its contents.
1637
1638         * gtk/testgtk.c (event_watcher): adapted prototype to fit new emission
1639         hook semantics.
1640
1641         * gtk/gtksignal.h:
1642         * gtk/gtksignal.c:
1643         changed emission allocation, so we don't use a doubly linked list
1644         but link ourselfs (singly linked).
1645         changed emission hooks, they get the emision parameters passed as
1646         well now and are emitted during the actuall signal emission (after
1647         the RUN_FIRST class method, but prior to RUN_FIRST handlers).
1648         the existing restrictions do still apply to signal emission hooks,
1649         i.e. an emission may not be stopped or restarted from an emission hook.
1650         due to possibly huge perfomance impacts, frequent use of emision hooks
1651         is also not recommended.
1652         (gtk_signal_next_and_invalidate): added an
1653         assertments which explicits what the code assumes anyways: a
1654         maximum amount of 65535 signals.
1655
1656         * gtk/gtkcontainer.h: deprecated gtk_container_foreach_interp(),
1657         gtk_container_foreach_full() should be used instead.
1658
1659         * gtk/gtkmain.h:
1660         deprecated gtk_timeout_add_interp and gtk_idle_add_interp, since
1661         we provide _full variants.
1662
1663         * gtk/gtksignal.h: deprecated gtk_signal_connect_interp(), we provide
1664         gtk_signal_connect_full() for long enough now.
1665
1666 1998-12-06  Marius Vollmer  <mvo@zagadka.ping.de>
1667
1668         * gtk/gtksignal.c (gtk_signal_newv): Allow a NULL marshaller.
1669         (gtk_signal_connect_by_type): Allow only no_marshal handlers to
1670         connect to signals with a NULL marshaller.
1671
1672         * gtk/gtktypeutils.c (gtk_type_get_info): New.
1673         gtk/gtktypeutils.h (gtk_type_get_info): New prototype.
1674
1675 Sun Dec  6 14:27:35 1998  Stefan Jeske  <stefan@gtk.org>
1676
1677         * gtk/gtkspinbutton.c (gtk_spin_button_draw_arrow): Grey out
1678         arrows if wrap == FALSE and interval borders are reached.
1679
1680 Sat Dec  5 21:07:09 1998  Owen Taylor  <otaylor@gtk.org>
1681
1682         * gtk/gtkaspectframe.c (gtk_aspect_frame_size_allocate): Fixed
1683         long-standing typo in aspect ratio computation code.
1684         (pointed out by Sebastian Rittau <srittau@jroger.in-berlin.de>)
1685
1686 Fri Dec  4 01:20:06 1998  Lars Hamann  <lars@gtk.org>
1687
1688         * gtk/gtkclist.c (gtk_clist_button_release): call toggle_row with
1689         valid row numbers only
1690         (toggle_row): check if clist_row != NULL
1691
1692 Fri Dec  4 00:50:12 1998  Lars Hamann  <lars@gtk.org>
1693
1694         * gtk/gtkctree.c (gtk_ctree_export_to_gnode): fixed for-loop.
1695
1696         * gtk/gtkclist.c 
1697         (gtk_clist_set_column_visibility)
1698         (gtk_clist_column_titles_active)
1699         (gtk_clist_column_titles_active)
1700         (gtk_clist_column_title_passive)
1701         (gtk_clist_column_title_active): few additional tests whether
1702         column->button != NULL
1703
1704 Thu Dec  3 16:49:18 1998  Owen Taylor  <otaylor@redhat.com>
1705
1706         * gtk/gtkdnd.c (DROP_ABORT_TIME): Changed to 5 min
1707         from 10 seconds, so it doesn't abort while users
1708         have an ACTION_ASK menu up.
1709
1710         * gtk/gtkdnd.c: Hide the icon window between sending a a 
1711         drop event to the destination and displaying the
1712         snapback animation, so that it doesn't hang around
1713         during ACTION_ASK.
1714
1715 Thu Dec  3 16:37:42 1998  Owen Taylor  <otaylor@redhat.com>
1716
1717         * gtk/gtkclist.c (get_cell_style): Use GTK_STATE_INSENSITIVE
1718         for the foreground of cells for CLists in the insensitive
1719         state, instead of GTK_STATE_PRELIGHT.
1720
1721 Thu Dec  3 06:20:59 1998  Tim Janik  <timj@gtk.org>
1722
1723         * gtk/gtkwindow.c: moved checks upon focus setting from
1724         gtk_window_real_set_focus to gtk_window_set_focus, so we don't
1725         emit the signal if unneccessary.
1726
1727         * gtk/gtkwidget.c (gtk_widget_grab_focus): clear up the old focus
1728         containers when grabbing focus on a new widget. this is based on
1729         a patch from Alexis Mikhailov, submitted to gtk-list on 4 Nov 1998.
1730
1731         * gtk/gtkclist.c (gtk_clist_focus_out): set CLIST_CHILD_HAS_FOCUS
1732         flag, so we take the buttons into consideration upon the next focus
1733         request.
1734
1735         * gtk/gtkcontainer.c (gtk_container_set_focus_child): fixed an
1736         assertment.
1737
1738 Wed Dec  2 17:45:21 CST 1998 Shawn T. Amundson <amundson@gtk.org>
1739
1740         * gtk/gtkpixmap.c: Fixes for low-color displays and a slight
1741           enhancement for true-color displays.
1742
1743         * INSTALL:
1744           README:
1745           configure.in:
1746           gtk+.spec:
1747           docs/gtk-config.1: up to version 1.1.6
1748
1749 Wed Dec  2 01:36:49 PST 1998 Manish Singh <yosh@gimp.org>
1750
1751         * gtk/gtkfeatures.h.in: lets #define GTK_HAVE_FEATURES_1_1_6 before
1752         we release it this time
1753
1754 Wed Dec  2 01:39:02 1998  Tim Janik  <timj@gtk.org>
1755
1756         * gtk/gtknotebook.h: 
1757         * gtk/gtknotebook.c: s/gtk_notebook_nth_page/gtk_notebook_get_nth_page/.
1758
1759         * incremented version number to 1.1.6 and made Gtk
1760         dependant on GLib 1.1.6.
1761
1762         * gtk/gtkwidget.h (struct _GtkRequisition): changed width and height
1763         from guint16 to gint16, since sizes bigger than 32767 are not supported
1764         anyways, and aritmethics with intermediate negative values are possible
1765         now.
1766
1767 Tue Dec  1 00:00:04 1998  Tim Janik  <timj@gtk.org>
1768
1769         * gtk/gtkscrolledwindow.c:
1770         implementation of GTK_POLICY_NEVER functionality, added rationales
1771         on the policy and size requisition handling at the top.
1772         (gtk_scrolled_window_size_request):
1773         we assume a default minimum for our child's width and height
1774         if [hv]scrollbar_policy != GTK_POLICY_NEVER, except when the user
1775         specified the dimension explicitely.
1776         (gtk_scrolled_window_size_allocate): 
1777         do not show scrollbars if [hv]scrollbar_policy == GTK_POLICY_NEVER.
1778
1779         * gtk/gtkviewport.c (gtk_viewport_size_request): report the real
1780         size we require (including the child).
1781
1782         * gtk/gtkclist.c:
1783         (gtk_clist_size_request): report the real size required.
1784
1785         * gtk/gtkenums.h (enum GtkPolicyType): added GTK_POLICY_NEVER.
1786
1787         * gtk/gtkobject.c (gtk_object_init_type): object_type doesn't
1788         need to be a static variable.
1789
1790 Mon Nov 30 22:41:25 1998  Tim Janik  <timj@gtk.org>
1791
1792         * gtk/gtkclist.h: 
1793         * gtk/gtkclist.c: 
1794         * gtk/gtkviewport.h:
1795         * gtk/gtkviewport.c:
1796         * gtk/gtktext.h:
1797         * gtk/gtktext.c:
1798         * gtk/gtklayout.h:
1799         * gtk/gtklayout.c:
1800         * gtk/gtkwidget.h:
1801         * gtk/gtkwidget.c:
1802         * gtk/gtkscrolledwindow.h:
1803         * gtk/gtkscrolledwindow.c:
1804         s/scroll_adjustements/scroll_adjustments/
1805         s/scroll_adjustments/set_scroll_adjustments/g
1806
1807 Tue Dec  1 22:45:58 1998  Lars Hamann  <lars@gtk.org>
1808
1809         * gtk/gtkclist.h (struct _GtkCListClass): new class method/signal
1810         row_move.
1811         * gtk/gtkclist.c (gtk_clist_row_move): new public function.
1812         emit a row_move signal
1813         (real_row_move): move source_row to dest_row
1814         (gtk_clist_swap_rows): use gtk_clist_row_move calls.
1815         (gtk_clist_columns_autosize): resize all columns to their optimal
1816         width
1817         * gtk/gtkctree.c (real_row_move): use gtk_ctree_move to move
1818         entire sub-tree.
1819         * gtk/gtknotebook.c (gtk_notebook_nth_page): get nth page widget.
1820
1821 Tue Dec  1 02:40:22 PST 1998 Manish Singh <yosh@gimp.org>
1822
1823         * configure.in
1824         * gdk/Makefile.am
1825         * gtk/Makefile.am: Put -DFOO stuff into Makefile.am INCLUDES.
1826         Separate vars for each, for granularity.
1827
1828 Tue Dec  1 02:19:54 1998  Tim Janik  <timj@gtk.org>
1829
1830         * gtk/gtkenums.h: fixed a stupid error of mine about the run type
1831         values.
1832
1833 1998-11-30  Elliot Lee  <sopwith@cuc.ml.org>
1834
1835         * {gdk,gtk}/*.c: Make read-only data structures "static const" to
1836         allow them to be shared, mainly including (but not limited to) the
1837         GtkTypeInfo structures for each class.
1838
1839         * gtk/gtkfilesel.c: Add /net to the "leave me alone" directory listing.
1840
1841 Mon Nov 30 12:17:10 1998  Jeff Garzik  <jgarzik@pobox.com>
1842
1843         * gtk/gtksignal.c:
1844         Surround debug variable with #ifdef to silence gcc.
1845
1846         * gtk/gtknotebook.c (gtk_notebook_reorder_child):
1847         Added initializer to quiet gcc warning.
1848         Added assertion to check for null pointer deref.
1849
1850 Mon Nov 30 10:11:29 1998  Tim Janik  <timj@gtk.org>
1851
1852         * gtk/testgtkrc: merged testgtkrc with the pre-themes one, removed
1853         system specific includes.
1854
1855         * gtk/gtksignal.c: asured that stop and restart emissions are also
1856         checked and processed for not connected objects. fixed up restart
1857         emission administration. invoke emission hooks after emission, hooks
1858         are not supposed to muck around with the current emission, and
1859         may also not cause emission restarts. fixed up stop emission
1860         administration.
1861
1862 Mon Nov 30 06:20:36 1998  Tim Janik  <timj@gtk.org>
1863
1864         * gtk/testgtk.c: added an event watcher for enter/leave based on
1865         signal emission hooks.
1866
1867         * gtk/gtkobject.c (gtk_object_class_init): made GtkObject::destroy a
1868         GTK_RUN_NO_HOOKS signal.
1869
1870         * gtk/gtksignal.h: 
1871         * gtk/gtksignal.c: implemented emission hooks, new hooks can be added
1872         to a signal with gtk_signal_add_emission_hook or
1873         gtk_signal_add_emission_hook_full, and can be removed again with
1874         gtk_signal_remove_emission_hook.
1875
1876         * gtk/gtkenums.h: remove GTK_RUN_MASK, since it doesn't represent
1877         an appropriate mask for signal runtypes for a long time now.
1878         added GTK_RUN_NO_HOOKS value, which is used to flag signals
1879         that do not allow the running of signal hooks.
1880
1881 1998-11-26  Michael Krause  <m.krause@tu-harburg.de>
1882
1883         * gtk/gtknotebook.c (gtk_notebook_switch_page): made 'page_num'
1884         argument a gint: switch_page signal delivers valid page numbers
1885         again.
1886
1887 Sun Nov 29 06:12:01 1998  Tim Janik  <timj@gtk.org>
1888
1889         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_[hv]adjustment): 
1890         set composite names.
1891
1892         * gtk/gtktypeutils.c (gtk_type_unique): removed default initialization
1893         check, people must use gtk_type_init().
1894         fixed up type allocation for foreign fundamentals.
1895
1896         * gtk/gtkwidget.h: 
1897         * gtk/gtkwidget.c: added gtk_widget_set_composite_name() which is meant
1898         for internal use by containers, that want to assign specific composite
1899         names to their composite children.
1900         added gtk_widget_get_composite_name() which will return a newly
1901         allocated string, containing the composite name of a widget. valid
1902         composite names can only be retrived from widgets that have a parent
1903         assigned and are flagged as GTK_COMPOSITE_CHILD.
1904
1905         * gtk/gtkcontainer.h:
1906         * gtk/gtkcontainer.c: added a new function
1907         gtk_container_child_default_composite_name() which will return a
1908         newly allocated string, holding the composite name of a containers
1909         child. a default implementation is provided which will compose the
1910         composite name out of the widgets type and its sequential children
1911         id. this implementation can be overidden through a new class function
1912         *(composite_name)().
1913
1914 Sat Nov 28 10:57:59 1998  Owen Taylor  <otaylor@redhat.com>
1915
1916         * gtk/gtkwindow.c (gtk_window_expose_event): Removed bogus
1917         expose_event handler - we had two expose_event
1918         handlers!
1919
1920 Sat Nov 28 03:13:42 1998  Tim Janik  <timj@gtk.org>
1921
1922         * gtk/gtkscrolledwindow.h: 
1923         * gtk/gtkscrolledwindow.c: changed scrolled window inheritance,
1924         it inherits from GtkBin now.
1925
1926         * gtk/gtkbin.c (gtk_bin_unmap): removed superfluous check for
1927         visibility of child.
1928         (gtk_bin_draw): removed superfluous check for GTK_WIDGET_DRAWABLE().
1929         added check so a child gets only drawn if it's visible.
1930
1931         * gtk/gtkwidget.h: 
1932         * gtk/gtkwidget.c: removed gtk_widget_draw_children().
1933
1934         * gtk/gtkstyle.h: 
1935         * gtk/gtkstyle.c: rmoved gtk_reset_widget_shapes.
1936
1937         * gtk/gtkwidget.h: 
1938         * gtk/gtkwidget.c: removed crufty relict: gtk_widget_is_child().
1939         added internal function gtk_widget_reset_shapes() from gtkstyle.c.
1940
1941         * gtk/gtkrc.h:
1942         * gtk/gtkrc.c: (gtk_rc_find_pixmap_in_path): removed bogus gscanner
1943         argument, changed callers.
1944
1945         * gtk/gtkmenufactory.c: GtkMenuFactory is deprecated for a long time,
1946         it will issue a warning now.
1947
1948         * gtk/gtkcompat.h: new file to #define aliases for historic
1949         function names.
1950
1951         * changed 8 function names for consistency and provided aliases to keep
1952         source compatibility in gtkcompat.h:
1953         (gtk_accel_label_get_accel_width): renamed from gtk_accel_label_accelerator_width
1954         (gtk_container_set_border_width): renamed from gtk_container_border_width
1955         (gtk_notebook_get_current_page): renamed from gtk_notebook_current_page
1956         (gtk_packer_configure): renamed from gtk_packer_set_child_packing
1957         (gtk_paned_set_gutter_size): renamed from gtk_paned_gutter_size
1958         (gtk_paned_set_handle_size): renamed from gtk_paned_handle_size
1959         (gtk_scale_get_value_width): renamed from gtk_scale_value_width
1960         (gtk_window_set_position): renamed from gtk_window_position
1961
1962         * renamed a few recently added funtions for consistency:
1963         (gtk_notebook_get_tab_label): renamed from gtk_notebook_query_tab_label.
1964         (gtk_notebook_get_menu_label): renamed from gtk_notebook_query_menu_label.
1965         (gtk_progress_configure): renamed from gtk_progress_reconfigure.
1966
1967 Fri Nov 27 18:57:20 PST 1998 Manish Singh <yosh@gimp.org>
1968
1969         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_add_with_viewport):
1970         check for existing viewport first, and don't add one if there
1971         already is one
1972
1973 Sat Nov 28 00:06:49 1998  Tim Janik  <timj@gtk.org>
1974
1975         * gtk/gtkwidget.h: 
1976         * gtk/gtkwidget.c: deprecated gtk_widget_freeze_accelerators and
1977         gtk_widget_thaw_accelerators, we provide gtk_widget_lock_accelerators
1978         and gtk_widget_unlock_accelerators.
1979
1980         * gtk/gtklayout.h:
1981         * gtk/gtklayout.c: implemented incremental freezing facility.
1982
1983         * gtk/gtktext.h: 
1984         * gtk/gtktext.c: implemented incremental freezing facility.
1985
1986         * gtk/gtkenums.h:
1987         * gtk/gtkaccelgroup.h: moved enum GtkAccelFlags into this place.
1988
1989         * gtk/gtkentry.h:
1990         * gtk/gtkentry.c:
1991         deprecated gtk_entry_adjust_scroll().
1992         
1993         * random GtkType, macro and indentation fixes.
1994
1995 Fri Nov 27 22:50:15 1998  Tim Janik  <timj@gtk.org>
1996
1997         * gtk/gtkclist.h: 
1998         * gtk/gtkclist.c: implemented incremental freezing facility, added
1999         a new class member (*refresh)() which takes over the thaw
2000         functionality. the clist FROZEN flag got removed on the way.
2001         * gtk/gtkctree.c: adaptions to feature the clist refresh functionality
2002         and incremental freezing.
2003
2004         * gtk/gtkcalendar.c: implemented incremental freezing facility.
2005
2006 Fri Nov 27 11:41:27 1998  Raph Levien  <raph@gimp.org>
2007
2008         * gdk/gdkinputcommon.h (gdk_input_common_init): Fixed it so that
2009         it still includes the core pointer in gdk_input_devices even
2010         if the XInput extension is not present in the X server.
2011
2012 Fri Nov 27 12:17:15 1998  Owen Taylor  <otaylor@redhat.com>
2013
2014         * gtk/gtkdnd.[ch] (gtk_drag_get_source_widget): New function to
2015         get the source widget of a drag.
2016
2017         * gtk/gtkdnd.[ch]: Target flags GTK_TARGET_SAME_[WIDGET/APP]
2018         to restrict certain targets to the same widget or to
2019         the same application.
2020
2021         * gtk/testdnd.c: Test gtk_drag_get_source_widget().
2022         
2023 Thu Nov 26 19:11:46 1998  Lars Hamann  <lars@gtk.org>
2024
2025         * gtk/gtk-boxed.defs (GtkCTreeNode): define GtkCTreeNode as boxed type
2026         * gtk/gtkctree.c (gtk_ctree_class_init): use GTK_CTREE_NODE_TYPE
2027         instead of GTK_TYPE_POINTER in signal definitions.
2028         (patch from James Henstridge <james@daa.com.au>)
2029
2030 Thu Nov 26 18:48:44 1998  Lars Hamann  <lars@gtk.org>
2031
2032         * gtk/gtkclist.c (set_cell_contents)
2033         * gtk/gtkctree.c (set_cell_contents): call column_auto_resize only
2034         if auto.resize == TRUE
2035
2036         * gtk/gtknotebook.c (gtk_notebook_set_shape) (gtk_notebook_expose):
2037         don't draw tab, if show_tabs == FALSE
2038         (bug reports from Alexis Mikhailov / Dave Cole)
2039         (gtk_notebook_focus_changed) (gtk_notebook_draw_focus): draw only
2040         the focus rectangle, not the hole tab.
2041
2042 Thu Nov 26 03:18:08 1998  Tim Janik  <timj@gtk.org>
2043
2044         * gtk/gtkclist.h: 
2045         * gtk/gtkctree.h: 
2046         * gtk/gtkclist.c:
2047         * gtk/gtkctree.c: reverted bogus and undocumented!!! changes from
2048         Jay Cox (98/11/23 13:53:26) which `const' qualified char* arrays.
2049
2050         * gtk/maketypes.awk: changed underline substitution, so we get
2051         GTK_TYPE_CTREE_POS instead of the broken GTK_TYPE_C_TREE_POS.
2052         * gtk/makeenums.pl: likewise.
2053         * gtk/gtkctree.c: adapted type names accordingly.
2054
2055 Tue Nov 24 11:31:06 1998  Owen Taylor  <otaylor@redhat.com>
2056
2057         * docs/Changes-1.2.txt: Edited section on the ScrolledWindow.
2058
2059         * gtk/gtklayout.c (gtk_layout_set_[hv]adjustment): Remove
2060         some code duplication.
2061
2062         * gtk/gtklayout.[ch] Fixed mapping and unmapping of child windows
2063         and child widgets when scrolling greater than 32k pixels.
2064
2065         * testgtk.c: Modified layout test to test scrolling over 
2066         long distances.
2067
2068         * gtk/gtkplug.c: Added a few blank lines.
2069
2070 Tue Nov 24 11:11:05 1998  Owen Taylor  <otaylor@redhat.com>
2071
2072         * gtk/gtklayout.[ch]: Fixed up copyright message.
2073
2074         * gdk/gdkrgb.c (DM): Make the dither matrix constant
2075         so it can be shared.
2076
2077         * gtk/gtkdnd.c: Make cursor bitmaps const.
2078
2079         * gdk/gdk.h gdk/gdkpixmap.c: Added const to 
2080         gdk_pixmap/bitmap_create_from_data.
2081
2082 Tue Nov 24 07:46:09 1998  Tim Janik  <timj@gtk.org>
2083
2084         * docs/Changes-1.2.txt: added a section on scrolled windows and
2085         scrollable widgets.
2086
2087 1998-11-24  Andrew T. Veliath  <andrewtv@usa.net>
2088
2089         * gtk/gtktoolbar.c (gtk_toolbar_insert_element): Include radio
2090         buttons when setting relief for button items.
2091         (gtk_toolbar_set_button_relief): Same.
2092
2093 1998-11-23  Jeff Garzik  <jgarzik@pobox.com>
2094
2095         * gdk/Makefile.am, gtk/Makefile.am:
2096         Removed DEFS "+=" mess that breaks recent automakes.
2097         INCLUDES is the correct way to add to CFLAGS from Makefile.am.
2098
2099         * gdk/gdk.c, gdk/gdkglobals.c, gdk/gdkimage.c, gdk/gdkinput.c,
2100         gdk/gdkpixmap.c, gdk/gdkthreads.c, gdk/gdkwindow.c,
2101         gdk/gxid_lib.c, gtk/fnmatch.c, gtk/gtkclist.c, gtk/gtkmain.c,
2102         gtk/testthreads.c:
2103         Include "config.h" instead of "../config.h".
2104         Now that DEFS works again, automake will automatically pass us
2105         the location of config.h in -I.
2106
2107 Mon Nov 23 22:10:09 1998  Owen Taylor  <otaylor@redhat.com>
2108
2109         * gtk/Makefile.am gtk/gtk.h gtk/gtklayout.[ch]
2110         gtk/gtkplug.[ch] gtk/gtksocket.[ch] gtk/gtk.h:
2111
2112         Added layout widget for scrolling arbitrarily big areas.
2113         Added plug/socket widgets for interprocess embedding.
2114
2115         These widgets still, at some point, need to be
2116         made more pure in their use of GDK, as opposed
2117         to raw X.
2118
2119         * gtk/testgtk.c: Added test for layout widget.
2120         
2121 1998-11-23  Jeff Garzik  <jgarzik@pobox.com>
2122
2123         * gtk/gtkclist.c: (gtk_clist_swap_rows):  Bugfix from
2124         Brandon Long <blong@fiction.net> - do the right thing with first
2125         and last, which are the absolute values of row arguments row1
2126         and row2.
2127
2128 Mon Nov 23 04:24:55 PST 1998 Manish Singh <yosh@gimp.org>
2129
2130         * gtk/gtkprogress.c: (gtk_progress_set_adjustment): make a saner
2131         default adjustment (from 0 to 100) instead. I'm not sure if this
2132         is the correct level for the fix, but gtk_progress_bar_new()'s
2133         original default behavior is restored.
2134
2135 1998-11-23  Martin Baulig  <martin@home-of-linux.org>
2136
2137         * gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_5): Define this so
2138         we can check for latest GTK features.
2139
2140 1998-11-23  Havoc Pennington  <hp@pobox.com>
2141
2142         * gtk/gtktoolbar.c: (gtk_toolbar_set_relief):
2143         (gtk_toolbar_insert_element): When setting relief, also affect
2144         toggle buttons.
2145
2146 Sun Nov 22 20:37:06 PST 1998 Manish Singh <yosh@gimp.org>
2147
2148         * gtk/gtkobject.h: remove extraneous comma
2149
2150 Mon Nov 23 05:21:50 1998  Tim Janik  <timj@gtk.org>
2151
2152         * gtk/gtkcontainer.c:
2153         (gtk_container_add_with_args): 
2154         (gtk_container_addv): 
2155         (gtk_container_add): removed assertements for constructed containers
2156         again, since this essentially breaks the "child" arg.
2157
2158         * gtk/gtktooltips.c (gtk_tooltips_force_window): fixup the draw_window
2159         reference count, we don't need to reference toplevels that already have
2160         destroy notifiers.
2161
2162         * gtk/gtkscrolledwindow.c: check for the composites existance in
2163         _forall since we might not be already constructed.
2164
2165 Sun Nov 22 14:34:58 CST 1998 Shawn T. Amundson <amundson@gtk.org>
2166
2167         * Released GTK+ 1.1.5
2168
2169         * configure.in: require GLib 1.1.5
2170
2171 Mon Nov 23 03:21:17 1998  Tim Janik  <timj@gtk.org>
2172
2173         * gtk/gtktext.c (gtk_text_destroy): disconnect hadj & vadj, not
2174         2 * hadj.
2175         (gtk_text_finalize): only unref the current_font if we have
2176         been realized.
2177
2178 Sat Nov 21 18:41:13 CST 1998 Shawn T. Amundson <amundson@gtk.org>
2179
2180         * configure.in:
2181           INSTALL:
2182           NEWS:
2183           README:
2184           gtk+.spec:
2185           docs/gtk-config.1: Version incremented to 1.1.5
2186
2187 Sun Nov 22 16:21:28 1998  Tim Janik  <timj@gtk.org>
2188
2189         * gtk/gtkprogress.c: added args ::show_text, ::text_xalign,
2190         ::text_yalign, ::activity_mode.
2191
2192         * gtk/gtkprogressbar.c: added construct arg ::adjustment. added args
2193         ::bar_style, ::orientation, ::discrete_blocks, ::activity_step,
2194         ::activity_blocks.
2195         (gtk_progress_bar_new):
2196         (gtk_progress_bar_new_with_adjustment): use gtk_widget_new().
2197         (gtk_progress_bar_construct): deprecated.
2198
2199         * gtk/gtkvscrollbar.c:
2200         (gtk_vscrollbar_draw_step_back): 
2201         (gtk_vscrollbar_draw_step_forw): use "vscrollbar" as detail for
2202         gtk_paint_arrow, to be consistent with hscrollbar.
2203
2204         * gtk/gtktext.c
2205         added construct args ::hadjustment, ::vadjustment.
2206         added args ::line_wrap, ::word_wrap.
2207         (gtk_text_class_init): added scroll_adjustments signal.
2208         (gtk_text_new): use gtk_widget_new.
2209         (gtk_text_disconnect): remove adjustement with gtk_text_set_adjustments,
2210         so we don't screw the reference counts and don't leave signals connected.
2211         (gtk_text_destroy): disconnect adjustments signals.
2212         (gtk_text_finalize): unref adjustments.
2213
2214         * gtk/gtkctree.c: added construct args ::n_columns and ::tree_column.
2215         added args ::indent, ::spacing, ::show_stub, ::reorderable,
2216         ::use_drag_icons, ::line_style and ::expander_style.
2217         (gtk_ctree_set_show_stub): renamed from gtk_ctree_show_stub, which is
2218         deprecated now.
2219
2220         * gtk/gtkclist.h: remove GTK_CLIST_CONSTRUCT flag.
2221         * gtk/gtkclist.c:
2222         removed ::vadjustment and ::hadjustment args, introduced
2223         ::scroll_adjustments signal.
2224         added ::shadow_type, ::selection_mode and ::row_height args.
2225         added n_columns construct arg.
2226         (gtk_clist_construct): call gtk_object_constructed().
2227         (gtk_clist_set_row_height): if height is passed as 0,
2228         revert to automatic height calculation.
2229         (gtk_clist_destroy): before unrefing the adjustments, disconnect our
2230         signal handlers.
2231
2232 Fri Nov 21 22:34:58 1998  Tim Janik  <timj@gtk.org>
2233
2234         * gtk/gtkwidget.c (gtk_widget_new): call gtk_object_default_construct
2235         like gtk_object_new.
2236         (gtk_widget_destroy): assert that we only destroy constructed widgets.
2237
2238         * gtk/gtkobject.h (enum GtkArgFlags): new flag GTK_ARG_CONSTRUCT_ONLY
2239         to identify args that may only be used for construction.
2240         GTK_ARG_CONSTRUCT maybe used as normal arguments besides construction
2241         time.
2242         * gtk/gtkobject.c (gtk_object_new): invoke gtk_object_default_construct
2243         at the end if the object is not fully constructed.
2244         (gtk_object_newv): likewise.
2245         (gtk_object_destroy): assert that we only destroy constructed objects.
2246         (gtk_object_init): setup GTK_CONSTRUCTED from the
2247         objects real klass.
2248         (gtk_object_default_construct): new function to complete default
2249         construction of an object by applying missing construtor args with
2250         default values of 0, 0.0 or NULL.
2251         (gtk_object_constructed): new function to mark an object as being
2252         constructed (used from within constructors).
2253
2254         * gtk/gtkarg.c (gtk_arg_type_new_static): return the args info pointer
2255         so it is immediatedly available for the caller.
2256
2257         * gtk/gtktypeutils.c (gtk_type_new): pass an object's real class to
2258         the object initilizer (GtkObjectInitFunc takes a second arg now, the
2259         real klass), and asure that object initializers may temporarily alter
2260         the class pointer.
2261
2262 Fri Nov 20 08:00:30 1998  Tim Janik  <timj@gtk.org>
2263
2264         * gtk/testgtk.c: change all occourances of gtk_container_add (
2265         scrolled_window, widget) to gtk_scrolled_window_add_with_viewport (...)
2266         for widget!=(clist, ctree, text, viewport).
2267
2268         * gtk/gtkcombo.c:
2269         (gtk_combo_init): use gtk_scrolled_window_add_with_viewport()
2270         to add children to the scrolled window.
2271
2272         * gtk/gtkscrolledwindow.h:
2273         * gtk/gtkscrolledwindow.c:
2274         changed scrolled_window->viewport to scrolled_window->child, and use
2275         gtk_widget_scroll_adjustements() to set the scroll adjustments for the
2276         widget, we do not create an additional viewport anymore.
2277         added ::hadjustment and ::vadjustment constructor args.
2278         (gtk_scrolled_window_new): use gtk_widget_new() to create the widget.
2279         (gtk_scrolled_window_set_hadjustment):
2280         (gtk_scrolled_window_set_vadjustment): new functions that superceed
2281         gtk_scrolled_window_construct.
2282         (gtk_scrolled_window_construct): deprecated this function.
2283         
2284         * gtk/gtkhscrollbar.c:
2285         * gtk/gtkvscrollbar.c:
2286         * gtk/gtkhscale.c:
2287         * gtk/gtkvscale.c:
2288         support a constructor arg "::adjustment", and use gtk_widget_new() for
2289         the widget creation.
2290
2291         * gtk/gtkrange.c: added ::update_policy arg.
2292         (gtk_range_set_adjustment): if adjustment is passed in as NULL, create
2293         a default adjustment so this function can be used for derived widgets
2294         that depend on the adjustment's existance.
2295         (gtk_range_destroy): disconnect the adjustment signal, so we don't
2296         get called after we got destroyed, we don't destroy the adjustment
2297         in here, because it might have been provided from another widget.
2298
2299         * gtk/gtkviewport.c: introduced ::scroll_adjustments signal.
2300         (gtk_viewport_destroy): same as gtk_range_destroy.
2301
2302         * gtk/gtkprogress.c (gtk_progress_destroy): same as gtk_range_destroy.
2303
2304         * gtk/gtkwidget.h: 
2305         * gtk/gtkwidget.c: changed gtk_widget_activate() to return a
2306         gboolean, indicating whether this widget supports activation.
2307         added gtk_widget_scroll_adjustements() to set the scrolling
2308         adjustments of a widget.
2309
2310 Wed Nov 19 01:22:42 1998  Tim Janik  <timj@gtk.org>
2311
2312         * gtk/gtkoptionmenu.c:
2313         (gtk_option_menu_remove_contents):
2314         (gtk_option_menu_update_contents): removed
2315         gtk_container_[un]block_resize() pairs.
2316
2317         * gtk/gtknotebook.h: 
2318         * gtk/gtknotebook.c: removed the tab_border field, since it shouldn't
2319         be used outside of gtknotebook.c anyways. made ARG_TAB_BORDER a
2320         wrtie-only argument.
2321
2322         * *.c: made deprecated functions issue a message:
2323         gtk_clist_set_border, gtk_container_block_resize,
2324         gtk_container_unblock_resize, gtk_container_need_resize,
2325         gtk_object_class_add_user_signal, gtk_spin_button_construct,
2326         gtk_scrolled_window_construct.
2327         removed non-functional functions:
2328         gtk_container_disable_resize, gtk_container_enable_resize,
2329         gtk_clist_set_policy.
2330
2331 Wed Nov 18 22:54:36 1998  Tim Janik  <timj@gtk.org>
2332
2333         * gtk/gtkbox.c (gtk_box_init): 
2334         * gtk/gtkdrawingarea.c (gtk_drawing_area_init): 
2335         * gtk/gtkeventbox.c (gtk_event_box_init): 
2336         * gtk/gtkfixed.c (gtk_fixed_init): 
2337         * gtk/gtkframe.c (gtk_frame_init): 
2338         * gtk/gtkhandlebox.c (gtk_handle_box_init): 
2339         * gtk/gtkpacker.c (gtk_packer_init): 
2340         * gtk/gtkmisc.c (gtk_misc_init): 
2341         * gtk/gtkpreview.c (gtk_preview_init): 
2342         * gtk/gtkprogress.c (gtk_progress_init): 
2343         * gtk/gtkprogressbar.c (gtk_progress_bar_init): 
2344         * gtk/gtkseparator.c (gtk_separator_init): 
2345         * gtk/gtktable.c (gtk_table_init): 
2346         * gtk/gtkviewport.c (gtk_viewport_init): 
2347         * gtk/gtkalignment.c (gtk_alignment_init): 
2348         removed setting of the GTK_BASIC flag.
2349
2350         * gtk/gtkwidget.h:
2351         * gtk/gtkwidget.c:
2352         removed GTK_BASIC, GTK_WIDGET_BASIC and gtk_widget_basic.
2353
2354         * miscellaneous GtkType and macro fixups.
2355
2356 Sat Nov 21 18:53:13 1998  Owen Taylor  <otaylor@redhat.com>
2357
2358         * gdk/gdkwindow.c (gdk_window_get_deskrelative_origin): 
2359         Fixed so it at least works with window managers other
2360         than Enlightenment, though it probably needs to be
2361         removed altogether.
2362
2363 1998-11-21  Andrew T. Veliath  <andrewtv@usa.net>
2364
2365         * gtk/gtkhandlebox.[ch]: Add shadow_type and
2366         gtk_handle_box_set_shadow_type function (plus a
2367         GtkHandleBox::shadow arg) to allow configuration of shadow in the
2368         bin window.
2369
2370 Thu Nov 19 23:47:38 CST 1998 Shawn T. Amundson <amundson@gtk.org>
2371
2372         * gtk/gtkcalendar.c: Fix for marking days from 
2373           Dan Reish <dreish@izzy.net>.
2374
2375 Thu Nov 19 00:15:27 1998  Lars Hamann  <lars@gtk.org>
2376
2377         * gtk/gtkctree.c (gtk_ctree_node_nth): return the nth GtkCTreeNode
2378         in row_list. (from Samuel Solon <ssolon@usa.net>)
2379         
2380         * gtk/gtkclist.c (gtk_clist_get_column_title): return column title
2381         (gtk_clist_get_column_widget): return column widget
2382
2383 Wed Nov 18 11:54:57 1998  Owen Taylor  <otaylor@redhat.com>
2384
2385         * gtk/gtkdnd.c (gtk_drag_find_widget): Accept drops
2386         that are sent to a toplevel but are not within the
2387         toplevels bounds.
2388
2389         * gdk/gdkdnd.c gdk/gdk.h: Added support for a
2390         XdndProxy atom which proxies the drag to another window.
2391
2392 1998-11-17  Federico Mena Quintero  <federico@nuclecu.unam.mx>
2393
2394         * gtk/gtkpaned.h (struct _GtkPaned): Removed the cursor field, now
2395         that it is not needed.
2396
2397 Tue Nov 17 1998 The Rasterman <raster@redhat.com>
2398         * gdk/gdk.h, gdk/gdkwindow.c: Added gdk_window_get_deskrelative_origin
2399           function to correctly determine gdk window position relative to
2400           its "root window" - contains check for an Enlightenment
2401           virtual root window.
2402         * gtk/gtkhandlebox.c: changed gdk_window_get_origin ->
2403           gdk_window_get_deskrelative_origin to get the origin of dragged
2404           handleboxes correctly. Now it works correctly with E.
2405           
2406 Tue Nov 17 1998  Tuomas Lukka <lukka@iki.fi>
2407
2408         * gtk/gtktypeutils.c: Fix vital bug where LOOKUP was used when
2409           getting types even though we were not using real type names,
2410           just the index.  This caused random crashes when more than 
2411           256 types were defined.
2412
2413 1998-11-17  Martin Baulig  <martin@home-of-linux.org>
2414
2415         * gtk/genmarshal.pl: Put output files in the current directory
2416         and not in the $(srcdir) since the VPATH is ignored for built
2417         sources.
2418
2419 Tue Nov 17 01:37:53 PST 1998 Manish Singh <yosh@gimp.org>
2420
2421         * gtk/genmarshal.pl
2422         * gtk/Makefile.am: check for unchanged autogenerated files, so
2423         we don't rebuild everything just for adding a new function
2424
2425 Mon Nov 16 19:19:00 CST 1998 Shawn T. Amundson <amundson@gtk.org>
2426
2427         * gtk/gtkpixmap.h
2428           gtk/gtkpixmap.c: Pixmaps now grey out when insensitive,
2429           code thanks to GNOME stock by Eckehard Berns.  New function
2430           gtk_pixmap_set_build_insensitive to provide ability to turn 
2431           this off.
2432
2433 Tue Nov 17 00:06:29 1998  Lars Hamann  <lars@gtk.org>
2434
2435         * gtk/gtknotebook.h (struct _GtkNotebook): new flags : homogeneous;
2436         new guints : tab_hborder, tab_vborder; marked tab_border deprecated
2437         (struct _GtkNotebookPage): new flags : expand, fill, pack
2438
2439         * gtk/gtknotebook.h/c
2440         (gtk_notebook_set_homogeneous_tabs): new function. set homogeneneous
2441         tabs
2442         (gtk_notebook_set_tab_border): set tab_h/vborder to tab_border
2443         (gtk_notebook_set_tab_hborder): new function. set tab_hborder
2444         (gtk_notebook_set_tab_vborder): new function. set tab_vborder
2445         (gtk_notebook_query_tab_label): new function. get tab_label widget.
2446         (gtk_notebook_set_tab_label): new function. set tab_label widget.
2447         (gtk_notebook_set_tab_label_text): new function. set tab_label text.
2448         (gtk_notebook_query_menu_label): new function. get tab_label widget.
2449         (gtk_notebook_set_menu_label): new function. set tab_label widget.
2450         (gtk_notebook_set_menu_label_text): new function. set tab_label text.
2451         (gtk_notebook_set_tab_label_packing): new function. set tab_label
2452         fill, expand, fill_type
2453         (gtk_notebook_query_tab_label_packing): new function. get tab_label
2454         fill, expand, fill_type
2455
2456         (gtk_notebook_real_page_position): return logic page number
2457         (gtk_notebook_search_page) search next/prev logic page
2458         (gtk_notebook_update_labels): set logic page number.
2459         (gtk_notebook_page_compare): renamed gtk_notebook_find_page
2460         (gtk_notebook_set/get_child_arg): new args CHILD_ARG_TAB_EXPAND,
2461         CHILD_ARG_TAB_FILL, CHILD_ARG_TAB_PACK
2462         (gtk_notebook_button_press) (gtk_notebook_key_press)
2463         (gtk_notebook_focus) (gtk_notebook_pages_allocate)
2464         (gtk_notebook_calc_tabs) (gtk_notebook_switch_focus_tab)
2465         use gtk_notebook_search_page
2466         (gtk_notebook_page_allocate): fixed allocation bug
2467         (gtk_notebook_set/get_arg): new args TAB_HBORDER, TAB_VBORDER.
2468         (gtk_notebook_init): unset GTK_NO_WINDOW flag
2469         (gtk_notebook_size_request): check whether page->child is visible.
2470         changes due to tab h/vborder, homogeneous tabs
2471         (gtk_notebook_paint): don't draw invisible tabs
2472         (gtk_notebook_switch_page): calculate page_num if it's less than 0
2473         (gtk_notebook_append_*) (gtk_notebook_prepend_*)
2474         (gtk_notebook_insert_page): removed sanity checks
2475
2476         * gtk/testgtk.c (create_notebook): extended Notebook sample a bit.
2477
2478 Mon Nov 16 15:10:33 1998  Owen Taylor  <otaylor@redhat.com>
2479
2480         * gtk/gtktext.c: Optimizations for [advance/decrement]_mark_n.
2481         (gtk-mailund-980718-0, Thomas Mailund Jensen <mailund@daimi.aau.dk>)
2482
2483         * gtk/gtkfixed.c: Removed gtk_fixed_umap, which was 
2484         broken. (GtkWidget's default unmap handler should work fine).
2485         Pointed out by Patrice Fortier <Patrice.Fortier@aquarel.fr>
2486
2487 Mon Nov 16 00:59:26 PST 1998 Manish Singh <yosh@gimp.org>
2488
2489         * gtk/gtkmenubar.[ch]: added shadow_type setting and
2490         gtk_menu_bar_set_shadow_type function to allow shadow
2491         configurability for menubars
2492
2493         * gtk/gtkviewport.h: use GtkShadowType enum instead of generic
2494         guint
2495
2496 Mon Nov 16 00:17:53 1998  Tim Janik  <timj@gtk.org>
2497
2498         * gtk/gtktypeutils.c (gtk_type_new): relookup type node after
2499         class creation and parent class' object initializer.
2500
2501 1998-11-13  Federico Mena Quintero  <federico@nuclecu.unam.mx>
2502
2503         * gtk/gtkpaned.c (gtk_paned_realize): Destroy the cursor after we
2504         have assigned it to the window -- there is no point in keeping it around.
2505         (gtk_paned_unrealize): No need to destroy the cursor here.
2506
2507         * gtk/gtkpaned.h (struct _GtkPaned): Removed the cursor field, as
2508         it is not needed.
2509
2510 Fri Nov 13 11:22:38 1998  Owen Taylor  <otaylor@redhat.com>
2511
2512         * gdk/gdkpixmap.c: New function gdk_pixmap_foreign_new().
2513         (gtk-blizzard-981005-0. 
2514          Christopher Blizzard <blizzard@applied-theory.com)
2515
2516         * gdk/gdk.h gdk/gdkx.h: Moved gdk_window_foreign_new and
2517         gdk_pixmap_foreign_new to gdkx.h.
2518
2519 Fri Nov 13 16:06:48 1998  Owen Taylor  <otaylor@redhat.com>
2520
2521         * gtk/Makefile.am: Added rules to generate an empty
2522         GTK+ theme called "Default" upon installation.
2523         
2524         * gtk/gtkrc.c (gtk_rc_parse_style): Fix inheritance
2525         of fonts and fontsets. 
2526         (gtk-matsu-980924. Takashi Matsuda matsu@arch.comp.kyutech.ac.jp)
2527
2528         * gtk/gtkmain.c: Change test to detect glibc's
2529         utf8 based mb* functions to be more specific.
2530
2531         * gtk/gtkwindow.[ch] gtk/gtkfixed.c: Indentation 
2532         cleanups.
2533
2534 Fri Nov 13 16:43:36 1998  Lars Hamann  <lars@gtk.org>
2535
2536         * gtk/gtktogglebutton.c (gtk_toggle_button_realize): don't
2537         show event_window
2538         (gtk_toggle_button_map) (gtk_toggle_button_unmap): show/hide
2539         event_window if draw_indicator is set
2540         (gtk_toggle_button_set_mode):
2541
2542 Thu Nov 12 15:33:54 PST 1998 Manish Singh <yosh@gimp.org>
2543
2544         * gtk/gtkitemfactory.c: cast NULL to GtkItemFactoryCallback to
2545         ensure proper type (SunPro cc complains)
2546
2547         * gtk/gtklist.c: removed bogus '*' from "*GTK_CONTAINER_CLASS"
2548
2549         * gtk/gtktogglebutton.c: use our own draw method so we get proper
2550         redraws on active state
2551
2552 Thu Nov 12 00:26:13 1998  Lars Hamann  <lars@gtk.org>
2553
2554         * gtk/gtkstyle.c (gtk_default_draw_box_gap): use GtkPositionType
2555         defines.
2556
2557         * gtk/gtknotebook.c (gtk_notebook_draw_tab): fixed gap_side for
2558         GTP_POS_RIGHT
2559
2560 Wed Nov 11 19:54:58 1998  Lars Hamann  <lars@gtk.org>
2561
2562         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init)
2563         (gtk_scrolled_window_set_arg) (gtk_scrolled_window_get_arg):
2564         added ARG_WINDOW_PLACEMENT
2565
2566         * gtk/gtkclist.c (size_allocate_columns): resize column if column
2567         button > column width and auto_resize is set
2568         (real_clear) (column_auto_resize) (gtk_clist_optimal_column_width):
2569         consider column button width of auto resized columns
2570         (gtk_clist_parent_set): removed 
2571
2572         * gtk/gtkctree.c (gtk_ctree_insert_node): call column_auto_resize.
2573         (auto_resize_columns): auto_resize all columns
2574         (real_tree_collapse) (gtk_ctree_remove_node): call auto_resize_columns
2575         (column_auto_resize): respect column button width of auto resized
2576         columns
2577
2578 1998-11-10  Martin Baulig  <baulig@merkur.uni-trier.de>
2579
2580         * gtk/gtkfeatures.h.in (GTK_HAVE_FEATURES_1_1_4): Define this so
2581         we can check for latest GTK features.
2582
2583 Mon Nov  9 00:39:20 1998  Lars Hamann  <lars@gtk.org>
2584
2585         * gtk/gtkenums.h : new enum GtkCornerType 
2586         * gtk/gtkscrolledwindow.h (struct _GtkScrolledWindow): added
2587         window_placement.
2588         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_placement): 
2589         new method to set window_placement.
2590         (gtk_scrolled_window_viewport_allocate)
2591         (gtk_scrolled_window_size_allocate): few changes due to
2592         window_placement.
2593         * gtk/testgtk.c (remove_selection): fixed while loop.
2594
2595 Sat Nov  7 21:55:00 PST 1998 Manish Singh <yosh@gimp.org>
2596
2597         * gtk/gtkclist.c: check if column[i].button is valid before calling
2598         gtk_widget_intersect on it in gtk_clist_draw
2599
2600         * gtk/gtkdnd.c: removed unused variable empty_bits
2601
2602         * gtk/gtkrc.c: we should use gslist_* functions with GSLists...
2603
2604         * gtk/gtktypeutils.[ch]: makes more send for gtk_type_is_a to return
2605         a boolean (thanks to Elrond for noticing this)
2606
2607 1998-11-07  Jay Cox  <jaycox@earthlink.net>
2608
2609         * gtk/gtkwindow.c: forward declaration for gtk_window_paint
2610         * gdk/gdkxid.c: declare xid_ht static
2611         * examples/*/Makefile: get the link ordering right.
2612
2613 Sat Nov  7 16:31:56 1998  Stefan Jeske  <stefan@gtk.org>
2614
2615         * gtk/gtkclist.c (gtk_clist_realize): Set background of
2616         title button window to GTK_STATE_NORMAL instead of
2617         GTK_STATE_SELECTED to avoid ugly flicker.
2618
2619 Fri Nov  6 23:29:40 1998  Lars Hamann  <lars@gtk.org>
2620
2621         * gtk/gtkclist.c (real_clear) (adjust_adjustments): resize clist
2622         if adjustments are NULL and list size has changed
2623         (gtk_clist_size_request): return real list requsition,
2624         if adjustments are NULL.
2625         (size_allocate_columns): use button->requisition.with, if column
2626         width is not set.
2627         (list_requisition_width): new function. return full list width.
2628         (gtk_clist_set_hadjustment) (gtk_clist_set_vadjustment): do not
2629         auto create adjustments.
2630         (gtk_clist_motion) (move_vertical) (move_horizontal):
2631         check adjustment != NULL.
2632
2633 Thu Nov  5 12:06:16 1998  Owen Taylor  <otaylor@redhat.com>
2634
2635         * gtk/gtkcheckbutton.c (gtk_check_button_draw_focus): Queue
2636         a clear/redraw, not just a redraw, so the focus
2637         gets undrawn properly.
2638
2639         * gtk/gtktogglebutton.c (gtk_toggle_button_unrealize): 
2640         Chain to gtk_widget_unrealize() instead of duplicating
2641         code.
2642
2643 Wed Nov  4 14:34:51 1998  Owen Taylor  <otaylor@redhat.com>
2644
2645         * gdk/gdk.c gdk/gdkprivate.h gdk/gdkwindow.c: Removed
2646         last vestiges of old DND.
2647
2648 Tue Nov  3 12:27:52 1998  Owen Taylor  <otaylor@redhat.com>
2649
2650         * gtk/gtkentry.c: Restored inner border to entries,
2651         erase cursors to background image.
2652
2653 Fri Oct 30 12:09:21 1998  Owen Taylor  <otaylor@redhat.com>
2654
2655         * gtk/gtkentry.c gtk/gtkstyle.[ch]: removed paint_entry() -
2656         it was identical to paint_flat_box().
2657
2658         * gtk/gtkstyle.c: Coding style fixups.
2659
2660         * gtk/gtkwindow.c (gtk_window_move_resize): removed useless
2661         test.
2662
2663         * gtk/gtkframe.c gtkstyle.[ch] gtknotebook.c: 
2664         Change 'side' for paint_[box/shadow]_gap and paint_extension
2665         to be GtkPositionType instead of a random int.
2666
2667         * gtk/gtkaspectframe.c (gtk_aspect_frame_paint): Use 
2668         "frame" as detail - an aspectframe should draw identical
2669         to a frame.
2670
2671 Tue Oct 27 09:58:11 1998  Owen Taylor  <otaylor@redhat.com>
2672
2673         * gdk/gdkwindow.c (gdk_window_merge_child_shapes): renamed
2674         from combine_child_shapes().
2675
2676         * gdk/gdkwindow.c: Merge propagate_shapes() and
2677         propagate_combine_shapes() to remove code duplication.
2678
2679 Thu Nov  5 14:31:57 PST 1998 Manish Singh <yosh@gimp.org>
2680
2681         * gdk/gdk.c: sometimes we get a KeyRelease before a KeyPress in
2682         gdk_event_translate, and the USE_XIM buffer isn't allocated yet.
2683         So allocate some mem if it's not already done.
2684
2685         * clist scrollbar merges from HEAD
2686
2687 Tue Nov  3 13:16:36 PST 1998 Manish Singh <yosh@gimp.org>
2688
2689         * gtk/Makefile.am: remove explict -ldl, gmodule takes care of that
2690
2691         * gtk/gtkdnd.c: start TARGET_MOTIF_SUCCESS from 0x40000000 instead
2692         of 0x80000000, so we stay within the bounds of a postive signed
2693         int (it broke some compilers)
2694
2695         * gtk/gtkmenushell.c
2696         * gtk/gtkoptionmenu.c: merges from HEAD to make option menus work
2697         when some of the menuitems are hidden
2698
2699         * gtk/gtkthemes.h: don't include dlfcn.h explictly, gmodule takes
2700         care of that
2701
2702         * gtk/gtkwidget.c: add a dummy continue after the line label
2703         next_rect, since some compilers don't like label: }
2704
2705 Sun Nov  1 20:05:55 PST 1998 Manish Singh <yosh@gimp.org>
2706
2707         * Okay, so we need the X11R6 keysyms so programs don't have to
2708         worry about them. They don't conflict anyway. Reverted the #ifdef
2709         changes to gtk/*.c
2710
2711         * gdk/Makefile.am: remove the BUILT_SOURCES rule, and make a
2712         special rule for them (X-derived-headers)
2713
2714 Sun Nov  1 05:30:32 PST 1998 Manish Singh <yosh@gimp.org>
2715
2716         * gdk/Makefile.am: changed the awk scripts to generate gdkcursors.h
2717         and gdkkeysyms.h into sed scripts, since the awk scripts weren't
2718         portable, and we really shouldn't be using awk anyway.
2719
2720         * makecursors.awk
2721         * makekeysyms.awk: bye bye
2722
2723         * gtk/gtkaccelgroup.c
2724         * gtk/gtkclist.c
2725         * gtk/gtknotebook.c
2726         * gtk/gtkwindow.c: don't use X11R6 keysyms if they aren't there
2727
2728 Sat Oct 31 15:22:14 PST 1998 Manish Singh <yosh@gimp.org>
2729
2730         * gdk/Makefile.am: do the same built sources trick for gdkcursors.h
2731         and gdkkeysyms.h. Remove those files from CVS.
2732
2733 Sat Oct 31 14:44:01 PST 1998 Manish Singh <yosh@gimp.org>
2734
2735         * gdk/gdk.c: move prototype of gdk_wm_protocols_filter outside
2736         of the USE_XIM #ifdef
2737
2738         * gtk/Makefile.am: cause the built sources to be rebuild when possible,
2739         even with --include-deps. Slightly different from timj's fix, to avoid
2740         circular dependency with gtkmarshal.c
2741
2742         * autogen.sh
2743         * gtk/gtkclist.[ch]
2744         * gtk/gtkctree.c
2745         * gtk/gtkfontsel.[ch]
2746         * gtk/gtklist.c
2747         * gtk/gtklistitem.c
2748         * gtk/gtkobject.[ch]
2749         * gtk/testgtk.c: merges from HEAD
2750
2751         * gtk/gtkmenubar.c
2752         * gtk/gtkradiomenuitem.c
2753         * gtk/gtktreeitem.c: cleanups
2754
2755 Wed Oct 28 23:32:19 PST 1998 Manish Singh <yosh@gimp.org>
2756
2757         * gdk/gdkrgb.c: Oops. s/BIGENDIAN/BIG_ENDIAN/
2758
2759 Wed Oct 28 19:04:49 PST 1998 Manish Singh <yosh@gimp.org>
2760
2761         * configure.in: AIX has libpthreads, to make sure you can have
2762         more than one thread. Also add -D_THREAD_SAFE, and reorder
2763         configure.in so CFLAGS doesn't get clobbered when we actually
2764         want to modify it
2765
2766         * gdk/gdkimage.c: initialize the bpp and byte_order fields properly
2767         in gdk_image_get
2768
2769         * gtk/testdnd.c: removed unused variable "buf"
2770
2771 Mon Oct 26 16:46:15 1998  Owen Taylor  <otaylor@redhat.com>
2772
2773         * gtk/gtkcontainer.c (gtk_container_unregister_toplevel): 
2774         remove_link(), not remove()
2775
2776 Thu Oct 22 02:27:30 PDT 1998 Manish Singh <yosh@gimp.org>
2777
2778         * gdk/gdkrgb.c: use glib endian stuff
2779
2780         * configure.in: don't need to check for endianness anymore
2781
2782         * gtk/gtkstyle.h: removed #pragma }, causing a silly warning
2783
2784 Wed Oct 21 17:44:27 1998  Owen Taylor  <otaylor@redhat.com>
2785
2786         * gtk/gtkwindow.c (gtk_window_read_rcfiles): Reset
2787         all toplevel widgets, not toplevel windows. (I.e.,
2788         plugs should be reset)
2789
2790         * gtk/gtkwindow.c (gtk_window_read_rcfiles): Yes, we
2791         _do_ need to notify the other toplevels - by the time
2792         the get the client messages, the RC file dates will
2793         have been updated.
2794
2795         * gtk/gtkcontainer.h: Added a function call to list
2796         every toplevel widget.
2797
2798         * gdk/gdk.c (gdk_event_send_client_message_to_all_recurse): 
2799         Don't send client messages to _every_ window on display!
2800         
2801 Tue Oct 20 16:21:04 1998  Owen Taylor  <otaylor@redhat.com>
2802
2803         * gtk/gtkdnd.c (gtk_drag_source_event_cb): Don't start drags 
2804         when dragging across widgets, only in drags
2805         starting in widget.
2806
2807 Tue Oct 20 15:59:49 1998  Owen Taylor  <otaylor@redhat.com>
2808
2809         * gtk/gtkdnd.c (gtk_drag_source_info_destroy): 
2810         Emit "drag_end" signal at end of drag.
2811
2812 Tue Oct 20 13:07:54 1998  Owen Taylor  <otaylor@redhat.com>
2813
2814         * gtk/gtkwindow.c (gtk_window_read_rcfiles): Look
2815         for "gtk-embedded" data currently set by 
2816         GtkSocket, and use that to forward client message
2817         on to embedded windows. Only reset our own toplevel -
2818         the others will handle themselves. (Now that
2819         GtkMenus live in GtkWindows)
2820
2821 Mon Oct 19 16:40:40 1998  Owen Taylor  <otaylor@redhat.com>
2822
2823         * gdk/gdkdnd.c (get_client_window_at_coords_recurse): Modify
2824         client window finding code so that it works with
2825         WM's other than fvwm.
2826  
2827 Sun Oct 18 22:48:27 1998  Owen Taylor  <otaylor@redhat.com>
2828
2829         * gtk/gtkdrawwindow.c (gtk_draw_window_get_type): Added
2830         the "GtkDrawWindow" class, which is a descendent
2831         of the Window class which leaves its background alone.
2832         Essentially, a toplevel drawing area, though it does
2833         allow adding a child.
2834
2835 Sat Oct 17 00:40:51 1998  Owen Taylor  <otaylor@redhat.com>
2836
2837         * gtk/gtkrc.c (gtk_rc_style_init): Duplicate bg_pixmap_name when
2838         merging RC styles. Report new share/themes path for
2839         themes directory. Deref theme engines when appropriate.
2840
2841         * gtk/gtkclist.c: Set all backgrounds in _style_set().
2842         Make sure that pixel for xor_gc is never 0.
2843
2844         * gtk/gtkctree.c: Choose colors for plus/minus more
2845         carefully, in a hopefully style-independent fashion.
2846         (Still needs a bit more work)
2847
2848         * gtk/gtkwidget.c: Don't send expose events to widgets
2849         which are about to be resized and redrawn. (Needs a
2850         bit more thought.)
2851
2852         * gtk/gtknotebook.c (gtk_notebook_draw_tab): Avoid
2853         drawing on tabs for newly allocated, un-sized
2854         pages - we'll get the size wrong.
2855
2856 Thu Oct  1 17:38:07 1998  Owen Taylor  <otaylor@redhat.com>
2857
2858         * gtk/gtkwidget.c (gtk_widget_redraw_queue_remove): Fixed
2859         up stupidities in last commit.
2860
2861 Thu Oct  1 14:25:43 1998  Owen Taylor  <otaylor@redhat.com>
2862
2863         * gtk/gtkwidget.c: When handling queued resizes, account
2864         for handleboxes, where the widget heirarchy is different
2865         than the window heirarchy by just queueing a resize on
2866         the entire handlebox if the detached child is changed.
2867
2868         - Remove widgets from the redraw queue when reparenting,
2869         even if not unrealizing. We queue a resize/redraw in
2870         any case.
2871
2872 Mon Sep 28 21:07:01 EDT 1998 The Rasterman <raster@redhat.com>
2873         * gtk/gtkstyle.c: added check to see if the widget has been shaped
2874         byt the app via gtk_widget_shape_combine_mask and if it has does
2875         not reset the shape on theme change.
2876         
2877 Tue Sep 15 11:30:03 1998  Owen Taylor  <otaylor@redhat.com>
2878
2879         * gtk/gtkfilesel.c: Keep a list of directories in which we never
2880         want to stat the entries (like /afs), and assume everything in
2881         those directories is a subdirectory.
2882
2883         - When following a path, try to open components even when
2884         we don't find them in their parent's directory to
2885         support automounters.
2886
2887 Fri Sep 11 15:36:33 1998  Owen Taylor  <otaylor@redhat.com>
2888
2889         * gdk/gdkinputgxi.h (gdk_input_gxi_grab_pointer): Hopefully
2890         now at least compiles again.
2891
2892         * gdk/gdk.c (gdk_event_translate): Don't pass events
2893         on destroyed widgets to the gdk_input layer.
2894
2895 Thu Sep  3 19:45:34 1998  Owen Taylor  <otaylor@redhat.com>
2896
2897         * gtk/gtkthemes.c: Use g_module instead of dlopen()
2898
2899 Thu Sep  3 19:30:11 1998  Owen Taylor  <otaylor@redhat.com>
2900
2901         * gtk/gtktooltips.c (gtk_tooltips_expose): Check
2902         if we've changed widgets since the expose event
2903         was queued.
2904
2905 Mon Aug 31 15:33:13 1998  Owen Taylor  <otaylor@redhat.com>
2906
2907         * gtk/gtkstyle.h (struct _GtkStyle): Reordered a bit
2908         to restore approximate bin compatibility with the
2909         non-themes branch. (This does break bin compat
2910         within the themes branch.)
2911
2912 Sun Aug 30 16:48:27 1998  Owen Taylor  <otaylor@gtk.org>
2913
2914         * gtk/gtklabel.c (gtk_label_set): Eliminate a 
2915         gdk_window_clear_area() that snuck in with the
2916         menu underlines merge.
2917
2918 Mon Aug 24 23:37:26 1998  Owen Taylor  <otaylor@redhat.com>
2919
2920         * gtk/gtktext.c: Fixed some remaining background drawing,
2921           merges from main branch, cleanups.
2922
2923 Mon Aug 24 10:55:51 1998  Owen Taylor  <otaylor@redhat.com>
2924
2925         * gtk/gtknotebook.c (gtk_notebook_draw_tab): Don't
2926           dereference NULL focus tab.
2927
2928         * gtk/gtkscale.c (gtk_scale_[un]map): Add map/unmap
2929           functions since we need to both show/hide and 
2930           queue a redraw. (There's some duplication of drawing here, 
2931           we probably should only be queuing a redraw on the
2932           "value" portion of the scale.)
2933
2934 Fri Aug 21 19:02:30 1998  Owen Taylor  <otaylor@redhat.com>
2935
2936         * gtk/gtkrange.[ch] gtk/gtkhscale.c gtk/gtkvscale.[ch]: Fit scales
2937           into the theme-drawing framework. We do this by making them,
2938           like check/radio-buttons, no-window widgets with subwindows. We
2939           then move the value by calling gtk_widget_queue_clear() and only
2940           redraw the value in our draw() / expose() handler.  A virtual
2941           function clear_background is added which queues a clear on the
2942           "background" portion of the widget.
2943
2944 Fri Aug 21 13:04:27 1998  Owen Taylor  <otaylor@redhat.com>
2945
2946         * gtk/gtktext.c (mark_bg_gc): Make background colors work
2947           again. (We can't always paint the background with a
2948           paint() function - only do that for selected text)
2949
2950 Mon Aug 17 20:31:01 1998  Owen Taylor  <otaylor@redhat.com>
2951
2952         * gtk/gtktearoffmenuitem.c gtk/gtkclist.[ch] gtk/gtkctree.[ch]
2953           gtk/gtklabel.c gtk/gtkmenu.c: Merges from main branch.
2954
2955         * Makefile.am (SRC_SUBDIRS): Removed themes from SRC_SUBDIRS.
2956           the themes can't be built as part of the same build since
2957           they depend on gdk_imlib.
2958
2959 Fri Aug 14 12:44:30 1998  Owen Taylor  <otaylor@redhat.com>
2960
2961         * gtk/gtkthemes.c (gtk_theme_engine_get): Removed sample engine code
2962           from gtkthemes.c.
2963                 
2964         * configure.in ltconfig.in ltmain.sh gdk/Makefile.am gtk/Makefile.am
2965           gtk/
2966
2967           - Upgrade to libtool-1.2b + patch to add shared library dependencies
2968             for Linux. (Needs to be extended to other platforms where they
2969             are safe)
2970
2971          - Check for -ldl so this branch should build on all platforms, though
2972            themes will work on all platforms they could work on.
2973
2974          - Use -version and -release simultaneously: sonames stay as they are
2975            in the current scheme, but -lgtk-1.1 changes to -lgtk.
2976
2977          - Added in extra -l flags to library LDFLAGS so we get shared library
2978            dependencies against X libs and -ldl. (But not libgtk against 
2979            libgdk or libglib yet, since dependencies against uninstalled
2980            libraries aren't portable)
2981
2982 Fri Aug 21 16:10:38 EDT 1998 The Rasterman <raster@redhat.com>
2983         * gtkrc.c - added api calls to find module and theme paths from gtk.
2984           nuked gtk_install_prefix global.
2985         
2986 Fri Aug 21 12:36:46 EDT 1998 The Rasterman <raster@redhat.com>
2987         * fixed gtk_install_prefix global.
2988           
2989 Thu Aug 20 19:27:49 EDT 1998 The Rasterman <raster@redhat.com>
2990         * added gtk_install_prefix global const variabel to find where gtk is
2991           installed.
2992           
2993 Thu Aug 20 18:27:29 EDT 1998 The Rasterman <raster@redhat.com>
2994         * added ~/.gtk/lib/themes/engines/ to the default searchpath for
2995           gtk theme engines
2996         
2997 Thu Aug 20 18:27:29 EDT 1998 The Rasterman <raster@redhat.com>
2998         * made gtkrc scanner append dir that gtkrc is read from to pixmap path.
2999
3000 Mon Aug 10 23:03:55 1998  The Rasterman <raster@redhat.com>
3001         * Fixed minor problem in gtkhandlebox.c with drawing, and some
3002           notebook stuff. Also pixmap theme is now "clean" again.
3003           
3004 Mon Aug 10 23:03:55 1998  Owen Taylor  <otaylor@redhat.com>
3005         * gtk/gtkwidget.c (gtk_widget_clip_rect): Fixed up 
3006           queued area resizing once more.
3007
3008 Mon Aug 10 23:09:30 EDT 1998
3009         * Added a few drawing fixes for notebook and other widgets. finished
3010           pixmap theme up to the level that can be supported so far. (need to
3011           add path discovery 9ie where is the rc fiel from - add to pixmap 
3012           path so we can get theimages from there too). then we can package 
3013           themes. After that need to add to theme seartch path stuff in users 
3014           home dir.
3015           
3016 Thu Aug  6 16:49:25 1998  Owen Taylor  <otaylor@redhat.com>
3017
3018         * gtk/gtktooltips.c (gtk_tooltips_expose): Draw into a
3019           drawing area, draw in an expose handler.
3020
3021         * gtk/gtknotebook.c (gtk_notebook_expose): Check for
3022           empty current page.
3023
3024 Wed Aug  5 16:13:15 1998  Owen Taylor  <otaylor@redhat.com>
3025
3026         * gtk/gtkcolorsel.c (gtk_color_selection_draw_wheel): Moved
3027           creation of GC's so that they will be set before
3028           they are used for map events (why are they used there?)
3029
3030         * gtk/gtkwidget.c: Fixed mistake that caused widgets to
3031           be queued in multiple times in the queue.
3032
3033 Wed Aug  5 14:23:52 1998  Owen Taylor  <otaylor@redhat.com>
3034
3035         * gtk/gtkstyle.c (gtk_default_draw_shadow): Don't set
3036           clip rects (or do anything) for shadow_none.
3037
3038 Wed Aug  5 13:14:57 1998  Owen Taylor  <otaylor@redhat.com>
3039
3040         * gtk/gtkbutton.c (gtk_button_paint): Restored paint function.
3041           Yes, it was needed. draw() and expose() are _not_
3042           identical.
3043
3044 Sat Aug  1 17:44:31 EDT 1998 EDT 1998 The Rasterman <raster@redhat.com>
3045         * Wheeeeeeeeeeeeeeee fixed radiobittons to work in gimp again.
3046
3047 Fri Jul 31 19:45:12 EDT 1998 The Rasterman <raster@redhat.com>
3048         * YES YES YES YES YES clist borders work again! YES! YES YES! gimme 
3049           more baby oooh yeah more more MORE YES YES.
3050
3051 Fri Jul 31 19:45:12 EDT 1998 The Rasterman <raster@redhat.com>
3052         * hopefully fixed problem wiht togglebuttons acting like
3053           radiobuttons in gtktogglebutton.c
3054
3055 Thu Jul 30 23:36:46 EDT 1998 The Rasterman <raster@redhat.com>
3056         * fixed another drawing buglet in the frame drawing code (actually
3057           in the clearing code but anyway in gtkstyle.c)
3058
3059 Thu Jul 30 19:23:48 EDT 1998 The Rasterman <raster@redhat.com>
3060         * Fixed warning from colorsel widget...
3061
3062 Thu Jul 30 19:10:42 EDT 1998 The Rasterman <raster@redhat.com>
3063         * Fixed defautl drawing code to no longer clobber the original style
3064           pixmap bgs as it did and added a helper funciton og gtkstyle.c to
3065           help with this.
3066
3067 Thu Jul 30 18:09:21 1998  Owen Taylor  <otaylor@redhat.com>
3068
3069         * gtk/gtkrc.c gtk/gtkstyle.c: More mm fixups
3070
3071         * gtk/gtktooltips.c: Pass a widget (the window) to the
3072           drawing function instead of the GtkTooltips.
3073
3074 Thu Jul 30 17:27:10 1998  Owen Taylor  <otaylor@redhat.com>
3075
3076         * gdk/gdkwindow.c: Abstract out checking for shape
3077           extension into a function.
3078
3079         * gtk/gtkwindow.c: Fix up gtk_window_expose()/draw().
3080           Remove extra callls to gtk_window_draw().
3081
3082 Thu Jul 30 11:18:43 1998  Owen Taylor  <otaylor@redhat.com>
3083
3084         * gtk/gtkstyle.c gtk/gtkrc.c: Memory management fixups.
3085
3086         * themes/th_main.c: Moved messages around so they are
3087           printed before destroying strings.
3088
3089 Wed Jul 29 16:56:07 1998  Owen Taylor  <otaylor@redhat.com>
3090
3091         * gdk/gdk.c: Fairly simple implementation of expose compression.
3092           (No GraphicsExpose compression yet, always compress
3093           with the equivalent of XtCompressMultiple - no compression
3094           of Expose events across non-Expose events)
3095         
3096         * gdk/gdk.h gdk/gdkrectangle.c: gdk_rectangle_union()
3097           Find rectangle bounding two rectangles.
3098
3099         * gtk/gtkstyle.c: Set clip rects for a few extra GC's
3100           in gdk_default_draw_shadow()
3101         
3102 Wed Jul 29 16:03:20 EDT 1998 The Rasterman <raster@redhat.com>
3103         * Fixed drawing functions to handle switching themes on the fly 
3104           gracefully and look decent.
3105           
3106 Tue Jul 28 22:52:10 EDT 1998 The Rasterman <raster@redhat.com>
3107         * Added all the theme drawing code to all widgets, fixed up minor
3108           nigglies in some widgets when it comes to themes, seem to be
3109           running into some funky behavior with clipping rects in GC's. Too
3110           many files to list here. (all files that now use gtk_paint_* are
3111           affected).
3112
3113 Tue Jul 28 22:49:16 1998  Owen Taylor  <otaylor@redhat.com>
3114
3115         * themes/th_main.c themes/th_draw.c gtk/testgtkrc: 
3116           Set up the demo theme so it is loaded from the RC file.
3117
3118         * themes/th_draw.c: Alleviate the hardcoded paths a wee
3119           bit. (use $HOME/themes/)
3120
3121         * gtk/gtkthemes.[ch] gtk/gtkmain.c: Load engines specified in 
3122           the RC file via dlopen()
3123
3124 Tue Jul 28 20:30:56 1998  Owen Taylor  <otaylor@redhat.com>
3125
3126         Internal handling of styles and RC styles pretty much
3127         completely reworked for Theme work.
3128
3129         * gtkthemes.[ch]: 
3130          - Added routines for virtualization of RcStyle and Style handling.
3131          - Temporary "sample" inline theme-engine. (Does nothing
3132            but print out a few messages.
3133         
3134         * gtkrc.[ch]
3135          - Made GtkRcStyle public, added flags to tell if particular
3136            colors have been set.
3137          - RC Styles are "transparent", and the final style for
3138            a widget is the composition of all matching styles
3139          - Added pointer to GtkThemeEngine, and gpointer engine_data
3140            to RC style and style.
3141          - Parse "engine" keyword, load the appropriate theme engine
3142            and call the engine's parser.
3143         
3144         *  gtkstyle.[ch]
3145          - Keep a GtkRcStyle * in styles created from Rc Styles.
3146          - Load up images from RC file at style attachment time.
3147          - Call ->engine->foo() at appropriate times.
3148          - Don't use a GCache. All incarnations for a style are
3149            just linked together in a list, depend on the RC style 
3150            code to find the existing copy.
3151
3152 Tue Jul 28 14:41:54 1998  Owen Taylor  <otaylor@redhat.com>
3153
3154         * gtk/gtkwidget.[ch]: Added the concept of queued redraws
3155           of partial areas. This can be done either relative
3156           to the existing windows (gtk_widget_queue_clear[_area]())
3157           or relative to the future allocation of the widget
3158           (gtk_widget_queue_draw[_area]). 
3159
3160           The initial implementation is pretty braindead, but
3161           can be improved.
3162
3163         * gtk/gtkwidget.[ch]: Removed calls to gdk_window_clear_area()
3164           in favor of gtk_widget_queue_clear().
3165         
3166         * gtk/gtklabel.[ch] gtk/gtkpixmap.[ch]: Removed needs_clear
3167           flags in favor of gtk_widget_queue_clear()
3168         
3169 Tue Aug  4 19:12:14 1998  Owen Taylor  <otaylor@redhat.com>
3170
3171         * gtk/gtkwidget.c (gtk_widget_idle_draw): Fixed up
3172           handling of partially clipped areas.
3173
3174 Thu Nov  5 18:52:35 1998  Lars Hamann  <lars@gtk.org>
3175
3176         * gtk/gtkclist.h (struct _GtkCListClass)
3177         * gtk/gtkclist.c (gtk_clist_class_init): removed scrollbar_spacing.
3178
3179 Thu Nov  5 16:00:32 1998  Lars Hamann  <lars@gtk.org>
3180
3181         * gtk/gtkclist.h (struct _GtkCList): removed vscrollbar, hscrollbar,
3182         vscrollbar_policy, hscrollbar_policy. added h/vadjustment.
3183
3184         * gtk/gtkclist.c (gtk_clist_class_init): added new args types
3185         "hadjustment" & "vadjustment"
3186          (gtk_clist_set_arg) (gtk_clist_get_arg): new object class
3187         set/get_arg functions
3188         (gtk_clist_construct): don't create/adjust scrollbars.
3189         (gtk_clist_set_hadjustment) (gtk_clist_set_vadjustment): new functions
3190         to set h/vadjustments
3191         (gtk_clist_get_vadjustment) (gtk_clist_get_hadjustment): new functions
3192         to query h/vadjustments
3193         (create_scrollbars): removed.
3194         (create_adjustments): replacement for create_scrollbars
3195         (gtk_clist_new): call gtk_clist_new_with_titles
3196         (gtk_clist_new_with_titles): don't warn on titles == NULL
3197         (move_horizontal): use CLAMP instead
3198         (gtk_clist_set_policy): deprecated method.
3199         use gtk_scrolled_window_set_policy instead.
3200         (vadjustment_value_changed): use clist->vadj.
3201         (adjust_scrollbars): renamed to adjust_adjustments
3202         (adjust_adjustments): former adjust_scrollbars
3203         (gtk_clist_destroy): unref adjustments
3204         (gtk_clist_size_allocate) (gtk_clist_map) (title_focus)
3205         (gtk_clist_unmap) (gtk_clist_size_request) (gtk_clist_focus)
3206         (gtk_clist_size_allocate) (gtk_clist_forall): don't use scrollbars
3207         (gtk_clist_thaw) (real_insert_row) (real_remove_row)
3208         (gtk_clist_set_row_height) (real_resize_column):
3209         call adjust_adjustments
3210         (gtk_clist_moveto): return if clist has no adjustments yet.
3211         (gtk_clist_parent_set): new GtkWidget::parent_set function.
3212         Autogenerate h/vadjustments if needed.  
3213         (move_horizontal) (move_vertical): some cleanups
3214
3215         * gtk/gtkviewport.c (gtk_viewport_set_arg) (gtk_viewport_new):
3216         call only gtk_viewport_set_h/vadjustment and let these functions
3217         do the work.
3218         (gtk_viewport_set_hadjustment) (gtk_viewport_set_vadjustment):
3219         generate a new adjustment if needed
3220
3221         * gtk/gtkscrolledwindow.h ((struct _GtkScrolledWindow):
3222         use a guint bitfield for h/vscrollbar_policy and h/vscrollbar_visible
3223         
3224         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_adjustment_changed):
3225         queue_resize if visibility of scrollbars changes
3226         (gtk_scrolled_window_remove): only call container_remove with
3227         scrolled_window->viewport automatically if viewport was autogenerated
3228         (gtk_scrolled_window_add): add widget as scrolled_window->viewport.
3229         auto create a viewport only if widget does not take h/vadjustments.
3230         (gtk_scrolled_window_construct): don't generate a viewport
3231         automatically.
3232         (gtk_scrolled_window_forall): call callback with viewport in any case
3233         (gtk_scrolled_window_set_arg): call gtk_container_add in case of
3234         ARG_VIEWPORT
3235         (gtk_scrolled_window_size_allocate) (gtk_scrolled_window_size_request)
3236         (gtk_scrolled_window_map) (gtk_scrolled_window_unmap): check
3237         viewport != NULL
3238
3239         * gtk/testgtk.c 
3240         (create_ctree) (export_ctree) (create_clist): use a scrolled_window
3241         in conjunction with clists/ctrees
3242
3243         * gtk/gtkfilesel.c (gtk_file_selection_init): use a scrolled_window
3244         in conjunction with clists
3245
3246         * gtk/gtkfontsel.c (gtk_font_selection_init): use a scrolled_window
3247         in conjunction with clists
3248
3249 Wed Nov  4 21:52:57 1998  Lars Hamann  <lars@gtk.org>
3250
3251         * gtk/gtkctree.c (gtk_ctree_unlink): fix focus_row adjustment
3252         (gtk_ctree_remove_node): select focus_row if needed
3253         (cell_size_request): only get pixmap size if pixmap != NULL
3254
3255 Wed Nov  4 04:30:37 1998  Tim Janik  <timj@gtk.org>
3256
3257         * gtk/gtkwidget.c: added a bunch of checks for widget != NULL and
3258         GTK_IS_WIDGET (widget):
3259
3260 Wed Nov  4 02:02:07 1998  Lars Hamann  <lars@gtk.org>
3261
3262         * gtk/gtkclist.c (real_remove_row) (sync_selection): set correct
3263         focus_row after a remove_row call.
3264
3265 Sun Nov  1 21:00:06 GMT 1998  Austin Donnelly  <austin@greenend.org.uk>
3266
3267         * gtk/gtkoptionmenu.c
3268         * gtk/gtkmenushell.c: make option menus work when some of the
3269         menuitems are hidden - previously, option menu would popup too
3270         high.
3271
3272 1998-10-31  Raja R Harinath  <harinath@cs.umn.edu>
3273
3274         * gtk/gtkfeatures.h.in: Remove `#pragma }'.
3275
3276         * gdk/gdki18n.h: Update to use new `glib' widechar defines.
3277
3278         * configure.in (CFLAGS): Don't use test -z "echo .. | grep".  Use
3279         case instead.
3280         (wchar.h, wctype.h, iswalnum): Duplicate widechar tests from `glib'.
3281         (GDK_WLIBS): New variable.  Lists extra libraries needed to use
3282         widechar functions.
3283         * gtk-config.in (--libs): List $GDK_WLIBS, too.
3284
3285 Sat Oct 31 03:11:57 CST 1998 Shawn T. Amundson <amundson@gtk.org>
3286
3287         * Released GTK+ 1.1.3
3288         
3289         * INSTALL:
3290         * NEWS:
3291         * README:
3292         * gtk+.spec:
3293         * docs/gtk-config.1: updated for v1.1.3
3294
3295         * Makefile.am
3296         * sanity_check
3297         * docs/Makefile.am: Includes new 'make release' as well as
3298           'make sanity'.  Also handles html and text creation from html,
3299           and puts them into the distribution
3300
3301         * docs/Makefile.sgml: removed, similar functionality is now in 
3302           the Makefile.am file
3303
3304         * docs/.cvsignore: ignore html and text directories
3305         * docs/glib.texi: removed (now in glib dist)
3306
3307 Fri Oct 30 20:02:36 1998  Lars Hamann  <lars@gtk.org>
3308
3309         * gtk/gtklist.c (gtk_list_remove_items_internal): 
3310         free undo_un/selection, unselect list_item before disconnect
3311         signal functions
3312         (gtk_list_destroy): removed. gtk_list_shutdown clears the list
3313         already
3314         (gtk_list_signal_item_select) (gtk_list_signal_item_deselect)
3315         (gtk_list_signal_item_toggle)   (gtk_list_signal_scroll_horizontal)
3316         (gtk_list_signal_toggle_focus_row) (gtk_list_signal_select_all)
3317         (gtk_list_signal_unselect_all) (gtk_list_signal_undo_selection)
3318         (gtk_list_signal_start_selection) (gtk_list_signal_end_selection)
3319         (gtk_list_signal_toggle_add_mode) (gtk_list_signal_scroll_vertical)
3320         (gtk_list_signal_extend_selection) (gtk_list_signal_focus_lost):
3321         new functions. These functions are signal connected to inserted
3322         list_items, to handle key bindings and GtkItem::de/select/toggle
3323         signals.
3324
3325         * gtk/gtklistitem.c (gtk_list_item_class_init): added missing
3326         gtk_object_class_add_signals call.
3327         (gtk_list_item_toggle_focus_row) (gtk_list_item_select_all)
3328         (gtk_list_item_unselect_all) (gtk_list_item_undo_selection)
3329         (gtk_list_item_start_selection) (gtk_list_item_end_selection)
3330         (gtk_list_item_extend_selection) (gtk_list_item_scroll_horizontal)
3331         (gtk_list_item_scroll_vertical) (gtk_list_item_toggle_add_mode):
3332         removed. These functions are handled via connected
3333         gtk_list_signal_* functions now
3334
3335 Fri Oct 30 05:24:43 1998  Tim Janik  <timj@gtk.org>
3336
3337         * gtk/Makefile.am: cause the built sources to be rebuild when possible,
3338         even with --include-deps:
3339         $(libgtk_la_SOURCES): $(BUILT_SOURCES)
3340
3341 Fri Oct 30 01:56:08 1998  Tim Janik  <timj@gtk.org>
3342
3343         * gtk/gtkobject.c (gtk_object_remove_no_notify): renamed from
3344         gtk_object_data_set_destroy to fit the gtkobject.h API.
3345
3346         * applied patch from Damon Chaplin <DAChaplin@email.msn.com>:
3347         * gtk/gtkfontsel.h:
3348         * gtk/gtkfontsel.c:
3349         Added support for an extra 'base' filter which an application can
3350         set to restrict the fonts available to the user (e.g. a terminal
3351         program only wants the user to be able to select fixed-width fonts).
3352         The type of font (bitmap/scalable/scaled bitmap) is now
3353         also a part of the filter, so that an application can
3354         request that only scalable fonts are shown.
3355         There are new functions to set the base & user filters.
3356         I've also stopped the up/down key press signals getting
3357         to the clists since the font selection widget handles
3358         them itself. It acted a bit strangely before.
3359
3360 Sun Oct 25 20:27:02 1998  Tim Janik  <timj@gtk.org>
3361
3362         * gtk/gtkmain.c (gtk_init): support an environment variable
3363         GTK_MODULES= which takes a colon sperated list of module names
3364         automatically loaded at gtk_init() startup.
3365
3366 Sun Oct 25 08:04:33 1998  Tim Janik  <timj@gtk.org>
3367
3368         * gtk/gtkwidget.c: added more g_return_if_fail() statements.
3369
3370 Thu Oct 22 22:40:35 1998  Lars Hamann  <lars@gtk.org>
3371
3372         * gtk/gtkctree.c (gtk_ctree_destroy): removed. gtk_clist_destroy
3373         is sufficient
3374
3375 Thu Oct 22 16:22:55 1998  Lars Hamann  <lars@gtk.org>
3376
3377         * gtk/gtkclist.c (COLUMN_FROM_XPIXEL): samll fix for invisible
3378         columns
3379
3380 Thu Oct 22 02:29:53 1998  Tim Janik  <timj@gtk.org>
3381
3382         * gtk/gtkfilesel.h: GtkType and macro fixups
3383         * gtk/gtkfilesel.c (gtk_file_selection_complete): set a pattern
3384         for the file selection widget to try a completion on (set the
3385         initial filter).
3386
3387 Wed Oct 14 14:34:04 1998  Tim Janik  <timj@gtk.org>
3388
3389         * gtk/gtkmain.c: implement idle functions via GHook. this gives a
3390         slight speed improvement and lessens code duplication.
3391
3392 Tue Oct 20 14:53:28 1998  Owen Taylor  <otaylor@redhat.com>
3393
3394         * gtk/gtkdnd.c: Always send "drag_leave" to dests
3395         without GTK_DEST_DEFAULT_MOTION. 
3396
3397 Tue Oct 20 11:55:24 1998  Owen Taylor  <otaylor@redhat.com>
3398
3399         * gdk/gdk.c (gdk_event_translate): Handle DestroyNotify
3400         on destroyed windows so we clear the XID table properly.
3401         Finish up restructure of return value handling that
3402         was half-done before.
3403
3404 Tue Oct 20 12:57:10 1998  Owen Taylor  <otaylor@redhat.com>
3405
3406         * gdk/gdk.c (gdk_send_clientmessage_to_all): Hunt
3407         the window tree more comprehensively, so that we find
3408         client windows hidden under non-toplevels.
3409
3410 Tue Oct 20 12:43:04 1998  Owen Taylor  <otaylor@redhat.com>
3411
3412         * gtk/gtkselection.c (gtk_selection_data_set): 
3413         Maintain the null-termintation guarantee, even when 
3414         data = NULL, length = 0. (Warn on data = NULL, 
3415         length > 0)
3416
3417 Mon Oct 19 16:41:44 1998  Owen Taylor  <otaylor@redhat.com>
3418
3419         * gtk/gtkwidget.h (struct _GtkWidgetClass): Add in coordinates
3420         into function prototype for drag_data_received. 
3421
3422 Tue, 20 Oct 1998 11:33:10 +0200 Paolo Molaro <lupus@debian.org>
3423
3424         * gtk/gtkdnd.h,gtk/gtkdnd.c: delete is a reserved word in c++.
3425
3426 Mon Oct 19 23:44:41 1998  Lars Hamann  <lars@gtk.org>
3427
3428         * gtk/gtkclist.c: rearranged some functions
3429         (gtk_clist_set_column_auto_resize): new function. toggle auto_resize
3430         flag of column
3431         (gtk_clist_set_column_resizeable): if resizeable disable auto_resize 
3432         (gtk_clist_set_border): deprecated function, use
3433         gtk_clist_set_shadow_type instead.
3434         (gtk_clist_set_shadow_type): replacement for gtk_clist_set_border
3435         (adjust_scrollbars): some cleanups
3436         (select_row) (unselect_row): removed. replaced by equivalent
3437         gtk_signal_emit calls
3438         (add_style_data): removed, use gtk_clist_style_set instead
3439         (gtk_clist_style_set): fill in size data, after style was set. 
3440         (set_cell_contents) (gtk_clist_set_shift) (gtk_clist_set_row_style)
3441         (gtk_clist_set_cell_style): auto_resize columns if needed
3442         (column_auto_resize): resize column if needed for auto_resize 
3443         (real_clear): disable auto_resize while list destroy
3444         (resize_column): removed
3445
3446         * gtk/gtkctree.c : (gtk_ctree_remove_node)
3447         (gtk_ctree_set_line_style) (gtk_ctree_set_expander_style)
3448         (gtk_ctree_node_set_row_style) (gtk_ctree_node_set_cell_style)
3449         (set_cell_contents) (gtk_ctree_node_set_shift) (gtk_ctree_set_spacing)
3450         (real_tree_move) (gtk_ctree_set_indent) (gtk_ctree_insert_node)
3451         (real_tree_collapse) (real_tree_expand) (column_auto_resize):
3452         auto_resize columns if needed
3453         (gtk_ctree_collapse_recursive) (gtk_ctree_collapse_to_depth)
3454         (real_clear): disable auto_resize while processing the tree
3455
3456         * gtk/testgtk.c (create_clist) (create_ctree): set auto_resize
3457         for one column
3458
3459 Mon Oct 19 08:31:36 1998  Owen Taylor  <otaylor@redhat.com>
3460
3461         * gtk/gtkdnd.c (gtk_drag_selection_received): Fixed
3462         typo - look for right atom on transfer failures.
3463
3464 Sun Oct 18 20:52:22 1998  Owen Taylor  <otaylor@gtk.org>
3465
3466         * gtk/gtkwidget.c gtkmarshal.list: Change signal 
3467         for drag_data_get to match the use that was being
3468         made of it everywhere else...
3469
3470 Sun Oct 18 18:16:39 1998  Owen Taylor  <otaylor@gtk.org>
3471
3472         * gdk/gdk.c gdkprivate.h: Added a modular client-message-filter
3473         mechanism, that is used for the DND messages.
3474
3475           Removed all the old DND code.
3476
3477         * gdk/gdkcolormap.c gdk/gdkcolormap.h: Add a function to
3478         get the visual of a given colormap.
3479         
3480         * gtk/gtkcolorsel.c: Conversion to new DND, drag 
3481         a color-swatch.
3482
3483         * gdk/gdk.h gdk/gdkdnd.c: The low-level
3484         X oriented portions of drag and drop protocols.
3485         Sending and receiving client messages, and navigating
3486         window trees.
3487
3488         * gdk/gdkimage.c: added a gdk_flush() when destroying
3489         SHM images to hopefully make it more likely that
3490         X will gracefully handle the segment being destroyed.
3491
3492         * gdk/gdkprivate.h gtk/gtkdebug.h: Add new 
3493         DND debugging flags.
3494
3495         * gtk/gtkeditable.[ch]: Updates for the selection handling
3496         changes.
3497         
3498         * gtk/gtkselection.[ch]: Added GtkTargetList, a 
3499         refcounted data structure for keeping track of lists
3500         of GdkAtom + information. Removed selection_handler_add
3501         in favor of a "drag_data_get" signal.
3502
3503         * gtk/gtkdnd.[ch] gtk/gtk.h: New files - highlevel (event loop
3504         dependent) parts of the DND protocols, display of drag icons,
3505         drag-under highlighting, and the "default handlers".
3506
3507         * gtk/gtkinvisible.[ch]: New widget - InputOnly offscreen
3508         windows that are used for reliable pointer grabs and
3509         selection handling in the DND code.
3510
3511         * gtk/testdnd.c: New test program for new DND. (Old
3512         DND tests in testgtk still need to be converted.)
3513
3514         * gtk/testselection.c: Use the new selection API.
3515         
3516         * docs/dnd_internals: Start at describing how
3517         all the new code works inside.
3518
3519         * docs/Changes-1.2.txt: New file describing source-incompatible
3520         changes in GTK+-1.2.
3521
3522 Sat Oct 17 22:50:34 1998  Owen Taylor  <otaylor@gtk.org>
3523
3524         * gdk/gdkwindow.c (gdk_window_remove_filter): Free
3525         the right list node.
3526
3527         * gdk/gdkwindow.c (gdk_window_init): Add gdk_root_parent
3528         to the XID table so we can receive events on it.
3529
3530 Wed Oct 14 12:57:40 1998  Owen Taylor  <otaylor@redhat.com>
3531
3532         * gdk/gdk.c gdk/gdk.h (gdk_event_get_time): New function
3533         to get the timestamp from a generic event.
3534
3535 Fri Oct  9 13:16:04 1998  Owen Taylor  <otaylor@redhat.com>
3536
3537         * gtk/gtkwidget.c (gtk_widget_add_events): Added function
3538         that safely adds additional events to a widget's event 
3539         mask, even if the widget has previously been realized.
3540         (We can do this, but not remove events from the event
3541          mask).
3542
3543 Fri Oct  2 17:35:35 1998  Owen Taylor  <otaylor@redhat.com>
3544
3545         * gdk/gdkproperty.c (gdk_property_get): Allow type == 0,
3546         for AnyPropertyType.
3547
3548 Fri Oct  2 10:32:21 1998  Owen Taylor  <otaylor@redhat.com>
3549
3550         * gdk/gdkproperty.c (gdk_atom_intern): Add client-local
3551         hashing.
3552
3553 Thu Sep 24 20:33:54 1998  Owen Taylor  <otaylor@redhat.com>
3554
3555         * gdk/gdk.c (gdk_event_send_clientmessage_toall): serial
3556         isn't a timestamp.
3557
3558 Thu Sep 17 14:23:03 1998  Owen Taylor  <otaylor@redhat.com>
3559
3560         * gdk/gdk.c (gdk_event_translate): Removed printing
3561         of unknown window lookup warnings. (Made it
3562         a GDK_NOTE) - they happen in many circumstances.
3563
3564 Tue Sep  8 12:38:43 1998  Owen Taylor  <otaylor@redhat.com>
3565
3566         * Call XFilterEvent() on events we get for unknown
3567         windows, since it may be the window Xlib uses to
3568         communicate with the IM. 
3569         (From Yung-Ching Hsiao <yhsiao@cae.wisc.edu>)
3570
3571 Tue Sep  1 10:53:52 1998  Owen Taylor  <otaylor@redhat.com>
3572
3573         * gtk/gtkprogress.c (gtk_progress_finalize): Unref
3574         the adjustment.
3575
3576 Thu Aug 27 12:03:14 1998  Owen Taylor  <otaylor@redhat.com>
3577
3578         * gtk/gtksignal.c (gtk_signal_newv): Improve warning
3579         message for return_value + GTK_RUN_FIRST.
3580
3581 1998-10-18  Martin Baulig  <martin@home-of-linux.org>
3582
3583         * gtk/gtktext.c (gtk_text_set_line_wrap): new function to toggle
3584         line wrapping like gtk_text_set_word_wrap () toggles word wrapping.
3585
3586 Fri Oct 16 15:59:02 1998  Lars Hamann  <lars@gtk.org>
3587
3588         * gtk/testgtk.c (insert_row_clist) (create_clist): change a few cell
3589         styles of inserted row
3590         (change_style): change style of focus_row
3591
3592         * gtk/gtkclist.c (gtk_clist_get_row_style) (gtk_clist_set_row_style)
3593         (gtk_clist_get_cell_style) (gtk_clist_set_cell_style): new functions
3594         to set/get row/cell styles.
3595         (gtk_clist_realize): attach row and cell style, allocate row colors.
3596         (gtk_clist_unrealize): detach row and cell styles.
3597         (get_cell_style): new function. get correct cell style.
3598         (draw_cell_pixmap): new function. 
3599         (draw_row): draw cells with row or cell styles.
3600         (row_new): set cell and row styles to NULL.
3601         (row_delete): detach & unref cell and row styles.
3602
3603         * gtk/gtkctree.c (ctree_detach_styles) (ctree_attach_styles): 
3604         new functions to attach/detach styles and allocate colors.
3605         (gtk_ctree_realize) (gtk_ctree_unrealize): attach/detach cell and row
3606         styles of invisible nodes.
3607         (draw_cell_pixmap): new function. 
3608         (get_cell_style):  new function. get correct cell style.
3609         (gtk_ctree_draw_expander): new function. draw tree expander.
3610         (gtk_ctree_draw_lines): new function.draw tree lines.
3611         (draw_row): draw cells with row or cell styles.
3612         (row_new): set cell and row styles to NULL.
3613         (row_delete): detach & unref cell and row styles.
3614         (gtk_ctree_node_get_row_style) (gtk_ctree_node_set_row_style) 
3615         (gtk_ctree_node_get_cell_style) (gtk_ctree_node_set_cell_style): 
3616         Analogons of GtkCList functions 
3617         (gtk_ctree_set_spacing): new function. set spacing between
3618         tree expander and cell contents
3619         (gtk_ctree_set_expander_style): new function. set expander style
3620         of ctree.
3621         (ctree_is_hot_spot): few changes due to draw_row modifications.
3622
3623 Wed 14 Oct 1998 10:17:13 +0200 Paolo Molaro <lupus@debian.org>
3624
3625         * gtk/gtkcombo.c: try completion on MOD1-TAB.
3626         Handle case when the combo->list is empty.
3627
3628 Mon Oct 12 07:51:34 1998  Tim Janik  <timj@gtk.org>
3629
3630         * gtk/gtksignal.c (gtk_signal_handlers_destroy): only unref those
3631         handlers that have not yet been disconnected (finally managed to
3632         trigger the gtk_signal_handler_unref() paranoid warning).
3633
3634 Sat Oct 10 03:37:50 1998  Tim Janik  <timj@gtk.org>
3635
3636         * gtk/gtkwidget.c (gtk_widget_get_arg): fixed default value for x, y,
3637         width and height which is -1 and not -2.
3638
3639 Sat Oct 10 00:50:53 PDT 1998 Manish Singh <yosh@gimp.org>
3640
3641         * HACKING
3642         * autogen.sh: we need libtool 1.2b now
3643
3644 Sat Oct 10 03:37:50 1998  Tim Janik  <timj@gtk.org>
3645
3646         * gtk/gtktable.c (gtk_table_set_child_arg): take the left, right, top
3647         and bottom attach arguments as mandatory and readjust the table size
3648         and opposing edge accordingly if required. this way the order in which
3649         the arguments are set doesn't matter.
3650
3651 Thu Oct  8 15:53:59 1998  Owen Taylor  <otaylor@redhat.com>
3652
3653         * gtk/gtktypeutils.c (gtk_type_class_init): Fixed warning
3654         message to print out parent class name correctly.
3655
3656 Thu Oct  8 07:07:10 1998  Tim Janik  <timj@gtk.org>
3657
3658         * gtk/gtkobject.h: 
3659         * gtk/gtkobject.c:
3660         removed functions gtk_object_set_data_destroy and
3661         gtk_object_set_data_destroy_by_id.
3662         added functions gtk_object_remove_no_notify and
3663         gtk_object_remove_no_notify_by_id which will remove a certain data
3664         portion without invokation of its destroy notifier, this should only
3665         be used in very controled circumstances.
3666
3667 Wed Oct  7 23:59:37 1998  Lars Hamann  <lars@gtk.org>
3668
3669         * gtk/gtkclist.c (gtk_clist_set_column_resizeable): added
3670         size_allocate_title_buttons call
3671         (gtk_clist_realize): changed initial column.window position
3672
3673 Wed Oct  7 20:27:28 1998  Lars Hamann  <lars@gtk.org>
3674
3675         * gtk/gtkctree.h (struct _GtkCTree): removed xor_gc, use clists
3676         xor_gc instead
3677         * gtk/gtkctree.c (create_xor_gc): removed
3678         (gtk_ctree_button_press): set correct line_attributes for
3679         clist->xor_gc on drag start
3680         (gtk_ctree_button_release): reset clist->xor_gc
3681
3682 Wed Oct  7 05:15:36 1998  Tim Janik  <timj@gtk.org>
3683
3684         * gtk/gtk*.h:
3685         * gdk/gdk.h: removed all occourances of #pragma } and #pragma {
3686         which were in place to fixup emacs' cc-mode indentation.
3687         putting (c-set-offset 'inextern-lang 0) into ~/.emacs is the
3688         proper way to achive this and doesn't produce problems for
3689         stupid pragma-related compiler bugs. ;)
3690
3691 Wed Oct  7 00:59:46 1998  Lars Hamann  <lars@gtk.org>
3692
3693         * gtk/gtkclist.h: new signal GtkCList::resize_column.
3694         * gtk/gtkclist.c (draw_row): don't draw invisible columns
3695         (size_allocate_title_buttons) (size_allocate_columns):
3696         skip invisible columns
3697         (new_column_width): take min/max_width into account 
3698         (gtk_clist_button_release) (gtk_clist_motion):
3699         changes due to changed new_column_width function
3700         (LIST_WIDTH): changed define to inline function.
3701         (real_resize_column): class function for resize_column signal
3702         (gtk_clist_motion): fixed autoscrolling for column resizes
3703         (gtk_clist_set_column_visibility): don't hide last visible column,
3704         changed visible arg to gboolean
3705         (gtk_clist_set_column_min_width)(gtk_clist_set_column_max_width):
3706         new functions : set min/max width of a column
3707         (gtk_clist_set_column_resizeable): new function : enable/disable
3708         column resize operations by mouse
3709
3710         * gtk/gtkctree.c (draw_row): don't draw invisible columns
3711         (ctree_is_hot_spot): return FALSE if tree_column is invisible
3712         (draw_xor_line)  (draw_xor_rect): draw full rectangle/line if
3713         tree_column is invisible
3714         (gtk_ctree_find_all_by_row_data)
3715         (gtk_ctree_find_all_by_row_data_custom):  new function from
3716         Ronan Bourlier <ronan@radioss.com>. Returns a GList of all
3717         GtkCTreeNodes with row->data == data.
3718
3719 Tue Oct  6 14:05:00 1998  Tim Janik  <timj@gtk.org>
3720
3721         * gtk/testgtk.c (cb_tree_destroy_event): use g_free to free g_malloced
3722         memory (Martin Pool <mbp@wistful.humbug.org.au>).
3723
3724 Mon Oct  5 15:26:30 1998  Raph Levien  <raph@gimp.org>
3725
3726         * gdk/gdkrgb.c (gdk_rgb_convert_0888_br): Fixed a few long's that
3727         should have been guint32. Thanks to Tristan Colgate for finding it.
3728
3729 Sun Oct  4 22:47:22 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
3730
3731         * gtk/gtkcalendar.h:
3732           gtk/gtkcalendar.c: More changes:
3733           - The day with focus is now seperated from the day selected
3734           - The day with focus has the xor's line around it
3735           - The selected day is now standard selected style
3736           - The week names and week numbers are now also drawn
3737             with selected style
3738           - Space now selects the day which has focus
3739
3740 Sun Oct  4 17:55:52 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
3741
3742         * gtk/gtkcalendar.h:
3743           gtk/gtkcalendar.c: Some significant changes, including:
3744           - No longer draw focus around entire widget, only around
3745             the day which has focus
3746           - Draw relief around entire widget like originally planned
3747           - Show header and day names by default 
3748           - Move data private to the widget out of GtkCalendar struct
3749             and only point to it with a gpointer
3750           - Remove some old unused variables from GtkCalendar struct
3751
3752 Sun Oct  4 17:45:43 BST 1998  Tony Gale  <gale@gtk.org>
3753
3754         * docs/gtk_tut.sgml: update I've had sat around:
3755           - Grammar patch from James R. Van Zandt <jrv@vanzandt.mv.com>
3756           - Range Widget update from David Huggins-Daines <bn711@freenet.carleton.ca>
3757           - New Toolbar section from Jacek Wojdel <J.C.Wojdel@cs.tudelft.nl>
3758
3759 1998-10-01  Martin Baulig  <martin@home-of-linux.org>
3760
3761         * gtk/gtkclist.h (GtkCListColumn): Added `visible'.
3762         
3763         * gtk/gtkclist.c (gtk_clist_set_column_visibility): New function.
3764         Makes it possible to individually show and hide columns.
3765         (size_allocate_columns): Adapted to keep track of hidden columns.
3766         (size_allocate_title_buttons): Likewise.
3767
3768 Sat Oct  3 17:54:48 1998  Tim Janik  <timj@gtk.org>
3769
3770         * gtk/gtkargcollector.c (GTK_ARG_COLLECT_VALUE): for unknown foreign
3771         fundamental types, collect an argument of the type returned from
3772         gtk_type_get_varargs_type(). removed the first macro argument which
3773         was just the same as the fundamental type of the *arg passed to
3774         the macro.
3775         * gtk/gtkarg.c (gtk_args_collect): 
3776         * gtk/gtksignal.c (gtk_signal_collect_params): changed callers.
3777
3778         * gtk/gtktypeutils.h: 
3779         * gtk/gtktypeutils.c: new functions gtk_type_set_varargs_type() and
3780         gtk_type_get_varargs_type() to set and query the varargs collect
3781         type used for a fundamental type, registered outside of Gtk.
3782
3783         * gtk/gtkmisc.c (gtk_misc_class_init): changed object arguments
3784         GtkMisc::xalign and GtkMisc::yalign from GTK_TYPE_DOUBLE to
3785         GTK_TYPE_FLOAT.
3786
3787         * gtk/gtkframe.c (gtk_frame_class_init): changed object arguments
3788         GtkFrame::label_xalign and GtkFrame::label_yalign from GTK_TYPE_DOUBLE
3789         to GTK_TYPE_FLOAT.
3790
3791 Sat Oct  3 01:25:24 1998  Lars Hamann  <lars@gtk.org>
3792
3793         * gtk/gtkctree.c (gtk_ctree_insert_gnode) (real_tree_collapse)
3794         (gtk_ctree_link) (gtk_ctree_unlink) (real_tree_expand): 
3795         fixes for assignment errors with GTK_CTREE_NODE_NEXT/PREV
3796
3797         (real_tree_expand) (real_tree_collapse):
3798         don't expand/collapse a leaf
3799
3800 Fri Oct  2 16:10:36 1998  Tim Janik  <timj@gtk.org>
3801
3802         * gtk/gtktypeutils.c (gtk_type_enum_find_value): make sure we don't
3803         segfault when looking up a non-existant value name (reported by
3804         Pablo <pcj+gtk@primenet.com>).
3805
3806 Thu Oct  1 10:40:20 1998  Tim Janik  <timj@gtk.org>
3807
3808         * gtk/gtkclist.h (gtk_clist_prepend):
3809         * gtk/gtkclist.c (gtk_clist_prepend): new function.
3810         (gtk_clist_insert): added g_return_val_if_fail()
3811         statements. accept a row parameter < 0 or > clist->rows to indicate
3812         append mode.
3813         (real_clear): first clean up all internal pointers and lists (e.g.
3814         clist->row_list or clist->rows), then delete the distinct rows. this
3815         is required because of destroy notifiers, we need to have all internal
3816         structures updated and be reentrant.
3817
3818         * gtk/gtkcalendar.h: 
3819         * gtk/gtkcalendar.c: removed the `gtk_calendar_' prefix from the
3820         GtkCalendarClass signal methods.
3821         GtkType and macro fixups, put `void' into () prototypes, avoid C++
3822         style comments, indentation fixes, fixed some g_return_if_fail()
3823         statements.
3824         (gtk_calendar_paint_header):
3825         (gtk_calendar_paint_day_names): 
3826         (gtk_calendar_paint_week_numbers): 
3827         (gtk_calendar_paint_main): made these static functions.
3828         (gtk_calendar_select_month):
3829         (gtk_calendar_select_day):
3830         (gtk_calendar_mark_day):
3831         (gtk_calendar_unmark_day):
3832         (gtk_calendar_get_date): signedness corrections, use guints
3833         rather than gints.
3834         (gtk_calendar_size_request): removed unused variables.
3835
3836 Wed Sep 30 13:11:09 1998  Tim Janik  <timj@gtk.org>
3837
3838         * gtk/gtkitemfactory.c (gtk_item_factory_add_item): list all
3839         widgets in the ->widgets_by_action list that have a callback
3840         defined (not only those with a callback_action!=0).
3841
3842 Sun Sep 27 22:02:48 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
3843
3844         * gtk/gtkcalendar.h:
3845           gtk/gtkcalendar.c:
3846           examples/calendar/gcalendar.c: remove HAVE_FEATURES stuff
3847
3848 Sun Sep 27 02:18:06 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
3849
3850         * gtk/gtkcalendar.h:
3851           gtk/gtkcalendar.c:
3852           examples/calendar: Added gtkcalendar widget and demo
3853
3854 Sat Sep 26 06:15:34 1998  Tim Janik  <timj@gtk.org>
3855
3856         * gtk/gtkclist.c (gtk_clist_sort): 
3857         (gtk_clist_clear): 
3858         (gtk_clist_unselect_all): 
3859         (gtk_clist_select_all): adde g_return_if_fail() statements.
3860
3861 Sat Sep 26 04:46:22 1998  Tim Janik  <timj@gtk.org>
3862
3863         * configure.in: set binary age and interface age to 0.
3864
3865         * gtk/gtkspinbutton.h: 
3866         * gtk/gtkspinbutton.c: changed gtk_spin_button_construct to
3867         gtk_spin_button_configure. gtk_spin_button_construct is still defined
3868         as an alias for gtk_spin_button_configure for source compatibility,
3869         but actuall use is deprecated.
3870         typeness corrections, i.e. gint->gboolean and gint->guint.
3871         added object arguments: GtkSpinButton::value, GtkSpinButton::wrap,
3872         GtkSpinButton::shadow_type, GtkSpinButton::update_policy,
3873         GtkSpinButton::numeric, GtkSpinButton::snap_to_ticks,
3874         GtkSpinButton::adjustment, GtkSpinButton::digits and
3875         GtkSpinButton::climb_rate.
3876         GtkType and macro fixups.
3877
3878 Sat Sep 25 23:33:55 1998  Tim Janik  <timj@gtk.org>
3879
3880         * gdk/gdkwindow.c (gdk_window_get_root_origin): new function to get
3881         the *real* geometry position of a window, taken possible window
3882         manager offsets into account.
3883         this has been succesfully tested with fvwm, fvwm-2, bowman, olwm,
3884         olvwm, twm, ctwm, mlvwm, windowmaker and enlightenment.
3885         it does fail though for amiwm which adds windows to a pseudo root
3886         window, and for icewm by a small offset because it defines the
3887         geometry position whithin its border.
3888
3889         * gtk/testgtk.c: added "saved position" test to figure how
3890         gdk_window_get_root_origin() interacts with window managers (repopup
3891         this window to figure ;).
3892
3893 Wed Sep 23 06:09:19 1998  Tim Janik  <timj@gtk.org>
3894
3895         * configure.in: update to Gtk+ version 1.1.3, binary age 1,
3896         interface age 1.
3897
3898         * gtk/gtkobject.c
3899         (gtk_object_ref): 
3900         (gtk_object_unref): check for ->ref_count to be greater than 0 (the
3901         existing code was buggy in letting ->ref_count==0 pass through and
3902         then failing the living_objs_ht assertion).
3903
3904         * gtk/gtkclist.c (draw_row): fix chopping bug for right justified
3905         pixtext fields (Roman Pozlevich <roma@botik.ru>).
3906
3907 Mon Sep 21 23:53:18 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
3908
3909         * Released GTK+ 1.1.2
3910
3911 Mon Sep 21 01:12:44 1998  Jay Cox  (jaycox@earthlink.net)
3912
3913         * gtk/Makefile.am: use $(PERL) instead of perl
3914         * gtk/gtkcolorsel.c: render properly in non-square aspect ratios.
3915         also much faster to render.
3916
3917 Mon Sep 21 07:44:30 1998  Tim Janik  <timj@gtk.org>
3918
3919         * gtk/gtkobject.c (gtk_object_class_add_signals): reallocate
3920         the required memory block, rather than allocating it newly from
3921         scratch and doing a full-blown block copy on it.
3922
3923 Mon Sep 21 02:30:06 1998  Tim Janik  <timj@gtk.org>
3924
3925         * NEWS file update for upcoming release of Gtk+ version 1.1.2,
3926         binary age 0, interface age 0.
3927
3928         * gtk/gtkmain.c (gtk_init): enforce gtk-modules to always be resident.
3929
3930 Sun Sep 20 18:21:46 1998  Owen Taylor  <otaylor@redhat.com>
3931
3932         * ltmain.sh: Patch to libtool-1.2b to make --disable-static
3933         work.
3934
3935 Sun Sep 20 09:52:39 1998  Owen Taylor  <otaylor@gtk.org>
3936
3937         * HACKING: indent other than GNU indent should be OK
3938           now.
3939
3940         * gtk/genmarshal.pl gtk/Makefile.am: Call indent on file
3941           instead of piping through indent. If indent wasn't
3942           found in ./configure don't bother indenting at 
3943           all.
3944
3945 Fri Sep 18 19:11:10 1998  Owen Taylor  <otaylor@redhat.com>
3946
3947         * gdk/gdk.h: Add names to prototype for gdk_image_new_bitmap.
3948
3949 Fri Sep 18 18:54:59 1998  Jay Cox  (jaycox@earthlink.net)
3950
3951         * gtk/Makefile.am: use $(AWK) instead of awk
3952
3953 1998-09-18  Raja R Harinath  <harinath@cs.umn.edu>
3954
3955         * gtk/Makefile.am (gdk_headers): 
3956         Remove references to $(top_srcdir). 
3957         (gtk.defs, gtktypebuiltins{.h,_vars.c,_ids.c,_evals.c}): Simplify.
3958         * gtk/makeenums.pl (parse_entries): Don't look for $srcdir.
3959
3960 Fri Sep 18 19:58:24 1998  Tim Janik  <timj@gtk.org>
3961
3962         * gtk/gtkobject.h (struct _GtkObject): changed gpointer object_data; to
3963         GData*object_data to cure compiler warnings.
3964
3965 Thu Sep 17 19:06:47 PDT 1998 Manish Singh <yosh@gimp.org>
3966
3967         * install-sh
3968         * missing
3969         * mkinstalldirs: updated to latest automake version
3970
3971 1998-09-17  Raja R Harinath  <harinath@cs.umn.edu>
3972
3973         * gtk/Makefile.am (source_headers): Move `gtkfeature.h' ...
3974         (gtkinclude_HEADERS): ... here.
3975         (gtk.defs): Pass `g' flag to sed, to replace all occurances.
3976
3977 Thu Sep 17 10:49:51 1998  Raph Levien  <raph@gimp.org>
3978
3979         * HACKING: added GNU indent, as it is now required to successfully
3980         build gtk+. Should this be detected in autoconf, possibly?
3981
3982 Tue Sep 15 14:57:30 1998  Owen Taylor  <otaylor@redhat.com>
3983
3984         * Makefile.am gtk-config.in l*: Update to libtool-1.2b,
3985         change library versioning scheme to drop LT_RELEASE
3986         from the -l line, while keeping it in the soname.
3987
3988 Tue Sep 15 14:10:33 1998  Owen Taylor  <otaylor@redhat.com>
3989
3990         * configure.in Makefile.in: define a MAINT-like variable REBUILD
3991         which is set if Perl and awk are found, and autogenerated sources
3992         can be rebuilt. Remove the auto-generated sources from
3993         CVS. 
3994
3995         Add dependencies so that the autogenerated sources are 
3996         rebuilt if the files they depend on change. 
3997         (This unfortunately currently results in the entire
3998         gtk/ directory being rebuilt when any header changes.
3999         Moving all enums to gtkenums.h would fix this.)
4000
4001 Thu Sep 17 05:12:48 1998  Tim Janik  <timj@gtk.org>
4002
4003         * gtk/gtkobject.h: added gtk_object_set_data_destroy and
4004         gtk_object_set_data_destroy_by_id functions to set the destroy
4005         function pointer for an existing data portion.
4006
4007         * gtk/gtkobject.c: removed the GtkObjectData implementation and
4008         made all gtk_object_*data* functions use the GLib equivalents.
4009
4010 1998-09-16  Federico Mena Quintero  <federico@nuclecu.unam.mx>
4011
4012         * gtk/gtktoolbar.c (gtk_toolbar_insert_element): Test whether type
4013         is not equal to GTK_TOOLBAR_CHILD_RADIOBUTTON before checking that
4014         (widget != NULL), otherwise radio button insertion will not work
4015         -- the widget argument is NULL for the first radio button in the
4016         group.
4017
4018 Tue Sep 15 13:09:24 1998  Owen Taylor  <otaylor@redhat.com>
4019
4020         * gdk/gdkimage.c (gdk_image_new): Reverted global changes
4021         of g_new to malloc(), added back in the one place where
4022         it actually mattered. #include <stdlib.h>.
4023
4024         * gdk/gdkrgb.c: g_malloc() to malloc() as above.
4025
4026 Tue Sep 15 11:30:03 1998  Owen Taylor  <otaylor@redhat.com>
4027
4028         * gtk/gtkfilesel.c: Keep a list of directories in which we never
4029         want to stat the entries (like /afs), and assume everything in
4030         those directories is a subdirectory.
4031
4032         - When following a path, try to open components even when
4033         we don't find them in their parent's directory to
4034         support automounters.
4035
4036 Tue Sep 15 11:06:13 1998  Owen Taylor  <otaylor@redhat.com>
4037
4038         * gtk/gtkwindow.c (gtk_window_move_resize): Don't request
4039         a new size from the WM if we asked for the same size
4040         before and our request was rejected.
4041
4042         * gtk/gtkwindow.c (gtk_window_configure_event): If
4043         in response to a request, we get a configure event
4044         with unchanged dimensions, send a synthetic expose
4045         since ForgetGravity won't expose our window.
4046
4047 Mon Sep 14 14:28:24 1998  Owen Taylor  <otaylor@redhat.com>
4048
4049         * gtk/gtktext.c (adjust_adj): Change the way we
4050         set the adjustments on resize so that it tries to
4051         keep the beginning of the text in approximately
4052         the same place. 
4053
4054         Removed assertion that the above change made invalid.
4055
4056 Thu Sep 10 22:19:35 1998  Owen Taylor  <otaylor@redhat.com>
4057
4058         * gtk/gtktext.c: - Save first_cut_pixels when switching
4059         sizes, so that if we switch to the _same_ size,
4060         we don't move lines around.
4061
4062         - Make sure that the text area always has a size of at
4063         least 1x1, then do all computations when realized.
4064
4065         - When fetching lines in recompute_geometry, make
4066         sure we fetch enough lines to cover the screen.
4067         
4068 Mon Sep 14 21:47:35 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
4069
4070         * gdk/gdkimage.c: changed g_new()s to malloc()s and 
4071           g_free()s to free()s to avoid mixing g_new()s with 
4072           free()s.  X itself uses free() on some of the 
4073           malloced memory.
4074
4075 Sat Sep 12 10:44:06 1998  Owen Taylor  <otaylor@redhat.com>
4076
4077         * gtkfilesel.c: Maintain a list of directories like
4078         /afs we know contain only directories, and avoid
4079         stat'ing files in those directories. (Because
4080         stat'ing all files in /afs is extremely expensive)
4081
4082         To support automounters, try to open directories,
4083         even if we couldn't find them when reading their
4084         parent directory.
4085
4086 Thu Sep  3 10:29:03 1998  Owen Taylor  <otaylor@redhat.com>
4087
4088         * gtk.m4: Conditionalize check for GTK_MAJOR_VERSION,
4089         to allow the same gtk.m4 to work for 1.0.x and
4090         1.1.x.
4091
4092 Fri Sep 11 15:25:10 1998  Lars Hamann  <lars@gtk.org>
4093
4094         * gtk/gtkclist.c (gtk_clist_set_selectable): new function
4095         to set/unset the selectable flag of a single row.
4096         (gtk_clist_get_selectable): new function 
4097         to get the state of the selectable flag
4098
4099         * gtk/gtkctree.c (gtk_ctree_node_set_selectable)
4100         (gtk_ctree_node_get_selectable): clist analogons
4101         
4102 Thu Sep 10 17:04:03 1998  Raph Levien  <raph@gimp.org>
4103
4104         * gtk/testrgb.c (testrgb_rgb_test): Small changes to the test
4105         pattern.
4106
4107         * gdk/gdkrgb.c (gdk_rgb_convert_gray4_pack): Fixed some alignment
4108         bugs in the 4bit gray cases.
4109
4110 Wed Sep  9 02:48:44 PDT 1998 Manish Singh <yosh@gimp.org>
4111
4112         * configure.in: added -posix check for NeXTStep
4113
4114         * gtk/testthreads.c: applied part of gtk-joke-980907-0 to use
4115         a unique buffer for each thread.
4116
4117         * docs/gtk-config.1: clarified copyright
4118
4119 Tue Sep  8 05:19:51 1998  Tim Janik  <timj@gtk.org>
4120
4121         * gdk/gdk.c (gdk_init): use g_atexit() instead of ATEXIT.
4122
4123         * gtk/gtkmain.c (gtk_init): use g_atexit() instead of ATEXIT.
4124
4125         * gtk/gtkobject.c (gtk_object_init_type): use g_atexit() instead of
4126         ATEXIT.
4127         
4128         * ltconfig: use GLib's ltconfig which honours lcc.
4129
4130 Mon Sep  7 20:09:23 PDT 1998 Manish Singh <yosh@gimp.org>
4131
4132         * configure.in: comment the -std1 check and save LIBS properly
4133
4134 Sun Sep  6 12:36:23 PDT 1998 Manish Singh <yosh@gimp.org>
4135
4136         * gtk/testrgb.c: #include <stdlib.h>
4137
4138 Sat Sep  5 16:01:19 1998  Owen Taylor  <otaylor@gtk.org>
4139
4140         * gdk/gdkinputxfree.h gdk/gdk.c gdk/gdkinputgxi.h:
4141         When the pointer is grabbed on an input window,
4142         either explicitely, or through press-grab, and
4143         then grabbed on a non-input window, ungrab the
4144         devices.
4145
4146 Sat Sep  5 07:13:19 1998  Tim Janik  <timj@gtk.org>
4147
4148         * gtk/gtktypeutils.h: don't include any gdk headers.
4149         added structure definitions for GtkTypeObject and GtkTypeClass,
4150         which cover the very basic fields of GtkObject and GtkObjectClass,
4151         which are actually used by the type system.
4152         
4153         * gtk/gtktypeutils.c: don't include gtkobject.h or gtkcontainer.h,
4154         we only refer to our own structures. improved class inheritance
4155         sanity checking a bit.
4156
4157         * gtk/gtkobject.h: placed appropriate comments at the beginnings
4158         of the GtkObject and GtkObjectClass structures, which explain
4159         their relationship to GtkTypeObject and GtkTypeClass.
4160
4161         * gtk/gtktypeutils.h:
4162         * gtk/gtkobject.h:
4163         moved GTK_STRUCT_OFFSET(), GTK_CHECK_CAST(), GTK_CHECK_CLASS_CAST(),
4164         GTK_CHECK_TYPE() and GTK_CHECK_CLASS_TYPE() macro definitions from
4165         gtkobject.h to gtktypeutils.h.
4166
4167         * gtk/gtkobject.h:
4168         * gtk/gtkobject.c:
4169         removed gtk_object_check_cast() and gtk_object_check_class_cast()
4170         functions. to keep source compatibility, we can provide macro aliases
4171         for the corresponding gtk_type_* functions. but then again, people
4172         shouldn't have been using these functions anyways since they were part
4173         of Gtk's internal API.
4174
4175         * gtk/gtktypeutils.h:
4176         * gtk/gtktypeutils.c:
4177         implemented gtk_type_check_object_cast() and gtk_type_check_class_cast()
4178         functions to check GtkTypeObject and GtkTypeClass types.
4179
4180 Thu Sep  3 07:16:54 1998  Tim Janik  <timj@gtk.org>
4181
4182         * gtk/gtkctree.h:
4183         * gtk/gtkctree.c: `const' fixups.
4184
4185         * gtk/gtkclist.h:
4186         * gtk/gtkclist.c: `const' fixups and some coding style adaptions.
4187
4188         * gtk/gtkctree.c (gtk_ctree_insert_node): don't dereference *text
4189         if it is passed as NULL.
4190
4191 Wed Sep  2 22:41:40 1998  Raph Levien  <raph@gimp.org>
4192
4193         * gdk/gdkrgb.c (gdk_rgb_select_conv): Fixed 32bpp image depth
4194         big-endian cases. Added a 4bpp packed gray mode (somewhat
4195         incorrectly hardwired to MSB), which should take care of
4196         Stric's hardware.
4197
4198 Thu Sep  3 04:45:57 1998  Tim Janik  <timj@gtk.org>
4199
4200         * gtk/gtkaccelgroup.c (gtk_accel_group_add): plug another small
4201         GtkSIgnalQuery leak.
4202
4203 Thu Sep  3 04:22:20 1998  Tim Janik  <timj@gtk.org>
4204
4205         * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current):
4206         GTK_MENU_DIR_CHILD: check for the existance of
4207         menu_shell->active_menu_item before accessing its child.
4208         GTK_MENU_DIR_PREV:
4209         GTK_MENU_DIR_NEXT: if we haven't had an active item and still
4210         don't, make a default selection.
4211
4212 Wed Sep  2 00:28:58 1998  Tim Janik  <timj@gtk.org>
4213
4214         * gtk/gtkwidget.c (gtk_widget_propagate_state): iterate
4215         the children with _forall for sensitivity changes and with
4216         _foreach on pure state changes. this fixes a lot of the
4217         old inclusions of internal widgets into _foreach calls.
4218
4219         * gtk/gtktree.c: removed gtk_tree_foreach, let gtk_tree_forall
4220         do the work. don't walk the subtrees of first level children.
4221
4222         * gtk/gtktreeitem.c: provide a _forall implementation,
4223         which walks the subtrees as well for include_internals.
4224
4225         * gtk/gtkmenuitem.c: provide a _forall implementation, which walks
4226         the submenus as well for include_internals.
4227
4228         * gtk/gtkscrolledwindow.c: removed gtk_scrolled_window_foreach and
4229         implemented gtk_scrolled_window_forall, which will iterate over
4230         the viewport and the scrollbars for gtk_container_forall or
4231         iterate over the viewports children for gtk_container_foreach.
4232
4233         * gtk/gtktoolbar.c: 
4234         * gtk/gtktable.c: 
4235         * gtk/gtkpaned.c:
4236         * gtk/gtkpacker.c:
4237         * gtk/gtkmenushell.c: 
4238         * gtk/gtklist.c: 
4239         * gtk/gtkfixed.c:
4240         * gtk/gtkclist.c:
4241         * gtk/gtkbox.c: 
4242         * gtk/gtkbin.c: 
4243         * gtk/gtknotebook.c:
4244         removed the old gtk_*_foreach functions and provided gtk_*_forall.
4245
4246         * gtk/gtknotebook.c:
4247         (gtk_notebook_real_switch_page): expose tabs.
4248         (gtk_notebook_page_num): new function to return the page number
4249         of a distinct child.
4250         (gtk_notebook_focus): minor fixups. foxus handling is still screwed
4251         under some circumstances.
4252
4253         * gtk/gtktreeitem.c:
4254         (gtk_real_tree_item_select):
4255         (gtk_real_tree_item_deselect): major fixes.
4256         some general fixups wrt queue_redraw, and tree items not being
4257         NO_WINDOW widgets.
4258
4259         * gtk/gtklistitem.c:
4260         (gtk_real_list_item_select): 
4261         (gtk_real_list_item_deselect): 
4262         (gtk_real_list_item_toggle): 
4263         removed unneccessary queue_redraw calls.
4264
4265 Wed Aug 30 09:42:07 1998  Tim Janik  <timj@gtk.org>
4266
4267         * gtk/gtkoptionmenu.c: allow optionmenus to have the focus and
4268         automatically popup the menu on space bar.
4269
4270 Wed Aug 26 06:40:34 1998  Tim Janik  <timj@gtk.org>
4271
4272         * gtk/gtkcontainer.h:
4273         * gtk/gtkcontainer.c: implemented gtk_container_forall() (as a class
4274         method), which acts similar to gtk_container_foreach(), but iterates
4275         over internal children. the GtkContainer::foreach signal vanished in
4276         favour of a new class method ->forall() that optionally includes
4277         internal widgets.
4278
4279         * gtk/gtkclist.c (gtk_clist_init): provide no _foreach implementation
4280         but a _forall implementation, since all child widgets we have are
4281         internal ones.
4282         (column_button_create): set the parent window prior
4283         to gtk_widget_set_parent().
4284
4285         * gtk/gtkwidget.c:
4286         exchanged all calls to gtk_container_foreach() with
4287         gtk_container_forall().
4288
4289         * gtk/gtkwidget.h: 
4290         * gtk/gtkwidget.c: added the GTK_COMPOSITE_CHILD, exported through
4291         the GtkWidget::composite_child argument. to have a widget created
4292         with the flag initially, two new functions got added to wrap a widgets
4293         creation:
4294         gtk_widget_push_composite_flag() and gtk_widget_pop_composite_flag().
4295
4296 Wed Aug 25 23:37:39 1998  Tim Janik  <timj@gtk.org>
4297
4298         * gtk/gtktooltips.h:
4299         * gtk/gtktooltips.c: exported gtk_tooltips_create_window() as
4300         gtk_tooltips_force_window(), so tooltips->tip_window can be accessed
4301         prior to the first tip being set.
4302         don't put an extra reference on the window, since it is a toplevel,
4303         it wont get destroyed from anywhere else.
4304
4305         * overall macro and GtkType fixups.
4306
4307 1998-09-02  Federico Mena Quintero  <federico@nuclecu.unam.mx>
4308
4309         * gtk/gtkcolorsel.c: Replaced "foo == TRUE" and "foo == FALSE"
4310         constructs by more forgiving ones.  (Does anyone else feel like
4311         the color selector need rewriting?).
4312
4313 Tue Sep  1 10:53:52 1998  Owen Taylor  <otaylor@redhat.com>
4314
4315         * gtk/gtkprogress.c (gtk_progress_finalize): Unref
4316         the adjustment.
4317
4318         * gtk/gtkmenu.c: Modified reference counting so
4319         that the reference count from the toplevel that
4320         the menu creates to the menu is invisible to the
4321         application.
4322
4323 Mon Aug 31 21:36:31 1998  Raph Levien  <raph@gimp.org>
4324
4325         * gdk/gdkrgb.c (gdk_rgb_select_conv): Improved the 24bpp
4326         conversion selection logic, so Suns and other big-endian
4327         machines should get faster conv routines. This is also the
4328         point where 4bpp gray and 1bpp are checked in, although I
4329         wouldn't be surprised if 1bpp is a little buggy. This is
4330         synchronized with the 0.0.7 release of GdkRgb.
4331
4332         * gtk/Makefile.am: 
4333         * gtk/testrgb.c: Checked in testrgb.c to CVS, and made the
4334         appropriate change to the Makefile.am
4335
4336 Mon Aug 31 15:18:19 1998  Raph Levien  <raph@gimp.org>
4337
4338         * gdk/gdkrgb.[ch]: Added a gdk_draw_rgb_image_dithalign function,
4339         which is good for images that scroll (makes the dither patterns
4340         align correctly)
4341
4342 Sat Aug 29 14:50:56 PDT 1998 Manish Singh <yosh@gimp.org>
4343
4344         * gdk/gdkcolor.c:
4345         (gdk_colormap_new) (gdk_colormap_get_system):
4346         quell some warnings with g_hash_table_new
4347
4348         * gtk/gtkaccelgroup.c (gtk_accel_group_add): free the GtkSignalQuery
4349         when we're done with it
4350
4351         * gtk/itemfactory.c:
4352         (gtk_item_factory_from_path):
4353         (gtk_item_factory_create_item): free some strings
4354
4355         * gtk/gtklabel.c:
4356         (gtk_label_finalize): free label->pattern when done
4357         (gtk_label_parse_uline): null terminate pattern string, delete
4358         some duplicated code
4359
4360         * gtk/testthreads.c: add #include <unistd.h> for sleep()
4361
4362 Tue Aug 25 16:52:47 1998  Owen Taylor  <otaylor@redhat.com>
4363
4364         * gtk/gtktext.c (recompute_geometry): Make sure the
4365         mark we pass to line start is the beginning of a 
4366         real line, not a wrapped one.
4367
4368 Mon Aug 24 18:37:15 1998  Owen Taylor  <otaylor@redhat.com>
4369
4370         * gtk/gtktext.c: Reference count the fonts used in
4371         the text widget.
4372
4373         * gdk/gdk.h gdk/gdkcolor.c: Rename the color allocation
4374         freeing functions to be more consistent, and more 
4375         convenient; leave the old names in for backwards compatibility.
4376
4377         * gdk/gdkcolor.c gdk/gdkprivate.h: Reference count the
4378         allocations in pseudo-color colormaps to greatly reduce
4379         calls to XAllocColor. Keep a per-colormap hashtable to
4380         speed up finding if there is an already-allocated matching
4381         color.
4382
4383         * gdk/gdkcolor.c: Don't just match read the system colormap
4384         when the colormap is created, but synchronize our copy
4385         with the system colormap periodically.
4386         
4387         * gdk/gdk.c gdk/gdktypes.h gtk/gtkentry.c gtk/gtktext.c: 
4388         Change XIM constants names to match GDK conventions
4389
4390         * gtk/testinput.c: Allow the drawing area to get the focus.
4391
4392         * gtk/testgtk.c: Change around the Text test to demonstrates
4393         multiple fonts, use more colors.
4394
4395         * gtk/gtkwidget.c: Improve gtk_widget_get_colormap()/visual()
4396         so they work after a widget is unrealized.
4397
4398         * gtk/gtktext.[ch]: Remove the requirement that the text
4399         widget be realized before adding text (!) Allocate colors
4400         ourself, instead of requiring the caller allocate them.
4401         Allow changing styles to work properly by keeping track
4402         of the values for a certain property are default or
4403         set explicitely.
4404
4405         * gtk/gtkmenu.h: Added some comments.
4406
4407         * gtk/gtkentry.c: Changes to match XIM constants.
4408
4409         * gtk/gdk.h gdk/gdkwindow.c: Add gdk_drawable_set_data(),
4410         for adding keyed data to drawables. (Uses g_dataset
4411         internally)
4412
4413         * gdk/gdkpixmap.c: Keep track of the colors we allocate,
4414         when creating an XPM - store them as user data for the GdkPixmap,
4415         so we don't leak colors when we create pixmaps from XPM's.
4416
4417         Allocate memory for color information in large blocks instead of 
4418         as many little pieces.
4419         
4420 Mon Aug 24 11:09:32 PDT 1998 Manish Singh <yosh@gimp.org>
4421
4422         * gdk/gdkrgb.c: removed some unused variables
4423
4424         * gtk/gtkclist.c
4425         * gtk/gtkmain.c: #if 0'd out some unused code
4426
4427         * gtk/gtkobject.c: check for NULL object hash table in gtk_object_debug
4428
4429 Mon Aug 24 02:36:53 1998  Tim Janik  <timj@gtk.org>
4430
4431         * gtk/gtkarg.h:
4432         * gtk/gtkarg.c:
4433         * gtk/gtkwidget.h: 
4434         * gtk/gtkwidget.c: 
4435         * gtk/gtkobject.h:
4436         * gtk/gtkobject.c:
4437         * gtk/gtkcontainer.h: 
4438         * gtk/gtkcontainer.c: 
4439         (gtk_object_new):
4440         (gtk_object_set):
4441         (gtk_widget_new):
4442         (gtk_widget_set): 
4443         (gtk_container_add_with_args):
4444         (gtk_container_child_set):
4445         begin the parameter elipsis (...) after the first argument name. this
4446         change is source compatible, since it was always required, even as NULL.
4447         (gtk_args_collect): 
4448         (gtk_object_args_collect): 
4449         (gtk_container_child_args_collect):
4450         changed prototypes to pass first_arg_name, also, pass va_list variable
4451         by value (portability concerns). callers changed.
4452
4453         * gtk/gtkargcollector.c: implemented gtk_arg_collect_value() as
4454         a huge macro GTK_ARG_COLLECT_VALUE() <shrug>. this is needed because we
4455         can't pass va_list variables by reference for portability reasons.
4456
4457 Fri Aug 21 22:40:00  Raph Levien  <raph@gtk.org>
4458
4459         * gdk/gdkrgb.c: added calls to gdk_rgb_init in the get_cmap and
4460         get_visual calls, so that it gets implicitly initialized.
4461
4462 Fri Aug 21 13:06:04 1998  Stuart Parmenter  <pavlov@gimp.org>
4463         * gtk/gtkfeatures.h.in:  added GTK_HAVE_FEATURES_1_1_2 for changes
4464         such as GtkCTree function name changes
4465         
4466 Fri Aug 21 02:31:26 1998  Tim Janik  <timj@gtk.org>
4467
4468         * gtk/gtkmain.h:
4469         * gtk/gtkmain.c (gtk_check_version): added a function to perform a
4470         binary version check, returning a static string for error descriptions,
4471         or NULL on success.
4472
4473 Thu Aug 20 20:08:15 1998  Owen Taylor  <otaylor@redhat.com>
4474
4475         * gtk/gtktext.c ([un]draw_cursor): Check to see if we've
4476         computed our geometry yet, and if not, ignore the request.
4477
4478         * gtk/gtktext.c (correct_cache_insert): Fiddled around
4479         some more. All the bug-test codes seem to work at once
4480         now. (fingers crossed...)
4481
4482 Thu Aug 20 13:04:08 PDT 1998 Manish Singh <yosh@gimp.org>
4483
4484         * gdk/gdkrgb.c: silly visual fixes
4485
4486         * gtk/testgtk.c: call gdk_rgb_init so color preview test actually
4487         works
4488
4489 1998-08-20  Federico Mena Quintero  <federico@nuclecu.unam.mx>
4490
4491         * gtk/gtkhandlebox.c (gtk_handle_box_button_changed): Do not do
4492         anything if the event's window is not the bin window.
4493         (gtk_handle_box_motion): Likewise.
4494
4495 1998-08-19  Raph Levien  <raph@gimp.org>
4496
4497         * gtk/testgtk.c (create_color_preview): pushed the colormap and
4498         visual so it would work better with GdkRgb.
4499
4500 1998-08-19  Raph Levien  <raph@gimp.org>
4501
4502         * gdk/gdkrgb.c: fixed some bugs in the 565_d mode, and added a
4503         4bpp static_color mode (for vga displays). Also fixed a '64' value
4504         in the dither matrix, which was causing one pixel out of 16k to be
4505         dithered wrong.
4506
4507         * gtk/gtkpreview.{c,h}: Changed it to work with GdkRgb, gutting
4508         most of the contents. This is an API change - any apps that relied
4509         on the internal structure of GtkPreview will need some change -
4510         most notably in the use of reserved colors. The Gimp needed
4511         changes in this regard.
4512
4513 Wed Aug 19 00:11:14 1998  Tim Janik  <timj@gtk.org>
4514
4515         * gtk/gtkmain.c (gtk_init): allow argument parsing in gtk without
4516         G_ENABLE_DEBUG being defined (specifically --gtk-module= and
4517         --g-fatal-warnings), noticed by miguel.
4518
4519 Tue Aug 18 17:54:40 1998  Tim Janik  <timj@gtk.org>
4520
4521         * gtk/gtkrc.c (gtk_rc_parse_file): use g_get_current_dir() instead of
4522         getcwd().
4523
4524         * gdk/gdkprivate.h:
4525         * gdk/gdkglobals.c:
4526         * gdk/gdkwindow.c:
4527         * gdk/gdk.c:
4528         * gtk/gtkwindow.c: 
4529         * gtk/gtkitemfactory.c: 
4530         dropped gdk_progname, use g_get_prgname()/g_set_prgname() instead.
4531
4532         * gtk/gtkselection.c:
4533         * gtk/gtkpreview.c:
4534         * gtk/gtkobject.c: 
4535         * gtk/gtkmain.c: 
4536         * gtk/gtktypeutils.c: indentation fixes due to g_message() use.
4537
4538         * gdk/gdkrgb.c: exchanged occourances of g_print with g_message.
4539
4540 Tue Aug 18 17:22:22 1998  Lars Hamann  <lars@gtk.org>
4541
4542         * gtk/gtknotebook.c (gtk_notebook_switch_focus_tab): 
4543         * gtk/gtknotebook.c (gtk_notebook_update_labels): fix for sigsegv
4544         in case of show_tabs == NULL
4545
4546 Tue Aug 18 03:54:43 1998  Tim Janik  <timj@gtk.org>
4547
4548         * gtk/gtkmain.c (gtk_init): restricted the --g*fatal-* arguments
4549         to --g-fatal-warnings again. this option now causes log levels of
4550         WARNING and CRITICAL to abort().
4551
4552         * gdk/gdk.c: 
4553         * gdk/gdkdnd.c: 
4554         * gdk/gdkcc.c: 
4555         * gdk/gdkfont.c: 
4556         * gdk/gdkwindow.c:
4557         * gdk/gdkvisual.c:
4558         * gtk/gtkwidget.c:
4559         * gtk/gtktypeutils.c:
4560         * gtk/gtktree.c:
4561         * gtk/gtkfontsel.c:
4562         * gtk/gtkmain.c:
4563         * gtk/gtkobject.c:
4564         * gtk/gtkpreview.c:
4565         * gtk/gtkselection.c:
4566         * gtk/gtktext.c:
4567         * gtk/gtktree.c:
4568         * gtk/gtktreeitem.c:
4569         did a global search&replace to substitute g_print() calls with
4570         g_message(). libraries shouldn't use printf(), g_print() or
4571         g_printerr() at all.
4572         a bunch of the replacements should probably be wrapped into the
4573         G{D|T}K_NOTE() macros, so they are special cased for debugging
4574         purposes in a sane way, avoiding all the nasty #ifdef DEBUG_MY_TEDDY
4575         things.
4576
4577         * gdk/gdkdnd.c: added copyright notice.
4578
4579 Mon Aug 17 17:28:00  Raph Levien  <raph@gtk.org>
4580
4581         * gdk/gdkrgb.c: Further speedups of the 565_d case. It's
4582         impressively fast now - about 4.65 Mpix/s on an IBM TP 600
4583         running a PII 233. It's synced with the 0.0.5 release of
4584         GdkRgb.
4585
4586 Tue Aug 18 00:29:13 1998  Lars Hamann  <lars@gtk.org>
4587
4588         * gtk/gtkclist.h:
4589         (struct _GtkCListClass): new class methods:
4590         (sort_list) (insert_row) (remove_row) (set_cell_contents)
4591
4592         * gtk/gtkclist.c :
4593         (cell_empty) (cell_set_text) (cell_set_pixmap) (cell_set_pixtext):
4594         removed and replaced by (set_cell_contents)
4595         (set_cell_contents): function for class method set_cell_contents
4596         (real_insert_row): function for class method insert_row
4597         (real_remoce_row): function for class method remove_row
4598         (real_sort_list): function for class method sort_list
4599         (default_compare): fix to avoid problems with cell types != CELL_TEXT
4600
4601         * gtk/gtkctree.h :
4602         (gtk_ctree_export_to_gnode): new function to export a ctree as gnode 
4603         (gtk_ctree_node_is_visible): new function to return visibility state
4604         of a node
4605         (gtk_ctree_show_stub): new function to set visibility of root stub
4606
4607         renamed functions :
4608         (gtk_ctree_insert) -> (gtk_ctree_insert_node)
4609         (gtk_ctree_remove) -> (gtk_ctree_remove_node)
4610         (gtk_ctree_find_glist_ptr) -> (gtk_ctree_find_node_ptr)
4611         (gtk_ctree_set_text) -> (gtk_ctree_node_set_text)
4612         (gtk_ctree_set_pixmap) -> (gtk_ctree_node_set_pixmap)
4613         (gtk_ctree_set_pixtext) -> (gtk_ctree_node_set_pixtext)
4614         (gtk_ctree_set_shift) -> (gtk_ctree_node_set_shift)
4615         (gtk_ctree_get_cell_type) -> (gtk_ctree_node_get_cell_type)
4616         (gtk_ctree_get_text) -> (gtk_ctree_node_get_text)
4617         (gtk_ctree_get_pixmap) -> (gtk_ctree_node_get_pixmap)
4618         (gtk_ctree_get_pixtext) -> (gtk_ctree_node_get_pixtext)
4619         (gtk_ctree_set_foreground) -> (gtk_ctree_node_set_foreground)
4620         (gtk_ctree_set_background) -> (gtk_ctree_node_set_background)
4621         (gtk_ctree_set_row_data) -> (gtk_ctree_node_set_row_data)
4622         (gtk_ctree_set_row_data_full) -> (gtk_ctree_node_set_row_data_full)
4623         (gtk_ctree_get_row_data) -> (gtk_ctree_node_get_row_data)
4624         (gtk_ctree_moveto) -> (gtk_ctree_node_moveto)
4625         (gtk_ctree_sort) -> (gtk_ctree_sort_node)
4626         (gtk_ctree_is_visibe) -> (gtk_ctree_is_viewable)
4627
4628         * gtk/gtkctree.c :
4629         (cell_empty) (cell_set_text) (cell_set_pixmap) (cell_set_pixtext):
4630         removed and replaced by (set_cell_contents)
4631         (set_cell_contents): function for class method set_cell_contents
4632         (real_insert_row): function for class method insert_row
4633         (real_remoce_row): function for class method remove_row
4634         (real_sort_list): function for class method sort_list
4635         (default_compare): removed. CTree now also compares two GtkCTreeRows
4636         instead of two GtkCTreeNodes.
4637         (gtk_ctree_unlink): call gtk_ctree_collapse if parent is empty after
4638         unlinking the node
4639         (real_tree_expand) (real_tree_collapse): fix for refcounting of
4640         node pixmaps
4641         (set_node_info): call gtk_ctree_node_set_pixtext instead of
4642         manipulating the row itself
4643         
4644         * gtk/testgtk.c: use renamed functions of GtkCTree.
4645         new sample to show gtk_ctree_export_to_gnode and gtk_ctree_insert_gnode
4646         at work.
4647
4648 Mon Aug 17 15:31:38 1998  Tim Janik  <timj@gtk.org>
4649
4650         * gtk/gtkmain.c: removed gtk_input_add_interp.
4651
4652         * gtk/gtkeditable.c (gtk_editable_set_position): fixed bogus "return"
4653         keyword.
4654         (gtk_editable_get_event_time): fix default: case.
4655
4656         * gtk/gtkclist.c (gtk_clist_swap_rows): fixes for lvalue casts.
4657
4658         * gdk/gdkpixmap.c: made a bunch of unexported functions static.
4659
4660         * gdk/gdkcolor.c:
4661         * gdk/gdkvisual.c: include "gdkx.h", since it exports prototypes
4662         of our functions.
4663
4664         * various minor compilation cleanups, such as bogus commas in
4665         enums and similar things.
4666
4667 Mon Aug 17 07:47:43 1998  Tim Janik  <timj@gtk.org>
4668
4669         * gtk/gtkmain.c (gtk_init): NULL terminate the arg list to g_strconcat()
4670         (thanx raph).
4671
4672 Sun Aug 16 23:14:20 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
4673
4674         * NEWS: updated for 1.1.2
4675         * gtk+.spec: version = 1.1.2
4676
4677 Mon Aug 17 05:10:29 1998  Tim Janik  <timj@gtk.org>
4678
4679         * gtk/gtkmain.c (gtk_init): don't call module initializers multiple
4680         times. changed --gtk-with-module to --gtk-module at owen's request.
4681
4682 Mon Aug 17 03:47:55 1998  Tim Janik  <timj@gtk.org>
4683
4684         * gtk/gtkmain.c (gtk_init): feature a new commandline option
4685         --gtk-with-module=<module> that allows additional loading and
4686         initialization of modules (e.g. GLE).
4687
4688 Mon Aug 17 01:40:00 1998  Tim Janik  <timj@gtk.org>
4689
4690         * configure.in: version bump to 1.1.2, binary age 0, interface age 0.
4691         pass "gmodule" to AM_PATH_GLIB, with that we require libgmodule.so now.
4692
4693         * gtk/gtkmain.c (gtk_init): since glib's g_return*_if_fail macros log
4694         with G_LOG_LEVEL_CRITICAL now, i added "--g-fatal-checks",
4695         "--gdk-fatal-checks" and "--gtk-fatal-checks". that makes up six
4696         different *-fatal-* arguments now. this needs to be revised and
4697         compressed to a reasonable amount of arguments.
4698
4699 Sun Aug 16 20:51:59 1998  Tim Janik  <timj@gtk.org>
4700
4701         * gtk/gtkmain.c (gtk_init): fatal warning option is split up now,
4702         "--g-fatal-warnings" causes fatal warnings in GLib,
4703         "--gdk-fatal-warnings" causes fatal warnings in Gdk,
4704         "--gtk-fatal-warnings" causes fatal warnings in Gtk.
4705
4706         * gtk/Makefile.am: define G_LOG_DOMAIN for gtk.
4707         * gdk/Makefile.am: define G_LOG_DOMAIN for gdk.
4708
4709         * gtk/testgtk.c: 
4710         * gdk/gxid.c:
4711         we need ugly #undef G_LOG_DOMAIN at the start of these files currently,
4712         since automake doesn't support per target _CFLAGS yet.
4713
4714         * configure.in: require GLib 1.1.3.
4715
4716 Sat Aug 15 03:19:30 1998  John Ellis  <johne@bellatlantic.net>
4717
4718         * gtk/gtkctree.[ch] (gtk_ctree_set_drag_compare_func): New function
4719         to set a callback to test if a node in drag can be dropped onto
4720         it's currrent location.
4721         * gtk/gtkctree.c (set_mouse_cursor),(check_cursor): New functions
4722         to change the pointer when a drag destination is not allowed.
4723
4724 Thu Aug 13 21:06:00 1998  Raph Levien  <raph@gtk.org>
4725
4726         * gdk/gdkrgb.c: committing a patch by Ray Lehtiniemi that
4727         speeds up the 565_d case by about 25% total. Thanks Ray!
4728
4729 Thu Aug 13 16:47:44 1998  Owen Taylor  <otaylor@redhat.com>
4730
4731         * Changed GtkSignalFunc back to () from (void). (again!)
4732
4733         * Added file README.cvs-commits
4734         
4735 Thu Aug 13 09:11:11 BST 1998  Tony Gale  <gale@gtk.org>
4736
4737         * docs/gtk_tut.sgml:
4738           - Tidy up of the menufactory example from
4739             Andy Kahn <kahn@zk3.dec.com>
4740           - New section on Range Widgets from
4741             David Huggins-Daines <bn711@freenet.carleton.ca>
4742           - Started a new section on 'Advanced Event and Signal
4743             Handling' - used an email from Owen.
4744           - New appendix on Gdk Event Types
4745           - Added the tictactoe full example code to the
4746             'Code Examples' appendix
4747
4748 Tue Jul 21 12:42:01 1998  Owen Taylor  <otaylor@redhat.com>
4749
4750         * gdk/gdk.h gdk/gdkfont.c: Added gdk_text/string_extents() - 
4751           to calculate all the metrics at once of a string, including
4752           things which weren't calculated before.
4753
4754         * gtk/Makefile.am gtk/gtk.h gtk/gtktearoffmenu.[ch]: New
4755           MenuItem type, that when put as the first thing in a
4756           menu, makes the menu tearoff. Currently drawn as a
4757           dashed line.
4758
4759         * gtk/gtkmenuitem.h gtk/gtkcheckmenuitem.c: Added a flag
4760           "hide_on_activate" to the MenuItem class structure to allow
4761           check and radio buttons to be changed with <Space> without
4762           hiding the menu.
4763
4764         * gtk/gtkitemfactory.c: 
4765           - Create a AccelGroup for each MenuShell we create.
4766           - If an '_' appears before a  character 'c' in the path,
4767             then make 'c' an accelerator in the menu's accel group,
4768             and if the menuitem is menubar <alt>C an accelerator 
4769             in the itemfactory's accel group. Double '__' inserts
4770             a literal '_'
4771
4772         * gtk/gtklabel.[ch]: Add support for a pattern arg - 
4773           which is a string. If an '_' appears in this string,
4774           the corresponding position in the label is underlined.
4775
4776           Add gtk_label_parse_uline() convenience function which
4777           takes a string with embedded underlines, sets the
4778           pattern and label, and returns the accelerator keyval.
4779
4780         * gtk/gtkmenu.[ch]: Make menus no longer a toplevel widget.
4781           Instead, they create a GtkWindow and add themselves
4782           to that. (When torn off, another new feature, they
4783           create another GtkWindow to hold the torn off menu)
4784
4785           New function gtk_menu_set_tearoff_state()
4786         
4787         * gtk/gtkenums.h gtk/gtkmenushell.[ch] gtk/gtkenums.h: 
4788           Added action signals  for keyboard navigation of menus.
4789
4790         * gtk/gtkmenushell.c: Key press handler which activates
4791           bindings for navigation, and accelerators, for handling
4792           underline accelerators. Exported functions to select 
4793           and activate menu items in a menushell.
4794
4795         * gtk/testgtk.c: Added a new "Item Factory" test which
4796           tests GtkItemFactory and the new keyboard navigation
4797           of menus.
4798
4799 Tue Aug 11 20:52:58 1998  Tim Janik  <timj@gtk.org>
4800
4801         * gtk/gtktypeutils.c (gtk_type_class_init): relookup nodes after
4802         external functions have been called. also relookup nodes after
4803         this function has been invoked.
4804
4805 Tue Aug 11 15:04:52 1998  Owen Taylor  <otaylor@redhat.com>
4806
4807         * gtk/gtktext.[ch]: Removed has_cursor, set the cursor
4808           beginning of Text when creating the Text widget.
4809
4810         * gtk/testgtk.c: Grab the focus on the text widget so
4811           as to test out the above.
4812
4813 Tue Aug 11 14:55:00 1998  Owen Taylor  <otaylor@redhat.com>
4814
4815         * gtk/gtkeditable.c: Reverted part of timj's change of Jul 16. 
4816           ::changed is a notification signal and should have no default
4817           handler. A complete redraw of the Text widget does _not_ need to
4818           be done on every text insertion.
4819
4820 Tue Aug 11 13:07:29 1998  Owen Taylor  <otaylor@redhat.com>
4821         (gtk-abilleira-072198-patch)
4822
4823         * gtk/gtkwindow.[ch]: 
4824           Add gtk_window_set_modal() which sets a flag; when
4825           set the window does a gtk_grab_add() when the window
4826           is shown, and a gtk_grab_remove() when the window
4827           is hidden. 
4828
4829         * gtk/gtkfilesel.[ch]: Test if it is running in modal form and in
4830           that case will run "Create Dir","Delete File" and "Rename File" 
4831           dialogs as modal too.
4832
4833         * gtk/testgtk.c: Added a button with an example of creating modal 
4834           dialog boxes. Including file selection and color selection standard
4835           dialogs.
4836         
4837 Tue Aug 11 00:44:47 1998  Owen Taylor  <otaylor@redhat.com>
4838
4839         * gtk/gtkhscrollbar.c gtk/gtkvscrollbar.c gtk/gtktoolbar.c:
4840           Removed CAN_FOCUS by default from scrollbars, button
4841           children of toolbar. (But not GTK_TOOLBAR_CHILD_WIDGET children)
4842           (Scrollbar definitely good change, toolbar bit more questionable)
4843
4844 Tue Aug 11 17:49:33 1998  Tim Janik  <timj@gtk.org>
4845
4846         * examples/packbox/packbox.c: #include fixes (reported by Asbjoern
4847         Pettersen).
4848
4849 Tue Aug 11 00:35:56 1998  Owen Taylor  <otaylor@redhat.com>
4850
4851         * gdk/gdkgc.c gdk/gdktypes.h: Applied gtk-pedersen-980727-0; 
4852           added all logical operations to gc->function.
4853
4854 Sun Aug  9 23:31:59 1998  Lars Hamann  <lars@gtk.org>
4855
4856         * gtk/gtkclist.c (adjust_scrollbars): Fix for resize bug. Call
4857         gtk_widget_size_allocate instead of gtk_widget_queue_resize
4858         if the visibility state of a scrollbar changes.
4859
4860 Mon Aug 10 12:49:54 1998  Tim Janik  <timj@gtk.org>
4861
4862         * gtk/gtkhbbox.h: fixed an #include statement (reported by Eric Kidd).
4863
4864 Thu Aug  6 22:37:21 1998  Stefan Jeske  <stefan@gtk.org>
4865
4866         * gtk/gtkclist.c: Renamed my_merge and my_mergesort to
4867         gtk_clist_merge and gtk_clist_mergesort. :)
4868
4869 1998-08-06  Martin Baulig  <martin@home-of-linux.org>
4870
4871         * gtk/gtkclist.c: Renamed `merge' -> `my_merge' and
4872         `mergesort' -> `my_mergesort'.
4873
4874 Wed Aug  5 21:12:37 1998  Stefan Jeske  <stefan@gtk.org>
4875
4876         * gtk/gtkenums.h: new enum GtkSortType.
4877         
4878         * gtk/gtkclist.h:
4879         * gtk/gtkclist.c:
4880         Added sorting capabilities to GtkCList. New APIs :
4881         gtk_clist_set_compare_func, gtk_clist_set_sort_column,
4882         gtk_clist_set_sort_type, gtk_clist_sort, gtk_clist_set_auto_sort. 
4883         New internal functions : default_compare, merge, mergesort.
4884
4885         (gtk_clist_append): This is just a wrapper for gtk_clist_insert now.
4886         
4887         (gtk_clist_insert): Modified to handle gtk_clist_append and the
4888         auto sort flag. Changed the return value from void to gint to
4889         return the row number where the element was actually inserted.
4890
4891         (gtk_clist_swap_rows): Return immediately if auto sort flag is set.
4892         
4893         * gtk/gtkctree.h:
4894         * gtk/gtkctree.c:
4895         Removed the auto_sort flag, replaced ctree->node_compare with
4896         clist->compare all over the place, modified default_compare to
4897         match clist's needs. Removed API´s : gtk_ctree_set_auto_sort,
4898         gtk_ctree_set_compare_func. Removed GtkCTreeCompareFunc typedef.
4899
4900         * gtk/testgtk.c: Modified clist/ctree samples to demonstrate
4901         sorting. The lists can be sorted by a column by clicking the 
4902         corresponding title button.
4903         
4904 Tue Aug  4 22:02:49 PDT 1998 Shawn T. Amundson <amundson@gtk.org>
4905
4906         * Released GTK+ 1.1.1
4907
4908 Wed Aug  5 02:57:20 1998  Lars Hamann  <lars@gtk.org>
4909
4910         * gtk/gtkctree.h:
4911         * gtk/gtkctree.c:
4912         (gtk_ctree_find): changed to return a gboolean
4913         (gtk_ctree_insert_gnode): new function for recursive insertion of a
4914         GNode tree.
4915         (gtk_ctree_real_select_recursive): fix for extended selection
4916         (gtk_ctree_sort_recursive): in case node == NULL, sort root nodes too.
4917         (gtk_ctree_set_node_info) (set_node_info): few fixes for expanded flag
4918
4919 Tue Aug  4 16:18:26 1998  Tim Janik  <timj@gtk.org>
4920
4921         * configure.in: version bump to 1.1.1, binary age 0, interface age 0.
4922         GLib version 1.1.1 is now required at minimum.
4923
4924         * docs/Makefile.am: added gtk_tut_fr.sgml to EXTRA_DIST (french version
4925         of the Gtk+ tutorial, contributed by Eric Jacoboni <jaco@dotcom.fr>.
4926
4927 Mon Aug  3 19:24:48 1998  Owen Taylor  <otaylor@redhat.com>
4928  
4929         * gtk/gtktext.c (gtk_text_forward_delete): Undraw the
4930           cursor before (possibly) deleting the cursor's text
4931           property.
4932  
4933         * gtk/gtktext.c (correct_cache_delete): More attempts
4934           to clean the line-start cache up after inserting
4935           a property. Among other things, make sure to
4936           fix up text->current_line, since it is used to 
4937           refetch the changed lines.
4938  
4939 Tue Aug  4 10:59:19 1998  Owen Taylor  <otaylor@redhat.com>
4940
4941         * gtk/gtktable.[ch]: Empty rows/columns of the table
4942         should not have been marked as being able to shrink.
4943         (Fixes problem with shrinking scrollbarless GIMP canvases)
4944
4945 1998-08-03  Federico Mena Quintero  <federico@nuclecu.unam.mx>
4946
4947         * gtk/gtkctree.c (gtk_ctree_find_by_row_data_custom): New public
4948         function to find a row by its data pointer using a custom
4949         comparison function.
4950
4951 Sun Aug 02 22:58:00 1998  George Lebl  <jirka@5z.com>
4952
4953         * gtk/gtkclist.c: draw the buttons during a "draw" as well,
4954           this fixes a bug when the whole widget is made non-sesitive
4955           the buttons weren't redrawn
4956
4957 Mon Aug  3 00:04:09 1998  Lars Hamann  <lars@gtk.org>
4958
4959         * gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort
4960         * gtk/gtkclist.c (gtk_clist_key_press): removed a few unneeded lines
4961         * gtk/gtkcombo.c (gtk_combo_list_key_press): fixed compiler warning
4962
4963 Sun Aug  2 03:08:07 1998  Owen Taylor  <otaylor@gtk.org>
4964
4965         * gdk/gdkwindow.c (gdk_window_reparent): Change 
4966           window_private->parent pointer when reparenting.
4967
4968 Sat Aug  1 22:17:00 1998  Raph Levien  <raph@acm.org>
4969
4970         * gdk/gdkrgb.c: made some minor config changes to unify GdkRgb
4971         with the standalone release.
4972
4973 Fri Jul 31 20:45:07 1998  Lars Hamann  <lars@gtk.org>
4974
4975         * gtk/gtkclist.c (gtk_clist_button_press) (gtk_clist_motion)
4976         (gtk_clist_button_release) (new_column_width): Few fixes for
4977         column resize. Store resize column in clist->drag_pos.
4978
4979 Thu Jul 31 15:18:36 1998  Lars Hamann  <lars@gtk.org>
4980
4981         * gtk/gtkctree.h 
4982         * gtk/gtkctree.c 
4983         * gtk/testgtk.c : New typedef GtkCTreeNode, changed all GList *node
4984         to GtkCTreeNode *node.
4985
4986         * gtk/gtklist.h : added extended selection mode and auto scrolling.
4987         (struct _GtkList): removed unneeded variables timer, button,
4988         selection_start_pos, selection_end_pos, scroll_direction, have_grab.
4989         Added new variables undo_selection, undo_unselection, last_focus_child,
4990         undo_focus_child, htimer, vtimer, anchor, drag_pos, anchor_state,
4991         drag_selection, add_mode.
4992  
4993         New functions :
4994         (gtk_list_extend_selection), (gtk_list_start_selection),
4995         (gtk_list_end_selection), (gtk_list_select_all),
4996         (gtk_list_unselect_all), (gtk_list_scroll_horizontal),
4997         (gtk_list_scroll_vertical), (gtk_list_toggle_add_mode),
4998         (gtk_list_toggle_focus_row), (gtk_list_toggle_row),
4999         (gtk_list_undo_selection), (gtk_list_end_drag_selection)
5000         
5001         * gtk/gtklist.c : 
5002         (gtk_list_enter_notify): removed, because auto scrolling now works
5003         with gtk_list_motion_notify
5004  
5005         New functions, needed for auto scrolling :
5006         (gtk_list_motion_notify) (gtk_list_move_focus_child)
5007  
5008         New functions for extended selection support :
5009         (gtk_list_set_anchor), (gtk_list_fake_unselect_all),
5010         (gtk_list_fake_toggle_row), (gtk_list_update_extended_selection),
5011         (gtk_list_focus_lost)
5012         
5013         (gtk_list_set_focus_child): modified gtk_container_set_focus_child
5014         function to support auto scrolling, and avoid out-of-sync errors in
5015         case auf GTK_SELECTION_BROWSE
5016         (gtk_list_focus): modified gtk_container_focus function to avoid out
5017         off sync errors in case auf GTK_SELECTION_EXTENDED
5018
5019         * gtk/gtklistitem.h 
5020         * gtk/gtklistitem.c :
5021         New signal functions for key binding support :
5022         (toggle_focus_row), (select_all), (list_item), (unselect_all)
5023         (list_item), (undo_selection), (start_selection), (end_selection)
5024         (extend_selection), (scroll_horizontal), (scroll_vertical),
5025         (toggle_add_mode)
5026         (gtk_list_item_realize): added  GDK_KEY_PRESS_MASK |
5027         GDK_KEY_RELEASE_MASK
5028         (gtk_list_item_draw_focus): modify gc if parent has add_mode set.
5029  
5030         * gtk/gtkcombo.c :
5031         (gtk_combo_popup_button_press):  grab pointer for combo->list
5032         (gtk_combo_button_release): ungrab only if combo->popwin HAS_GRAB
5033         (gtk_combo_list_key_press): take care of which child HAS_GRAB
5034         (gtk_comb_init): don't connect combo->button with button_release_event
5035
5036 Thu Jul 30 12:39:36 1998  Lars Hamann  <lars@gtk.org>
5037
5038         * gtk/gtkclist.c (gtk_clist_motion): removed a few unneeded lines
5039
5040 Wed Jul 29 23:31:50 1998  Lars Hamann  <lars@gtk.org>
5041
5042         * gtk/gtkclist.c (gtk_clist_motion): column resize now works with
5043         horizontal autoscrolling, GtkCTree's 'reorder ability' now works
5044         with horizontal and vertical autoscrolling.
5045
5046 Tue Jul 28 20:32:03 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
5047
5048         * gtk/docs/man: new directory
5049         * gtk/docs/man/gtk_button.pod: new file, initial gtk_button man page
5050
5051 Tue Jul 28 00:03:20 1998  Lars Hamann  <lars@gtk.org>
5052
5053         * gtk/gtknotebook.c (gtk_notebook_paint): small fix for border drawing
5054         bug
5055
5056 Mon Jul 27 09:18:13 BST 1998  Tony Gale  <gale@gtk.org>
5057
5058         * docs/gtk_tut.sgml: GtkTree section from
5059           David Huggins-Daines <bn711@freenet.carleton.ca>,
5060           add a GtkText widget example
5061         * examples/text/* example/tree/* : new examples for the
5062           GtkTree and GtkText widgets
5063         * docs/gtk_tut.sgml: added an appendix to hold complete code
5064           examples that aren't in a full form elsewhere in the
5065           tutorial (e.g. scribble)
5066
5067 Mon Jul 27 00:46:21 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
5068
5069         * Released GTK+ 1.1.0
5070
5071 Mon Jul 27 04:18:26 1998  Tim Janik  <timj@gtk.org>
5072
5073         * gtkfeatures.h.in: revamped the definitions for 1-1-0, so that all
5074         the new API stuff is reflected in one #define GTK_HAVE_FEATURES_1_1_0.
5075
5076 Mon Jul 27 03:11:20 1998  Tim Janik  <timj@gtk.org>
5077
5078         * gtk/gtkbindings.c (binding_compose_params): fixup, so that enum
5079         values are looked up.
5080
5081         * gtk/gtktypeutils.h:
5082         * gtk/gtktypeutils.c: new functions gtk_type_flags_find_value and
5083         gtk_type_enums_find_value to lookup enum values.
5084
5085         * gtk/gtkctree.h: 
5086         * gtk/gtkctree.c: change enum name from GtkCTreeExpansion to
5087         GtkCTreeExpansionType. fixed signal creations to pass the enum
5088         types not just the base type GTK_TYPE_ENUM.
5089
5090         * gtk/gtkclist.h: 
5091         * gtk/gtkclist.c: fixed signal creations to pass the real enum
5092         types not just the base type GTK_TYPE_ENUM.
5093
5094 Sun Jul 26 14:50:07 1998  Stefan Jeske  <stefan@gtk.org>
5095
5096         * gtk/testgtk.c : 
5097         Began cleanup, e.g. use gtk_widget_show_all instead of many 
5098         gtk_widget_show's. Completely rewrote the button box sample
5099         (only one window now). Removed "miscellaneous" button.
5100
5101 Sun Jul 26 14:48:14 1998  Stefan Jeske  <stefan@gtk.org>
5102
5103         * gtk/gtkvbbox.c (gtk_vbutton_box_size_allocate): 
5104         Fixed wrong allocation for GTK_BUTTONBOX_END.
5105         (allocation->x  =>  allocation->y)
5106
5107 Sun Jul 26 14:06:37 1998  Lars Hamann  <lars@gtk.org>
5108
5109         * gtk/gtkclist.c (gtk_clist_button_press) (gtk_clist_button_release)
5110         (abort_column_resize) (gtk_clist_key_press): fix for pointer grab
5111         
5112         * gtk/gtkctree.c (real_tree_select): added check to avoid double
5113         selected rows
5114         (gtk_ctree_button_press)
5115         (gtk_ctree_button_release): fix for pointer grab
5116
5117 Sat Jul 25 13:16:00 1998 Damon Chaplin  <DAChaplin@msn.com>
5118
5119         * gtk/gtkfontsel.c (gtk_font_selection_get_fonts): 
5120         Fixed initialization problem - dirty memory could cause problems.
5121         Also checked that bitmapped fonts can be scaled when showing the
5122         available sizes.
5123
5124 Sat Jul 25 02:25:03 1998  Lars Hamann  <lars@gtk.org>
5125
5126         * gtk/gtkctree.c (gtk_ctree_sort_recursive)
5127         (gtk_ctree_sort_recursive): test for node != NULL
5128         (gtk_ctree_is_visible) (gtk_ctree_realize) (gtk_ctree_unrealize)
5129         (gtk_ctree_last) : added sanity checks
5130         * gtk/gtkclist.c (gtk_clist_button_press): removed "no_focus_row"
5131
5132 Fri Jul 24 18:15:49 1998  Lars Hamann  <lars@gtk.org>
5133
5134         * gtk/gtkclist.c (toggle_focus_row): mini code cleanup
5135
5136 Fri, 24 Jul 1998 10:56:22 +0200 Paolo Molaro <lupus@debian.org>
5137
5138         * gtk/gtkfeatures.h.in: added GTK_HAVE_ENUM_VALUE_STRUCT.
5139
5140 Thu Jul 23 00:11:39 1998  Tim Janik  <timj@gtk.org>
5141
5142         * gtk/testgtkrc: introduce testbindings on C-1 for buttons,
5143         to check out binding priorities. someone should really write
5144         gtkrc-mode for emacs.
5145
5146         * gtk/gtkwidget.c (gtk_widget_class_init): remove ugly bindings test.
5147         * gtk/testgtk.c (main): and move it here ;). this test says something
5148         on release of C-9. (this works only if the mouse pointer is on a
5149         spinbutton and there is no focus widget).
5150
5151         * gtk/gtkrc.h:
5152         * gtk/gtkrc.c:
5153         export gtk_rc_parse_color, gtk_rc_parse_state and a new function
5154         gtk_rc_parse_priority to parse path priority types.
5155         export rc tokens.
5156         feature binding parsing.
5157
5158 Wed Jul 22 23:41:17 1998  Tim Janik  <timj@gtk.org>
5159
5160         * gtk/gtkbindings.h: 
5161         * gtk/gtkbindings.c: new function gtk_binding_parse_binding() to
5162         feature binding parsing in rc files.
5163         * gtk/gtkbindings.c (gtk_binding_set_new): bug fix.
5164         * gtk/gtkbindings.c (gtk_binding_pattern_compare): bug fix, we used to
5165         order the bindings with lowest priority first.
5166
5167 Wed Jul 22 15:21:08 PDT 1998 Manish Singh <yosh@gimp.org>
5168
5169         * gdk/gdkrgb.c: actually builds and runs properly on big
5170         endian machines now, because we #include config.h. Also
5171         fixed up a compile error in the WORDS_BIGENDIAN case in
5172         gdk_rgb_convert_565_gray. I made the fix by looking at
5173         patterns in the other code; Raph can you verify this?
5174
5175         * gdk/gdkthreads.c: #include <unistd.h> to quell compiler
5176         warnings
5177
5178 Wed Jul 22 23:00:44 1998  Lars Hamann  <lars@gtk.org>
5179
5180         * gtk/gtkctree.c (tree_select/unselect) (tree_expand/collapse) 
5181         (tree_toggle_expansion) (real_select/unselect_row)
5182         (gtk_ctree_select/unselect) : few fixes for gtk_signal_emits
5183
5184 Wed Jul 15 17:44:47 1998  Owen Taylor  <otaylor@redhat.com>
5185
5186         * gtk/gtktext.c (new_text_property): We free things from
5187         the text property MemChunk, so it needs to be G_ALLOC_AND_FREE.
5188
5189         * Fix up line start cache when splitting a property
5190         during an insert.
5191
5192 Wed Jul 15 21:15:52 1998  Owen Taylor  <otaylor@redhat.com>
5193
5194         * gtk/gtkwidget.c: restauration => restoration
5195
5196 Thu Jul 16 20:11:36 1998  Owen Taylor  <otaylor@redhat.com>
5197
5198         * gdk/gdkxid.c (gdk_xid_table_lookup): If xid_ht
5199         hasn't been created yet, don't do the lookup.
5200
5201 1998-07-20  Raph Levien  <raph@acm.org>
5202
5203         * gdk/gdkrgb.c: More cleanups in the config process.
5204
5205 1998-07-20  Raph Levien  <raph@acm.org>
5206
5207         * gdkrgb.c: Fixed minor config bug preventing big-endian
5208         architectures from working.
5209
5210 Tue Jul 21 06:32:43 1998  Stefan Jeske  <stefan@gtk.org>
5211
5212         * gtk/gtkprogressbar.{c,h} gtk/testgtk.c: Fixed wrong size of
5213         activity indicator. It is settable now as a fraction of the
5214         total width/height using gtk_progress_bar_set_activity_blocks.
5215         Renamed gtk_progress_bar_set_number_of_blocks to
5216         gtk_progress_bar_set_discrete_blocks.
5217
5218 Mon Jul 20 21:28:18 1998  Lars Hamann  <lars@gtk.org>
5219
5220         * gtk/gtkctree.c (gtk_ctree_post_recursive_to_depth)
5221         (gtk_ctree_pre_recursive_to_depth): new functions, recursive process
5222         tree to specified depth
5223         (gtk_ctree_expand_to_depth): expand tree to specified depth
5224         (gtk_ctree_collapse_to_depth): collapse all nodes with level >= depth
5225
5226 Sun Jul 19 23:51:05 1998  Lars Hamann  <lars@gtk.org>
5227
5228         * gtk/gtkclist.c (scroll_vertical): fix for vertical scrolling in case
5229         of GTK_CLIST_ADD_MOD
5230         * gtk/testgtk.c (add1000_clist): changed pixmap
5231
5232 Sat Jul 18 22:59:04 1998  Tim Janik  <timj@gtk.org>
5233
5234         * gtk/gtkmain.h: 
5235         * gtk/gtkmain.c: export gtk_binary_age and gtk_interface_age.
5236
5237         * gtk/gtktypeutils.h:
5238         * gtk/gtkitemfactory.h: remove "void" from prototypes again.
5239
5240 Sat Jul 18 00:54:01 1998  Lars Hamann  <lars@gtk.org>
5241
5242         * gtk/gtknotebook.c (gtk_notebook_set_child_arg): added support for
5243         CHILD_ARG_MENU_LABEL, CHILD_ARG_TAB_LABEL
5244         (gtk_notebook_get_child_arg): added support for CHILD_ARG_MENU_LABEL,
5245         CHILD_ARG_POSITION
5246         (gtk_notebook_reorder_child): new funktion to change position of a
5247         notebook page
5248         (gtk_notebook_draw_arrow): draw left/right arrow with
5249         GTK_SHADOW_ETCHED_IN if focus_tab is first/last tab.
5250
5251         * gtk/gtkstyle.c (gtk_default_draw_arrow):
5252         added GTK_SHADOW_ETCHED_IN/OUT
5253
5254 Sun Jul 19 12:19:16 1998  Stefan Jeske  <stefan@gtk.org>
5255
5256         * gtk/gtkprogress.c gtk/gtkprogress.h gtk/gtkprogressbar.c
5257           gtk/gtkprogressbar.h gtk/Makefile.am gtk/gtk.h gtk/testgtk.c:
5258         Introduced generic GtkProgress widget. Derived GtkProgressBar from
5259         GtkProgress. Made GtkProgressBar much more flexible (see testgtk).
5260
5261 Fri Jul 17 23:49:28 PDT 1998 Manish Singh <yosh@gimp.org>
5262
5263         * gtk/gtktypeutils.h
5264         * gtk/gtkitemfactory.h: explicitly specify void in prototype
5265
5266 Fri Jul 17 17:54:02 1998  Lars Hamann  <lars@gtk.org>
5267
5268         * gtk/gtkclist.c (scroll_vertical): fix to avoid flicker at begin/end
5269         of list
5270
5271 Fri Jul 17 05:30:47 1998  Tim Janik  <timj@gtk.org>
5272
5273         * gtk/gtksignal.c (gtk_handlers_run) (gtk_signal_real_emit):
5274         sropped the approach of copying all signal specific data into a
5275         GtkHandlerInfo structure. we rather keep the signal data on the stack
5276         in gtk_signal_real_emit and pass that over to gtk_handlers_run. this
5277         avoids multiple lookups of the signal pointer and works savely together
5278         with destroy notifiers of handlers.
5279
5280         * gtk/gtkentry.c (gtk_entry_key_press): care for the posssibility that
5281         someone destroys the entry on the ::activate signal.
5282
5283 Fri Jul 17 01:21:32 1998  Tim Janik  <timj@gtk.org>
5284
5285         * gtk/gtkarrow.c (gtk_arrow_expose): use misc->xpad for x calculation
5286         instead of ypad (typo).
5287         (gtk_arrow_set): clear all of the arrow's allocation (left a 1 pixel
5288         border around the allocation).
5289         (gtk_arrow_init): the static requisition needs to be setup in this
5290         function rather than gtk_widget_new(), so arrow creation works without
5291         the gtk_arrow_new() constructing.
5292         (gtk_arrow_expose): return TRUE, since we actually handled the expose.
5293
5294         * gtk/gtkwidget.c (gtk_widget_real_size_request): provide a default
5295         implementation for GtkWidget::size_request, so size requisition for
5296         simple statically sized widgets like GtkArrow works.
5297
5298 Thu Jul 16 14:16:16 PDT 1998 Manish Singh <yosh@gimp.org>
5299
5300         * gtk-config.in: minor changes to gtk-config: --cflags doesn't
5301         prepend -I@libdir@/glib/include anymore, since glib-config handles
5302         it; --libs strips out redundant -L<path>'s properly (there was
5303         code in there to do it before, but it didn't work)
5304
5305 Thu Jul 16 18:24:41 1998  Tim Janik  <timj@gtk.org>
5306
5307         * gtk/gtknotebook.h: 
5308         * gtk/gtknotebook.c: signdness corrections all ove the place.
5309         implementation of object arguments: GtkNotebook::enable_popup,
5310         GtkNotebook::tab_pos, GtkNotebook::tab_border, GtkNotebook::show_tabs,
5311         GtkNotebook::show_border, GtkNotebook::scrollable and GtkNotebook::page.
5312         begun implementation of child args, we have GtkNotebook::tab_label, but
5313         GtkNotebook::menu_label and GtkNotebook::position still lack the
5314         implementation.
5315         (gtk_notebook_remove_page):
5316         (gtk_notebook_current_page): allow negative indices (-1) as alias for
5317         the last page.
5318
5319         * gtk/gtkentry.h:
5320         * gtk/gtkentry.c: GtkType and macro fixups. implementation of object
5321         arguments GtkEntry::max_length and GtkEntry::visibility.
5322         (gtk_entry_adjust_scroll): queue a redraw.
5323
5324         * gtk/gtkeditable.h:
5325         * gtk/gtkeditable.c: GtkType und macro fixups. implementation of
5326         object arguments GtkEditable::text_position and GtkEditable::editable.
5327         new (action) signal GtkEditable::set_editable.
5328         provide a default handler for GtkEditable::changed that queues a redraw.
5329
5330         * gtk/gtktext.h: 
5331         * gtk/gtktext.c: GtkType und macro fixups. override GtkEditable::
5332         set_editable.
5333
5334 Thu Jul 16 14:42:11 1998  Lars Hamann  <lars@gtk.org>
5335
5336         * gtk/gtkctree.c (gtk_ctree_button_release): fix for sigsegv in
5337         case of drag_target == NULL
5338         * gtk/gtkclist.c (gtk_clist_button_press): fix for GTK_2/3BUTTON_PRESS.
5339         Clist did not emit an select_row signal in case of GTK_2/3BUTTON_PRESS.
5340         * gtk/gtkfilesel.c (gtk_file_selection_file_button,
5341         gtk_dir_selection_file_button): fix due to changes in clist's
5342         select_row signal.
5343
5344 Thu Jul 16 01:27:15 1998  Tim Janik  <timj@gtk.org>
5345
5346         * gtk/gtkwidget.h:
5347         * gtk/gtkwidget.c (gtk_widget_set_usize): handle negative values
5348         similar to gtk_widget_set_uposition(). that is: -1=unspecified,
5349         -2=leave untouched. changed the width/height field of GtkWidgetAuxInfo
5350         to be gint16s rather than guint16s, since that's what the code expected
5351         (for a long time actually).
5352
5353         * gtk/gtkviewport.c:
5354         added support for object arguments: GtkViewport::shadow_type,
5355         GtkViewport::vadjustment and GtkViewport::hadjustment.
5356         (gtk_viewport_add): chain gtk_bin_add.
5357
5358         * gtk/gtkscrolledwindow.c: 
5359         added support for object argument: GtkScrolledWindow::hscrollbar_policy,
5360         GtkScrolledWindow::vscrollbar_policy and GtkScrolledWindow::viewport.
5361
5362         * gtk/gtkadjustment.h: 
5363         * gtk/gtkadjustment.c: 
5364         * gtk/gtkctree.h: 
5365         * gtk/gtkclist.h: 
5366         * gtk/gtkctree.c: 
5367         * gtk/gtkclist.c:
5368         * gtk/gtkscrolledwindow.h:
5369         * gtk/gtkscrolledwindow.c:
5370         * gtk/gtkviewport.h:
5371         * gtk/gtkviewport.c:
5372         GtkType and macro fixups.
5373
5374 Thu Jul 16 01:10:02 1998  Lars Hamann  <lars@gtk.org>
5375
5376         * gtk/gtkctree.h :
5377         * gtk/gtkctree.c :
5378         Added focus handling, horizontal and vertical autoscrolling,
5379         extended Selection Mode, key bindings
5380         Added gtk_ctree_toggle_expansion & gtk_ctree_toggle_expansion_recursive
5381         Changed gtk_ctree_scroll_to to gtk_ctree_moveto.
5382         Removed gtk_ctree_clear.
5383         
5384         * gtk/gtkclist.h :
5385         * gtk/gtkclist.c : 
5386         Added focus handling, horizontal and vertical autoscrolling,
5387         extended Selection Mode, key bindings
5388
5389 Wed Jul 15 12:39:27 1998  Raph Levien  <raph@acm.org>
5390
5391         * This checkin integrates GdkRgb version 0.0.3 into the Gtk 1.1
5392         source tree. For more information on GdkRgb, please see:
5393         http://www.levien.com/gdkrgb/
5394
5395         * gtk/gtkfeatures.h.in (GTK_HAVE_GDK_RGB): added this feature. It
5396         bothers me slightly that the feature is in gdk, and this file is
5397         in gtk, but it's probably ok.
5398
5399         * gdk/gdk.h: Added an #include of <gdk/gdkrgb.h>
5400
5401         * gdk/gdkrgb.c:
5402         * gdk/gdkrgb.h: Added this module.
5403
5404         * Makefile.am (EXTRA_DIST): Added gdkrgb.c and gdkrgb.h files.
5405
5406         * configure.in: added AC_C_BIGENDIAN test (needed by GdkRgb).
5407
5408 Wed Jul 15 14:20:10 1998  Tim Janik  <timj@gtk.org>
5409
5410         * gtk/gtksignal.c (gtk_signal_real_emit): pass only the signal_id
5411         to this function. it needs to relookup the signal multiple times.
5412         this fixes spurious segfaults that could show up with signal intensive
5413         code, when classes are created during a pending emission (which is
5414         normal case).
5415
5416 Tue Jul 14 19:12:12 1998  Tim Janik  <timj@gtk.org>
5417
5418         * gtk/gtkbutton.c (gtk_button_set_arg): don't destroy a buttons
5419         child if it isn't a label.
5420
5421 Tue Jul 14 11:41:38 1998  Tim Janik  <timj@gtk.org>
5422
5423         * gtk/gtkdialog.h: 
5424         * gtk/gtkseparator.h: 
5425         * gtk/gtkhseparator.h: 
5426         * gtk/gtkvseparator.h: macro and GtkType fixups.
5427
5428 Tue Jul 14 06:25:46 1998  Tim Janik  <timj@gtk.org>
5429
5430         * gtk/testgtk.c (create_cursors): display the current cursor name.
5431
5432         * gtk/gtktypeutils.h: 
5433         * gtk/gtktypeutils.c (gtk_type_init_builtin_types): cleanups to
5434         the fundamental type definition. the GtkArg union now only covers
5435         the required storage types for argument values. adapted the GTK_VALUE_*
5436         macro set. handle GTK_TYPE_UCHAR. definiton of type set bounds macros.
5437
5438         * gtk/gtkargcollector.c (gtk_arg_collect_value): clean ups of the
5439         code, fixed int/float collection. fixed a bug in the sanity checking
5440         code for GtkObjects.
5441
5442         * gtk/gtkbindings.c (gtk_binding_entry_add_signal): fixups of the
5443         argument collection code.
5444
5445         * gtk/gtksignal.c (gtk_signal_collect_params): use the type set bounds
5446         macros when distinguishing the return type.
5447
5448 Mon Jul 13 12:42:51 1998  George Lebl  <jirka@5z.com>
5449
5450         * gdk/gdkwindow.h: (gdk_window_reparent) check if old_parent_private
5451           is not NULL before trying to g_list_remove the child. A patch
5452           from Michael Lausch.
5453
5454 Sun Jul 12 16:40:06 1998  Tim Janik  <timj@gtk.org>
5455
5456         * gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument
5457         collection (always casted to doubles upon argument passing).
5458
5459 Sun Jul 12 05:59:26 1998  Tim Janik  <timj@gtk.org>
5460
5461         * gtk/gtktypeutils.c (gtk_type_new): call the base classes'
5462         object_init_func for derived objects with the object's ->klass field
5463         still pointing to the corresponding base class, otherwise overridden
5464         class functions could get called with partly-initialized objects.
5465         (change from Tero Pulkkinen <terop@modeemi.cs.tut.fi>).
5466
5467 Sun Jul 12 02:47:35 1998  Tim Janik  <timj@gtk.org>
5468
5469         * gtk/gtkobject.h:
5470         * gtk/gtkobject.c:
5471         (gtk_object_arg_get_info): new functions which wraps gtk_arg_get_info().
5472
5473         * gtk/gtkcontainer.h:
5474         * gtk/gtkcontainer.c:
5475         (gtk_container_child_arg_get_info): new function which wraps
5476         gtk_arg_get_info().
5477
5478 Fri Jul 10 13:29:53 1998  Tim Janik  <timj@gtk.org>
5479
5480         * gtk/gtkcontainer.c:
5481         (gtk_container_arg_get): 
5482         (gtk_container_arg_set): 
5483         * gtk/gtkobject.c:
5484         (gtk_object_arg_set): 
5485         (gtk_object_arg_get):
5486         strictly check for the associated get/set arg functions. if an
5487         arg is readable or writable, the associated class functions *must*
5488         be provided.
5489
5490 Fri Jul 10 09:37:50 1998  Tim Janik  <timj@gtk.org>
5491
5492         * gtk/gtkaccellabel.c (gtk_accel_label_accelerator_width): only take the
5493         padding into account if there is an accelerator.
5494
5495 Fri Jul 10 05:51:44 1998  Tim Janik  <timj@gtk.org>
5496
5497         * gtk/gtkcontainer.c:
5498         (gtk_container_add_with_args): collect the arguments with
5499         gtk_container_child_args_collect, not through gtk_object_args_collect.
5500         (gtk_container_child_set): likewise.
5501
5502 Fri Jul 10 04:20:35 1998  Tim Janik  <timj@gtk.org>
5503
5504         * gtk/gtktypeutils.h: 
5505         * gtk/gtktypeutils.c: added a new internal type GTK_TYPE_IDENTIFIER
5506         which is derived from GTK_TYPE_STRING.
5507
5508         * gtk/gtkbindings.c: reworked the argument type handling.
5509
5510 Thu Jul  9 21:03:19 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
5511
5512         * gtk/gtkpreview.c: add in just enough support for 1 or 4 bits
5513           so that it seems to allow normal operation in those modes,
5514           although you will only see black  (GIMP toolbar now pops up,
5515           just don't create a new image and GIMP now works in 4 bit.)
5516
5517 Thu Jul  9 20:20:04 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
5518
5519         * gdk/gdkvisuals.c: 4 bit support, increased available_depths
5520           array, which was too low (?)
5521
5522 Fri Jul 10 00:02:04 1998  Tim Janik  <timj@gtk.org>
5523
5524         * gtk/gtkcontainer.h: 
5525         * gtk/gtkcontainer.c: deleted most of the argument handling code, since
5526         that is now implemented in gtkarg.c. similar to gtk_object_args_collect,
5527         we now export a new function gtk_container_child_args_collect().
5528         for consistency with the object arguments, a few functions got renamed:
5529         gtk_container_child_arg_get -> gtk_container_child_get,
5530         gtk_container_child_arg_set -> gtk_container_child_set,
5531         gtk_container_child_arg_getv -> gtk_container_child_getv,
5532         gtk_container_child_arg_setv -> gtk_container_child_setv,
5533         gtk_container_add_with_argv -> gtk_container_addv.
5534         note, gtk_container_add_with_args() remained, because its equivalent
5535         would be gtk_container_add(,, ...) which would break all existing code.
5536         (gtk_container_add_child_arg_type): similar to gtk_object_add_arg_type,
5537         we expect the `arg_name' argument to be a const static string now.
5538         (gtk_container_get_child_arg_type): function removed.
5539
5540 Thu Jul  9 07:03:04 1998  Tim Janik  <timj@gtk.org>
5541
5542         * gtk/gtkargcollector.c: new file which holds gtk_arg_collect_value().
5543         this is a static inline function that collects command line arguments
5544         from a va_list. this file can just be included in all places that
5545         need this functionality.
5546
5547         * gtk/gtkarg.h: 
5548         * gtk/gtkarg.c: new files which implement most of the argument
5549         handling stuff from gtkobject.c. also collected a few more
5550         gtk_arg_* utility functions from else places.
5551
5552         * gtk/gtkobject.h: 
5553         * gtk/gtkobject.c: moved most of the argument handling code into
5554         gtkarg.c. we now export gtk_object_args_collect() as a non-public
5555         method with a blind va_list pointer.
5556         (gtk_object_add_arg_type): the `arg_name' argument is required to be a
5557         const static string now.
5558         (gtk_object_get_arg_type): function got removed.
5559
5560         * gtk/gtkwidget.c: 
5561         (gtk_widget_set): 
5562         (gtk_widget_new): adaptions for gtk_object_args_collect().
5563
5564         * gtk/gtktypeutils.c (gtk_type_init_builtin_types): changed the internal
5565         fundamental type name so as to have a valid prefix, e.g. "bool"->
5566         "gboolean", "string"->"GtkString" and somesuch, left "void" as is,
5567         though that should probably be something like GtkNone since the
5568         type itself is called GTK_TYPE_NONE.
5569         even the internal type names need to avoid name clashes and must live
5570         in their own namespace, several code portions rely on that.
5571         we should relly have typedefs such as typedef gchar* GtkString; so the
5572         fundamental type names can be used for code dumpers just like with all
5573         the Gtk/Gdk types.
5574
5575 Wed Jul  8 15:31:28 1998  Tim Janik  <timj@gtk.org>
5576
5577         * gtk/gtkbutton.c: handle GTK_RELIEF_HALF, which was introduced to
5578         keep either GTK_STATE_NORMAL for relief buttons (GTK_RELIEF_NONE) or
5579         to still honour GTK_WIDGET_STATE(), e.g. for coloured buttons
5580         (GTK_RELIEF_HALF).
5581         (gtk_button_paint): set the background for prelighted buttons with
5582         GTK_STATE_NORMAL only if GTK_RELIEF_NONE.
5583         (gtk_button_draw_focus): if GTK_RELIEF_NONE, use GTK_STATE_NORMAL for
5584         the shadow type (otherwise we get strange shadows for coloured buttons).
5585         (gtk_button_set_relief): queue a redraw after changing
5586         the relief.
5587         (gtk_button_class_init): 
5588         (gtk_button_set_arg): 
5589         (gtk_button_get_arg): added object argument "GtkButton::relief".
5590
5591         * gtk/gtkenums.h (enum): added GTK_RELIEF_HALF.
5592
5593 Mon Jul  6 18:30:48 1998  Tim Janik  <timj@gtk.org>
5594
5595         * gtk/gtkbutton.h:
5596         * gtk/gtkbutton.c: GtkButtons are now derived from GtkBin. we mirror
5597         GTK_BIN (button)->child to button->child to keep source compatibility.
5598
5599         * gtk/gtkoptionmenu.c:
5600         * gtk/gtkclist.c:
5601         * gtkcheckbutton.c: don't refer to button->child, but
5602         GTK_BIN (button)->child instead.
5603
5604 Mon Jul  6 12:06:23 BST 1998  Tony Gale  <gale@gtk.org>
5605
5606         * docs/gtkfaq.sgml: update anon CVS info
5607
5608 Sat Jul  4 13:16:24 1998  Tim Janik  <timj@gtk.org>
5609
5610         * gtk/*.c: changed reversed_[12] to reserved_[12] in gtk_*_get_type
5611         functions.
5612
5613         * gdk/gdkwindow.c:
5614         * gdk/gdkvisual.c: check for some pointer values to be != NULL, prior
5615         to XFree() calls.
5616
5617 1998-07-03  Federico Mena Quintero  <federico@nuclecu.unam.mx>
5618
5619         * gtk/gtkfeatures.h.in: Added GDK_HAVE_FULL_CROSSING_EVENT, since
5620         I seem to have erroneously added it to gtkfeatures.h (not .h.in).
5621
5622 Fri Jul  3 14:55:31 PDT 1998 Manish Singh <yosh@gimp.org>
5623
5624         * gtk/gtkfeatures.h.in: added GTK_HAVE_RELIEF_STYLE
5625
5626 Wed Jul  1 20:58:46 1998  Tim Janik  <timj@gtk.org>
5627
5628         * gtk/gtkwidget.h:
5629         * gtk/gtkwidget.c: temporary implementation of action signal "debug_msg"
5630
5631         * gtk/gtkbindings.c (gtk_binding_entry_add_signal): fixed an off-by-one
5632         error that prevented signal to entry addition for signals with
5633         parameters.
5634
5635 Wed Jul  1 10:05:36 PDT 1998 Manish Singh <yosh@gimp.org>
5636
5637         * ltconfig: fix for properly detecting shared lib support on
5638         SunPro cc (taken from libtool 1.2.a)
5639
5640 Wed Jul  1 03:33:30 1998  Tim Janik  <timj@gtk.org>
5641
5642         * gtk/gtkrc.c: implementation of the "class" keyword for styles.
5643
5644 Tue Jun 30 14:30:37 1998  Tim Janik  <timj@gtk.org>
5645
5646         * gtk/gtkrc.c: fixed lookup order for rc styles. the latest defined
5647         rc set pattern is favoured, this is needed for overriding of style
5648         patterns with subsequently parsed rc files.
5649
5650 Tue Jun 30 12:45:19 1998  Tim Janik  <timj@gtk.org>
5651
5652         * gtk/gtkrc.c: code overhaul for simplicity and more descriptive
5653         error messages.
5654
5655 Tue Jun 30 09:24:40 1998  Tim Janik  <timj@gtk.org>
5656
5657         * gtk/gtkaccelgroup.c (gtk_accelerator_parse): parse "<Release>"
5658         modifier as well.
5659         (gtk_accelerator_name): add "<Release>" to the accelerator name if
5660         neccessary.
5661
5662         * gtk/gtkbindings.c (BINDING_MOD_MASK): take BINDING_MOD_MASK into
5663         account.
5664
5665         * gtk/gtkwidget.c (gtk_widget_real_key_release_event): implemented
5666         default handler for key-release events, which checks for activation
5667         of GDK_RELEASE_MASK key bindings.
5668
5669         * gdk/gdktypes.h (enum): added GDK_RELEASE_MASK to GdkModifierType.
5670
5671 Mon Jun 29 13:39:45 1998  Tim Janik  <timj@gtk.org>
5672
5673         * gtk/gtkarrow.h: GtkType and macro fixups.
5674         * gtk/gtkarrow.c: widget argument implementation: "GtkArrow::arrow_type",
5675         "GtkArrow::shadow_type".
5676
5677 Sun Jun 28 11:39:17 1998  Tim Janik  <timj@gtk.org>
5678
5679         * gtk/gtkalignment.h:
5680         * gtk/gtkbin.h: GtkType and macro fixups.
5681         
5682         * gtk/gtkalignment.c (gtk_alignment_class_init): widget argument
5683         implementation: GtkAlignment::xalign, GtkAlignment::yalign,
5684         GtkAlignment::xscale, GtkAlignment::yscale.
5685
5686 Sun Jun 28 04:29:10 1998  Tim Janik  <timj@gtk.org>
5687
5688         * gtk/gtktypeutils.c (gtk_type_class_init): call the base class init
5689         fucntions from all parent types upon class initialization.
5690
5691         * gtk/gtkcontainer.c:
5692         (gtk_container_get_type): announce gtk_container_base_class_init to
5693         the type system.
5694         (gtk_container_base_class_init): new function to feature base class
5695         initialization.
5696         (gtk_container_get_child_arg): 
5697         (gtk_container_set_child_arg): call the GtkContainerClass get_child_arg
5698         and set_child_arg methods of the class indicated through the argument
5699         name.
5700
5701         * gtk/gtkobject.c:
5702         (gtk_object_base_class_init): new function to feature base class
5703         initialization.
5704         (gtk_object_init_type): announce gtk_object_base_class_init to the type
5705         system.
5706         (gtk_object_class_init): setup the get_arg and set_arg pointers for
5707         GtkObjectClass.
5708         (gtk_object_setv): 
5709         (gtk_object_getv): call the GtkObjectClass get_arg and set_arg methods,
5710         instead of bothering the type system with this.
5711
5712         * gtk/gtkaccellabel.c: 
5713         * gtk/gtkbutton.c: 
5714         * gtk/gtkradiobutton.c: 
5715         * gtk/gtktable.c:
5716         * gtk/gtktogglebutton.c: 
5717         * gtk/gtktipsquery.c: 
5718         * gtk/gtkbox.c: 
5719         * gtk/gtkpacker.c: 
5720         * gtk/gtkwidget.c: 
5721         * gtk/gtkwindow.c: 
5722         * gtk/gtkframe.c: 
5723         * gtk/gtkmisc.c:
5724         * gtk/gtklabel.c: set the object_class->{g|s}et_arg pointers to the
5725         corresponding gtk_*_{g|s]et_arg functions and updated the gtk_*_get_type
5726         functions wrt GtkTypeInfo initialization. changed a lot of the set/get
5727         arg functions to take a GtkObject argument.
5728
5729         gtk/gtkadjustment.c:
5730         gtk/gtkalignment.c:
5731         gtk/gtkarrow.c:
5732         gtk/gtkaspectframe.c:
5733         gtk/gtkbbox.c:
5734         gtk/gtkbin.c:
5735         gtk/gtkcheckbutton.c:
5736         gtk/gtkcheckmenuitem.c:
5737         gtk/gtkclist.c:
5738         gtk/gtkcolorsel.c:
5739         gtk/gtkcombo.c:
5740         gtk/gtkctree.c:
5741         gtk/gtkcurve.c:
5742         gtk/gtkdata.c:
5743         gtk/gtkdialog.c:
5744         gtk/gtkdrawingarea.c:
5745         gtk/gtkeditable.c:
5746         gtk/gtkentry.c:
5747         gtk/gtkeventbox.c:
5748         gtk/gtkfilesel.c:
5749         gtk/gtkfixed.c:
5750         gtk/gtkfontsel.c:
5751         gtk/gtkgamma.c:
5752         gtk/gtkhandlebox.c:
5753         gtk/gtkhbbox.c:
5754         gtk/gtkhbox.c:
5755         gtk/gtkhpaned.c:
5756         gtk/gtkhruler.c:
5757         gtk/gtkhscale.c:
5758         gtk/gtkhscrollbar.c:
5759         gtk/gtkhseparator.c:
5760         gtk/gtkimage.c:
5761         gtk/gtkinputdialog.c:
5762         gtk/gtkitem.c:
5763         gtk/gtkitemfactory.c:
5764         gtk/gtklist.c:
5765         gtk/gtklistitem.c:
5766         gtk/gtkmenu.c:
5767         gtk/gtkmenubar.c:
5768         gtk/gtkmenuitem.c:
5769         gtk/gtkmenushell.c:
5770         gtk/gtknotebook.c:
5771         gtk/gtkoptionmenu.c:
5772         gtk/gtkpaned.c:
5773         gtk/gtkpixmap.c:
5774         gtk/gtkpreview.c:
5775         gtk/gtkprogressbar.c:
5776         gtk/gtkradiomenuitem.c:
5777         gtk/gtkrange.c:
5778         gtk/gtkruler.c:
5779         gtk/gtkscale.c:
5780         gtk/gtkscrollbar.c:
5781         gtk/gtkscrolledwindow.c:
5782         gtk/gtkseparator.c:
5783         gtk/gtkspinbutton.c:
5784         gtk/gtkstatusbar.c:
5785         gtk/gtktext.c:
5786         gtk/gtktoolbar.c:
5787         gtk/gtktooltips.c:
5788         gtk/gtktree.c:
5789         gtk/gtktreeitem.c:
5790         gtk/gtkvbbox.c:
5791         gtk/gtkvbox.c:
5792         gtk/gtkviewport.c:
5793         gtk/gtkvpaned.c:
5794         gtk/gtkvruler.c:
5795         gtk/gtkvscale.c:
5796         gtk/gtkvscrollbar.c:
5797         gtk/gtkvseparator.c: updated the GtkTypeInfo initialization code to
5798         match the modified GtkTypeInfo structure.
5799
5800 Sat Jun 27 23:23:27 PDT 1998 Manish Singh <yosh@gimp.org>
5801
5802         * gtk/testgtk.c: use rand() instead of random() for portability
5803
5804 Sat Jun 27 22:42:28 PDT 1998 Manish Singh <yosh@gimp.org>
5805
5806         * configure.in
5807         * acconfig.h
5808         * gdk/gdk.c: use native Xlib XConvertCase if it's available
5809
5810 Sat Jun 27 15:44:46 1998  Tim Janik  <timj@gtk.org>
5811
5812         * gdk/gdk.c (gdkx_XConvertCase): compatibility function to provide
5813         XConvertCase() functionality from X11R6 on X11R5 systems.
5814
5815 Thu Jun 25 10:50:34 1998  Stefan Jeske  <stefan@gtk.org>
5816
5817         * gdk/gdk.h gdk/gdkfont.c: Added functions gdk_text_height,
5818         gdk_string_height, gdk_char_height to retrieve the exact
5819         height of a text.
5820
5821 Thu Jun 25 07:53:51 BST 1998  Tony Gale  <gale@gtk.org>
5822
5823         * docs/gtk_tut.sgml: add section on GtkCList widget, contributed
5824           by Stefan Mars <mars@lysator.liu.se>
5825         * examples/clist/clist.c examples/clist/Makefile: example code
5826           for GtkCList widget from the Tutorial
5827
5828 Wed Jun 24 16:38:02 1998  Tim Janik  <timj@gtk.org>
5829
5830         * gtk/gtkbin.c (gtk_bin_remove): do not avoid to queue for a resize
5831         if the container is not visible, we might be a toplevel! this holds
5832         for all other base container implementations as well, that are
5833         candidates to derive toplevels from. in general the resizing code will
5834         care about visibility itself.
5835         * gtk/gtkmenushell.c (gtk_menu_shell_remove): likewise.
5836         * gtk/gtkbox.c (gtk_box_remove): likewise.
5837
5838         * gtk/gtkwindow.c (gtk_window_move_resize): save ->use_uposition around
5839         gtk_window_set_hints(), since we haven't calculated the new position
5840         yet.
5841
5842         * gdk/gdkwindow.c (gdk_window_get_pointer): take care that *x, *y and
5843         *mask are alway initialized in a sane way, regardless of the return
5844         value.
5845
5846 Wed Jun 24 14:14:32 1998  Tim Janik  <timj@gtk.org>
5847
5848         * gtk/gtkcontainer.c: new function gtk_container_child_arg_set, similar
5849         to gtk_container_child_arg_setv, but takes a variable argument list.
5850         new function gtk_container_get_child_arg_type, which is needed by
5851         gtk_object_collect_args.
5852
5853         * gtk/gtkobject.c: changed prototype for gtk_object_collect_args, to
5854         take a function pointer to figure the argument type.
5855         adapted callers to pass gtk_object_get_arg_type.
5856         * gtk/gtkwidget.c: adapted gtk_object_collect_args callers to pass
5857         gtk_object_get_arg_type..
5858
5859         * gtk/gtkpacker.h: 
5860         * gtk/gtkpacker.c:
5861         (gtk_packer_reorder_child): new function to change the packing order
5862         of a child.
5863         (gtk_packer_size_request): 
5864         (gtk_packer_size_allocate): take container->border_width into acount.
5865
5866         * gtk/gtkpacker.c: implemented widget arguments:
5867         "GtkPacker::spacing", "GtkPacker::border_width", "GtkPacker::pad_x",
5868         "GtkPacker::pad_y", "GtkPacker::ipad_x", "GtkPacker::ipad_y".
5869         implemented child arguments:
5870         "GtkPacker::side", "GtkPacker::anchor", "GtkPacker::expand",
5871         "GtkPacker::fill_x", "GtkPacker::fill_y", "GtkPacker::use_default",
5872         "GtkPacker::border_width", "GtkPacker::pad_x", "GtkPacker::pad_y",
5873         "GtkPacker::ipad_x", "GtkPacker::ipad_y", "GtkPacker::position".
5874
5875         * gtk/gtkmisc.c (gtk_misc_set_arg): for padding args, set the padding,
5876         not the alignment.
5877
5878         * gtk/gtkeventbox.h:
5879         * gtk/gtkeventbox.c: GtkType and macro fixups.
5880
5881         * gtk/testgtk.c (entry_toggle_sensitive): new function to toggle
5882         sensitivity of an entry.
5883
5884         * gtk/gtkstyle.c (gtk_style_new): support normal grey as default color
5885         for insensitive base and text.
5886
5887         * gtk/gtkentry.c (gtk_entry_realize): set the window backgrounds
5888         widget state dependent.
5889         (gtk_entry_style_set): likewise.
5890         (gtk_entry_state_changed): set background color on state changes.
5891         (gtk_entry_draw_text): for non selected text, use state dependent
5892         colors.
5893
5894         * gtk/gtktogglebutton.c: support for widget arguments
5895         "GtkToggleButton::active" and "GtkToggleButton::draw_indicator".
5896
5897 Wed Jun 24 08:35:45 1998  Stefan Jeske  <stefan@gtk.org>
5898
5899         * gtk/gtkspinbutton.c (gtk_spin_button_spin): Added compatibility 
5900         code for 1.0.x-like parameters. Changed internal interface of
5901         gtk_spin_button_real_spin. Several fixes to avoid emission of
5902         "value_changed" where possible.
5903
5904 Tue Jun 23 22:21:33 PDT 1998 Manish Singh <yosh@gimp.org>
5905
5906         * gtk-boxed.defs: s/GkWidget/GtkWidget/
5907
5908 Wed Jun 24 07:47:29 1998  Tim Janik  <timj@gtk.org>
5909
5910         * gtk/testgtk.c (create_idle_test): added a frame with radio buttons
5911         to select the resize_mode for the idle-labels container.
5912
5913         * gtk/gtkframe.h: 
5914         * gtk/gtkframe.c: GtkType and macro corrections.
5915
5916         * gtk/gtkradiobutton.c (gtk_radio_button_set_arg): new function to
5917         support widget argument "GtkRadioButton::group".
5918
5919 Tue Jun 23 08:01:09 1998  Tim Janik  <timj@gtk.org>
5920
5921         * gtk/gtkcontainer.c (gtk_container_set_resize_mode): queue a resize
5922         unconditionally if resize_mode has changed.
5923
5924         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_init): set
5925         GTK_RESIZE_QUEUE on the scrolled window.
5926         (gtk_scrolled_window_construct): set GTK_RESIZE_PARENT for the vieport.
5927
5928 Tue Jun 23 04:20:30 1998  Tim Janik  <timj@gtk.org>
5929
5930         * gtk/gtkcontainer.h:
5931         * gtk/gtkcontainer.c:
5932         (GTK_IS_RESIZE_CONTAINER): new macro to find out if
5933         a given gtkobject is a container with resize_mode==GTK_RESIZE_PARENT.
5934         (gtk_container_queue_resize): new function to queue a container for
5935         a *size* reallocation (doesn't affect its position, and thus its
5936         parent is left untouched usually).
5937         (gtk_container_get_resize_container): new function to retrive the next
5938         most resize container which is not itself queued for a resize.
5939         (gtk_container_idle_sizer): new function to carefully process the
5940         container_resize_queue since it can change during invokation of
5941         gtk_container_check_resize().
5942         (gtk_container_resize_children): total rework of this function to
5943         properly handle resize containers. makes a lot of assumptions whitch
5944         are stated in the comments.
5945
5946         * gtk/gtkcontainer.c:
5947         (gtk_container_real_check_resize): only requeue ourselves if we are not
5948         a resize container.
5949         (gtk_container_clear_resize_widgets): care for automatic deletion of our
5950         resize_widgets list on size_allocate through a handler connection.
5951
5952         * gtk/gtkwindow.c (gtk_window_shutdown): new functionm to reset the
5953         focus and default widget of a window, so to take the burden from
5954         gtk_widget_unparent.
5955
5956         * gtk/gtkviewport.c: removed gtk_viewport_check_resize, which tried
5957         to be clever, but actually messed up the resize_children logic and
5958         caused unneccessary allocations on its whole branch. besides this,
5959         it messed up the display by not invoking a redraw after the allocation.
5960
5961         * gtk/gtktable.c (gtk_table_set_child_arg): reverted recent change, so
5962         that it is the child again that is queued for a resize.
5963         (gtk_table_attach): likewise.
5964         (gtk_table_remove): likewise.
5965
5966 1998-06-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>
5967
5968         * gtk/gtkentry.h, gtk/gtkentry.c: Export the
5969         gtk_entry_adjust_scroll.  Required if you change the cursor
5970         position and want to sync it up with your code (Midnight Commander
5971         gtk front end needs this).
5972
5973         * gtk/gtktable.c: Deal with tables that have size 0, 0.
5974
5975 Tue Jun 23 12:12:19 BST 1998  Tony Gale  <gale@gtk.org>
5976
5977         * examples/README.1ST: new file to explain how the
5978           code examples should be extracted from the tutorial.
5979
5980 Mon Jun 22 18:43:11 1998  Lars Hamann  <lars@gtk.org>
5981
5982         * gtk/gtkctree.c (draw_row): added new "line style"
5983         GTK_CTREE_LINES_TABBED 
5984         * gtk/gtkctree.c/h (gtk_ctree_find_glist_ptr): new function to
5985         search the glist pointer of an GtkCTreeRow
5986
5987 1998-06-21  Raja R Harinath  <harinath@cs.umn.edu>
5988  
5989         * gtk/Makefile.am (gtk.defs,gtktypebuiltins*): Remove $(srcdir)
5990         from, and clean up, the dependencies.  Generate to intermediate
5991         files to prevent problems with Ctrl-C.
5992
5993         * gtk/genmarshal.pl: Generate `gtkmarshal.[ch]' in $srcdir.
5994
5995 Fri Jun 19 14:46:56 1998  Stefan Jeske  <stefan@gtk.org>
5996
5997         * gtk/gtkspinbutton.h gtk/gtkspinbutton.c gtk/testgtk.c:
5998         - Bug fix for precision problem causing occasional double emission 
5999           of "value_changed" signal (hopefully works now).
6000         - API change (should be binary compatible) : 
6001           new enum GtkSpinType; modified gtk_spin_button_spin to use it.
6002           Modified cursor example appropriately.
6003           To spin by something other than step_/page_increment, use
6004           gtk_spin_button_spin (spin, GTK_SPIN_USER_DEFINED, increment).
6005         - Made GTK_SHADOW_NONE the default. ;)
6006         - Fixed casting of GtkAdjustment* to GtkWidget* in
6007           gtk_spin_button_value_changed.
6008
6009 Fri Jun 19 06:18:19 1998  Tim Janik  <timj@gtk.org>
6010
6011         * gtk/gtkcontainer.c (gtk_container_set_resize_mode): fail silently
6012         for toplevels. if resize_mode changes to GTK_RESIZE_PARENT, clear the
6013         resize widget list before queuing the container for a new reize.
6014         (gtk_container_need_resize): changed return value to FALSE, since this
6015         used to indicate that no further resizes are needed.
6016         (gtk_container_set_arg): 
6017         (gtk_container_get_arg): 
6018         (gtk_container_class_init): implemented GtkContainer::resize_mode
6019         argument.
6020
6021         (gtk_container_resize_children): when we walk up the tree of a resize
6022         widget we need to stop if we are the current parent.
6023
6024         * gtk/gtkwidget.c (gtk_widget_queue_resize): flag the resize child with
6025         GTK_RESIZE_NEEDED for container->resize_mode==GTK_RESIZE_IMMEDIATE.
6026         (gtk_widget_hide_all): retrive the toplevel widget from via
6027         gtk_widget_get_resize_container().
6028
6029 Thu Jun 18 23:08:36 1998  Owen Taylor  <otaylor@gtk.org>
6030
6031         * gtk/gtklist.c (gtk_list_button_press): Only respond
6032           to selection with button 1. This allows context-sensitive
6033           menus to work correctly.
6034
6035 Fri Jun 19 03:29:04 1998  Tim Janik  <timj@gtk.org>
6036
6037         * gtk/gtkaccelgroup.c: 
6038         * gtk/gtkbindings.c: 
6039         * gtk/gtkcontainer.c:
6040         * gtk/gtkitemfactory.c:
6041         * gtk/gtkobject.c: 
6042         * gtk/gtksignal.c:
6043         * gtk/gtkwidget.c: replaced some gtk_object_data_force_id with
6044         g_quark_from_static_string calls to save memory.
6045
6046         * gtk/gtkobject.c (gtk_object_set_data_by_id_full): invoke the destroy
6047         function _after_ the new data has been setup.
6048         minor changes to object data functions to feature the GQuark type.
6049
6050 Thu Jun 18 21:13:54 1998  Owen Taylor  <otaylor@gtk.org>
6051
6052         * gtk/gtkmain.c (gtk_init): Remove --g-fatal-warnings flag
6053           from argv.
6054
6055 Thu Jun 18 20:22:28 1998  Owen Taylor  <otaylor@gtk.org>
6056
6057         * gtk/genmarshal.pl: Modified to be more idiomatic Perl,
6058           to be more readable perl, to spit out stuff that looks
6059           more like readable C, and to pipe output through indent
6060           so output looks a lot like readable C. No functional
6061           changes.
6062
6063 Thu Jun 18 17:43:31 1998  Owen Taylor  <otaylor@gtk.org>
6064
6065         * gtk/gtkpixmap.[ch] (gtk_pixmap_set): Clear the background if
6066           necessary when switching to a masked pixmap. (Based on a patch
6067           from Ullrich Hafner <hafner@informatik.uni-wuerzburg.de>)
6068
6069 Thu Jun 18 16:18:10 1998  Owen Taylor  <otaylor@gtk.org>
6070
6071         * gtk/gtkeditable.[ch]: Added action signals for keyboard
6072           bindings. (move_cursor, kill_word, etc, etc, etc). 
6073
6074           removed the time argument from
6075           gtk_editable_cut/copy/paste_clipboard (source but not
6076           binary incompatible...) Instead get time from
6077           gtk_get_current_event ().
6078         
6079         * gtk/gtktext.c gtk/gtkentry.c: Support the new editable
6080           signals.
6081
6082 Thu Jun 18 02:52:09 1998  Owen Taylor  <otaylor@gtk.org>
6083
6084         Patches from Damon Chaplin <DAChaplin@email.msn.com>:
6085
6086         gtk/gtkfontsel.h: Fixed GtkFontSelectionClass - I forgot to change
6087              parent class to GtkNotebookClass when splitting the widget in
6088              two.  Also updated some comments.
6089
6090         gtk/gtkfontsel.c: Fixed bug when toggling 'Allow scaled bitmaps'
6091                button without a font selected.
6092
6093              Fixed bug in set_font_name - I hadn't updated the code to
6094                search for the style in the font_style clist - it was
6095                still assuming the style row was equal to its index,
6096                but it isn't any more.
6097         
6098              Changed 'Reset' button on filter page to 'Clear Filter'.
6099              Deleted old code relating to the old 'Filter Fonts' toggle
6100              Updated some comments.
6101              Cleared 'Actual Fontname' if no font is set.
6102
6103         gtk/testgtk.c: Fixed problem when 'OK' button is pressed - it was
6104              destroying the GtkFontSelection instead of the
6105              GtkFontSelectionDialog.
6106
6107 Thu Jun 18 02:15:31 1998  Owen Taylor  <otaylor@gtk.org>
6108
6109         * gtk/gtkmain.c (gtk_init): Added --g-fatal-warnings
6110           flag to make all warnings fatal errors.
6111
6112         * gtk/testthreads.c: moved <pthreads.h> include inside 
6113           #ifdef USE_PTHREADS
6114
6115 Thu Jun 18 01:37:31 1998  Owen Taylor  <otaylor@gtk.org>
6116
6117         * gtk/gtkenums.h gtk/gtkcontainer.[ch] gtk/gtkwidget.c 
6118           gtk/gtkmenu.c gtk/gtkviewport.c gtk/gtkwindow.c:
6119
6120         - Added new function gtk_container_set_resize_mode() for
6121           fine-grained control of where resize-queueing is done.
6122
6123         - Removed GtkContainer::need_resize and GtkWindow::move_resize
6124         - Added GtkContainer::check_resize to replace need_resize.
6125
6126         - Added function gtk_container_check_resize() to trigger
6127           queued resizes, and gtk_container_resize_children() to
6128           Figure which children need to be size-allocated. (logic
6129           moved from gtkwindow.c)
6130
6131         - Reorganized code in gtkwindow.c
6132         
6133         - Set the resize-mode for viewports so that resizes within
6134           a viewport don't propagate out of it. 
6135         
6136 1998-06-18  Federico Mena Quintero  <federico@nuclecu.unam.mx>
6137
6138         * gtk/gtkfontsel.c: Use pointer<->int conversion macros to avoid warnings.
6139
6140         * gtk/gtkaccellabel.c (gtk_accel_label_accelerator_width): Use
6141         g_return_val_if_fail, because the function *does* return a value.
6142
6143 Thu Jun 18 03:30:06 1998  Tim Janik  <timj@gtk.org>
6144
6145         * gtk/gtkaccellabel.h:
6146         * gtk/gtkaccellabel.c: new function gtk_accel_label_accelerator_width to
6147         request the size of the accelerator portion of an accel label.
6148         (gtk_accel_label_size_request): don't request for the accelerators size.
6149         (gtk_accel_label_expose_event): only draw the accelerator if we got
6150         enough extra space.
6151
6152         * gtk/gtkmenuitem.c (gtk_menu_item_size_request): request accelerator
6153         width from children.
6154
6155         * gtk/gtkmenu.c (gtk_menu_key_press): when adding an accelerator to an
6156         object (after removal has been requested) check if there is still an
6157         accelerator remaining to avoid adding two accelerators on an object.
6158         this can happen for locked accelerators (or accelerator-frozen widgets).
6159         (gtk_menu_size_request): feature childrens accelerator width in size
6160         requests.
6161
6162         * gtk/gtknotebook.c (gtk_notebook_menu_item_create): use
6163         gtk_widget_freeze_accelerators() for dynamically created menu items.
6164
6165         * gtk/gtksignal.h: 
6166         * gtk/gtksignal.c: new function gtk_signal_handler_pending_by_func()
6167         which will return a handler_id > 0 if the specified function is pending
6168         for `signal_id'.
6169
6170         * gtk/gtkwidget.h:
6171         * gtk/gtkwidget.c: remove gtk_widget_stop_accelerator, which was just
6172         a signal handler function to stop accelerator addition.
6173         added gtk_widget_freeze_accelerators and gtk_widget_thaw_accelerators
6174         which will prevent (undo) any accelerators from being added to or
6175         removed from a widget.
6176
6177 Wed Jun 17 21:59:09 1998  Stefan Jeske  <stefan@gtk.org>
6178
6179         * gtkspinbutton.h gtkspinbutton.c testgtk.c:
6180         Changed GtkSpinButtonUpdatePolicy enum, added keyboard
6181         acceleration, new API gtk_spin_button_set_snap_to_ticks.
6182
6183 Wed Jun 17 03:47:40 1998  Tim Janik  <timj@gtk.org>
6184
6185         * gdk/gdk.h:
6186         * gdk/gdkwindow.c: new function gdk_window_at_pointer() to retrive
6187         the current GdkWindow the pointer is on if there is any.
6188         
6189         * gtk/gtktable.c (gtk_table_init): preallocate a table with one row
6190         and one column, so we don't construction logic at all. changed a few
6191         (x < y - 1) to (x + 1 < y), to avoid failing evaluations due to
6192         unsigned int wraps.
6193
6194         * gtk/gtkwidget.c (gtk_widget_set_parent): removed left over code
6195         portion, added an additional check for parent != widget.
6196
6197         * more GtkType and macro fixups.
6198
6199 1998-06-16  Federico Mena Quintero  <federico@nuclecu.unam.mx>
6200
6201         * gtk/gtkhandlebox.c (draw_textured_frame): Now accepts an extra
6202         "clip" parameter, which is the clipping rectangle to use.  This
6203         eliminates the extremely annoying flicker when exposing parts of
6204         the handlebox.
6205
6206 Tue Jun 16 14:08:08 PDT 1998 Manish Singh <yosh@gimp.org>
6207
6208         * gtk/gtktable.c: fix from TimJ for off-by-one error in table
6209         resizing
6210
6211 Tue Jun 16 06:29:57 1998  Tim Janik  <timj@gtk.org>
6212
6213         * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_set_state): check for
6214         != 0 on the argument.
6215
6216         * gtk/gtktable.h: 
6217         * gtk/gtktable.c: new function gtk_table_resize() which allowes
6218         shrinking and expanding of tables. implementation of widget arguments
6219         and child arguments. many signedness corrections.
6220
6221 Mon Jun 15 04:15:03 1998  Tim Janik  <timj@gtk.org>
6222
6223         * gtk/gtkbox.c (gtk_box_set_child_packing): queue the resize for the box
6224         not only the child, otherwise we might end up taking away other
6225         childrens space after the resize.
6226
6227         * gtk/gtkitemfactory.c (gtk_item_factory_parse_menu_path): if we parse
6228         an unknown menu path from any source, that path must always be flagged
6229         as "modified", since we don't really know whether it has its default
6230         value or not.
6231
6232         * gtk/gtktree.c:
6233         * gtk/gtkpacker.c:
6234         * gtk/gtknotebook.c:
6235         * gtk/gtkmenushell.c:
6236         * gtk/gtklist.c:
6237         * gtk/gtkpaned.c:
6238         * gtk/gtkfixed.c: 
6239         * gtk/gtkbutton.c: implement gtk_*_child_type functions.
6240
6241         * gtk/gtkbox.h: 
6242         * gtk/gtkbox.c: type corrections for expand, fill, padding and pack_type
6243         arguments. implemented child arguments.
6244
6245         * more GtkType and macro fixups.
6246
6247 Sun Jun 14 16:30:02 1998  Tim Janik  <timj@gtk.org>
6248
6249         * gtk/gtkcheckbutton.h: GtkType and macro fixups.
6250
6251         * gtk/gtkclist.h: exported the prototypes for gtk_clist_get_vadjustment
6252         and gtk_clist_get_hadjustment.
6253
6254         * gtk/gtkcontainer.c:
6255         implementation of children arguments, new class member functions
6256         (child_type), (get_child_arg) and (set_child_arg) plus a new field
6257         n_child_args.
6258         (gtk_container_child_type): new function which returns the type of a
6259         child that the container expects for its next addition.
6260         (gtk_container_add_child_arg_type): new function to introduce a new
6261         child argument at class creation time.
6262         (gtk_container_query_child_args): new function to query all child
6263         arguments that are supported by a container class.
6264         (gtk_container_child_arg_getv): new fucntion to retrive the value of a
6265         child argument.
6266         (gtk_container_child_arg_setv): new function to set a child argument for
6267         a certain container and child combination.
6268         (gtk_container_add_with_args):
6269         (gtk_container_add_with_argv): new functions to feature addition of a
6270         new child in combination with the setting of certain child arguments.
6271
6272         * gtk/gtktypeuitils.c (gtk_type_class_init): feature initialization of
6273         GtkContainerClass.n_child_args, similar to the GtkObjectClass members.
6274         this should really be done through class cretion hooks some day.
6275
6276         * gtk/gtkcontainer.c: changed type of border_width from gint16 to
6277         guint : 16.
6278
6279         * gtk/gtkpacker.h:
6280         * gtk/gtkpacker.c: renamed all PadX and PadY to pad_x and pad_y to
6281         follow the gtk convention for lower case variable names (important
6282         for language wrappers and widget arguments), and made them guint : 16.
6283
6284         * examples/packer/pack.c: adaptions for the case converted GtkPacker
6285         fields.
6286
6287 Fri Jun 12 16:33:23 1998  Tim Janik  <timj@gtk.org>
6288
6289         * gtk/gtkitemfactory.c (gtk_item_factory_parse_rc_scanner): do not
6290         change the character pair for single line comments.
6291         (gtk_item_factory_parse_rc): use the cpair_comment_signle specified in
6292         GtkItemFactoryClass.
6293         (gtk_item_factory_parse_rc_string): likewise.
6294
6295 Mon Jun 15 23:39:44 1998  Owen Taylor  <otaylor@gtk.org>
6296
6297         * gtk/gtkfontsel.[ch] (gtk_font_selection_dialog_init): Moved font
6298         lists from the klass structure to a static structure
6299         in gtkfontsel.c; cleans up global the namespace.
6300
6301 Mon Jun 15 22:16:10 1998  Owen Taylor  <otaylor@gtk.org>
6302
6303         * gtk/makeenums.pl (parse_entries): Fix (untriggered)
6304         bug with /*< skip >*/ and remove warning.
6305         
6306 Mon Jun 15 20:14:09 1998  Owen Taylor  <otaylor@gtk.org>
6307
6308         * gtk/Makefile.am: Made the gtkmarshal.* generation
6309         rules maintainer-only.
6310
6311 Mon Jun 15 16:29:45 1998  Owen Taylor  <otaylor@gtk.org>
6312
6313         * gdk/gdktypes.h gdk/gdkprivate.h gtk/gtk*.h 
6314           gtk/Makefile.am gtk/makenums.pl 
6315
6316         Removed out the G_ENUM/FLAGS mechanism in favor
6317         of a perl script that parses the standard headers
6318         (with occasional /*< nick=foo >*/ style overrides)
6319         and extracts the enumerations.
6320
6321           gtk/maketypes.awk: Small improvments to the
6322           translation of names. (Avoid splitting gc into
6323           g_c_.)
6324         
6325 Mon Jun 15 16:25:44 1998  Owen Taylor  <otaylor@gtk.org>
6326
6327         * gtk/gtk.h gtk/gtkfontsel.[ch]: 
6328         Damon Chaplin's <DAChaplin@email.msn.com> Font selection widget.
6329         
6330 Mon Jun 15 15:58:34 1998  Owen Taylor  <otaylor@gtk.org>
6331
6332         * gtk/gtkentry.c:
6333         - Restored gtk_entry_adjust_scroll to static 
6334         - Changed text positioning code so that we always
6335           display as large a portion of the text as possible.
6336
6337 Mon Jun 15 15:42:12 1998  Owen Taylor  <otaylor@gtk.org>
6338
6339         * gtk/gtktext.c (gtk_text_finalize): Free internal
6340         structures of text widget. Also, unreference pixmaps
6341         when unrealizing.
6342         
6343 Sat Jun 13 19:14:39 1998  Owen Taylor  <otaylor@gtk.org>
6344
6345         * gdk/gdkinputcommon.h (gdk_input_device_new): Change
6346         3.3.1 bug workaround to number keys starting at 1.
6347
6348 Sat Jun 13 11:56:57 1998  Owen Taylor  <otaylor@gtk.org>
6349
6350         * docs/gtk_tut.sgml: Fixed urls for complete example
6351         source for scribble+widget-writing examples.
6352
6353 Sat Jun 13 11:48:26 1998  Owen Taylor  <otaylor@gtk.org>
6354
6355         * gdk/gdkpixmap.c (gdk_pixmap_extract_color): 
6356         Patch from Tom Bech <tomb@ii.uib.no>, to handle color
6357         specs of the form c #abcdef [ more keys ] properly.
6358
6359 Sat Jun 13 10:51:56 1998  Stefan Jeske  <stefan@gtk.org>
6360
6361         * gtkspinbutton.h gtkspinbutton.c testgtk.c 
6362         (gtk_spin_button_set_shadow_type):
6363         New API to set the shadow type of the arrow panel.
6364
6365 Fri Jun 12 21:20:42 1998  Owen Taylor  <otaylor@gtk.org>
6366
6367         * gtk/gtkoptionmenu.c (gtk_option_menu_expose): Removed
6368         code for drawing the child in two places at once. Unfortunately,
6369         not only does it not work anymore (because reparenting has
6370         been fixed), but it also triggers reparent/expose loops
6371         in some cases.
6372
6373         * gtk/gtkoptionmenu.c (gtk_option_menu_remove_contents): Removed
6374         an unecessary unrealize.
6375
6376 Fri Jun 12 21:18:56 1998  Owen Taylor  <otaylor@gtk.org>
6377
6378         * gdk/gdkwindow.c (gdk_window_reparent): Update the
6379           old and new parents' child window lists properly.
6380
6381 Fri Jun 12 09:24:47 1998  Tim Janik  <timj@gtk.org>
6382
6383         * gtk/gtkpacker.h:
6384         * gtk/gtkpacker.c: renamed enum GtkAnchor and GtkSide to GtkAnchorType
6385         and GtkSideType, to be consistent with the rest of Gtk's enum
6386         definitions. wrapped the enum definitions with the G_ eunm wrappers.
6387         spelled out the GTK_ANCHOR_* enum values, since single letters don't
6388         work out corectly as nick-names (left the old values as aliases).
6389         some signdness corrections (border-width, spacing), could stand more.
6390
6391 Thu Jun 11 14:38:33 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
6392
6393         * gtk/gtkpacker.c, gtk/gtkpacker.h, gtk/gtk.h, gtk/Makefile.am: 
6394           Added gtkpacker
6395
6396         * examples/packer/pack.c, examples/packer/Makefile: Added
6397           gtkpacker example
6398
6399 Thu Jun 11 13:09:00 1998  Owen Taylor  <otaylor@gtk.org>
6400
6401         * gtk/gtktext.c (remove_cache_line): Fixed broken
6402         list-removal code.
6403
6404         * gtk/gtktext.c: (gtk_text_delete_(forward/backward)_cahr)
6405         Check bounds before deleting.
6406
6407 Wed Jun 10 23:21:33 1998  Owen Taylor  <otaylor@gtk.org>
6408
6409         * autogen.sh: Support ACLOCAL_FLAGS
6410
6411 Wed Jun 10 20:54:37 1998  Owen Taylor  <otaylor@gtk.org>
6412
6413         * gtk-config.in: Added missing quotes.
6414
6415 Wed Jun 10 18:44:22 PDT 1998 Manish Singh <yosh@gimp.org>
6416
6417         * gtk/gtkfeatures.in: #define GTK_HAVE_ACCEL_GROUP
6418
6419 1998-06-10  Raja R Harinath  <harinath@cs.umn.edu>
6420
6421         * acconfig.h (GTK_COMPILED_WITH_DEBUGGING): Renamed from
6422         G_COMPILED_WITH_DEBUGGING.
6423
6424         * configure.in (fd_set): Explain check better.
6425
6426         * acinclude.m4: New file.  Contains `libtool.m4' from libtool-1.2,
6427         the version from which gtk+'s libtool forked.  Needed for people
6428         who use post-1.2 alphas of libtool.
6429
6430 Wed Jun 10 19:36:35 1998  Owen Taylor  <otaylor@gtk.org>
6431
6432         * glib/* Moved to glib module
6433
6434         * INSTALL Makefile.am acconfig.h autogen.sh configure.in
6435           gtk-config.in gtk.m4 gdk/Makefile.am gtk/Makefile.am
6436
6437           configuration changes for the above:
6438          
6439           - Use AM_PATH_GLIB by default to find glib; also accept
6440             a --with-glib option for using an uninstalled glib.
6441          
6442           - Put --enable-debug information into config.h so
6443             that we rebuild when it changes. (was in glibconfig.h)
6444
6445 Wed Jun 10 22:23:27 1998  Lars Hamann  <lars@gtk.org>
6446
6447         * gtk/gtkctree.c (draw_row): adapted clist pixmap clipping
6448
6449         * gtk/gtknotebook.h (struct _GtkNotebookClass):
6450         * gtk/gtknotebook.c (gtk_real_notebook_switch_page): 
6451         added missing argument (according to Joseph Coleman's bug report)
6452
6453         * gtk/gtknotebook.c (gtk_notebook_set_focus_child): new class
6454         function to fix notebook focus handling
6455         
6456 Wed Jun 10 12:57:03 1998  Owen Taylor  <otaylor@gtk.org>
6457
6458         * gdk/gdkcc.c glib/ghash.c glib/glib.h glib/gstring.c
6459           glib/gutils.c glib/testglib.c glib/gdataset.c
6460           gtk/gtkaccelgroup.c gtk/gtkmain.c gtk/gtksignal.c
6461           gtk/gtktext.c gtk/gtkbindings.c:
6462
6463          renamed g_const_pointer => gconstpointer
6464
6465 Wed Jun 10 06:25:17 1998  Tim Janik  <timj@gtk.org>
6466
6467         * gdk/gdk.c (gdk_init): prevent gdk_init() from segfaulting when
6468         invoked with (NULL, NULL); (this worked sometime ago).
6469
6470         * gtk/gtktypeutils.h: 
6471         * gtk/gtktypeutils.c: enum and flags type creation can now be done
6472         through gtk_type_register_enum() and gtk_type_register_flags(),
6473         which allow to specify the enum value arrays directly.
6474         the NULL terminated value arrays can be retrived through
6475         gtk_type_enum_get_values() and gtk_type_flags_get_values();
6476         (gtk_type_children_types): new function to query derived types.
6477
6478 1998-06-09  Raja R Harinath  <harinath@cs.umn.edu>
6479
6480         * gtk/Makefile.am (gtkmarshal.c gtkmarshal.h): Pass $srcdir in
6481         environment to genmarshal.pl.
6482         (gtk.defs,gtktypebuiltins*): Add $(srcdir) where needed (in the
6483         rule), and removed it where not needed (in the dependencies).
6484
6485         * gtk/genmarshal.pl: Look for `gtkmarshal.list' in $srcdir.
6486
6487 Tue Jun  9 18:44:57 1998  Owen Taylor  <otaylor@gtk.org>
6488
6489         * gtk/gtkobject.c: Removed g_object_pointer_hash, which
6490         was just g_direct_hash.
6491
6492 Mon May 25 19:54:20 1998  Owen Taylor  <otaylor@gtk.org>
6493
6494         * configure.in: x_libs=, not $x_libs=. Enough said.
6495           (Case only hit for --disable-xshm)
6496         
6497 Mon May 25 12:08:14 1998  Owen Taylor  <otaylor@gtk.org>
6498
6499         * configure.in (LDFLAGS): Add to $CFLAGS and $LDFLAGS
6500           when testing for X libraries, don't replace them. Because
6501           the user might have specified the path to the X libraries
6502           themself before running configure.
6503
6504         * examples/**.c: Changed all gpointer * to gpointer
6505         
6506 1998-06-09  Federico Mena Quintero  <federico@nuclecu.unam.mx>
6507
6508         * gtk/gtkhandlebox.h (struct _GtkHandleBox): Removed the
6509         fleur_cursor field.  Now the cursor is created/destroyed on demand
6510         by the routines that need it.
6511
6512         * gtk/gtkhandlebox.c (gtk_handle_box_button_changed): 
6513         (gtk_handle_box_motion): The fleur cursor is created and destroyed
6514         only when needed.
6515
6516 Tue Jun  9 09:57:09 1998  Tim Janik  <timj@gtk.org>
6517
6518         * gtk/gtktypeutils.h: 
6519         * gtk/gtktypeutils.c: renamed the newly created gtk_enum_get_values and
6520         gtk_enum_set_values to gtk_type_enum_get_values and
6521         gtk_type_enum_set_values respectively, since they are actually type
6522         system features.
6523
6524         * gtk/gtktypebuiltins_evals.c: oops, screwed the NULL termination with
6525         my last commit. ;)
6526
6527 Tue Jun  9 01:57:23 1998  Tim Janik  <timj@gtk.org>
6528
6529         * gtk/gtkselection.h: 
6530         * gtk/gtkselection.c: new functions gtk_selection_data_copy and
6531         gtk_selection_data_free.
6532
6533         * gtk/gtkwidget.c (gtk_widget_class_init): fixed gtk_signal_new() call
6534         for "selection_received", which was completely bogus.
6535         * other fixups to gtk_signal_new() calls all over the place.
6536
6537         * gtk/gtktypebuiltins.h: types as variables (formerly macros).
6538         * gtk/gtktypebuiltins_vars.c: type variable implementations.
6539         * gtk/gtktypebuiltins_ids.c: array entries for builtin type
6540         declarations.
6541         * gtk/gtktypebuiltins_evals.c: enum value arrays.
6542         * gtk/gtk-boxed.defs: gtk and gdk structure definitions, used to build
6543         gtk.defs.
6544         * gtk/gtk.defs: generated file with scheme syntax for type definitions
6545         of gtk and gdk structures and enums.
6546         * gtk/gtktypeutils.h: 
6547         * gtk/gtktypeutils.c: reworked type ids, so they are variables not
6548         macros anymore (this fixes binary incompatibility with new enum
6549         definitions).
6550
6551         * gtk/gtkwidget.c (gtk_widget_real_key_press_event): proccess possible
6552         key bindings for this widget.
6553         * gtk/gtkwindow.c (gtk_window_key_press_event): chain parent class'
6554         handler.
6555
6556         * gtk/gtkobject.h:
6557         * gtk/gtkobject.c: removed gtk_object_class_new_user_signal_no_recurse()
6558         again. new functions gtk_object_class_user_signal_new () and
6559         gtk_object_class_user_signal_newv (), to feature the GtkSignalRunType
6560         flag on the signal creation.
6561
6562 Mon Jun  8 20:52:21 1998  Tim Janik  <timj@gtk.org>
6563
6564         * gtk/gtkcontainer.h: new signal GtkContainer::set_focus_child.
6565
6566 Mon Jun  8 02:52:37 1998  Tim Janik  <timj@gtk.org>
6567
6568         * gdk/gdkprivate.h: 
6569         * gdk/gdktypes.h: 
6570         * gtk/gtkprivate.h: 
6571         * gtk/gtkwidget.h: 
6572         * gtk/gtkobject.h: wrapped enum definitions with glib macros.
6573
6574         * reworked enum value array generation code. gtk.defs is a generated
6575         file now.
6576
6577 Sun Jun  7 14:34:31 1998  Tim Janik  <timj@gtk.org>
6578
6579         * gtk/gtkitemfactory.c (gtk_item_factory_create_menu_entries): feature
6580         check menu items in the compatibility code (this required me to remove
6581         the "<check>" part from the menu item name, grrr).
6582
6583 1998-06-07  Marius Vollmer  <mvo@zagadka.ping.de>
6584
6585         * gdk/gdk.h (gdk_color_copy, gdk_color_free): New prototypes.
6586         * gdk/gdk.c (gdk_color_copy, gdk_color_free): New functions.
6587         
6588 Sun Jun  7 10:53:02 1998  Tim Janik  <timj@gtk.org>
6589
6590         * gtk/gtkitemfactory.h: 
6591         * gtk/gtkitemfactory.c: further additions to fit the gimp's code.
6592         additions to the dumping code to feature GtkPatternSpec.
6593         even found a bug to fix in the original code ;)
6594         
6595 Sun Jun  7 09:36:04 1998  Tim Janik  <timj@gtk.org>
6596
6597         * gtk/gtkitemfactory.c: support different types of callbacks, to
6598         maintain existing code.
6599
6600 Sat Jun  6 06:01:24 1998  Tim Janik  <timj@gtk.org>
6601
6602         * gtk/gtksignal.c (gtk_signal_emitv): fixed an assertment.
6603
6604         * gtk/makeenums.awk: a script to generate the GtkEnumValue arrays from,
6605         this should eventually be done by gentypeinfo.el somewhen.
6606         * gtk/gtkenumvalues.c: new generated file to hold GtkEnumValue arrays.
6607
6608         * gtk/gtktypeutils.h: new function gtk_enum_values() to retrive all the
6609         enum values of an enum type.
6610
6611         * gtk/gtk.defs:
6612         * gtk/gtkcurve.h: 
6613         * gtk/gtkobject.h: 
6614         * gtk/gtkprivate.h: 
6615         * gtk/gtkwidget.h:
6616         * gtk/gtkenums.h: 
6617         brought enum/flags definitions in sync, added a few more enum
6618         definitions for bindings and pattern matching.
6619
6620         * some more macro and GtkType fixups in various places.
6621
6622         * gdk/gdktypes.h (enum): added a new value GDK_AFTER_MASK, which is used
6623         as a key-release modifier for the binding system.
6624
6625 Fri Jun  5 06:06:06 1998  Tim Janik  <timj@gtk.org>
6626
6627         * gtk/gtkmenu.h (struct _GtkMenu): removed GList*children, since it
6628         was a stale list pointer that is already present in GtkMenuShell.
6629
6630         * gtk/gtkmenushell.h (struct _GtkMenuShellClass): added a signal
6631         GtkMenuShell::selection_done which is emitted after the menu shell
6632         poped down again and all possible menu items have been activated.
6633
6634 Thu Jun  4 02:20:42 1998  Tim Janik  <timj@gtk.org>
6635
6636         * gtk/gtkmenushell.c (gtk_menu_shell_button_release): flush the x-queue
6637         before activation of the menuitem, so the menu is actually taken off the
6638         screen prior to any menu item activation.
6639
6640         * gtk/gtkctree.c (gtk_ctree_get_row_data): allow function invokation
6641         for NULL nodes.
6642
6643         * gtk/gtkwidget.h:
6644         * gtk/gtkwidget.c: new function gtk_widget_stop_accelerator to stop
6645         the emission of the "add-accelerator" signal on a widget. this is
6646         usefull to prevent accelerator installation on certain widgets.
6647
6648         * gtk/gtknotebook.c (gtk_notebook_menu_item_create): keep the menu
6649         labels left justified, by setting their alignment. stop accelerator
6650         installation for the menu items, since we use dynamic menus.
6651
6652 Wed Jun  3 06:41:22 1998  Tim Janik  <timj@gtk.org>
6653
6654         * gtk/gtkmenufactory.c: adaptions to use the new accel groups. people
6655         should *really* use GtkItemFactory. this is only for preserving source
6656         compatibility where possible, use of GtkMenuFactory is deprecated as of
6657         now.
6658
6659         * gtk/gtkobject.h (gtk_object_class_add_user_signal): new function
6660         to create user signals of type GTK_RUN_NO_RECURSE. don't know why i
6661         missed this possibility when i added gtk_object_class_add_user_signal
6662         in late january.
6663
6664         * gtk/gtkmain.c (gtk_init): ignore subsequent function calls.
6665
6666 Sun May 31 07:31:09 1998  Tim Janik  <timj@gtk.org>
6667
6668         * gtk/gtkaccelgroup.h: 
6669         * gtk/gtkaccelgroup.c: new implementation of the accelerator concept.
6670
6671         * gtk/gtkaccellabel.h: 
6672         * gtk/gtkaccellabel.c: new widget derived from GtkLabel whitch features
6673         display of the accelerators associated with a certain widget.
6674
6675         * gtk/gtkitemfactory.h: 
6676         * gtk/gtkitemfactory.c: new widget, item factory with automatic rc
6677         parsing and accelerator handling.
6678
6679         * gtk/gtkmenu.c (gtk_menu_reposition): new function to care for
6680         positioning a menu.
6681         (gtk_menu_map): removed the allocation code.
6682         (gtk_menu_size_allocate): care for redrawing of children and resize
6683         our widget->window correctly.
6684         (gtk_menu_key_press): feature the new accelerator groups.
6685
6686         * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): reposition the
6687         submenu if neccessary.
6688
6689         * gtk/gtkmenuitem.c:
6690         * gtk/gtkcheckmenuitem.c:
6691         * gtk/gtkradiomenuitem.c: use GtkAccelLabel in the *_new_with_label()
6692         function variants.
6693
6694         * gdk/gdk.c:
6695         (gdk_keyval_from_name): 
6696         (gdk_keyval_name): new functions for keyval<->key-name associations.
6697         (gdk_keyval_to_upper): 
6698         (gdk_keyval_to_lower): 
6699         (gdk_keyval_is_upper): 
6700         (gdk_keyval_is_lower): new functions to check/translate keyvalues with
6701         regards to their cases.
6702
6703 Wed May 27 00:48:10 1998  Tim Janik  <timj@gtk.org>
6704
6705         * gtk/gtkwidget.c (gtk_widget_class_path): new function to calculate a
6706         widget's class path.
6707         (gtk_widget_path): new function to calculate a widget's name path.
6708
6709         * gtk/gtkrc.c: newly introduced GtkPatternSpec structures to speed up
6710         pattern matching, features reversed pattern matches.
6711
6712 Thu Jun  4 12:12:11 BST 1998  Tony Gale  <gale@gtk.org>
6713
6714         * examples/extract.sh, examples/extract.awk:
6715           New files to automagically extract code examples from the
6716           tutorial.
6717
6718 Tue Jun  2 20:04:45 1998  Lars Hamann  <lars@gtk.org>
6719
6720         * gtk/gtknotebook.c (gtk_notebook_page_select) (gtk_notebook_focus)
6721         * gtk/gtkcontainer.c (gtk_container_focus_move):
6722         reversed test sequence for GTK_WIDGET_CAN_FOCUS and GTK_IS_CONTAINER
6723
6724 Tue Jun  2 13:04:06 BST 1998  Tony Gale  <gale@gtk.org>
6725
6726         * docs/gtk_tut.sgml: minor changes to support auto
6727           extraction of example code
6728
6729 Mon Jun  1 12:47:56 BST 1998  Tony Gale  <gale@gtk.org>
6730
6731         * docs/gtk_tut_it.sgml: Update of Italian Tutorial
6732           to Tutorial of 24th May, from Daniele Canazza <dcanazz@tin.it>
6733
6734 Fri May 29 13:53:57 BST 1998  Tony Gale  <gale@gtk.org>
6735
6736         * docs/gtk_tut.sgml:
6737           - new section on Events
6738           - change all delete_event callbacks to include
6739             a GdkEvent parameter
6740           - clean up the formatting
6741
6742         * examples - helloworld.c, helloworld2.c, notebook.c,
6743           packbox.c, pixmap.c, progressbar.c, radiobuttons.c,
6744           rulers.c, table.c, wheelbarrow.c: change all delete_event
6745            callbacks to include a GdkEvent parameter.
6746
6747 1998-05-26  Federico Mena Quintero  <federico@nuclecu.unam.mx>
6748
6749         * gdk/gdktypes.h (GdkCrossingMode): New enumeration for the "mode"
6750         field of crossing events.
6751         (struct _GdkEventCrossing): Added the following fields: time, x,
6752         y, x_root, y_root, mode, focus, state.
6753
6754         * gdk/gdk.c (gdk_event_translate): Fill in the new fields of the
6755         crossing event structure.
6756
6757         * gtk/gtkfeatures.h (GDK_HAVE_FULL_CROSSING_EVENT): Annotate
6758         changes to the crossing event structure.
6759
6760 Tue May 26 15:51:28 1998  Radek Doulik  <gis@academy.cas.cz>
6761
6762         * gdk/gdk.c: include gdkx.h always (for GDK_ROOT_WINDOW)
6763
6764 Sun May 24 12:11:38 BST 1998  Tony Gale  <gale@gtk.org>
6765
6766         * docs/gtk_tut.sgml:
6767            - GtkTooltips, update to current API
6768            - change all 'gpointer *data' to 'gpointer data'
6769            - other minor changes
6770
6771 Sat May 23 21:54:05 1998  Owen Taylor  <otaylor@gtk.org>
6772
6773         * configure.in (LDFLAGS): Bomb out with a moderately
6774           helpful message if detection of X libraries fails.
6775
6776 Sat May 23 18:57:06 1998  Owen Taylor  <otaylor@gtk.org>
6777
6778   [ Combination of:
6779      gtk-rrh-980412-0.patch (Raja R Harinath <harinath@cs.umn.edu>)
6780      gtk-jbuhler-980516-0 (Jeremy Buhler <jbuhler@cs.washington.edu>) ]
6781
6782         * gdk/gdk.h gdk/gdkcc.c gdk/gdkfont.c gtk/gtkmain.c
6783           gtk/gtksignal.c gtk/gtktext.c: 
6784
6785           Fixups for warnings from adding const to type of GHashFunc,
6786           GCompareFunc
6787         
6788         * gtk/gtkcombo.c (gtk_combo_entry_key_press): Minor style/
6789           ansi-warnings fixups.
6790
6791 Sat May 23 17:48:58 1998  Owen Taylor  <otaylor@gtk.org>
6792
6793         * gtk/gtkeventbox.c (gtk_event_box_size_allocate): 
6794         Locate child at (border_width,border_width), not
6795         (2*border_width,2*border_width). [ The border is _outside_
6796         widget->window ]
6797         
6798         * gdk/gdk.[ch]: added gdk_screen_width_mm/gdk_screen_height_mm
6799           functions. [From: Alexander Larsson <alla@lysator.liu.se> ]
6800
6801 1998-05-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>
6802
6803         * gtk/gtkfeatures.h.in: Define GTK_HAVE_RC_SET_IMAGE_LOADER, to be
6804         used in gnome-libs
6805
6806 1998-05-22    <sopwith@redhat.com>
6807
6808         * gtk/gtkeventbox.c: Pass size_allocate on to the child
6809         regardless of whether it is visible or not. Also
6810         locate child at (border_width,border_width), not (0,0)
6811
6812 Fri May 22 03:02:40 1998  Owen Taylor  <otaylor@gtk.org>
6813
6814         * gtk/gtkhandlebox.c: Added style_set handler.
6815
6816 Fri May 22 02:55:57 1998  Owen Taylor  <otaylor@gtk.org>
6817  [ From: Chris Lahey  <clahey@umich.edu> ]
6818         
6819         * gtk/gtkeditable.c, gtk/gtkeditable.h,
6820           gtk/gtktext.c, gtk/gtkentry.c: Added get_position,
6821           and set_position functions to get and set the cursor position.
6822
6823         * gtk/gtkeditable.c: Restored "insert_text" and "delete_text" to
6824           signal status. Make GtkText do user-controlled insertion
6825           and deletion through the Editable widget so that these
6826           signals are properly emitted.
6827
6828         * gtk/gtkentry.c: Changed gtk_entry_set_visibility to 
6829           display asterisks instead of empty space when visible = FALSE)
6830
6831 Fri May 22 08:51:10 CEST 1998  Paolo Molaro <lupus@debian.org>
6832
6833         * gtk/gtkclist.c: use GTK_TYPE_GDK_EVENT in (un)?select_row
6834         signal.
6835
6836 1998-05-21    <sopwith@redhat.com>
6837
6838         * gtk/gtkrc.[ch]: gtk_rc_set_image_loader() - allow apps to set a
6839         custom routine for loading images specified in gtkrc's.
6840
6841 Tue May 19 23:41:04 1998  Owen Taylor  <otaylor@gtk.org>
6842
6843         * configure.in: Use pthread_attr_init() as a test function,
6844         since most of the rest of -lpthread is macros on DU4.
6845
6846 Tue, 19 May 1998 09:03:03 +0200  Paolo Molaro <lupus@debian.org>
6847
6848         * gtk/gtkcombo.c: implemented completion in the entry.
6849
6850 1998-05-18    <sopwith@moebuis.labs.redhat.com>
6851
6852         * gtk/gtk{debug.h,signal.c,main.c}: Allow GTK_DEBUG=signals
6853
6854 Mon May 18 04:01:41 1998  Tim Janik  <timj@gtk.org>
6855
6856         * gtk/gtkwidget.c (gtk_widget_class_init): changed "proximity-in-event",
6857         "drop-data-available-event", "drop-enter-event" and "drop-leave-event"
6858         to be of runtype GTK_RUN_LAST.
6859
6860         * gtk/gtkcontainer.c (gtk_container_class_init): likewise for
6861         "need-resize".
6862
6863         * gtk/gtktipsquery.c (gtk_tips_query_class_init): likewise for
6864         "widget-selected".
6865
6866 Sat May 16 09:04:32 1998  Tim Janik  <timj@gtk.org>
6867
6868         * gtk/gtkfilesel.c (gtk_file_selection_key_press): g_strdup() the
6869         text retrived from GtkEntry. only intercept the Tab key if there
6870         was some text to complete.
6871
6872 Fri May 15 21:16:54 1998  Owen Taylor  <otaylor@gtk.org>
6873
6874         Basic thread-awareness:
6875
6876         * acconfig.h configure.in: New option --with-threads=[yes/posix/no]
6877
6878         * gdk/Makefile.am gdk/gdkthreads.c: Added new functions 
6879         gdk_threads_[init/enter/leave] for applications, plus
6880         gdk_threads_wake to wake the mainloop thread out of
6881         the select().
6882
6883         * gtk/Makefile.am: gtk/testthreads.c: Test program for threads
6884
6885 Fri May 15 12:08:48 1998  Owen Taylor  <otaylor@gtk.org>
6886
6887         * gtk/testgtk.c (list_clear): Account for the fact
6888         that gtk_list_clear_items is not inclusive. (Clears
6889         [start, end))
6890
6891 Fri May 15 12:31:27 1998  rodo  <doulik@karlin.mff.cuni.cz>
6892
6893         * gdk/gdk.c: include gdkkeysyms.h always
6894         
6895
6896 Fri May 15 09:44:10 1998  Tim Janik  <timj@gtk.org>
6897
6898         * gtk/gtkwidget.h (struct _GtkWidgetClass): corrected returntype of
6899         the visibility_notify_event method and changed method order.
6900
6901 1998-05-14    <sopwith@moebuis.labs.redhat.com>
6902
6903         * gtk/gtkwidget.[ch] Added visibility_notify_event to GtkWidget
6904
6905 Thu May 14 03:04:43 1998  Tim Janik  <timj@gtk.org>
6906
6907         * gtk/gtk.defs: added GtkButtonBoxStyle and GtkOrientation definitions
6908         from Olli Helenius <ollhel@batman.jytol.fi>.
6909
6910         * gtk/gtktypeutils.c (gtk_type_free): new function to take care about
6911         freeing types.
6912         (gtk_type_set_chunk_alloc): new function to allow allocation of new
6913         types from a mem_chunk of certain size (n_chunks==0 indicates allocation
6914         thorugh g_malloc).
6915
6916         * gtk/gtkobject.c (gtk_object_finalize): free an object through
6917         gtk_type_free().
6918
6919         * gtk/gtkbutton.c (gtk_button_get_type): set chunk preallocation for
6920         GtkButtons to 16.
6921         * gtk/gtkmenuitem.c (gtk_menu_item_get_type): likewise (16).
6922         * gtk/gtklabel.c (gtk_label_get_type): likewise (32).
6923
6924 Wed May 13 00:53:52 1998  Owen Taylor  <otaylor@gtk.org>
6925
6926         * gtk/gtktypeutils.c gtk/gtksignal.c gdk/gdkdnd.c: A few more 
6927           GPOINTER_TO_UINT fixes.
6928
6929         * gtk/gtksignal.c: Include <string.h> for memset.
6930
6931 Tue May 12 23:10:53 1998  Owen Taylor  <otaylor@gtk.org>
6932         (Maximilian Bisani <bisani@kawo2.rwth-aachen.de>: gtk-bisani-980320-0)
6933
6934         * gtk/gtkvruler.c gtk/gtkhruler.c gtk/gtkruler.h: 
6935         Cleanups, comments and the ability to have rulers with 
6936         a reversed direction.
6937
6938 Tue May 12 19:37:55 1998  Owen Taylor  <otaylor@gtk.org>
6939
6940         * gtk/gtkrc.c (gtk_rc_parse_file): Fixed up a stat()
6941         that Sopwith missed when changing stat => lstat.
6942
6943 Tue May 12 19:19:29 1998  Owen Taylor  <otaylor@gtk.org>
6944
6945         * gtk/gtkinputdialog.c gtk/gtkgamma.c gtk/gtkrc.c
6946           gtk/gtkcolorsel.c gtk/gtkclist.c gtk/testgtk.c: Use
6947         GPOINTER_TO_INT/GINT_TO_POINTER macros where appropriate.
6948
6949         * gdk/gdk.c: Print sizeof() results
6950         as g_print("%ld", (glong)sizeof(foo)), to deal with
6951         sizeof() being long on Alpha's.
6952
6953         * gtk/testgtk.c: include <string.h> for strlen
6954
6955 Tue May 12 16:56:35 1998  Owen Taylor  <otaylor@gtk.org>
6956         (James A <jamesa@demon.net> : gtk-jamesa-980511-4.patch)
6957         
6958         * gtk/gtkbbox.h gtk/gtkcolorsel.h gtk/gtkvbbox.h:
6959         Changed #include "gtkfoo.h" to #include <gtk/gtkfoo.h>
6960
6961         * gtk/gtkwindow.[ch]: Added const to gtk_window_set_wmclass
6962
6963 Tue May 12 15:16:10 1998  Owen Taylor  <otaylor@gtk.org>
6964         (From: Christopher James Lahey <clahey@umich.edu>)
6965         
6966         * gtk/gtkbutton.[ch] gtk/gtkenums.h gtk/gtktoolbar.[ch]
6967           gtk/testgtk.c:
6968
6969         Added 'relief' for buttons - they can be either GTK_RELIEF_NORMAL
6970         (old style), or GTK_RELIEF_NONE - no relief in the NORMAL
6971         state. Added gtk_toolbar_{set,get}_button_relief, which set/get
6972         the default relief for the toolbars buttons. Added an
6973         toggle for the toolbar test in testgtk.c.
6974
6975 Tue May 12 00:24:59 1998  Owen Taylor  <otaylor@gtk.org>
6976
6977         * docs/gtk-config.1: Rewritten and hopefully improved.
6978
6979 Mon May 11 20:26:39 PDT 1998 Manish Singh <yosh@gimp.org>
6980
6981         * docs/Makefile.am
6982         * docs/gtk-config.1: added man page for gtk-config by Ben Gertzfield
6983
6984 1998-05-11  Federico Mena Quintero  <federico@nuclecu.unam.mx>
6985
6986         * gtk/gtkpreview.c (gtk_preview_realize): Create the window using
6987         GtkPreview's visual and colormap, otherwise things can BadMatch.
6988
6989         * gtk/testgtk.c (create_color_preview): 
6990         (create_gray_preview): Removed pushing/popping of visual/colormap
6991         now that GtkPreview does things correctly.
6992
6993         * gtk/gtkcolorsel.c (gtk_color_selection_draw_wheel_frame): 
6994         (gtk_color_selection_draw_wheel): Pick the style from the correct
6995         place (the colorsel->wheel_area widget) so that the GCs will match
6996         with where we are going to paint to.
6997
6998         * gtk/testgtk.c (create_color_selection): Removed pushing/popping
6999         of visual/colormap now that GtkColorSelection does things the
7000         right way.
7001
7002 Mon May 11 21:04:51 1998  Owen Taylor  <otaylor@gtk.org>
7003
7004         * gtk/gtkwindow.c (gtk_real_window_move_resize): Use the
7005         previously unused window->need_resize flag to mark if a window's
7006         descendents changed size while the window was not visible. In this
7007         case, when the window becomes visible, we reallocate everything,
7008         since we didn't keep track of what actually changed.
7009
7010         (Fixes bug where changing the popdown strings of a
7011         combo to something of the same length caused them to
7012         blank out, as reported by Todd Dukes <tdukes@ibmoto.com>)
7013
7014 Tue May 12 02:31:57 1998  Tim Janik  <timj@gtk.org>
7015
7016         [security audit by Alan Cox]
7017
7018         * gtk/gtkobject.c (gtk_object_get_arg_type): check for arg_name to not
7019         exceed maximum assumed size.
7020
7021         * gtk/gtkmenufactory.c (gtk_menu_factory_create): check that `path' does
7022         not exceed maximum assumed size.
7023         (gtk_menu_factory_remove): likewise.
7024         (gtk_menu_factory_find_recurse): likewise.
7025
7026 Mon May 11 23:53:38 1998  Tim Janik  <timj@gtk.org>
7027
7028         * gtk/gtkwidget.c (gtk_widget_queue_resize): queue the idle_sizer with
7029         GTK_PRIORITY_INTERNAL - 1, so widgets get first resized and then
7030         redrawn if that is still neccessary. don't allow queueing of already
7031         destructed objects.
7032         (gtk_widget_idle_sizer): proccess the resize queue in a save manner, so
7033         widgets which are in the queue can be destroyed safely, handle
7034         requeueing properly.
7035         (gtk_widget_idle_draw): proccess the redraw queue in a save manner, so
7036         widgets which are in the queue can be destroyed/unrealized safely.
7037
7038 Mon May 11 17:54:44 BST 1998 Tony Gale  <gale@gtk.org>
7039
7040         * gtkfaq.sgml: add question on multi-threading,
7041           minor URL cleanups.
7042
7043 Mon May 11 09:56:45 1998  Tim Janik  <timj@gtk.org>
7044
7045         * configure.in (cflags_set): preserve automake CFLAGS.
7046
7047         * Makefile.am: fully rename the created libraries to libgtk-1.1.la
7048         and libgdk-1.1.la. this means we need to change certain portions of
7049         the Makefile.am on major/minor version bumps.
7050
7051         * ltmain.sh: the -release option is not required anymore.
7052         
7053         * gtk/gtkobject.h (gtk_trace_referencing): compile time check the type
7054         of the first argument to be of type GtkObject. unconditionally compile
7055         this function. removed __GNUC__ dependancy of the gtk_object_ref and
7056         gtk_object_unref macro wrappers for this function.
7057
7058 Mon May 11 02:31:19 1998  Tim Janik  <timj@gtk.org>
7059
7060         * gtk/gtkobject.h:
7061         * gtk/gtkobject.c:
7062         (gtk_object_data_try_key):
7063         (gtk_object_data_force_id): these are now macros substituting the old
7064         functions. we just use the corresponding g_dataset_* functions for
7065         key->id associations. (this is to assure unique key<->id associations).
7066
7067 1998-05-10  Stefan Jeske  <stefan@gtk.org>
7068
7069         * gtk/gtkctree.c (gtk_ctree_is_visible): Changed return value
7070         to gboolean.
7071
7072         * docs/gtk.texi (GtkCTree): Started documentation of GtkCTree.
7073
7074 Sat May  9 20:11:20 1998  Owen Taylor  <otaylor@gtk.org>
7075
7076         * configure.in (LIBS): Try to figure out if this
7077         is Digital Unix and we need -std1 to get the
7078         right prototypes.
7079
7080 Sat May  9 16:30:33 BST 1998 Tony Gale  <gale@gtk.org>
7081
7082         * docs/gtk_tut_it.sgml: update of Italian tutorial
7083           translation from Daniele Canazza <dcanazz@tin.it>
7084
7085 Sat May  9 02:34:41 1998  Tim Janik  <timj@gtk.org>
7086
7087         * gtk/gtkfeatures.h.in: new file used as template for
7088         * gtk/gtkfeatures.h: new file to define macros indicating newly
7089         introduced features, such as GTK_HAVE_SIGNAL_INIT.
7090
7091         * gtk/gtksignal.c:
7092         (gtk_signal_emitv_by_name):
7093         (gtk_signal_emitv):
7094         new functions to emit signals with an already provided parameter set.
7095         (provided by Kenneth Albanowski <kjahds@kjahds.com>).
7096         (gtk_signal_real_emit): prototype changes, so this functions always
7097         gets its parameters and signal structure as arguments.
7098         (gtk_signal_emit): provide the signal structure and parameter list for
7099         gtk_signal_real_emit.
7100         (gtk_signal_emit_by_name): likewise.
7101
7102 Sat May  9 00:03:12 1998  Tim Janik  <timj@gtk.org>
7103
7104         * gtk/gtksignal.c (gtk_signal_handler_unref): reflect the presence of
7105         signal connections through unsetting GTK_CONNECTED.
7106         (gtk_signal_handler_insert): reflect the presence of signal connections
7107         through setting GTK_CONNECTED.
7108         (gtk_signal_real_emit): only check for handler emissions if the object
7109         has the GTK_CONNECTED flag set.
7110         (gtk_signal_handler_pending): don't check for pending handlers if the
7111         GTK_CONNECTED flag is not set for this object.
7112
7113         * gtk/gtkobject.h (enum): new flag GTK_CONNECTED to indicate whether
7114         a GtkObject has signal handler connections.
7115
7116         * gtk/gtkobject.c (gtk_object_real_destroy): only if GTK_CONNECTED is
7117         set for this object call gtk_signal_handlers_destroy().
7118         
7119         * gtk/gtktypeutils.h (GTK_TYPE_IS_A): deprecated macro, since it caused
7120         multiple processing of macro args.
7121
7122         * gtk/gtktypeutils.c:
7123         * gtk/gtkobject.c:
7124         * gtk/gtkwidget.c:
7125         * gtk/gtksignal.c: reverted GTK_TYPE_IS_A back to gtk_type_is_a.
7126
7127 Fri May  8 21:31:50 1998  Owen Taylor  <otaylor@gtk.org>
7128
7129         * gtk/gtkwidget.c (gtk_widget_queue_draw): Free the
7130         draw-queue when we are done. 
7131
7132         (gtk_widget_queue_draw/_queu_resize): Always return
7133         FALSE and avoid having two idles at the same time.
7134         
7135 Fri May  8 21:04:00 1998  Owen Taylor  <otaylor@gtk.org>
7136
7137         * gtk/gtktext.c: Various fixes to make sure cache
7138         lines are freed if line_start_cache doesn't point to the
7139         beginning of the cache.
7140
7141 Thu May  7 09:44:22 1998  Owen Taylor  <otaylor@gtk.org>
7142
7143         * style_set improvements for GtkText and GtkEntry
7144
7145 Thu May  7 19:03:50 1998  Tim Janik  <timj@gtk.org>
7146
7147         * gtk/gtktypeutils.c (gtk_type_unique): asure that the type system has
7148         been initialized.
7149
7150 Thu May  7 12:52:45 1998  Tim Janik  <timj@gtk.org>
7151
7152         * gtk/gtkobject.c (gtk_object_set_data_by_id_full): allocate object
7153         data chunks through a global object data structure list. unlink
7154         object data before invoking its destroy function.
7155         (gtk_object_finalize): slight modification to allow usage of object
7156         data during object finalization.
7157
7158 Thu May  7 10:29:24 1998  Tim Janik  <timj@gtk.org>
7159
7160         * gtk/gtksignal.c (gtk_signal_newv): suport middle dashes ('-') in
7161         signal names, e.g. "signal-name" is now an alias for "signal_name".
7162         (gtk_signal_handler_new): allocate handlers through a global handler
7163         structure list, that's faster than memchunks.
7164         (gtk_emission_new): allocate emissions through a global emission
7165         structure list, that's faster than memchunks.
7166
7167 Thu May  7 05:14:19 1998  Tim Janik  <timj@gtk.org>
7168
7169         * gtk-config.in (--libs): postfix -lg* libraries with LT_RELEASE.
7170
7171         * ltmain.sh: added a new commandline flag -postfix similar to -release,
7172         but will immediately change the library name.
7173
7174         * gdk/Makefile.am:
7175         * gtk/Makefile.am: specify -postfix and -version-info
7176
7177         * configure.in: version bump to 1.1.0. added GTK_INTERFACE_AGE and
7178         GTK_BINARY_AGE. calculate LT_* variables for libtool.
7179
7180 1998-05-06  Federico Mena Quintero  <federico@nuclecu.unam.mx>
7181
7182         * gtk/gtkclist.c (draw_row): Fixed incorrect painting of row
7183         background (fg_set -> bg_set confusion).
7184
7185 1998-05-06  Stefan Jeske  <stefan@gtk.org>
7186
7187         * gtk/testgtk.c (unselect_all): Removed code that caused an
7188         endless loop.
7189
7190 Wed May  6 02:16:34 1998  Tim Janik  <timj@gtk.org>
7191
7192         * gtk/gtksignal.c: reimplemented the signal storage system to use a
7193         linear array rather than a hash table.
7194         be carefull *not* to keep any GtkSignal pointers across invokations
7195         of gtk_signal_next_and_invalidate() and therefore gtk_signal_new[v]().
7196         general code cleanups, made all allocations through memchunks.
7197         (gtk_signal_lookup): we now do the lookup of signals through a key_id
7198         for the signal names to avoid multiple hashing of the signal name on
7199         lookups for the several hirarchy levels of an object.
7200
7201 Tue May  5 19:49:27 1998  Owen Taylor  <otaylor@gtk.org>
7202
7203         * gdk/gdkpixmap.c: Patches from Gordon Matzigkeit
7204         to speed things up and remove code duplication.
7205
7206         Reintegrated buffer overflow patches, and added
7207         some extra paranoia.
7208         
7209 Tue May  5 17:04:14 1998  Owen Taylor  <otaylor@gtk.org>
7210
7211         * gdk/gdk.c (gdk_event_translate): A guint * was
7212         being passed where X expected a Keysym *, and
7213         keysyms are long's on Alpha Linux. This was causing
7214         segfaults in Xlib, apparently because of alignment.
7215         (Bug located by Juergen Haas <haas@forwiss.uni-passau.de>)
7216         
7217 Tue May  5 19:11:27 1998  Owen Taylor  <otaylor@gtk.org>
7218
7219         * gtk/gtkdrawingarea.c (gtk_drawing_area_realize): Always
7220         set GDK_EXPOSURE_MASK for DrawingAreas
7221
7222 Tue May  5 14:32:37 1998  Owen Taylor  <otaylor@gtk.org>
7223
7224         * gtk/gtkwidget.[ch]: removed gtk_widge_propagate_default_style
7225         (superceded by RC file reparsing capabilities)
7226
7227         * gtk/gtkwindow.c: Add handling for _GDK_READ_RFCILES client
7228         events. (Shouldn't be sent to the InputOnly leader, which
7229         it is now by gdk_event_send_clientmessage_toall
7230
7231         * gtk/testgtk.c: Added extra button to rcfiles test
7232         to send out _GDK_READ_RCFILES events.
7233         
7234 Tue May  5 11:03:00 1998  Owen Taylor  <otaylor@gtk.org>
7235
7236         * gtk/gtkselection.c (gtk_selection_clear): Fixed
7237         reversed conditionals that caused segfault on some
7238         platforms.
7239
7240 Tue May  5 00:44:47 1998  Owen Taylor  <otaylor@gtk.org>
7241
7242         * gtk/gtkcontainer.c (gtk_container_set_focus_[hv]adjustment):
7243         cast to GTK_OBJECT for gtk_object_ref.
7244
7245 Tue May  5 15:33:27 1998  Tim Janik  <timj@gtk.org>
7246
7247         * gtk/gtkmain.c (gtk_init): added gtk_signal_init() to avoid repeatedly
7248         checking for signal initialization in gtksignal.c.
7249
7250         * gtk/gtktypeutils.c (TYPE_NODES_BLOCK_SIZE): reseted this to 200 after
7251         a long debugging period ;)
7252
7253 1998-05-05  Stefan Jeske  <stefan@gtk.org>
7254
7255         * gdk/gdkgc.c gdk/gdk.h gtk/gtkctree.c (gdk_gc_set_dashes):
7256         New function to wrap XSetDashes; modified gtkctree.c to use it.
7257
7258 1998-05-04  Federico Mena Quintero  <federico@nuclecu.unam.mx>
7259
7260         * configure.in: Added $x_libs in the other_libraries field in the
7261         check for XShapeCombineMask.
7262
7263 Mon May  4 00:30:11 1998  Tim Janik  <timj@gtk.org>
7264
7265         * gtk/gtktypeutils.h (GTK_TYPE_IS_A): new macro to speedup
7266         gtk_type_is_a().
7267         * gtk/gtktypeutils.c: reimplemented the type storage system to use a
7268         linear array rather than a hash table. it actually speeded up testgtk
7269         for a *considerable* amount. be carefull *not* to keep any GtkTypeNode
7270         pointers across invokations of gtk_type_node_next_and_invalidate() and
7271         therefore gtk_type_unique()!
7272
7273         * gtk/gtkobject.h (GTK_IS_OBJECT_CLASS): new macro to test for the
7274         inheritance of a class pointer.
7275         (GTK_OBJECT): modifications for speedups.
7276         (GTK_IS_OBJECT): likewise.
7277         (GTK_OBJECT_CLASS): likewise.
7278         (suggested by owen).
7279
7280         * gtk/gtkcontainer.h (GTK_IS_CONTAINER_CLASS): new macro.
7281
7282         * gtk/gtkwidget.h (GTK_IS_WIDGET_CLASS): new macro.
7283
7284         * gtk/gtk.defs (GtkTooltips): define GtkTooltips as object not as boxed,
7285         since its derivation changed 4 month ago ;(. showed up with the unique
7286         type name checking code in gtk_type_unique().
7287
7288         * random guint->GtkType and macro fixups.
7289
7290 Sat May  2 23:14:34 1998  Owen Taylor  <otaylor@gtk.org>
7291
7292         * gtk/gtkcurve.c (gtk_curve_graph_events): Ignore
7293         Configure events that would result in a negative
7294         size.
7295
7296 Sun May  3 14:55:34 1998  Owen Taylor  <otaylor@gtk.org>
7297
7298         * docs/gtkfaq.sgml (CPPFLAGS): Added a FAQ entry about
7299         "glibconfig.h" and another about writing another IRC
7300         client.
7301
7302 Sat May  2 00:14:05 1998  Owen Taylor  <otaylor@gtk.org>
7303
7304         * gtk/gtkpreview.c (gtk_trim_cmap): Make sure the
7305         parameters to log are doubles. Digital Unix apparently
7306         is missing the argument in its prototype.
7307
7308 Sun May  3 19:04:46 1998  Owen Taylor  <otaylor@gtk.org>
7309
7310         * gtk/gtklabel.c (gtk_label_state_changed): Don't
7311         force a clear until the widget is actually on
7312         screen.
7313
7314 Sun May  3 21:32:35 1998  Owen Taylor  <otaylor@gtk.org>
7315
7316         * gdk/gdk.c (gdk_event_translate): Grab with OwnerEvents = False
7317         to make this consistent with the gtk-1-0 tree.
7318
7319 Sun May  3 13:38:22 1998  Owen Taylor  <otaylor@gtk.org>
7320
7321         * configure.in acheader.h gdk/gdkwindow.c 
7322         Check for Shape extension both on the client and server
7323         side. (And, more importantly, check for the shape extension
7324         so we may include -lXext even when compiling with --disable-xshm)
7325
7326         Don't set override_redirect on all shaped windows. It isn't
7327         necessary.
7328
7329         * gdk/gdkwindow.c: Set ->colormap to NULL for root 
7330         and foreign windows. Use this to check if we
7331         need to get the colormap from X.
7332
7333 Fri May  1 22:32:47 1998  Owen Taylor  <otaylor@gtk.org>
7334
7335         * gtk/gtkbutton.c (gtk_button_paint): Draw the areas
7336         between the default and the button always in GTK_STATE_NORMAL.
7337
7338         * gtk/gtkrange.c (gtk_range_style_set): Added a style_set
7339         callback.
7340
7341 Fri May  1 16:40:57 1998  Owen Taylor  <otaylor@gtk.org>
7342
7343         * gdk/gdkpixmap.c (gdk_pixmap_colormap_create_from_xpmp[_d]):
7344           Fix a buffer overflow on pixmaps that claim to have
7345           more than 31 characters per pixel.
7346
7347           (gdk_pixmap_read_string): Don't wrap around strings longer
7348           than half of address space ;-)
7349
7350         * gtk/gtk[vh]ruler.c gtk/gtkinputdialog.c: Expand some buffers
7351         that were used for printing integers.
7352
7353         * */* (almost):
7354
7355         Style: All 
7356           int foo () { ... }
7357         changed to
7358           int foo (void) { ... }
7359
7360         Even where there were proper prototypes elsewhere.
7361
7362         * gdk/gxid.c (handle_claim_device): Some extra checks.
7363         It isn't safe against being fed bad X id's, but at
7364         least it should be safe against deleting all your
7365         files.
7366
7367 Sun May  3 19:45:09 1998  Tim Janik  <timj@gtk.org>
7368
7369         * gtk/gtkadjustment.c (gtk_adjustment_assimilate_value): new function
7370         to set the adjustments value when there is no current emission.
7371         [ Removed by mutual agreement owt 5/3/1998 ]
7372
7373         * gtk/gtksignal.c: added new functions to retrive the number of
7374         existing emissions for a certain signal.
7375         (gtk_signal_n_emissions): new function.
7376         (gtk_signal_n_emissions_by_name): new function.
7377
7378 Sun May  3 16:55:43 1998  Tim Janik  <timj@gtk.org>
7379
7380         * gtk/gtkcontainer.c (gtk_container_set_focus_child): new function to
7381         set the current focus_child of a container, does proper referencing and
7382         adjusts the vadjustment/hadjustment associated with the focus widget.
7383
7384         * gtk/gtkwidget.c (gtk_widget_grab_focus): set the focused child on
7385         containers via gtk_container_set_focus_child.
7386
7387         * gtk/gtknotebook.c: modifications to use gtk_container_set_focus_child
7388         where appropriate.
7389
7390         * gtk/gtkcontainer.c (gtk_container_remove): removed unsetting of focus
7391         child since not every child removal goes through this function (this
7392         showed up after gtk_container_set_focus_child() started to reference the
7393         focus_child of a container).
7394
7395         * gtk/gtkwidget.c (gtk_widget_unparent): moved unsetting the focus_child
7396         of a container from gtk_container_remove into this place.
7397
7398 Sat May  2 22:33:45 1998  Tim Janik  <timj@gtk.org>
7399
7400         * gtk/gtksignal.c: added new functions to operate on intermediate
7401         function pointers. implemented incremental blocking.
7402         (gtk_signal_disconnect_by_func): new function.
7403         (gtk_signal_handler_block_by_func): new function.
7404         (gtk_signal_handler_unblock_by_func): new function
7405
7406 Fri May  1 22:45:55 1998  Owen Taylor  <otaylor@gtk.org>
7407
7408         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_size_allocate):
7409         Always show the scrollbars when the policy is
7410         GTK_POLICY_ALWAYS...
7411
7412 Sat May  2 20:19:03 1998  Tim Janik  <timj@gtk.org>
7413
7414         * gtk/gtkadjustment.c (gtk_adjustment_set_value): only emit
7415         "value_changed" if we really passed a new value.
7416         (gtk_adjustment_changed): new function to emit the "changed" signal.
7417         (gtk_adjustment_set_value): new function to emit the "value_changed"
7418         signal.
7419
7420 Fri May  1 12:28:35 1998  Owen Taylor  <otaylor@gtk.org>
7421
7422         * gtk/gtkcombo.c: Further changes to the way the window
7423         is popped up so that it will be compatible with 
7424         auto-scrolling in the future.
7425
7426 Fri May  1 20:25:29 1998  Tim Janik  <timj@gtk.org>
7427
7428         * gtk/gtkcombo.c (gtk_combo_popup_list): do not just return if
7429         the combo-list is empty since that will cause the combo to operate
7430         on a non existing GtkList window.
7431         (gtk_combo_get_pos): provide the combo list with a usfull default
7432         height if empty.
7433         (gtk_combo_popup_button_press): grab the focus.
7434         (gtk_combo_activate): grab the focus.
7435
7436 Fri May  1 12:06:43 1998  Owen Taylor  <otaylor@gtk.org>
7437
7438         * gtk/gtkwindow.[ch] (gtk_widget_reset_rc_styles): New
7439         function to reset the RC styles for a heirarchy
7440
7441         Clear the window background if necessary in
7442         gtk_window_style_set.
7443
7444         * gtk/gtkrc.[ch]: New function gtk_rc_reparse_all() which
7445         rereads all previously read RC files.
7446
7447         * gdk/gdkwindow.c gdk/gdk.h: New function gdk_window_get_toplevels().
7448         (Should it just be called gdk_get_toplevels?)
7449
7450         * gtk/testgtk.c: New test to reload RC files.
7451
7452 Fri May  1 13:57:36 1998  Tim Janik  <timj@gtk.org>
7453
7454         * gtk/gtkclist.h:
7455         * gtk/gtkclist.c: prefixed all clist flags with GTK_ to avoid name
7456         clashes. redefined GTK_CLIST_SET_FLAGS and GTK_CLIST_UNSET_FLAGS as
7457         GTK_CLIST_SET_FLAG and GTK_CLIST_UNSET_FLAG to automatically add
7458         the GTK_ prefix (this solution involved less changes in the
7459         gtkclist.c code). added a GTK_CLIST_CONSTRUCTED flag to substitute
7460         the mem_chunk==NULL test in gtk_clist_construct. merged in changes
7461         from lars & stefan to support the derivation of GtkCtree.
7462
7463         * gtkctree.h:
7464         * gtkctree.c:
7465         initial import of a tree widget derived from gtkclist, courtesy
7466         of Lars Hamann <lars@gtk.org> and Stefan Jeske <jeske@gtk.org>,
7467         it just damn rocks!
7468
7469 Fri May  1 10:05:44 1998  Tim Janik  <timj@gtk.org>
7470
7471         * gtk/gtklist.c (gtk_list_add): let gtk_list_append_items do the work
7472         for us.
7473         (gtk_list_insert_items):
7474         (gtk_list_remove_items_internal): 
7475         (gtk_list_clear_items): 
7476         remove a possible pointer grab, we might get thrown into a loop
7477         otherwise.
7478         (gtk_list_button_press): grab the pointer *before* selecting the child,
7479         because selection of items may cause the lists children to change,
7480         resulting in a grab release.
7481         (gtk_list_clear_items): use gtk_list_unselect_child() for unselection of
7482         children.
7483         (gtk_list_shutdown): remove all children from the list.
7484         (gtk_real_list_unselect_child): 
7485         (gtk_real_list_select_child): *always* put our internal structures into
7486         sane state *before* signal emisions (i.e. list->selection updates prior
7487         to gtk_list_item_[de]select() calls).
7488
7489         * gtk/gtkcombo.c (gtk_combo_init): adjust the scrollbar if the lists
7490         focused child walks out of the window.
7491         removed CAN_FOCUS for the combo arrow's button since it doesn't react
7492         to keyboard events ("clicked" connection is missing).
7493
7494 Fri May  1 00:42:25 1998  Owen Taylor  <otaylor@gtk.org>
7495
7496         * gdk/gdkwindow.c (gdk_window_get_colormap): Fix up
7497         getting colormap for FOREIGN windows to go along with
7498         Raster's fix for visuals.
7499
7500 Merges from gtk-1-0
7501 ===================
7502         
7503 Thu Apr 30 23:32:51 1998  Owen Taylor  <otaylor@gtk.org>
7504
7505         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_size_allocate):
7506         Check to catch the case when the viewport fits in either
7507         direction or both, instead of flip-flopping infinitely.
7508
7509         Only show/hide the scrollbars once at the end.
7510
7511 Thu Apr 30 21:56:07 1998  Owen Taylor  <otaylor@gtk.org>
7512
7513         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_foreach): 
7514         Include the scrollbars in the foreach call.
7515         (gtk-fortier-980405-0.patch; 
7516          Patrice Fortier <Patrice.Fortier@aquarel.fr>). 
7517
7518         The notebook widget
7519         really should also include its tabs, but that might cause
7520         problems for programs if they
7521
7522 Thu Apr 30 21:51:52 1998  Owen Taylor  <otaylor@gtk.org>
7523
7524         * gtk/gtkpixmap.c (gtk_pixmap_set): Only request a
7525         resize if the size actually changed. 
7526         (gtk-johannes-980414-0.patch ;  
7527          johannes@nada.kth.se (Johannes Keukelaar) )
7528
7529 Thu Apr 30 10:22:59 1998  Owen Taylor  <otaylor@gtk.org>
7530
7531         * glib/ltmain.sh glib/ltconfig glib/config.sub glib/config.guess:
7532           ltmain.sh ltconfig config.sub config.guess:
7533
7534         Reverted back to libtool-1.2 (plus minor patches) so as not to
7535         force the issue for everyone else.
7536
7537 Thu Apr 30 10:22:59 1998  Owen Taylor  <otaylor@gtk.org>
7538
7539         * glib/ltmain.sh glib/ltconfig glib/config.sub glib/config.guess:
7540         Updated to libtool 1.2a.
7541
7542         * gtk/gtkclist.c: Draw the in-between lines with style->base
7543         instead of style->white.
7544         
7545 Wed Apr 29 15:46:13 1998  Owen Taylor  <otaylor@gtk.org>
7546
7547         * gdk/gdkprivate.h gdk/gdkwindow.c gdk/gdkpixmap.c: 
7548         Cache the colormap and children of a window locally
7549         instead of fetching them from the server when needed.
7550         Huge performance difference for creating/destroying
7551         windows.
7552
7553         * gtk/gtkstyle.c: Find the depth from the cached
7554         visual, instead of asking the server.
7555
7556         * gtk.m4: Distribute the new version which tries to
7557         figure out what went wrong and give helpful error
7558         messages.
7559
7560         * ltmain.sh ltconfig config.sub config.sh: 
7561         Updated to libtool 1.2a
7562
7563         * gtk/gtktext.c: Fixed a bug where the drawn level
7564         was being messed up when the text was scrolled
7565         during a deletion.
7566         
7567 Thu Apr 30 02:42:11 PDT 1998 Manish Singh <yosh@gimp.org>
7568
7569         * gtk/gtkfilesel.c: don't die when naughty people remove parts of
7570         the filesystem under you (fix from Josh)
7571
7572 Thu Apr 30 09:49:14 1998  Tim Janik  <timj@gtk.org>
7573
7574         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_foreach): check
7575         if the viewport already exists before iterating over it, maybe we
7576         haven't been constructed yet.
7577
7578 Thu Apr 30 01:51:00 1998  Tim Janik  <timj@gtk.org>
7579
7580         * gtk/gtkbin.c (gtk_bin_add): made this function issue a warning if
7581         the GtkBin widget already has a child.
7582
7583         * gtk/gtkbox.c (gtk_box_pack_{start|end}):
7584         check that child->parent == NULL;
7585
7586 Tue Apr 28 22:13:54 1998  Owen Taylor  <otaylor@gtk.org>
7587
7588         * gtk/gtkselection.c (gtk_selection_clear): Only return
7589         FALSE when the clear event is been rejected, not when
7590         widget has already lost the selection. (Which should
7591         only happen when we are setting the selection to another
7592         widget ourself.)
7593         
7594 Fri Apr 24 19:07:32 1998  Owen Taylor  <otaylor@gtk.org>
7595
7596         * gtk/gtkfixed.c gtk/gtkpaned.c gtk/gtktable.c:
7597
7598         Removed the "check visibility after gtk_widget_unparent" bug 
7599         in hopefully the last three places.
7600
7601 Tue Apr 28 15:46:41 1998  Tim Janik  <timj@gtk.org>
7602
7603         * gtk/gtkrc.c (gtk_rc_parse_statement): allow the inclusion of other
7604         rc-files.
7605
7606 Mon Apr 27 15:11:52 1998  Tim Janik  <timj@gtk.org>
7607
7608         * gtk/gtkwidget.c (gtk_widget_grab_focus): only allow grabbing of focus
7609         for CAN_FOCUS widgets.
7610
7611         * gtk/testgtk.c (create_scrolled_windows): feature h/v focus
7612         adjustments for the table.
7613         (create_list): feature automatic adjustment of the scrolled window to
7614         always contain the focused child.
7615         (create_main_window): keep the focussed button always inside of the
7616         scrolled windoww.
7617
7618         * gtk/gtkcontainer.c (gtk_real_container_focus): set the h/v focus
7619         adjustments, to contain the allocation of the currently focused child.
7620         (gtk_container_set_focus_hadjustment): new functin to set the
7621         horizontal focus adjustment.
7622         (gtk_container_set_focus_vadjustment): new functin to set the vertical
7623         focus adjustment.
7624
7625         * gtk/gtkadjustment.c (gtk_adjustment_clamp_page): new fucntion to
7626         clamp the currents adjustment page into a specific range.
7627
7628         * random GtkType fixups for gtk_*_get_type() functions.
7629
7630 Fri Apr 24 18:37:16 1998  Owen Taylor  <otaylor@gtk.org>
7631
7632         * gtk/gtktreeitem.c (gtk_tree_item_remove_subtree): 
7633         Account for the fact that gtk_tree_item_remove_subtree
7634         will be called recursively. 
7635
7636         Handle removing a collapsed subtree.
7637
7638         (From Andy Dustman <adustman@comstar.net>)
7639         
7640         * gtk/gtktree.c (gtk_tree_remove_items): Look for the
7641         root tree when removing items from a non-previously
7642         mapped tree.
7643
7644         * gtk/testgtk.c: Added a remove_subtree button.
7645         
7646 Thu Apr 23 23:44:17 1998  Owen Taylor  <otaylor@gtk.org>
7647
7648         * gtk/gtkobject.c (gtk_object_finalize): Notify all weak references
7649         before object removing data. This change fixes a bug where 
7650         removing the last weak references would cause it to be 
7651         triggered.
7652
7653 Wed Apr 15 20:42:46 1998  Owen Taylor  <otaylor@gtk.org>
7654
7655         * gdk/Makefile.am: Removed mostly useless dependency that
7656         was causing problems for SGI's make, when used with
7657         the 'make dist' form of GTK+. (Dependency caused dependencies
7658         to be redone when BUILT_SOURCES changed)
7659
7660 Thu Apr 30 11:18:00 1998  Owen Taylor  <otaylor@gtk.org>
7661
7662         * gtk/gtkcombo.[ch]: Allow the user to use the popup list
7663         like a menu.
7664         
7665         * gtk/gtkmenuitem.c gtk/gtkitem.c: Moved enter/leave handlers
7666         to gtkitem.c so dragging can also work in lists.
7667
7668         * gtk/gtklist.[ch]: Track child enter events and use
7669         those to allow dragging the selection. 
7670
7671 Thu Apr 30 11:16:06 1998  Owen Taylor  <otaylor@gtk.org>
7672
7673         * gtk/gtktext.c: Try enabling background pixmaps for editable text
7674         widgets.  There is a bit of flashing, but not too bad. If you
7675         don't want the flashing, you can always not set a background
7676         pixmap.
7677
7678 Wed Apr 29 15:46:13 1998  Owen Taylor  <otaylor@gtk.org>
7679
7680         * gtk/gtktext.c: Fixed a bug where the drawn level
7681         was being messed up when the text was scrolled
7682         during a deletion.
7683         
7684 1998-04-28  Miguel de Icaza  <miguel@nuclecu.unam.mx>
7685
7686         * gdk/gdk.c (gdk_event_translate): Random debugging fixed this
7687         bug:  There is no need to set the ExposureMask in the XGrabPointer
7688         (this caused DnD programs to crash).
7689
7690 Fri Apr 24 01:29:04 1998  Tim Janik  <timj@gtk.org>
7691
7692         * gtk/gtkaccelerator.h (struct _GtkAcceleratorTable): changed ref_count
7693         field to be of type guint.
7694         * gtk/gtkaccelerator.c (gtk_accelerator_table_unref): added check for
7695         ref_count>0;
7696         (gtk_accelerator_table_install): keep a per object list of accelerator
7697         tables that refer to this object.
7698         (gtk_accelerator_table_remove): remove the accelerator table from the
7699         per object list.
7700         (gtk_accelerator_table_clean): warn if there are any object references
7701         left in an accelerator table upon destruction.
7702         (gtk_accelerator_tables_delete): new function to delete object
7703         references from the accelerator tables associated with this object.
7704
7705         * gtk/gtkwidget.c (gtk_widget_class_init): changed emission of
7706         GtkWidget::install_accelerator to GTK_RUN_LAST so the installation
7707         of an accelerator can be prevented by gtk_signal_emit_stop().
7708         (gtk_widget_real_destroy): call gtk_accelerator_tables_delete (),
7709         so there are no stale pointers in accelerator tables left.
7710
7711 1998-04-22  Federico Mena Quintero  <federico@nuclecu.unam.mx>
7712
7713         * gtk/gtkbin.c (gtk_bin_remove): Remember whether the widget was
7714         visible before we unparent it.
7715
7716 Wed Apr 22 04:15:26 1998  Tim Janik  <timj@gtk.org>
7717
7718         * gtk/gtkmain.c (gtk_handle_current_timeouts): prepend the
7719         running_timeouts list with the tmp_list link itself, not with a new
7720         GList structure pointing to our link. that would fill up memory and
7721         causes the GList.data fields of the running_timeouts list to point to
7722         GList structures and not GtkTimeoutFunction structures which is a
7723         *really* bad thing.
7724         (gtk_handle_current_idles): likewise (exchange "timout" with "idle" in
7725         the above entry ;).
7726
7727 Sat Apr 18 22:18:12 1998  Tim Janik  <timj@gtk.org>
7728
7729         * gtk/gtkradiomenuitem.h: 
7730         * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_set_group): new function
7731         ala gtk_radio_button_set_group.
7732         (gtk_radio_menu_item_init): assure that we always have at least a group
7733         that points to self.
7734
7735         * gtk/gtkradiobutton.c (gtk_radio_button_set_group): few cleanups and
7736         added g_return_if_fail() statements.
7737         (gtk_radio_button_init): assure that we always have at least a group
7738         that points to self.
7739
7740 Fri Apr 17 03:05:05 1998  Tim Janik  <timj@gtk.org>
7741
7742         * ChangeLog split up into ChangeLog.pre-1-0 and ChangeLog.
7743
7744 Wed Apr 15 05:13:09 1998  Tim Janik  <timj@gtk.org>
7745
7746         * gtk/gtklabel.c (gtk_label_size_request): corrected a brace position
7747         (Damon Chaplin), which i got wrong when applying Damon's patch the last
7748         time.
7749
7750 Wed Apr 15 20:42:46 1998  Owen Taylor  <otaylor@gtk.org>
7751
7752         * gtk/gtkpreview.c (gtk_preview_get_visuals): Make sure
7753         that when we are running with a non-installed colormap,
7754         in 8-bit pseudo-color, we actually are using the system
7755         visual. (Fixes *Bad Match* errors on Digital Unix machines
7756         with multiple 8-bit pseudo-color visuals)
7757
7758 1998-04-14  Miguel de Icaza  <miguel@nuclecu.unam.mx>
7759
7760         * gdk/gdkwindow.c (gdk_window_xid_at): Fix the problem introduced
7761         by whoever thought that randomly changing ints to unsigned int
7762         without reviewing the code was a good idea.  It is, btw not
7763         mentioned in the ChangeLog as usual, but I know it was not Elliot
7764         the culprit this time. 
7765
7766 Mon Apr 13 19:16:22 PDT 1998 Shawn T. Amundson <amundson@gtk.org>
7767
7768         * Released GTK+ 1.0.0