]> Pileus Git - ~andy/gtk/blob - ChangeLog.pre-2-2
check if old_parent_private is not NULL before trying to g_list_remove the
[~andy/gtk] / ChangeLog.pre-2-2
1 Mon Jul 13 12:42:51 1998  George Lebl  <jirka@5z.com>
2
3         * gdk/gdkwindow.h: (gdk_window_reparent) check if old_parent_private
4           is not NULL before trying to g_list_remove the child. A patch
5           from Michael Lausch.
6
7 Sun Jul 12 16:40:06 1998  Tim Janik  <timj@gtk.org>
8
9         * gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument
10         collection (always casted to doubles upon argument passing).
11
12 Sun Jul 12 05:59:26 1998  Tim Janik  <timj@gtk.org>
13
14         * gtk/gtktypeutils.c (gtk_type_new): call the base classes'
15         object_init_func for derived objects with the object's ->klass field
16         still pointing to the corresponding base class, otherwise overridden
17         class functions could get called with partly-initialized objects.
18         (change from Tero Pulkkinen <terop@modeemi.cs.tut.fi>).
19
20 Sun Jul 12 02:47:35 1998  Tim Janik  <timj@gtk.org>
21
22         * gtk/gtkobject.h:
23         * gtk/gtkobject.c:
24         (gtk_object_arg_get_info): new functions which wraps gtk_arg_get_info().
25
26         * gtk/gtkcontainer.h:
27         * gtk/gtkcontainer.c:
28         (gtk_container_child_arg_get_info): new function which wraps
29         gtk_arg_get_info().
30
31 Fri Jul 10 13:29:53 1998  Tim Janik  <timj@gtk.org>
32
33         * gtk/gtkcontainer.c:
34         (gtk_container_arg_get): 
35         (gtk_container_arg_set): 
36         * gtk/gtkobject.c:
37         (gtk_object_arg_set): 
38         (gtk_object_arg_get):
39         strictly check for the associated get/set arg functions. if an
40         arg is readable or writable, the associated class functions *must*
41         be provided.
42
43 Fri Jul 10 09:37:50 1998  Tim Janik  <timj@gtk.org>
44
45         * gtk/gtkaccellabel.c (gtk_accel_label_accelerator_width): only take the
46         padding into account if there is an accelerator.
47
48 Fri Jul 10 05:51:44 1998  Tim Janik  <timj@gtk.org>
49
50         * gtk/gtkcontainer.c:
51         (gtk_container_add_with_args): collect the arguments with
52         gtk_container_child_args_collect, not through gtk_object_args_collect.
53         (gtk_container_child_set): likewise.
54
55 Fri Jul 10 04:20:35 1998  Tim Janik  <timj@gtk.org>
56
57         * gtk/gtktypeutils.h: 
58         * gtk/gtktypeutils.c: added a new internal type GTK_TYPE_IDENTIFIER
59         which is derived from GTK_TYPE_STRING.
60
61         * gtk/gtkbindings.c: reworked the argument type handling.
62
63 Thu Jul  9 21:03:19 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
64
65         * gtk/gtkpreview.c: add in just enough support for 1 or 4 bits
66           so that it seems to allow normal operation in those modes,
67           although you will only see black  (GIMP toolbar now pops up,
68           just don't create a new image and GIMP now works in 4 bit.)
69
70 Thu Jul  9 20:20:04 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
71
72         * gdk/gdkvisuals.c: 4 bit support, increased available_depths
73           array, which was too low (?)
74
75 Fri Jul 10 00:02:04 1998  Tim Janik  <timj@gtk.org>
76
77         * gtk/gtkcontainer.h: 
78         * gtk/gtkcontainer.c: deleted most of the argument handling code, since
79         that is now implemented in gtkarg.c. similar to gtk_object_args_collect,
80         we now export a new function gtk_container_child_args_collect().
81         for consistency with the object arguments, a few functions got renamed:
82         gtk_container_child_arg_get -> gtk_container_child_get,
83         gtk_container_child_arg_set -> gtk_container_child_set,
84         gtk_container_child_arg_getv -> gtk_container_child_getv,
85         gtk_container_child_arg_setv -> gtk_container_child_setv,
86         gtk_container_add_with_argv -> gtk_container_addv.
87         note, gtk_container_add_with_args() remained, because its equivalent
88         would be gtk_container_add(,, ...) which would break all existing code.
89         (gtk_container_add_child_arg_type): similar to gtk_object_add_arg_type,
90         we expect the `arg_name' argument to be a const static string now.
91         (gtk_container_get_child_arg_type): function removed.
92
93 Thu Jul  9 07:03:04 1998  Tim Janik  <timj@gtk.org>
94
95         * gtk/gtkargcollector.c: new file which holds gtk_arg_collect_value().
96         this is a static inline function that collects command line arguments
97         from a va_list. this file can just be included in all places that
98         need this functionality.
99
100         * gtk/gtkarg.h: 
101         * gtk/gtkarg.c: new files which implement most of the argument
102         handling stuff from gtkobject.c. also collected a few more
103         gtk_arg_* utility functions from else places.
104
105         * gtk/gtkobject.h: 
106         * gtk/gtkobject.c: moved most of the argument handling code into
107         gtkarg.c. we now export gtk_object_args_collect() as a non-public
108         method with a blind va_list pointer.
109         (gtk_object_add_arg_type): the `arg_name' argument is required to be a
110         const static string now.
111         (gtk_object_get_arg_type): function got removed.
112
113         * gtk/gtkwidget.c: 
114         (gtk_widget_set): 
115         (gtk_widget_new): adaptions for gtk_object_args_collect().
116
117         * gtk/gtktypeutils.c (gtk_type_init_builtin_types): changed the internal
118         fundamental type name so as to have a valid prefix, e.g. "bool"->
119         "gboolean", "string"->"GtkString" and somesuch, left "void" as is,
120         though that should probably be something like GtkNone since the
121         type itself is called GTK_TYPE_NONE.
122         even the internal type names need to avoid name clashes and must live
123         in their own namespace, several code portions rely on that.
124         we should relly have typedefs such as typedef gchar* GtkString; so the
125         fundamental type names can be used for code dumpers just like with all
126         the Gtk/Gdk types.
127
128 Wed Jul  8 15:31:28 1998  Tim Janik  <timj@gtk.org>
129
130         * gtk/gtkbutton.c: handle GTK_RELIEF_HALF, which was introduced to
131         keep either GTK_STATE_NORMAL for relief buttons (GTK_RELIEF_NONE) or
132         to still honour GTK_WIDGET_STATE(), e.g. for coloured buttons
133         (GTK_RELIEF_HALF).
134         (gtk_button_paint): set the background for prelighted buttons with
135         GTK_STATE_NORMAL only if GTK_RELIEF_NONE.
136         (gtk_button_draw_focus): if GTK_RELIEF_NONE, use GTK_STATE_NORMAL for
137         the shadow type (otherwise we get strange shadows for coloured buttons).
138         (gtk_button_set_relief): queue a redraw after changing
139         the relief.
140         (gtk_button_class_init): 
141         (gtk_button_set_arg): 
142         (gtk_button_get_arg): added object argument "GtkButton::relief".
143
144         * gtk/gtkenums.h (enum): added GTK_RELIEF_HALF.
145
146 Mon Jul  6 18:30:48 1998  Tim Janik  <timj@gtk.org>
147
148         * gtk/gtkbutton.h:
149         * gtk/gtkbutton.c: GtkButtons are now derived from GtkBin. we mirror
150         GTK_BIN (button)->child to button->child to keep source compatibility.
151
152         * gtk/gtkoptionmenu.c:
153         * gtk/gtkclist.c:
154         * gtkcheckbutton.c: don't refer to button->child, but
155         GTK_BIN (button)->child instead.
156
157 Mon Jul  6 12:06:23 BST 1998  Tony Gale  <gale@gtk.org>
158
159         * docs/gtkfaq.sgml: update anon CVS info
160
161 Sat Jul  4 13:16:24 1998  Tim Janik  <timj@gtk.org>
162
163         * gtk/*.c: changed reversed_[12] to reserved_[12] in gtk_*_get_type
164         functions.
165
166         * gdk/gdkwindow.c:
167         * gdk/gdkvisual.c: check for some pointer values to be != NULL, prior
168         to XFree() calls.
169
170 1998-07-03  Federico Mena Quintero  <federico@nuclecu.unam.mx>
171
172         * gtk/gtkfeatures.h.in: Added GDK_HAVE_FULL_CROSSING_EVENT, since
173         I seem to have erroneously added it to gtkfeatures.h (not .h.in).
174
175 Fri Jul  3 14:55:31 PDT 1998 Manish Singh <yosh@gimp.org>
176
177         * gtk/gtkfeatures.h.in: added GTK_HAVE_RELIEF_STYLE
178
179 Wed Jul  1 20:58:46 1998  Tim Janik  <timj@gtk.org>
180
181         * gtk/gtkwidget.h:
182         * gtk/gtkwidget.c: temporary implementation of action signal "debug_msg"
183
184         * gtk/gtkbindings.c (gtk_binding_entry_add_signal): fixed an off-by-one
185         error that prevented signal to entry addition for signals with
186         parameters.
187
188 Wed Jul  1 10:05:36 PDT 1998 Manish Singh <yosh@gimp.org>
189
190         * ltconfig: fix for properly detecting shared lib support on
191         SunPro cc (taken from libtool 1.2.a)
192
193 Wed Jul  1 03:33:30 1998  Tim Janik  <timj@gtk.org>
194
195         * gtk/gtkrc.c: implementation of the "class" keyword for styles.
196
197 Tue Jun 30 14:30:37 1998  Tim Janik  <timj@gtk.org>
198
199         * gtk/gtkrc.c: fixed lookup order for rc styles. the latest defined
200         rc set pattern is favoured, this is needed for overriding of style
201         patterns with subsequently parsed rc files.
202
203 Tue Jun 30 12:45:19 1998  Tim Janik  <timj@gtk.org>
204
205         * gtk/gtkrc.c: code overhaul for simplicity and more descriptive
206         error messages.
207
208 Tue Jun 30 09:24:40 1998  Tim Janik  <timj@gtk.org>
209
210         * gtk/gtkaccelgroup.c (gtk_accelerator_parse): parse "<Release>"
211         modifier as well.
212         (gtk_accelerator_name): add "<Release>" to the accelerator name if
213         neccessary.
214
215         * gtk/gtkbindings.c (BINDING_MOD_MASK): take BINDING_MOD_MASK into
216         account.
217
218         * gtk/gtkwidget.c (gtk_widget_real_key_release_event): implemented
219         default handler for key-release events, which checks for activation
220         of GDK_RELEASE_MASK key bindings.
221
222         * gdk/gdktypes.h (enum): added GDK_RELEASE_MASK to GdkModifierType.
223
224 Mon Jun 29 13:39:45 1998  Tim Janik  <timj@gtk.org>
225
226         * gtk/gtkarrow.h: GtkType and macro fixups.
227         * gtk/gtkarrow.c: widget argument implementation: "GtkArrow::arrow_type",
228         "GtkArrow::shadow_type".
229
230 Sun Jun 28 11:39:17 1998  Tim Janik  <timj@gtk.org>
231
232         * gtk/gtkalignment.h:
233         * gtk/gtkbin.h: GtkType and macro fixups.
234         
235         * gtk/gtkalignment.c (gtk_alignment_class_init): widget argument
236         implementation: GtkAlignment::xalign, GtkAlignment::yalign,
237         GtkAlignment::xscale, GtkAlignment::yscale.
238
239 Sun Jun 28 04:29:10 1998  Tim Janik  <timj@gtk.org>
240
241         * gtk/gtktypeutils.c (gtk_type_class_init): call the base class init
242         fucntions from all parent types upon class initialization.
243
244         * gtk/gtkcontainer.c:
245         (gtk_container_get_type): announce gtk_container_base_class_init to
246         the type system.
247         (gtk_container_base_class_init): new function to feature base class
248         initialization.
249         (gtk_container_get_child_arg): 
250         (gtk_container_set_child_arg): call the GtkContainerClass get_child_arg
251         and set_child_arg methods of the class indicated through the argument
252         name.
253
254         * gtk/gtkobject.c:
255         (gtk_object_base_class_init): new function to feature base class
256         initialization.
257         (gtk_object_init_type): announce gtk_object_base_class_init to the type
258         system.
259         (gtk_object_class_init): setup the get_arg and set_arg pointers for
260         GtkObjectClass.
261         (gtk_object_setv): 
262         (gtk_object_getv): call the GtkObjectClass get_arg and set_arg methods,
263         instead of bothering the type system with this.
264
265         * gtk/gtkaccellabel.c: 
266         * gtk/gtkbutton.c: 
267         * gtk/gtkradiobutton.c: 
268         * gtk/gtktable.c:
269         * gtk/gtktogglebutton.c: 
270         * gtk/gtktipsquery.c: 
271         * gtk/gtkbox.c: 
272         * gtk/gtkpacker.c: 
273         * gtk/gtkwidget.c: 
274         * gtk/gtkwindow.c: 
275         * gtk/gtkframe.c: 
276         * gtk/gtkmisc.c:
277         * gtk/gtklabel.c: set the object_class->{g|s}et_arg pointers to the
278         corresponding gtk_*_{g|s]et_arg functions and updated the gtk_*_get_type
279         functions wrt GtkTypeInfo initialization. changed a lot of the set/get
280         arg functions to take a GtkObject argument.
281
282         gtk/gtkadjustment.c:
283         gtk/gtkalignment.c:
284         gtk/gtkarrow.c:
285         gtk/gtkaspectframe.c:
286         gtk/gtkbbox.c:
287         gtk/gtkbin.c:
288         gtk/gtkcheckbutton.c:
289         gtk/gtkcheckmenuitem.c:
290         gtk/gtkclist.c:
291         gtk/gtkcolorsel.c:
292         gtk/gtkcombo.c:
293         gtk/gtkctree.c:
294         gtk/gtkcurve.c:
295         gtk/gtkdata.c:
296         gtk/gtkdialog.c:
297         gtk/gtkdrawingarea.c:
298         gtk/gtkeditable.c:
299         gtk/gtkentry.c:
300         gtk/gtkeventbox.c:
301         gtk/gtkfilesel.c:
302         gtk/gtkfixed.c:
303         gtk/gtkfontsel.c:
304         gtk/gtkgamma.c:
305         gtk/gtkhandlebox.c:
306         gtk/gtkhbbox.c:
307         gtk/gtkhbox.c:
308         gtk/gtkhpaned.c:
309         gtk/gtkhruler.c:
310         gtk/gtkhscale.c:
311         gtk/gtkhscrollbar.c:
312         gtk/gtkhseparator.c:
313         gtk/gtkimage.c:
314         gtk/gtkinputdialog.c:
315         gtk/gtkitem.c:
316         gtk/gtkitemfactory.c:
317         gtk/gtklist.c:
318         gtk/gtklistitem.c:
319         gtk/gtkmenu.c:
320         gtk/gtkmenubar.c:
321         gtk/gtkmenuitem.c:
322         gtk/gtkmenushell.c:
323         gtk/gtknotebook.c:
324         gtk/gtkoptionmenu.c:
325         gtk/gtkpaned.c:
326         gtk/gtkpixmap.c:
327         gtk/gtkpreview.c:
328         gtk/gtkprogressbar.c:
329         gtk/gtkradiomenuitem.c:
330         gtk/gtkrange.c:
331         gtk/gtkruler.c:
332         gtk/gtkscale.c:
333         gtk/gtkscrollbar.c:
334         gtk/gtkscrolledwindow.c:
335         gtk/gtkseparator.c:
336         gtk/gtkspinbutton.c:
337         gtk/gtkstatusbar.c:
338         gtk/gtktext.c:
339         gtk/gtktoolbar.c:
340         gtk/gtktooltips.c:
341         gtk/gtktree.c:
342         gtk/gtktreeitem.c:
343         gtk/gtkvbbox.c:
344         gtk/gtkvbox.c:
345         gtk/gtkviewport.c:
346         gtk/gtkvpaned.c:
347         gtk/gtkvruler.c:
348         gtk/gtkvscale.c:
349         gtk/gtkvscrollbar.c:
350         gtk/gtkvseparator.c: updated the GtkTypeInfo initialization code to
351         match the modified GtkTypeInfo structure.
352
353 Sat Jun 27 23:23:27 PDT 1998 Manish Singh <yosh@gimp.org>
354
355         * gtk/testgtk.c: use rand() instead of random() for portability
356
357 Sat Jun 27 22:42:28 PDT 1998 Manish Singh <yosh@gimp.org>
358
359         * configure.in
360         * acconfig.h
361         * gdk/gdk.c: use native Xlib XConvertCase if it's available
362
363 Sat Jun 27 15:44:46 1998  Tim Janik  <timj@gtk.org>
364
365         * gdk/gdk.c (gdkx_XConvertCase): compatibility function to provide
366         XConvertCase() functionality from X11R6 on X11R5 systems.
367
368 Thu Jun 25 10:50:34 1998  Stefan Jeske  <stefan@gtk.org>
369
370         * gdk/gdk.h gdk/gdkfont.c: Added functions gdk_text_height,
371         gdk_string_height, gdk_char_height to retrieve the exact
372         height of a text.
373
374 Thu Jun 25 07:53:51 BST 1998  Tony Gale  <gale@gtk.org>
375
376         * docs/gtk_tut.sgml: add section on GtkCList widget, contributed
377           by Stefan Mars <mars@lysator.liu.se>
378         * examples/clist/clist.c examples/clist/Makefile: example code
379           for GtkCList widget from the Tutorial
380
381 Wed Jun 24 16:38:02 1998  Tim Janik  <timj@gtk.org>
382
383         * gtk/gtkbin.c (gtk_bin_remove): do not avoid to queue for a resize
384         if the container is not visible, we might be a toplevel! this holds
385         for all other base container implementations as well, that are
386         candidates to derive toplevels from. in general the resizing code will
387         care about visibility itself.
388         * gtk/gtkmenushell.c (gtk_menu_shell_remove): likewise.
389         * gtk/gtkbox.c (gtk_box_remove): likewise.
390
391         * gtk/gtkwindow.c (gtk_window_move_resize): save ->use_uposition around
392         gtk_window_set_hints(), since we haven't calculated the new position
393         yet.
394
395         * gdk/gdkwindow.c (gdk_window_get_pointer): take care that *x, *y and
396         *mask are alway initialized in a sane way, regardless of the return
397         value.
398
399 Wed Jun 24 14:14:32 1998  Tim Janik  <timj@gtk.org>
400
401         * gtk/gtkcontainer.c: new function gtk_container_child_arg_set, similar
402         to gtk_container_child_arg_setv, but takes a variable argument list.
403         new function gtk_container_get_child_arg_type, which is needed by
404         gtk_object_collect_args.
405
406         * gtk/gtkobject.c: changed prototype for gtk_object_collect_args, to
407         take a function pointer to figure the argument type.
408         adapted callers to pass gtk_object_get_arg_type.
409         * gtk/gtkwidget.c: adapted gtk_object_collect_args callers to pass
410         gtk_object_get_arg_type..
411
412         * gtk/gtkpacker.h: 
413         * gtk/gtkpacker.c:
414         (gtk_packer_reorder_child): new function to change the packing order
415         of a child.
416         (gtk_packer_size_request): 
417         (gtk_packer_size_allocate): take container->border_width into acount.
418
419         * gtk/gtkpacker.c: implemented widget arguments:
420         "GtkPacker::spacing", "GtkPacker::border_width", "GtkPacker::pad_x",
421         "GtkPacker::pad_y", "GtkPacker::ipad_x", "GtkPacker::ipad_y".
422         implemented child arguments:
423         "GtkPacker::side", "GtkPacker::anchor", "GtkPacker::expand",
424         "GtkPacker::fill_x", "GtkPacker::fill_y", "GtkPacker::use_default",
425         "GtkPacker::border_width", "GtkPacker::pad_x", "GtkPacker::pad_y",
426         "GtkPacker::ipad_x", "GtkPacker::ipad_y", "GtkPacker::position".
427
428         * gtk/gtkmisc.c (gtk_misc_set_arg): for padding args, set the padding,
429         not the alignment.
430
431         * gtk/gtkeventbox.h:
432         * gtk/gtkeventbox.c: GtkType and macro fixups.
433
434         * gtk/testgtk.c (entry_toggle_sensitive): new function to toggle
435         sensitivity of an entry.
436
437         * gtk/gtkstyle.c (gtk_style_new): support normal grey as default color
438         for insensitive base and text.
439
440         * gtk/gtkentry.c (gtk_entry_realize): set the window backgrounds
441         widget state dependent.
442         (gtk_entry_style_set): likewise.
443         (gtk_entry_state_changed): set background color on state changes.
444         (gtk_entry_draw_text): for non selected text, use state dependent
445         colors.
446
447         * gtk/gtktogglebutton.c: support for widget arguments
448         "GtkToggleButton::active" and "GtkToggleButton::draw_indicator".
449
450 Wed Jun 24 08:35:45 1998  Stefan Jeske  <stefan@gtk.org>
451
452         * gtk/gtkspinbutton.c (gtk_spin_button_spin): Added compatibility 
453         code for 1.0.x-like parameters. Changed internal interface of
454         gtk_spin_button_real_spin. Several fixes to avoid emission of
455         "value_changed" where possible.
456
457 Tue Jun 23 22:21:33 PDT 1998 Manish Singh <yosh@gimp.org>
458
459         * gtk-boxed.defs: s/GkWidget/GtkWidget/
460
461 Wed Jun 24 07:47:29 1998  Tim Janik  <timj@gtk.org>
462
463         * gtk/testgtk.c (create_idle_test): added a frame with radio buttons
464         to select the resize_mode for the idle-labels container.
465
466         * gtk/gtkframe.h: 
467         * gtk/gtkframe.c: GtkType and macro corrections.
468
469         * gtk/gtkradiobutton.c (gtk_radio_button_set_arg): new function to
470         support widget argument "GtkRadioButton::group".
471
472 Tue Jun 23 08:01:09 1998  Tim Janik  <timj@gtk.org>
473
474         * gtk/gtkcontainer.c (gtk_container_set_resize_mode): queue a resize
475         unconditionally if resize_mode has changed.
476
477         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_init): set
478         GTK_RESIZE_QUEUE on the scrolled window.
479         (gtk_scrolled_window_construct): set GTK_RESIZE_PARENT for the vieport.
480
481 Tue Jun 23 04:20:30 1998  Tim Janik  <timj@gtk.org>
482
483         * gtk/gtkcontainer.h:
484         * gtk/gtkcontainer.c:
485         (GTK_IS_RESIZE_CONTAINER): new macro to find out if
486         a given gtkobject is a container with resize_mode==GTK_RESIZE_PARENT.
487         (gtk_container_queue_resize): new function to queue a container for
488         a *size* reallocation (doesn't affect its position, and thus its
489         parent is left untouched usually).
490         (gtk_container_get_resize_container): new function to retrive the next
491         most resize container which is not itself queued for a resize.
492         (gtk_container_idle_sizer): new function to carefully process the
493         container_resize_queue since it can change during invokation of
494         gtk_container_check_resize().
495         (gtk_container_resize_children): total rework of this function to
496         properly handle resize containers. makes a lot of assumptions whitch
497         are stated in the comments.
498
499         * gtk/gtkcontainer.c:
500         (gtk_container_real_check_resize): only requeue ourselves if we are not
501         a resize container.
502         (gtk_container_clear_resize_widgets): care for automatic deletion of our
503         resize_widgets list on size_allocate through a handler connection.
504
505         * gtk/gtkwindow.c (gtk_window_shutdown): new functionm to reset the
506         focus and default widget of a window, so to take the burden from
507         gtk_widget_unparent.
508
509         * gtk/gtkviewport.c: removed gtk_viewport_check_resize, which tried
510         to be clever, but actually messed up the resize_children logic and
511         caused unneccessary allocations on its whole branch. besides this,
512         it messed up the display by not invoking a redraw after the allocation.
513
514         * gtk/gtktable.c (gtk_table_set_child_arg): reverted recent change, so
515         that it is the child again that is queued for a resize.
516         (gtk_table_attach): likewise.
517         (gtk_table_remove): likewise.
518
519 1998-06-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>
520
521         * gtk/gtkentry.h, gtk/gtkentry.c: Export the
522         gtk_entry_adjust_scroll.  Required if you change the cursor
523         position and want to sync it up with your code (Midnight Commander
524         gtk front end needs this).
525
526         * gtk/gtktable.c: Deal with tables that have size 0, 0.
527
528 Tue Jun 23 12:12:19 BST 1998  Tony Gale  <gale@gtk.org>
529
530         * examples/README.1ST: new file to explain how the
531           code examples should be extracted from the tutorial.
532
533 Mon Jun 22 18:43:11 1998  Lars Hamann  <lars@gtk.org>
534
535         * gtk/gtkctree.c (draw_row): added new "line style"
536         GTK_CTREE_LINES_TABBED 
537         * gtk/gtkctree.c/h (gtk_ctree_find_glist_ptr): new function to
538         search the glist pointer of an GtkCTreeRow
539
540 1998-06-21  Raja R Harinath  <harinath@cs.umn.edu>
541  
542         * gtk/Makefile.am (gtk.defs,gtktypebuiltins*): Remove $(srcdir)
543         from, and clean up, the dependencies.  Generate to intermediate
544         files to prevent problems with Ctrl-C.
545
546         * gtk/genmarshal.pl: Generate `gtkmarshal.[ch]' in $srcdir.
547
548 Fri Jun 19 14:46:56 1998  Stefan Jeske  <stefan@gtk.org>
549
550         * gtk/gtkspinbutton.h gtk/gtkspinbutton.c gtk/testgtk.c:
551         - Bug fix for precision problem causing occasional double emission 
552           of "value_changed" signal (hopefully works now).
553         - API change (should be binary compatible) : 
554           new enum GtkSpinType; modified gtk_spin_button_spin to use it.
555           Modified cursor example appropriately.
556           To spin by something other than step_/page_increment, use
557           gtk_spin_button_spin (spin, GTK_SPIN_USER_DEFINED, increment).
558         - Made GTK_SHADOW_NONE the default. ;)
559         - Fixed casting of GtkAdjustment* to GtkWidget* in
560           gtk_spin_button_value_changed.
561
562 Fri Jun 19 06:18:19 1998  Tim Janik  <timj@gtk.org>
563
564         * gtk/gtkcontainer.c (gtk_container_set_resize_mode): fail silently
565         for toplevels. if resize_mode changes to GTK_RESIZE_PARENT, clear the
566         resize widget list before queuing the container for a new reize.
567         (gtk_container_need_resize): changed return value to FALSE, since this
568         used to indicate that no further resizes are needed.
569         (gtk_container_set_arg): 
570         (gtk_container_get_arg): 
571         (gtk_container_class_init): implemented GtkContainer::resize_mode
572         argument.
573
574         (gtk_container_resize_children): when we walk up the tree of a resize
575         widget we need to stop if we are the current parent.
576
577         * gtk/gtkwidget.c (gtk_widget_queue_resize): flag the resize child with
578         GTK_RESIZE_NEEDED for container->resize_mode==GTK_RESIZE_IMMEDIATE.
579         (gtk_widget_hide_all): retrive the toplevel widget from via
580         gtk_widget_get_resize_container().
581
582 Thu Jun 18 23:08:36 1998  Owen Taylor  <otaylor@gtk.org>
583
584         * gtk/gtklist.c (gtk_list_button_press): Only respond
585           to selection with button 1. This allows context-sensitive
586           menus to work correctly.
587
588 Fri Jun 19 03:29:04 1998  Tim Janik  <timj@gtk.org>
589
590         * gtk/gtkaccelgroup.c: 
591         * gtk/gtkbindings.c: 
592         * gtk/gtkcontainer.c:
593         * gtk/gtkitemfactory.c:
594         * gtk/gtkobject.c: 
595         * gtk/gtksignal.c:
596         * gtk/gtkwidget.c: replaced some gtk_object_data_force_id with
597         g_quark_from_static_string calls to save memory.
598
599         * gtk/gtkobject.c (gtk_object_set_data_by_id_full): invoke the destroy
600         function _after_ the new data has been setup.
601         minor changes to object data functions to feature the GQuark type.
602
603 Thu Jun 18 21:13:54 1998  Owen Taylor  <otaylor@gtk.org>
604
605         * gtk/gtkmain.c (gtk_init): Remove --g-fatal-warnings flag
606           from argv.
607
608 Thu Jun 18 20:22:28 1998  Owen Taylor  <otaylor@gtk.org>
609
610         * gtk/genmarshal.pl: Modified to be more idiomatic Perl,
611           to be more readable perl, to spit out stuff that looks
612           more like readable C, and to pipe output through indent
613           so output looks a lot like readable C. No functional
614           changes.
615
616 Thu Jun 18 17:43:31 1998  Owen Taylor  <otaylor@gtk.org>
617
618         * gtk/gtkpixmap.[ch] (gtk_pixmap_set): Clear the background if
619           necessary when switching to a masked pixmap. (Based on a patch
620           from Ullrich Hafner <hafner@informatik.uni-wuerzburg.de>)
621
622 Thu Jun 18 16:18:10 1998  Owen Taylor  <otaylor@gtk.org>
623
624         * gtk/gtkeditable.[ch]: Added action signals for keyboard
625           bindings. (move_cursor, kill_word, etc, etc, etc). 
626
627           removed the time argument from
628           gtk_editable_cut/copy/paste_clipboard (source but not
629           binary incompatible...) Instead get time from
630           gtk_get_current_event ().
631         
632         * gtk/gtktext.c gtk/gtkentry.c: Support the new editable
633           signals.
634
635 Thu Jun 18 02:52:09 1998  Owen Taylor  <otaylor@gtk.org>
636
637         Patches from Damon Chaplin <DAChaplin@email.msn.com>:
638
639         gtk/gtkfontsel.h: Fixed GtkFontSelectionClass - I forgot to change
640              parent class to GtkNotebookClass when splitting the widget in
641              two.  Also updated some comments.
642
643         gtk/gtkfontsel.c: Fixed bug when toggling 'Allow scaled bitmaps'
644                button without a font selected.
645
646              Fixed bug in set_font_name - I hadn't updated the code to
647                search for the style in the font_style clist - it was
648                still assuming the style row was equal to its index,
649                but it isn't any more.
650         
651              Changed 'Reset' button on filter page to 'Clear Filter'.
652              Deleted old code relating to the old 'Filter Fonts' toggle
653              Updated some comments.
654              Cleared 'Actual Fontname' if no font is set.
655
656         gtk/testgtk.c: Fixed problem when 'OK' button is pressed - it was
657              destroying the GtkFontSelection instead of the
658              GtkFontSelectionDialog.
659
660 Thu Jun 18 02:15:31 1998  Owen Taylor  <otaylor@gtk.org>
661
662         * gtk/gtkmain.c (gtk_init): Added --g-fatal-warnings
663           flag to make all warnings fatal errors.
664
665         * gtk/testthreads.c: moved <pthreads.h> include inside 
666           #ifdef USE_PTHREADS
667
668 Thu Jun 18 01:37:31 1998  Owen Taylor  <otaylor@gtk.org>
669
670         * gtk/gtkenums.h gtk/gtkcontainer.[ch] gtk/gtkwidget.c 
671           gtk/gtkmenu.c gtk/gtkviewport.c gtk/gtkwindow.c:
672
673         - Added new function gtk_container_set_resize_mode() for
674           fine-grained control of where resize-queueing is done.
675
676         - Removed GtkContainer::need_resize and GtkWindow::move_resize
677         - Added GtkContainer::check_resize to replace need_resize.
678
679         - Added function gtk_container_check_resize() to trigger
680           queued resizes, and gtk_container_resize_children() to
681           Figure which children need to be size-allocated. (logic
682           moved from gtkwindow.c)
683
684         - Reorganized code in gtkwindow.c
685         
686         - Set the resize-mode for viewports so that resizes within
687           a viewport don't propagate out of it. 
688         
689 1998-06-18  Federico Mena Quintero  <federico@nuclecu.unam.mx>
690
691         * gtk/gtkfontsel.c: Use pointer<->int conversion macros to avoid warnings.
692
693         * gtk/gtkaccellabel.c (gtk_accel_label_accelerator_width): Use
694         g_return_val_if_fail, because the function *does* return a value.
695
696 Thu Jun 18 03:30:06 1998  Tim Janik  <timj@gtk.org>
697
698         * gtk/gtkaccellabel.h:
699         * gtk/gtkaccellabel.c: new function gtk_accel_label_accelerator_width to
700         request the size of the accelerator portion of an accel label.
701         (gtk_accel_label_size_request): don't request for the accelerators size.
702         (gtk_accel_label_expose_event): only draw the accelerator if we got
703         enough extra space.
704
705         * gtk/gtkmenuitem.c (gtk_menu_item_size_request): request accelerator
706         width from children.
707
708         * gtk/gtkmenu.c (gtk_menu_key_press): when adding an accelerator to an
709         object (after removal has been requested) check if there is still an
710         accelerator remaining to avoid adding two accelerators on an object.
711         this can happen for locked accelerators (or accelerator-frozen widgets).
712         (gtk_menu_size_request): feature childrens accelerator width in size
713         requests.
714
715         * gtk/gtknotebook.c (gtk_notebook_menu_item_create): use
716         gtk_widget_freeze_accelerators() for dynamically created menu items.
717
718         * gtk/gtksignal.h: 
719         * gtk/gtksignal.c: new function gtk_signal_handler_pending_by_func()
720         which will return a handler_id > 0 if the specified function is pending
721         for `signal_id'.
722
723         * gtk/gtkwidget.h:
724         * gtk/gtkwidget.c: remove gtk_widget_stop_accelerator, which was just
725         a signal handler function to stop accelerator addition.
726         added gtk_widget_freeze_accelerators and gtk_widget_thaw_accelerators
727         which will prevent (undo) any accelerators from being added to or
728         removed from a widget.
729
730 Wed Jun 17 21:59:09 1998  Stefan Jeske  <stefan@gtk.org>
731
732         * gtkspinbutton.h gtkspinbutton.c testgtk.c:
733         Changed GtkSpinButtonUpdatePolicy enum, added keyboard
734         acceleration, new API gtk_spin_button_set_snap_to_ticks.
735
736 Wed Jun 17 03:47:40 1998  Tim Janik  <timj@gtk.org>
737
738         * gdk/gdk.h:
739         * gdk/gdkwindow.c: new function gdk_window_at_pointer() to retrive
740         the current GdkWindow the pointer is on if there is any.
741         
742         * gtk/gtktable.c (gtk_table_init): preallocate a table with one row
743         and one column, so we don't construction logic at all. changed a few
744         (x < y - 1) to (x + 1 < y), to avoid failing evaluations due to
745         unsigned int wraps.
746
747         * gtk/gtkwidget.c (gtk_widget_set_parent): removed left over code
748         portion, added an additional check for parent != widget.
749
750         * more GtkType and macro fixups.
751
752 1998-06-16  Federico Mena Quintero  <federico@nuclecu.unam.mx>
753
754         * gtk/gtkhandlebox.c (draw_textured_frame): Now accepts an extra
755         "clip" parameter, which is the clipping rectangle to use.  This
756         eliminates the extremely annoying flicker when exposing parts of
757         the handlebox.
758
759 Tue Jun 16 14:08:08 PDT 1998 Manish Singh <yosh@gimp.org>
760
761         * gtk/gtktable.c: fix from TimJ for off-by-one error in table
762         resizing
763
764 Tue Jun 16 06:29:57 1998  Tim Janik  <timj@gtk.org>
765
766         * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_set_state): check for
767         != 0 on the argument.
768
769         * gtk/gtktable.h: 
770         * gtk/gtktable.c: new function gtk_table_resize() which allowes
771         shrinking and expanding of tables. implementation of widget arguments
772         and child arguments. many signedness corrections.
773
774 Mon Jun 15 04:15:03 1998  Tim Janik  <timj@gtk.org>
775
776         * gtk/gtkbox.c (gtk_box_set_child_packing): queue the resize for the box
777         not only the child, otherwise we might end up taking away other
778         childrens space after the resize.
779
780         * gtk/gtkitemfactory.c (gtk_item_factory_parse_menu_path): if we parse
781         an unknown menu path from any source, that path must always be flagged
782         as "modified", since we don't really know whether it has its default
783         value or not.
784
785         * gtk/gtktree.c:
786         * gtk/gtkpacker.c:
787         * gtk/gtknotebook.c:
788         * gtk/gtkmenushell.c:
789         * gtk/gtklist.c:
790         * gtk/gtkpaned.c:
791         * gtk/gtkfixed.c: 
792         * gtk/gtkbutton.c: implement gtk_*_child_type functions.
793
794         * gtk/gtkbox.h: 
795         * gtk/gtkbox.c: type corrections for expand, fill, padding and pack_type
796         arguments. implemented child arguments.
797
798         * more GtkType and macro fixups.
799
800 Sun Jun 14 16:30:02 1998  Tim Janik  <timj@gtk.org>
801
802         * gtk/gtkcheckbutton.h: GtkType and macro fixups.
803
804         * gtk/gtkclist.h: exported the prototypes for gtk_clist_get_vadjustment
805         and gtk_clist_get_hadjustment.
806
807         * gtk/gtkcontainer.c:
808         implementation of children arguments, new class member functions
809         (child_type), (get_child_arg) and (set_child_arg) plus a new field
810         n_child_args.
811         (gtk_container_child_type): new function which returns the type of a
812         child that the container expects for its next addition.
813         (gtk_container_add_child_arg_type): new function to introduce a new
814         child argument at class creation time.
815         (gtk_container_query_child_args): new function to query all child
816         arguments that are supported by a container class.
817         (gtk_container_child_arg_getv): new fucntion to retrive the value of a
818         child argument.
819         (gtk_container_child_arg_setv): new function to set a child argument for
820         a certain container and child combination.
821         (gtk_container_add_with_args):
822         (gtk_container_add_with_argv): new functions to feature addition of a
823         new child in combination with the setting of certain child arguments.
824
825         * gtk/gtktypeuitils.c (gtk_type_class_init): feature initialization of
826         GtkContainerClass.n_child_args, similar to the GtkObjectClass members.
827         this should really be done through class cretion hooks some day.
828
829         * gtk/gtkcontainer.c: changed type of border_width from gint16 to
830         guint : 16.
831
832         * gtk/gtkpacker.h:
833         * gtk/gtkpacker.c: renamed all PadX and PadY to pad_x and pad_y to
834         follow the gtk convention for lower case variable names (important
835         for language wrappers and widget arguments), and made them guint : 16.
836
837         * examples/packer/pack.c: adaptions for the case converted GtkPacker
838         fields.
839
840 Fri Jun 12 16:33:23 1998  Tim Janik  <timj@gtk.org>
841
842         * gtk/gtkitemfactory.c (gtk_item_factory_parse_rc_scanner): do not
843         change the character pair for single line comments.
844         (gtk_item_factory_parse_rc): use the cpair_comment_signle specified in
845         GtkItemFactoryClass.
846         (gtk_item_factory_parse_rc_string): likewise.
847
848 Mon Jun 15 23:39:44 1998  Owen Taylor  <otaylor@gtk.org>
849
850         * gtk/gtkfontsel.[ch] (gtk_font_selection_dialog_init): Moved font
851         lists from the klass structure to a static structure
852         in gtkfontsel.c; cleans up global the namespace.
853
854 Mon Jun 15 22:16:10 1998  Owen Taylor  <otaylor@gtk.org>
855
856         * gtk/makeenums.pl (parse_entries): Fix (untriggered)
857         bug with /*< skip >*/ and remove warning.
858         
859 Mon Jun 15 20:14:09 1998  Owen Taylor  <otaylor@gtk.org>
860
861         * gtk/Makefile.am: Made the gtkmarshal.* generation
862         rules maintainer-only.
863
864 Mon Jun 15 16:29:45 1998  Owen Taylor  <otaylor@gtk.org>
865
866         * gdk/gdktypes.h gdk/gdkprivate.h gtk/gtk*.h 
867           gtk/Makefile.am gtk/makenums.pl 
868
869         Removed out the G_ENUM/FLAGS mechanism in favor
870         of a perl script that parses the standard headers
871         (with occasional /*< nick=foo >*/ style overrides)
872         and extracts the enumerations.
873
874           gtk/maketypes.awk: Small improvments to the
875           translation of names. (Avoid splitting gc into
876           g_c_.)
877         
878 Mon Jun 15 16:25:44 1998  Owen Taylor  <otaylor@gtk.org>
879
880         * gtk/gtk.h gtk/gtkfontsel.[ch]: 
881         Damon Chaplin's <DAChaplin@email.msn.com> Font selection widget.
882         
883 Mon Jun 15 15:58:34 1998  Owen Taylor  <otaylor@gtk.org>
884
885         * gtk/gtkentry.c:
886         - Restored gtk_entry_adjust_scroll to static 
887         - Changed text positioning code so that we always
888           display as large a portion of the text as possible.
889
890 Mon Jun 15 15:42:12 1998  Owen Taylor  <otaylor@gtk.org>
891
892         * gtk/gtktext.c (gtk_text_finalize): Free internal
893         structures of text widget. Also, unreference pixmaps
894         when unrealizing.
895         
896 Sat Jun 13 19:14:39 1998  Owen Taylor  <otaylor@gtk.org>
897
898         * gdk/gdkinputcommon.h (gdk_input_device_new): Change
899         3.3.1 bug workaround to number keys starting at 1.
900
901 Sat Jun 13 11:56:57 1998  Owen Taylor  <otaylor@gtk.org>
902
903         * docs/gtk_tut.sgml: Fixed urls for complete example
904         source for scribble+widget-writing examples.
905
906 Sat Jun 13 11:48:26 1998  Owen Taylor  <otaylor@gtk.org>
907
908         * gdk/gdkpixmap.c (gdk_pixmap_extract_color): 
909         Patch from Tom Bech <tomb@ii.uib.no>, to handle color
910         specs of the form c #abcdef [ more keys ] properly.
911
912 Sat Jun 13 10:51:56 1998  Stefan Jeske  <stefan@gtk.org>
913
914         * gtkspinbutton.h gtkspinbutton.c testgtk.c 
915         (gtk_spin_button_set_shadow_type):
916         New API to set the shadow type of the arrow panel.
917
918 Fri Jun 12 21:20:42 1998  Owen Taylor  <otaylor@gtk.org>
919
920         * gtk/gtkoptionmenu.c (gtk_option_menu_expose): Removed
921         code for drawing the child in two places at once. Unfortunately,
922         not only does it not work anymore (because reparenting has
923         been fixed), but it also triggers reparent/expose loops
924         in some cases.
925
926         * gtk/gtkoptionmenu.c (gtk_option_menu_remove_contents): Removed
927         an unecessary unrealize.
928
929 Fri Jun 12 21:18:56 1998  Owen Taylor  <otaylor@gtk.org>
930
931         * gdk/gdkwindow.c (gdk_window_reparent): Update the
932           old and new parents' child window lists properly.
933
934 Fri Jun 12 09:24:47 1998  Tim Janik  <timj@gtk.org>
935
936         * gtk/gtkpacker.h:
937         * gtk/gtkpacker.c: renamed enum GtkAnchor and GtkSide to GtkAnchorType
938         and GtkSideType, to be consistent with the rest of Gtk's enum
939         definitions. wrapped the enum definitions with the G_ eunm wrappers.
940         spelled out the GTK_ANCHOR_* enum values, since single letters don't
941         work out corectly as nick-names (left the old values as aliases).
942         some signdness corrections (border-width, spacing), could stand more.
943
944 Thu Jun 11 14:38:33 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
945
946         * gtk/gtkpacker.c, gtk/gtkpacker.h, gtk/gtk.h, gtk/Makefile.am: 
947           Added gtkpacker
948
949         * examples/packer/pack.c, examples/packer/Makefile: Added
950           gtkpacker example
951
952 Thu Jun 11 13:09:00 1998  Owen Taylor  <otaylor@gtk.org>
953
954         * gtk/gtktext.c (remove_cache_line): Fixed broken
955         list-removal code.
956
957         * gtk/gtktext.c: (gtk_text_delete_(forward/backward)_cahr)
958         Check bounds before deleting.
959
960 Wed Jun 10 23:21:33 1998  Owen Taylor  <otaylor@gtk.org>
961
962         * autogen.sh: Support ACLOCAL_FLAGS
963
964 Wed Jun 10 20:54:37 1998  Owen Taylor  <otaylor@gtk.org>
965
966         * gtk-config.in: Added missing quotes.
967
968 Wed Jun 10 18:44:22 PDT 1998 Manish Singh <yosh@gimp.org>
969
970         * gtk/gtkfeatures.in: #define GTK_HAVE_ACCEL_GROUP
971
972 1998-06-10  Raja R Harinath  <harinath@cs.umn.edu>
973
974         * acconfig.h (GTK_COMPILED_WITH_DEBUGGING): Renamed from
975         G_COMPILED_WITH_DEBUGGING.
976
977         * configure.in (fd_set): Explain check better.
978
979         * acinclude.m4: New file.  Contains `libtool.m4' from libtool-1.2,
980         the version from which gtk+'s libtool forked.  Needed for people
981         who use post-1.2 alphas of libtool.
982
983 Wed Jun 10 19:36:35 1998  Owen Taylor  <otaylor@gtk.org>
984
985         * glib/* Moved to glib module
986
987         * INSTALL Makefile.am acconfig.h autogen.sh configure.in
988           gtk-config.in gtk.m4 gdk/Makefile.am gtk/Makefile.am
989
990           configuration changes for the above:
991          
992           - Use AM_PATH_GLIB by default to find glib; also accept
993             a --with-glib option for using an uninstalled glib.
994          
995           - Put --enable-debug information into config.h so
996             that we rebuild when it changes. (was in glibconfig.h)
997
998 Wed Jun 10 22:23:27 1998  Lars Hamann  <lars@gtk.org>
999
1000         * gtk/gtkctree.c (draw_row): adapted clist pixmap clipping
1001
1002         * gtk/gtknotebook.h (struct _GtkNotebookClass):
1003         * gtk/gtknotebook.c (gtk_real_notebook_switch_page): 
1004         added missing argument (according to Joseph Coleman's bug report)
1005
1006         * gtk/gtknotebook.c (gtk_notebook_set_focus_child): new class
1007         function to fix notebook focus handling
1008         
1009 Wed Jun 10 12:57:03 1998  Owen Taylor  <otaylor@gtk.org>
1010
1011         * gdk/gdkcc.c glib/ghash.c glib/glib.h glib/gstring.c
1012           glib/gutils.c glib/testglib.c glib/gdataset.c
1013           gtk/gtkaccelgroup.c gtk/gtkmain.c gtk/gtksignal.c
1014           gtk/gtktext.c gtk/gtkbindings.c:
1015
1016          renamed g_const_pointer => gconstpointer
1017
1018 Wed Jun 10 06:25:17 1998  Tim Janik  <timj@gtk.org>
1019
1020         * gdk/gdk.c (gdk_init): prevent gdk_init() from segfaulting when
1021         invoked with (NULL, NULL); (this worked sometime ago).
1022
1023         * gtk/gtktypeutils.h: 
1024         * gtk/gtktypeutils.c: enum and flags type creation can now be done
1025         through gtk_type_register_enum() and gtk_type_register_flags(),
1026         which allow to specify the enum value arrays directly.
1027         the NULL terminated value arrays can be retrived through
1028         gtk_type_enum_get_values() and gtk_type_flags_get_values();
1029         (gtk_type_children_types): new function to query derived types.
1030
1031 1998-06-09  Raja R Harinath  <harinath@cs.umn.edu>
1032
1033         * gtk/Makefile.am (gtkmarshal.c gtkmarshal.h): Pass $srcdir in
1034         environment to genmarshal.pl.
1035         (gtk.defs,gtktypebuiltins*): Add $(srcdir) where needed (in the
1036         rule), and removed it where not needed (in the dependencies).
1037
1038         * gtk/genmarshal.pl: Look for `gtkmarshal.list' in $srcdir.
1039
1040 Tue Jun  9 18:44:57 1998  Owen Taylor  <otaylor@gtk.org>
1041
1042         * gtk/gtkobject.c: Removed g_object_pointer_hash, which
1043         was just g_direct_hash.
1044
1045 Mon May 25 19:54:20 1998  Owen Taylor  <otaylor@gtk.org>
1046
1047         * configure.in: x_libs=, not $x_libs=. Enough said.
1048           (Case only hit for --disable-xshm)
1049         
1050 Mon May 25 12:08:14 1998  Owen Taylor  <otaylor@gtk.org>
1051
1052         * configure.in (LDFLAGS): Add to $CFLAGS and $LDFLAGS
1053           when testing for X libraries, don't replace them. Because
1054           the user might have specified the path to the X libraries
1055           themself before running configure.
1056
1057         * examples/**.c: Changed all gpointer * to gpointer
1058         
1059 1998-06-09  Federico Mena Quintero  <federico@nuclecu.unam.mx>
1060
1061         * gtk/gtkhandlebox.h (struct _GtkHandleBox): Removed the
1062         fleur_cursor field.  Now the cursor is created/destroyed on demand
1063         by the routines that need it.
1064
1065         * gtk/gtkhandlebox.c (gtk_handle_box_button_changed): 
1066         (gtk_handle_box_motion): The fleur cursor is created and destroyed
1067         only when needed.
1068
1069 Tue Jun  9 09:57:09 1998  Tim Janik  <timj@gtk.org>
1070
1071         * gtk/gtktypeutils.h: 
1072         * gtk/gtktypeutils.c: renamed the newly created gtk_enum_get_values and
1073         gtk_enum_set_values to gtk_type_enum_get_values and
1074         gtk_type_enum_set_values respectively, since they are actually type
1075         system features.
1076
1077         * gtk/gtktypebuiltins_evals.c: oops, screwed the NULL termination with
1078         my last commit. ;)
1079
1080 Tue Jun  9 01:57:23 1998  Tim Janik  <timj@gtk.org>
1081
1082         * gtk/gtkselection.h: 
1083         * gtk/gtkselection.c: new functions gtk_selection_data_copy and
1084         gtk_selection_data_free.
1085
1086         * gtk/gtkwidget.c (gtk_widget_class_init): fixed gtk_signal_new() call
1087         for "selection_received", which was completely bogus.
1088         * other fixups to gtk_signal_new() calls all over the place.
1089
1090         * gtk/gtktypebuiltins.h: types as variables (formerly macros).
1091         * gtk/gtktypebuiltins_vars.c: type variable implementations.
1092         * gtk/gtktypebuiltins_ids.c: array entries for builtin type
1093         declarations.
1094         * gtk/gtktypebuiltins_evals.c: enum value arrays.
1095         * gtk/gtk-boxed.defs: gtk and gdk structure definitions, used to build
1096         gtk.defs.
1097         * gtk/gtk.defs: generated file with scheme syntax for type definitions
1098         of gtk and gdk structures and enums.
1099         * gtk/gtktypeutils.h: 
1100         * gtk/gtktypeutils.c: reworked type ids, so they are variables not
1101         macros anymore (this fixes binary incompatibility with new enum
1102         definitions).
1103
1104         * gtk/gtkwidget.c (gtk_widget_real_key_press_event): proccess possible
1105         key bindings for this widget.
1106         * gtk/gtkwindow.c (gtk_window_key_press_event): chain parent class'
1107         handler.
1108
1109         * gtk/gtkobject.h:
1110         * gtk/gtkobject.c: removed gtk_object_class_new_user_signal_no_recurse()
1111         again. new functions gtk_object_class_user_signal_new () and
1112         gtk_object_class_user_signal_newv (), to feature the GtkSignalRunType
1113         flag on the signal creation.
1114
1115 Mon Jun  8 20:52:21 1998  Tim Janik  <timj@gtk.org>
1116
1117         * gtk/gtkcontainer.h: new signal GtkContainer::set_focus_child.
1118
1119 Mon Jun  8 02:52:37 1998  Tim Janik  <timj@gtk.org>
1120
1121         * gdk/gdkprivate.h: 
1122         * gdk/gdktypes.h: 
1123         * gtk/gtkprivate.h: 
1124         * gtk/gtkwidget.h: 
1125         * gtk/gtkobject.h: wrapped enum definitions with glib macros.
1126
1127         * reworked enum value array generation code. gtk.defs is a generated
1128         file now.
1129
1130 Sun Jun  7 14:34:31 1998  Tim Janik  <timj@gtk.org>
1131
1132         * gtk/gtkitemfactory.c (gtk_item_factory_create_menu_entries): feature
1133         check menu items in the compatibility code (this required me to remove
1134         the "<check>" part from the menu item name, grrr).
1135
1136 1998-06-07  Marius Vollmer  <mvo@zagadka.ping.de>
1137
1138         * gdk/gdk.h (gdk_color_copy, gdk_color_free): New prototypes.
1139         * gdk/gdk.c (gdk_color_copy, gdk_color_free): New functions.
1140         
1141 Sun Jun  7 10:53:02 1998  Tim Janik  <timj@gtk.org>
1142
1143         * gtk/gtkitemfactory.h: 
1144         * gtk/gtkitemfactory.c: further additions to fit the gimp's code.
1145         additions to the dumping code to feature GtkPatternSpec.
1146         even found a bug to fix in the original code ;)
1147         
1148 Sun Jun  7 09:36:04 1998  Tim Janik  <timj@gtk.org>
1149
1150         * gtk/gtkitemfactory.c: support different types of callbacks, to
1151         maintain existing code.
1152
1153 Sat Jun  6 06:01:24 1998  Tim Janik  <timj@gtk.org>
1154
1155         * gtk/gtksignal.c (gtk_signal_emitv): fixed an assertment.
1156
1157         * gtk/makeenums.awk: a script to generate the GtkEnumValue arrays from,
1158         this should eventually be done by gentypeinfo.el somewhen.
1159         * gtk/gtkenumvalues.c: new generated file to hold GtkEnumValue arrays.
1160
1161         * gtk/gtktypeutils.h: new function gtk_enum_values() to retrive all the
1162         enum values of an enum type.
1163
1164         * gtk/gtk.defs:
1165         * gtk/gtkcurve.h: 
1166         * gtk/gtkobject.h: 
1167         * gtk/gtkprivate.h: 
1168         * gtk/gtkwidget.h:
1169         * gtk/gtkenums.h: 
1170         brought enum/flags definitions in sync, added a few more enum
1171         definitions for bindings and pattern matching.
1172
1173         * some more macro and GtkType fixups in various places.
1174
1175         * gdk/gdktypes.h (enum): added a new value GDK_AFTER_MASK, which is used
1176         as a key-release modifier for the binding system.
1177
1178 Fri Jun  5 06:06:06 1998  Tim Janik  <timj@gtk.org>
1179
1180         * gtk/gtkmenu.h (struct _GtkMenu): removed GList*children, since it
1181         was a stale list pointer that is already present in GtkMenuShell.
1182
1183         * gtk/gtkmenushell.h (struct _GtkMenuShellClass): added a signal
1184         GtkMenuShell::selection_done which is emitted after the menu shell
1185         poped down again and all possible menu items have been activated.
1186
1187 Thu Jun  4 02:20:42 1998  Tim Janik  <timj@gtk.org>
1188
1189         * gtk/gtkmenushell.c (gtk_menu_shell_button_release): flush the x-queue
1190         before activation of the menuitem, so the menu is actually taken off the
1191         screen prior to any menu item activation.
1192
1193         * gtk/gtkctree.c (gtk_ctree_get_row_data): allow function invokation
1194         for NULL nodes.
1195
1196         * gtk/gtkwidget.h:
1197         * gtk/gtkwidget.c: new function gtk_widget_stop_accelerator to stop
1198         the emission of the "add-accelerator" signal on a widget. this is
1199         usefull to prevent accelerator installation on certain widgets.
1200
1201         * gtk/gtknotebook.c (gtk_notebook_menu_item_create): keep the menu
1202         labels left justified, by setting their alignment. stop accelerator
1203         installation for the menu items, since we use dynamic menus.
1204
1205 Wed Jun  3 06:41:22 1998  Tim Janik  <timj@gtk.org>
1206
1207         * gtk/gtkmenufactory.c: adaptions to use the new accel groups. people
1208         should *really* use GtkItemFactory. this is only for preserving source
1209         compatibility where possible, use of GtkMenuFactory is deprecated as of
1210         now.
1211
1212         * gtk/gtkobject.h (gtk_object_class_add_user_signal): new function
1213         to create user signals of type GTK_RUN_NO_RECURSE. don't know why i
1214         missed this possibility when i added gtk_object_class_add_user_signal
1215         in late january.
1216
1217         * gtk/gtkmain.c (gtk_init): ignore subsequent function calls.
1218
1219 Sun May 31 07:31:09 1998  Tim Janik  <timj@gtk.org>
1220
1221         * gtk/gtkaccelgroup.h: 
1222         * gtk/gtkaccelgroup.c: new implementation of the accelerator concept.
1223
1224         * gtk/gtkaccellabel.h: 
1225         * gtk/gtkaccellabel.c: new widget derived from GtkLabel whitch features
1226         display of the accelerators associated with a certain widget.
1227
1228         * gtk/gtkitemfactory.h: 
1229         * gtk/gtkitemfactory.c: new widget, item factory with automatic rc
1230         parsing and accelerator handling.
1231
1232         * gtk/gtkmenu.c (gtk_menu_reposition): new function to care for
1233         positioning a menu.
1234         (gtk_menu_map): removed the allocation code.
1235         (gtk_menu_size_allocate): care for redrawing of children and resize
1236         our widget->window correctly.
1237         (gtk_menu_key_press): feature the new accelerator groups.
1238
1239         * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): reposition the
1240         submenu if neccessary.
1241
1242         * gtk/gtkmenuitem.c:
1243         * gtk/gtkcheckmenuitem.c:
1244         * gtk/gtkradiomenuitem.c: use GtkAccelLabel in the *_new_with_label()
1245         function variants.
1246
1247         * gdk/gdk.c:
1248         (gdk_keyval_from_name): 
1249         (gdk_keyval_name): new functions for keyval<->key-name associations.
1250         (gdk_keyval_to_upper): 
1251         (gdk_keyval_to_lower): 
1252         (gdk_keyval_is_upper): 
1253         (gdk_keyval_is_lower): new functions to check/translate keyvalues with
1254         regards to their cases.
1255
1256 Wed May 27 00:48:10 1998  Tim Janik  <timj@gtk.org>
1257
1258         * gtk/gtkwidget.c (gtk_widget_class_path): new function to calculate a
1259         widget's class path.
1260         (gtk_widget_path): new function to calculate a widget's name path.
1261
1262         * gtk/gtkrc.c: newly introduced GtkPatternSpec structures to speed up
1263         pattern matching, features reversed pattern matches.
1264
1265 Thu Jun  4 12:12:11 BST 1998  Tony Gale  <gale@gtk.org>
1266
1267         * examples/extract.sh, examples/extract.awk:
1268           New files to automagically extract code examples from the
1269           tutorial.
1270
1271 Tue Jun  2 20:04:45 1998  Lars Hamann  <lars@gtk.org>
1272
1273         * gtk/gtknotebook.c (gtk_notebook_page_select) (gtk_notebook_focus)
1274         * gtk/gtkcontainer.c (gtk_container_focus_move):
1275         reversed test sequence for GTK_WIDGET_CAN_FOCUS and GTK_IS_CONTAINER
1276
1277 Tue Jun  2 13:04:06 BST 1998  Tony Gale  <gale@gtk.org>
1278
1279         * docs/gtk_tut.sgml: minor changes to support auto
1280           extraction of example code
1281
1282 Mon Jun  1 12:47:56 BST 1998  Tony Gale  <gale@gtk.org>
1283
1284         * docs/gtk_tut_it.sgml: Update of Italian Tutorial
1285           to Tutorial of 24th May, from Daniele Canazza <dcanazz@tin.it>
1286
1287 Fri May 29 13:53:57 BST 1998  Tony Gale  <gale@gtk.org>
1288
1289         * docs/gtk_tut.sgml:
1290           - new section on Events
1291           - change all delete_event callbacks to include
1292             a GdkEvent parameter
1293           - clean up the formatting
1294
1295         * examples - helloworld.c, helloworld2.c, notebook.c,
1296           packbox.c, pixmap.c, progressbar.c, radiobuttons.c,
1297           rulers.c, table.c, wheelbarrow.c: change all delete_event
1298            callbacks to include a GdkEvent parameter.
1299
1300 1998-05-26  Federico Mena Quintero  <federico@nuclecu.unam.mx>
1301
1302         * gdk/gdktypes.h (GdkCrossingMode): New enumeration for the "mode"
1303         field of crossing events.
1304         (struct _GdkEventCrossing): Added the following fields: time, x,
1305         y, x_root, y_root, mode, focus, state.
1306
1307         * gdk/gdk.c (gdk_event_translate): Fill in the new fields of the
1308         crossing event structure.
1309
1310         * gtk/gtkfeatures.h (GDK_HAVE_FULL_CROSSING_EVENT): Annotate
1311         changes to the crossing event structure.
1312
1313 Tue May 26 15:51:28 1998  Radek Doulik  <gis@academy.cas.cz>
1314
1315         * gdk/gdk.c: include gdkx.h always (for GDK_ROOT_WINDOW)
1316
1317 Sun May 24 12:11:38 BST 1998  Tony Gale  <gale@gtk.org>
1318
1319         * docs/gtk_tut.sgml:
1320            - GtkTooltips, update to current API
1321            - change all 'gpointer *data' to 'gpointer data'
1322            - other minor changes
1323
1324 Sat May 23 21:54:05 1998  Owen Taylor  <otaylor@gtk.org>
1325
1326         * configure.in (LDFLAGS): Bomb out with a moderately
1327           helpful message if detection of X libraries fails.
1328
1329 Sat May 23 18:57:06 1998  Owen Taylor  <otaylor@gtk.org>
1330
1331   [ Combination of:
1332      gtk-rrh-980412-0.patch (Raja R Harinath <harinath@cs.umn.edu>)
1333      gtk-jbuhler-980516-0 (Jeremy Buhler <jbuhler@cs.washington.edu>) ]
1334
1335         * gdk/gdk.h gdk/gdkcc.c gdk/gdkfont.c gtk/gtkmain.c
1336           gtk/gtksignal.c gtk/gtktext.c: 
1337
1338           Fixups for warnings from adding const to type of GHashFunc,
1339           GCompareFunc
1340         
1341         * gtk/gtkcombo.c (gtk_combo_entry_key_press): Minor style/
1342           ansi-warnings fixups.
1343
1344 Sat May 23 17:48:58 1998  Owen Taylor  <otaylor@gtk.org>
1345
1346         * gtk/gtkeventbox.c (gtk_event_box_size_allocate): 
1347         Locate child at (border_width,border_width), not
1348         (2*border_width,2*border_width). [ The border is _outside_
1349         widget->window ]
1350         
1351         * gdk/gdk.[ch]: added gdk_screen_width_mm/gdk_screen_height_mm
1352           functions. [From: Alexander Larsson <alla@lysator.liu.se> ]
1353
1354 1998-05-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>
1355
1356         * gtk/gtkfeatures.h.in: Define GTK_HAVE_RC_SET_IMAGE_LOADER, to be
1357         used in gnome-libs
1358
1359 1998-05-22    <sopwith@redhat.com>
1360
1361         * gtk/gtkeventbox.c: Pass size_allocate on to the child
1362         regardless of whether it is visible or not. Also
1363         locate child at (border_width,border_width), not (0,0)
1364
1365 Fri May 22 03:02:40 1998  Owen Taylor  <otaylor@gtk.org>
1366
1367         * gtk/gtkhandlebox.c: Added style_set handler.
1368
1369 Fri May 22 02:55:57 1998  Owen Taylor  <otaylor@gtk.org>
1370  [ From: Chris Lahey  <clahey@umich.edu> ]
1371         
1372         * gtk/gtkeditable.c, gtk/gtkeditable.h,
1373           gtk/gtktext.c, gtk/gtkentry.c: Added get_position,
1374           and set_position functions to get and set the cursor position.
1375
1376         * gtk/gtkeditable.c: Restored "insert_text" and "delete_text" to
1377           signal status. Make GtkText do user-controlled insertion
1378           and deletion through the Editable widget so that these
1379           signals are properly emitted.
1380
1381         * gtk/gtkentry.c: Changed gtk_entry_set_visibility to 
1382           display asterisks instead of empty space when visible = FALSE)
1383
1384 Fri May 22 08:51:10 CEST 1998  Paolo Molaro <lupus@debian.org>
1385
1386         * gtk/gtkclist.c: use GTK_TYPE_GDK_EVENT in (un)?select_row
1387         signal.
1388
1389 1998-05-21    <sopwith@redhat.com>
1390
1391         * gtk/gtkrc.[ch]: gtk_rc_set_image_loader() - allow apps to set a
1392         custom routine for loading images specified in gtkrc's.
1393
1394 Tue May 19 23:41:04 1998  Owen Taylor  <otaylor@gtk.org>
1395
1396         * configure.in: Use pthread_attr_init() as a test function,
1397         since most of the rest of -lpthread is macros on DU4.
1398
1399 Tue, 19 May 1998 09:03:03 +0200  Paolo Molaro <lupus@debian.org>
1400
1401         * gtk/gtkcombo.c: implemented completion in the entry.
1402
1403 1998-05-18    <sopwith@moebuis.labs.redhat.com>
1404
1405         * gtk/gtk{debug.h,signal.c,main.c}: Allow GTK_DEBUG=signals
1406
1407 Mon May 18 04:01:41 1998  Tim Janik  <timj@gtk.org>
1408
1409         * gtk/gtkwidget.c (gtk_widget_class_init): changed "proximity-in-event",
1410         "drop-data-available-event", "drop-enter-event" and "drop-leave-event"
1411         to be of runtype GTK_RUN_LAST.
1412
1413         * gtk/gtkcontainer.c (gtk_container_class_init): likewise for
1414         "need-resize".
1415
1416         * gtk/gtktipsquery.c (gtk_tips_query_class_init): likewise for
1417         "widget-selected".
1418
1419 Sat May 16 09:04:32 1998  Tim Janik  <timj@gtk.org>
1420
1421         * gtk/gtkfilesel.c (gtk_file_selection_key_press): g_strdup() the
1422         text retrived from GtkEntry. only intercept the Tab key if there
1423         was some text to complete.
1424
1425 Fri May 15 21:16:54 1998  Owen Taylor  <otaylor@gtk.org>
1426
1427         Basic thread-awareness:
1428
1429         * acconfig.h configure.in: New option --with-threads=[yes/posix/no]
1430
1431         * gdk/Makefile.am gdk/gdkthreads.c: Added new functions 
1432         gdk_threads_[init/enter/leave] for applications, plus
1433         gdk_threads_wake to wake the mainloop thread out of
1434         the select().
1435
1436         * gtk/Makefile.am: gtk/testthreads.c: Test program for threads
1437
1438 Fri May 15 12:08:48 1998  Owen Taylor  <otaylor@gtk.org>
1439
1440         * gtk/testgtk.c (list_clear): Account for the fact
1441         that gtk_list_clear_items is not inclusive. (Clears
1442         [start, end))
1443
1444 Fri May 15 12:31:27 1998  rodo  <doulik@karlin.mff.cuni.cz>
1445
1446         * gdk/gdk.c: include gdkkeysyms.h always
1447         
1448
1449 Fri May 15 09:44:10 1998  Tim Janik  <timj@gtk.org>
1450
1451         * gtk/gtkwidget.h (struct _GtkWidgetClass): corrected returntype of
1452         the visibility_notify_event method and changed method order.
1453
1454 1998-05-14    <sopwith@moebuis.labs.redhat.com>
1455
1456         * gtk/gtkwidget.[ch] Added visibility_notify_event to GtkWidget
1457
1458 Thu May 14 03:04:43 1998  Tim Janik  <timj@gtk.org>
1459
1460         * gtk/gtk.defs: added GtkButtonBoxStyle and GtkOrientation definitions
1461         from Olli Helenius <ollhel@batman.jytol.fi>.
1462
1463         * gtk/gtktypeutils.c (gtk_type_free): new function to take care about
1464         freeing types.
1465         (gtk_type_set_chunk_alloc): new function to allow allocation of new
1466         types from a mem_chunk of certain size (n_chunks==0 indicates allocation
1467         thorugh g_malloc).
1468
1469         * gtk/gtkobject.c (gtk_object_finalize): free an object through
1470         gtk_type_free().
1471
1472         * gtk/gtkbutton.c (gtk_button_get_type): set chunk preallocation for
1473         GtkButtons to 16.
1474         * gtk/gtkmenuitem.c (gtk_menu_item_get_type): likewise (16).
1475         * gtk/gtklabel.c (gtk_label_get_type): likewise (32).
1476
1477 Wed May 13 00:53:52 1998  Owen Taylor  <otaylor@gtk.org>
1478
1479         * gtk/gtktypeutils.c gtk/gtksignal.c gdk/gdkdnd.c: A few more 
1480           GPOINTER_TO_UINT fixes.
1481
1482         * gtk/gtksignal.c: Include <string.h> for memset.
1483
1484 Tue May 12 23:10:53 1998  Owen Taylor  <otaylor@gtk.org>
1485         (Maximilian Bisani <bisani@kawo2.rwth-aachen.de>: gtk-bisani-980320-0)
1486
1487         * gtk/gtkvruler.c gtk/gtkhruler.c gtk/gtkruler.h: 
1488         Cleanups, comments and the ability to have rulers with 
1489         a reversed direction.
1490
1491 Tue May 12 19:37:55 1998  Owen Taylor  <otaylor@gtk.org>
1492
1493         * gtk/gtkrc.c (gtk_rc_parse_file): Fixed up a stat()
1494         that Sopwith missed when changing stat => lstat.
1495
1496 Tue May 12 19:19:29 1998  Owen Taylor  <otaylor@gtk.org>
1497
1498         * gtk/gtkinputdialog.c gtk/gtkgamma.c gtk/gtkrc.c
1499           gtk/gtkcolorsel.c gtk/gtkclist.c gtk/testgtk.c: Use
1500         GPOINTER_TO_INT/GINT_TO_POINTER macros where appropriate.
1501
1502         * gdk/gdk.c: Print sizeof() results
1503         as g_print("%ld", (glong)sizeof(foo)), to deal with
1504         sizeof() being long on Alpha's.
1505
1506         * gtk/testgtk.c: include <string.h> for strlen
1507
1508 Tue May 12 16:56:35 1998  Owen Taylor  <otaylor@gtk.org>
1509         (James A <jamesa@demon.net> : gtk-jamesa-980511-4.patch)
1510         
1511         * gtk/gtkbbox.h gtk/gtkcolorsel.h gtk/gtkvbbox.h:
1512         Changed #include "gtkfoo.h" to #include <gtk/gtkfoo.h>
1513
1514         * gtk/gtkwindow.[ch]: Added const to gtk_window_set_wmclass
1515
1516 Tue May 12 15:16:10 1998  Owen Taylor  <otaylor@gtk.org>
1517         (From: Christopher James Lahey <clahey@umich.edu>)
1518         
1519         * gtk/gtkbutton.[ch] gtk/gtkenums.h gtk/gtktoolbar.[ch]
1520           gtk/testgtk.c:
1521
1522         Added 'relief' for buttons - they can be either GTK_RELIEF_NORMAL
1523         (old style), or GTK_RELIEF_NONE - no relief in the NORMAL
1524         state. Added gtk_toolbar_{set,get}_button_relief, which set/get
1525         the default relief for the toolbars buttons. Added an
1526         toggle for the toolbar test in testgtk.c.
1527
1528 Tue May 12 00:24:59 1998  Owen Taylor  <otaylor@gtk.org>
1529
1530         * docs/gtk-config.1: Rewritten and hopefully improved.
1531
1532 Mon May 11 20:26:39 PDT 1998 Manish Singh <yosh@gimp.org>
1533
1534         * docs/Makefile.am
1535         * docs/gtk-config.1: added man page for gtk-config by Ben Gertzfield
1536
1537 1998-05-11  Federico Mena Quintero  <federico@nuclecu.unam.mx>
1538
1539         * gtk/gtkpreview.c (gtk_preview_realize): Create the window using
1540         GtkPreview's visual and colormap, otherwise things can BadMatch.
1541
1542         * gtk/testgtk.c (create_color_preview): 
1543         (create_gray_preview): Removed pushing/popping of visual/colormap
1544         now that GtkPreview does things correctly.
1545
1546         * gtk/gtkcolorsel.c (gtk_color_selection_draw_wheel_frame): 
1547         (gtk_color_selection_draw_wheel): Pick the style from the correct
1548         place (the colorsel->wheel_area widget) so that the GCs will match
1549         with where we are going to paint to.
1550
1551         * gtk/testgtk.c (create_color_selection): Removed pushing/popping
1552         of visual/colormap now that GtkColorSelection does things the
1553         right way.
1554
1555 Mon May 11 21:04:51 1998  Owen Taylor  <otaylor@gtk.org>
1556
1557         * gtk/gtkwindow.c (gtk_real_window_move_resize): Use the
1558         previously unused window->need_resize flag to mark if a window's
1559         descendents changed size while the window was not visible. In this
1560         case, when the window becomes visible, we reallocate everything,
1561         since we didn't keep track of what actually changed.
1562
1563         (Fixes bug where changing the popdown strings of a
1564         combo to something of the same length caused them to
1565         blank out, as reported by Todd Dukes <tdukes@ibmoto.com>)
1566
1567 Tue May 12 02:31:57 1998  Tim Janik  <timj@gtk.org>
1568
1569         [security audit by Alan Cox]
1570
1571         * gtk/gtkobject.c (gtk_object_get_arg_type): check for arg_name to not
1572         exceed maximum assumed size.
1573
1574         * gtk/gtkmenufactory.c (gtk_menu_factory_create): check that `path' does
1575         not exceed maximum assumed size.
1576         (gtk_menu_factory_remove): likewise.
1577         (gtk_menu_factory_find_recurse): likewise.
1578
1579 Mon May 11 23:53:38 1998  Tim Janik  <timj@gtk.org>
1580
1581         * gtk/gtkwidget.c (gtk_widget_queue_resize): queue the idle_sizer with
1582         GTK_PRIORITY_INTERNAL - 1, so widgets get first resized and then
1583         redrawn if that is still neccessary. don't allow queueing of already
1584         destructed objects.
1585         (gtk_widget_idle_sizer): proccess the resize queue in a save manner, so
1586         widgets which are in the queue can be destroyed safely, handle
1587         requeueing properly.
1588         (gtk_widget_idle_draw): proccess the redraw queue in a save manner, so
1589         widgets which are in the queue can be destroyed/unrealized safely.
1590
1591 Mon May 11 17:54:44 BST 1998 Tony Gale  <gale@gtk.org>
1592
1593         * gtkfaq.sgml: add question on multi-threading,
1594           minor URL cleanups.
1595
1596 Mon May 11 09:56:45 1998  Tim Janik  <timj@gtk.org>
1597
1598         * configure.in (cflags_set): preserve automake CFLAGS.
1599
1600         * Makefile.am: fully rename the created libraries to libgtk-1.1.la
1601         and libgdk-1.1.la. this means we need to change certain portions of
1602         the Makefile.am on major/minor version bumps.
1603
1604         * ltmain.sh: the -release option is not required anymore.
1605         
1606         * gtk/gtkobject.h (gtk_trace_referencing): compile time check the type
1607         of the first argument to be of type GtkObject. unconditionally compile
1608         this function. removed __GNUC__ dependancy of the gtk_object_ref and
1609         gtk_object_unref macro wrappers for this function.
1610
1611 Mon May 11 02:31:19 1998  Tim Janik  <timj@gtk.org>
1612
1613         * gtk/gtkobject.h:
1614         * gtk/gtkobject.c:
1615         (gtk_object_data_try_key):
1616         (gtk_object_data_force_id): these are now macros substituting the old
1617         functions. we just use the corresponding g_dataset_* functions for
1618         key->id associations. (this is to assure unique key<->id associations).
1619
1620 1998-05-10  Stefan Jeske  <stefan@gtk.org>
1621
1622         * gtk/gtkctree.c (gtk_ctree_is_visible): Changed return value
1623         to gboolean.
1624
1625         * docs/gtk.texi (GtkCTree): Started documentation of GtkCTree.
1626
1627 Sat May  9 20:11:20 1998  Owen Taylor  <otaylor@gtk.org>
1628
1629         * configure.in (LIBS): Try to figure out if this
1630         is Digital Unix and we need -std1 to get the
1631         right prototypes.
1632
1633 Sat May  9 16:30:33 BST 1998 Tony Gale  <gale@gtk.org>
1634
1635         * docs/gtk_tut_it.sgml: update of Italian tutorial
1636           translation from Daniele Canazza <dcanazz@tin.it>
1637
1638 Sat May  9 02:34:41 1998  Tim Janik  <timj@gtk.org>
1639
1640         * gtk/gtkfeatures.h.in: new file used as template for
1641         * gtk/gtkfeatures.h: new file to define macros indicating newly
1642         introduced features, such as GTK_HAVE_SIGNAL_INIT.
1643
1644         * gtk/gtksignal.c:
1645         (gtk_signal_emitv_by_name):
1646         (gtk_signal_emitv):
1647         new functions to emit signals with an already provided parameter set.
1648         (provided by Kenneth Albanowski <kjahds@kjahds.com>).
1649         (gtk_signal_real_emit): prototype changes, so this functions always
1650         gets its parameters and signal structure as arguments.
1651         (gtk_signal_emit): provide the signal structure and parameter list for
1652         gtk_signal_real_emit.
1653         (gtk_signal_emit_by_name): likewise.
1654
1655 Sat May  9 00:03:12 1998  Tim Janik  <timj@gtk.org>
1656
1657         * gtk/gtksignal.c (gtk_signal_handler_unref): reflect the presence of
1658         signal connections through unsetting GTK_CONNECTED.
1659         (gtk_signal_handler_insert): reflect the presence of signal connections
1660         through setting GTK_CONNECTED.
1661         (gtk_signal_real_emit): only check for handler emissions if the object
1662         has the GTK_CONNECTED flag set.
1663         (gtk_signal_handler_pending): don't check for pending handlers if the
1664         GTK_CONNECTED flag is not set for this object.
1665
1666         * gtk/gtkobject.h (enum): new flag GTK_CONNECTED to indicate whether
1667         a GtkObject has signal handler connections.
1668
1669         * gtk/gtkobject.c (gtk_object_real_destroy): only if GTK_CONNECTED is
1670         set for this object call gtk_signal_handlers_destroy().
1671         
1672         * gtk/gtktypeutils.h (GTK_TYPE_IS_A): deprecated macro, since it caused
1673         multiple processing of macro args.
1674
1675         * gtk/gtktypeutils.c:
1676         * gtk/gtkobject.c:
1677         * gtk/gtkwidget.c:
1678         * gtk/gtksignal.c: reverted GTK_TYPE_IS_A back to gtk_type_is_a.
1679
1680 Fri May  8 21:31:50 1998  Owen Taylor  <otaylor@gtk.org>
1681
1682         * gtk/gtkwidget.c (gtk_widget_queue_draw): Free the
1683         draw-queue when we are done. 
1684
1685         (gtk_widget_queue_draw/_queu_resize): Always return
1686         FALSE and avoid having two idles at the same time.
1687         
1688 Fri May  8 21:04:00 1998  Owen Taylor  <otaylor@gtk.org>
1689
1690         * gtk/gtktext.c: Various fixes to make sure cache
1691         lines are freed if line_start_cache doesn't point to the
1692         beginning of the cache.
1693
1694 Thu May  7 09:44:22 1998  Owen Taylor  <otaylor@gtk.org>
1695
1696         * style_set improvements for GtkText and GtkEntry
1697
1698 Thu May  7 19:03:50 1998  Tim Janik  <timj@gtk.org>
1699
1700         * gtk/gtktypeutils.c (gtk_type_unique): asure that the type system has
1701         been initialized.
1702
1703 Thu May  7 12:52:45 1998  Tim Janik  <timj@gtk.org>
1704
1705         * gtk/gtkobject.c (gtk_object_set_data_by_id_full): allocate object
1706         data chunks through a global object data structure list. unlink
1707         object data before invoking its destroy function.
1708         (gtk_object_finalize): slight modification to allow usage of object
1709         data during object finalization.
1710
1711 Thu May  7 10:29:24 1998  Tim Janik  <timj@gtk.org>
1712
1713         * gtk/gtksignal.c (gtk_signal_newv): suport middle dashes ('-') in
1714         signal names, e.g. "signal-name" is now an alias for "signal_name".
1715         (gtk_signal_handler_new): allocate handlers through a global handler
1716         structure list, that's faster than memchunks.
1717         (gtk_emission_new): allocate emissions through a global emission
1718         structure list, that's faster than memchunks.
1719
1720 Thu May  7 05:14:19 1998  Tim Janik  <timj@gtk.org>
1721
1722         * gtk-config.in (--libs): postfix -lg* libraries with LT_RELEASE.
1723
1724         * ltmain.sh: added a new commandline flag -postfix similar to -release,
1725         but will immediately change the library name.
1726
1727         * gdk/Makefile.am:
1728         * gtk/Makefile.am: specify -postfix and -version-info
1729
1730         * configure.in: version bump to 1.1.0. added GTK_INTERFACE_AGE and
1731         GTK_BINARY_AGE. calculate LT_* variables for libtool.
1732
1733 1998-05-06  Federico Mena Quintero  <federico@nuclecu.unam.mx>
1734
1735         * gtk/gtkclist.c (draw_row): Fixed incorrect painting of row
1736         background (fg_set -> bg_set confusion).
1737
1738 1998-05-06  Stefan Jeske  <stefan@gtk.org>
1739
1740         * gtk/testgtk.c (unselect_all): Removed code that caused an
1741         endless loop.
1742
1743 Wed May  6 02:16:34 1998  Tim Janik  <timj@gtk.org>
1744
1745         * gtk/gtksignal.c: reimplemented the signal storage system to use a
1746         linear array rather than a hash table.
1747         be carefull *not* to keep any GtkSignal pointers across invokations
1748         of gtk_signal_next_and_invalidate() and therefore gtk_signal_new[v]().
1749         general code cleanups, made all allocations through memchunks.
1750         (gtk_signal_lookup): we now do the lookup of signals through a key_id
1751         for the signal names to avoid multiple hashing of the signal name on
1752         lookups for the several hirarchy levels of an object.
1753
1754 Tue May  5 19:49:27 1998  Owen Taylor  <otaylor@gtk.org>
1755
1756         * gdk/gdkpixmap.c: Patches from Gordon Matzigkeit
1757         to speed things up and remove code duplication.
1758
1759         Reintegrated buffer overflow patches, and added
1760         some extra paranoia.
1761         
1762 Tue May  5 17:04:14 1998  Owen Taylor  <otaylor@gtk.org>
1763
1764         * gdk/gdk.c (gdk_event_translate): A guint * was
1765         being passed where X expected a Keysym *, and
1766         keysyms are long's on Alpha Linux. This was causing
1767         segfaults in Xlib, apparently because of alignment.
1768         (Bug located by Juergen Haas <haas@forwiss.uni-passau.de>)
1769         
1770 Tue May  5 19:11:27 1998  Owen Taylor  <otaylor@gtk.org>
1771
1772         * gtk/gtkdrawingarea.c (gtk_drawing_area_realize): Always
1773         set GDK_EXPOSURE_MASK for DrawingAreas
1774
1775 Tue May  5 14:32:37 1998  Owen Taylor  <otaylor@gtk.org>
1776
1777         * gtk/gtkwidget.[ch]: removed gtk_widge_propagate_default_style
1778         (superceded by RC file reparsing capabilities)
1779
1780         * gtk/gtkwindow.c: Add handling for _GDK_READ_RFCILES client
1781         events. (Shouldn't be sent to the InputOnly leader, which
1782         it is now by gdk_event_send_clientmessage_toall
1783
1784         * gtk/testgtk.c: Added extra button to rcfiles test
1785         to send out _GDK_READ_RCFILES events.
1786         
1787 Tue May  5 11:03:00 1998  Owen Taylor  <otaylor@gtk.org>
1788
1789         * gtk/gtkselection.c (gtk_selection_clear): Fixed
1790         reversed conditionals that caused segfault on some
1791         platforms.
1792
1793 Tue May  5 00:44:47 1998  Owen Taylor  <otaylor@gtk.org>
1794
1795         * gtk/gtkcontainer.c (gtk_container_set_focus_[hv]adjustment):
1796         cast to GTK_OBJECT for gtk_object_ref.
1797
1798 Tue May  5 15:33:27 1998  Tim Janik  <timj@gtk.org>
1799
1800         * gtk/gtkmain.c (gtk_init): added gtk_signal_init() to avoid repeatedly
1801         checking for signal initialization in gtksignal.c.
1802
1803         * gtk/gtktypeutils.c (TYPE_NODES_BLOCK_SIZE): reseted this to 200 after
1804         a long debugging period ;)
1805
1806 1998-05-05  Stefan Jeske  <stefan@gtk.org>
1807
1808         * gdk/gdkgc.c gdk/gdk.h gtk/gtkctree.c (gdk_gc_set_dashes):
1809         New function to wrap XSetDashes; modified gtkctree.c to use it.
1810
1811 1998-05-04  Federico Mena Quintero  <federico@nuclecu.unam.mx>
1812
1813         * configure.in: Added $x_libs in the other_libraries field in the
1814         check for XShapeCombineMask.
1815
1816 Mon May  4 00:30:11 1998  Tim Janik  <timj@gtk.org>
1817
1818         * gtk/gtktypeutils.h (GTK_TYPE_IS_A): new macro to speedup
1819         gtk_type_is_a().
1820         * gtk/gtktypeutils.c: reimplemented the type storage system to use a
1821         linear array rather than a hash table. it actually speeded up testgtk
1822         for a *considerable* amount. be carefull *not* to keep any GtkTypeNode
1823         pointers across invokations of gtk_type_node_next_and_invalidate() and
1824         therefore gtk_type_unique()!
1825
1826         * gtk/gtkobject.h (GTK_IS_OBJECT_CLASS): new macro to test for the
1827         inheritance of a class pointer.
1828         (GTK_OBJECT): modifications for speedups.
1829         (GTK_IS_OBJECT): likewise.
1830         (GTK_OBJECT_CLASS): likewise.
1831         (suggested by owen).
1832
1833         * gtk/gtkcontainer.h (GTK_IS_CONTAINER_CLASS): new macro.
1834
1835         * gtk/gtkwidget.h (GTK_IS_WIDGET_CLASS): new macro.
1836
1837         * gtk/gtk.defs (GtkTooltips): define GtkTooltips as object not as boxed,
1838         since its derivation changed 4 month ago ;(. showed up with the unique
1839         type name checking code in gtk_type_unique().
1840
1841         * random guint->GtkType and macro fixups.
1842
1843 Sat May  2 23:14:34 1998  Owen Taylor  <otaylor@gtk.org>
1844
1845         * gtk/gtkcurve.c (gtk_curve_graph_events): Ignore
1846         Configure events that would result in a negative
1847         size.
1848
1849 Sun May  3 14:55:34 1998  Owen Taylor  <otaylor@gtk.org>
1850
1851         * docs/gtkfaq.sgml (CPPFLAGS): Added a FAQ entry about
1852         "glibconfig.h" and another about writing another IRC
1853         client.
1854
1855 Sat May  2 00:14:05 1998  Owen Taylor  <otaylor@gtk.org>
1856
1857         * gtk/gtkpreview.c (gtk_trim_cmap): Make sure the
1858         parameters to log are doubles. Digital Unix apparently
1859         is missing the argument in its prototype.
1860
1861 Sun May  3 19:04:46 1998  Owen Taylor  <otaylor@gtk.org>
1862
1863         * gtk/gtklabel.c (gtk_label_state_changed): Don't
1864         force a clear until the widget is actually on
1865         screen.
1866
1867 Sun May  3 21:32:35 1998  Owen Taylor  <otaylor@gtk.org>
1868
1869         * gdk/gdk.c (gdk_event_translate): Grab with OwnerEvents = False
1870         to make this consistent with the gtk-1-0 tree.
1871
1872 Sun May  3 13:38:22 1998  Owen Taylor  <otaylor@gtk.org>
1873
1874         * configure.in acheader.h gdk/gdkwindow.c 
1875         Check for Shape extension both on the client and server
1876         side. (And, more importantly, check for the shape extension
1877         so we may include -lXext even when compiling with --disable-xshm)
1878
1879         Don't set override_redirect on all shaped windows. It isn't
1880         necessary.
1881
1882         * gdk/gdkwindow.c: Set ->colormap to NULL for root 
1883         and foreign windows. Use this to check if we
1884         need to get the colormap from X.
1885
1886 Fri May  1 22:32:47 1998  Owen Taylor  <otaylor@gtk.org>
1887
1888         * gtk/gtkbutton.c (gtk_button_paint): Draw the areas
1889         between the default and the button always in GTK_STATE_NORMAL.
1890
1891         * gtk/gtkrange.c (gtk_range_style_set): Added a style_set
1892         callback.
1893
1894 Fri May  1 16:40:57 1998  Owen Taylor  <otaylor@gtk.org>
1895
1896         * gdk/gdkpixmap.c (gdk_pixmap_colormap_create_from_xpmp[_d]):
1897           Fix a buffer overflow on pixmaps that claim to have
1898           more than 31 characters per pixel.
1899
1900           (gdk_pixmap_read_string): Don't wrap around strings longer
1901           than half of address space ;-)
1902
1903         * gtk/gtk[vh]ruler.c gtk/gtkinputdialog.c: Expand some buffers
1904         that were used for printing integers.
1905
1906         * */* (almost):
1907
1908         Style: All 
1909           int foo () { ... }
1910         changed to
1911           int foo (void) { ... }
1912
1913         Even where there were proper prototypes elsewhere.
1914
1915         * gdk/gxid.c (handle_claim_device): Some extra checks.
1916         It isn't safe against being fed bad X id's, but at
1917         least it should be safe against deleting all your
1918         files.
1919
1920 Sun May  3 19:45:09 1998  Tim Janik  <timj@gtk.org>
1921
1922         * gtk/gtkadjustment.c (gtk_adjustment_assimilate_value): new function
1923         to set the adjustments value when there is no current emission.
1924         [ Removed by mutual agreement owt 5/3/1998 ]
1925
1926         * gtk/gtksignal.c: added new functions to retrive the number of
1927         existing emissions for a certain signal.
1928         (gtk_signal_n_emissions): new function.
1929         (gtk_signal_n_emissions_by_name): new function.
1930
1931 Sun May  3 16:55:43 1998  Tim Janik  <timj@gtk.org>
1932
1933         * gtk/gtkcontainer.c (gtk_container_set_focus_child): new function to
1934         set the current focus_child of a container, does proper referencing and
1935         adjusts the vadjustment/hadjustment associated with the focus widget.
1936
1937         * gtk/gtkwidget.c (gtk_widget_grab_focus): set the focused child on
1938         containers via gtk_container_set_focus_child.
1939
1940         * gtk/gtknotebook.c: modifications to use gtk_container_set_focus_child
1941         where appropriate.
1942
1943         * gtk/gtkcontainer.c (gtk_container_remove): removed unsetting of focus
1944         child since not every child removal goes through this function (this
1945         showed up after gtk_container_set_focus_child() started to reference the
1946         focus_child of a container).
1947
1948         * gtk/gtkwidget.c (gtk_widget_unparent): moved unsetting the focus_child
1949         of a container from gtk_container_remove into this place.
1950
1951 Sat May  2 22:33:45 1998  Tim Janik  <timj@gtk.org>
1952
1953         * gtk/gtksignal.c: added new functions to operate on intermediate
1954         function pointers. implemented incremental blocking.
1955         (gtk_signal_disconnect_by_func): new function.
1956         (gtk_signal_handler_block_by_func): new function.
1957         (gtk_signal_handler_unblock_by_func): new function
1958
1959 Fri May  1 22:45:55 1998  Owen Taylor  <otaylor@gtk.org>
1960
1961         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_size_allocate):
1962         Always show the scrollbars when the policy is
1963         GTK_POLICY_ALWAYS...
1964
1965 Sat May  2 20:19:03 1998  Tim Janik  <timj@gtk.org>
1966
1967         * gtk/gtkadjustment.c (gtk_adjustment_set_value): only emit
1968         "value_changed" if we really passed a new value.
1969         (gtk_adjustment_changed): new function to emit the "changed" signal.
1970         (gtk_adjustment_set_value): new function to emit the "value_changed"
1971         signal.
1972
1973 Fri May  1 12:28:35 1998  Owen Taylor  <otaylor@gtk.org>
1974
1975         * gtk/gtkcombo.c: Further changes to the way the window
1976         is popped up so that it will be compatible with 
1977         auto-scrolling in the future.
1978
1979 Fri May  1 20:25:29 1998  Tim Janik  <timj@gtk.org>
1980
1981         * gtk/gtkcombo.c (gtk_combo_popup_list): do not just return if
1982         the combo-list is empty since that will cause the combo to operate
1983         on a non existing GtkList window.
1984         (gtk_combo_get_pos): provide the combo list with a usfull default
1985         height if empty.
1986         (gtk_combo_popup_button_press): grab the focus.
1987         (gtk_combo_activate): grab the focus.
1988
1989 Fri May  1 12:06:43 1998  Owen Taylor  <otaylor@gtk.org>
1990
1991         * gtk/gtkwindow.[ch] (gtk_widget_reset_rc_styles): New
1992         function to reset the RC styles for a heirarchy
1993
1994         Clear the window background if necessary in
1995         gtk_window_style_set.
1996
1997         * gtk/gtkrc.[ch]: New function gtk_rc_reparse_all() which
1998         rereads all previously read RC files.
1999
2000         * gdk/gdkwindow.c gdk/gdk.h: New function gdk_window_get_toplevels().
2001         (Should it just be called gdk_get_toplevels?)
2002
2003         * gtk/testgtk.c: New test to reload RC files.
2004
2005 Fri May  1 13:57:36 1998  Tim Janik  <timj@gtk.org>
2006
2007         * gtk/gtkclist.h:
2008         * gtk/gtkclist.c: prefixed all clist flags with GTK_ to avoid name
2009         clashes. redefined GTK_CLIST_SET_FLAGS and GTK_CLIST_UNSET_FLAGS as
2010         GTK_CLIST_SET_FLAG and GTK_CLIST_UNSET_FLAG to automatically add
2011         the GTK_ prefix (this solution involved less changes in the
2012         gtkclist.c code). added a GTK_CLIST_CONSTRUCTED flag to substitute
2013         the mem_chunk==NULL test in gtk_clist_construct. merged in changes
2014         from lars & stefan to support the derivation of GtkCtree.
2015
2016         * gtkctree.h:
2017         * gtkctree.c:
2018         initial import of a tree widget derived from gtkclist, courtesy
2019         of Lars Hamann <lars@gtk.org> and Stefan Jeske <jeske@gtk.org>,
2020         it just damn rocks!
2021
2022 Fri May  1 10:05:44 1998  Tim Janik  <timj@gtk.org>
2023
2024         * gtk/gtklist.c (gtk_list_add): let gtk_list_append_items do the work
2025         for us.
2026         (gtk_list_insert_items):
2027         (gtk_list_remove_items_internal): 
2028         (gtk_list_clear_items): 
2029         remove a possible pointer grab, we might get thrown into a loop
2030         otherwise.
2031         (gtk_list_button_press): grab the pointer *before* selecting the child,
2032         because selection of items may cause the lists children to change,
2033         resulting in a grab release.
2034         (gtk_list_clear_items): use gtk_list_unselect_child() for unselection of
2035         children.
2036         (gtk_list_shutdown): remove all children from the list.
2037         (gtk_real_list_unselect_child): 
2038         (gtk_real_list_select_child): *always* put our internal structures into
2039         sane state *before* signal emisions (i.e. list->selection updates prior
2040         to gtk_list_item_[de]select() calls).
2041
2042         * gtk/gtkcombo.c (gtk_combo_init): adjust the scrollbar if the lists
2043         focused child walks out of the window.
2044         removed CAN_FOCUS for the combo arrow's button since it doesn't react
2045         to keyboard events ("clicked" connection is missing).
2046
2047 Fri May  1 00:42:25 1998  Owen Taylor  <otaylor@gtk.org>
2048
2049         * gdk/gdkwindow.c (gdk_window_get_colormap): Fix up
2050         getting colormap for FOREIGN windows to go along with
2051         Raster's fix for visuals.
2052
2053 Merges from gtk-1-0
2054 ===================
2055         
2056 Thu Apr 30 23:32:51 1998  Owen Taylor  <otaylor@gtk.org>
2057
2058         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_size_allocate):
2059         Check to catch the case when the viewport fits in either
2060         direction or both, instead of flip-flopping infinitely.
2061
2062         Only show/hide the scrollbars once at the end.
2063
2064 Thu Apr 30 21:56:07 1998  Owen Taylor  <otaylor@gtk.org>
2065
2066         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_foreach): 
2067         Include the scrollbars in the foreach call.
2068         (gtk-fortier-980405-0.patch; 
2069          Patrice Fortier <Patrice.Fortier@aquarel.fr>). 
2070
2071         The notebook widget
2072         really should also include its tabs, but that might cause
2073         problems for programs if they
2074
2075 Thu Apr 30 21:51:52 1998  Owen Taylor  <otaylor@gtk.org>
2076
2077         * gtk/gtkpixmap.c (gtk_pixmap_set): Only request a
2078         resize if the size actually changed. 
2079         (gtk-johannes-980414-0.patch ;  
2080          johannes@nada.kth.se (Johannes Keukelaar) )
2081
2082 Thu Apr 30 10:22:59 1998  Owen Taylor  <otaylor@gtk.org>
2083
2084         * glib/ltmain.sh glib/ltconfig glib/config.sub glib/config.guess:
2085           ltmain.sh ltconfig config.sub config.guess:
2086
2087         Reverted back to libtool-1.2 (plus minor patches) so as not to
2088         force the issue for everyone else.
2089
2090 Thu Apr 30 10:22:59 1998  Owen Taylor  <otaylor@gtk.org>
2091
2092         * glib/ltmain.sh glib/ltconfig glib/config.sub glib/config.guess:
2093         Updated to libtool 1.2a.
2094
2095         * gtk/gtkclist.c: Draw the in-between lines with style->base
2096         instead of style->white.
2097         
2098 Wed Apr 29 15:46:13 1998  Owen Taylor  <otaylor@gtk.org>
2099
2100         * gdk/gdkprivate.h gdk/gdkwindow.c gdk/gdkpixmap.c: 
2101         Cache the colormap and children of a window locally
2102         instead of fetching them from the server when needed.
2103         Huge performance difference for creating/destroying
2104         windows.
2105
2106         * gtk/gtkstyle.c: Find the depth from the cached
2107         visual, instead of asking the server.
2108
2109         * gtk.m4: Distribute the new version which tries to
2110         figure out what went wrong and give helpful error
2111         messages.
2112
2113         * ltmain.sh ltconfig config.sub config.sh: 
2114         Updated to libtool 1.2a
2115
2116         * gtk/gtktext.c: Fixed a bug where the drawn level
2117         was being messed up when the text was scrolled
2118         during a deletion.
2119         
2120 Thu Apr 30 02:42:11 PDT 1998 Manish Singh <yosh@gimp.org>
2121
2122         * gtk/gtkfilesel.c: don't die when naughty people remove parts of
2123         the filesystem under you (fix from Josh)
2124
2125 Thu Apr 30 09:49:14 1998  Tim Janik  <timj@gtk.org>
2126
2127         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_foreach): check
2128         if the viewport already exists before iterating over it, maybe we
2129         haven't been constructed yet.
2130
2131 Thu Apr 30 01:51:00 1998  Tim Janik  <timj@gtk.org>
2132
2133         * gtk/gtkbin.c (gtk_bin_add): made this function issue a warning if
2134         the GtkBin widget already has a child.
2135
2136         * gtk/gtkbox.c (gtk_box_pack_{start|end}):
2137         check that child->parent == NULL;
2138
2139 Tue Apr 28 22:13:54 1998  Owen Taylor  <otaylor@gtk.org>
2140
2141         * gtk/gtkselection.c (gtk_selection_clear): Only return
2142         FALSE when the clear event is been rejected, not when
2143         widget has already lost the selection. (Which should
2144         only happen when we are setting the selection to another
2145         widget ourself.)
2146         
2147 Fri Apr 24 19:07:32 1998  Owen Taylor  <otaylor@gtk.org>
2148
2149         * gtk/gtkfixed.c gtk/gtkpaned.c gtk/gtktable.c:
2150
2151         Removed the "check visibility after gtk_widget_unparent" bug 
2152         in hopefully the last three places.
2153
2154 Tue Apr 28 15:46:41 1998  Tim Janik  <timj@gtk.org>
2155
2156         * gtk/gtkrc.c (gtk_rc_parse_statement): allow the inclusion of other
2157         rc-files.
2158
2159 Mon Apr 27 15:11:52 1998  Tim Janik  <timj@gtk.org>
2160
2161         * gtk/gtkwidget.c (gtk_widget_grab_focus): only allow grabbing of focus
2162         for CAN_FOCUS widgets.
2163
2164         * gtk/testgtk.c (create_scrolled_windows): feature h/v focus
2165         adjustments for the table.
2166         (create_list): feature automatic adjustment of the scrolled window to
2167         always contain the focused child.
2168         (create_main_window): keep the focussed button always inside of the
2169         scrolled windoww.
2170
2171         * gtk/gtkcontainer.c (gtk_real_container_focus): set the h/v focus
2172         adjustments, to contain the allocation of the currently focused child.
2173         (gtk_container_set_focus_hadjustment): new functin to set the
2174         horizontal focus adjustment.
2175         (gtk_container_set_focus_vadjustment): new functin to set the vertical
2176         focus adjustment.
2177
2178         * gtk/gtkadjustment.c (gtk_adjustment_clamp_page): new fucntion to
2179         clamp the currents adjustment page into a specific range.
2180
2181         * random GtkType fixups for gtk_*_get_type() functions.
2182
2183 Fri Apr 24 18:37:16 1998  Owen Taylor  <otaylor@gtk.org>
2184
2185         * gtk/gtktreeitem.c (gtk_tree_item_remove_subtree): 
2186         Account for the fact that gtk_tree_item_remove_subtree
2187         will be called recursively. 
2188
2189         Handle removing a collapsed subtree.
2190
2191         (From Andy Dustman <adustman@comstar.net>)
2192         
2193         * gtk/gtktree.c (gtk_tree_remove_items): Look for the
2194         root tree when removing items from a non-previously
2195         mapped tree.
2196
2197         * gtk/testgtk.c: Added a remove_subtree button.
2198         
2199 Thu Apr 23 23:44:17 1998  Owen Taylor  <otaylor@gtk.org>
2200
2201         * gtk/gtkobject.c (gtk_object_finalize): Notify all weak references
2202         before object removing data. This change fixes a bug where 
2203         removing the last weak references would cause it to be 
2204         triggered.
2205
2206 Wed Apr 15 20:42:46 1998  Owen Taylor  <otaylor@gtk.org>
2207
2208         * gdk/Makefile.am: Removed mostly useless dependency that
2209         was causing problems for SGI's make, when used with
2210         the 'make dist' form of GTK+. (Dependency caused dependencies
2211         to be redone when BUILT_SOURCES changed)
2212
2213 Thu Apr 30 11:18:00 1998  Owen Taylor  <otaylor@gtk.org>
2214
2215         * gtk/gtkcombo.[ch]: Allow the user to use the popup list
2216         like a menu.
2217         
2218         * gtk/gtkmenuitem.c gtk/gtkitem.c: Moved enter/leave handlers
2219         to gtkitem.c so dragging can also work in lists.
2220
2221         * gtk/gtklist.[ch]: Track child enter events and use
2222         those to allow dragging the selection. 
2223
2224 Thu Apr 30 11:16:06 1998  Owen Taylor  <otaylor@gtk.org>
2225
2226         * gtk/gtktext.c: Try enabling background pixmaps for editable text
2227         widgets.  There is a bit of flashing, but not too bad. If you
2228         don't want the flashing, you can always not set a background
2229         pixmap.
2230
2231 Wed Apr 29 15:46:13 1998  Owen Taylor  <otaylor@gtk.org>
2232
2233         * gtk/gtktext.c: Fixed a bug where the drawn level
2234         was being messed up when the text was scrolled
2235         during a deletion.
2236         
2237 1998-04-28  Miguel de Icaza  <miguel@nuclecu.unam.mx>
2238
2239         * gdk/gdk.c (gdk_event_translate): Random debugging fixed this
2240         bug:  There is no need to set the ExposureMask in the XGrabPointer
2241         (this caused DnD programs to crash).
2242
2243 Fri Apr 24 01:29:04 1998  Tim Janik  <timj@gtk.org>
2244
2245         * gtk/gtkaccelerator.h (struct _GtkAcceleratorTable): changed ref_count
2246         field to be of type guint.
2247         * gtk/gtkaccelerator.c (gtk_accelerator_table_unref): added check for
2248         ref_count>0;
2249         (gtk_accelerator_table_install): keep a per object list of accelerator
2250         tables that refer to this object.
2251         (gtk_accelerator_table_remove): remove the accelerator table from the
2252         per object list.
2253         (gtk_accelerator_table_clean): warn if there are any object references
2254         left in an accelerator table upon destruction.
2255         (gtk_accelerator_tables_delete): new function to delete object
2256         references from the accelerator tables associated with this object.
2257
2258         * gtk/gtkwidget.c (gtk_widget_class_init): changed emission of
2259         GtkWidget::install_accelerator to GTK_RUN_LAST so the installation
2260         of an accelerator can be prevented by gtk_signal_emit_stop().
2261         (gtk_widget_real_destroy): call gtk_accelerator_tables_delete (),
2262         so there are no stale pointers in accelerator tables left.
2263
2264 1998-04-22  Federico Mena Quintero  <federico@nuclecu.unam.mx>
2265
2266         * gtk/gtkbin.c (gtk_bin_remove): Remember whether the widget was
2267         visible before we unparent it.
2268
2269 Wed Apr 22 04:15:26 1998  Tim Janik  <timj@gtk.org>
2270
2271         * gtk/gtkmain.c (gtk_handle_current_timeouts): prepend the
2272         running_timeouts list with the tmp_list link itself, not with a new
2273         GList structure pointing to our link. that would fill up memory and
2274         causes the GList.data fields of the running_timeouts list to point to
2275         GList structures and not GtkTimeoutFunction structures which is a
2276         *really* bad thing.
2277         (gtk_handle_current_idles): likewise (exchange "timout" with "idle" in
2278         the above entry ;).
2279
2280 Sat Apr 18 22:18:12 1998  Tim Janik  <timj@gtk.org>
2281
2282         * gtk/gtkradiomenuitem.h: 
2283         * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_set_group): new function
2284         ala gtk_radio_button_set_group.
2285         (gtk_radio_menu_item_init): assure that we always have at least a group
2286         that points to self.
2287
2288         * gtk/gtkradiobutton.c (gtk_radio_button_set_group): few cleanups and
2289         added g_return_if_fail() statements.
2290         (gtk_radio_button_init): assure that we always have at least a group
2291         that points to self.
2292
2293 Fri Apr 17 03:05:05 1998  Tim Janik  <timj@gtk.org>
2294
2295         * ChangeLog split up into ChangeLog.pre-1-0 and ChangeLog.
2296
2297 Wed Apr 15 05:13:09 1998  Tim Janik  <timj@gtk.org>
2298
2299         * gtk/gtklabel.c (gtk_label_size_request): corrected a brace position
2300         (Damon Chaplin), which i got wrong when applying Damon's patch the last
2301         time.
2302
2303 Wed Apr 15 20:42:46 1998  Owen Taylor  <otaylor@gtk.org>
2304
2305         * gtk/gtkpreview.c (gtk_preview_get_visuals): Make sure
2306         that when we are running with a non-installed colormap,
2307         in 8-bit pseudo-color, we actually are using the system
2308         visual. (Fixes *Bad Match* errors on Digital Unix machines
2309         with multiple 8-bit pseudo-color visuals)
2310
2311 1998-04-14  Miguel de Icaza  <miguel@nuclecu.unam.mx>
2312
2313         * gdk/gdkwindow.c (gdk_window_xid_at): Fix the problem introduced
2314         by whoever thought that randomly changing ints to unsigned int
2315         without reviewing the code was a good idea.  It is, btw not
2316         mentioned in the ChangeLog as usual, but I know it was not Elliot
2317         the culprit this time. 
2318
2319 Mon Apr 13 19:16:22 PDT 1998 Shawn T. Amundson <amundson@gtk.org>
2320
2321         * Released GTK+ 1.0.0