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