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