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